app-portage/emerge-delta-webrsync: add 3.7.8

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-08-19 16:45:52 +01:00
parent dfaa253428
commit 4c793bcf4f
2 changed files with 46 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST emerge-delta-webrsync-3.7.6 24117 BLAKE2B 05bc77b6454e057247f225404cbf6f7b8fac8b54b19137434a4df028d5b6e8330ee853f4fa0f94a6c56e97ea088c7eac3f486c0013059b475f1ff36c858ad0a3 SHA512 85e5c2b5fffe952f6642507dd9dfd960725e86f385a5fc0ac289c5fcfe4666f0a50efdf7621342f8ae29f7623b8431f697ea33afe0fe2d6a837c820feefccae8
DIST emerge-delta-webrsync-3.7.7 29041 BLAKE2B bf4a62dfa79b7445017fe513c2fe5f46ea00c6ec40c6cc36366ba9ac80b48278d53741afa514a68585b28f5120390b1460c2a2e905d27e44d13b7fccef963f09 SHA512 cda23099d0fe0858150b61f2ff1e7a41f78b9c42093890dff03882beeaaff9ae20cd4ae1a76b0ff7ab30dfa05e126e4ce541889d78649528c5cfd38870362362
DIST emerge-delta-webrsync-3.7.8 29034 BLAKE2B bb043265577d2b7d861744b5d6f31aad645075ff916426013da26b6335560a6a0adf05b0a39c2f3a7cd6d5695a4b9c7646a53fe68d91e792dcb3523558b9f0bd SHA512 403c4437ca925657b24f4783f46bc475d8f485f27a79e6b9261dcb71babfc08f6b15ce87a54f3df55c190f1fbe1623165539d6b53366c1ed17e7c6f1e0b892f6

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DELTA_WEBRSYNC_COMMIT="591f0826a15e437eb02e2eddf8ed1487b05f5e94"
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=${DELTA_WEBRSYNC_COMMIT} -> ${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
}