From 97c3ce41a76a1e214d6d341b8f8d4c7e94785423 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 10 Jul 2019 21:13:33 -0700 Subject: [PATCH] app-portage/emerge-delta-webrsync: Bump to version 3.7.6 #689072 default repo.conf sync-openpgp-keyserver to hkps://keys.gentoo.org in order to prevent key poisoning for sys-apps/portage[rsync-verify] #689506 default repos.conf sync-webrsync-verify-signature for sys-apps/portage[rsync-verify] Bug: https://bugs.gentoo.org/689072 Bug: https://bugs.gentoo.org/689506 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Zac Medico --- app-portage/emerge-delta-webrsync/Manifest | 1 + .../emerge-delta-webrsync-3.7.6.ebuild | 43 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.6.ebuild diff --git a/app-portage/emerge-delta-webrsync/Manifest b/app-portage/emerge-delta-webrsync/Manifest index 319c15d28277..9a81ffd5f901 100644 --- a/app-portage/emerge-delta-webrsync/Manifest +++ b/app-portage/emerge-delta-webrsync/Manifest @@ -1 +1,2 @@ DIST emerge-delta-webrsync-3.7.5 23446 BLAKE2B e4cecea69d4ddc3eff21130b45661bb942cd8f66443b8e55bea1340bab801176ccfcbbe41e762bab4e318e17dae6bfaaa9d98656b276838d782b94ef9c2bf0fc SHA512 dc64754ca3a2b5956b6ad017dbf987de6a45fd227a498c00f677c4c85ad6e3e02cdfb9b22b413ad10d077e509e47b0dd8d6116fc2ca03dd3e9f74e465c4e2527 +DIST emerge-delta-webrsync-3.7.6 24117 BLAKE2B 05bc77b6454e057247f225404cbf6f7b8fac8b54b19137434a4df028d5b6e8330ee853f4fa0f94a6c56e97ea088c7eac3f486c0013059b475f1ff36c858ad0a3 SHA512 85e5c2b5fffe952f6642507dd9dfd960725e86f385a5fc0ac289c5fcfe4666f0a50efdf7621342f8ae29f7623b8431f697ea33afe0fe2d6a837c820feefccae8 diff --git a/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.6.ebuild b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.6.ebuild new file mode 100644 index 000000000000..65533f9f804d --- /dev/null +++ b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +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=829623eadbeda97d37c0ea50dc5f08f19bf4561b -> ${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.3.69 + >=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 +} -- 2.26.2