summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortonnerre <tonnerre>2008-10-22 16:33:55 +0000
committertonnerre <tonnerre>2008-10-22 16:33:55 +0000
commit9e2aa073b95ccf79b6ecef29d1878c8ab433614a (patch)
treeec99edf4792c43f97a014e2f2ca59231f2c43ef8
parentc03d81ce33b870651742c49e30b9d637ac5a0a8e (diff)
downloadpkgsrc-9e2aa073b95ccf79b6ecef29d1878c8ab433614a.tar.gz
Import the ASN1 Python module to pkgsrc. This module allows to dissect
ASN1-encoded files (DER, BER, PER, etc.) in Python. ASN1 is the Abstract Syntax Notation version 1, as defined by the International Telecommunication Union (ITU).
-rw-r--r--security/py-asn1/DESCR21
-rw-r--r--security/py-asn1/Makefile20
-rw-r--r--security/py-asn1/PLIST61
-rw-r--r--security/py-asn1/distinfo5
4 files changed, 107 insertions, 0 deletions
diff --git a/security/py-asn1/DESCR b/security/py-asn1/DESCR
new file mode 100644
index 00000000000..1e97fb784fd
--- /dev/null
+++ b/security/py-asn1/DESCR
@@ -0,0 +1,21 @@
+ASN.1 tools for Python
+
+Whenever data structures are described in some machine and programming
+language independent and unambiguous way, such specification is called
+abstract syntax, by contrast with machine/language specific methods,
+which are called 'concrete' or 'transfer' syntaxes.
+
+Abstract syntaxes appear useful in networking as a tool for engineering
+protocols in a clear and portable way. Moreover, once a protocol is
+described in some abstract language, protocol parsers and builders
+could be automatically generated for various computing
+architectures/programming languages, thus saving engineers from
+implementing low-level transport details by hand.
+
+Abstract Syntax Notation One (ASN.1) is a set of ITU standards
+defining particular implementation of abstract data description
+language accompanied by a collection of transfer encoding methods.
+Perhaps the most widely used among these data serialization methods
+is Basic Encoding Rules (BER) together with its derivatives (DER and
+CER), while Packed Encoding Rules (PER) aims at most compact data
+representation whilst in the wire.
diff --git a/security/py-asn1/Makefile b/security/py-asn1/Makefile
new file mode 100644
index 00000000000..59e98443987
--- /dev/null
+++ b/security/py-asn1/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/10/22 16:33:55 tonnerre Exp $
+#
+
+DISTNAME= pyasn1-0.0.8a
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyasn1/}
+
+MAINTAINER= tonnerre@NetBSD.org
+HOMEPAGE= http://pyasn1.sourceforge.net/
+COMMENT= ITU Abstract Syntax Notification for Python
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PYDISTUTILSPKG= yes
+#PYBINMODULE= yes
+PYSETUP= setup.py
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-asn1/PLIST b/security/py-asn1/PLIST
new file mode 100644
index 00000000000..81dcf221663
--- /dev/null
+++ b/security/py-asn1/PLIST
@@ -0,0 +1,61 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/10/22 16:33:55 tonnerre Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pyasn1/__init__.pyc
+${PYSITELIB}/pyasn1/__init__.pyo
+${PYSITELIB}/pyasn1/v1/__init__.pyc
+${PYSITELIB}/pyasn1/v1/__init__.pyo
+${PYSITELIB}/pyasn1/v1/codec/__init__.pyc
+${PYSITELIB}/pyasn1/v1/codec/__init__.pyo
+${PYSITELIB}/pyasn1/v1/codec/ber/__init__.pyc
+${PYSITELIB}/pyasn1/v1/codec/ber/__init__.pyo
+${PYSITELIB}/pyasn1/v1/codec/ber/decoder.pyc
+${PYSITELIB}/pyasn1/v1/codec/ber/decoder.pyo
+${PYSITELIB}/pyasn1/v1/codec/ber/encoder.pyc
+${PYSITELIB}/pyasn1/v1/codec/ber/encoder.pyo
+${PYSITELIB}/pyasn1/v1/codec/ber/eoo.pyc
+${PYSITELIB}/pyasn1/v1/codec/ber/eoo.pyo
+${PYSITELIB}/pyasn1/v1/codec/cer/__init__.pyc
+${PYSITELIB}/pyasn1/v1/codec/cer/__init__.pyo
+${PYSITELIB}/pyasn1/v1/codec/cer/decoder.pyc
+${PYSITELIB}/pyasn1/v1/codec/cer/decoder.pyo
+${PYSITELIB}/pyasn1/v1/codec/cer/encoder.pyc
+${PYSITELIB}/pyasn1/v1/codec/cer/encoder.pyo
+${PYSITELIB}/pyasn1/v1/codec/der/__init__.pyc
+${PYSITELIB}/pyasn1/v1/codec/der/__init__.pyo
+${PYSITELIB}/pyasn1/v1/codec/der/decoder.pyc
+${PYSITELIB}/pyasn1/v1/codec/der/decoder.pyo
+${PYSITELIB}/pyasn1/v1/codec/der/encoder.pyc
+${PYSITELIB}/pyasn1/v1/codec/der/encoder.pyo
+${PYSITELIB}/pyasn1/v1/error.pyc
+${PYSITELIB}/pyasn1/v1/error.pyo
+${PYSITELIB}/pyasn1/v1/type/__init__.pyc
+${PYSITELIB}/pyasn1/v1/type/__init__.pyo
+${PYSITELIB}/pyasn1/v1/type/base.pyc
+${PYSITELIB}/pyasn1/v1/type/base.pyo
+${PYSITELIB}/pyasn1/v1/type/char.pyc
+${PYSITELIB}/pyasn1/v1/type/char.pyo
+${PYSITELIB}/pyasn1/v1/type/constraint.pyc
+${PYSITELIB}/pyasn1/v1/type/constraint.pyo
+${PYSITELIB}/pyasn1/v1/type/error.pyc
+${PYSITELIB}/pyasn1/v1/type/error.pyo
+${PYSITELIB}/pyasn1/v1/type/namedtype.pyc
+${PYSITELIB}/pyasn1/v1/type/namedtype.pyo
+${PYSITELIB}/pyasn1/v1/type/namedval.pyc
+${PYSITELIB}/pyasn1/v1/type/namedval.pyo
+${PYSITELIB}/pyasn1/v1/type/tag.pyc
+${PYSITELIB}/pyasn1/v1/type/tag.pyo
+${PYSITELIB}/pyasn1/v1/type/univ.pyc
+${PYSITELIB}/pyasn1/v1/type/univ.pyo
+${PYSITELIB}/pyasn1/v1/type/useful.pyc
+${PYSITELIB}/pyasn1/v1/type/useful.pyo
+@dirrm ${PYSITELIB}/pyasn1/v1/type
+@dirrm ${PYSITELIB}/pyasn1/v1/codec/der
+@dirrm ${PYSITELIB}/pyasn1/v1/codec/cer
+@dirrm ${PYSITELIB}/pyasn1/v1/codec/ber
+@dirrm ${PYSITELIB}/pyasn1/v1/codec
+@dirrm ${PYSITELIB}/pyasn1/v1
+@dirrm ${PYSITELIB}/${EGG_INFODIR}
+@dirrm ${PYSITELIB}/pyasn1
diff --git a/security/py-asn1/distinfo b/security/py-asn1/distinfo
new file mode 100644
index 00000000000..991b74ddfa5
--- /dev/null
+++ b/security/py-asn1/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/10/22 16:33:55 tonnerre Exp $
+
+SHA1 (pyasn1-0.0.8a.tar.gz) = 5c7f86dabca0bf9af5bbf13b8773165c09ca90f6
+RMD160 (pyasn1-0.0.8a.tar.gz) = 7c01f7e2f5ae84109201aecbd572a95c586feffd
+Size (pyasn1-0.0.8a.tar.gz) = 33972 bytes