pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-asn1 Import the ASN1 Python module to pkgs...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e6bb90eae6e7
branches:  trunk
changeset: 548749:e6bb90eae6e7
user:      tonnerre <tonnerre%pkgsrc.org@localhost>
date:      Wed Oct 22 16:33:55 2008 +0000

description:
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).

diffstat:

 security/py-asn1/DESCR    |  21 ++++++++++++++++
 security/py-asn1/Makefile |  20 +++++++++++++++
 security/py-asn1/PLIST    |  61 +++++++++++++++++++++++++++++++++++++++++++++++
 security/py-asn1/distinfo |   5 +++
 4 files changed, 107 insertions(+), 0 deletions(-)

diffs (123 lines):

diff -r dde772db4b30 -r e6bb90eae6e7 security/py-asn1/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-asn1/DESCR    Wed Oct 22 16:33:55 2008 +0000
@@ -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 -r dde772db4b30 -r e6bb90eae6e7 security/py-asn1/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-asn1/Makefile Wed Oct 22 16:33:55 2008 +0000
@@ -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@localhost
+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 -r dde772db4b30 -r e6bb90eae6e7 security/py-asn1/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-asn1/PLIST    Wed Oct 22 16:33:55 2008 +0000
@@ -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 -r dde772db4b30 -r e6bb90eae6e7 security/py-asn1/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-asn1/distinfo Wed Oct 22 16:33:55 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index