pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/libtasn1 libtasn1: Update to 4.16.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/39eac24b7bcb
branches:  trunk
changeset: 425973:39eac24b7bcb
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Mar 24 17:30:34 2020 +0000

description:
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.

diffstat:

 security/libtasn1/Makefile                      |   5 ++---
 security/libtasn1/PLIST                         |   3 ++-
 security/libtasn1/distinfo                      |  12 +++++-------
 security/libtasn1/patches/patch-lib_ASN1.y      |  15 ---------------
 security/libtasn1/patches/patch-src_Makefile.in |  15 ---------------
 5 files changed, 9 insertions(+), 41 deletions(-)

diffs (85 lines):

diff -r e6100e214f7a -r 39eac24b7bcb security/libtasn1/Makefile
--- a/security/libtasn1/Makefile        Tue Mar 24 17:24:52 2020 +0000
+++ b/security/libtasn1/Makefile        Tue Mar 24 17:30:34 2020 +0000
@@ -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 -r e6100e214f7a -r 39eac24b7bcb security/libtasn1/PLIST
--- a/security/libtasn1/PLIST   Tue Mar 24 17:24:52 2020 +0000
+++ b/security/libtasn1/PLIST   Tue Mar 24 17:30:34 2020 +0000
@@ -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_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 -r e6100e214f7a -r 39eac24b7bcb security/libtasn1/distinfo
--- a/security/libtasn1/distinfo        Tue Mar 24 17:24:52 2020 +0000
+++ b/security/libtasn1/distinfo        Tue Mar 24 17:30:34 2020 +0000
@@ -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 -r e6100e214f7a -r 39eac24b7bcb security/libtasn1/patches/patch-lib_ASN1.y
--- a/security/libtasn1/patches/patch-lib_ASN1.y        Tue Mar 24 17:24:52 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r e6100e214f7a -r 39eac24b7bcb security/libtasn1/patches/patch-src_Makefile.in
--- a/security/libtasn1/patches/patch-src_Makefile.in   Tue Mar 24 17:24:52 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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@



Home | Main Index | Thread Index | Old Index