diff options
author | sno <sno@pkgsrc.org> | 2013-10-26 14:44:12 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2013-10-26 14:44:12 +0000 |
commit | a802879311f31ddd8062b829b7d6c43f763d0f68 (patch) | |
tree | a415e7fa1c05cdf3e0a81a801f73416f8c603ae0 /lang/asn1c | |
parent | 0cbb09dc8c5ec9d64dd9c9f2dff17e963633d347 (diff) | |
download | pkgsrc-a802879311f31ddd8062b829b7d6c43f763d0f68.tar.gz |
Adding package for ASN.1 to C compiler asn1c from Lev Walkin version
0.9.24 into lang/asn1c.
The asn1c is a free, open source compiler of ASN.1 specifications into C
source code. It supports a range of ASN.1 syntaxes, including ISO/IEC/ITU
ASN.1 1988, '94, '97, 2002 and later amendments. The supported sets of
encoding rules are
* BER: ITU-T Rec. X.690 | ISO/IEC 8825-1 (2002) (BER/DER/CER).
* PER: X.691|8825-2 (2002) (PER).
* XER: X.693|8825-3 (2001) (BASIC-XER/CXER).
The compiler was written specifically to address security concerns while
providing streaming decoding capabilities.
Diffstat (limited to 'lang/asn1c')
-rw-r--r-- | lang/asn1c/DESCR | 11 | ||||
-rw-r--r-- | lang/asn1c/Makefile | 20 | ||||
-rw-r--r-- | lang/asn1c/PLIST | 127 | ||||
-rw-r--r-- | lang/asn1c/buildlink3.mk | 14 | ||||
-rw-r--r-- | lang/asn1c/distinfo | 5 |
5 files changed, 177 insertions, 0 deletions
diff --git a/lang/asn1c/DESCR b/lang/asn1c/DESCR new file mode 100644 index 00000000000..adbe0ae9bf3 --- /dev/null +++ b/lang/asn1c/DESCR @@ -0,0 +1,11 @@ +The asn1c is a free, open source compiler of ASN.1 specifications into C +source code. It supports a range of ASN.1 syntaxes, including ISO/IEC/ITU +ASN.1 1988, '94, '97, 2002 and later amendments. The supported sets of +encoding rules are + + * BER: ITU-T Rec. X.690 | ISO/IEC 8825-1 (2002) (BER/DER/CER). + * PER: X.691|8825-2 (2002) (PER). + * XER: X.693|8825-3 (2001) (BASIC-XER/CXER). + +The compiler was written specifically to address security concerns while +providing streaming decoding capabilities. diff --git a/lang/asn1c/Makefile b/lang/asn1c/Makefile new file mode 100644 index 00000000000..9de8eac714a --- /dev/null +++ b/lang/asn1c/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2013/10/26 14:44:12 sno Exp $ +# + +DISTNAME= asn1c-0.9.24 +CATEGORIES= lang +MASTER_SITES= http://lionet.info/soft/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://lionet.info/asn1c/ +COMMENT= Free, open source compiler of ASN.1 specifications into C source code +LICENSE= 2-clause-bsd + +USE_LANGUAGES= c +USE_TOOLS+= autoconf gmake perl:run +GNU_CONFIGURE= yes + +REPLACE_PERL+= examples/crfc2asn1.pl +REPLACE_PERL+= examples/clyx2asn1.pl + +.include "../../mk/bsd.pkg.mk" diff --git a/lang/asn1c/PLIST b/lang/asn1c/PLIST new file mode 100644 index 00000000000..c93abf36dce --- /dev/null +++ b/lang/asn1c/PLIST @@ -0,0 +1,127 @@ +@comment $NetBSD: PLIST,v 1.1 2013/10/26 14:44:12 sno Exp $ +bin/asn1c +bin/clyx2asn1.pl +bin/crfc2asn1.pl +bin/enber +bin/unber +man/man1/asn1c.1 +man/man1/enber.1 +man/man1/unber.1 +share/asn1c/ANY.c +share/asn1c/ANY.h +share/asn1c/BIT_STRING.c +share/asn1c/BIT_STRING.h +share/asn1c/BMPString.c +share/asn1c/BMPString.h +share/asn1c/BOOLEAN.c +share/asn1c/BOOLEAN.h +share/asn1c/ENUMERATED.c +share/asn1c/ENUMERATED.h +share/asn1c/GeneralString.c +share/asn1c/GeneralString.h +share/asn1c/GeneralizedTime.c +share/asn1c/GeneralizedTime.h +share/asn1c/GraphicString.c +share/asn1c/GraphicString.h +share/asn1c/IA5String.c +share/asn1c/IA5String.h +share/asn1c/INTEGER.c +share/asn1c/INTEGER.h +share/asn1c/ISO646String.c +share/asn1c/ISO646String.h +share/asn1c/NULL.c +share/asn1c/NULL.h +share/asn1c/NativeEnumerated.c +share/asn1c/NativeEnumerated.h +share/asn1c/NativeInteger.c +share/asn1c/NativeInteger.h +share/asn1c/NativeReal.c +share/asn1c/NativeReal.h +share/asn1c/NumericString.c +share/asn1c/NumericString.h +share/asn1c/OBJECT_IDENTIFIER.c +share/asn1c/OBJECT_IDENTIFIER.h +share/asn1c/OCTET_STRING.c +share/asn1c/OCTET_STRING.h +share/asn1c/ObjectDescriptor.c +share/asn1c/ObjectDescriptor.h +share/asn1c/PrintableString.c +share/asn1c/PrintableString.h +share/asn1c/README +share/asn1c/REAL.c +share/asn1c/REAL.h +share/asn1c/RELATIVE-OID.c +share/asn1c/RELATIVE-OID.h +share/asn1c/T61String.c +share/asn1c/T61String.h +share/asn1c/TeletexString.c +share/asn1c/TeletexString.h +share/asn1c/UTCTime.c +share/asn1c/UTCTime.h +share/asn1c/UTF8String.c +share/asn1c/UTF8String.h +share/asn1c/UniversalString.c +share/asn1c/UniversalString.h +share/asn1c/VideotexString.c +share/asn1c/VideotexString.h +share/asn1c/VisibleString.c +share/asn1c/VisibleString.h +share/asn1c/asn_SEQUENCE_OF.c +share/asn1c/asn_SEQUENCE_OF.h +share/asn1c/asn_SET_OF.c +share/asn1c/asn_SET_OF.h +share/asn1c/asn_application.h +share/asn1c/asn_codecs.h +share/asn1c/asn_codecs_prim.c +share/asn1c/asn_codecs_prim.h +share/asn1c/asn_internal.h +share/asn1c/asn_system.h +share/asn1c/ber_decoder.c +share/asn1c/ber_decoder.h +share/asn1c/ber_tlv_length.c +share/asn1c/ber_tlv_length.h +share/asn1c/ber_tlv_tag.c +share/asn1c/ber_tlv_tag.h +share/asn1c/constr_CHOICE.c +share/asn1c/constr_CHOICE.h +share/asn1c/constr_SEQUENCE.c +share/asn1c/constr_SEQUENCE.h +share/asn1c/constr_SEQUENCE_OF.c +share/asn1c/constr_SEQUENCE_OF.h +share/asn1c/constr_SET.c +share/asn1c/constr_SET.h +share/asn1c/constr_SET_OF.c +share/asn1c/constr_SET_OF.h +share/asn1c/constr_TYPE.c +share/asn1c/constr_TYPE.h +share/asn1c/constraints.c +share/asn1c/constraints.h +share/asn1c/converter-sample.c +share/asn1c/der_encoder.c +share/asn1c/der_encoder.h +share/asn1c/file-dependencies +share/asn1c/per_decoder.c +share/asn1c/per_decoder.h +share/asn1c/per_encoder.c +share/asn1c/per_encoder.h +share/asn1c/per_opentype.c +share/asn1c/per_opentype.h +share/asn1c/per_support.c +share/asn1c/per_support.h +share/asn1c/standard-modules/ASN1-Object-Identifier-Module.asn1 +share/asn1c/standard-modules/ASN1C-UsefulInformationObjectClasses.asn1 +share/asn1c/standard-modules/README +share/asn1c/xer_decoder.c +share/asn1c/xer_decoder.h +share/asn1c/xer_encoder.c +share/asn1c/xer_encoder.h +share/asn1c/xer_support.c +share/asn1c/xer_support.h +share/doc/asn1c/BUGS +share/doc/asn1c/COPYING +share/doc/asn1c/ChangeLog +share/doc/asn1c/FAQ +share/doc/asn1c/README +share/doc/asn1c/TODO +share/doc/asn1c/asn1c-quick.pdf +share/doc/asn1c/asn1c-usage.pdf diff --git a/lang/asn1c/buildlink3.mk b/lang/asn1c/buildlink3.mk new file mode 100644 index 00000000000..4ea553a3727 --- /dev/null +++ b/lang/asn1c/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1 2013/10/26 14:44:12 sno Exp $ + +BUILDLINK_TREE+= asn1c + +.if !defined(ASN1C_BUILDLINK3_MK) +ASN1C_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.asn1c+= asn1c>=0.9.24 +BUILDLINK_ABI_DEPENDS.asn1c+= asn1c>=${ASN1C_VERSION} +BUILDLINK_PKGSRCDIR.asn1c?= ../../lang/asn1c + +.endif # ASN1C_BUILDLINK3_MK + +BUILDLINK_TREE+= -asn1c diff --git a/lang/asn1c/distinfo b/lang/asn1c/distinfo new file mode 100644 index 00000000000..8c7e22869be --- /dev/null +++ b/lang/asn1c/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/10/26 14:44:12 sno Exp $ + +SHA1 (asn1c-0.9.24.tar.gz) = b12a78d5e0723c01fb9bf3d916be88824b68e6ee +RMD160 (asn1c-0.9.24.tar.gz) = 4fa6df21d44f8aef3bfeae71b2ff48ef5a0c7282 +Size (asn1c-0.9.24.tar.gz) = 1514907 bytes |