summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-portage/emerge-delta-webrsync
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-portage/emerge-delta-webrsync')
-rw-r--r--app-portage/emerge-delta-webrsync/Manifest3
-rw-r--r--app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.6.2.ebuild45
-rw-r--r--app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.1.ebuild44
-rw-r--r--app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.2-r1.ebuild49
-rw-r--r--app-portage/emerge-delta-webrsync/files/3.5.1-md5sum.patch21
-rw-r--r--app-portage/emerge-delta-webrsync/files/3.5.1-metadata.patch37
-rw-r--r--app-portage/emerge-delta-webrsync/files/3.5.1-post_sync.patch11
-rw-r--r--app-portage/emerge-delta-webrsync/metadata.xml8
8 files changed, 218 insertions, 0 deletions
diff --git a/app-portage/emerge-delta-webrsync/Manifest b/app-portage/emerge-delta-webrsync/Manifest
new file mode 100644
index 000000000000..8a15baa7d9b0
--- /dev/null
+++ b/app-portage/emerge-delta-webrsync/Manifest
@@ -0,0 +1,3 @@
+DIST emerge-delta-webrsync-3.6.2 16837 SHA256 962f41b3e0ec64fce0e23e2365e8e2d18c5fdb762542cf5d1d2a23e072a19c30 SHA512 734598326dbdd588f5b62e2117ca377ad443161feca73a50dfe5740c20afb59ee9e8cd056bcaa0555f7276172db19d572a9a32023c5a311a6aa309d11f3dde86 WHIRLPOOL 1822a0e028e3c4f9e053b951e8e8c98268baf38f1da488e43a41f54089440f7ec8d1427c17e297e72bd5f1628611f3a46811231470fbe16997d97a18909593fb
+DIST emerge-delta-webrsync-3.7.1 22122 SHA256 72005e813037d7aa0280885c915c0da6da8768122574ae5d0e83e981ad6821fc SHA512 57fafb5ee4c083b60fc52f030928a9e6d1d3306f5ac53c88d7277a0421ffb3b64b1934db4367878077b05692b0340113c958116aa503d0e7a1ec3bcd383470a4 WHIRLPOOL 45ac04bf19643e7e34f0175922a413b96fcce9d181f9dd971072ef3e53ef47d8b98069f4223906050a5391af6b3d0a59f449141a869090e3d2c013eb941ff335
+DIST emerge-delta-webrsync-3.7.2 22344 SHA256 6fd9e7cfeff9d8755435f7c448b015a6d3764b4cc684a7531e07ce48a9507115 SHA512 36b65e0f550b5b0a3a5cf271126bf0d44bd182c06148d72c5ed9e105394a38be5dd0845e2d674df246b4436a10f15033bdc857526f664656f1cdb79dd8b7a18c WHIRLPOOL 6e308d4dc7ccb288f47ff79197e25298171b07d965548f5fee61145518be3900f0e6909bc44d27ec28e3bcfc41f94a285bdc9aa39730455f3a64b32addf44d2c
diff --git a/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.6.2.ebuild b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.6.2.ebuild
new file mode 100644
index 000000000000..aed00ab32c61
--- /dev/null
+++ b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.6.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+DESCRIPTION="emerge-webrsync using patches to minimize bandwidth"
+HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml"
+SRC_URI="https://raw.githubusercontent.com/gentoo/portage/228a860476d7543608b469c569ec1d4e70aa7f59/misc/emerge-delta-webrsync -> ${P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ~sparc x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND="
+ app-shells/bash
+ >=sys-apps/portage-2.1.10
+ >=dev-util/diffball-0.6.5"
+
+S=${WORKDIR}
+
+src_unpack() {
+ cp "${DISTDIR}/${P}" "${WORKDIR}/" || die
+}
+
+src_install() {
+ newbin ${P} ${PN}
+ keepdir /var/delta-webrsync
+ fperms 0770 /var/delta-webrsync
+}
+
+pkg_preinst() {
+ # Failure here is non-fatal, since the "portage" group
+ # doesn't necessarily exist on prefix systems.
+ chgrp portage "${ED}"/var/delta-webrsync 2>/dev/null
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] && \
+ ! has_version app-arch/tarsync ; then
+ elog "For maximum emerge-delta-webrsync" \
+ "performance, install app-arch/tarsync."
+ fi
+}
diff --git a/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.1.ebuild b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.1.ebuild
new file mode 100644
index 000000000000..6a9805ce149b
--- /dev/null
+++ b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+DESCRIPTION="emerge-webrsync using patches to minimize bandwidth"
+HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml"
+SRC_URI="https://raw.githubusercontent.com/gentoo/portage/4ab31da4f09c7d0cb323b16b5b4b607d652ffc48/misc/emerge-delta-webrsync -> ${P}"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND="
+ app-shells/bash
+ >=sys-apps/portage-2.1.10
+ >=dev-util/diffball-0.6.5"
+
+S=${WORKDIR}
+
+src_unpack() {
+ cp "${DISTDIR}/${P}" "${WORKDIR}/" || die
+}
+
+src_install() {
+ newbin ${P} ${PN}
+ keepdir /var/delta-webrsync
+ fperms 0770 /var/delta-webrsync
+}
+
+pkg_preinst() {
+ # Failure here is non-fatal, since the "portage" group
+ # doesn't necessarily exist on prefix systems.
+ chgrp portage "${ED}"/var/delta-webrsync 2>/dev/null
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] && \
+ ! has_version app-arch/tarsync ; then
+ elog "For maximum emerge-delta-webrsync" \
+ "performance, install app-arch/tarsync."
+ fi
+}
diff --git a/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.2-r1.ebuild b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.2-r1.ebuild
new file mode 100644
index 000000000000..badaf5b7066d
--- /dev/null
+++ b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.2-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+DESCRIPTION="emerge-webrsync using patches to minimize bandwidth"
+HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml"
+SRC_URI="https://raw.githubusercontent.com/gentoo/portage/779a9e686d89e31af43e33b1163b01aeff65d7ea/misc/emerge-delta-webrsync -> ${P}"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ~sparc x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND="
+ app-shells/bash
+ >=sys-apps/portage-2.1.10
+ >=dev-util/diffball-0.6.5"
+
+S=${WORKDIR}
+
+src_unpack() {
+ cp "${DISTDIR}/${P}" "${WORKDIR}/" || die
+}
+
+src_prepare() {
+ # Remove premature `rm -fr "${TMPDIR}"` for bug #506192.
+ sed -e '334,336d' -i ${P} || die
+}
+
+src_install() {
+ newbin ${P} ${PN}
+ keepdir /var/delta-webrsync
+ fperms 0770 /var/delta-webrsync
+}
+
+pkg_preinst() {
+ # Failure here is non-fatal, since the "portage" group
+ # doesn't necessarily exist on prefix systems.
+ chgrp portage "${ED}"/var/delta-webrsync 2>/dev/null
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] && \
+ ! has_version app-arch/tarsync ; then
+ elog "For maximum emerge-delta-webrsync" \
+ "performance, install app-arch/tarsync."
+ fi
+}
diff --git a/app-portage/emerge-delta-webrsync/files/3.5.1-md5sum.patch b/app-portage/emerge-delta-webrsync/files/3.5.1-md5sum.patch
new file mode 100644
index 000000000000..7ee19a89b39b
--- /dev/null
+++ b/app-portage/emerge-delta-webrsync/files/3.5.1-md5sum.patch
@@ -0,0 +1,21 @@
+diff -Naur orig/emerge-delta-webrsync modified-r1/emerge-delta-webrsync
+--- emerge-delta-webrsync.old 2006-09-28 10:29:52.000000000 +0000
++++ emerge-delta-webrsync-3.5.1 2006-09-30 12:09:41.000000000 +0000
+@@ -410,7 +410,7 @@
+ echo "thus, bailing (sorry)"
+ exit 5
+ else
+- if ! fetch_from_mirrors "/snapshots/portage-${final_date}.tar.bz2.umd5sum" "portage-${final_date}.tar.bz2.umd5sum"; then
++ if [[ ! -e portage-${final_date}.tar.bz2.umd5sum ]] && ! fetch_from_mirrors "/snapshots/portage-${final_date}.tar.bz2.umd5sum" "portage-${final_date}.tar.bz2.umd5sum"; then
+ if ! fetch_from_mirrors "/snapshots/portage-${final_date}.tar.bz2.umd5sum" "portage-${final_date}.tar.bz2.umd5sum"; then
+ echo "couldn't grab umd5sum (uncompressed md5sum) for ${final_date}."
+ echo "can't compensate for bzip2 version differences iow."
+@@ -462,7 +462,7 @@
+
+ echo "verifying generated tarball"
+
+-if ! verify_md5_file "${TEMPDIR}/portage-${final_date}.tar.bz2"; then
++if ! verify_md5_file "${TEMPDIR}/portage-${final_date}.tar.bz2" "${DISTDIR}/portage-${final_date}.tar.bz2.md5sum"; then
+ if [[ -z $verified ]]; then
+ echo "couldn't verify the generated tarball. bug, most likely."
+ exit 5
diff --git a/app-portage/emerge-delta-webrsync/files/3.5.1-metadata.patch b/app-portage/emerge-delta-webrsync/files/3.5.1-metadata.patch
new file mode 100644
index 000000000000..9958df1a1fae
--- /dev/null
+++ b/app-portage/emerge-delta-webrsync/files/3.5.1-metadata.patch
@@ -0,0 +1,37 @@
+--- emerge-delta-webrsync-3.5.1_old 2006-08-07 20:54:08.000000000 +0200
++++ emerge-delta-webrsync-3.5.1 2006-08-07 21:00:37.000000000 +0200
+@@ -8,10 +8,11 @@
+ #initialization
+ #------------------
+
+-f=$(python -c'import portage; print "|".join([portage.settings[x] for x in ("PORTAGE_NICENESS", "GENTOO_MIRRORS", "PORTDIR", "FETCHCOMMAND", "USERLAND", "DISTDIR", "PORTAGE_TMPDIR")])')
++f=$(python -c'import portage; print "|".join([portage.settings[x] for x in ("PORTAGE_NICENESS", "FEATURES", "GENTOO_MIRRORS", "PORTDIR", "FETCHCOMMAND", "USERLAND", "DISTDIR", "PORTAGE_TMPDIR")])')
+
+ IFS='|'
+ PORTAGE_NICENESS="${f%%|*}"; f="${f#*|}"
++FEATURES="${f%%|*}" ; f="${f#*|}"
+ GENTOO_MIRRORS="${f%%|*}" ; f="${f#*|}"
+ PORTDIR="${f%%|*}" ; f="${f#*|}"
+ FETCHCOMMAND="${f%%|*}" ; f="${f#*|}"
+@@ -20,6 +21,8 @@
+ TMPDIR="${f%%|*}/snapshots"
+ unset IFS
+
++source /usr/lib/portage/bin/isolated-functions.sh || exit 1
++
+ if [ -z "$NICENESS_PULLED" ]; then
+ if [ -n "${PORTAGE_NICENESS}" ]; then
+ export NICENESS_PULLED=asdf
+@@ -217,8 +220,10 @@
+ echo "cleaning up"
+ rm -rf portage
+ fi
+- echo "transferring metadata/cache"
+- emerge metadata
++ if has metadata-transfer ${FEATURES} ; then
++ echo "transferring metadata/cache"
++ emerge --metadata
++ fi
+ }
+
+ fetch_from_mirrors() {
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/metadata.xml b/app-portage/emerge-delta-webrsync/metadata.xml
new file mode 100644
index 000000000000..cec4e204885c
--- /dev/null
+++ b/app-portage/emerge-delta-webrsync/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <bugs-to>mailto:dev-portage@gentoo.org</bugs-to>
+ </upstream>
+ <maintainer><email>dev-portage@gentoo.org</email></maintainer>
+</pkgmetadata>