summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-01-04 11:33:52 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-01-04 11:33:52 +0000
commitf5f184291d260610926d8a90cdf6128d5238a5a5 (patch)
tree7416aaecb0b81a026b2aa7d482b6e3f74bdd0c80 /dev-libs/xmlsec
parentInitial import (diff)
downloadgentoo-2-f5f184291d260610926d8a90cdf6128d5238a5a5.tar.gz
gentoo-2-f5f184291d260610926d8a90cdf6128d5238a5a5.tar.bz2
gentoo-2-f5f184291d260610926d8a90cdf6128d5238a5a5.zip
Initial import
Diffstat (limited to 'dev-libs/xmlsec')
-rw-r--r--dev-libs/xmlsec/ChangeLog9
-rw-r--r--dev-libs/xmlsec/Manifest4
-rw-r--r--dev-libs/xmlsec/files/digest-xmlsec-1.2.21
-rw-r--r--dev-libs/xmlsec/files/xmlsec-1.2.2-nss-nspr-configure.in.patch115
-rw-r--r--dev-libs/xmlsec/xmlsec-1.2.2.ebuild48
5 files changed, 176 insertions, 1 deletions
diff --git a/dev-libs/xmlsec/ChangeLog b/dev-libs/xmlsec/ChangeLog
new file mode 100644
index 000000000000..e16473e8ad58
--- /dev/null
+++ b/dev-libs/xmlsec/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-libs/xmlsec
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/ChangeLog,v 1.1 2004/01/04 11:33:43 aliz Exp $
+
+*xmlsec-1.2.2 (04 Jan 2004)
+
+ 04 Jan 2004; Daniel Ahlberg <aliz@gentoo.org> xmlsec-1.2.2.ebuild:
+ Initial import. Ebuild submitted by Rigo Ketelings <rigo@home.nl> in #9429.
+
diff --git a/dev-libs/xmlsec/Manifest b/dev-libs/xmlsec/Manifest
index 0904d91515f0..6273ad9ee653 100644
--- a/dev-libs/xmlsec/Manifest
+++ b/dev-libs/xmlsec/Manifest
@@ -1,2 +1,4 @@
-MD5 cfebe0b832aa3e73a2dff113b672638f xmlsec-1.2.2.ebuild 1585
+MD5 fcd8d7172bce8bafe2bcbfcee8969012 xmlsec-1.2.2.ebuild 1482
+MD5 e2567d7c5cc0faf32aff8587a4c21a78 ChangeLog 387
+MD5 19c95ef82bbe44f2aba5f597b1f083dc files/xmlsec-1.2.2-nss-nspr-configure.in.patch 3407
MD5 9282130b1728ab77d64063bfb5f417bd files/digest-xmlsec-1.2.2 66
diff --git a/dev-libs/xmlsec/files/digest-xmlsec-1.2.2 b/dev-libs/xmlsec/files/digest-xmlsec-1.2.2
new file mode 100644
index 000000000000..37437aeb0b9a
--- /dev/null
+++ b/dev-libs/xmlsec/files/digest-xmlsec-1.2.2
@@ -0,0 +1 @@
+MD5 f7f8c8f385f22f6cfdae7eef810f29c4 xmlsec1-1.2.2.tar.gz 1428624
diff --git a/dev-libs/xmlsec/files/xmlsec-1.2.2-nss-nspr-configure.in.patch b/dev-libs/xmlsec/files/xmlsec-1.2.2-nss-nspr-configure.in.patch
new file mode 100644
index 000000000000..487643656908
--- /dev/null
+++ b/dev-libs/xmlsec/files/xmlsec-1.2.2-nss-nspr-configure.in.patch
@@ -0,0 +1,115 @@
+--- configure.in 2004-01-04 09:49:32.000000000 +0000
++++ configure.in 2004-01-04 10:44:59.295911997 +0000
+@@ -519,34 +519,17 @@
+ NSPR_FOUND="no"
+ NSPR_PRINIT_H=""
+
+- if test "z$with_nspr" != "z" ; then
+- NSPR_PREFIX="$with_nspr"
+- NSPR_CFLAGS="-I$with_nspr/include"
+- if test "z$with_gnu_ld" = "zyes" ; then
+- NSPR_LIBS="-Wl,-rpath-link -Wl,$with_nspr/lib -L$with_nspr/lib $NSPR_LIBS_LIST"
+- else
+- NSPR_LIBS="-L$with_nspr/lib $NSPR_LIBS_LIST"
+- fi
+- NSPR_INCLUDES_FOUND="yes"
+- NSPR_LIBS_FOUND="yes"
+- NSPR_PRINIT_H="$with_nspr/include/prinit.h"
+- else
+- for dir in $ac_nss_inc_dir ; do
+- if test -f $dir/nspr/prinit.h ; then
+- dnl do not add -I/usr/include because compiler does it anyway
+- if test "z$dir" = "z/usr/include" ; then
+- NSPR_CFLAGS=""
+- else
+- NSPR_CFLAGS="-I$dir/nspr"
+- fi
++ for dir in $ac_nss_inc_dir ; do
++ if test -f $dir/nspr/prinit.h ; then
++ NSPR_CFLAGS="-I$dir/nspr"
+ NSPR_INCLUDES_FOUND="yes"
+ NSPR_PRINIT_H="$dir/nspr/prinit.h"
+ break
+- fi
+- done
++ fi
++ done
+
+- for dir in $ac_nss_lib_dir ; do
+- if test -f $dir/libnspr4.so ; then
++ for dir in $ac_nss_lib_dir ; do
++ if test -f $dir/libnspr4.so ; then
+ dnl do not add -L/usr/lib because compiler does it anyway
+ if test "z$dir" = "z/usr/lib" ; then
+ NSPR_LIBS="$NSPR_LIBS_LIST"
+@@ -559,9 +542,8 @@
+ fi
+ NSPR_LIBS_FOUND="yes"
+ break
+- fi
+- done
+- fi
++ fi
++ done
+
+ if test "z$NSPR_INCLUDES_FOUND" = "zyes" -a "z$NSPR_LIBS_FOUND" = "zyes" ; then
+ OLD_CPPFLAGS=$CPPFLAGS
+@@ -591,37 +573,21 @@
+ NSS_LIBS_FOUND="no"
+ NSS_NSS_H=""
+
+- if test "z$with_nss" != "z" ; then
+- NSS_CFLAGS="$NSS_CFLAGS -I$with_nss/include"
+- if test "z$with_gnu_ld" = "zyes" ; then
+- NSS_LIBS="$NSS_LIBS -Wl,-rpath-link -Wl,$with_nss/lib -L$with_nss/lib $NSS_LIBS_LIST"
+- else
+- NSS_LIBS="$NSS_LIBS -L$with_nss/lib $NSS_LIBS_LIST"
+- fi
+- NSS_INCLUDES_FOUND="yes"
+- NSS_LIBS_FOUND="yes"
+- NSS_NSS_H="$with_nss/include/nss.h"
+- else
+- for dir in $ac_nss_inc_dir ; do
+- if test -f $dir/nss/nss.h ; then
+- dnl do not add -I/usr/include because compiler does it anyway
+- if test "z$dir" = "z/usr/include" ; then
+- NSS_CFLAGS="$NSS_CFLAGS"
+- else
+- NSS_CFLAGS="$NSS_CFLAGS -I$dir/nss"
+- fi
++ for dir in $ac_nss_inc_dir ; do
++ if test -f $dir/nss/nss.h ; then
++ NSS_CFLAGS="$NSS_CFLAGS -I$dir/nss"
+ NSS_INCLUDES_FOUND="yes"
+ NSS_NSS_H="$dir/nss/nss.h"
+ break
+- fi
+- done
++ fi
++ done
+
+- for dir in $ac_nss_lib_dir ; do
+- if test -f $dir/libnss3.so ; then
+- dnl do not add -L/usr/lib because compiler does it anyway
++ for dir in $ac_nss_lib_dir ; do
++ if test -f $dir/libnss3.so ; then
++ dnl do not add -L/usr/lib because compiler does it anyway
+ if test "z$dir" = "z/usr/lib" ; then
+ NSS_LIBS="$NSS_LIBS_LIST"
+- else
++ else
+ if test "z$with_gnu_ld" = "zyes" ; then
+ NSS_LIBS="-Wl,-rpath-link -Wl,$dir -L$dir $NSS_LIBS_LIST"
+ else
+@@ -630,9 +596,8 @@
+ fi
+ NSS_LIBS_FOUND="yes"
+ break
+- fi
+- done
+- fi
++ fi
++ done
+
+ if test "z$NSS_INCLUDES_FOUND" = "zyes" -a "z$NSS_LIBS_FOUND" = "zyes" ; then
+ OLD_CPPFLAGS=$CPPFLAGS
diff --git a/dev-libs/xmlsec/xmlsec-1.2.2.ebuild b/dev-libs/xmlsec/xmlsec-1.2.2.ebuild
new file mode 100644
index 000000000000..f8f137742bec
--- /dev/null
+++ b/dev-libs/xmlsec/xmlsec-1.2.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/xmlsec-1.2.2.ebuild,v 1.1 2004/01/04 11:33:43 aliz Exp $
+
+DESCRIPTION="xmlsec is a command line tool for signing, verifying, encrypting and decrypting XML documents based on LibXML2 and OpenSSL. The library supports major XML security standards."
+HOMEPAGE="http://www.aleksey.com/xmlsec"
+KEYWORDS="~x86 ~amd64"
+LICENSE="MIT"
+DEPEND=">=sys-devel/autoconf-2.2
+ >=dev-libs/libxml2-2.4.2
+ >=dev-libs/libxslt-1.0.20
+ ssl? ( >=dev-libs/openssl-0.9.6c )
+ >=net-libs/gnutls-0.8.1
+ mozilla? ( >=dev-libs/nspr-4.0
+ >=dev-libs/nss-3.2 )"
+SRC_URI="http://www.aleksey.com/xmlsec/download/${PN}1-${PV}.tar.gz"
+S=${WORKDIR}/${PN}1-${PV}
+IUSE="ssl mozilla"
+SLOT="0"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+
+ epatch ${FILESDIR}/${P}-nss-nspr-configure.in.patch
+}
+
+src_compile() {
+ autoconf
+
+ local myconf
+
+ if [ "`use ssl`" ] && [ "`best_version openssl | awk -F- '{print $3}' | sed 's/[a-z]//'`" == "0.9.7" ]; then
+ myconf="--enable-aes"
+ else
+ myconf="--disable-aes"
+ fi
+
+ myconf="$myconf --enable-xkms --disable-pkgconfig --enable-gnutls `use_with mozilla nss` `use_with mozilla nspr` \
+ `use_enable ssl openssl` --with-html-dir=${D}/usr/share/doc/${PF}"
+
+ econf ${myconf} || die "configure failed"
+ emake || die "emake failed"
+}
+src_install() {
+ einstall || die "install failed"
+
+ dodoc AUTHORS COPYING INSTALL README NEWS
+}