Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/debootstrap/
Date: Mon, 22 Feb 2016 05:42:34
Message-Id: 1456119648.729f217aa5dc17e55c7543b09a153b9a2b8a50a0.jer@gentoo
1 commit: 729f217aa5dc17e55c7543b09a153b9a2b8a50a0
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 22 05:40:48 2016 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 22 05:40:48 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=729f217a
7
8 dev-util/debootstrap: Mention the Debian and Ubuntu keyring packages (bug #387565)
9
10 Package-Manager: portage-2.2.27
11
12 dev-util/debootstrap/debootstrap-1.0.78-r1.ebuild | 52 +++++++++++++++++++++++
13 1 file changed, 52 insertions(+)
14
15 diff --git a/dev-util/debootstrap/debootstrap-1.0.78-r1.ebuild b/dev-util/debootstrap/debootstrap-1.0.78-r1.ebuild
16 new file mode 100644
17 index 0000000..1ea5e16
18 --- /dev/null
19 +++ b/dev-util/debootstrap/debootstrap-1.0.78-r1.ebuild
20 @@ -0,0 +1,52 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=6
26 +inherit eutils
27 +
28 +DESCRIPTION="Debian/Ubuntu bootstrap scripts"
29 +HOMEPAGE="http://packages.qa.debian.org/d/debootstrap.html"
30 +SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.gz
31 + mirror://gentoo/devices.tar.gz"
32 +
33 +LICENSE="MIT"
34 +SLOT="0"
35 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
36 +
37 +RDEPEND="
38 + app-arch/dpkg
39 + net-misc/wget
40 + sys-devel/binutils
41 +"
42 +
43 +DOCS=( TODO debian/changelog )
44 +
45 +S=${WORKDIR}/${PN}
46 +
47 +src_unpack() {
48 + unpack ${PN}_${PV}.tar.gz
49 + cp "${DISTDIR}"/devices.tar.gz "${S}"
50 +}
51 +
52 +src_compile() {
53 + return
54 +}
55 +
56 +src_install() {
57 + default
58 + doman debootstrap.8
59 +}
60 +
61 +pkg_postinst() {
62 + if ! has_version ${CATEGORY}/${PN} && ! has_version app-crypt/gnupg; then
63 + elog "To check Release files against a keyring (--keyring=K), please"
64 + elog "install app-crypt/gnupg"
65 + fi
66 +
67 + if ! has_version app-crypt/debian-archive-keyring || ! has_version app-crypt/ubuntu-keyring; then
68 + elog "To check Release files from Debian or Ubuntu, please install"
69 + elog " app-crypt/debian-archive-keyring or"
70 + elog " app-crypt/ubuntu-keyring as required"
71 + fi
72 +}