summaryrefslogtreecommitdiff
path: root/security/libtasn1
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-05-14 03:23:43 +0000
committersalo <salo@pkgsrc.org>2003-05-14 03:23:43 +0000
commit9f0223d75e6e8451e5d6c16907447f74e5a24011 (patch)
tree167f1b295d2b8f915bcd81842d6046f95f40205e /security/libtasn1
parent2e172b9dcbe3209c0cff67d80c058992a33d039a (diff)
downloadpkgsrc-9f0223d75e6e8451e5d6c16907447f74e5a24011.tar.gz
Import of libtasn1-0.2.4: ASN.1 structure parser library.
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 Package provided bu Juan RP via pkgsrc-wip with some modifications by me.
Diffstat (limited to 'security/libtasn1')
-rw-r--r--security/libtasn1/DESCR10
-rw-r--r--security/libtasn1/Makefile18
-rw-r--r--security/libtasn1/PLIST7
-rw-r--r--security/libtasn1/buildlink2.mk24
-rw-r--r--security/libtasn1/distinfo4
5 files changed, 63 insertions, 0 deletions
diff --git a/security/libtasn1/DESCR b/security/libtasn1/DESCR
new file mode 100644
index 00000000000..bddba4bc595
--- /dev/null
+++ b/security/libtasn1/DESCR
@@ -0,0 +1,10 @@
+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
diff --git a/security/libtasn1/Makefile b/security/libtasn1/Makefile
new file mode 100644
index 00000000000..a788726241f
--- /dev/null
+++ b/security/libtasn1/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/05/14 03:23:43 salo Exp $
+#
+
+DISTNAME= libtasn1-0.2.4
+CATEGORIES= security devel
+MASTER_SITES= ftp://ftp.gnutls.org/pub/gnutls/libtasn1/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.gnutls.org/
+COMMENT= ASN.1 structure parser library
+
+USE_BUILDLINK2= YES
+USE_LIBTOOL= YES
+GNU_CONFIGURE= YES
+
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/libtasn1/PLIST b/security/libtasn1/PLIST
new file mode 100644
index 00000000000..02a41560fb9
--- /dev/null
+++ b/security/libtasn1/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/14 03:23:43 salo Exp $
+include/libtasn1.h
+lib/libtasn1.a
+lib/libtasn1.la
+lib/libtasn1.so
+lib/libtasn1.so.2
+lib/libtasn1.so.2.4
diff --git a/security/libtasn1/buildlink2.mk b/security/libtasn1/buildlink2.mk
new file mode 100644
index 00000000000..bd0ae1d60b3
--- /dev/null
+++ b/security/libtasn1/buildlink2.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/05/14 03:23:43 salo Exp $
+#
+# This Makefile fragment is included by packages that use libtasn1.
+#
+# This file was created automatically using createbuildlink 2.6.
+#
+
+.if !defined(LIBTASN1_BUILDLINK2_MK)
+LIBTASN1_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libtasn1
+BUILDLINK_DEPENDS.libtasn1?= libtasn1>=0.1.2
+BUILDLINK_PKGSRCDIR.libtasn1?= ../../security/libtasn1
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libtasn1=libtasn1
+BUILDLINK_PREFIX.libtasn1_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libtasn1+= include/libtasn1.h
+BUILDLINK_FILES.libtasn1+= lib/libtasn1.*
+
+BUILDLINK_TARGETS+= libtasn1-buildlink
+
+libtasn1-buildlink: _BUILDLINK_USE
+
+.endif # LIBTASN1_BUILDLINK2_MK
diff --git a/security/libtasn1/distinfo b/security/libtasn1/distinfo
new file mode 100644
index 00000000000..2b974e474ee
--- /dev/null
+++ b/security/libtasn1/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/05/14 03:23:43 salo Exp $
+
+SHA1 (libtasn1-0.2.4.tar.gz) = 0cd9b054fc7c7ae49c4f86c20d37c911744538d6
+Size (libtasn1-0.2.4.tar.gz) = 354215 bytes