summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2018-07-22 16:02:13 -0700
committerZac Medico <zmedico@gentoo.org>2018-07-22 16:02:13 -0700
commit508087127737e0c61e0f7bd6ef627440f82e848b (patch)
treec227a4834554276d11d3d6b688bd8d68f6f3127f /app-portage/emerge-delta-webrsync
parentapp-portage/emerge-delta-webrsync: remove old versions (diff)
downloadgentoo-508087127737e0c61e0f7bd6ef627440f82e848b.tar.gz
gentoo-508087127737e0c61e0f7bd6ef627440f82e848b.tar.bz2
gentoo-508087127737e0c61e0f7bd6ef627440f82e848b.zip
app-portage/emerge-delta-webrsync: version bump to 3.7.4
Package-Manager: Portage-2.3.43, Repoman-2.3.10
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.4.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/app-portage/emerge-delta-webrsync/Manifest b/app-portage/emerge-delta-webrsync/Manifest
index 3205697a2381..28c9ae7efa51 100644
--- a/app-portage/emerge-delta-webrsync/Manifest
+++ b/app-portage/emerge-delta-webrsync/Manifest
@@ -1,2 +1,3 @@
DIST emerge-delta-webrsync-3.7.2 22344 BLAKE2B f0c6054c0bbc32760eb3339ef121a3aafd32b6fecfb1474d46258ab48473ec5392e0e3b92d84f9d02bc061fd91b467020fbe4dbbb69a6f0625ea765cb013c706 SHA512 36b65e0f550b5b0a3a5cf271126bf0d44bd182c06148d72c5ed9e105394a38be5dd0845e2d674df246b4436a10f15033bdc857526f664656f1cdb79dd8b7a18c
DIST emerge-delta-webrsync-3.7.3 22348 BLAKE2B 7f89d71c2621bb3f2ebacaf1a5cdc66f3783d4704f9bd31adb8d7affd37e696a020712807f15c978025bb31fbdf95d6fc9b005a88cad132112f32b0d97ae99ab SHA512 987dabb5013233a164651564cfbf27ea7bea9057c810c3497b830a3fd58b89317791f1fb6d12f5e3e4aee58954a8aa6abe22eb8a5384b398239d4b28b665b2dd
+DIST emerge-delta-webrsync-3.7.4 22568 BLAKE2B fc85c4cf7dc1aef83ee591258adf1b2d6c949883f36cb8d1db68abe0d6b43ac7f6ad816aeb92bd3615eb5104adeea015fe7440af12fc60b8d2b8cbe21ade46d1 SHA512 acd443abdfadc15c1f6ee405395839311b5afc63f2fb4fe1842b7f222bcd9455c8c402ba7e624ecf0a43f908a237aa7ea76e14655b5b7f6933677dd20d05619a
diff --git a/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.4.ebuild b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.4.ebuild
new file mode 100644
index 000000000000..baf599e66509
--- /dev/null
+++ b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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=52d5d444ffb144911ca9b6e70b383405a8bd8af6 -> ${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
+ sys-apps/portage-mgorny
+ )
+ >=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
+}