diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-08-20 02:55:43 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-08-20 02:55:43 +0000 |
commit | 03c218425cf8e6950fcf610b2f82cac27ebf85b0 (patch) | |
tree | 9b2e0bbe5eb7bfd8f2a52cf82a5e377ef85586ec /app-portage | |
parent | Stable for HPPA (bug #431852). (diff) | |
download | gentoo-2-03c218425cf8e6950fcf610b2f82cac27ebf85b0.tar.gz gentoo-2-03c218425cf8e6950fcf610b2f82cac27ebf85b0.tar.bz2 gentoo-2-03c218425cf8e6950fcf610b2f82cac27ebf85b0.zip |
Hackfix for #431816
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/getdelta/ChangeLog | 8 | ||||
-rw-r--r-- | app-portage/getdelta/getdelta-0.7.9-r1.ebuild | 40 |
2 files changed, 46 insertions, 2 deletions
diff --git a/app-portage/getdelta/ChangeLog b/app-portage/getdelta/ChangeLog index 9825c3d65c5a..943067ef2080 100644 --- a/app-portage/getdelta/ChangeLog +++ b/app-portage/getdelta/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-portage/getdelta # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/getdelta/ChangeLog,v 1.22 2012/03/19 07:57:57 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/getdelta/ChangeLog,v 1.23 2012/08/20 02:55:43 patrick Exp $ + +*getdelta-0.7.9-r1 (20 Aug 2012) + + 20 Aug 2012; Patrick Lauer <patrick@gentoo.org> +getdelta-0.7.9-r1.ebuild: + Hackfix for #431816 19 Mar 2012; Michael Sterrett <mr_bones_@gentoo.org> getdelta-0.7.9.ebuild: inherit goes near the top @@ -104,4 +109,3 @@ New ebuild thanks to Alexander Jenisch <nt-@gmx.de> in bug 66790, thanks to Nicolai Lissner <nlissne@linux01.gwdg.de> for getdelta and ebuild mirroring and to Torsten Veller <torsten@veller.net> for previous ebuild enhancements - diff --git a/app-portage/getdelta/getdelta-0.7.9-r1.ebuild b/app-portage/getdelta/getdelta-0.7.9-r1.ebuild new file mode 100644 index 000000000000..6b923e184121 --- /dev/null +++ b/app-portage/getdelta/getdelta-0.7.9-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-portage/getdelta/getdelta-0.7.9-r1.ebuild,v 1.1 2012/08/20 02:55:43 patrick Exp $ + +inherit eutils + +DESCRIPTION="dynamic deltup client" +HOMEPAGE="http://linux01.gwdg.de/~nlissne/" +SRC_URI="http://linux01.gwdg.de/~nlissne/${PN}-0.7.8.tar.bz2" +SLOT="0" +IUSE="" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~sparc ~x86" + +RDEPEND="app-portage/deltup + dev-util/bdelta" + +src_prepare() { + epatch "${FILESDIR}"/${P}.patch +} + +src_install () { + # portage has moved make.globals, so we just hotfix it + sed -i -e "s:/etc/make.globals:/usr/share/portage/config/make.globals:g" "${WORKDIR}"/getdelta.sh || die "Couldn't fix make.globals path" + + sed -i -e "s:/bin/sh:/bin/bash:" "${WORKDIR}"/getdelta.sh || die + dobin "${WORKDIR}"/getdelta.sh || die +} + +pkg_postinst() { + elog "You need to put" + elog "FETCHCOMMAND=\"/usr/bin/getdelta.sh \\\${URI}\"" + elog "into your /etc/make.conf to make use of getdelta" + + # make sure permissions are ok + touch "${ROOT}"/var/log/getdelta.log + mkdir -p "${ROOT}"/etc/deltup + chown -R portage:portage "${ROOT}"/{var/log/getdelta.log,etc/deltup} + chmod -R ug+rwX "${ROOT}"/{var/log/getdelta.log,etc/deltup} +} |