summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2006-01-26 22:31:04 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2006-01-26 22:31:04 +0000
commit3339023e72bbf5436622ba3b5bca9589ff95170b (patch)
tree827d8bee5500cc513f27b0a3e6717ae694310386 /dev-libs
parenttypo (diff)
downloadgentoo-2-3339023e72bbf5436622ba3b5bca9589ff95170b.tar.gz
gentoo-2-3339023e72bbf5436622ba3b5bca9589ff95170b.tar.bz2
gentoo-2-3339023e72bbf5436622ba3b5bca9589ff95170b.zip
Add fixes from bug 113548 regarding nss and nspr.
(Portage version: 2.0.54)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/xmlsec/ChangeLog12
-rw-r--r--dev-libs/xmlsec/Manifest12
-rw-r--r--dev-libs/xmlsec/files/digest-xmlsec-1.2.51
-rw-r--r--dev-libs/xmlsec/files/digest-xmlsec-1.2.81
-rw-r--r--dev-libs/xmlsec/files/digest-xmlsec-1.2.9-r11
-rw-r--r--dev-libs/xmlsec/files/nss.patch61
-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.5.ebuild53
-rw-r--r--dev-libs/xmlsec/xmlsec-1.2.9-r1.ebuild (renamed from dev-libs/xmlsec/xmlsec-1.2.8.ebuild)19
9 files changed, 92 insertions, 183 deletions
diff --git a/dev-libs/xmlsec/ChangeLog b/dev-libs/xmlsec/ChangeLog
index 5f3620e4d8f1..aeb58783d036 100644
--- a/dev-libs/xmlsec/ChangeLog
+++ b/dev-libs/xmlsec/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-libs/xmlsec
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/ChangeLog,v 1.10 2005/09/29 02:21:34 vanquirius Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/ChangeLog,v 1.11 2006/01/26 22:31:04 vanquirius Exp $
+
+*xmlsec-1.2.9-r1 (26 Jan 2006)
+
+ 26 Jan 2006; Marcelo Goes <vanquirius@gentoo.org>
+ -files/xmlsec-1.2.2-nss-nspr-configure.in.patch, +files/nss.patch,
+ -xmlsec-1.2.5.ebuild, -xmlsec-1.2.8.ebuild, +xmlsec-1.2.9-r1.ebuild:
+ Add fixes from bug 113548 regarding nss and nspr. Many thanks to Hanno
+ Meyer-Thurow <h dot mth at web dot de>.
29 Sep 2005; Marcelo Goes <vanquirius@gentoo.org> xmlsec-1.2.5.ebuild,
xmlsec-1.2.8.ebuild, xmlsec-1.2.9.ebuild:
diff --git a/dev-libs/xmlsec/Manifest b/dev-libs/xmlsec/Manifest
index 49b8e7914f1d..cddc2702e3cc 100644
--- a/dev-libs/xmlsec/Manifest
+++ b/dev-libs/xmlsec/Manifest
@@ -1,9 +1,7 @@
-MD5 9ada4be94b018482b48a043e2fdbf4c3 xmlsec-1.2.5.ebuild 1423
-MD5 f49de555fd28ac53e43f7c20aeee5537 xmlsec-1.2.9.ebuild 1192
-MD5 bc4c79af3164e56d1090b3f54ee3dd7f xmlsec-1.2.8.ebuild 1134
MD5 8d0b1ae19a130dd5a45dba8ff61b0953 ChangeLog 1333
-MD5 1c3665b87d1e39c6799909da58f41b26 metadata.xml 160
-MD5 19c95ef82bbe44f2aba5f597b1f083dc files/xmlsec-1.2.2-nss-nspr-configure.in.patch 3407
-MD5 a1e47b5acaab9e8403826080e78f56a5 files/digest-xmlsec-1.2.5 66
-MD5 8d267af575cd797af0e273430c12f7a4 files/digest-xmlsec-1.2.8 66
MD5 15e08ab683b3b7bda649bb228ef78459 files/digest-xmlsec-1.2.9 66
+MD5 15e08ab683b3b7bda649bb228ef78459 files/digest-xmlsec-1.2.9-r1 66
+MD5 7bd7372eafe63f0c148bb188dc395665 files/nss.patch 3553
+MD5 1c3665b87d1e39c6799909da58f41b26 metadata.xml 160
+MD5 e41373ee9e1f3a12aad7d9d08496e462 xmlsec-1.2.9-r1.ebuild 1216
+MD5 f49de555fd28ac53e43f7c20aeee5537 xmlsec-1.2.9.ebuild 1192
diff --git a/dev-libs/xmlsec/files/digest-xmlsec-1.2.5 b/dev-libs/xmlsec/files/digest-xmlsec-1.2.5
deleted file mode 100644
index 6bd141dbcd96..000000000000
--- a/dev-libs/xmlsec/files/digest-xmlsec-1.2.5
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e811685d7b678ff09b901b942477f03d xmlsec1-1.2.5.tar.gz 1509199
diff --git a/dev-libs/xmlsec/files/digest-xmlsec-1.2.8 b/dev-libs/xmlsec/files/digest-xmlsec-1.2.8
deleted file mode 100644
index d68b3b24577e..000000000000
--- a/dev-libs/xmlsec/files/digest-xmlsec-1.2.8
+++ /dev/null
@@ -1 +0,0 @@
-MD5 9f86c77c2ca317d03fbd8fe2e685ea67 xmlsec1-1.2.8.tar.gz 4851546
diff --git a/dev-libs/xmlsec/files/digest-xmlsec-1.2.9-r1 b/dev-libs/xmlsec/files/digest-xmlsec-1.2.9-r1
new file mode 100644
index 000000000000..45ebab89805b
--- /dev/null
+++ b/dev-libs/xmlsec/files/digest-xmlsec-1.2.9-r1
@@ -0,0 +1 @@
+MD5 b378a076708766966724aaeba09e4607 xmlsec1-1.2.9.tar.gz 1667363
diff --git a/dev-libs/xmlsec/files/nss.patch b/dev-libs/xmlsec/files/nss.patch
new file mode 100644
index 000000000000..ec90dfc39c4d
--- /dev/null
+++ b/dev-libs/xmlsec/files/nss.patch
@@ -0,0 +1,61 @@
+--- xmlsec1-1.2.9/configure.in.orig 2005-11-25 15:22:14.000000000 +0100
++++ xmlsec1-1.2.9/configure.in 2005-11-25 15:27:25.000000000 +0100
+@@ -540,7 +540,7 @@
+ AC_MSG_RESULT(no)
+ NSS_FOUND="without"
+ elif test "z$with_nss" = "z" -a "z$with_nspr" = "z" -a "z$with_mozilla_ver" = "z" -a "z$PKG_CONFIG_ENABLED" = "zyes" ; then
+- PKG_CHECK_MODULES(NSS, mozilla-nspr >= $MOZILLA_MIN_VERSION mozilla-nss >= $MOZILLA_MIN_VERSION,
++ PKG_CHECK_MODULES(NSS, nspr >= $NSPR_MIN_VERSION nss >= $NSS_MIN_VERSION,
+ [NSS_FOUND=yes],
+ [NSS_FOUND=no])
+ fi
+--- xmlsec1-1.2.9/configure.orig 2006-01-23 12:23:43.000000000 +0100
++++ xmlsec1-1.2.9/configure 2006-01-23 12:24:00.000000000 +0100
+@@ -25929,23 +25929,23 @@
+ else
+ PKG_CONFIG_MIN_VERSION=0.9.0
+ if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+- echo "$as_me:$LINENO: checking for mozilla-nspr >= $MOZILLA_MIN_VERSION mozilla-nss >= $MOZILLA_MIN_VERSION" >&5
+-echo $ECHO_N "checking for mozilla-nspr >= $MOZILLA_MIN_VERSION mozilla-nss >= $MOZILLA_MIN_VERSION... $ECHO_C" >&6
++ echo "$as_me:$LINENO: checking for nspr >= $NSPR_MIN_VERSION nss >= $NSS_MIN_VERSION" >&5
++echo $ECHO_N "checking for nspr >= $NSPR_MIN_VERSION nss >= $NSS_MIN_VERSION... $ECHO_C" >&6
+
+- if $PKG_CONFIG --exists "mozilla-nspr >= $MOZILLA_MIN_VERSION mozilla-nss >= $MOZILLA_MIN_VERSION" ; then
++ if $PKG_CONFIG --exists "nspr >= $NSPR_MIN_VERSION nss >= $NSS_MIN_VERSION" ; then
+ echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ succeeded=yes
+
+ echo "$as_me:$LINENO: checking NSS_CFLAGS" >&5
+ echo $ECHO_N "checking NSS_CFLAGS... $ECHO_C" >&6
+- NSS_CFLAGS=`$PKG_CONFIG --cflags "mozilla-nspr >= $MOZILLA_MIN_VERSION mozilla-nss >= $MOZILLA_MIN_VERSION"`
++ NSS_CFLAGS=`$PKG_CONFIG --cflags "nspr >= $NSPR_MIN_VERSION nss >= $NSS_MIN_VERSION"`
+ echo "$as_me:$LINENO: result: $NSS_CFLAGS" >&5
+ echo "${ECHO_T}$NSS_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking NSS_LIBS" >&5
+ echo $ECHO_N "checking NSS_LIBS... $ECHO_C" >&6
+- NSS_LIBS=`$PKG_CONFIG --libs "mozilla-nspr >= $MOZILLA_MIN_VERSION mozilla-nss >= $MOZILLA_MIN_VERSION"`
++ NSS_LIBS=`$PKG_CONFIG --libs "nspr >= $NSPR_MIN_VERSION nss >= $NSS_MIN_VERSION"`
+ echo "$as_me:$LINENO: result: $NSS_LIBS" >&5
+ echo "${ECHO_T}$NSS_LIBS" >&6
+ else
+@@ -25953,7 +25953,7 @@
+ NSS_LIBS=""
+ ## If we have a custom action on failure, don't print errors, but
+ ## do set a variable so people can do so.
+- NSS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-nspr >= $MOZILLA_MIN_VERSION mozilla-nss >= $MOZILLA_MIN_VERSION"`
++ NSS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "nspr >= $NSPR_MIN_VERSION nss >= $NSS_MIN_VERSION"`
+
+ fi
+
+--- xmlsec1-1.2.9/xmlsec-nss.pc.in.orig 2005-11-30 15:05:31.000000000 +0100
++++ xmlsec1-1.2.9/xmlsec-nss.pc.in 2005-11-30 15:07:00.000000000 +0100
+@@ -7,6 +7,6 @@
+ Name: xmlsec1-nss
+ Version: @VERSION@
+ Description: XML Security Library implements XML Signature and XML Encryption standards
+-Requires: libxml-2.0 >= @LIBXML_MIN_VERSION@ libxslt >= @LIBXSLT_MIN_VERSION@ mozilla-nss >= @MOZILLA_MIN_VERSION@
++Requires: libxml-2.0 >= @LIBXML_MIN_VERSION@ libxslt >= @LIBXSLT_MIN_VERSION@ nss >= @NSS_MIN_VERSION@
+ Cflags: -DXMLSEC_CRYPTO=\\\"nss\\\" -DXMLSEC_CRYPTO_NSS=1 @XMLSEC_CORE_CFLAGS@
+ Libs: -L${libdir} -lxmlsec1-nss @XMLSEC_CORE_LIBS@
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
deleted file mode 100644
index 487643656908..000000000000
--- a/dev-libs/xmlsec/files/xmlsec-1.2.2-nss-nspr-configure.in.patch
+++ /dev/null
@@ -1,115 +0,0 @@
---- 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.5.ebuild b/dev-libs/xmlsec/xmlsec-1.2.5.ebuild
deleted file mode 100644
index c2e3303c5f1b..000000000000
--- a/dev-libs/xmlsec/xmlsec-1.2.5.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/xmlsec-1.2.5.ebuild,v 1.7 2005/09/29 02:21:34 vanquirius Exp $
-
-inherit eutils
-
-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="~x86 ~amd64 ~sparc ~ppc"
-IUSE="ssl mozilla gnutls"
-
-DEPEND=">=sys-devel/autoconf-2.2
- >=dev-libs/libxml2-2.4.2
- >=dev-libs/libxslt-1.0.20
- dev-util/pkgconfig
- ssl? ( >=dev-libs/openssl-0.9.6c )
- gnutls? ( >=net-libs/gnutls-0.8.1 )
- mozilla? ( >=dev-libs/nspr-4.0
- >=dev-libs/nss-3.2 )"
-
-S="${WORKDIR}/${PN}1-${PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-1.2.2-nss-nspr-configure.in.patch
-}
-
-src_compile() {
- autoconf
-
- local myconf
-
- if use ssl && [ "`best_version dev-libs/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 --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 README NEWS
-}
diff --git a/dev-libs/xmlsec/xmlsec-1.2.8.ebuild b/dev-libs/xmlsec/xmlsec-1.2.9-r1.ebuild
index bdda597ed204..8d9994eb762c 100644
--- a/dev-libs/xmlsec/xmlsec-1.2.8.ebuild
+++ b/dev-libs/xmlsec/xmlsec-1.2.9-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/xmlsec-1.2.8.ebuild,v 1.2 2005/09/29 02:21:34 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/xmlsec-1.2.9-r1.ebuild,v 1.1 2006/01/26 22:31:04 vanquirius Exp $
inherit eutils
@@ -24,12 +24,23 @@ DEPEND=">=sys-devel/autoconf-2.2
S="${WORKDIR}/${PN}1-${PV}"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/nss.patch
+}
+
src_compile() {
- econf --enable-xkms `use_with mozilla nss` `use_with mozilla nspr` \
- `use_enable ssl openssl` `use_enable ssl aes` --with-html-dir=/usr/share/doc/${PF} \
+
+ econf --enable-xkms \
+ $(use_enable ssl openssl) $(use_enable ssl aes) --with-html-dir=/usr/share/doc/${PF} \
|| die "configure failed"
emake || die "emake failed"
}
+
+src_test() {
+ TMPFOLDER="${T}" make check || die
+}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
dodoc AUTHORS README NEWS