summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2006-10-15 11:20:19 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2006-10-15 11:20:19 +0000
commitfba10288e657b6a89bdff8002cbf0255cdc8c734 (patch)
tree2ed79839799262960596b748abc1f63ce6316407 /app-portage
parentFixing a typo (made by me when ripping of the gpsdrive stuff), thanks to Chri... (diff)
downloadgentoo-2-fba10288e657b6a89bdff8002cbf0255cdc8c734.tar.gz
gentoo-2-fba10288e657b6a89bdff8002cbf0255cdc8c734.tar.bz2
gentoo-2-fba10288e657b6a89bdff8002cbf0255cdc8c734.zip
Added support for running /etc/portage/bin/post_sync. Fixes bug #151385.
(Portage version: 2.1.2_pre3)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/emerge-delta-webrsync/ChangeLog8
-rw-r--r--app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.5.1-r2.ebuild38
-rw-r--r--app-portage/emerge-delta-webrsync/files/3.5.1-post_sync.patch11
-rw-r--r--app-portage/emerge-delta-webrsync/files/digest-emerge-delta-webrsync-3.5.1-r23
4 files changed, 59 insertions, 1 deletions
diff --git a/app-portage/emerge-delta-webrsync/ChangeLog b/app-portage/emerge-delta-webrsync/ChangeLog
index 61f7c123607c..a6cd13cad1be 100644
--- a/app-portage/emerge-delta-webrsync/ChangeLog
+++ b/app-portage/emerge-delta-webrsync/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-portage/emerge-delta-webrsync
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/emerge-delta-webrsync/ChangeLog,v 1.21 2006/10/14 15:45:23 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/emerge-delta-webrsync/ChangeLog,v 1.22 2006/10/15 11:20:19 betelgeuse Exp $
+
+*emerge-delta-webrsync-3.5.1-r2 (15 Oct 2006)
+
+ 15 Oct 2006; Petteri Räty <betelgeuse@gentoo.org>
+ +files/3.5.1-post_sync.patch, +emerge-delta-webrsync-3.5.1-r2.ebuild:
+ Added support for running /etc/portage/bin/post_sync. Fixes bug #151385.
*emerge-delta-webrsync-3.5.1-r1 (14 Oct 2006)
diff --git a/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.5.1-r2.ebuild b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.5.1-r2.ebuild
new file mode 100644
index 000000000000..983e6e732c43
--- /dev/null
+++ b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.5.1-r2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.5.1-r2.ebuild,v 1.1 2006/10/15 11:20:19 betelgeuse Exp $
+
+inherit eutils
+
+DESCRIPTION="emerge-webrsync using patches to minimize bandwidth"
+HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml"
+SRC_URI="mirror://gentoo/${P}"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="sys-apps/portage
+ >=dev-util/diffball-0.6.5
+ x86? ( app-arch/tarsync )"
+
+src_unpack() {
+ cp "${DISTDIR}/${P}" "${WORKDIR}/" || die "failed cping $P"
+ epatch "${FILESDIR}/3.5.1-metadata.patch"
+ epatch "${FILESDIR}/3.5.1-md5sum.patch"
+ epatch "${FILESDIR}/3.5.1-post_sync.patch"
+}
+
+src_compile() { :; }
+
+src_install() {
+ newbin "${WORKDIR}/${P}" "${PN}" || die "failed copying ${P}"
+ keepdir /var/delta-webrsync
+ fperms 0770 /var/delta-webrsync
+}
+
+pkg_preinst() {
+ chgrp portage ${IMAGE}/var/delta-webrsync
+}
diff --git a/app-portage/emerge-delta-webrsync/files/3.5.1-post_sync.patch b/app-portage/emerge-delta-webrsync/files/3.5.1-post_sync.patch
new file mode 100644
index 000000000000..94e82e45d9e0
--- /dev/null
+++ b/app-portage/emerge-delta-webrsync/files/3.5.1-post_sync.patch
@@ -0,0 +1,11 @@
+--- emerge-delta-webrsync 2006-10-15 00:18:06.000000000 +0300
++++ emerge-delta-webrsync-3.5.1 2006-10-15 00:20:40.000000000 +0300
+@@ -224,6 +224,8 @@
+ echo "transferring metadata/cache"
+ emerge --metadata
+ fi
++ local post_sync=/etc/portage/bin/post_sync
++ [[ -x "${post_sync}" ]] && ${post_sync}
+ }
+
+ fetch_from_mirrors() {
diff --git a/app-portage/emerge-delta-webrsync/files/digest-emerge-delta-webrsync-3.5.1-r2 b/app-portage/emerge-delta-webrsync/files/digest-emerge-delta-webrsync-3.5.1-r2
new file mode 100644
index 000000000000..ffaa98d7b1d5
--- /dev/null
+++ b/app-portage/emerge-delta-webrsync/files/digest-emerge-delta-webrsync-3.5.1-r2
@@ -0,0 +1,3 @@
+MD5 d75bfd817453e69cc6210be020cfe75c emerge-delta-webrsync-3.5.1 13289
+RMD160 02e7798183930fc8ef8d3b76f38c7393acf914b9 emerge-delta-webrsync-3.5.1 13289
+SHA256 663ce5e800dec988ba5e1bb283ca243205d1ebdc27e3d0c269e5c0bb198f7d4a emerge-delta-webrsync-3.5.1 13289