aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/rsync/Manifest2
-rw-r--r--net-misc/rsync/rsync-3.1.3.ebuild92
2 files changed, 94 insertions, 0 deletions
diff --git a/net-misc/rsync/Manifest b/net-misc/rsync/Manifest
index 5d69a43a..04cf2614 100644
--- a/net-misc/rsync/Manifest
+++ b/net-misc/rsync/Manifest
@@ -11,7 +11,9 @@ AUX rsyncd.service 206 SHA256 e4396236f554cb57eed133370dd74ff79ea495f5d7535734bc
AUX rsyncd.xinetd-3.0.9-r1 194 SHA256 17162f014242c9d5003578bed44b89cd2dc4f0ce2a200ac1facaa10a9aac8692 SHA512 fc053fc4748950343e866cc95284d037156a953454e4294d775f01f059e96e805582688bf1de5c965836889192ce4a663ec740e6ec2265406e509c5c6d6c3215 WHIRLPOOL 733f734e70d0c74ab6e472e656b8c83ddf816dca7e6c1130b999c2579713740db9362e5d517d0a8cf792b6859fd16d363f43ea8b531388f7abe93dcc1380ae42
DIST rsync-3.1.1.tar.gz 890124 SHA256 7de4364fcf5fe42f3bdb514417f1c40d10bbca896abe7e7f2c581c6ea08a2621 SHA512 ec0e46ff532a09a711282aaa822f5f1c133593ee6c1c474acd67284619236e6a202f0f369d3e67a95ceb3a3b1c39ea7fb609d6d6fb950f3be6e0f6372e903e21 WHIRLPOOL 0622646c10a0b4553fddbc0c3c48e6a87f78eaa56dc0cc0f0db86ed45e2c6572d23e4c379fae50ced012c2c0e75a364cae55f7c49f88918a9d62fb9ae17805b9
DIST rsync-3.1.2.tar.gz 892724 SHA256 ecfa62a7fa3c4c18b9eccd8c16eaddee4bd308a76ea50b5c02a5840f09c0a1c2 SHA512 4c55fd69f436ead0cb5a0b7c6fdfef9bb28ddb9c63534eb619e756b118d5b08cfc5e696498650932c86e865b37e06633da947e6720ca0c27ed5c034313ae208b WHIRLPOOL ba793bfc7f0bdd70dba812a4a782c6ed703c7e83e2d04ca714e67e6153b31f6fc49e224ef7622bf5abb1e0ba0f633bc88b2640548028944b5dfa0443ae8c585e
+DIST rsync-3.1.3.tar.gz 905908 SHA256 55cc554efec5fdaad70de921cd5a5eeb6c29a95524c715f3bbf849235b0800c0 SHA512 8385f4c0ea37e7a1da3cf45794154f5bc4d1c49bc625ba3b5f85adaf3eafe6d71c15bdcb1410bde731e5d4c19aff3331606637462fa27a68dc3e13192dd78f99 WHIRLPOOL 321d651aa2c61a81f0f647be5317174b6dcb0ebfbfd780d008b1784c0b8a4239d82c42da7be22d5fd66f2c61ab110a3b3e4f9f22b41065d5624348b36ba98474
EBUILD rsync-3.1.1.ebuild 2430 SHA256 f93520e4c577f7c8581d44233ea5f1d95ada5d7e2eae836cdf5a6ebebb8f23c4 SHA512 8674f3c66cb7b7cdf8366afaaec18d8a8ceb53f4a12d2f08a5d4f01e4511c355e0393db674c5b3796bf5401031f6329fae986108e47f38086283c4344ea9c8cb WHIRLPOOL 985759676942331e4c0bc8767e054c919f1b126eddd29bd69643589c34d7446caf82ca610cdb3f85085f066cd484a7879fd1bd4d094a7ed77af3701744968add
EBUILD rsync-3.1.2-r1.ebuild 2891 SHA256 f0b61c8149ce3a36dbaded3e1564a564ab7fbcf5e92e0236e6e4d6603d9db8b1 SHA512 f3d89d67ebed53b35086879ead3d6bbefb34110bb266b8f667215cd73d85bd85bce7c38e60b196b59a33d337339e690c73169cb7851d4f41f4b19935ba58026a WHIRLPOOL 13cc44739c3cb43faaf7033c423b75d07e6f80a36801fb1d71f13844258ad86789c58e40fa4fc02c35c6c77e9a8fef8681f3ec25a32281d2c5640bd1a27224c6
EBUILD rsync-3.1.2-r2.ebuild 3090 SHA256 c5c8e95251c06c3b5b5edb1fc070e68a318bb1e607a699daf361176993caab1c SHA512 9b4d5bb8073161a9cca9640dbfb643414657fb927acb0be4725e5ea8ea708c05cd4fd535842d6fb059419ac5b508d506101c1a9033f967e1b5fa8f0034500f19 WHIRLPOOL 208d49a41a0f1c3bf00e5fc62e3911e107e01d2bc2abd84b7b9313b951708de6b0aa1afa2544730b36acf4bb297f7d27df62d19bc33ad06b3d984adbfb709388
EBUILD rsync-3.1.2.ebuild 2863 SHA256 72455988917433fcd70dc77bf64d10eeff470dd5540a48940acfb70555a5c3da SHA512 967de4dee8dd94735494b173e5727895ce12ac1ee1de3fc125fc2ca61659c56fc6a18a29a9336c2317a0a94ee5b75217507b3f2f0f96bb220bb77773640e07fd WHIRLPOOL 275028c7544619711978a76a980ed75ef3599b1e00c0b089b1803d6dd6ae9a936570d607b281feb06ee96246d99348aacbd12c285c12e551f8a28352aaf00dbb
+EBUILD rsync-3.1.3.ebuild 2869 SHA256 08345b542846599353d23e4d74fa9329bc36d5fe7362c48f140bb80ccac92e44 SHA512 eb63b30e628427ef76f17a6b14c805849a6accf1945804a5e0f1568b21703284677902707c19eae51533b62cb19a97c459c302e8d3a34c4b2fe5d3204459e40c WHIRLPOOL 0f7097cab3a35dd1237352047cca6fb69a13a16e95c9475f223ddaa795cecd2864cc14105e2e493531f209ce221836b638647e32dd23f18c5b57bdd0f450233b
diff --git a/net-misc/rsync/rsync-3.1.3.ebuild b/net-misc/rsync/rsync-3.1.3.ebuild
new file mode 100644
index 00000000..7b79d414
--- /dev/null
+++ b/net-misc/rsync/rsync-3.1.3.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils flag-o-matic prefix systemd
+
+DESCRIPTION="File transfer program to keep remote files into sync"
+HOMEPAGE="https://rsync.samba.org/"
+SRC_URI="https://rsync.samba.org/ftp/rsync/src/${P}.tar.gz"
+[[ "${PV}" = *_pre* ]] && SRC_URI="https://rsync.samba.org/ftp/rsync/src-previews/${P/_/}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+if ! [[ ${PV} == *_pre* ]]; then
+ KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+IUSE="acl examples iconv ipv6 static stunnel systemd xattr"
+
+LIB_DEPEND="acl? ( virtual/acl[static-libs(+)] )
+ xattr? ( kernel_linux? ( sys-apps/attr[static-libs(+)] ) )
+ >=dev-libs/popt-1.5[static-libs(+)]"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+ iconv? ( virtual/libiconv )"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )"
+
+S="${WORKDIR}/${P/_/}"
+
+src_configure() {
+ use static && append-ldflags -static
+ local myeconfargs=(
+ --with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf
+ --without-included-popt
+ $(use_enable acl acl-support)
+ $(use_enable iconv)
+ $(use_enable ipv6)
+ $(use_enable xattr xattr-support)
+ )
+ econf "${myeconfargs[@]}"
+ touch proto.h-tstamp #421625
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ newconfd "${FILESDIR}"/rsyncd.conf.d rsyncd
+ newinitd "${FILESDIR}"/rsyncd.init.d-r1 rsyncd
+
+ dodoc NEWS OLDNEWS README TODO tech_report.tex
+
+ insinto /etc
+ newins "${FILESDIR}"/rsyncd.conf-3.0.9-r1 rsyncd.conf
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/rsyncd.logrotate rsyncd
+
+ insinto /etc/xinetd.d
+ newins "${FILESDIR}"/rsyncd.xinetd-3.0.9-r1 rsyncd
+
+ # Install stunnel helpers
+ if use stunnel ; then
+ emake DESTDIR="${D}" install-ssl-client
+ emake DESTDIR="${D}" install-ssl-daemon
+ fi
+
+ # Install the useful contrib scripts
+ if use examples ; then
+ exeinto /usr/share/rsync
+ doexe support/*
+ rm -f "${ED%/}"/usr/share/rsync/{Makefile*,*.c}
+ fi
+
+ eprefixify "${ED%/}"/etc/{,xinetd.d}/rsyncd*
+
+ use systemd && systemd_dounit "${FILESDIR}/rsyncd.service"
+}
+
+pkg_postinst() {
+ if egrep -qis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \
+ "${EROOT}"/etc/rsyncd.conf "${EROOT}"/etc/rsync/rsyncd.conf ; then
+ ewarn "You have disabled chroot support in your rsyncd.conf. This"
+ ewarn "is a security risk which you should fix. Please check your"
+ ewarn "/etc/rsyncd.conf file and fix the setting 'use chroot'."
+ fi
+ if use stunnel ; then
+ einfo "Please install \">=net-misc/stunnel-4\" in order to use stunnel feature."
+ einfo
+ einfo "You maybe have to update the certificates configured in"
+ einfo "${EROOT}/etc/stunnel/rsync.conf"
+ fi
+}