Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

8
security/xmlsec1/DESCR Normal file
View File

@@ -0,0 +1,8 @@
XMLSec library provides C based implementation for major XML Security
standards:
* XML Signature Syntax and Processing
http://www.w3.org/TR/xmldsig-core
* XML Encryption Syntax and Processing
http://www.w3.org/TR/xmlenc-core/
XMLSec is based on well known LibXML (http://xmlsoft.org), LibXSLT
(http://xmlsoft.org/XSLT) and OpenSSL (http://www.openssl.org) libraries.

38
security/xmlsec1/Makefile Normal file
View File

@@ -0,0 +1,38 @@
# $NetBSD: Makefile,v 1.27 2013/02/06 23:20:52 jperkin Exp $
#
DISTNAME= xmlsec1-1.2.18
PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.aleksey.com/xmlsec/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.aleksey.com/xmlsec/
COMMENT= XML signature and encryption library
LICENSE= mit AND mpl-1.1 # plus advertising clause
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= ${WRKSRC}/xmlsec-gcrypt.pc.in
PKGCONFIG_OVERRIDE+= ${WRKSRC}/xmlsec-gnutls.pc.in
PKGCONFIG_OVERRIDE+= ${WRKSRC}/xmlsec-nss.pc.in
PKGCONFIG_OVERRIDE+= ${WRKSRC}/xmlsec-openssl.pc.in
PKGCONFIG_OVERRIDE+= ${WRKSRC}/xmlsec.pc.in
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
CONFIGURE_ARGS+= --without-gnutls
CONFIGURE_ARGS+= --with-libxml=${BUILDLINK_PREFIX.libxml2}
CONFIGURE_ARGS+= --with-libxslt=${BUILDLINK_PREFIX.libxslt}
CONFIGURE_ARGS+= --with-gcrypt=${BUILDLINK_PREFIX.libgcrypt}
.include "../../devel/libltdl/buildlink3.mk"
BUILDLINK_API_DEPENDS.libgcrypt+= libgcrypt>=1.4.0
.include "../../security/libgcrypt/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.7.4
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

199
security/xmlsec1/PLIST Normal file
View File

@@ -0,0 +1,199 @@
@comment $NetBSD: PLIST,v 1.6 2011/04/01 12:27:45 wiz Exp $
bin/xmlsec1
bin/xmlsec1-config
include/xmlsec1/xmlsec/app.h
include/xmlsec1/xmlsec/base64.h
include/xmlsec1/xmlsec/bn.h
include/xmlsec1/xmlsec/buffer.h
include/xmlsec1/xmlsec/crypto.h
include/xmlsec1/xmlsec/dl.h
include/xmlsec1/xmlsec/errors.h
include/xmlsec1/xmlsec/exports.h
include/xmlsec1/xmlsec/gcrypt/app.h
include/xmlsec1/xmlsec/gcrypt/crypto.h
include/xmlsec1/xmlsec/gcrypt/symbols.h
include/xmlsec1/xmlsec/io.h
include/xmlsec1/xmlsec/keyinfo.h
include/xmlsec1/xmlsec/keys.h
include/xmlsec1/xmlsec/keysdata.h
include/xmlsec1/xmlsec/keysmngr.h
include/xmlsec1/xmlsec/list.h
include/xmlsec1/xmlsec/membuf.h
include/xmlsec1/xmlsec/nodeset.h
include/xmlsec1/xmlsec/openssl/app.h
include/xmlsec1/xmlsec/openssl/bn.h
include/xmlsec1/xmlsec/openssl/crypto.h
include/xmlsec1/xmlsec/openssl/evp.h
include/xmlsec1/xmlsec/openssl/symbols.h
include/xmlsec1/xmlsec/openssl/x509.h
include/xmlsec1/xmlsec/parser.h
include/xmlsec1/xmlsec/private.h
include/xmlsec1/xmlsec/private/xkms.h
include/xmlsec1/xmlsec/private/xslt.h
include/xmlsec1/xmlsec/soap.h
include/xmlsec1/xmlsec/strings.h
include/xmlsec1/xmlsec/templates.h
include/xmlsec1/xmlsec/transforms.h
include/xmlsec1/xmlsec/version.h
include/xmlsec1/xmlsec/x509.h
include/xmlsec1/xmlsec/xkms.h
include/xmlsec1/xmlsec/xmldsig.h
include/xmlsec1/xmlsec/xmlenc.h
include/xmlsec1/xmlsec/xmlsec.h
include/xmlsec1/xmlsec/xmltree.h
lib/libxmlsec1-gcrypt.la
lib/libxmlsec1-openssl.la
lib/libxmlsec1.la
lib/pkgconfig/xmlsec1-gcrypt.pc
lib/pkgconfig/xmlsec1-openssl.pc
lib/pkgconfig/xmlsec1.pc
lib/xmlsec1Conf.sh
man/man1/xmlsec1-config.1
man/man1/xmlsec1.1
share/aclocal/xmlsec1.m4
share/doc/xmlsec1/api/home.png
share/doc/xmlsec1/api/images/encryption-structure.png
share/doc/xmlsec1/api/images/key.png
share/doc/xmlsec1/api/images/keysmngr.png
share/doc/xmlsec1/api/images/sign-enc-model.png
share/doc/xmlsec1/api/images/signature-structure.png
share/doc/xmlsec1/api/images/structure.png
share/doc/xmlsec1/api/images/transform.png
share/doc/xmlsec1/api/images/transforms-chain.png
share/doc/xmlsec1/api/images/verif-dec-model.png
share/doc/xmlsec1/api/index.html
share/doc/xmlsec1/api/index.sgml
share/doc/xmlsec1/api/left.png
share/doc/xmlsec1/api/right.png
share/doc/xmlsec1/api/up.png
share/doc/xmlsec1/api/xmlsec-app.html
share/doc/xmlsec1/api/xmlsec-base64.html
share/doc/xmlsec1/api/xmlsec-bn.html
share/doc/xmlsec1/api/xmlsec-buffer.html
share/doc/xmlsec1/api/xmlsec-custom-keys-manager.html
share/doc/xmlsec1/api/xmlsec-decrypt-with-keys-mngr.html
share/doc/xmlsec1/api/xmlsec-decrypt-with-signle-key.html
share/doc/xmlsec1/api/xmlsec-dl.html
share/doc/xmlsec1/api/xmlsec-encrypt-dynamic-template.html
share/doc/xmlsec1/api/xmlsec-encrypt-template-file.html
share/doc/xmlsec1/api/xmlsec-encrypt-with-session-key.html
share/doc/xmlsec1/api/xmlsec-encryption-klasses.html
share/doc/xmlsec1/api/xmlsec-errors.html
share/doc/xmlsec1/api/xmlsec-examples-sign-dynamimc-template.html
share/doc/xmlsec1/api/xmlsec-examples-sign-template-file.html
share/doc/xmlsec1/api/xmlsec-examples-sign-x509.html
share/doc/xmlsec1/api/xmlsec-examples.html
share/doc/xmlsec1/api/xmlsec-gcrypt-app.html
share/doc/xmlsec1/api/xmlsec-gcrypt-crypto.html
share/doc/xmlsec1/api/xmlsec-gcrypt-ref.html
share/doc/xmlsec1/api/xmlsec-gcrypt.sgml
share/doc/xmlsec1/api/xmlsec-gnutls-app.html
share/doc/xmlsec1/api/xmlsec-gnutls-crypto.html
share/doc/xmlsec1/api/xmlsec-gnutls-ref.html
share/doc/xmlsec1/api/xmlsec-gnutls.sgml
share/doc/xmlsec1/api/xmlsec-index.html
share/doc/xmlsec1/api/xmlsec-index.sgml
share/doc/xmlsec1/api/xmlsec-io.html
share/doc/xmlsec1/api/xmlsec-keyinfo.html
share/doc/xmlsec1/api/xmlsec-keys.html
share/doc/xmlsec1/api/xmlsec-keysdata.html
share/doc/xmlsec1/api/xmlsec-keysmngr.html
share/doc/xmlsec1/api/xmlsec-list.html
share/doc/xmlsec1/api/xmlsec-membuf.html
share/doc/xmlsec1/api/xmlsec-mscrypto-app.html
share/doc/xmlsec1/api/xmlsec-mscrypto-certkeys.html
share/doc/xmlsec1/api/xmlsec-mscrypto-crypto.html
share/doc/xmlsec1/api/xmlsec-mscrypto-keysstore.html
share/doc/xmlsec1/api/xmlsec-mscrypto-ref.html
share/doc/xmlsec1/api/xmlsec-mscrypto-x509.html
share/doc/xmlsec1/api/xmlsec-mscrypto.sgml
share/doc/xmlsec1/api/xmlsec-nodeset.html
share/doc/xmlsec1/api/xmlsec-notes-compiling-others.html
share/doc/xmlsec1/api/xmlsec-notes-compiling-unix.html
share/doc/xmlsec1/api/xmlsec-notes-compiling-windows.html
share/doc/xmlsec1/api/xmlsec-notes-compiling.html
share/doc/xmlsec1/api/xmlsec-notes-contexts.html
share/doc/xmlsec1/api/xmlsec-notes-custom-keys-store.html
share/doc/xmlsec1/api/xmlsec-notes-decrypt.html
share/doc/xmlsec1/api/xmlsec-notes-dynamic-encryption-templates.html
share/doc/xmlsec1/api/xmlsec-notes-dynamic-signature-templates.html
share/doc/xmlsec1/api/xmlsec-notes-encrypt.html
share/doc/xmlsec1/api/xmlsec-notes-include-files.html
share/doc/xmlsec1/api/xmlsec-notes-init-shutdown.html
share/doc/xmlsec1/api/xmlsec-notes-keys-manager-sign-enc.html
share/doc/xmlsec1/api/xmlsec-notes-keys-mngr-verify-decrypt.html
share/doc/xmlsec1/api/xmlsec-notes-keys.html
share/doc/xmlsec1/api/xmlsec-notes-keysmngr.html
share/doc/xmlsec1/api/xmlsec-notes-new-crypto-functions.html
share/doc/xmlsec1/api/xmlsec-notes-new-crypto-key-stores.html
share/doc/xmlsec1/api/xmlsec-notes-new-crypto-keys.html
share/doc/xmlsec1/api/xmlsec-notes-new-crypto-klasses.html
share/doc/xmlsec1/api/xmlsec-notes-new-crypto-sharing-results.html
share/doc/xmlsec1/api/xmlsec-notes-new-crypto-simple-keys-mngr.html
share/doc/xmlsec1/api/xmlsec-notes-new-crypto-skeleton.html
share/doc/xmlsec1/api/xmlsec-notes-new-crypto-transforms.html
share/doc/xmlsec1/api/xmlsec-notes-new-crypto.html
share/doc/xmlsec1/api/xmlsec-notes-overview.html
share/doc/xmlsec1/api/xmlsec-notes-sign-encrypt.html
share/doc/xmlsec1/api/xmlsec-notes-sign-x509.html
share/doc/xmlsec1/api/xmlsec-notes-sign.html
share/doc/xmlsec1/api/xmlsec-notes-simple-keys-store.html
share/doc/xmlsec1/api/xmlsec-notes-structure.html
share/doc/xmlsec1/api/xmlsec-notes-templates.html
share/doc/xmlsec1/api/xmlsec-notes-transforms.html
share/doc/xmlsec1/api/xmlsec-notes-verify-decrypt.html
share/doc/xmlsec1/api/xmlsec-notes-verify-x509.html
share/doc/xmlsec1/api/xmlsec-notes-verify.html
share/doc/xmlsec1/api/xmlsec-notes-x509.html
share/doc/xmlsec1/api/xmlsec-notes.html
share/doc/xmlsec1/api/xmlsec-nss-app.html
share/doc/xmlsec1/api/xmlsec-nss-bignum.html
share/doc/xmlsec1/api/xmlsec-nss-crypto.html
share/doc/xmlsec1/api/xmlsec-nss-keysstore.html
share/doc/xmlsec1/api/xmlsec-nss-pkikeys.html
share/doc/xmlsec1/api/xmlsec-nss-ref.html
share/doc/xmlsec1/api/xmlsec-nss-x509.html
share/doc/xmlsec1/api/xmlsec-nss.sgml
share/doc/xmlsec1/api/xmlsec-openssl-app.html
share/doc/xmlsec1/api/xmlsec-openssl-bn.html
share/doc/xmlsec1/api/xmlsec-openssl-crypto.html
share/doc/xmlsec1/api/xmlsec-openssl-evp.html
share/doc/xmlsec1/api/xmlsec-openssl-ref.html
share/doc/xmlsec1/api/xmlsec-openssl-x509.html
share/doc/xmlsec1/api/xmlsec-openssl.sgml
share/doc/xmlsec1/api/xmlsec-parser.html
share/doc/xmlsec1/api/xmlsec-ref.html
share/doc/xmlsec1/api/xmlsec-reference.html
share/doc/xmlsec1/api/xmlsec-signature-klasses.html
share/doc/xmlsec1/api/xmlsec-templates.html
share/doc/xmlsec1/api/xmlsec-transforms.html
share/doc/xmlsec1/api/xmlsec-verify-with-key.html
share/doc/xmlsec1/api/xmlsec-verify-with-keys-mngr.html
share/doc/xmlsec1/api/xmlsec-verify-with-restrictions.html
share/doc/xmlsec1/api/xmlsec-verify-with-x509.html
share/doc/xmlsec1/api/xmlsec-version.html
share/doc/xmlsec1/api/xmlsec-x509.html
share/doc/xmlsec1/api/xmlsec-xmldsig.html
share/doc/xmlsec1/api/xmlsec-xmlenc.html
share/doc/xmlsec1/api/xmlsec-xmlsec.html
share/doc/xmlsec1/api/xmlsec-xmltree.html
share/doc/xmlsec1/api/xmlsec.sgml
share/doc/xmlsec1/authors.html
share/doc/xmlsec1/bugs.html
share/doc/xmlsec1/c14n.html
share/doc/xmlsec1/documentation.html
share/doc/xmlsec1/download.html
share/doc/xmlsec1/faq.html
share/doc/xmlsec1/images/bart.gif
share/doc/xmlsec1/images/libxml2-logo.png
share/doc/xmlsec1/images/libxslt-logo.png
share/doc/xmlsec1/images/logo.gif
share/doc/xmlsec1/images/openssl-logo.png
share/doc/xmlsec1/images/xmlsec-logo.gif
share/doc/xmlsec1/index.html
share/doc/xmlsec1/news.html
share/doc/xmlsec1/related.html
share/doc/xmlsec1/xmldsig-verifier.html
share/doc/xmlsec1/xmldsig.html
share/doc/xmlsec1/xmlenc.html
share/doc/xmlsec1/xmlsec-man.html

View File

@@ -0,0 +1,22 @@
# $NetBSD: buildlink3.mk,v 1.10 2013/02/06 23:20:52 jperkin Exp $
BUILDLINK_TREE+= xmlsec1
.if !defined(XMLSEC1_BUILDLINK3_MK)
XMLSEC1_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.xmlsec1+= xmlsec1>=1.2.6nb6
BUILDLINK_ABI_DEPENDS.xmlsec1+= xmlsec1>=1.2.18nb2
BUILDLINK_PKGSRCDIR.xmlsec1?= ../../security/xmlsec1
BUILDLINK_INCDIRS.xmlsec1+= include/xmlsec1
BUILDLINK_CPPFLAGS.xmlsec1+= -DXMLSEC_CRYPTO_OPENSSL
BUILDLINK_LIBS.xmlsec1+= -lxmlsec1-openssl
.include "../../devel/libltdl/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../security/libgcrypt/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.endif # XMLSEC1_BUILDLINK3_MK
BUILDLINK_TREE+= -xmlsec1

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.13 2012/09/28 12:31:59 adam Exp $
SHA1 (xmlsec1-1.2.18.tar.gz) = 740c3c791be838bf638651a3fe0e80c624c2ae0e
RMD160 (xmlsec1-1.2.18.tar.gz) = da4eb26dc0f9b2bcc7d8da216cbff47fd5fadbe2
Size (xmlsec1-1.2.18.tar.gz) = 1731099 bytes
SHA1 (patch-ab) = 8dd70e6107f520ec919ea97f38ab3fcaec3100ff

View File

@@ -0,0 +1,52 @@
$NetBSD: patch-ab,v 1.5 2012/09/28 12:31:59 adam Exp $
* portability fix
* DragonFly also not require extra libs for OpenSSL.
--- configure.orig 2011-05-11 23:02:14.000000000 +0000
+++ configure
@@ -9818,7 +9818,7 @@ darwin* | rhapsody*)
soname_spec='${libname}${release}${major}$shared_ext'
shlibpath_overrides_runpath=yes
shlibpath_var=DYLD_LIBRARY_PATH
- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+ shrext_cmds='.dylib'
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
@@ -11005,7 +11005,7 @@ CC="$lt_save_CC"
-if test "z$RM" == "z" ; then
+if test "z$RM" = "z" ; then
# Extract the first word of "rm", so it can be a program name with args.
set dummy rm; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -11718,7 +11718,7 @@ else
fi
-if test "z$shrext" == "z" ; then
+if test "z$shrext" = "z" ; then
shrext=$shrext_cmds
fi
@@ -12465,6 +12465,8 @@ elif test "z$with_openssl" != "z" ; then
*-*-osf5*) openssl_exlibs=;;
*-*-openbsd*) openssl_exlibs=;;
*-*-netbsd*) openssl_exlibs=;;
+ *-*-dragonfly*) openssl_exlibs=;;
+ *-*-darwin*) openssl_exlibs=;;
#FIXME: check if lib "dl" is required
*) openssl_exlibs=-ldl;;
esac
@@ -12864,7 +12866,7 @@ else
XMLSEC_CRYPTO_DISABLED_LIST="$XMLSEC_CRYPTO_DISABLED_LIST openssl"
fi
- if test "z$XMLSEC_NO_OPENSSL" == "z1"; then
+ if test "z$XMLSEC_NO_OPENSSL" = "z1"; then
XMLSEC_NO_OPENSSL_TRUE=
XMLSEC_NO_OPENSSL_FALSE='#'
else