diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-07-29 16:37:41 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-07-29 16:37:41 +0000 |
commit | dfa62b261ea2e3d2c80d0f1afb0faabf13c9a79c (patch) | |
tree | 65bb89c04b8bfabea7003ceffc6e3cc77183efcd /dev-libs/xmlsec/xmlsec-1.2.12.ebuild | |
parent | Remove vulnerable version(s), bug 271708 (diff) | |
download | gentoo-2-dfa62b261ea2e3d2c80d0f1afb0faabf13c9a79c.tar.gz gentoo-2-dfa62b261ea2e3d2c80d0f1afb0faabf13c9a79c.tar.bz2 gentoo-2-dfa62b261ea2e3d2c80d0f1afb0faabf13c9a79c.zip |
Version bump (bug #277876).
(Portage version: 13851-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/xmlsec/xmlsec-1.2.12.ebuild')
-rw-r--r-- | dev-libs/xmlsec/xmlsec-1.2.12.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/xmlsec/xmlsec-1.2.12.ebuild b/dev-libs/xmlsec/xmlsec-1.2.12.ebuild new file mode 100644 index 000000000000..64e4688819fd --- /dev/null +++ b/dev-libs/xmlsec/xmlsec-1.2.12.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/xmlsec-1.2.12.ebuild,v 1.1 2009/07/29 16:37:41 arfrever Exp $ + +EAPI="2" + +inherit autotools eutils flag-o-matic + +DESCRIPTION="Command line tool for signing, verifying, encrypting and decrypting XML" +HOMEPAGE="http://www.aleksey.com/xmlsec" +SRC_URI="http://www.aleksey.com/xmlsec/download/${PN}1-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="gnutls mozilla ssl" + +RDEPEND=">=dev-libs/libxslt-1.0.20 + ssl? ( >=dev-libs/openssl-0.9.7 ) + gnutls? ( >=net-libs/gnutls-0.8.1 ) + mozilla? ( >=dev-libs/nspr-4.0 + >=dev-libs/nss-3.2 )" +DEPEND="${RDEPEND} + >=dev-libs/libxml2-2.6.12 + dev-util/pkgconfig" + +S="${WORKDIR}/${PN}1-${PV}" + +src_prepare() { + epatch "${FILESDIR}/${P}-min_hmac_size.patch" + epatch "${FILESDIR}/${P}-fix_implicit_declaration.patch" + + sed -i \ + -e '/^XMLSEC_SHLIBSFX=/s/\(XMLSEC_SHLIBSFX=\).*/\1".so"/' \ + -e '/sha1.*pkgconfig/s/sha1/pkgconfig/' \ + -e '/^AC_LIB_LTDL$/d' configure.in || die "sed configure.in failed" + eautoreconf +} + +src_configure() { + append-cppflags '-DLTDL_OBJDIR=\".libs\"' '-DLTDL_SHLIB_EXT=\".so\"' + local myconf + use gnutls || myconf="--without-gnutls" + econf \ + --enable-pkgconfig \ + --enable-xkms \ + $(use_enable ssl aes) \ + $(use_with ssl openssl /usr) \ + --with-html-dir=/usr/share/doc/${PF} \ + ${myconf} +} + +src_test() { + TMPFOLDER="${T}" emake check || die "emake check failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS README NEWS +} |