diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-02-22 06:40:48 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-02-22 06:40:48 +0100 |
commit | 729f217aa5dc17e55c7543b09a153b9a2b8a50a0 (patch) | |
tree | 45b5db3c15db4e52153c095fa839505c48cb9495 /dev-util/debootstrap | |
parent | sys-fs/lxcfs: remove old (diff) | |
download | gentoo-729f217aa5dc17e55c7543b09a153b9a2b8a50a0.tar.gz gentoo-729f217aa5dc17e55c7543b09a153b9a2b8a50a0.tar.bz2 gentoo-729f217aa5dc17e55c7543b09a153b9a2b8a50a0.zip |
dev-util/debootstrap: Mention the Debian and Ubuntu keyring packages (bug #387565)
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-util/debootstrap')
-rw-r--r-- | dev-util/debootstrap/debootstrap-1.0.78-r1.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-util/debootstrap/debootstrap-1.0.78-r1.ebuild b/dev-util/debootstrap/debootstrap-1.0.78-r1.ebuild new file mode 100644 index 000000000000..1ea5e165e7ea --- /dev/null +++ b/dev-util/debootstrap/debootstrap-1.0.78-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils + +DESCRIPTION="Debian/Ubuntu bootstrap scripts" +HOMEPAGE="http://packages.qa.debian.org/d/debootstrap.html" +SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.gz + mirror://gentoo/devices.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + app-arch/dpkg + net-misc/wget + sys-devel/binutils +" + +DOCS=( TODO debian/changelog ) + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${PN}_${PV}.tar.gz + cp "${DISTDIR}"/devices.tar.gz "${S}" +} + +src_compile() { + return +} + +src_install() { + default + doman debootstrap.8 +} + +pkg_postinst() { + if ! has_version ${CATEGORY}/${PN} && ! has_version app-crypt/gnupg; then + elog "To check Release files against a keyring (--keyring=K), please" + elog "install app-crypt/gnupg" + fi + + if ! has_version app-crypt/debian-archive-keyring || ! has_version app-crypt/ubuntu-keyring; then + elog "To check Release files from Debian or Ubuntu, please install" + elog " app-crypt/debian-archive-keyring or" + elog " app-crypt/ubuntu-keyring as required" + fi +} |