From 2438300faf411f51864b57250ecd4b919ca70fca Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Sun, 14 Jan 2007 19:34:30 +0000 Subject: [PATCH] Remove old versions that fail with gcc4, bug 152295 Package-Manager: portage-2.1.2_rc4-r9 --- net-libs/libsoup/Manifest | 41 ++------ net-libs/libsoup/files/digest-libsoup-1.99.28 | 3 - .../libsoup/files/digest-libsoup-1.99.28-r1 | 3 - .../libsoup/files/libsoup-1.99.26-msn.patch | 21 ----- .../files/libsoup-1.99.26-with_ssl.patch | 94 ------------------- .../files/libsoup-1.99.28-gnutls.patch | 48 ---------- net-libs/libsoup/libsoup-1.99.28-r1.ebuild | 51 ---------- net-libs/libsoup/libsoup-1.99.28.ebuild | 51 ---------- 8 files changed, 7 insertions(+), 305 deletions(-) delete mode 100644 net-libs/libsoup/files/digest-libsoup-1.99.28 delete mode 100644 net-libs/libsoup/files/digest-libsoup-1.99.28-r1 delete mode 100644 net-libs/libsoup/files/libsoup-1.99.26-msn.patch delete mode 100644 net-libs/libsoup/files/libsoup-1.99.26-with_ssl.patch delete mode 100644 net-libs/libsoup/files/libsoup-1.99.28-gnutls.patch delete mode 100644 net-libs/libsoup/libsoup-1.99.28-r1.ebuild delete mode 100644 net-libs/libsoup/libsoup-1.99.28.ebuild diff --git a/net-libs/libsoup/Manifest b/net-libs/libsoup/Manifest index 9a0003c9f96f..c93085668c24 100644 --- a/net-libs/libsoup/Manifest +++ b/net-libs/libsoup/Manifest @@ -1,31 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX libsoup-1.99.26-msn.patch 627 RMD160 5228ac45922496e1f7e9cc0a3a7973f9bfde00f2 SHA1 389fd60cf7eb4bedaf0698d42b3a04b47bda2c96 SHA256 6005589fe38b2317985c62de5b910395883113258d8760776706a47cf2aab6b3 -MD5 6128cc7bbf088e07b4040e8296a7c57b files/libsoup-1.99.26-msn.patch 627 -RMD160 5228ac45922496e1f7e9cc0a3a7973f9bfde00f2 files/libsoup-1.99.26-msn.patch 627 -SHA256 6005589fe38b2317985c62de5b910395883113258d8760776706a47cf2aab6b3 files/libsoup-1.99.26-msn.patch 627 -AUX libsoup-1.99.26-with_ssl.patch 2861 RMD160 3d8c53e3c196caa1b79204ff95e0ebdae1837d08 SHA1 3334df05325ed28c28a26ea200de640dcc6e7527 SHA256 7d6ae37402f87452a6170a15074071c8715e88e4f6d6d9b5adca7c3241493a79 -MD5 09a0c3f27613d90ffeb8abb875598ace files/libsoup-1.99.26-with_ssl.patch 2861 -RMD160 3d8c53e3c196caa1b79204ff95e0ebdae1837d08 files/libsoup-1.99.26-with_ssl.patch 2861 -SHA256 7d6ae37402f87452a6170a15074071c8715e88e4f6d6d9b5adca7c3241493a79 files/libsoup-1.99.26-with_ssl.patch 2861 -AUX libsoup-1.99.28-gnutls.patch 1275 RMD160 ff1181990fa0e7849b372d36a343a881181c98c6 SHA1 eaa34d1e62cd7d282c962276c14f9eafce24236f SHA256 bb35d50010ac2a4ec1a35fdf103ae0c7e46663bc55a9b760700f16200d821b78 -MD5 dc791ddf4cb75ab5325eea016e52e09b files/libsoup-1.99.28-gnutls.patch 1275 -RMD160 ff1181990fa0e7849b372d36a343a881181c98c6 files/libsoup-1.99.28-gnutls.patch 1275 -SHA256 bb35d50010ac2a4ec1a35fdf103ae0c7e46663bc55a9b760700f16200d821b78 files/libsoup-1.99.28-gnutls.patch 1275 -DIST libsoup-1.99.28.tar.bz2 233412 RMD160 b128cc155f270543b0d99ec5e6d1a29c317f8208 SHA1 bd2af804dae4ade4e4a79163e0f9e808bafa64f1 SHA256 119acf5d118e31397cb4f856d23ab6480db179d3d7f1aaadc17abe8407cee9e6 DIST libsoup-2.2.3.tar.bz2 358161 RMD160 525ec7ce84069d4b89f8a16385b12b96b5dbae2e SHA1 9df2f927ae2716d4e40279a9ffcc0ac70e83a41b SHA256 3328ff6f23b95ebd975edb413d6055ef7a268c4a6c2bf8217f62bd7567d5c624 DIST libsoup-2.2.94.tar.bz2 482846 RMD160 9c357f4cf8697a81299acb1a831ab998535607d8 SHA1 493d6f0d67de8014378c595e7eae78b829abd923 SHA256 4f9abbf3eba8f3dff77b7d54f04fc63d8cf29ab7f04be138593e8851d8bdbae1 DIST libsoup-2.2.98.tar.bz2 501406 RMD160 5e2ab616c09f2b069fdc4d40d3c816ffc1bc9481 SHA1 ea54df3accba13985d2d595ba0386bc78dc3a24e SHA256 d98203f017c6e1de7dca2037c533000705fc86b12f29694ddb4db17854e5498a DIST libsoup-2.2.99.tar.bz2 508581 RMD160 c71e7a296983d1a63a3f133a7c06b8b4d0e3cb95 SHA1 a4ba4612630391d0b127acb3a246e783ca4f1647 SHA256 9be264279e4f5f59069dea6d2f5a08a1f79694de7a5883e7fed5484275b3cfad -EBUILD libsoup-1.99.28-r1.ebuild 1451 RMD160 6a0d7f8c218297a400c951f8e203be26d3409200 SHA1 454112dd3fe8f861c10ca2fb9df19941ff18dcac SHA256 421c5bc719c3f2f84e633223d16e4098256b960d10b192770325fd958f3d5877 -MD5 0ffa00e57cc842e0c26f596d56daee27 libsoup-1.99.28-r1.ebuild 1451 -RMD160 6a0d7f8c218297a400c951f8e203be26d3409200 libsoup-1.99.28-r1.ebuild 1451 -SHA256 421c5bc719c3f2f84e633223d16e4098256b960d10b192770325fd958f3d5877 libsoup-1.99.28-r1.ebuild 1451 -EBUILD libsoup-1.99.28.ebuild 1380 RMD160 5e1e3b7ecd6b93cb5fee77f61d5d81720a279835 SHA1 2bcf7c1304fc5808cce114f4da17bb117b8f0636 SHA256 65de223a0c2c34b66e8a8b3697b8e664d349a014db292423722aec3e61f9da12 -MD5 ab2763b9426be6cf518c6febf807aca3 libsoup-1.99.28.ebuild 1380 -RMD160 5e1e3b7ecd6b93cb5fee77f61d5d81720a279835 libsoup-1.99.28.ebuild 1380 -SHA256 65de223a0c2c34b66e8a8b3697b8e664d349a014db292423722aec3e61f9da12 libsoup-1.99.28.ebuild 1380 EBUILD libsoup-2.2.3-r1.ebuild 755 RMD160 c5fbab9f10c437c027d7781473eaf4919d147ee4 SHA1 4f58c70c8f901175729d223080edf96d7de3c0d3 SHA256 10e0aa59ce3f70ca44698e6e7810c37ca368ece6c6e43b0a714096579cfa7331 MD5 17bd009dd39268c10da424baa69eaf3d libsoup-2.2.3-r1.ebuild 755 RMD160 c5fbab9f10c437c027d7781473eaf4919d147ee4 libsoup-2.2.3-r1.ebuild 755 @@ -42,20 +21,14 @@ EBUILD libsoup-2.2.99.ebuild 677 RMD160 39096daa43346e0bbcedc4633d95a4ce8b0cbe07 MD5 323b4e4d7c1fbe53b948b3dc66869014 libsoup-2.2.99.ebuild 677 RMD160 39096daa43346e0bbcedc4633d95a4ce8b0cbe07 libsoup-2.2.99.ebuild 677 SHA256 a4328459e201052affa4f0684b36220198df2f2e5ce6e653f0bef325fbc9c8e6 libsoup-2.2.99.ebuild 677 -MISC ChangeLog 12458 RMD160 04d54dcb3918d166813eec123dd3a3f3655118bc SHA1 079530202d0771bdf3581a01b8457490021966ef SHA256 b2d6980e621be90d41b7e96c16e34fcc0f40d964a955bcf774d34f43b3736199 -MD5 0e53da35d9dbba80fa49b678778c32d4 ChangeLog 12458 -RMD160 04d54dcb3918d166813eec123dd3a3f3655118bc ChangeLog 12458 -SHA256 b2d6980e621be90d41b7e96c16e34fcc0f40d964a955bcf774d34f43b3736199 ChangeLog 12458 +MISC ChangeLog 12729 RMD160 67210b5386f607d1dd293f9073dbcbed6a87afc6 SHA1 4d9b062a644d2fc1c162b45498ea55f2fdd68ac8 SHA256 862235a4d9ade5b4f4998173268de9debcad798aa68b19fa26e7a9a93a871df7 +MD5 81939a32e51b3b1eb9ab6660364611fe ChangeLog 12729 +RMD160 67210b5386f607d1dd293f9073dbcbed6a87afc6 ChangeLog 12729 +SHA256 862235a4d9ade5b4f4998173268de9debcad798aa68b19fa26e7a9a93a871df7 ChangeLog 12729 MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e metadata.xml 158 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 metadata.xml 158 -MD5 05e8a6e897ce37ebe9d3a318844a3ec7 files/digest-libsoup-1.99.28 250 -RMD160 e04f315a45e1bdc0edffedbc6740d674a5a24cda files/digest-libsoup-1.99.28 250 -SHA256 f2c651120193e46fd3e8c2e1a328295851f56efec4c95ce78688c0bc511d1c7c files/digest-libsoup-1.99.28 250 -MD5 05e8a6e897ce37ebe9d3a318844a3ec7 files/digest-libsoup-1.99.28-r1 250 -RMD160 e04f315a45e1bdc0edffedbc6740d674a5a24cda files/digest-libsoup-1.99.28-r1 250 -SHA256 f2c651120193e46fd3e8c2e1a328295851f56efec4c95ce78688c0bc511d1c7c files/digest-libsoup-1.99.28-r1 250 MD5 70c1b611bc5d60a52655366067725efc files/digest-libsoup-2.2.3-r1 244 RMD160 a74b29d79645b5febc2851773b1ce8f34a2d75d9 files/digest-libsoup-2.2.3-r1 244 SHA256 91f1e28dbe58076ab4162dda3d0b35504b3e807553033f343ca1e30c75840db0 files/digest-libsoup-2.2.3-r1 244 @@ -71,7 +44,7 @@ SHA256 7999e016826359777170007d6b10421a063b3fba65b34fa66c15a2a776bb2dce files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) -iD8DBQFFqeNakeYb6olFHJcRAm1hAKDeph9vbptI4uPhycFM9SW1t5TAjgCfXjh5 -DvryZHlGH8LwchEaZpC2YR4= -=MxY8 +iD8DBQFFqoWykeYb6olFHJcRAvRFAJ4vzYuibfwjYpUWnochdeFiRQcZ0ACfWeWq +vgy4j8V/VCHdSHFbFDK9jsI= +=GvL0 -----END PGP SIGNATURE----- diff --git a/net-libs/libsoup/files/digest-libsoup-1.99.28 b/net-libs/libsoup/files/digest-libsoup-1.99.28 deleted file mode 100644 index fa503998dfea..000000000000 --- a/net-libs/libsoup/files/digest-libsoup-1.99.28 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 c33f1cb5697ef9b9ad6cd8482c4c2abb libsoup-1.99.28.tar.bz2 233412 -RMD160 b128cc155f270543b0d99ec5e6d1a29c317f8208 libsoup-1.99.28.tar.bz2 233412 -SHA256 119acf5d118e31397cb4f856d23ab6480db179d3d7f1aaadc17abe8407cee9e6 libsoup-1.99.28.tar.bz2 233412 diff --git a/net-libs/libsoup/files/digest-libsoup-1.99.28-r1 b/net-libs/libsoup/files/digest-libsoup-1.99.28-r1 deleted file mode 100644 index fa503998dfea..000000000000 --- a/net-libs/libsoup/files/digest-libsoup-1.99.28-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 c33f1cb5697ef9b9ad6cd8482c4c2abb libsoup-1.99.28.tar.bz2 233412 -RMD160 b128cc155f270543b0d99ec5e6d1a29c317f8208 libsoup-1.99.28.tar.bz2 233412 -SHA256 119acf5d118e31397cb4f856d23ab6480db179d3d7f1aaadc17abe8407cee9e6 libsoup-1.99.28.tar.bz2 233412 diff --git a/net-libs/libsoup/files/libsoup-1.99.26-msn.patch b/net-libs/libsoup/files/libsoup-1.99.26-msn.patch deleted file mode 100644 index 976036432b5f..000000000000 --- a/net-libs/libsoup/files/libsoup-1.99.26-msn.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -uNr usr/src/libsoup-1.99.26/libsoup/soup-transfer.c tmp/libsoup-1.99.26/libsoup/soup-transfer.c ---- usr/src/libsoup-1.99.26/libsoup/soup-transfer.c 2003-06-23 17:52:34.000000000 +0200 -+++ tmp/libsoup-1.99.26/libsoup/soup-transfer.c 2003-10-19 01:51:03.000000000 +0200 -@@ -198,7 +198,7 @@ - GIOCondition condition, - SoupReader *r) - { -- gboolean body_started = r->recv_buf->len > r->header_len; -+ gboolean body_started = r->header_len > 0; - - soup_transfer_read_stop (r); - -@@ -380,7 +381,7 @@ - } - } - -- return r->content_length == arr->len; -+ return arr->len >= r->content_length; - } - - static gboolean diff --git a/net-libs/libsoup/files/libsoup-1.99.26-with_ssl.patch b/net-libs/libsoup/files/libsoup-1.99.26-with_ssl.patch deleted file mode 100644 index 61486d56f582..000000000000 --- a/net-libs/libsoup/files/libsoup-1.99.26-with_ssl.patch +++ /dev/null @@ -1,94 +0,0 @@ ---- libsoup-1.99.26/configure.in 2003-09-12 22:07:05.000000000 +0100 -+++ libsoup-1.99.26/configure.in 2003-09-28 09:55:18.779887808 +0100 -@@ -177,9 +177,10 @@ - dnl *** SSL Library checks (GnuTLS, Mozilla NSS, or OpenSSL) *** - dnl ************************************************************ - --AC_ARG_ENABLE(ssl, -- [ --enable-ssl Turn on Secure Sockets Layer support [default=yes]],, -- enable_ssl=yes) -+AC_ARG_WITH(ssl, -+ [ --with-ssl=yes|no|gnutls|openssl Specify Secure Socket Layer Support and Implementation Preference (default=yes)], -+ [with_ssl=$withval], -+ [with_ssl=yes]) - - dnl NSS AC_ARG_WITH(nspr-includes, - dnl NSS [ --with-nspr-includes Specify location of Netscape Portable Runtime headers], -@@ -242,43 +243,44 @@ - enable_openssl="no" - dnl NSS enable_nss="no" - --if test "x$enable_ssl" = xyes; then -+if test "x$with_ssl" != xno; then - found_ssl= - - ### - ### Check for GnuTLS - ### -- save_CPPFLAGS=$CPPFLAGS -- CPPFLAGS="$CPPFLAGS $gnutls_inc_prefix" -- AC_CHECK_HEADERS(gnutls/gnutls.h, -+ if test "x$with_ssl" != "xopenssl"; then -+ save_CPPFLAGS=$CPPFLAGS -+ CPPFLAGS="$CPPFLAGS $gnutls_inc_prefix" -+ AC_CHECK_HEADERS(gnutls/gnutls.h, - [enable_gnutls="yes"], - [enable_gnutls="no"; break]) - -- if test "x$enable_gnutls" = xyes; then -- if test "x$enable_static_ssl" = "xyes"; then -- GNUTLS_LIBS="$gnutls_prefix/libgnutls.a $gnutls_prefix/libgcrypt.a" -+ if test "x$enable_gnutls" = xyes; then -+ if test "x$enable_static_ssl" = "xyes"; then -+ GNUTLS_LIBS="$gnutls_prefix/libgnutls.a $gnutls_prefix/libgcrypt.a" -+ else -+ GNUTLS_LIBS="-L$gnutls_prefix -lgnutls -lgcrypt" -+ fi -+ GNUTLS_CFLAGS=$CPPFLAGS -+ AC_DEFINE(HAVE_GNUTLS, 1, -+ [Defined if you are using GnuTLS for SSL support]) -+ found_ssl=yes - else -- GNUTLS_LIBS="-L$gnutls_prefix -lgnutls -lgcrypt" -+ GNUTLS_LIBS= -+ GNUTLS_CFLAGS= - fi -- GNUTLS_CFLAGS=$CPPFLAGS -- AC_DEFINE(HAVE_GNUTLS, 1, -- [Defined if you are using GnuTLS for SSL support]) -- found_ssl=yes -- else -- GNUTLS_LIBS= -- GNUTLS_CFLAGS= -- fi -- -- AC_SUBST(GNUTLS_CFLAGS) -- AC_SUBST(GNUTLS_LIBS) -- CPPFLAGS=$save_CPPFLAGS - -- AM_CONDITIONAL(BUILD_PROXY, false) -+ AC_SUBST(GNUTLS_CFLAGS) -+ AC_SUBST(GNUTLS_LIBS) -+ CPPFLAGS=$save_CPPFLAGS - -+ AM_CONDITIONAL(BUILD_PROXY, false) -+ fi - ### - ### Check for OpenSSL - ### -- if test "x$found_ssl" != "xyes"; then -+ if test "x$found_ssl" != "xyes" -a "x$with_ssl" != "xgnutls"; then - PKG_CHECK_MODULES(OPENSSL, openssl, enable_openssl=yes, [ - save_CPPFLAGS=$CPPFLAGS - CPPFLAGS="$CPPFLAGS $openssl_inc_prefix" -@@ -311,6 +313,10 @@ - AC_SUBST(OPENSSL_CFLAGS) - AC_SUBST(OPENSSL_LIBS) - fi -+ -+ if test "x$enable_openssl" = "xno" -a "x$enable_gnutls" = "xno"; then -+ AC_MSG_ERROR("Cannot find GnuTLS or OpenSSL") -+ fi - - dnl NSS ### - dnl NSS ### Check for Mozilla NSS diff --git a/net-libs/libsoup/files/libsoup-1.99.28-gnutls.patch b/net-libs/libsoup/files/libsoup-1.99.28-gnutls.patch deleted file mode 100644 index 20b4d4ef78c5..000000000000 --- a/net-libs/libsoup/files/libsoup-1.99.28-gnutls.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff -NurdB libsoup-1.99.28/libsoup/soup-gnutls.c libsoup-1.99.28-patched/libsoup/soup-gnutls.c ---- libsoup-1.99.28/libsoup/soup-gnutls.c 2003-03-31 17:32:48.000000000 -0500 -+++ libsoup-1.99.28-patched/libsoup/soup-gnutls.c 2005-05-30 00:20:21.000000000 -0500 -@@ -76,8 +76,9 @@ - } - - if (status & GNUTLS_CERT_INVALID || -+#ifdef GNUTLS_CERT_NOT_TRUSTED - status & GNUTLS_CERT_NOT_TRUSTED || -- status & GNUTLS_CERT_CORRUPTED || -+#endif - status & GNUTLS_CERT_REVOKED) - { - g_warning ("The certificate is not trusted."); -@@ -328,31 +329,19 @@ - static gboolean - init_dh_params (void) - { -- gnutls_datum prime, generator; -- - if (gnutls_dh_params_init (&dh_params) != 0) - goto THROW_CREATE_ERROR; - -- if (gnutls_dh_params_generate (&prime, &generator, DH_BITS) != 0) -- goto THROW_CREATE_ERROR; -- -- if (gnutls_dh_params_set (dh_params, prime, generator, DH_BITS) != 0) -+ if (gnutls_dh_params_generate2 (dh_params, DH_BITS) != 0) - goto THROW_CREATE_ERROR; - -- free (prime.data); -- free (generator.data); -- - return TRUE; - -- THROW_CREATE_ERROR: -+THROW_CREATE_ERROR: - if (dh_params) { - gnutls_dh_params_deinit (dh_params); - dh_params = NULL; - } -- if (prime.data) -- free (prime.data); -- if (generator.data) -- free (generator.data); - return FALSE; - } - diff --git a/net-libs/libsoup/libsoup-1.99.28-r1.ebuild b/net-libs/libsoup/libsoup-1.99.28-r1.ebuild deleted file mode 100644 index d2bc1bde1aff..000000000000 --- a/net-libs/libsoup/libsoup-1.99.28-r1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup/libsoup-1.99.28-r1.ebuild,v 1.2 2005/07/06 07:53:26 leonardop Exp $ - -inherit gnome.org libtool eutils - -DESCRIPTION="Soup is a SOAP implementation" -HOMEPAGE="http://www.gnome.org/" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc x86" -IUSE="gnutls static" - -RDEPEND=">=dev-libs/glib-2.0 - !gnutls? ( dev-libs/openssl ) - gnutls? ( >=net-libs/gnutls-1 )" -DEPEND=">=dev-util/pkgconfig-0.12.0 - dev-libs/popt - sys-devel/automake - sys-devel/autoconf - ${RDEPEND}" - -src_unpack() { - unpack ${A} - EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PN}-1.99.26-msn.patch - EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${P}-gnutls.patch - # added --with-ssl=openssl|gnutls to choose between the two. - export WANT_AUTOCONF=1.4 - EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PN}-1.99.26-with_ssl.patch - cd ${S}; autoconf -} - -src_compile() { - local myconf="$(use_enable static) $(use_enable static static-ssl)" - elibtoolize - - # current build system deems ssl as NOT AN OPTION. - # use ssl && myconf="--enable-ssl --enable-openssl" - use gnutls \ - && myconf="${myconf} --with-ssl=gnutls" \ - || myconf="${myconf} --with-ssl=openssl" - - econf ${myconf} || die "configure failed" - emake || die "make failed" -} - -src_install() { - einstall || die "install failed" - dodoc AUTHORS ChangeLog README* TODO -} diff --git a/net-libs/libsoup/libsoup-1.99.28.ebuild b/net-libs/libsoup/libsoup-1.99.28.ebuild deleted file mode 100644 index 01ccd9b70095..000000000000 --- a/net-libs/libsoup/libsoup-1.99.28.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup/libsoup-1.99.28.ebuild,v 1.13 2005/05/30 06:31:59 leonardop Exp $ - -inherit gnome.org libtool eutils - -DESCRIPTION="Soup is a SOAP implementation" -HOMEPAGE="http://www.gnome.org/" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc sparc x86" -IUSE="gnutls" - -RDEPEND=">=dev-libs/glib-2.0 - !gnutls? ( dev-libs/openssl ) - gnutls? ( >=net-libs/gnutls-1 )" -DEPEND=">=dev-util/pkgconfig-0.12.0 - dev-libs/popt - sys-devel/automake - sys-devel/autoconf - ${RDEPEND}" - -src_unpack() { - unpack ${A} - EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PN}-1.99.26-msn.patch - EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${P}-gnutls.patch - # added --with-ssl=openssl|gnutls to choose between the two. - export WANT_AUTOCONF=1.4 - EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PN}-1.99.26-with_ssl.patch - cd ${S}; autoconf -} - -src_compile() { - local myconf - elibtoolize - - # current build system deems ssl as NOT AN OPTION. - # use ssl && myconf="--enable-ssl --enable-openssl" - use gnutls \ - && myconf="${myconf} --with-ssl=gnutls" \ - || myconf="${myconf} --with-ssl=openssl" - - econf ${myconf} || die "configure failed" - emake || die "make failed" -} - -src_install() { - einstall || die "install failed" - dodoc AUTHORS ChangeLog README* TODO -} -- 2.26.2