commit: eeb0d2f05c0d1e06717e4c867ca134496af9e2e4 Author: Jakov Petrina <jakov.petrina <AT> sartura <DOT> hr> AuthorDate: Tue Oct 12 09:50:03 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Oct 14 05:05:34 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeb0d2f0
sys-apps/debianutils: bump to 5.5 Bump package to 5.5. Avoid introducing po4a dependency as upstream refreshes the manpages. Update EAPI to latest (8) as well. Signed-off-by: Jakov Petrina <jakov.petrina <AT> sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/22568 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/debianutils/Manifest | 1 + sys-apps/debianutils/debianutils-5.5.ebuild | 50 +++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/sys-apps/debianutils/Manifest b/sys-apps/debianutils/Manifest index 0b355d39af7..bee9537e68a 100644 --- a/sys-apps/debianutils/Manifest +++ b/sys-apps/debianutils/Manifest @@ -1,2 +1,3 @@ DIST debianutils_4.11.2.tar.xz 158132 BLAKE2B c2a95c90b4267e3b1d61c21db562f960b4666982c488e69a757fb0a7a42e8e739d44f553edd8cf532df30c492e999920ab63ec3580479de7de5d901d75de76fc SHA512 0bd9098beee78b3c8dae839f0c29e9f142cbb22f2ced473cf7ae47a14d9493ba882c1829eba213780392a87a3223b3689729754c8ded80a091efaef3f6f903fd DIST debianutils_5.4.orig.tar.xz 103640 BLAKE2B ac59ffcf7ef9523a67127e5565cb87eb694a0297eb81acba53a5ca00a2f16d024e21ba1ef6eff5079194c2cc751712fe9ad5814603deeeaa05d28343ff79a409 SHA512 a5501bdc46e203bd0cf357e5c83bb556ea7294ee603498399427dd49536848e006b21967f6239c3d808c8b9653d65f28536cf388dd18b749e54a235cc9326850 +DIST debianutils_5.5.orig.tar.xz 104448 BLAKE2B 707c9072ddf1fa0c61fc66f84aea26bac7bf6f31948880ad4711e89f8f4a665ae4104e998f27e53e288b3453a71876ef44038f8e954f19055ed1049eb9b9981c SHA512 230310428ee7c145c74bb666ae729754352295230f38ef4e22f7566970c5186d607cd827a5603a678815bd48d4a1eb2716f55c32494ec75eb665651da6a56e6a diff --git a/sys-apps/debianutils/debianutils-5.5.ebuild b/sys-apps/debianutils/debianutils-5.5.ebuild new file mode 100644 index 00000000000..ed027764f11 --- /dev/null +++ b/sys-apps/debianutils/debianutils-5.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic + +DESCRIPTION="A selection of tools from Debian" +HOMEPAGE="https://packages.qa.debian.org/d/debianutils.html" +SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.orig.tar.xz" + +LICENSE="BSD GPL-2 SMAIL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +IUSE="+installkernel static" + +PDEPEND=" + installkernel? ( + || ( + sys-kernel/installkernel-gentoo + sys-kernel/installkernel-systemd-boot + ) + )" + +PATCHES=( "${FILESDIR}"/${PN}-3.4.2-no-bs-namespace.patch ) + +src_prepare() { + # Avoid adding po4a dependency, upstream refreshes manpages. + sed -i -e '/SUBDIRS/s|po4a||' Makefile.am || die + + default +} + +src_configure() { + use static && append-ldflags -static + default +} + +src_install() { + into / + dobin run-parts + + into /usr + dobin ischroot + dosbin savelog + + doman ischroot.1 run-parts.8 savelog.8 + + dodoc CHANGELOG +}