diff options
author | wiz <wiz@pkgsrc.org> | 2014-12-30 16:01:22 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-12-30 16:01:22 +0000 |
commit | a243a124c1bcd44ddc8f86b5cd0a92cec9aa04fd (patch) | |
tree | 09003f7be4e76d82b200865a28bb661e1a401a20 /security | |
parent | bff0ef2727f86ea102a72a691572e523a5b72210 (diff) | |
download | pkgsrc-a243a124c1bcd44ddc8f86b5cd0a92cec9aa04fd.tar.gz |
Import qore-asn1-module-0.0.3nb1 as security/qore-asn1-module,
packaged for wip by nros.
ASN.1(Abstract Syntax Notation One) module for Qore provides an API to
dynamically create, parse and convert ASN.1 data structures to concrete
output formats (like DER).
Diffstat (limited to 'security')
-rw-r--r-- | security/qore-asn1-module/DESCR | 3 | ||||
-rw-r--r-- | security/qore-asn1-module/Makefile | 28 | ||||
-rw-r--r-- | security/qore-asn1-module/PLIST | 3 | ||||
-rw-r--r-- | security/qore-asn1-module/distinfo | 6 | ||||
-rw-r--r-- | security/qore-asn1-module/options.mk | 12 | ||||
-rw-r--r-- | security/qore-asn1-module/patches/patch-configure | 14 |
6 files changed, 66 insertions, 0 deletions
diff --git a/security/qore-asn1-module/DESCR b/security/qore-asn1-module/DESCR new file mode 100644 index 00000000000..2f9babcf90d --- /dev/null +++ b/security/qore-asn1-module/DESCR @@ -0,0 +1,3 @@ +ASN.1(Abstract Syntax Notation One) module for Qore provides an API to +dynamically create, parse and convert ASN.1 data structures to concrete +output formats (like DER). diff --git a/security/qore-asn1-module/Makefile b/security/qore-asn1-module/Makefile new file mode 100644 index 00000000000..48f3185ecab --- /dev/null +++ b/security/qore-asn1-module/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2014/12/30 16:01:22 wiz Exp $ + +DISTNAME= qore-asn1-module-0.0.3 +PKGREVISION= 1 +CATEGORIES= security +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qore/} + +MAINTAINER= nros@users.sourceforge.net +HOMEPAGE= http://www.qore.org/ +COMMENT= ASN.1 Qore module +LICENSE= gnu-lgpl-v2.1 + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_LANGUAGES= c c++ +PTHREAD_OPTS+= require + +INSTALLATION_DIRS+= share/doc/qore-asn1-module +post-install: + ${INSTALL_DATA} ${WRKSRC}/docs/asn1-module-doc.html \ + ${DESTDIR}${PREFIX}/share/doc/qore-asn1-module + +.include "options.mk" +.include "../../lang/qore/module.mk" + +.include "../../mk/pthread.buildlink3.mk" +.include "../../lang/qore/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/qore-asn1-module/PLIST b/security/qore-asn1-module/PLIST new file mode 100644 index 00000000000..0a15ec068b0 --- /dev/null +++ b/security/qore-asn1-module/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2014/12/30 16:01:22 wiz Exp $ +${QORE_MODULE_DIR}/asn1-api-${QORE_MODULE_API}.qmod +share/doc/qore-asn1-module/asn1-module-doc.html diff --git a/security/qore-asn1-module/distinfo b/security/qore-asn1-module/distinfo new file mode 100644 index 00000000000..8fe836af6a4 --- /dev/null +++ b/security/qore-asn1-module/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2014/12/30 16:01:22 wiz Exp $ + +SHA1 (qore-asn1-module-0.0.3.tar.gz) = c754b6344f7989265f594f6640caa4bcad2477ac +RMD160 (qore-asn1-module-0.0.3.tar.gz) = 6d96555be5029a91378a4a34f999570cf02b62ac +Size (qore-asn1-module-0.0.3.tar.gz) = 442116 bytes +SHA1 (patch-configure) = dbe35003e691a61db7adf9bacec949cf125bff4e diff --git a/security/qore-asn1-module/options.mk b/security/qore-asn1-module/options.mk new file mode 100644 index 00000000000..4e9fe41bbb0 --- /dev/null +++ b/security/qore-asn1-module/options.mk @@ -0,0 +1,12 @@ +# $NetBSD: options.mk,v 1.1 2014/12/30 16:01:22 wiz Exp $ +# + +PKG_OPTIONS_VAR= PKG_OPTIONS.qore-asn1-module +PKG_SUPPORTED_OPTIONS= debug +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mdebug) +CONFIGURE_ARGS+= --enable-debug +.else +CONFIGURE_ARGS+= --disable-debug +.endif diff --git a/security/qore-asn1-module/patches/patch-configure b/security/qore-asn1-module/patches/patch-configure new file mode 100644 index 00000000000..4c8972793b4 --- /dev/null +++ b/security/qore-asn1-module/patches/patch-configure @@ -0,0 +1,14 @@ +$NetBSD: patch-configure,v 1.1 2014/12/30 16:01:23 wiz Exp $ +pkgsrc doesn't have lib64 so don't set it. +fixes build on linux. +http://sf.net/p/qore/code/6817/ +--- configure.orig 2014-11-01 13:34:33.661609007 +0000 ++++ configure +@@ -14267,7 +14267,6 @@ if test "$enable_64bit" = "yes"; then + *linux*) if test "$GXX" = "yes"; then + CXXFLAGS="$CXXFLAGS -m64" + fi +- LIBSUFFIX=64 + + ;; + *hpux*) if test "$host_cpu" = "ia64"; then |