summaryrefslogtreecommitdiff
path: root/security/qore-xmlsec-module
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-12-30 16:03:28 +0000
committerwiz <wiz@pkgsrc.org>2014-12-30 16:03:28 +0000
commit991df96e8ee9bda23a5c0aaf7bf08bc546d93fb2 (patch)
tree095b5830f1f432f78f5fe118ca6ba57f2d28ad3a /security/qore-xmlsec-module
parentb6e412f68ab0d55c3c1d857f73070838e5777490 (diff)
downloadpkgsrc-991df96e8ee9bda23a5c0aaf7bf08bc546d93fb2.tar.gz
Import qore-xmlsec-module-0.0.2nb4 as security/qore-xmlsec-module,
packaged for wip by nros. The Qore xmlsec module gives Qore programs the possibility to support XML signature(xmldsig) and XML encryption(xmlenc) as defined by W3C.
Diffstat (limited to 'security/qore-xmlsec-module')
-rw-r--r--security/qore-xmlsec-module/DESCR2
-rw-r--r--security/qore-xmlsec-module/Makefile33
-rw-r--r--security/qore-xmlsec-module/PLIST3
-rw-r--r--security/qore-xmlsec-module/distinfo7
-rw-r--r--security/qore-xmlsec-module/options.mk12
-rw-r--r--security/qore-xmlsec-module/patches/patch-configure14
-rw-r--r--security/qore-xmlsec-module/patches/patch-src_Makefile.in14
7 files changed, 85 insertions, 0 deletions
diff --git a/security/qore-xmlsec-module/DESCR b/security/qore-xmlsec-module/DESCR
new file mode 100644
index 00000000000..5dc50abb7ad
--- /dev/null
+++ b/security/qore-xmlsec-module/DESCR
@@ -0,0 +1,2 @@
+The Qore xmlsec module gives Qore programs the possibility to support
+XML signature(xmldsig) and XML encryption(xmlenc) as defined by W3C.
diff --git a/security/qore-xmlsec-module/Makefile b/security/qore-xmlsec-module/Makefile
new file mode 100644
index 00000000000..1ea954b9a05
--- /dev/null
+++ b/security/qore-xmlsec-module/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2014/12/30 16:03:28 wiz Exp $
+
+DISTNAME= qore-xmlsec-module-0.0.2
+PKGREVISION= 4
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qore/}
+
+MAINTAINER= nros@users.sourceforge.net
+HOMEPAGE= http://www.qore.org/
+COMMENT= XMLSec module for Qore
+LICENSE= gnu-lgpl-v2.1
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+PTHREAD_OPTS+= native
+
+CONFIGURE_ARGS+=--with-xmlsec-dir=${BUILDLINK_PREFIX.xmlsec1}
+CONFIGURE_ARGS+=--with-libxml2-dir=${BUILDLINK_PREFIX.libxml2}
+CONFIGURE_ARGS+=--with-qore-dir=${BUILDLINK_PREFIX.qore}
+
+INSTALLATION_DIRS+= share/doc/${PKGBASE}
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/docs/xmlsec-module-doc.html \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+
+.include "options.mk"
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../security/xmlsec1/buildlink3.mk"
+.include "../../lang/qore/buildlink3.mk"
+.include "../../lang/qore/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/qore-xmlsec-module/PLIST b/security/qore-xmlsec-module/PLIST
new file mode 100644
index 00000000000..4171bc24400
--- /dev/null
+++ b/security/qore-xmlsec-module/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2014/12/30 16:03:28 wiz Exp $
+${QORE_MODULE_DIR}/xmlsec-api-${QORE_MODULE_API}.qmod
+share/doc/${PKGBASE}/xmlsec-module-doc.html
diff --git a/security/qore-xmlsec-module/distinfo b/security/qore-xmlsec-module/distinfo
new file mode 100644
index 00000000000..f2df9eea8d0
--- /dev/null
+++ b/security/qore-xmlsec-module/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2014/12/30 16:03:28 wiz Exp $
+
+SHA1 (qore-xmlsec-module-0.0.2.tar.gz) = fd6f72e740861630a72723b0efc7313678ff410a
+RMD160 (qore-xmlsec-module-0.0.2.tar.gz) = efec4db43d86cb14f56e3346cfcc16c2ce83ce1a
+Size (qore-xmlsec-module-0.0.2.tar.gz) = 421326 bytes
+SHA1 (patch-configure) = df7a2896c6f887d3456108690885cde1e6f73b89
+SHA1 (patch-src_Makefile.in) = b018b3be8dfb7c2ba2c3c108aed111ae969b782d
diff --git a/security/qore-xmlsec-module/options.mk b/security/qore-xmlsec-module/options.mk
new file mode 100644
index 00000000000..d16b5e674aa
--- /dev/null
+++ b/security/qore-xmlsec-module/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2014/12/30 16:03:28 wiz Exp $
+#
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.qore-xmlsec-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-xmlsec-module/patches/patch-configure b/security/qore-xmlsec-module/patches/patch-configure
new file mode 100644
index 00000000000..6fbf1c9ecc1
--- /dev/null
+++ b/security/qore-xmlsec-module/patches/patch-configure
@@ -0,0 +1,14 @@
+$NetBSD: patch-configure,v 1.1 2014/12/30 16:03:29 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:50:15.319578002 +0000
++++ configure
+@@ -19685,7 +19685,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
diff --git a/security/qore-xmlsec-module/patches/patch-src_Makefile.in b/security/qore-xmlsec-module/patches/patch-src_Makefile.in
new file mode 100644
index 00000000000..8d0609d42cd
--- /dev/null
+++ b/security/qore-xmlsec-module/patches/patch-src_Makefile.in
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_Makefile.in,v 1.1 2014/12/30 16:03:29 wiz Exp $
+* don't install .a files
+http://sourceforge.net/p/qore/code/6294/
+--- src/Makefile.in.orig 2014-02-16 19:44:48.000000000 +0000
++++ src/Makefile.in
+@@ -490,7 +490,7 @@ libtool: $(LIBTOOL_DEPS)
+
+ install-exec-hook:
+ mv $(DESTDIR)$(libdir)/xmlsec.$(MODULE_SUFFIX) $(DESTDIR)$(libdir)/xmlsec-api-$(MODULE_API).qmod
+- rm -f $(DESTDIR)$(libdir)/xmlsec.la
++ rm -f $(DESTDIR)$(libdir)/xmlsec.la $(DESTDIR)$(libdir)/xmlsec.a
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: