summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-08-19 14:37:41 +0100
committerSam James <sam@gentoo.org>2023-08-19 14:42:44 +0100
commit79fac453fc3672af989bd73821cdfe2588d740b3 (patch)
tree74713bc67be4e53c27554260acbf56f05dd7e402 /app-portage/emerge-delta-webrsync
parentnet-wireless/lorcon: drop 0.0_p20200214 (diff)
downloadgentoo-79fac453fc3672af989bd73821cdfe2588d740b3.tar.gz
gentoo-79fac453fc3672af989bd73821cdfe2588d740b3.tar.bz2
gentoo-79fac453fc3672af989bd73821cdfe2588d740b3.zip
app-portage/emerge-delta-webrsync: add 3.7.7
Bug: https://bugs.gentoo.org/911335 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-portage/emerge-delta-webrsync')
-rw-r--r--app-portage/emerge-delta-webrsync/Manifest1
-rw-r--r--app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.7.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/app-portage/emerge-delta-webrsync/Manifest b/app-portage/emerge-delta-webrsync/Manifest
index 53d46d6f6c9f..da04106fc802 100644
--- a/app-portage/emerge-delta-webrsync/Manifest
+++ b/app-portage/emerge-delta-webrsync/Manifest
@@ -1 +1,2 @@
DIST emerge-delta-webrsync-3.7.6 24117 BLAKE2B 05bc77b6454e057247f225404cbf6f7b8fac8b54b19137434a4df028d5b6e8330ee853f4fa0f94a6c56e97ea088c7eac3f486c0013059b475f1ff36c858ad0a3 SHA512 85e5c2b5fffe952f6642507dd9dfd960725e86f385a5fc0ac289c5fcfe4666f0a50efdf7621342f8ae29f7623b8431f697ea33afe0fe2d6a837c820feefccae8
+DIST emerge-delta-webrsync-3.7.7 29041 BLAKE2B bf4a62dfa79b7445017fe513c2fe5f46ea00c6ec40c6cc36366ba9ac80b48278d53741afa514a68585b28f5120390b1460c2a2e905d27e44d13b7fccef963f09 SHA512 cda23099d0fe0858150b61f2ff1e7a41f78b9c42093890dff03882beeaaff9ae20cd4ae1a76b0ff7ab30dfa05e126e4ce541889d78649528c5cfd38870362362
diff --git a/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.7.ebuild b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.7.ebuild
new file mode 100644
index 000000000000..5598c4a3e5c8
--- /dev/null
+++ b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.7.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="emerge-webrsync using patches to minimize bandwidth"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
+SRC_URI="https://gitweb.gentoo.org/proj/portage.git/plain/misc/emerge-delta-webrsync?id=fe8b6d95b9c46b67cd4cf0040b5ae81704056cb7 -> ${P}"
+S=${WORKDIR}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
+
+RDEPEND="
+ app-shells/bash
+ >=dev-util/diffball-0.6.5
+ >=sys-apps/portage-3.0.49
+"
+
+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
+}