Update to 2.1: Version 2.1 (released 2009-04-17) - Fix compilation failure on platforms that can't generate empty archives, e.g., Mac OS X. Reported by David Reiser <dbreiser@gmail.com>. Version 2.0 (released 2009-04-13) - Optimized tree generation. - ASN1 parser code re-generated using Bison 2.4.1. - Build with more warning flags. Many compiler warnings fixed. - Compiled with -fvisibility=hidden by default if supported. See http://gcc.gnu.org/wiki/Visibility - The libtasn1-config tool has been removed. For application developers, please stop using libtasn1-config for finding libtasn1, use proper autoconf checks or pkg-config instead. For users that need a libtasn1 that provides a libtasn1-config script (for use with older applications), use libtasn1 v1.x instead. Version 1.x is still supported.diff -r1.40 -r1.41 pkgsrc/security/libtasn1/Makefile
(wiz)
@@ -1,34 +1,35 @@ | @@ -1,34 +1,35 @@ | |||
1 | # $NetBSD: Makefile,v 1.40 2009/02/02 11:58:47 tron Exp $ | 1 | # $NetBSD: Makefile,v 1.41 2009/04/20 12:48:48 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= libtasn1-1.8 | 3 | DISTNAME= libtasn1-2.1 | |
4 | CATEGORIES= security devel | 4 | CATEGORIES= security devel | |
5 | MASTER_SITES= ${MASTER_SITE_GNU:=gnutls/} \ | 5 | MASTER_SITES= ${MASTER_SITE_GNU:=gnutls/} \ | |
6 | ftp://ftp.gnutls.org/pub/gnutls/libtasn1/ \ | 6 | ftp://ftp.gnutls.org/pub/gnutls/libtasn1/ \ | |
7 | ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/libtasn1/ | 7 | ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/libtasn1/ | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://www.gnutls.org/ | 10 | HOMEPAGE= http://www.gnutls.org/ | |
11 | COMMENT= ASN.1 structure parser library | 11 | COMMENT= ASN.1 structure parser library | |
12 | 12 | |||
13 | #LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-3.0 | |||
14 | ||||
13 | PKG_INSTALLATION_TYPES= overwrite pkgviews | 15 | PKG_INSTALLATION_TYPES= overwrite pkgviews | |
14 | PKG_DESTDIR_SUPPORT= user-destdir | 16 | PKG_DESTDIR_SUPPORT= user-destdir | |
15 | 17 | |||
16 | USE_TOOLS+= makeinfo | 18 | USE_TOOLS+= makeinfo | |
17 | USE_LIBTOOL= yes | 19 | USE_LIBTOOL= yes | |
18 | GNU_CONFIGURE= yes | 20 | GNU_CONFIGURE= yes | |
19 | TEST_TARGET= check | 21 | TEST_TARGET= check | |
20 | INFO_FILES= yes | 22 | INFO_FILES= yes | |
21 | #LICENSE= gnu-lgpl-v2.1 and gnu-gpl-3.0 | |||
22 | 23 | |||
23 | .include "../../mk/bsd.prefs.mk" | 24 | .include "../../mk/bsd.prefs.mk" | |
24 | # Mac OS X has no prototype for getopt_long and no declaration for | 25 | # Mac OS X has no prototype for getopt_long and no declaration for | |
25 | # struct option, so ignore getopt_long() even though the test succeeds. | 26 | # struct option, so ignore getopt_long() even though the test succeeds. | |
26 | .if ${OPSYS} == "Darwin" | 27 | .if ${OPSYS} == "Darwin" | |
27 | CONFIGURE_ENV+= ac_cv_func_getopt_long=no | 28 | CONFIGURE_ENV+= ac_cv_func_getopt_long=no | |
28 | CFLAGS+= -fno-common | 29 | CFLAGS+= -fno-common | |
29 | 30 | |||
30 | # The "gnu" library ends up being empty and Mac OS X's "ar" doesn't like | 31 | # The "gnu" library ends up being empty and Mac OS X's "ar" doesn't like | |
31 | # to create empty archives. Just don't build the library. | 32 | # to create empty archives. Just don't build the library. | |
32 | SUBST_CLASSES+= gllib | 33 | SUBST_CLASSES+= gllib | |
33 | SUBST_STAGE.gllib= post-configure | 34 | SUBST_STAGE.gllib= post-configure | |
34 | SUBST_FILES.gllib= lib/Makefile | 35 | SUBST_FILES.gllib= lib/Makefile |
@@ -1,18 +1,17 @@ | @@ -1,18 +1,17 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.11 2008/11/24 15:36:03 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.12 2009/04/20 12:48:48 wiz Exp $ | |
2 | bin/asn1Coding | 2 | bin/asn1Coding | |
3 | bin/asn1Decoding | 3 | bin/asn1Decoding | |
4 | bin/asn1Parser | 4 | bin/asn1Parser | |
5 | bin/libtasn1-config | |||
6 | include/libtasn1.h | 5 | include/libtasn1.h | |
7 | info/libtasn1.info | 6 | info/libtasn1.info | |
8 | lib/libtasn1.la | 7 | lib/libtasn1.la | |
9 | lib/pkgconfig/libtasn1.pc | 8 | lib/pkgconfig/libtasn1.pc | |
10 | man/man1/asn1Coding.1 | 9 | man/man1/asn1Coding.1 | |
11 | man/man1/asn1Decoding.1 | 10 | man/man1/asn1Decoding.1 | |
12 | man/man1/asn1Parser.1 | 11 | man/man1/asn1Parser.1 | |
13 | man/man3/asn1_array2tree.3 | 12 | man/man3/asn1_array2tree.3 | |
14 | man/man3/asn1_bit_der.3 | 13 | man/man3/asn1_bit_der.3 | |
15 | man/man3/asn1_check_version.3 | 14 | man/man3/asn1_check_version.3 | |
16 | man/man3/asn1_copy_node.3 | 15 | man/man3/asn1_copy_node.3 | |
17 | man/man3/asn1_create_element.3 | 16 | man/man3/asn1_create_element.3 | |
18 | man/man3/asn1_delete_element.3 | 17 | man/man3/asn1_delete_element.3 |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.23 2009/01/31 08:58:55 adam Exp $ | 1 | $NetBSD: distinfo,v 1.24 2009/04/20 12:48:48 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (libtasn1-1.8.tar.gz) = 12b8a872eb4aa24f12bd09a24ab6199b8058e5b3 | 3 | SHA1 (libtasn1-2.1.tar.gz) = 884cc6609d7694a834a767b4b2975d6c5ab0d566 | |
4 | RMD160 (libtasn1-1.8.tar.gz) = 4e95d22300d8cec61ba496b3e4a198b669b224bc | 4 | RMD160 (libtasn1-2.1.tar.gz) = 670a02f592dcd9f943e9d2ed21fcdb5acab15764 | |
5 | Size (libtasn1-1.8.tar.gz) = 1608176 bytes | 5 | Size (libtasn1-2.1.tar.gz) = 1601535 bytes | |
6 | SHA1 (patch-aa) = 64d8599d79c4f9975b0a1ccae79d91865c9afa33 | 6 | SHA1 (patch-aa) = 64d8599d79c4f9975b0a1ccae79d91865c9afa33 |