summaryrefslogtreecommitdiff
path: root/security/xml-security-c
diff options
context:
space:
mode:
authorhasso <hasso>2009-05-10 12:23:36 +0000
committerhasso <hasso>2009-05-10 12:23:36 +0000
commit3cb81baf06452664dc790ffbb67e9d7a84309df5 (patch)
treefd839ef6515b943b9b4cb7ddb4634c1a91a81848 /security/xml-security-c
parentc387936e82bbc9e5f357fec8e48a6d1516dfb824 (diff)
downloadpkgsrc-3cb81baf06452664dc790ffbb67e9d7a84309df5.tar.gz
XML Security is an C++ implementation of the W3C digital signature
specification that makes it possible for programmers to create and validate signed XML documents.
Diffstat (limited to 'security/xml-security-c')
-rw-r--r--security/xml-security-c/DESCR3
-rw-r--r--security/xml-security-c/Makefile25
-rw-r--r--security/xml-security-c/PLIST168
-rw-r--r--security/xml-security-c/buildlink3.mk17
-rw-r--r--security/xml-security-c/distinfo6
-rw-r--r--security/xml-security-c/patches/patch-aa24
6 files changed, 243 insertions, 0 deletions
diff --git a/security/xml-security-c/DESCR b/security/xml-security-c/DESCR
new file mode 100644
index 00000000000..4b32d100849
--- /dev/null
+++ b/security/xml-security-c/DESCR
@@ -0,0 +1,3 @@
+XML Security is an C++ implementation of the W3C digital signature
+specification that makes it possible for programmers to create and
+validate signed XML documents.
diff --git a/security/xml-security-c/Makefile b/security/xml-security-c/Makefile
new file mode 100644
index 00000000000..b1521a885f5
--- /dev/null
+++ b/security/xml-security-c/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/05/10 12:23:36 hasso Exp $
+
+DISTNAME= xml-security-c-1.4.0
+CATEGORIES= security devel
+MASTER_SITES= http://santuario.apache.org/dist/c-library/
+
+MAINTAINER= hasso@NetBSD.org
+HOMEPAGE= http://santuario.apache.org/c/index.html
+COMMENT= XML Digital Signature specification implementation
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake pkg-config
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.7
+
+CONFIGURE_ENV+= XERCESCROOT="${BUILDLINK_PREFIX.xerces-c}"
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/xalan-c/buildlink3.mk"
+.include "../../textproc/xerces-c/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/xml-security-c/PLIST b/security/xml-security-c/PLIST
new file mode 100644
index 00000000000..fae5e94c49e
--- /dev/null
+++ b/security/xml-security-c/PLIST
@@ -0,0 +1,168 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/05/10 12:23:36 hasso Exp $
+bin/c14n
+bin/checksig
+bin/cipher
+bin/siginf
+bin/templatesign
+bin/txfmout
+bin/xklient
+bin/xtest
+include/xsec/canon/XSECC14n20010315.hpp
+include/xsec/canon/XSECCanon.hpp
+include/xsec/canon/XSECXMLNSStack.hpp
+include/xsec/dsig/DSIGAlgorithmHandlerDefault.hpp
+include/xsec/dsig/DSIGConstants.hpp
+include/xsec/dsig/DSIGKeyInfo.hpp
+include/xsec/dsig/DSIGKeyInfoList.hpp
+include/xsec/dsig/DSIGKeyInfoMgmtData.hpp
+include/xsec/dsig/DSIGKeyInfoName.hpp
+include/xsec/dsig/DSIGKeyInfoPGPData.hpp
+include/xsec/dsig/DSIGKeyInfoSPKIData.hpp
+include/xsec/dsig/DSIGKeyInfoValue.hpp
+include/xsec/dsig/DSIGKeyInfoX509.hpp
+include/xsec/dsig/DSIGObject.hpp
+include/xsec/dsig/DSIGReference.hpp
+include/xsec/dsig/DSIGReferenceList.hpp
+include/xsec/dsig/DSIGSignature.hpp
+include/xsec/dsig/DSIGSignedInfo.hpp
+include/xsec/dsig/DSIGTransform.hpp
+include/xsec/dsig/DSIGTransformBase64.hpp
+include/xsec/dsig/DSIGTransformC14n.hpp
+include/xsec/dsig/DSIGTransformEnvelope.hpp
+include/xsec/dsig/DSIGTransformList.hpp
+include/xsec/dsig/DSIGTransformXPath.hpp
+include/xsec/dsig/DSIGTransformXPathFilter.hpp
+include/xsec/dsig/DSIGTransformXSL.hpp
+include/xsec/dsig/DSIGXPathFilterExpr.hpp
+include/xsec/dsig/DSIGXPathHere.hpp
+include/xsec/enc/NSS/NSSCryptoHash.hpp
+include/xsec/enc/NSS/NSSCryptoHashHMAC.hpp
+include/xsec/enc/NSS/NSSCryptoKeyDSA.hpp
+include/xsec/enc/NSS/NSSCryptoKeyHMAC.hpp
+include/xsec/enc/NSS/NSSCryptoKeyRSA.hpp
+include/xsec/enc/NSS/NSSCryptoProvider.hpp
+include/xsec/enc/NSS/NSSCryptoSymmetricKey.hpp
+include/xsec/enc/NSS/NSSCryptoX509.hpp
+include/xsec/enc/OpenSSL/OpenSSLCryptoBase64.hpp
+include/xsec/enc/OpenSSL/OpenSSLCryptoHash.hpp
+include/xsec/enc/OpenSSL/OpenSSLCryptoHashHMAC.hpp
+include/xsec/enc/OpenSSL/OpenSSLCryptoKeyDSA.hpp
+include/xsec/enc/OpenSSL/OpenSSLCryptoKeyHMAC.hpp
+include/xsec/enc/OpenSSL/OpenSSLCryptoKeyRSA.hpp
+include/xsec/enc/OpenSSL/OpenSSLCryptoProvider.hpp
+include/xsec/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp
+include/xsec/enc/OpenSSL/OpenSSLCryptoX509.hpp
+include/xsec/enc/XSCrypt/XSCryptCryptoBase64.hpp
+include/xsec/enc/XSECCryptoBase64.hpp
+include/xsec/enc/XSECCryptoException.hpp
+include/xsec/enc/XSECCryptoHash.hpp
+include/xsec/enc/XSECCryptoKey.hpp
+include/xsec/enc/XSECCryptoKeyDSA.hpp
+include/xsec/enc/XSECCryptoKeyHMAC.hpp
+include/xsec/enc/XSECCryptoKeyRSA.hpp
+include/xsec/enc/XSECCryptoProvider.hpp
+include/xsec/enc/XSECCryptoSymmetricKey.hpp
+include/xsec/enc/XSECCryptoUtils.hpp
+include/xsec/enc/XSECCryptoX509.hpp
+include/xsec/enc/XSECKeyInfoResolver.hpp
+include/xsec/enc/XSECKeyInfoResolverDefault.hpp
+include/xsec/framework/XSECAlgorithmHandler.hpp
+include/xsec/framework/XSECAlgorithmMapper.hpp
+include/xsec/framework/XSECConfig.hpp
+include/xsec/framework/XSECDefs.hpp
+include/xsec/framework/XSECEnv.hpp
+include/xsec/framework/XSECError.hpp
+include/xsec/framework/XSECException.hpp
+include/xsec/framework/XSECProvider.hpp
+include/xsec/framework/XSECURIResolver.hpp
+include/xsec/framework/XSECURIResolverXerces.hpp
+include/xsec/framework/XSECW32Config.hpp
+include/xsec/transformers/TXFMBase.hpp
+include/xsec/transformers/TXFMBase64.hpp
+include/xsec/transformers/TXFMC14n.hpp
+include/xsec/transformers/TXFMChain.hpp
+include/xsec/transformers/TXFMCipher.hpp
+include/xsec/transformers/TXFMConcatChains.hpp
+include/xsec/transformers/TXFMDocObject.hpp
+include/xsec/transformers/TXFMEnvelope.hpp
+include/xsec/transformers/TXFMMD5.hpp
+include/xsec/transformers/TXFMOutputFile.hpp
+include/xsec/transformers/TXFMParser.hpp
+include/xsec/transformers/TXFMSB.hpp
+include/xsec/transformers/TXFMSHA1.hpp
+include/xsec/transformers/TXFMURL.hpp
+include/xsec/transformers/TXFMXPath.hpp
+include/xsec/transformers/TXFMXPathFilter.hpp
+include/xsec/transformers/TXFMXSL.hpp
+include/xsec/utils/XSECBinTXFMInputStream.hpp
+include/xsec/utils/XSECDOMUtils.hpp
+include/xsec/utils/XSECNameSpaceExpander.hpp
+include/xsec/utils/XSECPlatformUtils.hpp
+include/xsec/utils/XSECSOAPRequestor.hpp
+include/xsec/utils/XSECSOAPRequestorSimple.hpp
+include/xsec/utils/XSECSafeBuffer.hpp
+include/xsec/utils/XSECSafeBufferFormatter.hpp
+include/xsec/utils/XSECTXFMInputSource.hpp
+include/xsec/utils/XSECXPathNodeList.hpp
+include/xsec/utils/unixutils/XSECBinHTTPURIInputStream.hpp
+include/xsec/utils/unixutils/XSECURIResolverGenericUnix.hpp
+include/xsec/xenc/XENCCipher.hpp
+include/xsec/xenc/XENCCipherData.hpp
+include/xsec/xenc/XENCCipherReference.hpp
+include/xsec/xenc/XENCCipherValue.hpp
+include/xsec/xenc/XENCEncryptedData.hpp
+include/xsec/xenc/XENCEncryptedKey.hpp
+include/xsec/xenc/XENCEncryptedType.hpp
+include/xsec/xenc/XENCEncryptionMethod.hpp
+include/xsec/xkms/XKMSAuthentication.hpp
+include/xsec/xkms/XKMSCompoundRequest.hpp
+include/xsec/xkms/XKMSCompoundResult.hpp
+include/xsec/xkms/XKMSConstants.hpp
+include/xsec/xkms/XKMSKeyBinding.hpp
+include/xsec/xkms/XKMSKeyBindingAbstractType.hpp
+include/xsec/xkms/XKMSLocateRequest.hpp
+include/xsec/xkms/XKMSLocateResult.hpp
+include/xsec/xkms/XKMSMessageAbstractType.hpp
+include/xsec/xkms/XKMSMessageFactory.hpp
+include/xsec/xkms/XKMSNotBoundAuthentication.hpp
+include/xsec/xkms/XKMSPendingRequest.hpp
+include/xsec/xkms/XKMSPrototypeKeyBinding.hpp
+include/xsec/xkms/XKMSQueryKeyBinding.hpp
+include/xsec/xkms/XKMSRSAKeyPair.hpp
+include/xsec/xkms/XKMSRecoverKeyBinding.hpp
+include/xsec/xkms/XKMSRecoverRequest.hpp
+include/xsec/xkms/XKMSRecoverResult.hpp
+include/xsec/xkms/XKMSRegisterRequest.hpp
+include/xsec/xkms/XKMSRegisterResult.hpp
+include/xsec/xkms/XKMSReissueKeyBinding.hpp
+include/xsec/xkms/XKMSReissueRequest.hpp
+include/xsec/xkms/XKMSReissueResult.hpp
+include/xsec/xkms/XKMSRequestAbstractType.hpp
+include/xsec/xkms/XKMSRespondWith.hpp
+include/xsec/xkms/XKMSResponseMechanism.hpp
+include/xsec/xkms/XKMSResult.hpp
+include/xsec/xkms/XKMSResultType.hpp
+include/xsec/xkms/XKMSRevokeKeyBinding.hpp
+include/xsec/xkms/XKMSRevokeRequest.hpp
+include/xsec/xkms/XKMSRevokeResult.hpp
+include/xsec/xkms/XKMSStatus.hpp
+include/xsec/xkms/XKMSStatusRequest.hpp
+include/xsec/xkms/XKMSStatusResult.hpp
+include/xsec/xkms/XKMSUnverifiedKeyBinding.hpp
+include/xsec/xkms/XKMSUseKeyWith.hpp
+include/xsec/xkms/XKMSValidateRequest.hpp
+include/xsec/xkms/XKMSValidateResult.hpp
+include/xsec/xkms/XKMSValidityInterval.hpp
+lib/libxml-security-c.la
+@dirrm include/xsec/xkms
+@dirrm include/xsec/utils/unixutils
+@dirrm include/xsec/utils
+@dirrm include/xsec/transformers
+@dirrm include/xsec/framework
+@dirrm include/xsec/enc/XSCrypt
+@dirrm include/xsec/enc/OpenSSL
+@dirrm include/xsec/enc/NSS
+@dirrm include/xsec/enc
+@dirrm include/xsec/dsig
+@dirrm include/xsec/canon
+@dirrm include/xsec
diff --git a/security/xml-security-c/buildlink3.mk b/security/xml-security-c/buildlink3.mk
new file mode 100644
index 00000000000..e7953dfc9e8
--- /dev/null
+++ b/security/xml-security-c/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/05/10 12:23:36 hasso Exp $
+
+BUILDLINK_TREE+= xml-security-c
+
+.if !defined(XML_SECURITY_C_BUILDLINK3_MK)
+XML_SECURITY_C_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.xml-security-c+= xml-security-c>=1.4.0
+BUILDLINK_ABI_DEPENDS.xml-security-c+= xml-security-c>=1.4.0
+BUILDLINK_PKGSRCDIR.xml-security-c?= ../../security/xml-security-c
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/xalan-c/buildlink3.mk"
+.include "../../textproc/xerces-c/buildlink3.mk"
+.endif # XML_SECURITY_C_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -xml-security-c
diff --git a/security/xml-security-c/distinfo b/security/xml-security-c/distinfo
new file mode 100644
index 00000000000..2402d435493
--- /dev/null
+++ b/security/xml-security-c/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/05/10 12:23:36 hasso Exp $
+
+SHA1 (xml-security-c-1.4.0.tar.gz) = 0e4b189aeb890693c9f97e3331cf66332c62be27
+RMD160 (xml-security-c-1.4.0.tar.gz) = 6a9279c6b24583096523ab4d8b61941690c95954
+Size (xml-security-c-1.4.0.tar.gz) = 934876 bytes
+SHA1 (patch-aa) = 71f089b555f755eedfecf174d418487de5c5b589
diff --git a/security/xml-security-c/patches/patch-aa b/security/xml-security-c/patches/patch-aa
new file mode 100644
index 00000000000..771ad4b0792
--- /dev/null
+++ b/security/xml-security-c/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/05/10 12:23:36 hasso Exp $
+
+--- configure.orig 2009-05-08 15:30:32 +0300
++++ configure 2009-05-08 15:32:13 +0300
+@@ -21751,6 +21751,19 @@ case "${host}" in
+
+ ;;
+
++ *-*-dragonfly*) platform=DRAGONFLY
++ shlibsuffix=.so
++ lib_name="lib${PACKAGE_TARNAME}.so.${package_lib_version}"
++ lib_major_name="lib${PACKAGE_TARNAME}.so.${package_version_major}"
++ lib_short_name="lib${PACKAGE_TARNAME}.so"
++
++ # Should use -D_REENTRANT - but not yet OK
++ PLATFORM_OPTIONS="${PLATFORM_OPTIONS} -DFREEBSD"
++ SHARED_OPTIONS="-DFREEBSD -shared -pthread"
++ LINK_OPTIONS="-DFREEBSD -pthread"
++
++ ;;
++
+ *-*-linux*) platform=LINUX ;
+ shlibsuffix=.so
+ lib_name="lib${PACKAGE_TARNAME}.so.${package_lib_version}"