Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/debianutils/
Date: Mon, 28 Mar 2022 09:17:30
Message-Id: 1648459020.21dcd20b4654f0494a1fe34cdb203f5973164500.jsmolic@gentoo
1 commit: 21dcd20b4654f0494a1fe34cdb203f5973164500
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 24 06:43:45 2022 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 28 09:17:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21dcd20b
7
8 sys-apps/debianutils: add 5.7
9
10 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
11
12 sys-apps/debianutils/Manifest | 1 +
13 sys-apps/debianutils/debianutils-5.7.ebuild | 51 +++++++++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/sys-apps/debianutils/Manifest b/sys-apps/debianutils/Manifest
17 index bee9537e68ae..542c2594ae16 100644
18 --- a/sys-apps/debianutils/Manifest
19 +++ b/sys-apps/debianutils/Manifest
20 @@ -1,3 +1,4 @@
21 DIST debianutils_4.11.2.tar.xz 158132 BLAKE2B c2a95c90b4267e3b1d61c21db562f960b4666982c488e69a757fb0a7a42e8e739d44f553edd8cf532df30c492e999920ab63ec3580479de7de5d901d75de76fc SHA512 0bd9098beee78b3c8dae839f0c29e9f142cbb22f2ced473cf7ae47a14d9493ba882c1829eba213780392a87a3223b3689729754c8ded80a091efaef3f6f903fd
22 DIST debianutils_5.4.orig.tar.xz 103640 BLAKE2B ac59ffcf7ef9523a67127e5565cb87eb694a0297eb81acba53a5ca00a2f16d024e21ba1ef6eff5079194c2cc751712fe9ad5814603deeeaa05d28343ff79a409 SHA512 a5501bdc46e203bd0cf357e5c83bb556ea7294ee603498399427dd49536848e006b21967f6239c3d808c8b9653d65f28536cf388dd18b749e54a235cc9326850
23 DIST debianutils_5.5.orig.tar.xz 104448 BLAKE2B 707c9072ddf1fa0c61fc66f84aea26bac7bf6f31948880ad4711e89f8f4a665ae4104e998f27e53e288b3453a71876ef44038f8e954f19055ed1049eb9b9981c SHA512 230310428ee7c145c74bb666ae729754352295230f38ef4e22f7566970c5186d607cd827a5603a678815bd48d4a1eb2716f55c32494ec75eb665651da6a56e6a
24 +DIST debianutils_5.7.orig.tar.gz 257231 BLAKE2B 61d2e7abcd359c5dc87b7f91e510e91e1926183c15a572c7d87cf4a590dded2e2ee8c9b4e06f7f478353139870c808927575de233200ad69e084a6f971c4bd24 SHA512 79acd8885abca93842d696167171a359011c49a40f38deeb25bc94d62905f95afa3a7b2540d3bd4b0ffd363c5c48a439a1a68139a29d6c033980b019cea75d92
25
26 diff --git a/sys-apps/debianutils/debianutils-5.7.ebuild b/sys-apps/debianutils/debianutils-5.7.ebuild
27 new file mode 100644
28 index 000000000000..484f32f6c429
29 --- /dev/null
30 +++ b/sys-apps/debianutils/debianutils-5.7.ebuild
31 @@ -0,0 +1,51 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit autotools flag-o-matic
38 +
39 +DESCRIPTION="A selection of tools from Debian"
40 +HOMEPAGE="https://packages.qa.debian.org/d/debianutils.html"
41 +SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.orig.tar.gz"
42 +
43 +LICENSE="BSD GPL-2 SMAIL"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
46 +IUSE="+installkernel static"
47 +
48 +PDEPEND="
49 + installkernel? (
50 + || (
51 + sys-kernel/installkernel-gentoo
52 + sys-kernel/installkernel-systemd-boot
53 + )
54 + )"
55 +
56 +PATCHES=( "${FILESDIR}"/${PN}-3.4.2-no-bs-namespace.patch )
57 +
58 +src_prepare() {
59 + # Avoid adding po4a dependency, upstream refreshes manpages.
60 + sed -i -e '/SUBDIRS/s|po4a||' Makefile.am || die
61 +
62 + default
63 + eautoreconf
64 +}
65 +
66 +src_configure() {
67 + use static && append-ldflags -static
68 + default
69 +}
70 +
71 +src_install() {
72 + into /
73 + dobin run-parts
74 +
75 + into /usr
76 + dobin ischroot
77 + dosbin savelog
78 +
79 + doman ischroot.1 run-parts.8 savelog.8
80 +
81 + dodoc CHANGELOG
82 +}