summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-01-09 09:27:36 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-01-09 09:27:36 +0000
commitee37b17aa93ece65226d76e9bf26f05b9b9a6f89 (patch)
treefc36e72d7fccbc1b0c915b6b7928f73e04ffc854 /net-misc/rsync
parentVersion bump. Stabilise newer. Drop oldest. (diff)
downloadhistorical-ee37b17aa93ece65226d76e9bf26f05b9b9a6f89.tar.gz
historical-ee37b17aa93ece65226d76e9bf26f05b9b9a6f89.tar.bz2
historical-ee37b17aa93ece65226d76e9bf26f05b9b9a6f89.zip
Install the rsync contrib scripts (includes useful rsync log parsing scripts, and atomic rsync helpers).
Package-Manager: portage-2.2.0_alpha14/cvs/Linux x86_64
Diffstat (limited to 'net-misc/rsync')
-rw-r--r--net-misc/rsync/ChangeLog10
-rw-r--r--net-misc/rsync/Manifest3
-rw-r--r--net-misc/rsync/rsync-3.0.7-r1.ebuild68
3 files changed, 78 insertions, 3 deletions
diff --git a/net-misc/rsync/ChangeLog b/net-misc/rsync/ChangeLog
index b1b56e1c308f..c20e729a18d6 100644
--- a/net-misc/rsync/ChangeLog
+++ b/net-misc/rsync/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/rsync
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.204 2010/10/09 17:26:48 armin76 Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.205 2011/01/09 09:27:36 robbat2 Exp $
+
+*rsync-3.0.7-r1 (09 Jan 2011)
+
+ 09 Jan 2011; Robin H. Johnson <robbat2@gentoo.org> +rsync-3.0.7-r1.ebuild:
+ Install the rsync contrib scripts (includes useful rsync log parsing scripts,
+ and atomic rsync helpers).
09 Oct 2010; Raúl Porcel <armin76@gentoo.org> rsync-3.0.7.ebuild:
arm/ia64/m68k/s390/sh/sparc stable wrt #337537
diff --git a/net-misc/rsync/Manifest b/net-misc/rsync/Manifest
index dc3b4e5ab880..c9a71d0bef4a 100644
--- a/net-misc/rsync/Manifest
+++ b/net-misc/rsync/Manifest
@@ -6,6 +6,7 @@ AUX rsyncd.xinetd 170 RMD160 2ce2addea3cfff08f86a168b0d2d83446514a60f SHA1 a2c04
DIST rsync-3.0.6.tar.gz 778927 RMD160 881ecea519b97d1a7f326b021ebac939ac2fe091 SHA1 8853dfd291b3850aafa60169d2eea8601498f713 SHA256 33cc969364cb66b3e345fa7db2c651a8e07de0e58743ec03899c4ba86953e1b3
DIST rsync-3.0.7.tar.gz 779287 RMD160 aa3bdec0d7692ac1de52f2efc925e9a34bbd917b SHA1 63426a1bc71991d93159cd522521fbacdafb7a61 SHA256 9ee00d16c023c486328cbb61f59928a954b24b7b7173c3517ebb0d6c3edfe7c8
EBUILD rsync-3.0.6.ebuild 1839 RMD160 1581bf96051eb96ba891c8605782107b553fb136 SHA1 95ba38c73889fb9dd42725afb220a3e74196ffb0 SHA256 78af4521ebb453377a0e3801c115713bdcedc8dbe3798f5a9fdb2c7a14cbcfb8
+EBUILD rsync-3.0.7-r1.ebuild 2054 RMD160 0a205851970dd168fc9396ed71727ea5db8636aa SHA1 20f41331ee0894dcfe0722aca887deed97163b94 SHA256 122ca0300cf95c9f72ecadb3deb186b09fe487f12ebca0b8231469c3057f3eec
EBUILD rsync-3.0.7.ebuild 1818 RMD160 ae50153104de0eceef6604e4b4e7c766fe0a041d SHA1 e0998d6b323fb7a736ccf5d88440789ce88ceb0c SHA256 67840ba994553d506026e474f481eddfe66f6f63144d8293d1cb2a6485cfa4e7
-MISC ChangeLog 25853 RMD160 b1ecb85c325988b4bce61fae60cb5824641a4e26 SHA1 81c92444b078dfbe9efac9796ab5b5012ac64f7a SHA256 2a3ddd9e69ddecc23e53b6b4049c5d95118d77649f1b1caae62b4d4bb160d473
+MISC ChangeLog 26071 RMD160 d8535b5b3b2155aabfe46b6dc7095332ee156ddf SHA1 f49aeb72c51da179fe08d9631f3f5ade4f945d74 SHA256 63aeed86bec190d9c458fa193f794b138f1827732b933c76360a6019786d6012
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
diff --git a/net-misc/rsync/rsync-3.0.7-r1.ebuild b/net-misc/rsync/rsync-3.0.7-r1.ebuild
new file mode 100644
index 000000000000..32fbb8aebaaf
--- /dev/null
+++ b/net-misc/rsync/rsync-3.0.7-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-3.0.7-r1.ebuild,v 1.1 2011/01/09 09:27:36 robbat2 Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="File transfer program to keep remote files into sync"
+HOMEPAGE="http://rsync.samba.org/"
+SRC_URI="http://rsync.samba.org/ftp/rsync/src/${P/_/}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="acl iconv ipv6 static xattr"
+
+DEPEND=">=dev-libs/popt-1.5
+ acl? ( virtual/acl )
+ xattr? ( kernel_linux? ( sys-apps/attr ) )
+ iconv? ( virtual/libiconv )"
+
+S=${WORKDIR}/${P/_/}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch_user
+}
+
+src_compile() {
+ use static && append-ldflags -static
+ econf \
+ --without-included-popt \
+ $(use_enable acl acl-support) \
+ $(use_enable xattr xattr-support) \
+ $(use_enable ipv6) \
+ $(use_enable iconv) \
+ --with-rsyncd-conf=/etc/rsyncd.conf \
+ || die
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ newconfd "${FILESDIR}"/rsyncd.conf.d rsyncd
+ newinitd "${FILESDIR}"/rsyncd.init.d rsyncd || die
+ dodoc NEWS OLDNEWS README TODO tech_report.tex
+ insinto /etc
+ doins "${FILESDIR}"/rsyncd.conf || die
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/rsyncd.logrotate rsyncd
+
+ insinto /etc/xinetd.d
+ newins "${FILESDIR}"/rsyncd.xinetd rsyncd
+
+ # Install the useful contrib scripts
+ exeinto /usr/share/rsync/
+ doexe atomic-rsync cvs2includes deny-rsync file-attr-restore files-to-excludes git-set-file-times logfilter lsh mnt-excl munge-symlinks rrsync rsyncstats
+}
+
+pkg_postinst() {
+ if egrep -qis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \
+ "${ROOT}"/etc/rsyncd.conf "${ROOT}"/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
+}