summaryrefslogtreecommitdiff
path: root/dev-libs/libtasn1
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libtasn1')
-rw-r--r--dev-libs/libtasn1/Manifest5
-rw-r--r--dev-libs/libtasn1/libtasn1-4.19.0.ebuild55
-rw-r--r--dev-libs/libtasn1/metadata.xml2
3 files changed, 61 insertions, 1 deletions
diff --git a/dev-libs/libtasn1/Manifest b/dev-libs/libtasn1/Manifest
index 11bf2a24f4f0..ccb09b6072a8 100644
--- a/dev-libs/libtasn1/Manifest
+++ b/dev-libs/libtasn1/Manifest
@@ -1,3 +1,6 @@
DIST libtasn1-4.18.0.tar.gz 1724441 BLAKE2B b5f93a7575dde46741b6fc97183105efbc934e44041735241ba40ecd578c94637741df193dfab0d97e0348e2dde34b8b89a33ed616afa0bf64db6dbddebf1786 SHA512 4f2f4afc7561fda7a1f1c6c525c3c3b08228a1a4aa8c3d3d5e02e993d8f83ccee1dd0f1b201cec0fbfc97043d4b1d7a95ffd34d65422a38b85b931ac7a015831
+DIST libtasn1-4.19.0.tar.gz 1786576 BLAKE2B 6e8232590cd87da3bfd9182ed44eccdfbdfcc85e88d8cf19fffdb3d600e04694b77079b95bbd822d2c3fff29458ddae0f0440f9c1c19c711923a2507bd19270f SHA512 287f5eddfb5e21762d9f14d11997e56b953b980b2b03a97ed4cd6d37909bda1ed7d2cdff9da5d270a21d863ab7e54be6b85c05f1075ac5d8f0198997cf335ef4
+DIST libtasn1-4.19.0.tar.gz.sig 228 BLAKE2B f45b8c53844fad4d1044ef6915d88337affb0287973a0ffab2d77a6a61c850cebdea6904f077fcc13a8bc29ba7cbbef7cdf2a5e325c8180d574020eb3cb9f432 SHA512 e0417625f8df22c6421914bf2d4f19d7f27260c24c04f50e59669681f326debe06ddef9dc5a2e20fda50feb30bbbf3f41597e64961257304ec2c407aa76d107e
EBUILD libtasn1-4.18.0.ebuild 1335 BLAKE2B 19408380acad7e34909e92e1dd013820831cd1f81b1eb574a53b72f0184f98bab4419c399bd9844a8b01980105a4cfea00ef752a5436a453ef17089f58ae84c3 SHA512 6407ad71edd84df9b9b8403210f356953b9823533d28d3a2fa04ae033882e851e0f00f95a774cd8c9157aae9e6a333bd6682d69c5f8f3b172ff1b7475deeb842
-MISC metadata.xml 446 BLAKE2B 1d60c0db5d09d0b9c5f3bbead71748684f665e68e0b29b0e4023a80fbff349d4c4f5dac21e59fd222dc46e436a4336b5bbb410136dfc34d1fac44aa9a9bdb6da SHA512 1d486b356548451e21c494d267e433216e01d16673dbf1090beddb69cc6a6d13d279b11d9ec7884174a5c2109222b6dc5eebf86ee7899df4280274f7b98a0a60
+EBUILD libtasn1-4.19.0.ebuild 1535 BLAKE2B 569f0c2981afee5e67abd91c705f081fa4b6f36e33bffe8216240d505913162b85b75e151493c188fa0bd8302beb770c5b2f424587bff4d6fddf0e64d49556ca SHA512 b5bc66997ac14f0a1d598910d20c597dc807e11b653cfceaa208ba1d78c81d6c30248bd41469aad20ca5956479e4b5b26d42c7752754d75136ec7072ccff0f11
+MISC metadata.xml 578 BLAKE2B 9931be3a51d405db37106c52355f2ab82e4f6e8c76c2638b58517e5d06724eb55c013e0cc2ef77b6d52802804f0a270823e479d8eb152a0f3b0b9c46af8d288e SHA512 e75deed036f1bd132deb0fe75475e658891c38e30526474bc48dd8a04ca3fa1816646ac08ed5eb2afee57629c8a1af8d014c832ff9ca25935238735752106dc4
diff --git a/dev-libs/libtasn1/libtasn1-4.19.0.ebuild b/dev-libs/libtasn1/libtasn1-4.19.0.ebuild
new file mode 100644
index 000000000000..a767b369cfeb
--- /dev/null
+++ b/dev-libs/libtasn1/libtasn1-4.19.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libtasn1.asc
+inherit multilib-minimal libtool verify-sig
+
+DESCRIPTION="ASN.1 library"
+HOMEPAGE="https://www.gnu.org/software/libtasn1/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.gz.sig )"
+
+LICENSE="LGPL-2.1+"
+SLOT="0/6" # subslot = libtasn1 soname version
+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"
+IUSE="static-libs test valgrind"
+
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ sys-apps/help2man
+ virtual/yacc
+ test? ( valgrind? ( dev-util/valgrind ) )
+ verify-sig? ( sec-keys/openpgp-keys-libtasn1 )
+"
+
+DOCS=( AUTHORS ChangeLog NEWS README.md THANKS )
+
+src_prepare() {
+ default
+
+ # For Solaris shared library
+ elibtoolize
+}
+
+multilib_src_configure() {
+ # -fanalyzer substantially slows down the build and isn't useful for
+ # us. It's useful for upstream as it's static analysis, but it's not
+ # useful when just getting something built.
+ export gl_cv_warn_c__fanalyzer=no
+
+ local myeconfargs=(
+ $(use_enable static-libs static)
+ $(multilib_native_use_enable valgrind valgrind-tests)
+ )
+
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ find "${ED}" -type f -name '*.la' -delete || die
+}
diff --git a/dev-libs/libtasn1/metadata.xml b/dev-libs/libtasn1/metadata.xml
index 9630ac49ef5a..34019a209dcb 100644
--- a/dev-libs/libtasn1/metadata.xml
+++ b/dev-libs/libtasn1/metadata.xml
@@ -11,6 +11,8 @@
</flag>
</use>
<upstream>
+ <changelog>https://gitlab.com/gnutls/libtasn1/blob/master/NEWS</changelog>
<remote-id type="cpe">cpe:/a:gnu:libtasn1</remote-id>
+ <remote-id type="gitlab">gnutls/libtasn1</remote-id>
</upstream>
</pkgmetadata>