summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-03-24 17:30:34 +0000
committernia <nia@pkgsrc.org>2020-03-24 17:30:34 +0000
commit79093aea41ae56a85526f0b3de5ba979076eb577 (patch)
treef67cd3a8e14af004d7359f9368de33c53206bc46
parent78e5f40388ea25d451b4e6374592f0cb92e82cfb (diff)
downloadpkgsrc-79093aea41ae56a85526f0b3de5ba979076eb577.tar.gz
libtasn1: Update to 4.16.0
* Noteworthy changes in release 4.16.0 (released 2020-02-01) [stable] - asn1_decode_simple_ber: added support for constructed definite octet strings. This allows this function decode the whole set of BER encodings for OCTET STRINGs. - asn1_get_object_id_der: enhance the range of decoded OIDs (#25). This also makes OID encoding and decoding more strict on invalid input. This may break gnutls' test suite before 3.6.12 as it was relying on decoding some invalid OIDs. - asn1_object_id_der: New function * Noteworthy changes in release 4.15.0 (released 2019-11-21) [stable] - The generated tree no longer contains ASN.1 built-in types even if they are explicitly defined in the description. Previously a warning was printed when these types were seen, now they are ignored. - Several fixes in ASN.1 definition parser, preventing several crashes and leaks in the tools due to improper ASN.1. - Switched to semantic versioning.
-rw-r--r--security/libtasn1/Makefile5
-rw-r--r--security/libtasn1/PLIST3
-rw-r--r--security/libtasn1/distinfo12
-rw-r--r--security/libtasn1/patches/patch-lib_ASN1.y15
-rw-r--r--security/libtasn1/patches/patch-src_Makefile.in15
5 files changed, 9 insertions, 41 deletions
diff --git a/security/libtasn1/Makefile b/security/libtasn1/Makefile
index f812d3170cd..0e77f7b6b28 100644
--- a/security/libtasn1/Makefile
+++ b/security/libtasn1/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.77 2020/02/08 23:57:51 rillig Exp $
+# $NetBSD: Makefile,v 1.78 2020/03/24 17:30:34 nia Exp $
-DISTNAME= libtasn1-4.14
-PKGREVISION= 1
+DISTNAME= libtasn1-4.16.0
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_GNU:=libtasn1/}
diff --git a/security/libtasn1/PLIST b/security/libtasn1/PLIST
index 6f13f4eb848..16d52b8b2f8 100644
--- a/security/libtasn1/PLIST
+++ b/security/libtasn1/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2016/06/22 10:36:00 wiz Exp $
+@comment $NetBSD: PLIST,v 1.19 2020/03/24 17:30:34 nia Exp $
bin/asn1Coding
bin/asn1Decoding
bin/asn1Parser
@@ -38,6 +38,7 @@ man/man3/asn1_get_octet_der.3
man/man3/asn1_get_tag_der.3
man/man3/asn1_length_der.3
man/man3/asn1_number_of_elements.3
+man/man3/asn1_object_id_der.3
man/man3/asn1_octet_der.3
man/man3/asn1_parser2array.3
man/man3/asn1_parser2tree.3
diff --git a/security/libtasn1/distinfo b/security/libtasn1/distinfo
index 9c19261d590..62263b5f773 100644
--- a/security/libtasn1/distinfo
+++ b/security/libtasn1/distinfo
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.53 2019/11/04 08:13:50 wiz Exp $
+$NetBSD: distinfo,v 1.54 2020/03/24 17:30:34 nia Exp $
-SHA1 (libtasn1-4.14.tar.gz) = 4ce6a70a40f50a2c29a62bbf1c0c5b6e306ca4e3
-RMD160 (libtasn1-4.14.tar.gz) = bb9ed36d7d07b08fd1f7cb6d42e7a63f949b0721
-SHA512 (libtasn1-4.14.tar.gz) = efdcf3729e9e057cafbfdc9929f08531de03cf3b64e7db62cb53c26bf34c8db4d73786fd853620ab1a10dbafe55e119ad17bfeb40e191071945c7b4db9c9e223
-Size (libtasn1-4.14.tar.gz) = 1771184 bytes
-SHA1 (patch-lib_ASN1.y) = 5d8cf15002d29feba370e7e44397df663ee24bb0
-SHA1 (patch-src_Makefile.in) = b1385b2cdc56bfdc9ef3c9ce451f18eae20a2a91
+SHA1 (libtasn1-4.16.0.tar.gz) = f4f1fc301c0835389d9db7754815e48f4f57937a
+RMD160 (libtasn1-4.16.0.tar.gz) = f35e54581ac47cb4569edb72fabbe6387c9e1104
+SHA512 (libtasn1-4.16.0.tar.gz) = b356249535d5d592f9b59de39d21e26dd0f3f00ea47c9cef292cdd878042ea41ecbb7c8d2f02ac5839f5210092fe92a25acd343260ddf644887b031b167c2e71
+Size (libtasn1-4.16.0.tar.gz) = 1812442 bytes
diff --git a/security/libtasn1/patches/patch-lib_ASN1.y b/security/libtasn1/patches/patch-lib_ASN1.y
deleted file mode 100644
index acb6a33a66f..00000000000
--- a/security/libtasn1/patches/patch-lib_ASN1.y
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-lib_ASN1.y,v 1.1 2018/04/29 03:41:43 dholland Exp $
-
-Use <ctype.h> correctly.
-
---- lib/ASN1.y~ 2017-01-25 08:45:09.000000000 +0000
-+++ lib/ASN1.y
-@@ -575,7 +575,7 @@ _asn1_yylex ()
-
- /* Is STRING a number? */
- for (k = 0; k < counter; k++)
-- if (!isdigit ((int)string[k]))
-+ if (!isdigit ((unsigned char)string[k]))
- break;
- if (k >= counter)
- {
diff --git a/security/libtasn1/patches/patch-src_Makefile.in b/security/libtasn1/patches/patch-src_Makefile.in
deleted file mode 100644
index 0d1d246168d..00000000000
--- a/security/libtasn1/patches/patch-src_Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_Makefile.in,v 1.1 2019/11/04 08:13:50 wiz Exp $
-
-Do not overwrite LDFLAGS.
-
---- src/Makefile.in.orig 2019-07-21 07:30:30.000000000 +0000
-+++ src/Makefile.in
-@@ -373,7 +373,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- LCOV = @LCOV@
- LD = @LD@
--LDFLAGS = $(CODE_COVERAGE_LDFLAGS)
-+LDFLAGS = $(CODE_COVERAGE_LDFLAGS) @LDFLAGS@
- LIBOBJS = @LIBOBJS@
- LIBS = @LIBS@
- LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@