1 |
commit: eeb0d2f05c0d1e06717e4c867ca134496af9e2e4 |
2 |
Author: Jakov Petrina <jakov.petrina <AT> sartura <DOT> hr> |
3 |
AuthorDate: Tue Oct 12 09:50:03 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 14 05:05:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeb0d2f0 |
7 |
|
8 |
sys-apps/debianutils: bump to 5.5 |
9 |
|
10 |
Bump package to 5.5. Avoid introducing po4a dependency as upstream |
11 |
refreshes the manpages. Update EAPI to latest (8) as well. |
12 |
|
13 |
Signed-off-by: Jakov Petrina <jakov.petrina <AT> sartura.hr> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/22568 |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
sys-apps/debianutils/Manifest | 1 + |
18 |
sys-apps/debianutils/debianutils-5.5.ebuild | 50 +++++++++++++++++++++++++++++ |
19 |
2 files changed, 51 insertions(+) |
20 |
|
21 |
diff --git a/sys-apps/debianutils/Manifest b/sys-apps/debianutils/Manifest |
22 |
index 0b355d39af7..bee9537e68a 100644 |
23 |
--- a/sys-apps/debianutils/Manifest |
24 |
+++ b/sys-apps/debianutils/Manifest |
25 |
@@ -1,2 +1,3 @@ |
26 |
DIST debianutils_4.11.2.tar.xz 158132 BLAKE2B c2a95c90b4267e3b1d61c21db562f960b4666982c488e69a757fb0a7a42e8e739d44f553edd8cf532df30c492e999920ab63ec3580479de7de5d901d75de76fc SHA512 0bd9098beee78b3c8dae839f0c29e9f142cbb22f2ced473cf7ae47a14d9493ba882c1829eba213780392a87a3223b3689729754c8ded80a091efaef3f6f903fd |
27 |
DIST debianutils_5.4.orig.tar.xz 103640 BLAKE2B ac59ffcf7ef9523a67127e5565cb87eb694a0297eb81acba53a5ca00a2f16d024e21ba1ef6eff5079194c2cc751712fe9ad5814603deeeaa05d28343ff79a409 SHA512 a5501bdc46e203bd0cf357e5c83bb556ea7294ee603498399427dd49536848e006b21967f6239c3d808c8b9653d65f28536cf388dd18b749e54a235cc9326850 |
28 |
+DIST debianutils_5.5.orig.tar.xz 104448 BLAKE2B 707c9072ddf1fa0c61fc66f84aea26bac7bf6f31948880ad4711e89f8f4a665ae4104e998f27e53e288b3453a71876ef44038f8e954f19055ed1049eb9b9981c SHA512 230310428ee7c145c74bb666ae729754352295230f38ef4e22f7566970c5186d607cd827a5603a678815bd48d4a1eb2716f55c32494ec75eb665651da6a56e6a |
29 |
|
30 |
diff --git a/sys-apps/debianutils/debianutils-5.5.ebuild b/sys-apps/debianutils/debianutils-5.5.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..ed027764f11 |
33 |
--- /dev/null |
34 |
+++ b/sys-apps/debianutils/debianutils-5.5.ebuild |
35 |
@@ -0,0 +1,50 @@ |
36 |
+# Copyright 1999-2021 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=8 |
40 |
+ |
41 |
+inherit flag-o-matic |
42 |
+ |
43 |
+DESCRIPTION="A selection of tools from Debian" |
44 |
+HOMEPAGE="https://packages.qa.debian.org/d/debianutils.html" |
45 |
+SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.orig.tar.xz" |
46 |
+ |
47 |
+LICENSE="BSD GPL-2 SMAIL" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" |
50 |
+IUSE="+installkernel static" |
51 |
+ |
52 |
+PDEPEND=" |
53 |
+ installkernel? ( |
54 |
+ || ( |
55 |
+ sys-kernel/installkernel-gentoo |
56 |
+ sys-kernel/installkernel-systemd-boot |
57 |
+ ) |
58 |
+ )" |
59 |
+ |
60 |
+PATCHES=( "${FILESDIR}"/${PN}-3.4.2-no-bs-namespace.patch ) |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ # Avoid adding po4a dependency, upstream refreshes manpages. |
64 |
+ sed -i -e '/SUBDIRS/s|po4a||' Makefile.am || die |
65 |
+ |
66 |
+ default |
67 |
+} |
68 |
+ |
69 |
+src_configure() { |
70 |
+ use static && append-ldflags -static |
71 |
+ default |
72 |
+} |
73 |
+ |
74 |
+src_install() { |
75 |
+ into / |
76 |
+ dobin run-parts |
77 |
+ |
78 |
+ into /usr |
79 |
+ dobin ischroot |
80 |
+ dosbin savelog |
81 |
+ |
82 |
+ doman ischroot.1 run-parts.8 savelog.8 |
83 |
+ |
84 |
+ dodoc CHANGELOG |
85 |
+} |