diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2009-07-24 05:16:44 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2009-07-24 05:16:44 +0000 |
commit | d055f01bf9fbc9692589f5f103374a37bd76a8d3 (patch) | |
tree | 3ee0bf7e2c54e5a2dc540d52844ff0e1648bd0d3 /dev-libs/xml-security-c | |
parent | Fixed dependencies for amd64 (bug #277894), removed oldest stable ebuild in t... (diff) | |
download | gentoo-2-d055f01bf9fbc9692589f5f103374a37bd76a8d3.tar.gz gentoo-2-d055f01bf9fbc9692589f5f103374a37bd76a8d3.tar.bz2 gentoo-2-d055f01bf9fbc9692589f5f103374a37bd76a8d3.zip |
Moved to the tree.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/xml-security-c')
-rw-r--r-- | dev-libs/xml-security-c/ChangeLog | 34 | ||||
-rw-r--r-- | dev-libs/xml-security-c/files/1.5.1-parallel_build.patch | 21 | ||||
-rw-r--r-- | dev-libs/xml-security-c/metadata.xml | 9 | ||||
-rw-r--r-- | dev-libs/xml-security-c/xml-security-c-1.5.1.ebuild | 47 |
4 files changed, 111 insertions, 0 deletions
diff --git a/dev-libs/xml-security-c/ChangeLog b/dev-libs/xml-security-c/ChangeLog new file mode 100644 index 000000000000..181f6c774168 --- /dev/null +++ b/dev-libs/xml-security-c/ChangeLog @@ -0,0 +1,34 @@ +# ChangeLog for dev-libs/xml-security-c +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xml-security-c/ChangeLog,v 1.1 2009/07/24 05:16:43 dev-zero Exp $ + +*xml-security-c-1.5.1 (24 Jul 2009) + + 24 Jul 2009; Tiziano Müller <dev-zero@gentoo.org> + +files/1.5.1-parallel_build.patch, +xml-security-c-1.5.1.ebuild, + +metadata.xml: + Moved to the tree. + + 23 Jul 2009; Tiziano Müller <dev-zero@gentoo.org> + +files/1.5.1-parallel_build.patch, -xml-security-c-1.5.0.ebuild, + +xml-security-c-1.5.1.ebuild, -files/CVE-2009-0217-fix.patch: + Version bump, includes the fix for the CVE. Fixed dependency (xml-security-c + is supposed to _not_ need xerces-c-2 anymore). + + 16 Jul 2009; Thomas Beierlein (TomJBE) <tb@forth-ev.de> + xml-security-c-1.5.0.ebuild, +files/CVE-2009-0217-fix.patch: + Security fix for CVE-2009-0217 + + 16 Jul 2009; Thomas Beierlein (TomJBE) <tb@forth-ev.de> + -xml-security-c-1.4.0.ebuild, +xml-security-c-1.5.0.ebuild: + Version bump + + 30 Dec 2008; Thomas Beierlein (TomJBE) <tb@forth-ev.de> + xml-security-c-1.4.0.ebuild: + works only with =dev-libs/xerces-c-2* and =dev-libs/xalan-c-1.10* + + 22 Oct 2008; Thomas Beierlein (TomJBE) <tb@forth-ev.de> + +xml-security-c-1.4.0.ebuild, +metadata.xml: + New ebuild wrt bug 202952. Thanks to original bug authors and chithead, + scarabeus, pva and tommy for help polishing. + diff --git a/dev-libs/xml-security-c/files/1.5.1-parallel_build.patch b/dev-libs/xml-security-c/files/1.5.1-parallel_build.patch new file mode 100644 index 000000000000..57109f978613 --- /dev/null +++ b/dev-libs/xml-security-c/files/1.5.1-parallel_build.patch @@ -0,0 +1,21 @@ +diff -Naur xml-security-c-1.5.0_pre20090310.orig/include/Makefile.am xml-security-c-1.5.0_pre20090310/include/Makefile.am +--- xml-security-c-1.5.0_pre20090310.orig/include/Makefile.am 2009-03-10 08:23:06.552988680 +0100 ++++ xml-security-c-1.5.0_pre20090310/include/Makefile.am 2009-03-10 08:24:06.360010865 +0100 +@@ -14,7 +14,7 @@ + # limitations under the License. + # + +-BUILT_SOURCES = xsec ${lib_includes} ++BUILT_SOURCES = ${lib_includes} + nobase_include_HEADERS = ${lib_includes} + + lib_includes = +@@ -213,7 +213,7 @@ + + SUFFIXES = .hpp + +-xsec/%.hpp: ../src/%.hpp ++xsec/%.hpp: xsec ../src/%.hpp + cp ../src/$*.hpp $@ + + xsec: diff --git a/dev-libs/xml-security-c/metadata.xml b/dev-libs/xml-security-c/metadata.xml new file mode 100644 index 000000000000..3d90e5495daf --- /dev/null +++ b/dev-libs/xml-security-c/metadata.xml @@ -0,0 +1,9 @@ +<?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> + </use> +</pkgmetadata> diff --git a/dev-libs/xml-security-c/xml-security-c-1.5.1.ebuild b/dev-libs/xml-security-c/xml-security-c-1.5.1.ebuild new file mode 100644 index 000000000000..2c6c662b67f9 --- /dev/null +++ b/dev-libs/xml-security-c/xml-security-c-1.5.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xml-security-c/xml-security-c-1.5.1.ebuild,v 1.1 2009/07/24 05:16:43 dev-zero Exp $ + +EAPI="2" + +inherit autotools eutils + +DESCRIPTION="Apache C++ XML security libraries." +HOMEPAGE="http://santuario.apache.org/" +SRC_URI="http://santuario.apache.org/dist/c-library/${P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug examples xalan" + +RDEPEND="dev-libs/xerces-c + xalan? ( dev-libs/xalan-c ) + dev-libs/openssl" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_prepare() { + epatch \ + "${FILESDIR}/${PV}-parallel_build.patch" + + # script checks for autoconf for no reason + sed -i \ + -e '/AUTOCONF/d' configure.ac || die "sed failed" + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_with xalan) +} + +src_install(){ + emake DESTDIR="${D}" install || die "emake failed" + + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins src/samples/*.cpp + fi +} |