1 |
commit: f99b695c6e03826324d8946b47c9da221d591a66 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 30 23:38:15 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 30 23:40:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f99b695c |
7 |
|
8 |
sys-apps/diffutils: add 3.8_p20221230 (RC, unkeyworded) |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-apps/diffutils/Manifest | 2 + |
13 |
sys-apps/diffutils/diffutils-3.8_p20221230.ebuild | 49 +++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/diffutils/Manifest b/sys-apps/diffutils/Manifest |
17 |
index acf8f16cb654..126881702d53 100644 |
18 |
--- a/sys-apps/diffutils/Manifest |
19 |
+++ b/sys-apps/diffutils/Manifest |
20 |
@@ -1,2 +1,4 @@ |
21 |
+DIST diffutils-3.8.43-2d50.tar.xz 1585696 BLAKE2B c4b8534ec167721cde4fc33778b69740fa55dc566cf1a1b8b489ad047e67f748290fff617bd44f024fd2995cd83c5d1019bf074ded863b8fb4397208152bf400 SHA512 f348d3588eed7e471851edcf488d32936af1261b0991e8699e056e8696c235444a8a70a8a26f5be52c4406bd3d210106e58e6446a8ce71dc025172a13ab69096 |
22 |
+DIST diffutils-3.8.43-2d50.tar.xz.sig 833 BLAKE2B a300a957da2377ff9c5372789bd57a77f3adcc4f8cea272f4c06395e78b176880ca1e933f3253c4d680d9624798ac0fd21c7cfe31fe56f8ee042f4f527c21cc7 SHA512 0a56ece94f06b6e0f57213f7c311cd5f9eebde65e5664a75b7d7d69772ac06024f1486a1a133f040ecf2af39caa3bca35855fc66bb776a273f663e12cfb00432 |
23 |
DIST diffutils-3.8.tar.xz 1585120 BLAKE2B 573abbfba55c62ba30d2084ca68860e9681cfe92648407f7fb04e1aaed2e4719e2fb5a29cf25bd125d762f4dfd52f85ee91f2ec19b099365bada7fe27a0394af SHA512 279441270987e70d5ecfaf84b6285a4866929c43ec877e50f154a788858d548a8a316f2fc26ad62f7348c8d289cb29a09d06dfadce1806e3d8b4ea88c8b1aa7c |
24 |
DIST diffutils-3.8.tar.xz.sig 833 BLAKE2B 439d331d9839d8b434b7192c52628bc9e8e1c11cada28170f85c9390abc3e5e9ea86aee696a4f9260552133053194680ff54b960ed539fabec85fdff54dee3a2 SHA512 0464ac89209411993800666b45ff90243d22fbda53bf1d71c6870d565b39cc8d9c54c141b9d297a181ce74ad8fb5313953f416bced179ff7728a52a3e9a4f5a5 |
25 |
|
26 |
diff --git a/sys-apps/diffutils/diffutils-3.8_p20221230.ebuild b/sys-apps/diffutils/diffutils-3.8_p20221230.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..f895d84c9b6e |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/diffutils/diffutils-3.8_p20221230.ebuild |
31 |
@@ -0,0 +1,49 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/diffutils.asc |
38 |
+inherit flag-o-matic verify-sig |
39 |
+ |
40 |
+DESCRIPTION="Tools to make diffs and compare files" |
41 |
+HOMEPAGE="https://www.gnu.org/software/diffutils/" |
42 |
+ |
43 |
+if [[ ${PV} == *_p* ]] ; then |
44 |
+ # Subscribe to the 'platform-testers' ML to find these. |
45 |
+ # Useful to test on our especially more niche arches and report issues upstream. |
46 |
+ MY_COMMIT="43-2d50" |
47 |
+ MY_P=${PN}-$(ver_cut 1-2).${MY_COMMIT} |
48 |
+ SRC_URI="https://meyering.net/diff/${MY_P}.tar.xz" |
49 |
+ SRC_URI+=" verify-sig? ( https://meyering.net/diff/${MY_P}.tar.xz.sig )" |
50 |
+ S="${WORKDIR}"/${MY_P} |
51 |
+else |
52 |
+ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" |
53 |
+ SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )" |
54 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
55 |
+fi |
56 |
+ |
57 |
+LICENSE="GPL-2" |
58 |
+SLOT="0" |
59 |
+IUSE="nls static" |
60 |
+ |
61 |
+BDEPEND="nls? ( sys-devel/gettext ) |
62 |
+ verify-sig? ( sec-keys/openpgp-keys-diffutils )" |
63 |
+ |
64 |
+src_configure() { |
65 |
+ use static && append-ldflags -static |
66 |
+ |
67 |
+ # Disable automagic dependency over libsigsegv; see bug #312351. |
68 |
+ export ac_cv_libsigsegv=no |
69 |
+ |
70 |
+ # required for >=glibc-2.26, bug #653914 |
71 |
+ use elibc_glibc && export gl_cv_func_getopt_gnu=yes |
72 |
+ |
73 |
+ local myeconfargs=( |
74 |
+ --with-packager="Gentoo" |
75 |
+ --with-packager-version="${PVR}" |
76 |
+ --with-packager-bug-reports="https://bugs.gentoo.org/" |
77 |
+ $(use_enable nls) |
78 |
+ ) |
79 |
+ econf "${myeconfargs[@]}" |
80 |
+} |