Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -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.

View File

@@ -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"

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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: