summaryrefslogtreecommitdiff
path: root/textproc/p5-Convert-ASN1
diff options
context:
space:
mode:
authorkleink <kleink@pkgsrc.org>2000-06-09 14:14:49 +0000
committerkleink <kleink@pkgsrc.org>2000-06-09 14:14:49 +0000
commit053cfd9b8a59995bea5aa9280a9b0cfec893cf33 (patch)
tree134f42ab88e84dd31e96c737dc9d1745f3aa8976 /textproc/p5-Convert-ASN1
parent19f2176e4dd08439a67f154c0dc423ba7ce89f92 (diff)
downloadpkgsrc-053cfd9b8a59995bea5aa9280a9b0cfec893cf33.tar.gz
Initial import of p5-Convert-ASN1-0.07, a perl class to parse ASN.1
descriptions and en/decode perl data structures. Thanks to Bernd Ernesti for doing the packaging work.
Diffstat (limited to 'textproc/p5-Convert-ASN1')
-rw-r--r--textproc/p5-Convert-ASN1/Makefile16
-rw-r--r--textproc/p5-Convert-ASN1/files/md53
-rw-r--r--textproc/p5-Convert-ASN1/files/patch-sum3
-rw-r--r--textproc/p5-Convert-ASN1/patches/patch-aa15
-rw-r--r--textproc/p5-Convert-ASN1/pkg/COMMENT1
-rw-r--r--textproc/p5-Convert-ASN1/pkg/DESCR12
-rw-r--r--textproc/p5-Convert-ASN1/pkg/PLIST13
7 files changed, 63 insertions, 0 deletions
diff --git a/textproc/p5-Convert-ASN1/Makefile b/textproc/p5-Convert-ASN1/Makefile
new file mode 100644
index 00000000000..bb0d2404766
--- /dev/null
+++ b/textproc/p5-Convert-ASN1/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/06/09 14:14:49 kleink Exp $
+#
+
+DISTNAME= Convert-ASN1-0.07
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Convert/}
+
+MAINTAINER= packages@netbsd.org
+
+USE_PERL5= YES
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-Convert-ASN1/files/md5 b/textproc/p5-Convert-ASN1/files/md5
new file mode 100644
index 00000000000..0cd20697f33
--- /dev/null
+++ b/textproc/p5-Convert-ASN1/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/06/09 14:14:50 kleink Exp $
+
+MD5 (Convert-ASN1-0.07.tar.gz) = 72a03b66cf1c4468b7cf01b7d76a08d5
diff --git a/textproc/p5-Convert-ASN1/files/patch-sum b/textproc/p5-Convert-ASN1/files/patch-sum
new file mode 100644
index 00000000000..a7e18f1b829
--- /dev/null
+++ b/textproc/p5-Convert-ASN1/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/06/09 14:14:50 kleink Exp $
+
+MD5 (patch-aa) = 450c5e8eceee0a853d0c771372f4ed35
diff --git a/textproc/p5-Convert-ASN1/patches/patch-aa b/textproc/p5-Convert-ASN1/patches/patch-aa
new file mode 100644
index 00000000000..15ec702b3ff
--- /dev/null
+++ b/textproc/p5-Convert-ASN1/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/06/09 14:14:51 kleink Exp $
+
+--- lib/Convert/ASN1/Debug.pm Mon May 22 22:48:09 2000
++++ lib/Convert/ASN1/Debug.pm Fri Jun 9 10:05:52 2000
+@@ -208,7 +208,9 @@
+ print STDERR "]";
+ if ($op->[cCHILD]) {
+ print STDERR " ",scalar @{$op->[cCHILD]},"\n";
+- $line = dump_op($_,$indent . " ",$done,$line) for (@{$op->[cCHILD]});
++ for (@{$op->[cCHILD]}) {
++ $line = dump_op($_,$indent . " ",$done,$line);
++ }
+ }
+ else {
+ print STDERR "\n";
diff --git a/textproc/p5-Convert-ASN1/pkg/COMMENT b/textproc/p5-Convert-ASN1/pkg/COMMENT
new file mode 100644
index 00000000000..54f27b6e804
--- /dev/null
+++ b/textproc/p5-Convert-ASN1/pkg/COMMENT
@@ -0,0 +1 @@
+Perl class to parse ASN.1 descriptions and en/decode perl data structures
diff --git a/textproc/p5-Convert-ASN1/pkg/DESCR b/textproc/p5-Convert-ASN1/pkg/DESCR
new file mode 100644
index 00000000000..58e0754906c
--- /dev/null
+++ b/textproc/p5-Convert-ASN1/pkg/DESCR
@@ -0,0 +1,12 @@
+I consider Convert::ASN1 a replacement for my earlier Convert::BER
+module. While ASN1.pm is not as flexable as BER.pm, because PDUs must
+be described up fronta, it is also more powerful. For example an LDAP
+filter is a recursive structure, BER.pm cannot encode or decode this in
+a single pass, ASN1.pm can.
+
+Convert::ASN1 will parse ASN.1 descriptions and will encode from and
+decode to perl data structures using a hierarchy of references.
+
+Copyright (c) 2000 Graham Barr. All rights reserved.
+This package is free software; you can redistribute it and/or
+modify it under the same terms as Perl itself.
diff --git a/textproc/p5-Convert-ASN1/pkg/PLIST b/textproc/p5-Convert-ASN1/pkg/PLIST
new file mode 100644
index 00000000000..7a630ea882b
--- /dev/null
+++ b/textproc/p5-Convert-ASN1/pkg/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/06/09 14:14:51 kleink Exp $
+lib/perl5/site_perl/Convert/ASN1/_decode.pm
+lib/perl5/site_perl/Convert/ASN1/_encode.pm
+lib/perl5/site_perl/Convert/ASN1/parser.pm
+lib/perl5/site_perl/Convert/ASN1/Debug.pm
+lib/perl5/site_perl/Convert/ASN1/IO.pm
+lib/perl5/site_perl/Convert/ASN1.pod
+lib/perl5/site_perl/Convert/ASN1.pm
+lib/perl5/man/man3/Convert::ASN1.3
+lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Convert/ASN1/.packlist
+@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Convert/ASN1
+@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Convert
+@dirrm lib/perl5/site_perl/Convert/ASN1