- looong overdue update libtasn1 to 1.2

- update license marker (gplv3)

ok ajacoutot@
additional testing by landry@
This commit is contained in:
jasper 2008-01-23 21:53:20 +00:00
parent 1528f4da52
commit 5bf353a214
7 changed files with 65 additions and 95 deletions

View File

@ -1,38 +1,34 @@
# $OpenBSD: Makefile,v 1.7 2007/09/15 23:29:58 merdely Exp $
# $OpenBSD: Makefile,v 1.8 2008/01/23 21:53:20 jasper Exp $
COMMENT= Abstract Syntax Notation One structure parser library
VERSION= 0.1.2
DISTNAME= libtasn1-${VERSION}
PKGNAME= ${DISTNAME}p2
DISTNAME= libtasn1-1.2
CATEGORIES= security
SHARED_LIBS= tasn1 0.2
MODGNU_SHARED_LIBS= tasn1 ''
SHARED_LIBS += tasn1 1.0 # .3.13
HOMEPAGE= http://www.gnutls.org/
HOMEPAGE= http://www.gnu.org/software/gnutls/
# LGPL
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/libtasn1/ \
ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/libtasn1/attic/ \
ftp://gd.tuwien.ac.at/privacy/gnupg/alpha/gnutls/libtasn1/ \
http://ftp.planetmirror.com/pub/gnupg/alpha/gnutls/libtasn1/ \
http://sunsite.dk/pub/security/gcrypt/alpha/gnutls/libtasn1/ \
http://ftp.linux.it/pub/mirrors/gnupg/alpha/gnutls/libtasn1/
MASTER_SITES= ftp://ftp.gnutls.org/pub/gnutls/libtasn1/ \
ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/libtasn1/ \
ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/libtasn1/ \
http://www.gnu.org/software/gnutls/releases/libtasn1/ \
http://josefsson.org/gnutls/releases/libtasn1/ \
http://www.mirrors.wiretapped.net/security/network-security/gnutls/libtasn1/
WANTLIB= c
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libtasn1
${INSTALL_DATA} ${WRKSRC}/doc/asn1.ps ${PREFIX}/share/doc/libtasn1
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (libtasn1-0.1.2.tar.gz) = bIw3blWC9oRTcak5hpFm3Q==
RMD160 (libtasn1-0.1.2.tar.gz) = AYvOlgUxrBKetoduLGCjpxJIld4=
SHA1 (libtasn1-0.1.2.tar.gz) = Xrd9fpkpBnOO5uZ4sRg8LkYk83U=
SHA256 (libtasn1-0.1.2.tar.gz) = GhPJomBAZeDwLOEMaAexmKbesfC/Qoyt64hgDY4FSTY=
SIZE (libtasn1-0.1.2.tar.gz) = 346996
MD5 (libtasn1-1.2.tar.gz) = qeMQ6bBn2GJXuPOrAyr9sQ==
RMD160 (libtasn1-1.2.tar.gz) = SAw4LNQ80l3HvzRJGHGNhbKqdrQ=
SHA1 (libtasn1-1.2.tar.gz) = 9CPuFUBeS8IQUnM/GdCr3G+Qnag=
SHA256 (libtasn1-1.2.tar.gz) = MrqJwl9OcwS+TOdMpiu/THZYOv/AC/OYKAJTolx8/kM=
SIZE (libtasn1-1.2.tar.gz) = 1511012

View File

@ -1,30 +0,0 @@
$OpenBSD: patch-configure,v 1.2 2003/10/12 21:33:43 jolan Exp $
--- configure.orig 2002-10-09 15:31:50.000000000 -0500
+++ configure 2003-10-12 16:29:15.000000000 -0500
@@ -2701,7 +2701,7 @@ done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
- break 2
+ break 1
fi
done
@@ -6776,7 +6776,7 @@ else
;;
openbsd*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
@@ -7264,6 +7264,8 @@ openbsd*)
need_lib_prefix=no
need_version=no
fi
+ sys_lib_search_path_spec="/usr/lib"
+ sys_lib_dlsearch_path_spec="/usr/lib /usr/local/lib"
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
shlibpath_var=LD_LIBRARY_PATH

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_asn1Coding_c,v 1.2 2003/10/12 21:33:43 jolan Exp $
--- src/asn1Coding.c.orig 2002-10-07 14:40:56.000000000 -0500
+++ src/asn1Coding.c 2003-10-12 16:29:15.000000000 -0500
@@ -28,7 +28,7 @@
#include <stdio.h>
#include <string.h>
#include <libtasn1.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <config.h>
#ifdef HAVE_GETOPT_H

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_asn1Decoding_c,v 1.2 2003/10/12 21:33:43 jolan Exp $
--- src/asn1Decoding.c.orig 2002-10-07 14:41:20.000000000 -0500
+++ src/asn1Decoding.c 2003-10-12 16:29:15.000000000 -0500
@@ -28,7 +28,7 @@
#include <stdio.h>
#include <string.h>
#include <libtasn1.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <config.h>
#ifdef HAVE_GETOPT_H

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_asn1Parser_c,v 1.2 2003/10/12 21:33:43 jolan Exp $
--- src/asn1Parser.c.orig 2002-10-07 14:41:44.000000000 -0500
+++ src/asn1Parser.c 2003-10-12 16:29:15.000000000 -0500
@@ -28,7 +28,7 @@
#include <stdio.h>
#include <string.h>
#include <libtasn1.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <config.h>
#ifdef HAVE_GETOPT_H

View File

@ -1,7 +1,47 @@
@comment $OpenBSD: PLIST,v 1.2 2004/09/15 18:36:00 espie Exp $
@comment $OpenBSD: PLIST,v 1.3 2008/01/23 21:53:20 jasper Exp $
%%SHARED%%
bin/asn1Coding
bin/asn1Decoding
bin/asn1Parser
bin/libtasn1-config
include/libtasn1.h
@info info/libtasn1.info
lib/libtasn1.a
lib/libtasn1.la
share/doc/libtasn1/
share/doc/libtasn1/asn1.ps
%%SHARED%%
lib/pkgconfig/
lib/pkgconfig/libtasn1.pc
@man man/man1/asn1Coding.1
@man man/man1/asn1Decoding.1
@man man/man1/asn1Parser.1
@man man/man3/asn1_array2tree.3
@man man/man3/asn1_bit_der.3
@man man/man3/asn1_check_version.3
@man man/man3/asn1_copy_node.3
@man man/man3/asn1_create_element.3
@man man/man3/asn1_delete_element.3
@man man/man3/asn1_delete_structure.3
@man man/man3/asn1_der_coding.3
@man man/man3/asn1_der_decoding.3
@man man/man3/asn1_der_decoding_element.3
@man man/man3/asn1_der_decoding_startEnd.3
@man man/man3/asn1_expand_any_defined_by.3
@man man/man3/asn1_expand_octet_string.3
@man man/man3/asn1_find_node.3
@man man/man3/asn1_find_structure_from_oid.3
@man man/man3/asn1_get_bit_der.3
@man man/man3/asn1_get_length_der.3
@man man/man3/asn1_get_octet_der.3
@man man/man3/asn1_get_tag_der.3
@man man/man3/asn1_length_der.3
@man man/man3/asn1_number_of_elements.3
@man man/man3/asn1_octet_der.3
@man man/man3/asn1_parser2array.3
@man man/man3/asn1_parser2tree.3
@man man/man3/asn1_print_structure.3
@man man/man3/asn1_read_tag.3
@man man/man3/asn1_read_value.3
@man man/man3/asn1_write_value.3
@man man/man3/libtasn1_perror.3
@man man/man3/libtasn1_strerror.3
share/aclocal/
share/aclocal/libtasn1.m4