1 |
commit: 8f20142212ed5c0af56b490f707e5fdff8138481 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 24 00:18:10 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 24 00:20:39 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f201422 |
7 |
|
8 |
dev-libs/libtasn1: add 4.19.0 |
9 |
|
10 |
Licensing was also clarified upstream: https://gitlab.com/gnutls/libtasn1/-/issues/38. |
11 |
|
12 |
Bug: https://gitlab.com/gnutls/libtasn1/-/issues/38 |
13 |
Bug: https://bugs.gentoo.org/866237 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
dev-libs/libtasn1/Manifest | 2 ++ |
17 |
dev-libs/libtasn1/libtasn1-4.19.0.ebuild | 55 ++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 57 insertions(+) |
19 |
|
20 |
diff --git a/dev-libs/libtasn1/Manifest b/dev-libs/libtasn1/Manifest |
21 |
index 01a8fb358336..0716ca996bc6 100644 |
22 |
--- a/dev-libs/libtasn1/Manifest |
23 |
+++ b/dev-libs/libtasn1/Manifest |
24 |
@@ -1 +1,3 @@ |
25 |
DIST libtasn1-4.18.0.tar.gz 1724441 BLAKE2B b5f93a7575dde46741b6fc97183105efbc934e44041735241ba40ecd578c94637741df193dfab0d97e0348e2dde34b8b89a33ed616afa0bf64db6dbddebf1786 SHA512 4f2f4afc7561fda7a1f1c6c525c3c3b08228a1a4aa8c3d3d5e02e993d8f83ccee1dd0f1b201cec0fbfc97043d4b1d7a95ffd34d65422a38b85b931ac7a015831 |
26 |
+DIST libtasn1-4.19.0.tar.gz 1786576 BLAKE2B 6e8232590cd87da3bfd9182ed44eccdfbdfcc85e88d8cf19fffdb3d600e04694b77079b95bbd822d2c3fff29458ddae0f0440f9c1c19c711923a2507bd19270f SHA512 287f5eddfb5e21762d9f14d11997e56b953b980b2b03a97ed4cd6d37909bda1ed7d2cdff9da5d270a21d863ab7e54be6b85c05f1075ac5d8f0198997cf335ef4 |
27 |
+DIST libtasn1-4.19.0.tar.gz.sig 228 BLAKE2B f45b8c53844fad4d1044ef6915d88337affb0287973a0ffab2d77a6a61c850cebdea6904f077fcc13a8bc29ba7cbbef7cdf2a5e325c8180d574020eb3cb9f432 SHA512 e0417625f8df22c6421914bf2d4f19d7f27260c24c04f50e59669681f326debe06ddef9dc5a2e20fda50feb30bbbf3f41597e64961257304ec2c407aa76d107e |
28 |
|
29 |
diff --git a/dev-libs/libtasn1/libtasn1-4.19.0.ebuild b/dev-libs/libtasn1/libtasn1-4.19.0.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..a767b369cfeb |
32 |
--- /dev/null |
33 |
+++ b/dev-libs/libtasn1/libtasn1-4.19.0.ebuild |
34 |
@@ -0,0 +1,55 @@ |
35 |
+# Copyright 1999-2022 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=8 |
39 |
+ |
40 |
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libtasn1.asc |
41 |
+inherit multilib-minimal libtool verify-sig |
42 |
+ |
43 |
+DESCRIPTION="ASN.1 library" |
44 |
+HOMEPAGE="https://www.gnu.org/software/libtasn1/" |
45 |
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
46 |
+SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.gz.sig )" |
47 |
+ |
48 |
+LICENSE="LGPL-2.1+" |
49 |
+SLOT="0/6" # subslot = libtasn1 soname version |
50 |
+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" |
51 |
+IUSE="static-libs test valgrind" |
52 |
+ |
53 |
+RESTRICT="!test? ( test )" |
54 |
+ |
55 |
+BDEPEND=" |
56 |
+ sys-apps/help2man |
57 |
+ virtual/yacc |
58 |
+ test? ( valgrind? ( dev-util/valgrind ) ) |
59 |
+ verify-sig? ( sec-keys/openpgp-keys-libtasn1 ) |
60 |
+" |
61 |
+ |
62 |
+DOCS=( AUTHORS ChangeLog NEWS README.md THANKS ) |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ default |
66 |
+ |
67 |
+ # For Solaris shared library |
68 |
+ elibtoolize |
69 |
+} |
70 |
+ |
71 |
+multilib_src_configure() { |
72 |
+ # -fanalyzer substantially slows down the build and isn't useful for |
73 |
+ # us. It's useful for upstream as it's static analysis, but it's not |
74 |
+ # useful when just getting something built. |
75 |
+ export gl_cv_warn_c__fanalyzer=no |
76 |
+ |
77 |
+ local myeconfargs=( |
78 |
+ $(use_enable static-libs static) |
79 |
+ $(multilib_native_use_enable valgrind valgrind-tests) |
80 |
+ ) |
81 |
+ |
82 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
83 |
+} |
84 |
+ |
85 |
+multilib_src_install_all() { |
86 |
+ einstalldocs |
87 |
+ |
88 |
+ find "${ED}" -type f -name '*.la' -delete || die |
89 |
+} |