[Midnightbsd-cvs] mports: mports/security:

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Nov 7 19:17:09 EST 2007


Log Message:
-----------


Modified Files:
--------------
    mports/security:
        Makefile (r1.65 -> r1.66)

Added Files:
-----------
    mports/security/libtasn1:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/security/libtasn1/files:
        patch-configure (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/security/Makefile,v
retrieving revision 1.65
retrieving revision 1.66
diff -L security/Makefile -L security/Makefile -u -r1.65 -r1.66
--- security/Makefile
+++ security/Makefile
@@ -31,6 +31,7 @@
     SUBDIR += libgpg-error
     SUBDIR += libksba
     SUBDIR += libmcrypt
+    SUBDIR += libtasn1
     SUBDIR += linux-openssl
     SUBDIR += linux-pam-docs
     SUBDIR += mcrypt
--- /dev/null
+++ security/libtasn1/pkg-descr
@@ -0,0 +1,13 @@
+libtasn1 library was developed for ASN1 (Abstract Syntax Notation One)
+structures management. 
+
+The main features of this library are:
+
+- on-line ASN1 structure management that does not require any C code 
+  file generation;
+- off-line ASN1 structure management with C code file generation 
+  containing an array;
+- DER (Distinguish Encoding Rules) encoding;
+- no limits for INTEGER and ENUMERATED values 
+	
+WWW:	http://www.gnutls.org/
--- /dev/null
+++ security/libtasn1/pkg-plist
@@ -0,0 +1,21 @@
+ at comment $FreeBSD: ports/security/libtasn1/pkg-plist,v 1.10 2006/05/12 02:59:47 novel Exp $
+bin/asn1Parser
+bin/asn1Coding
+bin/asn1Decoding
+bin/libtasn1-config
+include/libtasn1.h
+lib/libtasn1.a
+lib/libtasn1.la
+lib/libtasn1.so
+lib/libtasn1.so.3
+libdata/pkgconfig/libtasn1.pc
+share/aclocal/libtasn1.m4
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/libtasn1.html
+%%PORTDOCS%%%%DOCSDIR%%/libtasn1.pdf
+%%PORTDOCS%%%%DOCSDIR%%/libtasn1.ps
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- /dev/null
+++ security/libtasn1/Makefile
@@ -0,0 +1,73 @@
+# New ports collection makefile for:	libtasn1
+# Date created:		7 Nov 2007
+# Whom:			Lucas Holt <luke at midnightbsd.org>
+#
+# $MidnightBSD: mports/security/libtasn1/Makefile,v 1.1 2007/11/08 00:17:07 laffer1 Exp $
+# $FreeBSD: ports/security/libtasn1/Makefile,v 1.32 2007/07/23 09:36:30 rafan Exp $
+#
+
+PORTNAME=	libtasn1
+PORTVERSION=	0.3.10
+CATEGORIES=	security
+MASTER_SITES=	ftp://ftp.gnutls.org/pub/gnutls/libtasn1/ \
+		http://josefsson.org/gnutls/releases/libtasn1/
+MASTER_SITE_SUBDIR=	alpha/gnutls/libtasn1
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	ASN.1 structure parser library
+LICENSE=	gpl2
+
+USE_LDCONFIG=	yes
+USE_GNOME=	pkgconfig
+GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd6.0
+
+DOCS=		AUTHORS NEWS README THANKS doc/TODO \
+		doc/libtasn1.html doc/libtasn1.pdf doc/libtasn1.ps
+INFO=		libtasn1
+MAN1=		asn1Parser.1 \
+		asn1Coding.1 \
+		asn1Decoding.1
+MAN3=		\
+		asn1_array2tree.3 \
+		asn1_bit_der.3 \
+		asn1_check_version.3 \
+		asn1_copy_node.3 \
+		asn1_create_element.3 \
+		asn1_delete_element.3 \
+		asn1_delete_structure.3 \
+		asn1_der_coding.3 \
+		asn1_der_decoding.3 \
+		asn1_der_decoding_element.3 \
+		asn1_der_decoding_startEnd.3 \
+		asn1_expand_any_defined_by.3 \
+		asn1_expand_octet_string.3 \
+		asn1_find_node.3 \
+		asn1_find_structure_from_oid.3 \
+		asn1_get_bit_der.3 \
+		asn1_get_length_der.3 \
+		asn1_get_octet_der.3 \
+		asn1_get_tag_der.3 \
+		asn1_length_der.3 \
+		asn1_number_of_elements.3 \
+		asn1_octet_der.3 \
+		asn1_parser2array.3 \
+		asn1_parser2tree.3 \
+		asn1_print_structure.3 \
+		asn1_read_tag.3 \
+		asn1_read_value.3 \
+		asn1_write_value.3 \
+		libtasn1_perror.3 \
+		libtasn1_strerror.3
+
+post-patch:
+	@${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \
+		${WRKSRC}/lib/Makefile.in
+
+.if !defined(NOPORTDOCS)
+post-install:
+	@${MKDIR} ${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
--- /dev/null
+++ security/libtasn1/distinfo
@@ -0,0 +1,3 @@
+MD5 (libtasn1-0.3.10.tar.gz) = 650145edefc26d4910a4f603cdab2535
+SHA256 (libtasn1-0.3.10.tar.gz) = dabed9013590b4e80915b8c58f38e1dfefdf4c2bb2ce4e8da73de25960d92e55
+SIZE (libtasn1-0.3.10.tar.gz) = 1330520
--- /dev/null
+++ security/libtasn1/files/patch-configure
@@ -0,0 +1,13 @@
+
+$FreeBSD: ports/security/libtasn1/files/patch-configure,v 1.1 2003/02/27 20:09:41 naddy Exp $
+
+--- configure.orig	Thu Feb 27 21:02:03 2003
++++ configure	Thu Feb 27 21:02:16 2003
+@@ -8617,6 +8617,7 @@
+ 
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+ 
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'


More information about the Midnightbsd-cvs mailing list