diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/xml-security-c | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-libs/xml-security-c')
-rw-r--r-- | dev-libs/xml-security-c/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/xml-security-c/files/1.6.1-nss-compilation-fix.patch | 13 | ||||
-rw-r--r-- | dev-libs/xml-security-c/metadata.xml | 11 | ||||
-rw-r--r-- | dev-libs/xml-security-c/xml-security-c-1.7.3.ebuild | 48 |
4 files changed, 73 insertions, 0 deletions
diff --git a/dev-libs/xml-security-c/Manifest b/dev-libs/xml-security-c/Manifest new file mode 100644 index 000000000000..8212ec6ce94d --- /dev/null +++ b/dev-libs/xml-security-c/Manifest @@ -0,0 +1 @@ +DIST xml-security-c-1.7.3.tar.gz 909320 SHA256 e5226e7319d44f6fd9147a13fb853f5c711b9e75bf60ec273a0ef8a190592583 SHA512 ea46709d6706edf345e19132d9998774e50dc7b5947a7b4a55e3627998f5ac66f976fdff0a5015ef3cee73c03c04f3c4cf993efd397082491c2000c6548b89d2 WHIRLPOOL 5aba039916ffabdb6394c5a97ce10027a546cbba9b7978bfde06db22ee48e6820a42db9d1e1095fc2ef7235cb2e6f948bbe3fd6dcaf5e99f16316111a28a717b diff --git a/dev-libs/xml-security-c/files/1.6.1-nss-compilation-fix.patch b/dev-libs/xml-security-c/files/1.6.1-nss-compilation-fix.patch new file mode 100644 index 000000000000..1635d6b80339 --- /dev/null +++ b/dev-libs/xml-security-c/files/1.6.1-nss-compilation-fix.patch @@ -0,0 +1,13 @@ +diff --git a/xsec/tools/xtest/xtest.cpp b/xsec/tools/xtest/xtest.cpp +index ec40cb2..9cd389e 100644 +--- a/xsec/tools/xtest/xtest.cpp ++++ b/xsec/tools/xtest/xtest.cpp +@@ -2566,7 +2566,7 @@ int main(int argc, char **argv) { + } + #endif + #if defined(XSEC_HAVE_NSS) +- else if (stricmp(argv[paramCount], "--nss") == 0 || stricmp(argv[paramCount], "-n") == 0) { ++ else if (_stricmp(argv[paramCount], "--nss") == 0 || _stricmp(argv[paramCount], "-n") == 0) { + g_useNSS = true; + paramCount++; + } diff --git a/dev-libs/xml-security-c/metadata.xml b/dev-libs/xml-security-c/metadata.xml new file mode 100644 index 000000000000..adf837241a71 --- /dev/null +++ b/dev-libs/xml-security-c/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cpp</herd> + <use> + <flag name='xalan'>Enable support for XSLT and XPath parsing + by <pkg>dev-libs/xalan-c</pkg></flag> + <flag name='nss'>Use <pkg>dev-libs/nss</pkg> for certain crypto + operations (configureable at runtime)</flag> + </use> +</pkgmetadata> diff --git a/dev-libs/xml-security-c/xml-security-c-1.7.3.ebuild b/dev-libs/xml-security-c/xml-security-c-1.7.3.ebuild new file mode 100644 index 000000000000..ed8d346c41a9 --- /dev/null +++ b/dev-libs/xml-security-c/xml-security-c-1.7.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +DESCRIPTION="Apache C++ XML security libraries" +HOMEPAGE="http://santuario.apache.org/" +SRC_URI="mirror://apache/santuario/c-library/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="debug examples nss static-libs xalan" + +RDEPEND=">=dev-libs/xerces-c-3.1 + dev-libs/openssl + nss? ( dev-libs/nss ) + xalan? ( dev-libs/xalan-c )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( CHANGELOG.txt NOTICE.txt ) + +src_prepare() { + epatch "${FILESDIR}/1.6.1-nss-compilation-fix.patch" + epatch_user +} + +src_configure() { + econf \ + --with-openssl \ + $(use_enable static-libs static) \ + $(use_enable debug) \ + $(use_with xalan) \ + $(use_with nss) +} + +src_install() { + default + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins xsec/samples/*.cpp + fi +} |