Portage is a package management system used by Gentoo Linux
# ChangeLog for net-libs/libwww
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libwww/ChangeLog,v 1.77 2007/07/12 10:21:05 uberlord Exp $
12 Jul 2007; Roy Marples
Keyworded ~sparc-fbsd.
12 May 2007; Joshua Kinard
Stable on mips.
20 Dec 2006; Alexandre Buisse
libwww-5.4.0-r3.ebuild, libwww-5.4.0-r4.ebuild, libwww-5.4.0-r5.ebuild,
libwww-5.4.0-r6.ebuild, libwww-5.4.0-r7.ebuild:
Removed unnecessary block of 9lib (bug #132120).
23 Nov 2006; Francesco Riosa
libwww-5.4.0-r4.ebuild, libwww-5.4.0-r5.ebuild, libwww-5.4.0-r6.ebuild,
libwww-5.4.0-r7.ebuild:
dev-db/mysql => virtual/mysql
04 Nov 2006;
stable on amd64
01 Nov 2006; Bryan Østergaard
Stable on Alpha, bug 150198.
20 Oct 2006; Paul Varner
x86 stable - bug #150198
15 Oct 2006; Tobias Scherbaum
libwww-5.4.0-r7.ebuild:
hppa stable, bug #150198
15 Oct 2006; Jason Wever
Stable on SPARC wrt bug #150198.
14 Oct 2006; Markus Rothe
Stable on ppc64; bug #150198
13 Oct 2006; Stephanie Lockwood-Childs
libwww-5.4.0-r7.ebuild:
stable on ppc (Bug #150198)
*libwww-5.4.0-r7 (08 Oct 2006)
08 Oct 2006; Mike Frysinger
Fix the as-needed patch again #150198 and move patches into a tarball on the
mirrors.
05 Oct 2006; Fabian Groffen
-files/libwww-5.4.0-automake-macos.patch, libwww-5.4.0-r3.ebuild,
libwww-5.4.0-r4.ebuild, libwww-5.4.0-r5.ebuild, libwww-5.4.0-r6.ebuild:
Dropped ppc-macos keyword, see you in prefix.
04 Oct 2006; Diego Pettenò
libwww-5.4.0-r4.ebuild, libwww-5.4.0-r5.ebuild, libwww-5.4.0-r6.ebuild:
Actually, automake 1.9 seems to work only on some systems for this, use 1.4
for safety.
04 Oct 2006; Diego Pettenò
libwww-5.4.0-r4.ebuild, libwww-5.4.0-r5.ebuild, libwww-5.4.0-r6.ebuild:
Always use autotools eclass, and force latest autoconf/automake versions,
closing bug #148199.
01 Oct 2006; Guy Martin
Stable on hppa.
29 Sep 2006;
Stable on x86, bug #56328.
25 Sep 2006; Jason Wever
Stable on SPARC wrt bug #56328.
24 Sep 2006;
stable on amd64
24 Sep 2006; Joseph Jezak
Marked ppc stable for bug #56328.
23 Sep 2006; Markus Rothe
Stable on ppc64; bug #56328
*libwww-5.4.0-r6 (25 Jun 2006)
25 Jun 2006; Francesco Riosa
+files/libwww-5.4.0-mysql-4.0.patch, +libwww-5.4.0-r6.ebuild:
Updated patch to apply also in MySQL 4.0.27, thanks to Dan Christensen, for
reporting it, bug #56328
14 May 2006; Fabian Groffen
Removed ppc-macos, it doesn't eautoreconf (bug #117919)
01 May 2006; Martin Ehmsen
files/libwww-5.4.0-asneeded.patch:
Merged new --as-needed fixes thanks to TGL
#131698.
14 Apr 2006; Diego Pettenò
Add ~x86-fbsd keyword.
19 Mar 2006; Martin Ehmsen
+files/libwww-5.4.0-respectflags.patch, libwww-5.4.0-r5.ebuild:
Added patch to make Makefiles respect users LDFLAGS,
thanks to flameeyes (bug #126863).
08 Jan 2006; Diego Pettenò
files/libwww-5.4.0-asneeded.patch:
Improve --as-needed patch so that it works with examples and other packages
linking to it.
*libwww-5.4.0-r5 (06 Jan 2006)
06 Jan 2006; Alexandre Buisse
+files/libwww-5.4.0-asneeded.patch,
+files/libwww-5.4.0-automake-macos.patch,
+files/libwww-5.4.0-noexport.patch, +libwww-5.4.0-r5.ebuild:
Bump to -r5 : allow compilation with --as-needed ldflag, correct a problem
when running autoreconf and simplify ebuild for ppc-macos. Thanks to
Flameeyes and grobian (bug #117919).
20 Nov 2005; Hardave Riar
Stable on mips, bug #109040.
06 Nov 2005; MATSUU Takuto
Stable on sh.
31 Oct 2005; Brent Baude
Marking libwww-5.4.0-r4 ppc64 stable for bug 109040
31 Oct 2005; Leonardo Boshell
libwww-5.4.0-r4.ebuild:
Moved perl dependency from RDEPEND to DEPEND (bug #101073).
30 Oct 2005; Bryan Østergaard
Stable on ia64.
29 Oct 2005; Michael Hanselmann
libwww-5.4.0-r4.ebuild:
Stable on hppa, ppc. See bug #109040.
29 Oct 2005; Mark Loeser
Stable on x86; bug #109040
28 Oct 2005; Fernando J. Pereda
stable on alpha as per bug #109040
28 Oct 2005; Simon Stelling
stable on amd64 wrt bug 109040
28 Oct 2005; Fabian Groffen
Reverting elibtoolize change, and back to ppc-macos conditional on request of
leonardop
28 Oct 2005; Gustavo Zacarias
libwww-5.4.0-r4.ebuild:
Stable on sparc wrt #109040
28 Oct 2005; Fabian Groffen
Marked ppc-macos for bug #109040 and removed ppc-macos conditional *libtoolize
28 Oct 2005; Leonardo Boshell
files/libwww-5.4.0-htbound.patch:
Remove CVS expansion string (bug #110662).
*libwww-5.4.0-r4 (27 Oct 2005)
27 Oct 2005; Leonardo Boshell
+files/libwww-5.4.0-htbound.patch, +libwww-5.4.0-r4.ebuild:
Added patch with a new implementation of HTBound.c, fixing several logic
errors (bug #109040).
30 Sep 2005; MATSUU Takuto
Stable on sh.
22 Jun 2005; Herbie Hopkins
Fix multilib issue.
*libwww-5.4.0-r3 (17 May 2005)
17 May 2005; Robin H. Johnson
+files/libwww-5.4.0-mysql-4.1.patch, +libwww-5.4.0-r3.ebuild:
New revision with patch to handle mysql-4.1 support.
01 Jul 2004; Tom Gall
stable on ppc64, bug #54799
10 May 2004; Mamoru KOMACHI
libwww-5.4.0-r2.ebuild, files/libwww-5.4.0-disable-ndebug-gentoo.diff:
Fixed compile error when -DNDEBUG is set. Thanks to #gentoo.pl Team -
sekretarz
the CVS tree.
27 Apr 2004; Aron Griffis
Add inherit eutils
02 Apr 2004;
adding s390 keywords
25 Mar 2004; Joshua Kinard
libwww-5.4.0-r2.ebuild:
Marked stable on mips.
25 Mar 2004; Mamoru KOMACHI
files/libwww-5.4.0-automake-gentoo.diff:
Added a patch to fix Makefile.am. See bug #41959
13 Mar 2004; Stephen P. Becker
Added ~mips keyword.
13 Mar 2004; Mamoru KOMACHI
files/libwww-5.4.0-autoconf-gentoo.diff:
Fixed compile error when stratego is installed. See bug #44037
09 Mar 2004;
stable on alpha and ia64
26 Feb 2004; Joshua Kinard
Added ~mips to KEYWORDS to satisfy repoman deps.
20 Feb 2004; Mamoru KOMACHI
Marked stable on all arches. Closing bug #41959
*libwww-5.4.0-r2 (07 Oct 2003)
08 Feb 2004; Mike Frysinger
Add debian patch to update to autoconf-2.50 so new libtool works #40892.
10 Dec 2003;
stable on ia64
12 Dec 2003; Mamoru KOMACHI
libwww-5.4.0 doesn't depend on autoconf 2.5 but 2.13. Reverted the
change.
10 Dec 2003; Mamoru KOMACHI
Forced autoconf version 2.5, bug #35327
07 Oct 2003; Mike Gardiner
files/libwww-config-liborder.patch:
Added a new revision which includes a patch for the ordering of libraries in
libwww-config. This revision has been marked ~ on all archs because this patch
needs testing. Thanks to
*libwww-5.4.0-r1 (05 Sep 2002)
03 Oct 2003; Mamoru KOMACHI
Build shared libraries as well as static ones
02 Oct 2003; Mamoru KOMACHI
files/libwww-5.4.0-gentoo.diff:
Added a patch to fix conflict with stratego. Thanks to Kevin Quick
14 May 2003; Robin Johnson
Add block for !dev-libs/9libs since that causes a compile failure since
9libs installs a custom libc.h that breaks things.
27 Mar 2003;
remove mysql4 block, as -DUSE_OLD_FUNCTIONS is now defined there
07 Mar 2003; Martin Holzer
Corrected mysql to
25 Feb 2003; Guy Martin
Added hppa to keywords.
07 Feb 2003; Matthew Turk
Block >=mysql-4 conditionally on USE=mysql.
15 Dec 2002; Bjoern Brauel
Add alpha to KEYWORDS
06 Dec 2002; Rodney Rees
05 Sep 2002; Matthew Turk
files/digest-libwww-5.4.0-r1 :
Bumped revision to reflect *important* change in the ebuild - now the
prefixing works properly, which thus provides a proper libwww-config script.
This was broken previously.
*libwww-5.4.0 (19 Jun 2002)
19 Jun 2002; Seemant Kulleen
files/digest-libwww-5.4.0 :
Version bump.
*libwww-5.3.2-r1 (1 Feb 2002)
1 Feb 2002; G.Bevin
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
AUX libwww-5.4.0-asneeded.patch 3069 RMD160 2ad4e69a0fe92ee3aa963ab3f0545352c71efc20 SHA1 43654eeb3229ab112d6cb93bcab8394fb57d3c8f SHA256 392f715f76294b8cf5875ddaa8d224cb5133b5ead2f4063f0ac5234db71dd8d1
AUX libwww-5.4.0-autoconf-gentoo.diff 1089 RMD160 aadddad4802da1f5b9f212073df90d171f422e52 SHA1 f04b3753a0c351a2634a1039011f8ef7e904b821 SHA256 630617c79601f664b5752f5331a2abb3eaae70ac3365ba84498475067f6dbcfa
AUX libwww-5.4.0-automake-gentoo.diff 346 RMD160 16b6e244bd0d325d00c0ea6f4185552824cc6b60 SHA1 2bf0471eef168db4f5f9a54ab31007767751ba92 SHA256 e9d7489f5ee2226cdd602939f82a559cefdd9a9cb4b3c98c316bae05c989c8d9
AUX libwww-5.4.0-disable-ndebug-gentoo.diff 370 RMD160 8918de13a34d418cd55cb98930640265c48f6571 SHA1 2d4c29c5d2a06975aff2cd3d1b4ce9f6fed0f8d5 SHA256 39bdcca0efc334c9a86a10090fcb2dbfaf9ca427bfd12ac2486b0533287c45f9
AUX libwww-5.4.0-htbound.patch 13279 RMD160 77fe8970180e7bcf79b994f78cb986b2f172d2db SHA1 b9c1460f8a34cef355d836b3d6dcb77bcd1fd351 SHA256 22d94546f706e263b28370b00207d6ad09739c98a6463d4341b94991ac981ad7
AUX libwww-5.4.0-mysql-4.0.patch 1674 RMD160 0f9bdfe400357b947314f50c935bf7fcff5dae88 SHA1 581cb8a719d738499699c76d6a10c2b9cc7a01f1 SHA256 bfbeb72ac10be380febad60c746935a8ce4eb69a73eacf9725d7c51eeca26232
AUX libwww-5.4.0-mysql-4.1.patch 1674 RMD160 39ca32835af65fa781d3c3465f33fc9743d38c34 SHA1 a54dccfc28a4bf15f1a78aa5a29cdb6314909bb9 SHA256 b99508bf1cccb00ad55538a019d70ff165998701282e00faab2ec1b9df43ed01
AUX libwww-5.4.0-noexport.patch 402 RMD160 0074a161a985b08fa797dd91decea320a23f1dfd SHA1 30242525c24e97088f3fa122060a1369bebb1877 SHA256 f2fa63b1d94ebdec9b77dd6758222e2e6fb232b467b0c5f3f5efaa8ec2265c55
AUX libwww-5.4.0-respectflags.patch 1673 RMD160 751551e3d0c104e4b6a6f81fa815100d28200e37 SHA1 d98268d2236bb1c6e57d4e0e60f3d9bf441fd17f SHA256 23e24af3d68ad8c33114440e25c6d0678aa4fec71988280c27a90d166b6f825f
AUX libwww-config-liborder.patch 776 RMD160 c6b2f017f1c2ecb036aca3e6d497a1e2fc2e2d6f SHA1 93c6ff7912aec6ea085cda65447b0aae0156c125 SHA256 01aa28bd0516ccfff053c07e02a0c323e0403a86be1845d6d5671e776a95d6d2
DIST libwww-5.4.0-debian-autoconf-2.5.patch.bz2 8338 RMD160 c15263ce045333f03a6f655ff3aaaf0dd14eac35 SHA1 322f9ee1c55792937c1058b81a0c8980b4b3d95c SHA256 a2e64a286c691075df952763de38bb5f5ad3611d089d3b8b9c8d7c2d2b7d1bbb
DIST libwww-5.4.0-patches-1.0.tar.bz2 15243 RMD160 192f94f2ac697ccf7f6d4bf611798432d8a8aaa5 SHA1 cf3821120e762dd75a239cf78091bce250e867f0 SHA256 d06ff10870beaa26d20bfd46cbb34b4b2400526f5ebcafa70f1b095709f273f4
DIST w3c-libwww-5.4.0.tgz 1129121 RMD160 12e55ecb2435f9048d627e56f8ae60d4c246648b SHA1 2394cb4e0dc4e2313a9a0ddbf508e4b726e9af63 SHA256 64841cd99a41c84679cfbc777ebfbb78bdc2a499f7f6866ccf5cead391c867ef
EBUILD libwww-5.4.0-r3.ebuild 1713 RMD160 6d0c9a00a68eeff98fa216d596a11b9cb7190a2f SHA1 2dbfb05080b109864ed414a62bfaae614c1a020c SHA256 7b0b7348ffbf3337adfc6dbeced44b5c9566147e511c0d7f9a0fd8f7e400dd06
EBUILD libwww-5.4.0-r4.ebuild 1891 RMD160 303b2fc39ee66ef7b63c84c4ddf8c1797408858f SHA1 9189e6292f6a976d1c7e4f53aed54aae3e607b1f SHA256 b8850c0c97a031806f524727a9ea9b2b83a37f2c969066bc70641ff7a34134a0
EBUILD libwww-5.4.0-r5.ebuild 2206 RMD160 0a6769c7207d22d3f67266d08013cd3939beef9c SHA1 813e36640a28cc4267640f0db1a6be6894cbda49 SHA256 fa909af4ed147507b125caf56d7fcfbf8a3ed933c7a7debfdb8fee2566f770de
EBUILD libwww-5.4.0-r6.ebuild 2166 RMD160 04b5850ca7f7caa9add3e1070146673bde06b807 SHA1 6845e7e53f39f1a615d1d40b33eac5454e088aea SHA256 35eb8bf151d5afd21b23966e2f72717ac74ff11e69e6b7bbb7f033fb02668810
EBUILD libwww-5.4.0-r7.ebuild 1480 RMD160 7ca893801d4b8eb4b9940c9e9df9a1791cb29d53 SHA1 cfe3617ce9e632da6769e83e01b98cc49b583049 SHA256 6d6a60a3a5ab0f92a7a52c3b96a8d2f7ddb7c5dc38764f5a932105ecab6f9ad3
MISC ChangeLog 11207 RMD160 1245306a45d9fae71a9ebe33dd2f1a1f4827fa31 SHA1 c470932ee132220a853853d1e27f9cbe1bff8ef4 SHA256 156c7c87df356dbed01e2f8f953395bd568ba80569ffb7296b4adc2ab7078286
MISC metadata.xml 164 RMD160 698422e821458386b8da17baa6014296f8284e0b SHA1 a805613d38e6e3bff93cba3858d6a92cc79fe2f7 SHA256 7bd4d93c657a26aa9af1dea4232520c0d388cc92115dd9ca0eb04259228e044f
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libwww/libwww-5.4.0-r3.ebuild,v 1.8 2006/12/20 01:00:31 nattfodd Exp $
WANT_AUTOMAKE="1.4"
WANT_AUTOCONF="latest"
inherit eutils multilib autotools
MY_P=w3c-${P}
DESCRIPTION="A general-purpose client side WEB API"
HOMEPAGE="http://www.w3.org/Library/"
SRC_URI="http://www.w3.org/Library/Distribution/${MY_P}.tgz
mirror://gentoo/libwww-5.4.0-debian-autoconf-2.5.patch.bz2"
LICENSE="W3C"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
IUSE="ssl mysql"
RDEPEND="dev-lang/perl
>=sys-libs/zlib-1.1.4
mysql? ( virtual/mysql )
ssl? ( >=dev-libs/openssl-0.9.6 )"
DEPEND=">=sys-devel/autoconf-2.13
${RDEPEND}"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-config-liborder.patch
epatch "${WORKDIR}"/${P}-debian-autoconf-2.5.patch
epatch "${FILESDIR}"/${P}-autoconf-gentoo.diff
epatch "${FILESDIR}"/${P}-automake-gentoo.diff # bug #41959
epatch "${FILESDIR}"/${P}-disable-ndebug-gentoo.diff # bug #50483
# http://lists.w3.org/Archives/Public/www-lib/2003OctDec/0015.html
# http://www.mysql.gr.jp/mysqlml/mysql/msg/8118
epatch "${FILESDIR}"/${P}-mysql-4.1.patch
eautoreconf
}
src_compile() {
if use mysql ; then
myconf="--with-mysql=/usr/$(get_libdir)/mysql/libmysqlclient.a"
else
myconf="--without-mysql"
fi
econf \
--enable-shared \
--enable-static \
--with-zlib \
--with-md5 \
--with-expat \
$(use_with ssl) \
${myconf} || die
emake check-am || die
emake || die
}
src_install() {
make DESTDIR="${D}" install || die
dodoc ChangeLog
dohtml -r .
}
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libwww/libwww-5.4.0-r4.ebuild,v 1.21 2007/07/13 07:18:13 mr_bones_ Exp $
WANT_AUTOMAKE="1.4"
WANT_AUTOCONF="latest"
inherit eutils multilib autotools
MY_P=w3c-${P}
DESCRIPTION="A general-purpose client side WEB API"
HOMEPAGE="http://www.w3.org/Library/"
SRC_URI="http://www.w3.org/Library/Distribution/${MY_P}.tgz
mirror://gentoo/libwww-5.4.0-debian-autoconf-2.5.patch.bz2"
LICENSE="W3C"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
IUSE="mysql ssl"
RDEPEND=">=sys-libs/zlib-1.1.4
mysql? ( virtual/mysql )
ssl? ( >=dev-libs/openssl-0.9.6 )"
DEPEND="${RDEPEND}
>=sys-devel/autoconf-2.13
dev-lang/perl"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-config-liborder.patch
epatch "${WORKDIR}"/${P}-debian-autoconf-2.5.patch
epatch "${FILESDIR}"/${P}-autoconf-gentoo.diff
epatch "${FILESDIR}"/${P}-automake-gentoo.diff # bug #41959
epatch "${FILESDIR}"/${P}-disable-ndebug-gentoo.diff # bug #50483
# http://lists.w3.org/Archives/Public/www-lib/2003OctDec/0015.html
# http://www.mysql.gr.jp/mysqlml/mysql/msg/8118
epatch "${FILESDIR}"/${P}-mysql-4.1.patch
# Fix multiple problems, potentially exploitable (bug #109040)
epatch "${FILESDIR}"/${P}-htbound.patch
eautoreconf
}
src_compile() {
if use mysql ; then
myconf="--with-mysql=/usr/$(get_libdir)/mysql/libmysqlclient.a"
else
myconf="--without-mysql"
fi
econf \
--enable-shared \
--enable-static \
--with-zlib \
--with-md5 \
--with-expat \
$(use_with ssl) \
${myconf} || die "./configure failed"
emake check-am || die
emake || die "Compilation failed"
}
src_install() {
make DESTDIR="${D}" install || die "Installation failed"
dodoc ChangeLog
dohtml -r .
}
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libwww/libwww-5.4.0-r5.ebuild,v 1.11 2007/07/13 07:18:13 mr_bones_ Exp $
WANT_AUTOMAKE="1.4"
WANT_AUTOCONF="latest"
inherit eutils multilib autotools
MY_P=w3c-${P}
DESCRIPTION="A general-purpose client side WEB API"
HOMEPAGE="http://www.w3.org/Library/"
SRC_URI="http://www.w3.org/Library/Distribution/${MY_P}.tgz
mirror://gentoo/libwww-5.4.0-debian-autoconf-2.5.patch.bz2"
LICENSE="W3C"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="mysql ssl"
RDEPEND=">=sys-libs/zlib-1.1.4
mysql? ( virtual/mysql )
ssl? ( >=dev-libs/openssl-0.9.6 )"
DEPEND="${RDEPEND}
>=sys-devel/autoconf-2.13
dev-lang/perl"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-config-liborder.patch
epatch "${WORKDIR}"/${P}-debian-autoconf-2.5.patch
epatch "${FILESDIR}"/${P}-autoconf-gentoo.diff
epatch "${FILESDIR}"/${P}-automake-gentoo.diff # bug #41959
epatch "${FILESDIR}"/${P}-disable-ndebug-gentoo.diff # bug #50483
# http://lists.w3.org/Archives/Public/www-lib/2003OctDec/0015.html
# http://www.mysql.gr.jp/mysqlml/mysql/msg/8118
epatch "${FILESDIR}"/${P}-mysql-4.1.patch
# Fix multiple problems, potentially exploitable (bug #109040)
epatch "${FILESDIR}"/${P}-htbound.patch
# Fix linking while using --as-needed
epatch "${FILESDIR}/${P}-asneeded.patch"
# Drop Externls rebuild after automake
epatch "${FILESDIR}/${P}-noexport.patch"
# Respect users LDFLAGS, bug #126863.
epatch "${FILESDIR}/${P}-respectflags.patch"
eautoreconf || die "autoreconf failed"
}
src_compile() {
if use mysql ; then
myconf="--with-mysql=/usr/$(get_libdir)/mysql/libmysqlclient.a"
else
myconf="--without-mysql"
fi
export ac_cv_header_appkit_appkit_h=no
econf \
--enable-shared \
--enable-static \
--with-zlib \
--with-md5 \
--with-expat \
$(use_with ssl) \
${myconf} || die "./configure failed"
emake || die "Compilation failed"
}
src_install() {
make DESTDIR="${D}" install || die "Installation failed"
dodoc ChangeLog
dohtml -r .
}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libwww/libwww-5.4.0-r6.ebuild,v 1.14 2007/08/25 14:32:47 vapier Exp $
WANT_AUTOMAKE="1.4"
WANT_AUTOCONF="latest"
inherit eutils multilib autotools
MY_P=w3c-${P}
DESCRIPTION="A general-purpose client side WEB API"
HOMEPAGE="http://www.w3.org/Library/"
SRC_URI="http://www.w3.org/Library/Distribution/${MY_P}.tgz
mirror://gentoo/libwww-5.4.0-debian-autoconf-2.5.patch.bz2"
LICENSE="W3C"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ~ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="mysql ssl"
RDEPEND=">=sys-libs/zlib-1.1.4
mysql? ( virtual/mysql )
ssl? ( >=dev-libs/openssl-0.9.6 )"
DEPEND="${RDEPEND}
dev-lang/perl"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-config-liborder.patch
epatch "${WORKDIR}"/${P}-debian-autoconf-2.5.patch
epatch "${FILESDIR}"/${P}-autoconf-gentoo.diff
epatch "${FILESDIR}"/${P}-automake-gentoo.diff # bug #41959
epatch "${FILESDIR}"/${P}-disable-ndebug-gentoo.diff # bug #50483
# http://lists.w3.org/Archives/Public/www-lib/2003OctDec/0015.html
# http://www.mysql.gr.jp/mysqlml/mysql/msg/8118
epatch "${FILESDIR}"/${P}-mysql-4.0.patch
# Fix multiple problems, potentially exploitable (bug #109040)
epatch "${FILESDIR}"/${P}-htbound.patch
# Fix linking while using --as-needed
epatch "${FILESDIR}/${P}-asneeded.patch"
# Drop Externls rebuild after automake
epatch "${FILESDIR}/${P}-noexport.patch"
# Respect users LDFLAGS, bug #126863.
epatch "${FILESDIR}/${P}-respectflags.patch"
eautoreconf || die "autoreconf failed"
}
src_compile() {
if use mysql ; then
myconf="--with-mysql=/usr/$(get_libdir)/mysql/libmysqlclient.a"
else
myconf="--without-mysql"
fi
export ac_cv_header_appkit_appkit_h=no
econf \
--enable-shared \
--enable-static \
--with-zlib \
--with-md5 \
--with-expat \
$(use_with ssl) \
${myconf} || die "./configure failed"
emake || die "Compilation failed"
}
src_install() {
make DESTDIR="${D}" install || die "Installation failed"
dodoc ChangeLog
dohtml -r .
}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libwww/libwww-5.4.0-r7.ebuild,v 1.13 2007/07/12 10:21:05 uberlord Exp $
WANT_AUTOMAKE="latest"
WANT_AUTOCONF="latest"
inherit eutils multilib autotools
PATCHVER="1.0"
MY_P=w3c-${P}
DESCRIPTION="A general-purpose client side WEB API"
HOMEPAGE="http://www.w3.org/Library/"
SRC_URI="http://www.w3.org/Library/Distribution/${MY_P}.tgz
mirror://gentoo/${P}-patches-${PATCHVER}.tar.bz2"
LICENSE="W3C"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="mysql ssl"
RDEPEND=">=sys-libs/zlib-1.1.4
mysql? ( virtual/mysql )
ssl? ( >=dev-libs/openssl-0.9.6 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-lang/perl"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
rm -f configure.in
EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
eautoreconf || die "autoreconf failed"
}
src_compile() {
if use mysql ; then
myconf="--with-mysql=/usr/$(get_libdir)/mysql/libmysqlclient.a"
else
myconf="--without-mysql"
fi
export ac_cv_header_appkit_appkit_h=no
econf \
--enable-shared \
--enable-static \
--with-zlib \
--with-md5 \
--with-expat \
$(use_with ssl) \
${myconf} || die "./configure failed"
emake || die "Compilation failed"
}
src_install() {
emake DESTDIR="${D}" install || die "Installation failed"
dodoc ChangeLog
dohtml -r .
}