summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-09 07:20:05 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-09 07:20:05 +0000
commitcdabe32fcb60ba4e4661e480ad0d8c44ac451809 (patch)
tree0cfa40075e1b36cfcd05c39b14707b3375790b87 /net-misc/rsync
parentVersion bump, updated HOMEPAGE and SRC_URI, bug 245814. (diff)
downloadhistorical-cdabe32fcb60ba4e4661e480ad0d8c44ac451809.tar.gz
historical-cdabe32fcb60ba4e4661e480ad0d8c44ac451809.tar.bz2
historical-cdabe32fcb60ba4e4661e480ad0d8c44ac451809.zip
Allow users to apply custom rsync patches #246017 by Nicholas Fiorentini.
Package-Manager: portage-2.2_rc13/cvs/Linux 2.6.27.4 x86_64
Diffstat (limited to 'net-misc/rsync')
-rw-r--r--net-misc/rsync/ChangeLog5
-rw-r--r--net-misc/rsync/Manifest10
-rw-r--r--net-misc/rsync/rsync-3.0.4.ebuild16
3 files changed, 24 insertions, 7 deletions
diff --git a/net-misc/rsync/ChangeLog b/net-misc/rsync/ChangeLog
index 369dc146dc4a..a56a3ead41e5 100644
--- a/net-misc/rsync/ChangeLog
+++ b/net-misc/rsync/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/rsync
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.171 2008/09/17 09:41:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.172 2008/11/09 07:20:05 vapier Exp $
+
+ 09 Nov 2008; Mike Frysinger <vapier@gentoo.org> rsync-3.0.4.ebuild:
+ Allow users to apply custom rsync patches #246017 by Nicholas Fiorentini.
*rsync-3.0.4 (17 Sep 2008)
diff --git a/net-misc/rsync/Manifest b/net-misc/rsync/Manifest
index 5f38e3d1bd93..a3e4a21b09ca 100644
--- a/net-misc/rsync/Manifest
+++ b/net-misc/rsync/Manifest
@@ -27,13 +27,13 @@ EBUILD rsync-3.0.0-r2.ebuild 2224 RMD160 3e4b952ed7be756e4fd327c50b735be7dc5f103
EBUILD rsync-3.0.1.ebuild 2029 RMD160 f096e0b5c77a1e2666ce80c4496893ca7b0c2698 SHA1 54592c1b0695b47531efc2a26b4bafd6a7ac9780 SHA256 eb563cf328cfaf13515d53c85c09ecce8236064bdde5eab29df03c591afa05d4
EBUILD rsync-3.0.2.ebuild 2076 RMD160 e76d13eb37c9d040fcf7f5dcba7c4823416ef461 SHA1 2c984aaa2a1b7c61a0e0762ff10d4696cbcb176e SHA256 351b1d0dd027f8d2634052561777b8f89c7db02a58d5f09cc6e68ff60eef5d41
EBUILD rsync-3.0.3.ebuild 2080 RMD160 14c547aef29deb5c2522ae856d42eebebc66f983 SHA1 c4691a9aadeac934e7cdc89d202543d9550cede7 SHA256 4baac0b84f30cc1db45932a17724382efa68c6c72c2c3aa27c1f35b7712e2b59
-EBUILD rsync-3.0.4.ebuild 2088 RMD160 aaa40ce1212382fa87662ab9cac48e57679b727c SHA1 7eab3bfba7fd6dd4dcbfbc7c3bc97da3bf53a33c SHA256 0a24fc032705d92508d824f8690cc7c7fc29bb360337a3437cb5ff37fa83b208
-MISC ChangeLog 21912 RMD160 b32affab4359a714bbbf9e1013bc0748c0d21624 SHA1 0bfcc132c44de5ab242350ef68d6ed298cc2a500 SHA256 ddf2347ad65929adc3379965837629dd61ff91f7deab6e6f06aa886b4d5c9eab
+EBUILD rsync-3.0.4.ebuild 2588 RMD160 cfd14645f45c39d332a4dae93babc6da06b73e68 SHA1 3ad46a0ba873ed986d9ebbb59d483f4db96e2328 SHA256 9d12629e70647f8d71c93f221c028d3421e95f3581d094e66e0e07e2cb6b9fc6
+MISC ChangeLog 22059 RMD160 b1ee27b211ca20fa8701248d922d3a4fe722880c SHA1 67d067dedd89533de1d0d2795e3b61ffc7ec6977 SHA256 ec05ead8f67c0c7b9ed9d3f97c04ea43b170f44a96848e50df1f237faf61c66c
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkjQ0NgACgkQ67wieSYcaxdtewCcCTmtDZrnWxXBZ0AKmn6Nf8PE
-o7UAnje8ndOsYnU1CVzy+3AGydpx4a9c
-=RiTA
+iEYEARECAAYFAkkWjywACgkQ67wieSYcaxdu8gCgtipvtyv++4swPG1sm4YEUGw8
+GnUAoO+I5Sgx3YI5zbMFKlUrXWwrP6pD
+=+R/e
-----END PGP SIGNATURE-----
diff --git a/net-misc/rsync/rsync-3.0.4.ebuild b/net-misc/rsync/rsync-3.0.4.ebuild
index 1182981e7c9d..3f5390a50358 100644
--- a/net-misc/rsync/rsync-3.0.4.ebuild
+++ b/net-misc/rsync/rsync-3.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-3.0.4.ebuild,v 1.1 2008/09/17 09:41:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-3.0.4.ebuild,v 1.2 2008/11/09 07:20:05 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs autotools
@@ -24,6 +24,20 @@ S=${WORKDIR}/${P/_/}
src_unpack() {
unpack ${A}
cd "${S}"
+
+ local check base=${PORTAGE_CONFIGROOT}/etc/portage/patches
+ for check in {${CATEGORY}/${PF},${CATEGORY}/${P},${CATEGORY}/${PN}}; do
+ EPATCH_SOURCE=${base}/${CTARGET}/${check}
+ [[ -r ${EPATCH_SOURCE} ]] || EPATCH_SOURCE=${base}/${CHOST}/${check}
+ [[ -r ${EPATCH_SOURCE} ]] || EPATCH_SOURCE=${base}/${check}
+ if [[ -d ${EPATCH_SOURCE} ]] ; then
+ EPATCH_SUFFIX="patch"
+ EPATCH_FORCE="yes" \
+ EPATCH_MULTI_MSG="Applying user patches from ${EPATCH_SOURCE} ..." \
+ epatch
+ break
+ fi
+ done
}
src_compile() {