diff options
41 files changed, 3185 insertions, 0 deletions
diff --git a/app-arch/unzip/ChangeLog b/app-arch/unzip/ChangeLog new file mode 100644 index 00000000..e0732ad9 --- /dev/null +++ b/app-arch/unzip/ChangeLog @@ -0,0 +1,190 @@ +# ChangeLog for app-arch/unzip +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/ChangeLog,v 1.56 2008/03/29 16:57:06 jer Exp $ + + 29 Mar 2008; Jeroen Roovers <jer@gentoo.org> unzip-5.52-r2.ebuild: + Stable for HPPA (bug #213761). + + 29 Mar 2008; Raúl Porcel <armin76@gentoo.org> unzip-5.52-r2.ebuild: + alpha/ia64/sparc stable wrt security #213761 + + 29 Mar 2008; Brent Baude <ranger@gentoo.org> unzip-5.52-r2.ebuild: + Marking unzip-5.52-r2 ppc64 and ppc for bug 213761 + + 29 Mar 2008; Christian Faulhammer <opfer@gentoo.org> unzip-5.52-r2.ebuild: + stable x86, security bug 213761 + + 29 Mar 2008; Robert Buchholz <rbu@gentoo.org> unzip-5.52-r2.ebuild: + amd64 stable, bug 213761 + +*unzip-5.52-r2 (29 Mar 2008) + + 29 Mar 2008; Mike Frysinger <vapier@gentoo.org> + +files/unzip-5.52-CVE-2008-0888.patch, +unzip-5.52-r2.ebuild: + Fix for CVE-2008-0888 #213761. + + 08 Feb 2008; Dawid Węgliński <cla@gentoo.org> unzip-5.52-r1.ebuild: + Change SRC_URI as the old url wasn't fetchable + + 06 Oct 2007; Mike Frysinger <vapier@gentoo.org> unzip-5.52-r1.ebuild: + Fix from Paul Bredbury to make sure we respect CPPFLAGS #194264. + + 21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: + Transition to Manifest2. + + 07 Jan 2007; Harald van Dijk <truedfx@gentoo.org> unzip-5.52-r1.ebuild: + Handle NetBSD CHOST and properly check for x86 for other BSDs + + 24 Oct 2006; Roy Marples <uberlord@gentoo.org> unzip-5.52-r1.ebuild: + Don't assume that freebsd == i386 :) + Added ~sparc-fbsd keyword. + + 04 Sep 2006; Joshua Kinard <kumba@gentoo.org> unzip-5.52-r1.ebuild: + Marked stable on mips. + + 18 Aug 2006; Bryan Østergaard <kloeri@gentoo.org> unzip-5.52-r1.ebuild: + Stable on alpha. + + 16 Aug 2006; Markus Rothe <corsair@gentoo.org> unzip-5.52-r1.ebuild: + Stable on ppc64 + + 09 Aug 2006; Danny van Dyk <kugelfang@gentoo.org> unzip-5.52-r1.ebuild: + Marked stable on amd64. + + 05 Aug 2006; Michael Hanselmann <hansmi@gentoo.org> unzip-5.52-r1.ebuild: + Stable on ppc. + + 03 Aug 2006; Gustavo Zacarias <gustavoz@gentoo.org> unzip-5.52-r1.ebuild: + Stable on hppa + + 03 Aug 2006; Gustavo Zacarias <gustavoz@gentoo.org> unzip-5.52-r1.ebuild: + Stable on sparc + + 31 Jul 2006; Andrej Kacian <ticho@gentoo.org> unzip-5.52-r1.ebuild: + Stable on x86. Bug #142149, by Daniel Black <dragonheart at gentoo.org>. + + 05 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> unzip-5.52-r1.ebuild: + Add ~x86-fbsd keyword. + + 15 Feb 2006; Mike Frysinger <vapier@gentoo.org> unzip-5.52.ebuild, + unzip-5.52-r1.ebuild: + Robert Sebastian Gerus adds support for DragonFly BSD #122843. + +*unzip-5.52-r1 (04 Oct 2005) + + 04 Oct 2005; Mike Frysinger <vapier@gentoo.org> + +files/unzip-5.52-no-exec-stack.patch, +unzip-5.52-r1.ebuild: + Make sure unzip isnt built with an executable stack. + + 09 Sep 2005; Aron Griffis <agriffis@gentoo.org> unzip-5.52.ebuild: + Mark 5.52 stable on alpha + + 03 Sep 2005; Markus Rothe <corsair@gentoo.org> unzip-5.52.ebuild: + Stable on ppc64 + + 18 Aug 2005; Michael Hanselmann <hansmi@gentoo.org> unzip-5.52.ebuild: + Stable on ppc. + + 18 Aug 2005; Aaron Walker <ka0ttic@gentoo.org> unzip-5.52.ebuild: + Stable on mips. + + 16 Aug 2005; Gustavo Zacarias <gustavoz@gentoo.org> unzip-5.52.ebuild: + Stable on sparc + + 23 Jul 2005; Kito <kito@gentoo.org> unzip-5.52.ebuild: + ~ppc-macos keyword + + 31 May 2005; Sven Wegener <swegener@gentoo.org> unzip-5.50-r2.ebuild, + unzip-5.52.ebuild: + Let portage handle the stripping of binaries. + +*unzip-5.52 (13 Mar 2005) + + 13 Mar 2005; Mike Frysinger <vapier@gentoo.org> +unzip-5.52.ebuild: + Version bump #84914 by Kenyon Ralph. + + 26 Jun 2004; Seemant Kulleen <seemant@gentoo.org> unzip-5.50-r2.ebuild: + my mistake + + 26 Jun 2004; Seemant Kulleen <seemant@gentoo.org> unzip-5.50-r2.ebuild: + can not have virtual/libc at all yet actually + + 11 May 2004; Michael McCabe <randy@gentoo.org> unzip-5.50-r2.ebuild: + Added s390 keywords + + 16 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> unzip-5.50-r2.ebuild: + tighten DEPEND (bug #44817); sed in src_unpack, not src_compile; use emake + + 16 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> unzip-5.42-r1.ebuild, + unzip-5.50-r1.ebuild, unzip-5.50.ebuild: + clean old ebuilds + + 14 Mar 2004; Tom Gall <tgall@gentoo.org> unzip-5.50-r2.ebuild: + ppc64 marked stable + + 03 Oct 2003; Christian Birchinger <joker@gentoo.org> unzip-5.50-r2.ebuild: + Added sparc stable keyword + + 29 Sep 2003; Jason Wever <weeve@gentoo.org> unzip-5.50-r2.ebuild: + Added ~sparc keyword. + +*unzip-5.50-r2 (11 Jul 2003) + + 11 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> unzip-5.50-r2.ebuild : + Added patch from RedHat to fix '..' vulnerabilities. + + 20 May 2003; Tavis Ormandy <taviso@gentoo.org> unzip-5.50-r1.ebuild: + Removing gcc hardcode, and CFLAGS hardcode on non-x86 + +*unzip-5.50-r1 (21 Oct 2002) + + 12 Mar 2003; Zach Welch <zwelch@gentoo.org> unzip-5.50-r1.ebuild: + add arm keyword + + 15 Feb 2003; Jan Seidel <tuxus@gentoo.org> : + Added mips to keywords + + 10 Feb 2003; Guy Martin <gmsoft@gentoo.org> unzip-5.42-r1.ebuild : + Added hppa to keywords. + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + + 21 Oct 2002; Mike Frysinger <vapier@gentoo.org> : + Added a symlink for zipinfo per #9425 + +*unzip-5.50 (01 Oct 2002) + + 01 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> : + Security update. + +*unzip-5.42-r1 (25 Jul 2002) + + 05 Sep 2002; Seemant Kulleen <seemant@gentoo.org> unzip-5.42-r1.ebuild : + + Per bug #7540 by rob1@rekl.yi.org (robert longhausen), the arch was not + matching. The arch check has been switched to the new format (use x86 && + || ) + + 15 Aug 2002; Jack Morgan <jmorgan@gentoo.org> : + Added KEYWORDS sparc64 + +*unzip-5.42 (18 Feb 2002) + + 15 Jul 2002; Owen Stampflee <owen@gentoo.org> : + Added KEYWORDS. + + + 18 Feb 2002; F.Meyndert <m0rpheus@gentoo.org> unzip-5.42.ebuild : + + Removed patch. Patch broke more things then it fixes. Waiting for new + vendor patch. This is also the fix for bug #650 + +*unzip-5.42 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + 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. diff --git a/app-arch/unzip/Manifest b/app-arch/unzip/Manifest new file mode 100644 index 00000000..0d1a3f00 --- /dev/null +++ b/app-arch/unzip/Manifest @@ -0,0 +1,7 @@ +AUX unzip-5.52-CVE-2008-0888.patch 1075 RMD160 03d5ec7845ae9347a197c7d1484bb2d9ab96cb93 SHA1 a72e703048ddd2226d430b7375b531320997b98a SHA256 a93b927000ff5923c3e84fc4108a0f19d76a3a057a33556a2f761c18b270f87c +AUX unzip-5.52-no-exec-stack.patch 334 RMD160 81d73b5bb66fb54f8f71252c1fe6e2036d488de9 SHA1 0f318fecebd548e9feb2e93a32c56258d5c552b1 SHA256 8e165db2c138f9729020f3e60e9d8be58d504f4cf8eb7aae18b9432d2d751d4f +DIST unzip552.tar.gz 1140291 RMD160 b749b0923bc4cceaa6f937aef688e9713a84328c SHA1 1831bd59b9e607a69052f83b263384895e2d4a19 SHA256 145d95e2ef1ef9add2e3c97d1340907e33ab8749eb1235372e7f0b7af600a8e9 +EBUILD unzip-5.52-r1.ebuild 1655 RMD160 351656bbfa64f9d060cddfcd5a2f3c960e62a389 SHA1 82f7b51e8e49eeab2241637eb91e36e47f1344ed SHA256 0f5a0ebca4350722877526e68346fa6782b35590d960bcb83223b8f306ba74ee +EBUILD unzip-5.52-r2.ebuild 1754 RMD160 7d623483cd256ebb6be7183d4e9dcfbe19962ee0 SHA1 5e75afbef0cc699f63b3ebaabcab2a191d67763e SHA256 3294491d9c81e52f705a5d56c5b36498fd00271c27de39236574d4a7681a14c1 +MISC ChangeLog 6467 RMD160 770e82daa17ff8659f09e204e6e9a16462df6aba SHA1 afcd5e68bbc560cea19b9e1f56d957c9ad437225 SHA256 d0f74e5098f9aa50373862c31f1cfedd2c6525d18c8e51fab8ffe6603afe085e +MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 diff --git a/app-arch/unzip/files/unzip-5.52-CVE-2008-0888.patch b/app-arch/unzip/files/unzip-5.52-CVE-2008-0888.patch new file mode 100644 index 00000000..368b3eeb --- /dev/null +++ b/app-arch/unzip/files/unzip-5.52-CVE-2008-0888.patch @@ -0,0 +1,35 @@ +http://bugs.gentoo.org/213761 + +fix for CVE-2008-0888 + +--- inflate.c ++++ inflate.c +@@ -983,6 +983,7 @@ + unsigned l; /* last length */ + unsigned m; /* mask for bit lengths table */ + unsigned n; /* number of lengths to get */ ++ struct huft *tlp; + struct huft *tl; /* literal/length code table */ + struct huft *td; /* distance code table */ + unsigned bl; /* lookup bits for tl */ +@@ -996,6 +997,8 @@ + int retval = 0; /* error code returned: initialized to "no error" */ + + ++ td = tlp = tl = (struct huft *)NULL; ++ + /* make local bit buffer */ + Trace((stderr, "\ndynamic block")); + b = G.bb; +@@ -1047,9 +1050,9 @@ + while (i < n) + { + NEEDBITS(bl) +- j = (td = tl + ((unsigned)b & m))->b; ++ j = (tlp = tl + ((unsigned)b & m))->b; + DUMPBITS(j) +- j = td->v.n; ++ j = tlp->v.n; + if (j < 16) /* length of code in bits (0..15) */ + ll[i++] = l = j; /* save last length in l */ + else if (j == 16) /* repeat last length 3 to 6 times */ diff --git a/app-arch/unzip/files/unzip-5.52-no-exec-stack.patch b/app-arch/unzip/files/unzip-5.52-no-exec-stack.patch new file mode 100644 index 00000000..e2869bfe --- /dev/null +++ b/app-arch/unzip/files/unzip-5.52-no-exec-stack.patch @@ -0,0 +1,13 @@ +Make sure that the asm files don't incorrectly trigger an executable +stack marking in the final shared library. That's bad, mmmkay. + +--- unzip/crc_i386.S ++++ unzip/crc_i386.S +@@ -238,3 +238,7 @@ + #endif /* i386 || _i386 || _I386 || __i386 */ + + #endif /* !USE_ZLIB */ ++ ++#ifdef __ELF__ ++.section .note.GNU-stack,"",%progbits ++#endif diff --git a/app-arch/unzip/metadata.xml b/app-arch/unzip/metadata.xml new file mode 100644 index 00000000..96a2d586 --- /dev/null +++ b/app-arch/unzip/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</pkgmetadata> diff --git a/app-arch/unzip/unzip-5.52-r1.ebuild b/app-arch/unzip/unzip-5.52-r1.ebuild new file mode 100644 index 00000000..dfd544e5 --- /dev/null +++ b/app-arch/unzip/unzip-5.52-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/unzip-5.52-r1.ebuild,v 1.21 2008/02/08 15:09:57 cla Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="unzipper for pkzip-compressed files" +HOMEPAGE="http://www.info-zip.org/" +SRC_URI="mirror://gentoo/${PN}${PV/.}.tar.gz" + +LICENSE="Info-ZIP" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" +IUSE="" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-no-exec-stack.patch + sed -i \ + -e 's:-O3:$(CFLAGS) $(CPPFLAGS):' \ + -e 's:-O :$(CFLAGS) $(CPPFLAGS) :' \ + -e "s:CC=gcc :CC=$(tc-getCC) :" \ + -e "s:LD=gcc :LD=$(tc-getCC) :" \ + -e 's:LF2 = -s:LF2 = :' \ + -e 's:LF = :LF = $(LDFLAGS) :' \ + -e 's:SL = :SL = $(LDFLAGS) :' \ + -e 's:FL = :FL = $(LDFLAGS) :' \ + unix/Makefile \ + || die "sed unix/Makefile failed" +} + +src_compile() { + local TARGET + case ${CHOST} in + i?86*-linux*) TARGET=linux_asm ;; + *-linux*) TARGET=linux_noasm ;; + i?86*-freebsd* | i?86*-dragonfly* | i?86*-openbsd* | i?86*-netbsd*) + TARGET=freebsd ;; # mislabelled bsd with x86 asm + *-freebsd* | *-dragonfly* | *-openbsd* | *-netbsd*) + TARGET=bsd ;; + *-darwin*) TARGET=macosx ;; + *) die "Unknown target, you suck" ;; + esac + append-lfs-flags #104315 + emake -f unix/Makefile ${TARGET} || die "emake failed" +} + +src_install() { + dobin unzip funzip unzipsfx unix/zipgrep || die "dobin failed" + dosym unzip /usr/bin/zipinfo + doman man/*.1 + dodoc BUGS History* README ToDo WHERE +} diff --git a/app-arch/unzip/unzip-5.52-r2.ebuild b/app-arch/unzip/unzip-5.52-r2.ebuild new file mode 100644 index 00000000..3e276ad7 --- /dev/null +++ b/app-arch/unzip/unzip-5.52-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/unzip-5.52-r2.ebuild,v 1.7 2008/04/13 22:56:16 vapier Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="unzipper for pkzip-compressed files" +HOMEPAGE="http://www.info-zip.org/" +SRC_URI="mirror://gentoo/${PN}${PV/.}.tar.gz" + +LICENSE="Info-ZIP" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" +IUSE="" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-no-exec-stack.patch + epatch "${FILESDIR}"/${P}-CVE-2008-0888.patch #213761 + sed -i \ + -e 's:-O3:$(CFLAGS) $(CPPFLAGS):' \ + -e 's:-O :$(CFLAGS) $(CPPFLAGS) :' \ + -e "s:CC=gcc :CC=$(tc-getCC) :" \ + -e "s:LD=gcc :LD=$(tc-getCC) :" \ + -e "s:AS=gcc:AS=$(tc-getCC):" \ + -e 's:LF2 = -s:LF2 = :' \ + -e 's:LF = :LF = $(LDFLAGS) :' \ + -e 's:SL = :SL = $(LDFLAGS) :' \ + -e 's:FL = :FL = $(LDFLAGS) :' \ + unix/Makefile \ + || die "sed unix/Makefile failed" +} + +src_compile() { + local TARGET + case ${CHOST} in + i?86*-linux*) TARGET=linux_asm ;; + *-linux*) TARGET=linux_noasm ;; + i?86*-freebsd* | i?86*-dragonfly* | i?86*-openbsd* | i?86*-netbsd*) + TARGET=freebsd ;; # mislabelled bsd with x86 asm + *-freebsd* | *-dragonfly* | *-openbsd* | *-netbsd*) + TARGET=bsd ;; + *-darwin*) TARGET=macosx ;; + *) die "Unknown target, you suck" ;; + esac + append-lfs-flags #104315 + emake -f unix/Makefile ${TARGET} || die "emake failed" +} + +src_install() { + dobin unzip funzip unzipsfx unix/zipgrep || die "dobin failed" + dosym unzip /usr/bin/zipinfo || die + doman man/*.1 + dodoc BUGS History* README ToDo WHERE +} diff --git a/dev-libs/nspr/ChangeLog b/dev-libs/nspr/ChangeLog new file mode 100644 index 00000000..061a0335 --- /dev/null +++ b/dev-libs/nspr/ChangeLog @@ -0,0 +1,420 @@ +# ChangeLog for dev-libs/nspr +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.107 2008/09/26 06:20:11 armin76 Exp $ + + 26 Sep 2008; Raúl Porcel <armin76@gentoo.org> nspr-4.6.8.ebuild: + arm stable + + 13 Aug 2008; Raúl Porcel <armin76@gentoo.org> -nspr-4.7.ebuild, + -nspr-4.7.1_beta2.ebuild, nspr-4.7.1.ebuild: + Respect LDFLAGS, bug #181790, remove old + +*nspr-4.7.1 (11 May 2008) + + 11 May 2008; Raúl Porcel <armin76@gentoo.org> +nspr-4.7.1.ebuild: + Version bump + + 30 Apr 2008; Raúl Porcel <armin76@gentoo.org> nspr-4.6.8.ebuild, + nspr-4.7.ebuild, nspr-4.7.1_beta2.ebuild: + Add CC and CXX to make + + 02 Apr 2008; Raúl Porcel <armin76@gentoo.org> -nspr-4.7.1_beta1.ebuild, + nspr-4.7.1_beta2.ebuild: + Restore keywords, remove old + + 26 Mar 2008; Markus Meier <maekke@gentoo.org> nspr-4.6.8.ebuild: + amd64 stable, bug #213601 + + 23 Mar 2008; nixnut <nixnut@gentoo.org> nspr-4.6.8.ebuild: + Stable on ppc wrt bug 213601 + + 22 Mar 2008; Brent Baude <ranger@gentoo.org> nspr-4.6.8.ebuild: + Marking nspr-4.6.8 ppc64 for bug 213601 + + 17 Mar 2008; Jeroen Roovers <jer@gentoo.org> nspr-4.6.8.ebuild: + Stable for HPPA (bug #213601). + +*nspr-4.7.1_beta2 (17 Mar 2008) + + 17 Mar 2008; Raúl Porcel <armin76@gentoo.org> nspr-4.6.7.ebuild, + nspr-4.6.8.ebuild, nspr-4.7.ebuild, nspr-4.7.1_beta1.ebuild, + +nspr-4.7.1_beta2.ebuild: + Version bump, fix LICENSE, thanks to zlin + + 16 Mar 2008; Raúl Porcel <armin76@gentoo.org> nspr-4.6.8.ebuild: + alpha/ia64/sparc/x86 stable + +*nspr-4.7.1_beta1 (25 Feb 2008) + + 25 Feb 2008; Raúl Porcel <armin76@gentoo.org> +nspr-4.7.1_beta1.ebuild: + Version bump + + 14 Feb 2008; Raúl Porcel <armin76@gentoo.org> nspr-4.6.7.ebuild, + nspr-4.6.8.ebuild, nspr-4.7.ebuild: + Fix bug #210041, bug #210039, thanks to vapier + +*nspr-4.7 (11 Feb 2008) +*nspr-4.6.8 (11 Feb 2008) + + 11 Feb 2008; Raúl Porcel <armin76@gentoo.org> +nspr-4.6.8.ebuild, + +nspr-4.7.ebuild, -nspr-4.7.0_pre20080129.ebuild: + Version bump + +*nspr-4.7.0_pre20080129 (31 Jan 2008) + + 31 Jan 2008; Raúl Porcel <armin76@gentoo.org> + -nspr-4.7.0_pre20071016.ebuild, -nspr-4.7.0_pre20071218.ebuild, + -nspr-4.7.0_pre20080113.ebuild, -nspr-4.7.0_pre20080120.ebuild, + +nspr-4.7.0_pre20080129.ebuild: + Version bump, remove old + +*nspr-4.7.0_pre20080120 (24 Jan 2008) + + 24 Jan 2008; Raúl Porcel <armin76@gentoo.org> + +nspr-4.7.0_pre20080120.ebuild: + Version bump + +*nspr-4.7.0_pre20080113 (18 Jan 2008) + + 18 Jan 2008; Raúl Porcel <armin76@gentoo.org> + +nspr-4.7.0_pre20080113.ebuild: + Version bump + +*nspr-4.7.0_pre20071218 (22 Dec 2007) + + 22 Dec 2007; Raúl Porcel <armin76@gentoo.org> + +nspr-4.7.0_pre20071218.ebuild: + Version bump + + 18 Dec 2007; Raúl Porcel <armin76@gentoo.org> -nspr-4.6.5-r1.ebuild: + old + + 17 Dec 2007; Stuart Longland <redhatter@gentoo.org> nspr-4.6.5-r1.ebuild, + nspr-4.6.7.ebuild, nspr-4.7.0_pre20071016.ebuild: + Mark 4.6.7 stable on MIPS. Fix quoting issues in all versions. + +*nspr-4.7.0_pre20071016 (12 Dec 2007) + + 12 Dec 2007; Raúl Porcel <armin76@gentoo.org> + +files/nspr-4.7.0-prtime.patch, -nspr-4.6.6.ebuild, + +nspr-4.7.0_pre20071016.ebuild: + Version bump, remove old + + 15 Aug 2007; Christoph Mende <angelos@gentoo.org> nspr-4.6.7.ebuild: + Stable on amd64 wrt bug #188158 + + 14 Aug 2007; Markus Rothe <corsair@gentoo.org> nspr-4.6.7.ebuild: + Stable on ppc64; bug #188158 + + 13 Aug 2007; Jeroen Roovers <jer@gentoo.org> nspr-4.6.7.ebuild: + Stable for HPPA (bug #188158). + + 09 Aug 2007; Gustavo Zacarias <gustavoz@gentoo.org> nspr-4.6.7.ebuild: + Stable on sparc wrt #188158 + + 09 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org> nspr-4.6.7.ebuild: + ppc stable, bug #188158 + + 08 Aug 2007; Raúl Porcel <armin76@gentoo.org> nspr-4.6.7.ebuild: + alpha/ia64/x86 stable wrt #188158 + +*nspr-4.6.7 (08 Jul 2007) + + 08 Jul 2007; Raúl Porcel <armin76@gentoo.org> +nspr-4.6.7.ebuild: + Version bump + + 20 Apr 2007; Raúl Porcel <armin76@gentoo.org> + -files/nspr-4.3-amd64.patch, -files/nspr-4.4.1-hppa.patch, + -files/nspr-4.4.1-ppc64.patch, -files/nspr-4.6.3-fbsd62.patch, + -nspr-4.6.3.ebuild, -nspr-4.6.3-r1.ebuild, -nspr-4.6.4.ebuild, + -nspr-4.6.4-r3.ebuild: + Cleanup + + 20 Apr 2007; Stuart Longland <redhatter@gentoo.org> nspr-4.6.5-r1.ebuild: + Tested and marked stable on mips as per bug #169751 + + 11 Mar 2007; Bryan Østergaard <kloeri@gentoo.org> nspr-4.6.5-r1.ebuild: + Stable on Alpha + IA64. + +*nspr-4.6.6 (09 Mar 2007) + + 09 Mar 2007; Raúl Porcel <armin76@gentoo.org> +nspr-4.6.6.ebuild: + Version bump + + 08 Mar 2007; Tobias Scherbaum <dertobi123@gentoo.org> + nspr-4.6.5-r1.ebuild: + Stable on ppc wrt bug #169751. + + 08 Mar 2007; Marien Zwart <marienz@gentoo.org> Manifest: + Recommit Manifest that was broken by cvs problems. + + 08 Mar 2007; Steve Dibb <beandog@gentoo.org> nspr-4.6.3.ebuild, + nspr-4.6.3-r1.ebuild, nspr-4.6.4.ebuild, nspr-4.6.4-r3.ebuild: + Adding multilib to inheritance + + 08 Mar 2007; Steve Dibb <beandog@gentoo.org> nspr-4.6.5-r1.ebuild: + amd64 stable, bug 169751 + + 08 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org> nspr-4.6.5-r1.ebuild: + Stable on sparc wrt #169751 + + 07 Mar 2007; Markus Rothe <corsair@gentoo.org> nspr-4.6.5-r1.ebuild: + Stable on ppc64; bug #169751 + + 07 Mar 2007; Raúl Porcel <armin76@gentoo.org> nspr-4.6.5-r1.ebuild: + license change, bug 150118 + + 07 Mar 2007; Jeroen Roovers <jer@gentoo.org> nspr-4.6.5-r1.ebuild: + Stable for HPPA (bug #169751). + + 07 Mar 2007; Raúl Porcel <armin76@gentoo.org> nspr-4.6.5-r1.ebuild: + x86 stable wrt bug 169751 + +*nspr-4.6.5-r1 (07 Feb 2007) +*nspr-4.6.4-r3 (07 Feb 2007) + + 07 Feb 2007; Raúl Porcel <armin76@gentoo.org> -nspr-4.6.4-r2.ebuild, + +nspr-4.6.4-r3.ebuild, -nspr-4.6.5.ebuild, +nspr-4.6.5-r1.ebuild: + Fix pkgconfig file correctly, thanks to plaes from IRC for testing this + +*nspr-4.6.5 (07 Feb 2007) +*nspr-4.6.4-r2 (07 Feb 2007) + + 07 Feb 2007; Raúl Porcel <armin76@gentoo.org> + -files/nspr-4.6.4-config-2.patch, -nspr-4.6.4-r1.ebuild, + +nspr-4.6.4-r2.ebuild, +nspr-4.6.5.ebuild: + remove broken ebuild, bug 165542. Version bump, remove gnuconfig_update + usage, bug 160184. Thanks to plaes at IRC for testing it. + + 05 Feb 2007; Raúl Porcel <armin76@gentoo.org> -nspr-4.1.2.ebuild, + -nspr-4.3.ebuild, -nspr-4.4.1.ebuild, -nspr-4.4.1-r2.ebuild, + -nspr-4.6.1-r2.ebuild, -nspr-4.6.1-r3.ebuild, -nspr-4.6.2.ebuild: + drop old + + 04 Feb 2007; Alexander H. Færøy <eroyf@gentoo.org> nspr-4.6.3.ebuild: + Stable on MIPS; bug #148284 + + 28 Jan 2007; Raúl Porcel <armin76@gentoo.org> metadata.xml: + Move to mozilla herd, bug 160313 + +*nspr-4.6.4-r1 (05 Jan 2007) + + 05 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> + +files/nspr-4.6.4-config-2.patch, +nspr-4.6.4-r1.ebuild: + Remove gnuconfig eclass usage, bug#160184 + +*nspr-4.6.4 (21 Dec 2006) + + 21 Dec 2006; Alon Bar-Lev <alonbl@gentoo.org> +nspr-4.6.4.ebuild: + Version bump, closes bug#158707, thanks to Walter Meinl + +*nspr-4.6.3-r1 (10 Oct 2006) + + 10 Oct 2006; Robin H. Johnson <robbat2@gentoo.org> +nspr-4.6.3-r1.ebuild: + Bug #150731, use_enable debug to fix an upstream crash. + + 27 Sep 2006; Bryan Østergaard <kloeri@gentoo.org> nspr-4.6.3.ebuild: + Stable on ia64. + + 27 Sep 2006; Fernando J. Pereda <ferdy@gentoo.org> nspr-4.6.3.ebuild: + Stable on alpha wrt bug #148284 + + 26 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + files/nspr-4.6.3-fbsd62.patch: + Simplify patch as per upstrem bug #354305. + + 26 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +files/nspr-4.6.3-fbsd62.patch, nspr-4.6.3.ebuild: + Add patch to build on FreeBSD 6.2. + + 21 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org> nspr-4.6.3.ebuild: + hppa stable, bug #148284 + + 21 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org> nspr-4.6.3.ebuild: + ppc stable, bug #148284 + + 21 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org> nspr-4.6.3.ebuild: + Stable on sparc wrt security #148284 + + 20 Sep 2006; <ticho@gentoo.org> nspr-4.6.3.ebuild: + Stable on x86, security bug #148284. + + 20 Sep 2006; <blubb@gentoo.org> nspr-4.6.3.ebuild: + stable on amd64 wrt bug 148284 + + 20 Sep 2006; Markus Rothe <corsair@gentoo.org> nspr-4.6.3.ebuild: + Stable on ppc64; bug #148284 + +*nspr-4.6.3 (16 Sep 2006) + + 16 Sep 2006; Stefan Schweizer <genstef@gentoo.org> +nspr-4.6.3.ebuild: + version bump, security bug 147652 + + 12 Jul 2006; Aron Griffis <agriffis@gentoo.org> nspr-4.6.2.ebuild: + Mark 4.6.2 stable on ia64. #134798 + + 07 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> nspr-4.6.2.ebuild: + Add ~x86-fbsd keyword. + +*nspr-4.6.2 (02 Jun 2006) + + 02 Jun 2006; Jory A. Pratt <anarchy@gentoo.org> +nspr-4.6.2.ebuild: + revision bump + +*nspr-4.6.1-r3 (23 Feb 2006) + + 23 Feb 2006; <anarchy@gentoo.org> +files/nspr-4.6.1-prtime.patch, + -nspr-4.6.1-r1.ebuild, +nspr-4.6.1-r3.ebuild: + fix to prtime for sparc and other archs + +*nspr-4.6.1-r2 (09 Feb 2006) + + 09 Feb 2006; <anarchy@gentoo.org> +files/nspr-4.6.1-config-1.patch, + +nspr-4.6.1-r2.ebuild: + rpath fix/hack + + 08 Feb 2006; <anarchy@gentoo.org> +files/nspr-4.6.1-lang.patch, + nspr-4.6.1-r1.ebuild: + Locales fixed thanks to vapier bug #121999 + +*nspr-4.6.1-r1 (30 Jan 2006) + + 30 Jan 2006; <anarchy@gentoo.org> +files/nspr-4.6.1-config.patch, + +files/nspr-4.6.1-gcc-visibility.patch, -nspr-4.6.1.ebuild, + +nspr-4.6.1-r1.ebuild: + full changes for nspr-config, revision bump + +*nspr-4.6.1 (26 Jan 2006) + + 26 Jan 2006; Marcelo Goes <vanquirius@gentoo.org> +files/nspr.pc.in, + +metadata.xml, +nspr-4.6.1.ebuild: + 4.6.1 version bump for bug 120441. Added crypto as a herd. + + 25 Sep 2005; Mike Frysinger <vapier@gentoo.org> nspr-4.4.1-r2.ebuild: + Touchup ebuild and run gnuconfig #99975 by Yuri Vasilevski. + + 22 Aug 2005; Diego Pettenò <flameeyes@gentoo.org> nspr-4.4.1-r2.ebuild: + Unbreak on Gentoo/FreeBSD, use cp -R instead of cp -r (-L option is not + valid with the latter). + + 04 Feb 2005; Stephen P. Becker <geoman@gentoo.org> nspr-4.4.1-r2.ebuild: + stable on mips + + 28 Jan 2005; Joseph Jezak <josejx@gentoo.org> nspr-4.4.1-r2.ebuild: + Marked ppc stable. + + 20 Jan 2005; Aron Griffis <agriffis@gentoo.org> nspr-4.4.1-r2.ebuild: + stable on ia64 + + 23 Dec 2004; Guy Martin <gmsoft@gentoo.org> nspr-4.4.1-r2.ebuild: + Stable on hppa. + + 20 Dec 2004; Bryan Østergaard <kloeri@gentoo.org> nspr-4.4.1-r2.ebuild: + Stable on alpha. + + 17 Dec 2004; Markus Rothe <corsair@gentoo.org> nspr-4.4.1-r2.ebuild: + Added patch to let nss compile on ppc64 + + 17 Dec 2004; Markus Rothe <corsair@gentoo.org> nspr-4.4.1-r2.ebuild: + Stable on ppc64 + + 15 Dec 2004; Gustavo Zacarias <gustavoz@gentoo.org> nspr-4.4.1-r2.ebuild: + Stable on sparc + + 24 Nov 2004; Travis Tilley <lv@gentoo.org> nspr-4.4.1-r2.ebuild: + marked stable on amd64 since this fixes the last bug keeping gnome 2.8 from + stable + +*nspr-4.4.1-r2 (24 Nov 2004) + + 24 Nov 2004; Travis Tilley <lv@gentoo.org> -nspr-4.4.1-r1.ebuild, + +nspr-4.4.1-r2.ebuild: + get_libdir-ized and made libnspr actually install to /usr/$(get_libdir)/nspr + +*nspr-4.4.1-r1 (15 Nov 2004) + + 15 Nov 2004; Alastair Tse <liquidx@gentoo.org> +nspr-4.4.1-r1.ebuild: + adding /etc/env.d entry to get around (#71004) + + 19 Sep 2004; Martin Schlemmer <azarah@gentoo.org> nspr-4.4.1.ebuild: + Do not install libs in /usr/bin. + + 14 Aug 2004; Tom Gall <tgall@gentoo.org> nspr-4.4.1.ebuild: + stable on ppc64, bug #58170 + + 28 Jul 2004; <agriffis@gentoo.org> nspr-4.4.1.ebuild: + stable on ia64 + + 07 Jul 2004; Travis Tilley <lv@gentoo.org> nspr-4.4.1.ebuild: + stable on amd64 + + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> nspr-4.1.2.ebuild, + nspr-4.3.ebuild, nspr-4.4.1.ebuild: + virtual/glibc -> virtual/libc + + 30 Apr 2004; Stephen P. Becker <geoman@gentoo.org> nspr-4.3.ebuild: + Stable on mips. + + 06 Apr 2004; Guy Martin <gmsoft@gentoo.org> : + Added a build-fix patch for hppa. + + 14 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> nspr-4.1.2.ebuild, + nspr-4.3.ebuild, nspr-4.4.1.ebuild: + Don't assign default to S; header fix + + 07 Mar 2004; Stephen P. Becker <geoman@gentoo.org> nspr-4.4.1.ebuild: + Added ~mips keyword. + + 16 Feb 2004; Joshua Kinard <kumba@gentoo.org> nspr-4.3.ebuild: + Added ~mips to keywords + + 27 Jan 2004; Aron Griffis <agriffis@gentoo.org> nspr-4.4.1.ebuild: + add ~ia64 + + 09 Jan 2004; Aron Griffis <agriffis@gentoo.org> nspr-4.4.1.ebuild: + stable on alpha + +*nspr-4.4.1 (04 Jan 2004) + + 04 Jan 2004; Daniel Ahlberg <aliz@gentoo.org> nspr-4.4.1.ebuild: + Version bump. + + 04 Jan 2004; Daniel Ahlberg <aliz@gentoo.org> nspr-4.3.ebuild: + Update SRC_URI. + + 13 Nov 2003; Brad House <brad_mssw@gentoo.org> nspr-4.3.ebuild, + files/nspr-4.3-amd64.patch: + amd64 patch from caleb@webninja.com + + 05 Sep 2003; Jason Wever <weeve@gentoo.org> nspr-4.3.ebuild: + Marked stable for sparc. + + 31 Jul 2003; Don Seiler <rizzo@gentoo.org>; nspr-4.3.ebuild: + Bumping to stable on ppc for gaim-encryption. + + 19 Jul 2003; Alastair Tse <liquidx@gentoo.org> nspr-4.3.ebuild: + express to stable because evo 1.4.3 needs it + + 11 Jul 2003; Will Woods <wwoods@gentoo.org> nspr-4.3.ebuild: + Added ~alpha to KEYWORDS + + 11 Jul 2003; Bartosch Pixa <darkspecter@gentoo.org> nspr-4.3.ebuild: + set ~ppc in keywords + +*nspr-4.3 (08 Jul 2003) + + 19 Nov 2003; Guy Martin <gmsoft@gentoo.org> nspr-4.3.ebuild : + Added hppa to KEYWORDS. + + 08 Jul 2003; Alastair Tse <liquidx@gentoo.org> nspr-4.3.ebuild: + version bump, fixes duplicate fstat symbol in library. + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + +*nspr-4.1.2 ( 10 Feb 2002 ) + + 10 Feb 2002; Karl Trygve Kalleberg <karltk@gentoo.org> ChangeLog files/digest-nspr-4.1.2 nspr-4.1.2.ebuild : + + Netscape Portable Runtime (NSPR) provides a platform-neutral API for system + level and libc like functions. The API is used in the Mozilla client, many + of Netscape/AOL/iPlanet's and other software offerings. diff --git a/dev-libs/nspr/Manifest b/dev-libs/nspr/Manifest new file mode 100644 index 00000000..639839e1 --- /dev/null +++ b/dev-libs/nspr/Manifest @@ -0,0 +1,13 @@ +AUX nspr-4.6.1-config-1.patch 565 RMD160 62fef94c85f636249c83cb6f4a7cc00a71adf3f6 SHA1 51f8e14107dc2edc951377991e9a7d08757d0f91 SHA256 9ed8fd15102ef3de6d837d40ec5d73aef0ea45bf9059b4cf5ff1f47b6a519ed6 +AUX nspr-4.6.1-config.patch 2722 RMD160 75701d5dbdd25a05a3bb43539bfa5f5ea850aabd SHA1 e8deaea05baf51eb6795db4e89ab89162d5d4632 SHA256 01bba00a314375cbb056c4e26e059515a6a0df92c62229799abca9f3fa9c7842 +AUX nspr-4.6.1-gcc-visibility.patch 594 RMD160 90d12fb89d8c23880d6a9c2018cddb100e1c0fb9 SHA1 f3a247214c67f0b019885d75fa8d572c508b6dee SHA256 1a8f18ecff6d28b0ce92a3d59e4eb844d79e9d25eed401e6dc66c33b03f59613 +AUX nspr-4.6.1-lang.patch 1718 RMD160 6c3fb440f4b4004289de3f65b996936bcfcbaa45 SHA1 a5ae7b8c95204279fbcb1ac46a242448aa5a894d SHA256 326f5f9d020e73a6ed8e949124eb075f21d856d0b099b8d04035ecc937cd35fb +AUX nspr-4.6.1-prtime.patch 1003 RMD160 20a8efaffdaf51d55566c14ebac1f40d3f22303b SHA1 090ca70eec5bd202686b718e3a6a247f1f58556a SHA256 54ed12024f4fd65bb911279faab18665b00429c7d0811c7485d4ff5c2c436237 +AUX nspr-4.7.0-prtime.patch 964 RMD160 a963c21fb1ce5e8913d3c41753ca37b24e80798d SHA1 b47ffa12022ea83b738e5d847e61cca026ec7f07 SHA256 3fd4f3c68257dced021c0bfa00245d0da2d6c64205135b1cc89f96a3375dffc7 +AUX nspr.pc.in 250 RMD160 4b09e190d343398d26568ed0dce821f951128782 SHA1 edcc81bcdb0618418aaa0d3fb82a3d0475b9098a SHA256 af16b4d93fe4615572ea1af025ff7b56763c734a4d946bb20abd62b032e08639 +DIST nspr-4.6.8.tar.gz 1313108 RMD160 da8b77c3b386adb82467613e0bcdbdf5f68369ea SHA1 ca0d7a940e1cf6cf6bd63680fedf090195d0b460 SHA256 47750e6a99e2570fa2119f21d5d201174282679352379a565e3e5a80453e48b1 +DIST nspr-4.7.1.tar.bz2 980527 RMD160 9eeb7c64ddee51a4647a9a518c02161a3937d2c0 SHA1 126d9507c6a05d547e61da49701618b61555b1b4 SHA256 3816016e1dc99e08d03a5fd8c1ee8657f69e7035d2503756a78bd833c3393957 +EBUILD nspr-4.6.8.ebuild 2728 RMD160 ae71ef8cf0bee0ee1ab37334329507e42bb2777a SHA1 6ca08873090170805f5a7a23a8f07fc57f7d9509 SHA256 4e5bd2f248b71e3b79f5e38e2c10a395590dc645c573d35fbc64c6c07660002d +EBUILD nspr-4.7.1.ebuild 2324 RMD160 c99fbc30dc3440d1a6ce8d9157214286a7eb5e7b SHA1 6a53662e98dad5f3f6d0a774c1d1a1a90cada43c SHA256 30d148d6d39c058b5c0d1d1bd410b443f2c74bfe8083562b09b5fdf64ee28bc1 +MISC ChangeLog 13794 RMD160 b60e325357794acc3bf6ae6317f3d70c7c0a4642 SHA1 4549379c6e8607f43a01fec2d5891f5edf2ddb52 SHA256 b5dca616b47a1f078954c2b1fdf69a1d2b5a2d4c6887390feb0c4d2bcb86f85f +MISC metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 SHA1 5015c07af2083f20f9552d7fb11afb5ea69af345 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b diff --git a/dev-libs/nspr/files/nspr-4.6.1-config-1.patch b/dev-libs/nspr/files/nspr-4.6.1-config-1.patch new file mode 100644 index 00000000..a7d53615 --- /dev/null +++ b/dev-libs/nspr/files/nspr-4.6.1-config-1.patch @@ -0,0 +1,11 @@ +--- mozilla/nsprpub/configure.orig 2006-01-14 22:41:37.000000000 +0000 ++++ mozilla/nsprpub/configure 2006-01-14 22:49:14.000000000 +0000 +@@ -3893,7 +3893,7 @@ + PR_MD_CSRCS=linux.c + MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' + DSO_CFLAGS=-fPIC +- DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' ++ DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@).$(MOD_MINOR_VERSION)' + _OPTIMIZE_FLAGS=-O2 + _DEBUG_FLAGS="-g -fno-inline" # most people on linux use gcc/gdb, and that + # combo is not yet good at debugging inlined diff --git a/dev-libs/nspr/files/nspr-4.6.1-config.patch b/dev-libs/nspr/files/nspr-4.6.1-config.patch new file mode 100644 index 00000000..ffbbf1ad --- /dev/null +++ b/dev-libs/nspr/files/nspr-4.6.1-config.patch @@ -0,0 +1,89 @@ +--- mozilla/nsprpub/lib/libc/src/Makefile.in.orig 2005-06-01 14:28:26.000000000 +0000 ++++ mozilla/nsprpub/lib/libc/src/Makefile.in 2006-01-15 02:50:39.000000000 +0000 +@@ -112,6 +112,10 @@ + MKSHLIB += -R '$$ORIGIN' + endif + ++ifeq ($(OS_ARCH), Linux) ++DSO_LDOPTS +=-Wl,-R,'$$ORIGIN' ++endif ++ + ifeq ($(OS_ARCH),OS2) + MAPFILE = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION).def + GARBAGE += $(MAPFILE) +--- mozilla/nsprpub/lib/ds/Makefile.in.orig 2005-06-01 14:28:25.000000000 +0000 ++++ mozilla/nsprpub/lib/ds/Makefile.in 2006-01-15 02:52:30.000000000 +0000 +@@ -102,6 +102,10 @@ + MKSHLIB += -R '$$ORIGIN' + endif + ++ifeq ($(OS_ARCH), Linux) ++DSO_LDOPTS += -Wl,-R,'$$ORIGIN' ++endif ++ + ifeq ($(OS_ARCH),OS2) + MAPFILE = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION).def + GARBAGE += $(MAPFILE) +--- mozilla/nsprpub/pr/src/Makefile.in.orig 2005-06-01 14:28:27.000000000 +0000 ++++ mozilla/nsprpub/pr/src/Makefile.in 2006-01-15 03:29:36.000000000 +0000 +@@ -168,6 +168,7 @@ + else + OS_LIBS = -ldl + endif ++DSO_LDOPTS +=-Wl,-R,'$$ORIGIN' + endif + + ifeq ($(OS_ARCH),HP-UX) +--- mozilla/nsprpub/config/Makefile.in.orig 2005-06-01 14:28:23.000000000 +0000 ++++ mozilla/nsprpub/config/Makefile.in 2006-01-15 04:13:42.000000000 +0000 +@@ -54,7 +54,7 @@ + # because it is included by every makefile. + DIST_GARBAGE = nsprincl.mk nsprincl.sh nspr-config + +-RELEASE_BINS = nspr-config ++RELEASE_BINS = nspr-config nspr.pc + + include $(topsrcdir)/config/config.mk + +@@ -139,6 +139,7 @@ + + export:: $(TARGETS) + rm -f $(dist_bindir)/nspr-config ++ rm -f $(dist_bindir)/nspr.pc + + ifdef WRAP_SYSTEM_INCLUDES + export:: +--- mozilla/nsprpub/config/nspr.pc.in.orig 1970-01-01 00:00:00.000000000 +0000 ++++ mozilla/nsprpub/config/nspr.pc.in 2006-01-15 04:12:23.000000000 +0000 +@@ -0,0 +1,10 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++ ++Name: NSPR ++Description: The Netscape Portable Runtime ++Version: @MOD_MAJOR_VERSION@.@MOD_MINOR_VERSION@.@MOD_PATCH_VERSION@ ++Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 @OS_LIBS@ -Wl,-R${libdir} ++Cflags: -I${includedir} +--- mozilla/nsprpub/configure.orig 2006-01-15 04:17:59.000000000 +0000 ++++ mozilla/nsprpub/configure 2006-01-15 04:21:35.000000000 +0000 +@@ -5899,6 +5899,7 @@ + config/nsprincl.mk + config/nsprincl.sh + config/nspr-config ++config/nspr.pc + lib/Makefile + lib/ds/Makefile + lib/libc/Makefile +--- mozilla/nsprpub/config/nspr-config.in.orig 2005-05-11 00:53:41.000000000 +0000 ++++ mozilla/nsprpub/config/nspr-config.in 2006-01-15 06:37:58.000000000 +0000 +@@ -122,7 +122,7 @@ + fi + + if test "$echo_libs" = "yes"; then +- libdirs=-L$libdir ++ libdirs="-Wl,-R$libdir -L$libdir" + if test -n "$lib_plds"; then + libdirs="$libdirs -lplds${major_version}" + fi diff --git a/dev-libs/nspr/files/nspr-4.6.1-gcc-visibility.patch b/dev-libs/nspr/files/nspr-4.6.1-gcc-visibility.patch new file mode 100644 index 00000000..a741c3b3 --- /dev/null +++ b/dev-libs/nspr/files/nspr-4.6.1-gcc-visibility.patch @@ -0,0 +1,15 @@ +Index: mozilla/nsprpub/pr/include/prtypes.h +diff -u mozilla/nsprpub/pr/include/prtypes.h:3.30 mozilla/nsprpub/pr/include/prtypes.h:3.30.2.1 +--- mozilla/nsprpub/pr/include/prtypes.h:3.30 Fri Apr 29 21:02:54 2005 ++++ mozilla/nsprpub/pr/include/prtypes.h Tue Jan 3 17:43:35 2006 +@@ -178,7 +178,9 @@ + + #else /* Unix */ + +-#ifdef HAVE_VISIBILITY_PRAGMA ++/* GCC 3.3 and later support the visibility attribute. */ ++#if (__GNUC__ >= 4) || \ ++ (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) + #define PR_VISIBILITY_DEFAULT __attribute__((visibility("default"))) + #else + #define PR_VISIBILITY_DEFAULT diff --git a/dev-libs/nspr/files/nspr-4.6.1-lang.patch b/dev-libs/nspr/files/nspr-4.6.1-lang.patch new file mode 100644 index 00000000..46fe15b8 --- /dev/null +++ b/dev-libs/nspr/files/nspr-4.6.1-lang.patch @@ -0,0 +1,41 @@ +The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in +option parsing, it may break. + +http://bugs.gentoo.org/103483 + +--- mozilla/nsprpub/configure ++++ mozilla/nsprpub/configure +@@ -54,6 +54,16 @@ + infodir='${prefix}/info' + mandir='${prefix}/man' + ++# NLS nuisances. ++# Only set these to C if already set. These must not be set unconditionally ++# because not all systems understand e.g. LANG=C (notably SCO). ++# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! ++# Non-C LC_CTYPE values break the ctype check. ++if test "${LANG+set}" = set; then LANG=C; export LANG; fi ++if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi ++if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi ++if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi ++ + # Initialize some other variables. + subdirs= + MFLAGS= MAKEFLAGS= +@@ -452,16 +463,6 @@ + esac + done + +-# NLS nuisances. +-# Only set these to C if already set. These must not be set unconditionally +-# because not all systems understand e.g. LANG=C (notably SCO). +-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! +-# Non-C LC_CTYPE values break the ctype check. +-if test "${LANG+set}" = set; then LANG=C; export LANG; fi +-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi +-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi +-if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi +- + # confdefs.h avoids OS command line length limits that DEFS can exceed. + rm -rf conftest* confdefs.h + # AIX cpp loses on an empty file, so make sure it contains at least a newline. diff --git a/dev-libs/nspr/files/nspr-4.6.1-prtime.patch b/dev-libs/nspr/files/nspr-4.6.1-prtime.patch new file mode 100644 index 00000000..4839838f --- /dev/null +++ b/dev-libs/nspr/files/nspr-4.6.1-prtime.patch @@ -0,0 +1,26 @@ +--- mozilla/nsprpub/pr/src/misc/prtime.c-orig 2004-04-25 10:01:01.000000000 -0500 ++++ mozilla/nsprpub/pr/src/misc/prtime.c 2006-02-23 12:07:35.098166000 -0600 +@@ -1509,7 +1509,7 @@ + case TT_EET: zone_offset = 2 * 60; break; + case TT_JST: zone_offset = 9 * 60; break; + default: +- PR_ASSERT (0); ++ return PR_FAILURE; + break; + } + } +@@ -1551,11 +1551,12 @@ + struct tm localTime; + time_t secs; + +- PR_ASSERT(tm.tm_month > -1 ++ if (!(tm.tm_month > -1 + && tm.tm_mday > 0 + && tm.tm_hour > -1 + && tm.tm_min > -1 +- && tm.tm_sec > -1); ++ && tm.tm_sec > -1)) ++ return PR_FAILURE; + + /* + * To obtain time_t from a tm structure representing the local diff --git a/dev-libs/nspr/files/nspr-4.7.0-prtime.patch b/dev-libs/nspr/files/nspr-4.7.0-prtime.patch new file mode 100644 index 00000000..ac509ef2 --- /dev/null +++ b/dev-libs/nspr/files/nspr-4.7.0-prtime.patch @@ -0,0 +1,26 @@ +--- mozilla/nsprpub/pr/src/misc/prtime.c.orig 2007-09-14 19:41:08.000000000 +0200 ++++ mozilla/nsprpub/pr/src/misc/prtime.c 2007-09-14 19:42:17.000000000 +0200 +@@ -1536,7 +1536,7 @@ + case TT_EET: zone_offset = 2 * 60; break; + case TT_JST: zone_offset = 9 * 60; break; + default: +- PR_ASSERT (0); ++ return PR_FAILURE; + break; + } + } +@@ -1578,11 +1578,12 @@ + struct tm localTime; + time_t secs; + +- PR_ASSERT(result->tm_month > -1 && ++ if (!(result->tm_month > -1 && + result->tm_mday > 0 && + result->tm_hour > -1 && + result->tm_min > -1 && +- result->tm_sec > -1); ++ result->tm_sec > -1)) ++ return PR_FAILURE; + + /* + * To obtain time_t from a tm structure representing the local diff --git a/dev-libs/nspr/files/nspr.pc.in b/dev-libs/nspr/files/nspr.pc.in new file mode 100644 index 00000000..26607901 --- /dev/null +++ b/dev-libs/nspr/files/nspr.pc.in @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=/usr +libdir=/usr/lib/nspr +includedir=/usr/include + +Name: NSPR +Description: The Netscape Portable Runtime +Version: @NSPR_VER@ +Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,-R${libdir} +Cflags: -I${includedir}/nspr diff --git a/dev-libs/nspr/metadata.xml b/dev-libs/nspr/metadata.xml new file mode 100644 index 00000000..74d92579 --- /dev/null +++ b/dev-libs/nspr/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>mozilla</herd> +</pkgmetadata> diff --git a/dev-libs/nspr/nspr-4.6.8.ebuild b/dev-libs/nspr/nspr-4.6.8.ebuild new file mode 100644 index 00000000..417d3c60 --- /dev/null +++ b/dev-libs/nspr/nspr-4.6.8.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.6.8.ebuild,v 1.10 2008/09/26 06:20:11 armin76 Exp $ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Netscape Portable Runtime" +HOMEPAGE="http://www.mozilla.org/projects/nspr/" +SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz" + +LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="ipv6 debug" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + mkdir build inst + epatch "${FILESDIR}"/${PN}-4.6.1-config.patch + epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch + epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch + epatch "${FILESDIR}"/${PN}-4.6.1-prtime.patch +} + +src_compile() { + cd build + + echo > "${T}"/test.c + $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o + case $(file "${T}"/test.o) in + *64-bit*) myconf="${myconf} --enable-64bit";; + *32-bit*) ;; + *) die "FAIL";; + esac + + if use ipv6; then + myconf="${myconf} --enable-ipv6" + fi + + myconf="${myconf} --libdir=/usr/$(get_libdir)/nspr" + + ECONF_SOURCE="../mozilla/nsprpub" econf \ + $(use_enable debug) \ + ${myconf} || die "econf failed" + make CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die +} + +src_install () { + # Their build system is royally fucked, as usual + MINOR_VERSION=6 + cd "${S}/build" + make install + insinto /usr + doins -r dist/* + rm -rf "${D}"/usr/bin/lib*.so + + #removing includes/nspr/md as per fedora spec + # i.e a waste of space! + rm -rf "${D}/usr/include/nspr/md" + + # there have been /usr/lib/nspr changes (like the ldpath below), but never + # have I seen any libraries end up in this directory. lets fix that. + # note: I tried doing this fix via the build system. It wont work. + if [ ! -e "${D}/usr/lib/nspr" ] ; then + mkdir -p "${D}/usr/lib/nspr" + mv "${D}"/usr/lib/*so* "${D}/usr/lib/nspr" + mv "${D}"/usr/lib/*\.a "${D}/usr/lib/nspr" + fi + # and while we're at it, lets make it actually use the arch's libdir damnit + if [ "lib" != "$(get_libdir)" ] ; then + mv "${D}/usr/lib" "${D}/usr/$(get_libdir)" + fi + #and while at it move them to files with versions-ending + #and link them back :) + cd "${D}/usr/$(get_libdir)/nspr" + for file in *.so; do + mv ${file} ${file}.${MINOR_VERSION} + ln -s ${file}.${MINOR_VERSION} ${file} + done + # cope with libraries being in /usr/lib/nspr + dodir /etc/env.d + echo "LDPATH=/usr/$(get_libdir)/nspr" > "${D}/etc/env.d/08nspr" + + # install nspr-config + insinto /usr/bin + doins "${S}/build/config/nspr-config" + chmod a+x "${D}/usr/bin/nspr-config" + + # create pkg-config file + insinto /usr/$(get_libdir)/pkgconfig/ + doins "${S}/build/config/nspr.pc" +} diff --git a/dev-libs/nspr/nspr-4.7.1.ebuild b/dev-libs/nspr/nspr-4.7.1.ebuild new file mode 100644 index 00000000..681481db --- /dev/null +++ b/dev-libs/nspr/nspr-4.7.1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.7.1.ebuild,v 1.2 2008/08/13 16:57:20 armin76 Exp $ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Netscape Portable Runtime" +HOMEPAGE="http://www.mozilla.org/projects/nspr/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="ipv6 debug" + +DEPEND=">=dev-db/sqlite-3.5" + +src_unpack() { + unpack ${A} + cd "${S}" + mkdir build inst + epatch "${FILESDIR}"/${PN}-4.6.1-config.patch + epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch + epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch + epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch + + # Respect LDFLAGS + sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \ + mozilla/nsprpub/config/rules.mk +} + +src_compile() { + cd "${S}"/build + + echo > "${T}"/test.c + $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o + case $(file "${T}"/test.o) in + *64-bit*) myconf="${myconf} --enable-64bit";; + *32-bit*) ;; + *) die "FAIL";; + esac + + if use ipv6; then + myconf="${myconf} --enable-ipv6" + fi + + myconf="${myconf} --libdir=/usr/$(get_libdir)/nspr \ + --enable-system-sqlite" + + ECONF_SOURCE="../mozilla/nsprpub" econf \ + $(use_enable debug) \ + ${myconf} || die "econf failed" + make CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die +} + +src_install () { + # Their build system is royally fucked, as usual + MINOR_VERSION=7 + cd "${S}"/build + emake DESTDIR="${D}" install || die "emake install failed" + + cd "${D}"/usr/$(get_libdir)/nspr + for file in *.so; do + mv ${file} ${file}.${MINOR_VERSION} + ln -s ${file}.${MINOR_VERSION} ${file} + done + # cope with libraries being in /usr/lib/nspr + dodir /etc/env.d + echo "LDPATH=/usr/$(get_libdir)/nspr" > "${D}/etc/env.d/08nspr" + + # install nspr-config + dobin "${S}"/build/config/nspr-config + + # create pkg-config file + insinto /usr/$(get_libdir)/pkgconfig/ + doins "${S}"/build/config/nspr.pc + + # Remove stupid files in /usr/bin + rm "${D}"/usr/bin/{prerr.properties,nspr.pc} +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6 +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6 +} diff --git a/media-libs/fontconfig/Manifest b/media-libs/fontconfig/Manifest new file mode 100644 index 00000000..f62b1438 --- /dev/null +++ b/media-libs/fontconfig/Manifest @@ -0,0 +1,6 @@ +AUX cross-no-fc-prog.diff 337 RMD160 91802d8c474152e0c29976bb36938f7b2a0a17aa SHA1 30e0dd264f310d36a9dd903fdcc173d07bdd98e9 SHA256 40145a6701759c9f84748762d7dea85782920d9d07166f5e6290f50afce39918 +AUX fontconfig-2.3.2-docbook.patch 506 RMD160 c205d99ecc19866da8d0ac4ef7172dcef98a6299 SHA1 1054f38cef09c93baf34f08253345ca2ae638e4a SHA256 c6480dcf19fec22126a9205fa3d9b317e5a97613f86218cf1926a2a07848afd5 +AUX fontconfig-2.5.0-libtool-2.2.patch 2589 RMD160 36a07e0161c6b2a970de19a090db4f750a519bea SHA1 e0267a4f29c670425861211cf960745021c22b6d SHA256 fce47ca38e8cff70ef7be40493b02b99ff2387a6e141a0e322ec8bfedee5b1a9 +AUX fontconfig-2.6.0-parallel.patch 437 RMD160 5a8ab14d0d86f19d0658768a37927bf1761b3d3c SHA1 f12963e627d0735aed4e3c5b9b16331fd293ce4a SHA256 0f0a2fd2ad9241aa680f2c4fa607cc7898e9d8e8aa585b68d47961f82cf424e8 +DIST fontconfig-2.6.0.tar.gz 1403857 RMD160 2fea7fa3fe1757b58ce53c4225b9f8e6ec7507bf SHA1 93752566b8327485b153bd156049614f779b4c57 SHA256 a9a639eaa0e5666606a4657cc1494eb6df820fac7e5a2aa0c3f7e703b7c8d8a5 +EBUILD fontconfig-2.6.0-r2.ebuild 3504 RMD160 56b9af28fadac4b58bc65093fa33bc2d29fa8313 SHA1 44a3994e78f425746d9888b2f2ad19896f4cd192 SHA256 aa82140172be22e4e9dd912fe135cc6e847d3f5233d330eaff702893ef5eabf8 diff --git a/media-libs/fontconfig/files/cross-no-fc-prog.diff b/media-libs/fontconfig/files/cross-no-fc-prog.diff new file mode 100644 index 00000000..f7862c61 --- /dev/null +++ b/media-libs/fontconfig/files/cross-no-fc-prog.diff @@ -0,0 +1,11 @@ +--- Makefile.am.ori 2008-12-26 18:43:32.000000000 +0100 ++++ Makefile.am 2008-12-26 18:43:42.000000000 +0100 +@@ -23,7 +23,7 @@ + + DOCSRC=@DOCSRC@ + SUBDIRS=fontconfig fc-case fc-lang fc-glyphname fc-arch src \ +- fc-cache fc-cat fc-list fc-match conf.d $(DOCSRC) test ++ conf.d $(DOCSRC) test + + EXTRA_DIST = \ + fontconfig.pc.in \ diff --git a/media-libs/fontconfig/files/fontconfig-2.3.2-docbook.patch b/media-libs/fontconfig/files/fontconfig-2.3.2-docbook.patch new file mode 100644 index 00000000..6a6c01e2 --- /dev/null +++ b/media-libs/fontconfig/files/fontconfig-2.3.2-docbook.patch @@ -0,0 +1,15 @@ +--- configure.in.old 2006-03-31 18:31:26.000000000 +0200 ++++ configure.in 2006-03-31 18:44:47.000000000 +0200 +@@ -407,7 +407,11 @@ + # Let people not build/install docs if they don't have docbook + # + +-AC_CHECK_PROG(HASDOCBOOK, docbook2html, yes, no) ++AC_ARG_ENABLE(docbook, [ --disable-docbook Don't build documentation],,) ++ ++if test x$enable_docbook != xno; then ++ AC_CHECK_PROG(HASDOCBOOK, docbook2html, yes, no) ++fi + + AM_CONDITIONAL(USEDOCBOOK, test "x$HASDOCBOOK" = xyes) + diff --git a/media-libs/fontconfig/files/fontconfig-2.5.0-libtool-2.2.patch b/media-libs/fontconfig/files/fontconfig-2.5.0-libtool-2.2.patch new file mode 100644 index 00000000..0da2b300 --- /dev/null +++ b/media-libs/fontconfig/files/fontconfig-2.5.0-libtool-2.2.patch @@ -0,0 +1,76 @@ +From: Keith Packard <keithp@keithp.com> +Date: Sun, 4 May 2008 03:23:37 +0000 (-0700) +Subject: Deal with libtool 2.2 which doesn't let us use LT_ variables. (bug 15692) +X-Git-Tag: 2.5.92 +X-Git-Url: http://gitweb.freedesktop.org/?p=fontconfig;a=commitdiff;h=19d124dc4f9a68e1c9ddce58bf79a5e11d2ccbfd + +Deal with libtool 2.2 which doesn't let us use LT_ variables. (bug 15692) + +Libtool-2.2 introduces new restrictions. So now it does not allow LT_* +variables as it includes marcros: + +m4_pattern_forbid([^_?LT_[A-Z_]+$]) + +Rename the LT_ variables to LIBT_ to work around this restriction. +--- + +--- a/configure.in ++++ b/configure.in +@@ -41,17 +41,17 @@ dnl libtool versioning + dnl bump revision when fixing bugs + dnl bump current and age, reset revision to zero when adding APIs + dnl bump current, leave age, reset revision to zero when changing/removing APIS +-LT_CURRENT=4 +-LT_REVISION=0 +-AC_SUBST(LT_CURRENT) +-AC_SUBST(LT_REVISION) +-LT_AGE=3 ++LIBT_CURRENT=4 ++LIBT_REVISION=0 ++AC_SUBST(LIBT_CURRENT) ++AC_SUBST(LIBT_REVISION) ++LIBT_AGE=3 + +-LT_VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE" +-AC_SUBST(LT_VERSION_INFO) ++LIBT_VERSION_INFO="$LIBT_CURRENT:$LIBT_REVISION:$LIBT_AGE" ++AC_SUBST(LIBT_VERSION_INFO) + +-LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE` +-AC_SUBST(LT_CURRENT_MINUS_AGE) ++LIBT_CURRENT_MINUS_AGE=`expr $LIBT_CURRENT - $LIBT_AGE` ++AC_SUBST(LIBT_CURRENT_MINUS_AGE) + + dnl ========================================================================== + +--- a/fontconfig-zip.in ++++ b/fontconfig-zip.in +@@ -10,7 +10,7 @@ DEVZIP=/tmp/fontconfig-dev-@VERSION@.zip + cd @prefix@ + rm -f $ZIP + zip $ZIP -@ <<EOF +-bin/libfontconfig-@LT_CURRENT_MINUS_AGE@.dll ++bin/libfontconfig-@LIBT_CURRENT_MINUS_AGE@.dll + etc/fonts/fonts.conf + EOF + +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -112,7 +112,7 @@ libfontconfig_la_SOURCES = \ + lib_LTLIBRARIES = libfontconfig.la + + libfontconfig_la_LDFLAGS = \ +- -version-info @LT_VERSION_INFO@ -no-undefined $(export_symbols) ++ -version-info @LIBT_VERSION_INFO@ -no-undefined $(export_symbols) + + libfontconfig_la_LIBADD = $(ICONV_LIBS) $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS) + +@@ -148,6 +148,6 @@ fontconfig.def: $(PUBLIC_FILES) $(PUBLIC + (cat $(PUBLIC_FILES) $(PUBLIC_FT_FILES) || echo 'FcERROR ()' ) | \ + grep '^Fc[^ ]* *(' | sed -e 's/ *(.*$$//' -e 's/^/ /' | \ + sort; \ +- echo LIBRARY libfontconfig-@LT_CURRENT_MINUS_AGE@.dll; \ +- echo VERSION @LT_CURRENT@.@LT_REVISION@) >$@ ++ echo LIBRARY libfontconfig-@LIBT_CURRENT_MINUS_AGE@.dll; \ ++ echo VERSION @LIBT_CURRENT@.@LIBT_REVISION@) >$@ + @ ! grep -q FcERROR $@ || ($(RM) $@; false) diff --git a/media-libs/fontconfig/files/fontconfig-2.6.0-parallel.patch b/media-libs/fontconfig/files/fontconfig-2.6.0-parallel.patch new file mode 100644 index 00000000..d44af519 --- /dev/null +++ b/media-libs/fontconfig/files/fontconfig-2.6.0-parallel.patch @@ -0,0 +1,22 @@ +=== modified file 'fc-case/Makefile.am' +--- fc-case/Makefile.am 2008-06-22 15:28:39 +0000 ++++ fc-case/Makefile.am 2008-06-22 15:50:28 +0000 +@@ -36,6 +36,8 @@ + + noinst_MANS=fc-case.man + ++noinst_HEADERS=$(TARG) ++ + fc_case_SRCS= \ + fc-case.c \ + fccaseint.h \ +@@ -52,7 +54,7 @@ + + ALIAS_FILES = fcalias.h fcaliastail.h + +-BUILT_SOURCES = $(ALIAS_FILES) $(TARG) ++BUILT_SOURCES = $(ALIAS_FILES) + + $(ALIAS_FILES): + touch $(ALIAS_FILES) + diff --git a/media-libs/fontconfig/fontconfig-2.6.0-r2.ebuild b/media-libs/fontconfig/fontconfig-2.6.0-r2.ebuild new file mode 100644 index 00000000..2ffde41e --- /dev/null +++ b/media-libs/fontconfig/fontconfig-2.6.0-r2.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/fontconfig-2.6.0-r2.ebuild,v 1.13 2008/12/07 11:50:22 vapier Exp $ + +WANT_AUTOMAKE=1.9 + +inherit eutils autotools libtool toolchain-funcs flag-o-matic + +DESCRIPTION="A library for configuring and customizing font access" +HOMEPAGE="http://fontconfig.org/" +SRC_URI="http://fontconfig.org/release/${P}.tar.gz" + +LICENSE="fontconfig" +SLOT="1.0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" +IUSE="doc" + +# Purposefully dropped the xml USE flag and libxml2 support. Having this is +# silly since expat is the preferred way to go per upstream and libxml2 support +# simply exists as a fallback when expat isn't around. expat support is the main +# way to go and every other distro uses it. By using the xml USE flag to enable +# libxml2 support, this confuses users and results in most people getting the +# non-standard behavior of libxml2 usage since most profiles have USE=xml + +RDEPEND=">=media-libs/freetype-2.2.1 + >=dev-libs/expat-1.95.3" +DEPEND="${RDEPEND} + dev-util/pkgconfig + doc? ( app-text/docbook-sgml-utils + =app-text/docbook-sgml-dtd-3.1* )" +PDEPEND="app-admin/eselect-fontconfig" + +pkg_setup() { + #To get docbook2pdf + if use doc && ! { built_with_use --missing false app-text/docbook-sgml-utils jadetex \ + || \ + built_with_use --missing false app-text/docbook-sgml-utils tetex; + } + then + die "For this package to be built with the doc use flag, app-text/docbook-sgml-utils must be built with the jadetex use flag" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epunt_cxx #74077 + epatch "${FILESDIR}"/${P}-parallel.patch + epatch "${FILESDIR}"/cross-no-fc-prog.diff # X-MW: No progs when cross-compil + # Neeeded to get a sane .so versionning on fbsd, please dont drop + # If you have to run eautoreconf, you can also leave the elibtoolize call as + # it will be a no-op. + eautomake + elibtoolize +} + +src_compile() { + local myconf + if tc-is-cross-compiler; then + myconf="--with-arch=${ARCH}" + replace-flags -mtune=* -DMTUNE_CENSORED + replace-flags -march=* -DMARCH_CENSORED + fi + econf $(use_enable doc docs) \ + --localstatedir=/var \ + --with-docdir=/usr/share/doc/${PF} \ + --with-default-fonts=/usr/share/fonts \ + --with-add-fonts=/usr/local/share/fonts \ + ${myconf} || die + + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + #fc-lang directory contains language coverage datafiles + #which are needed to test the coverage of fonts. + insinto /usr/share/fc-lang + doins fc-lang/*.orth + + insinto /etc/fonts + doins "${S}"/fonts.conf + + doman $(find "${S}" -type f -name *.1 -print) + newman doc/fonts-conf.5 fonts.conf.5 + dodoc doc/fontconfig-user.{txt,pdf} + + if use doc; then + doman doc/Fc*.3 + dohtml doc/fontconfig-devel.html + dodoc doc/fontconfig-devel.{txt,pdf} + fi + + dodoc AUTHORS ChangeLog README + + # Changes should be made to /etc/fonts/local.conf, and as we had + # too much problems with broken fonts.conf, we force update it ... + # <azarah@gentoo.org> (11 Dec 2002) + echo 'CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"' > "${T}"/37fontconfig + doenvd "${T}"/37fontconfig +} + +pkg_postinst() { + echo + ewarn "Please make fontconfig configuration changes in /etc/fonts/conf.d/" + ewarn "and NOT to /etc/fonts/fonts.conf, as it will be replaced!" + echo + + if [[ ${ROOT} = / ]]; then + ebegin "Creating global font cache..." + /usr/bin/fc-cache -sr + eend $? + fi +} diff --git a/net-misc/curl/ChangeLog b/net-misc/curl/ChangeLog new file mode 100644 index 00000000..b4458666 --- /dev/null +++ b/net-misc/curl/ChangeLog @@ -0,0 +1,638 @@ +# ChangeLog for net-misc/curl +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.126 2008/08/25 20:22:46 jer Exp $ + + 25 Aug 2008; Jeroen Roovers <jer@gentoo.org> curl-7.18.2.ebuild: + Stable for HPPA (bug #233122). + + 03 Aug 2008; Daniel Black <dragonheart@gentoo.org> -curl-7.15.5-r1.ebuild, + -curl-7.18.1.ebuild: + small purge since it caused problems for people + + 02 Aug 2008; Markus Rothe <corsair@gentoo.org> curl-7.18.2.ebuild: + Stable on ppc64; bug #233122 + + 01 Aug 2008; nixnut <nixnut@gentoo.org> curl-7.18.2.ebuild: + Stable on ppc wrt bug 233122 + + 30 Jul 2008; Dawid Węgliński <cla@gentoo.org> curl-7.18.2.ebuild: + Stable on amd64 (bug #233122) + + 29 Jul 2008; Raúl Porcel <armin76@gentoo.org> curl-7.18.2.ebuild: + alpha/ia64/sparc/x86 stable wrt #233122 + + 07 Jun 2008; Daniel Black <dragonheart@gentoo.org> curl-7.18.2.ebuild: + remove patch that was needed for bug #216096 as it is now included - thanks + mastamind - bug #225163 + +*curl-7.18.2 (07 Jun 2008) + + 07 Jun 2008; Daniel Black <dragonheart@gentoo.org> +curl-7.18.2.ebuild: + version bump + + 05 Apr 2008; Daniel Black <dragonheart@gentoo.org> curl-7.17.1.ebuild: + fix for USE=kerberos/-ldap as per bug #216273 thanks to Graham Russell. + + 04 Apr 2008; Daniel Black <dragonheart@gentoo.org> curl-7.18.1.ebuild: + correct compile fault with heimdal as a gssapi provider - thanks to Doug in + bug #216096 + + 02 Apr 2008; Daniel Black <dragonheart@gentoo.org> curl-7.18.1.ebuild: + hopefully fixed bug #215713 and bug #193149 thanks to Olivier, Rafal and + teidakankan + +*curl-7.18.1 (01 Apr 2008) + + 01 Apr 2008; Daniel Black <dragonheart@gentoo.org> -curl-7.17.0.ebuild, + -curl-7.17.1_pre20071013.ebuild, curl-7.17.1.ebuild, +curl-7.18.1.ebuild: + added 7.18.1 which fixes bugs #210295, #204130, #209421, #206566 and part of + bug #207653. 7.17.1 has fixes from bug #206566. Thanks to Daniel Stenberg, + Micha Kiedrowicz, Olivier Dole, and Fabrice Bacchella. Cleaned out some old + versions too + + 10 Feb 2008; Tobias Scherbaum <dertobi123@gentoo.org> curl-7.17.1.ebuild: + ppc stable, bug #202891 + + 05 Feb 2008; Markus Rothe <corsair@gentoo.org> curl-7.17.1.ebuild: + Stable on ppc64 + + 23 Jan 2008; Raúl Porcel <armin76@gentoo.org> curl-7.17.1.ebuild: + alpha/ia64/sparc/x86 stable + + 22 Jan 2008; Jeroen Roovers <jer@gentoo.org> curl-7.17.1.ebuild: + Stable for HPPA (maybe bug #202891). + + 26 Dec 2007; Doug Klima <cardoe@gentoo.org> curl-7.17.1.ebuild: + amd64 stable wrt bug#202891 + +*curl-7.17.1 (12 Nov 2007) + + 12 Nov 2007; Daniel Black <dragonheart@gentoo.org> + +files/curl-7.17.1-null-handler-segfault.patch, +curl-7.17.1.ebuild: + version bump + patch thanks to Robin - bug #198931 + + 17 Oct 2007; Daniel Black <dragonheart@gentoo.org> curl-7.17.0.ebuild, + curl-7.17.1_pre20071013.ebuild: + remove app-misc/ca-certificates from RDEPEND unless using a crypto USE flag + thanks to beandog + +*curl-7.17.1_pre20071013 (13 Oct 2007) + + 13 Oct 2007; Daniel Black <dragonheart@gentoo.org> + -curl-7.17.0_pre20070828.ebuild, -curl-7.17.0-r1.ebuild, + +curl-7.17.1_pre20071013.ebuild: + revision snapshot to fix bug #195706. thanks Christoph Mende and Daniel + Stenberg. removed older versions + + 01 Oct 2007; Roy Marples <uberlord@gentoo.org> curl-7.17.0.ebuild, + curl-7.17.0-r1.ebuild: + Keyworded ~sparc-fbsd + + 14 Sep 2007; Daniel Black <dragonheart@gentoo.org> curl-7.17.0.ebuild: + with!= without (libssh2) thanks to Mikachu + +*curl-7.17.0-r1 (13 Sep 2007) +*curl-7.17.0 (13 Sep 2007) + + 13 Sep 2007; Daniel Black <dragonheart@gentoo.org> + +files/curl-7.17.0-strip-ldflags.patch, +curl-7.17.0.ebuild, + +curl-7.17.0-r1.ebuild: + version bump - -r1 added for ssh2 testing + +*curl-7.17.0_pre20070828 (28 Aug 2007) + + 28 Aug 2007; Daniel Black <dragonheart@gentoo.org> + +curl-7.17.0_pre20070828.ebuild: + cvs version for Phillip Berndt in bug #190504 + + 26 Aug 2007; Daniel Black <dragonheart@gentoo.org> + -files/curl-7.15.1-test46.patch, -files/curl-7.15-libtftp.patch, + -curl-7.15.1-r1.ebuild: + purge vulnerable versions (sec bug #184934) + + 10 Aug 2007; Christoph Mende <angelos@gentoo.org> curl-7.16.4.ebuild: + Stable on amd64 wrt bug #187731 + + 08 Aug 2007; Raúl Porcel <armin76@gentoo.org> curl-7.16.4.ebuild: + alpha/ia64 stable wrt #187731 + + 07 Aug 2007; Joseph Jezak <josejx@gentoo.org> curl-7.16.4.ebuild: + Marked ppc stable. + + 07 Aug 2007; Markus Rothe <corsair@gentoo.org> curl-7.16.4.ebuild: + Stable on ppc64; bug #187731 + + 07 Aug 2007; Gustavo Zacarias <gustavoz@gentoo.org> curl-7.16.4.ebuild: + Stable on sparc wrt #187731 + + 06 Aug 2007; Joshua Kinard <kumba@gentoo.org> curl-7.16.4.ebuild: + Stable on mips, per #187731. + + 05 Aug 2007; Jeroen Roovers <jer@gentoo.org> curl-7.16.4.ebuild: + Stable for HPPA (bug #187731). + + 28 Jul 2007; Steve Dibb <beandog@gentoo.org> curl-7.15.5-r1.ebuild: + amd64 stable, security bug 184934 + + 24 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org> curl-7.15.5-r1.ebuild: + Stable on sparc wrt security #184934 + + 20 Jul 2007; Tobias Scherbaum <dertobi123@gentoo.org> + curl-7.15.5-r1.ebuild: + ppc stable, bug #184934 + + 19 Jul 2007; Raúl Porcel <armin76@gentoo.org> curl-7.15.5-r1.ebuild: + alpha/ia64/x86 stable wrt security #184934 + + 19 Jul 2007; Markus Rothe <corsair@gentoo.org> curl-7.15.5-r1.ebuild: + Stable on ppc64; bug #184934 + + 19 Jul 2007; Jeroen Roovers <jer@gentoo.org> curl-7.15.5-r1.ebuild: + Stable for HPPA (bug #184934). + + 11 Jul 2007; Daniel Black <dragonheart@gentoo.org> + -files/curl-7.16.1-strip-ldflags.patch, -curl-7.15.5.ebuild, + -curl-7.16.2.ebuild, -curl-7.16.3.ebuild: + cleanout + +*curl-7.15.5-r1 (11 Jul 2007) + + 11 Jul 2007; Daniel Black <dragonheart@gentoo.org> +curl-7.15.5-r1.ebuild, + files/libcurl-gnutlscert.patch: + backport patch for CVE-2007-3564 + +*curl-7.16.4 (11 Jul 2007) + + 11 Jul 2007; Daniel Black <dragonheart@gentoo.org> +curl-7.16.4.ebuild: + version bump - security bug #184934 + + 08 Jul 2007; Daniel Black <dragonheart@gentoo.org> + files/curl-7.16.2-strip-ldflags.patch, curl-7.16.3.ebuild: + no LDFLAGS now - bug #183402 + +*curl-7.16.3 (25 Jun 2007) + + 25 Jun 2007; Daniel Black <dragonheart@gentoo.org> +curl-7.16.3.ebuild, + -curl-7.16.3_pre20070418.ebuild, -curl-7.16.3_pre20070610.ebuild: + release thanks to upstream. + +*curl-7.16.3_pre20070610 (11 Jun 2007) + + 11 Jun 2007; Daniel Black <dragonheart@gentoo.org> metadata.xml, + +curl-7.16.3_pre20070610.ebuild: + upstream snapshot + +*curl-7.16.3_pre20070418 (18 Apr 2007) + + 18 Apr 2007; Daniel Black <dragonheart@gentoo.org> + +curl-7.16.3_pre20070418.ebuild: + snapshot. still does not fix some self test fails will look later. TESTFAIL: + These test cases failed: 300 301 304 305 306 400 401 403 404 405 + +*curl-7.16.2 (14 Apr 2007) + + 14 Apr 2007; <dragonheart@gentoo.org> +files/curl-7.16.2-strip-ldflags.patch, + curl-7.15.1-r1.ebuild, curl-7.15.5.ebuild, -curl-7.16.0.ebuild, + -curl-7.16.1.ebuild, +curl-7.16.2.ebuild: + version bump. remove old versions. remove krb4 as per bug #173354 + 7.16.2 has broken selftests 405 534 that i'll look at later. + +*curl-7.16.1 (11 Feb 2007) + + 11 Feb 2007; Daniel Black <dragonheart@gentoo.org> + +files/curl-7.15.1-test62.patch, +files/curl-7.16.1-strip-ldflags.patch, + curl-7.15.1-r1.ebuild, curl-7.15.5.ebuild, curl-7.16.0.ebuild, + +curl-7.16.1.ebuild: + fix test case 62 as per bug #166289 thanks Miroslav Sulc. version bump to + 7.16.1 + +*curl-7.16.0 (09 Dec 2006) + + 09 Dec 2006; Daniel Black <dragonheart@gentoo.org> curl-7.15.1-r1.ebuild, + -curl-7.15.3.ebuild, -curl-7.15.4.ebuild, curl-7.15.5.ebuild, + +curl-7.16.0.ebuild: + Fixed bug #157539 thanks to Timothy - attempted installtion of non-existant + files. Fixed type that ment USE=kerberos disabled the effect of other USE + flags (thanks me). Version bump as per bug #154575 thanks Gerry - still + masked as no compatible pycurl and all other programs not tested for + compatibility + +*curl-7.15.5 (22 Oct 2006) + + 22 Oct 2006; Konstantin V. Arkhipov <voxus@gentoo.org> + +curl-7.15.5.ebuild: + Version bump, closing bug #145414. + + 04 Oct 2006; Fabian Groffen <grobian@gentoo.org> curl-7.15.1-r1.ebuild, + curl-7.15.3.ebuild, curl-7.15.4.ebuild: + Dropped ~ppc-macos, see you in prefix. + + 17 Jul 2006; Alastair Tse <liquidx@gentoo.org> curl-7.15.1-r1.ebuild: + fix stupid typo + +*curl-7.15.4 (17 Jul 2006) + + 17 Jul 2006; Alastair Tse <liquidx@gentoo.org> + +files/curl-7.15.1-test46.patch, +files/curl-7.15-strip-ldflags.patch, + curl-7.15.1-r1.ebuild, +curl-7.15.4.ebuild: + Added patch to fix test46 in 7.15.1 (#111555), version bumped to 7.15.4, + stripped LDFLAGS from curl-config and libcurl.pc. + + 01 Jun 2006; Daniel Black <dragonheart@gentoo.org> + -files/curl-7.15.0-versionnumber.patch, -curl-7.15.1.ebuild: + purge security vulnerable versions + + 02 May 2006; Diego Pettenò <flameeyes@gentoo.org> curl-7.15.3.ebuild: + Add elibtoolize call. + + 27 Apr 2006; Alastair Tse <liquidx@gentoo.org> curl-7.15.1.ebuild, + curl-7.15.1-r1.ebuild, curl-7.15.3.ebuild: + fix kerberos dep (#109806) + + 28 Apr 2006; Joshua Kinard <kumba@gentoo.org> curl-7.15.1-r1.ebuild: + Marked stable on mips. + + 23 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> curl-7.15.3.ebuild: + Add ~x86-fbsd keyword. + + 24 Mar 2006; Aron Griffis <agriffis@gentoo.org> curl-7.15.1-r1.ebuild: + Mark 7.15.1-r1 stable on ia64. #125766 + +*curl-7.15.3 (20 Mar 2006) +*curl-7.15.1-r1 (20 Mar 2006) + + 20 Mar 2006; <solar@gentoo.org> +files/curl-7.15-libtftp.patch, + -curl-7.13.1.ebuild, -curl-7.13.2.ebuild, -curl-7.15.0.ebuild, + +curl-7.15.1-r1.ebuild, -curl-7.15.2.ebuild, +curl-7.15.3.ebuild: + - security bump for tftp vuln. CVE-2006-1061 - bug #125766 + +*curl-7.15.2 (01 Mar 2006) + + 01 Mar 2006; Daniel Black <dragonheart@gentoo.org> +curl-7.15.2.ebuild: + version bump + + 26 Feb 2006; Joshua Kinard <kumba@gentoo.org> curl-7.15.1.ebuild: + Marked stable on mips. + + 15 Dec 2005; Joshua Jackson <tsunam@gentoo.org> curl-7.15.1.ebuild: + Stable on x86 for security bug #114710 + + 14 Dec 2005; <dang@gentoo.org> curl-7.15.1.ebuild: + Marked stable on amd64 per bug #114710 + + 14 Dec 2005; Gustavo Zacarias <gustavoz@gentoo.org> curl-7.15.1.ebuild: + Stable on sparc wrt #114710 + + 14 Dec 2005; Fernando J. Pereda <ferdy@gentoo.org> curl-7.15.1.ebuild: + stable on alpha wrt bug #114710 + + 13 Dec 2005; Daniel Black <dragonheart@gentoo.org> +curl-7.13.1.ebuild, + +curl-7.13.2.ebuild: + overzealous pruning - depended on by pycurl - thanks MrBones + + 13 Dec 2005; Michael Hanselmann <hansmi@gentoo.org> curl-7.15.1.ebuild: + Stable on hppa, ppc. See bug #114710. + + 13 Dec 2005; Markus Rothe <corsair@gentoo.org> curl-7.15.1.ebuild: + Stable on ppc64; bug #114710 + +*curl-7.15.1 (13 Dec 2005) + + 13 Dec 2005; Daniel Black <dragonheart@gentoo.org> -curl-7.13.1.ebuild, + -curl-7.13.2.ebuild, +curl-7.15.1.ebuild: + version bump due to sec bug #114710. old versions removed + + 20 Nov 2005; Daniel Black <dragonheart@gentoo.org> + +files/curl-7.15.0-versionnumber.patch, curl-7.15.0.ebuild: + fix for curl-config --vernum - bug #112759 thanks to Tupone Alfredo + + 22 Oct 2005; Fabian Groffen <grobian@gentoo.org> curl-7.15.0.ebuild: + Marked ~ppc-macos (bug #109097) + + 22 Oct 2005; Aaron Walker <ka0ttic@gentoo.org> curl-7.15.0.ebuild: + Stable on mips for bug #109097. + + 21 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> curl-7.15.0.ebuild: + ~ia64 keyword. + + 20 Oct 2005; Aaron Walker <ka0ttic@gentoo.org> curl-7.15.0.ebuild: + Added ~mips. + + 20 Oct 2005; Luis Medinas <metalgod@gentoo.org> curl-7.15.0.ebuild: + Marked Stable on amd64. Bug #109097. + + 19 Oct 2005; Jose Luis Rivero <yoswink@gentoo.org> curl-7.15.0.ebuild: + Stable on alpha wrt security bug #109097 + + 19 Oct 2005; Daniel Black <dragonheart@gentoo.org> curl-7.15.0.ebuild: + removed dual KEYWORD line + + 19 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org> curl-7.15.0.ebuild: + Stable on sparc wrt #109097 + + 19 Oct 2005; Brent Baude <ranger@gentoo.org> curl-7.15.0.ebuild: + Marking curl-7.15.0 ppc64 stable for bug 109097 + + 19 Oct 2005; Michael Hanselmann <hansmi@gentoo.org> curl-7.15.0.ebuild: + Moved all keywords which are missing on c-ares to a new line. Stable on hppa. + Thanks to KillerFox for testing. + + 19 Oct 2005; Andrej Kacian <ticho@gentoo.org> curl-7.15.0.ebuild: + Stable on x86, security bug #109097. + + 15 Oct 2005; Daniel Black <dragonheart@gentoo.org> curl-7.15.0.ebuild: + libcurl.pc installed as per bug #104110 by Christoph Gysin + + 15 Oct 2005; Daniel Black <dragonheart@gentoo.org> + -files/curl-7.10.8-transfer-segv.patch, -files/7.12.0-no-fputc.patch, + -files/curl-7.10.5-badssl.patch, -curl-7.14.0.ebuild, curl-7.15.0.ebuild: + more cleanups. old ebuild/patches removed + +*curl-7.15.0 (15 Oct 2005) + + 15 Oct 2005; Daniel Black <dragonheart@gentoo.org> +curl-7.15.0.ebuild: + version bump - security bug #109097 + + 27 Aug 2005; Karol Wojtaszek <sekretarz@gentoo.org> curl-7.14.0.ebuild: + Added libidn support, thanks Marcin Kryczek <aye@gentoo.pl> in bug #103745 + + 17 Aug 2005; Malcolm Lashley <malc@gentoo.org> curl-7.13.2.ebuild: + Stable on amd64 + + 05 Jul 2005; Rene Nussbaumer <killerfox@gentoo.org> curl-7.13.2.ebuild: + Stable on hppa. + + 02 Jul 2005; Bryan Østergaard <kloeri@gentoo.org> curl-7.13.2.ebuild: + Stable on alpha. + + 30 Jun 2005; Joseph Jezak <josejx@gentoo.org> curl-7.13.2.ebuild: + Marked ppc stable. + + 27 Jun 2005; Markus Rothe <corsair@gentoo.org> curl-7.13.2.ebuild: + Stable on ppc64 + + 25 Jun 2005; Danny van Dyk <kugelfang@gentoo.org> curl-7.14.0.ebuild: + Added ~s390 as of BUG #95052. + + 25 Jun 2005; Gustavo Zacarias <gustavoz@gentoo.org> curl-7.13.2.ebuild: + Stable on sparc + +*curl-7.14.0 (25 Jun 2005) + + 25 Jun 2005; Alastair Tse <liquidx@gentoo.org> -curl-7.10.8-r1.ebuild, + -curl-7.11.0.ebuild, -curl-7.11.1.ebuild, -curl-7.12.0-r2.ebuild, + -curl-7.12.3.ebuild, curl-7.13.1.ebuild, curl-7.13.2.ebuild, + +curl-7.14.0.ebuild: + version bump. added gnutls support (#95052) + + 14 May 2005; Bryan Østergaard <kloeri@gentoo.org> curl-7.13.1.ebuild: + Stable on ia64. + +*curl-7.13.2 (27 Apr 2005) + + 27 Apr 2005; Alastair Tse <liquidx@gentoo.org> +curl-7.13.2.ebuild: + version bump. added c-ares support. added old library if we detect it on + compile, which stops broken dependencies on major lib upgrades from 7.11.x + to 7.12.x. + + 23 Apr 2005; Kito <kito@gentoo.org> curl-7.13.1.ebuild: + ~ppc-macos keyword + + 22 Apr 2005; Bryan Østergaard <kloeri@gentoo.org> curl-7.13.1.ebuild: + Add ~ia64 keyword. + + 16 Mar 2005; Alastair Tse <liquidx@gentoo.org> curl-7.13.1.ebuild: + disabling src_test (#85403) + + 13 Mar 2005; Hardave Riar <hardave@gentoo.org> curl-7.13.1.ebuild: + Stable on mips, bug #82534. + + 12 Mar 2005; Bryan Østergaard <kloeri@gentoo.org> curl-7.13.1.ebuild: + Stable on alpha, bug 82534. + + 10 Mar 2005; Gustavo Zacarias <gustavoz@gentoo.org> curl-7.13.1.ebuild: + Stable on sparc wrt #82534 + + 10 Mar 2005; Markus Rothe <corsair@gentoo.org> curl-7.13.1.ebuild: + Stable on ppc64; bug #82534 + + 09 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> curl-7.13.1.ebuild: + stable on amd64 wrt to #82534 + + 09 Mar 2005; Michael Hanselmann <hansmi@gentoo.org> curl-7.13.1.ebuild: + Stable on ppc. + +*curl-7.13.1 (08 Mar 2005) + + 08 Mar 2005; Alastair Tse <liquidx@gentoo.org> +curl-7.13.1.ebuild: + version bump + + 05 Feb 2005; Michael Hanselmann <hansmi@gentoo.org> curl-7.12.0-r2.ebuild: + Stable on ppc. + + 12 Jan 2005; Guy Martin <gmsoft@gentoo.org> curl-7.12.0-r2.ebuild: + Stable on hppa. + + 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + + 16 Dec 2004; Dylan Carlson <absinthe@gentoo.org> curl-7.12.0-r2.ebuild: + Stable on amd64. + + 03 Nov 2004; Gustavo Zacarias <gustavoz@gentoo.org> curl-7.12.0-r2.ebuild: + Stable on sparc + + 31 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> curl-7.12.0-r2.ebuild: + Stable on alpha. + + 19 Oct 2004; Dylan Carlson <absinthe@gentoo.org> curl-7.11.1.ebuild: + Stable on amd64. + + 29 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> + curl-7.12.0-r2.ebuild: + get_libdir love. + + 01 Sep 2004; Mike Frysinger <vapier@gentoo.org> curl-7.12.0-r2.ebuild: + Dont define the fputc() prototype since the header files from our libc do it + for us (triggers build failure on uclibc). + +*curl-7.12.0-r2 (28 Jul 2004) + + 28 Jul 2004; Alastair Tse <liquidx@gentoo.org> curl-7.12.0-r1.ebuild, + +curl-7.12.0-r2.ebuild: + third time lucky. this time i have the symlinks properly fixed. sorry :( + +*curl-7.12.0-r1 (27 Jul 2004) + + 27 Jul 2004; Alastair Tse <liquidx@gentoo.org> +curl-7.12.0-r1.ebuild: + fix stupid symlink mistake by me. add comment about bumping pycurl + +*curl-7.12.0 (25 Jul 2004) + + 25 Jul 2004; Alastair Tse <liquidx@gentoo.org> curl-7.12.0.ebuild: + added backward compat symlink to curl 7.12 (#58317) + + 07 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> curl-7.11.1.ebuild: + Stable on alpha. + + 14 May 2004; Stephen P. Becker <geoman@gentoo.org> curl-7.11.0.ebuild: + Stable on mips. + + 13 May 2004; Michael McCabe <randy@gentoo.org> curl-7.11.1.ebuild: + Added s390 keywords + + 29 Apr 2004; Gustavo Zacarias <gustavoz@gentoo.org> curl-7.11.0.ebuild: + Stable on sparc + + 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> curl-7.10.5-r1.ebuild, + curl-7.10.8-r1.ebuild: + Add inherit eutils + +*curl-7.11.1 (26 Apr 2004) + + 26 Apr 2004; Alastair Tse <liquidx@gentoo.org> curl-7.11.0.ebuild, + +curl-7.11.1.ebuild: + version bump (#48792). added --enable-manual and --enable-largefile for + safety, even those both are enabled by default. + + 30 Mar 2004; Chris Aniszczyk <zx@gentoo.org> curl-7.11.0.ebuild: + Stable on hppa. + + 23 Mar 2004; <augustus@gentoo.org> curl-7.11.0.ebuild: + Marked stable on AMD64. + + 14 Mar 2004; Stephen P. Becker <geoman@gentoo.org> curl-7.11.0.ebuild: + Added ~mips keyword. + + 13 Mar 2004; Stephen P. Becker <geoman@gentoo.org> curl-7.10.8-r1.ebuild: + Added ~mips keyword. + + 09 Mar 2004; <agriffis@gentoo.org> curl-7.10.8-r1.ebuild: + stable on alpha and ia64 + + 02 Mar 2004; Tom Gall <tgall@gentoo.org> curl-7.11.0.ebuild: + stable on ppc64 + + 06 Feb 2004; <gustavoz@gentoo.org> curl-7.10.8-r1.ebuild: + stable on sparc + +*curl-7.11.0 (04 Feb 2004) + + 04 Feb 2004; Alastair Tse <liquidx@gentoo.org> curl-7.10.3-r1.ebuild, + curl-7.10.8-r1.ebuild, curl-7.10.8.ebuild, curl-7.11.0.ebuild: + version bump (#40188) + + 29 Jan 2004; Aron Griffis <agriffis@gentoo.org> curl-7.10.7.ebuild: + stable on alpha and ia64 + +*curl-7.10.8-r1 (16 Jan 2004) + + 06 Feb 2003; Guy Martin <gmsoft@gentoo.org> curl-7.10.8-r1.ebuild: + Marked stable on hppa. + + 16 Jan 2004; Alastair Tse <liquidx@gentoo.org> curl-7.10.8-r1.ebuild, + files/curl-7.10.8-transfer-segv.patch: + backported fix for segfault for libcurl. Submitted by Gustavo Felisberto + <gustavo felisberto.net>. (#37959) + + 09 Jan 2004; Jason Wever <weeve@gentoo.org> curl-7.10.7.ebuild: + Marked stable on sparc. + + 09 Dec 2003; Alastair Tse <liquidx@gentoo.org> curl-7.10.2.ebuild, + curl-7.10.3-r1.ebuild, curl-7.10.5-r1.ebuild, curl-7.10.7.ebuild, + curl-7.10.8.ebuild: + removed pam dependency, added openldap dep for older versions (#35343) + + 14 Nov 2003; Aron Griffis <agriffis@gentoo.org> curl-7.10.3-r1.ebuild: + Stable on ia64 + +*curl-7.10.8 (03 Nov 2003) + + 03 Nov 2003; Alastair Tse <liquidx@gentoo.org> curl-7.10.8.ebuild: + version bump + +*curl-7.10.7 (03 Nov 2003) + + 13 Dec 2003; Guy Martin <gmsoft@gentoo.org> curl-7.10.7.ebuild : + Marked stable on hppa. + + 03 Nov 2003; Alastair Tse <liquidx@gentoo.org> curl-7.10.7.ebuild: + version bump + + 19 Jun 2003; Alastair Tse <liquidx@gentoo.org> curl-7.10.5-r1.ebuild: + marking as stable x86 because it includes a fairly important bugfix over all + 7.10.x series + +*curl-7.10.5-r1 (13 Jun 2003) + + 04 Aug 2003; Guy Martin <gmsoft@gentoo.org> curl-7.10.5-r1.ebuild : + Marked stable on hppa. + + 14 Jun 2003; Guy Martin <gmsoft@gentoo.org> curl-7.10.5-r1.ebuild : + Added ~hppa to KEYWORDS. + + 13 Jun 2003; Alastair Tse <liquidx@gentoo.org> curl-7.10.5-r1.ebuild, + files/curl-7.10.5-badssl.patch: + backported one-liner patch from cvs to add compatibility with broken ssl + servers. (#22567) also some cleanups. + +*curl-7.10.5 (13 Jun 2003) + + 13 Jun 2003; Alastair Tse <liquidx@gentoo.org> curl-7.10.5.ebuild: + version bump. https now checks if certs are valid. + +*curl-7.10.4 (09 Apr 2003) + + 09 Apr 2003; Alastair Tse <liquidx@gentoo.org> curl-7.10.4.ebuild: + version bump + +*curl-7.10.3-r1 (20 Mar 2003) + + 20 Mar 2003; Aron Griffis <agriffis@gentoo.org> curl-7.10.2.ebuild, + curl-7.10.3-r1.ebuild, curl-7.10.3.ebuild: + Remove pic USE-flag and bump rev + +*curl-7.10.3 (28 Feb 2003) + + 09 Mar 2003; Aron Griffis <agriffis@gentoo.org> curl-7.10.3.ebuild: + Mark stable on alpha + + 28 Feb 2003; Alastair Tse <liquidx@gentoo.org> curl-7.10.3.ebuild files/digest-curl-7.10.3 : + Version Bump. Fixes #14015. + +*curl-7.10.2 (19 Nov 2002) + + 14 Jun 2003; Guy Martin <gmsoft@gentoo.org> curl-7.10.2.ebuild : + Added hppa to KEYWORDS. + + 23 Dec 2002; Martin Holzer <mholzer@gentoo.org> curl-7.9.7.ebuild files/digest-curl-7.10.2 Changelog : + Changed SRC_URI from .tar.gz to .tar.bz2 + + 17 Dec 2002; Aron Griffis <agriffis@gentoo.org> curl-7.10.2.ebuild : + Added ~alpha to KEYWORDS + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + + 19 Nov 2002; Mike Frysinger <vapier@gentoo.org> : + Version bump + more USE flag support + +*curl-7.9.7 (17 May 2002) + + 23 Dec 2002; Martin Holzer <mholzer@gentoo.org> curl-7.9.7.ebuild files/digest-curl-7.9.7 Changelog : + Ipv6 now configured by emerge. Fixed #11214. + Changed SRC_URI from .tar.gz to .tar.bz2 + + 06 Aug 2002; Mark Guertin <gerk@gentoo.org> : + Added ppc to keywords + + 17 May 2002; Grant Goodyear <g2boojum@gentoo.org> : + Version bump. Seems to work better when compiled w/ gcc 3.0.4. + +*curl-7.9.3 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + 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. diff --git a/net-misc/curl/Manifest b/net-misc/curl/Manifest new file mode 100644 index 00000000..0e98f319 --- /dev/null +++ b/net-misc/curl/Manifest @@ -0,0 +1,15 @@ +AUX curl-7.15-strip-ldflags.patch 636 RMD160 da2a9e8137eb71f0d077d66b9e1580235027f537 SHA1 b8ab23f437d09be49a8f368be8b1822432ab2a93 SHA256 b86804e3a9e3ba9d841e85b2832dc1323dd52895e1b533d0a5782ab668a9609f +AUX curl-7.15.1-test62.patch 673 RMD160 4f9bd6355cc2289755892ae4142f9853b870a50a SHA1 4c2a0312d9f07ef42493a7138954cab53e8a7d9d SHA256 907e23481083da32f2f85d586067d1f51e3eddc1dd11157c70a2573bea66eec1 +AUX curl-7.16.2-strip-ldflags.patch 844 RMD160 2a4efcf28a438fb8a397f40ff75a49e78f77b4e8 SHA1 abb778120ef4f928f6a0bf4616f7e489768f044c SHA256 f1ae7d976648287b6b083c76b1fa87eb43850396831f43ac33c3e60c3e729ed6 +AUX curl-7.17.0-strip-ldflags.patch 796 RMD160 1bcb5af41c63b0afb7758e3c4c8f9bea5e52c29c SHA1 c63330a3505adb684dd2f1cfa89eae5159cb9cc6 SHA256 f3892c3d2a16f96319fd11cb516f66b5df0ece18ca8271cf3b9c1f286e9b5d73 +AUX curl-7.17.1-null-handler-segfault.patch 2560 RMD160 3f1ce2cab67588b132fa6ad30e49f887e6d16f0a SHA1 e6b20baa6306b26c3dc8ffe78fc0d34c5b531b1b SHA256 6f696c4b1d6ae216225fb2cd9e95527d7513872aae06abef05c35758a3d30887 +AUX curl-7.18.2-lssl.diff 355 RMD160 c472162d25e603fe6bf8419192c8e825b68ad750 SHA1 f4be4b09faf5c5146af391dbcabd7323db82ada0 SHA256 53bf21d9fd6a20b4c4eca952c70a0ed55bf341cefa9d9a40b580f2293f6138d0 +AUX libcurl-gnutlscert.patch 1498 RMD160 286859e0870c6e5aa21047b28b2c256f7b7bfffe SHA1 6ef8e0887431e62328cc020cad5fb10673336ad3 SHA256 4b0a9db99ddc698c39484a95cba1f52c0dc17ed34f2d7e1dd780f925bf21761b +DIST curl-7.16.4.tar.bz2 1668101 RMD160 ee59976f7ce9161be3d5ebdb44903dee597fbd68 SHA1 a26a8796f5fc851b23423bc419c80e27d3e09483 SHA256 45c69529126b6ff50e7ebe2c2b8157a4ecb405174a1349234903021e9ac5c87b +DIST curl-7.17.1.tar.bz2 1721551 RMD160 8ab8dc7a33a5265dfe25eb0725248c3cd6519510 SHA1 ad34b9386e7fd1c8f2a8025e2716a8047b194970 SHA256 7f668ec49506ffc968a54fde9404183212bb40b226626e9417d941594e06e57b +DIST curl-7.18.2.tar.bz2 1744472 RMD160 d82bcdcdbc18d44a833f8824555ded09b03cd859 SHA1 0a4d6878d6be22bb2d701a6cf9bf665f66fc8b87 SHA256 b1f47a0177a5b13d317ab1f6570510502739909ede550e7da08ba814c3c73ae8 +EBUILD curl-7.16.4.ebuild 3131 RMD160 0f59c206dbb61de7b778a76ab48205715545f042 SHA1 adda0afc7fe48fbae677f0c52ae24afc6019a1db SHA256 be3ff7d0776977ae7a2e4ac905b4d2f231a6395d92181e2215bb9678d0baf0c2 +EBUILD curl-7.17.1.ebuild 3870 RMD160 479f629576e9f238c6f67e765d0ffae0d70a631c SHA1 4c73cf17dbb2509e75f937b77d43140c26df4c9f SHA256 3cf7021e010c81c3410bcf3a5ead32d241b98c481670410bcb6c65ee1dce29aa +EBUILD curl-7.18.2.ebuild 3568 RMD160 2e0e89d6288b87cbc86dd03912958eb7a17640aa SHA1 d3b9f22af036dcadcaf5a74155ef1c08e1e721f4 SHA256 873370e114db304921e8bac4812838e76addf86e8a82a3441512bfe193b4f324 +MISC ChangeLog 22251 RMD160 f76b50b340cf683f1268dc9ea58d5671b663cab8 SHA1 90ae466ca1e751631903179290a36d85bc94d0ee SHA256 c3cc5a68c941d328b973393cb00166accea4f8cd6538b3d5da3b4a0264bf0612 +MISC metadata.xml 436 RMD160 38b4e6412c390a8f0eeb8ec44ec28debb77845dc SHA1 5a633019278deea417f46857c3d81ae7c830acbf SHA256 319a564ca12822409b29c2e52d39d3f7e7a918d3d73cb6deb5139c6aea2cc33a diff --git a/net-misc/curl/curl-7.16.4.ebuild b/net-misc/curl/curl-7.16.4.ebuild new file mode 100644 index 00000000..c1198a46 --- /dev/null +++ b/net-misc/curl/curl-7.16.4.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.16.4.ebuild,v 1.12 2008/04/01 13:46:49 dragonheart Exp $ + +# NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl! + +inherit autotools eutils + +#MY_P=${P/_pre/-} +DESCRIPTION="A Client that groks URLs" +HOMEPAGE="http://curl.haxx.se/ http://curl.planetmirror.com" +#SRC_URI="http://cool.haxx.se/curl-daily/${MY_P}.tar.bz2" +SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2" + +LICENSE="MIT X11" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +IUSE="ssl ipv6 ldap ares gnutls nss idn kerberos test" + +RDEPEND="gnutls? ( net-libs/gnutls ) + nss? ( !gnutls? ( dev-libs/nss ) ) + ssl? ( !gnutls? ( !nss? ( dev-libs/openssl ) ) ) + ldap? ( net-nds/openldap ) + idn? ( net-dns/libidn ) + ares? ( >=net-dns/c-ares-1.4.0 ) + kerberos? ( virtual/krb5 ) + app-misc/ca-certificates" + +# net-libs/libssh2 (masked) --with-libssh2 +# fbopenssl (not in gentoo) --with-spnego +# krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html + +DEPEND="${RDEPEND} + test? ( + sys-apps/diffutils + dev-lang/perl + )" +# used - but can do without in self test: net-misc/stunnel +#S="${WORKDIR}"/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" +# epatch "${FILESDIR}"/${P}-strip-ldflags.patch + epatch "${FILESDIR}"/curl-7.16.2-strip-ldflags.patch + elibtoolize +} + +src_compile() { + + myconf="$(use_enable ldap) + $(use_with idn libidn) + $(use_enable kerberos gssapi) + $(use_enable ipv6) + --enable-http + --enable-ftp + --enable-gopher + --enable-file + --enable-dict + --enable-manual + --enable-telnet + --enable-nonblocking + --enable-largefile + --enable-maintainer-mode + --disable-sspi + --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt + --without-krb4 + --without-libssh2 + --without-spnego" + + if use ipv6 && use ares; then + elog "c-ares support disabled because it is incompatible with ipv6." + myconf="${myconf} --disable-ares" + else + myconf="${myconf} $(use_enable ares)" + fi + + if use gnutls; then + myconf="${myconf} --without-ssl --with-gnutls --without-nss" + elif use nss; then + myconf="${myconf} --without-ssl --without-gnutls --with-nss" + elif use ssl; then + myconf="${myconf} --without-gnutls --without-nss --with-ssl" + else + myconf="${myconf} --without-gnutls --without-nss --without-ssl" + fi + + econf ${myconf} || die 'configure failed' + emake || die "install failed for current version" +} + +src_install() { + emake DESTDIR="${D}" install || die "installed failed for current version" + rm -rf "${D}"/etc/ + + # https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976 + insinto /usr/share/aclocal + doins docs/libcurl/libcurl.m4 + + dodoc CHANGES README + dodoc docs/FEATURES docs/INTERNALS + dodoc docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE +} + +pkg_postinst() { + if [[ -e "${ROOT}"/usr/$(get_libdir)/libcurl.so.3 ]] ; then + elog "You must re-compile all packages that are linked against" + elog "curl-7.15.* by using revdep-rebuild from gentoolkit:" + elog "# revdep-rebuild --library libcurl.so.3" + fi +} diff --git a/net-misc/curl/curl-7.17.1.ebuild b/net-misc/curl/curl-7.17.1.ebuild new file mode 100644 index 00000000..e2113d3e --- /dev/null +++ b/net-misc/curl/curl-7.17.1.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.17.1.ebuild,v 1.8 2008/04/05 12:42:58 dragonheart Exp $ + +# NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl! + +inherit libtool eutils + +#MY_P=${P/_pre/-} +DESCRIPTION="A Client that groks URLs" +HOMEPAGE="http://curl.haxx.se/ http://curl.planetmirror.com" +#SRC_URI="http://cool.haxx.se/curl-daily/${MY_P}.tar.bz2" +SRC_URI="http://curl.planetmirror.com/download/${P}.tar.bz2" + +LICENSE="MIT X11" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd" +IUSE="ssl ipv6 ldap ares gnutls nss idn kerberos test" +#IUSE="ssl ipv6 ldap ares gnutls libssh2 nss idn kerberos test" + +RDEPEND="gnutls? ( net-libs/gnutls app-misc/ca-certificates ) + nss? ( !gnutls? ( dev-libs/nss app-misc/ca-certificates ) ) + ssl? ( !gnutls? ( !nss? ( dev-libs/openssl app-misc/ca-certificates ) ) ) + ldap? ( net-nds/openldap ) + idn? ( net-dns/libidn ) + ares? ( >=net-dns/c-ares-1.4.0 ) + kerberos? ( virtual/krb5 )" +# libssh2? ( >=net-libs/libssh2-0.16 )" + +# net-libs/libssh2 (masked) --with-libssh2 +# fbopenssl (not in gentoo) --with-spnego +# krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html + +DEPEND="${RDEPEND} + test? ( + sys-apps/diffutils + dev-lang/perl + )" +# used - but can do without in self test: net-misc/stunnel +#S="${WORKDIR}"/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" +# epatch "${FILESDIR}"/${P}-strip-ldflags.patch + epatch "${FILESDIR}"/curl-7.16.2-strip-ldflags.patch + epatch "${FILESDIR}"/${P}-null-handler-segfault.patch + elibtoolize +} + +src_compile() { + + myconf="$(use_enable ldap) + $(use_enable ldap ldaps) + $(use_with idn libidn) + $(use_with kerberos gssapi /usr) + $(use_enable ipv6) + --enable-http + --enable-ftp + --enable-gopher + --enable-file + --enable-dict + --enable-manual + --enable-telnet + --enable-nonblocking + --enable-largefile + --enable-maintainer-mode + --disable-sspi + --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt + --without-krb4 + --without-libssh2 + --without-spnego" +# $(use_with libssh2) + + if use ldap && use kerberos; then + die 'ldap and kerberos (gssapi) not playing nicely try version >=7.18.1' + fi + + if use ipv6 && use ares; then + elog "c-ares support disabled because it is incompatible with ipv6." + myconf="${myconf} --disable-ares" + else + myconf="${myconf} $(use_enable ares)" + fi + + if use gnutls; then + myconf="${myconf} --without-ssl --with-gnutls --without-nss" + elif use nss; then + myconf="${myconf} --without-ssl --without-gnutls --with-nss" + elif use ssl; then + myconf="${myconf} --without-gnutls --without-nss --with-ssl" + else + myconf="${myconf} --without-gnutls --without-nss --without-ssl" + fi + + econf ${myconf} || die 'configure failed' + emake || die "install failed for current version" +} + +src_test() { + if use gnutls; then + elog 'disabling test 405 ftps as gnutls does differing return codes' + elog 'that the test case does not allow for. ' + elog 'https://bugs.gentoo.org/show_bug.cgi?id=204130 refers' + cd "${S}"/tests + ./runtests.pl -a -s '!405' || die 'self test failed' + else + make check || die 'self test failed' + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "installed failed for current version" + rm -rf "${D}"/etc/ + + # https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976 + insinto /usr/share/aclocal + doins docs/libcurl/libcurl.m4 + + dodoc CHANGES README + dodoc docs/FEATURES docs/INTERNALS + dodoc docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE +} + +pkg_postinst() { + if [[ -e "${ROOT}"/usr/$(get_libdir)/libcurl.so.3 ]] ; then + elog "You must re-compile all packages that are linked against" + elog "curl-7.15.* by using revdep-rebuild from gentoolkit:" + elog "# revdep-rebuild --library libcurl.so.3" + fi +} diff --git a/net-misc/curl/curl-7.18.2.ebuild b/net-misc/curl/curl-7.18.2.ebuild new file mode 100644 index 00000000..db733d80 --- /dev/null +++ b/net-misc/curl/curl-7.18.2.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.18.2.ebuild,v 1.7 2008/08/25 20:22:46 jer Exp $ + +# NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl! + +inherit libtool autotools + +#MY_P=${P/_pre/-} +DESCRIPTION="A Client that groks URLs" +HOMEPAGE="http://curl.haxx.se/ http://curl.planetmirror.com" +#SRC_URI="http://cool.haxx.se/curl-daily/${MY_P}.tar.bz2" +SRC_URI="http://curl.planetmirror.com/download/${P}.tar.bz2" + +LICENSE="MIT X11" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd" +#IUSE="ssl ipv6 ldap ares gnutls nss idn kerberos test" +IUSE="ssl ipv6 ldap ares gnutls libssh2 nss idn kerberos test" + +# TODO - change to openssl USE flag in the not too distant future +# https://bugs.gentoo.org/show_bug.cgi?id=207653#c3 (April 2008) + +RDEPEND="gnutls? ( net-libs/gnutls app-misc/ca-certificates ) + nss? ( !gnutls? ( dev-libs/nss app-misc/ca-certificates ) ) + ssl? ( !gnutls? ( !nss? ( dev-libs/openssl app-misc/ca-certificates ) ) ) + ldap? ( net-nds/openldap ) + idn? ( net-dns/libidn ) + ares? ( >=net-dns/c-ares-1.4.0 ) + kerberos? ( virtual/krb5 ) + libssh2? ( >=net-libs/libssh2-0.16 )" + +# fbopenssl (not in gentoo) --with-spnego +# krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html + +DEPEND="${RDEPEND} + test? ( + sys-apps/diffutils + dev-lang/perl + )" +# used - but can do without in self test: net-misc/stunnel +#S="${WORKDIR}"/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" +# epatch "${FILESDIR}"/curl-7.17.0-strip-ldflags.patch +# epatch "${FILESDIR}"/curl-7.18.2-lssl.diff +} + +src_compile() { + + myconf="$(use_enable ldap) + $(use_enable ldap ldaps) + $(use_with idn libidn) + $(use_with kerberos gssapi /usr) + $(use_with libssh2) + $(use_enable ipv6) + --enable-http + --enable-ftp + --enable-gopher + --enable-file + --enable-dict + --enable-manual + --enable-telnet + --enable-nonblocking + --enable-largefile + --enable-maintainer-mode + --disable-sspi + --without-krb4 + --without-spnego" + + if use ipv6 && use ares; then + elog "c-ares support disabled because it is incompatible with ipv6." + myconf="${myconf} --disable-ares" + else + myconf="${myconf} $(use_enable ares)" + fi + + if use gnutls; then + myconf="${myconf} --without-ssl --with-gnutls --without-nss" + myconf="${myconf} --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" + elif use nss; then + myconf="${myconf} --without-ssl --without-gnutls --with-nss" + myconf="${myconf} --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" + elif use ssl; then + myconf="${myconf} --without-gnutls --without-nss --with-ssl" + myconf="${myconf} --without-ca-bundle --with-ca-path=/etc/ssl/certs" + else + myconf="${myconf} --without-gnutls --without-nss --without-ssl" + fi + + econf ${myconf} || die 'configure failed' + + emake || die "install failed for current version" +} + +src_install() { + emake DESTDIR="${D}" install || die "installed failed for current version" + rm -rf "${D}"/etc/ + + # https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976 + insinto /usr/share/aclocal + doins docs/libcurl/libcurl.m4 + + dodoc CHANGES README + dodoc docs/FEATURES docs/INTERNALS + dodoc docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE +} + +pkg_postinst() { + if [[ -e "${ROOT}"/usr/$(get_libdir)/libcurl.so.3 ]] ; then + elog "You must re-compile all packages that are linked against" + elog "curl-7.15.* by using revdep-rebuild from gentoolkit:" + elog "# revdep-rebuild --library libcurl.so.3" + fi +} diff --git a/net-misc/curl/files/curl-7.15-strip-ldflags.patch b/net-misc/curl/files/curl-7.15-strip-ldflags.patch new file mode 100644 index 00000000..5c5999ae --- /dev/null +++ b/net-misc/curl/files/curl-7.15-strip-ldflags.patch @@ -0,0 +1,20 @@ +--- curl-7.15.4/curl-config.in 2006-05-02 23:48:22.000000000 +0100 ++++ curl-7.15.4/curl-config.in 2006-07-17 12:32:59.000000000 +0100 +@@ -181,7 +181,7 @@ + ;; + + --libs) +- echo -L@libdir@ -lcurl @LDFLAGS@ @LIBS@ ++ echo -L@libdir@ -lcurl @LIBS@ + ;; + + *) +--- curl-7.15.4/libcurl.pc.in 2004-12-11 18:46:40.000000000 +0000 ++++ curl-7.15.4/libcurl.pc.in 2006-07-17 12:33:10.000000000 +0100 +@@ -6,5 +6,5 @@ + Name: libcurl + Description: Library to transfer files with ftp, http, etc. + Version: @VERSION@ +-Libs: -L${libdir} -lcurl @LDFLAGS@ @LIBS@ ++Libs: -L${libdir} -lcurl @LIBS@ + Cflags: -I${includedir} diff --git a/net-misc/curl/files/curl-7.15.1-test62.patch b/net-misc/curl/files/curl-7.15.1-test62.patch new file mode 100644 index 00000000..15ec3637 --- /dev/null +++ b/net-misc/curl/files/curl-7.15.1-test62.patch @@ -0,0 +1,15 @@ +--- curl-7.15.5/tests/data/test62.orig 2007-02-11 13:56:10.000000000 +1100 ++++ curl-7.15.5/tests/data/test62 2007-02-11 14:01:18.000000000 +1100 +@@ -32,9 +32,9 @@ + # http://www.netscape.com/newsref/std/cookie_spec.html + # This file was generated by libcurl! Edit at your own risk. + +-.foo.com TRUE /we/want/ FALSE 1170327387 test yes +-.host.foo.com TRUE /we/want/ FALSE 1170327387 test2 yes +-.fake.host.foo.com TRUE /we/want/ FALSE 1170327387 test4 yes ++.foo.com TRUE /we/want/ FALSE 1577802600 test yes ++.host.foo.com TRUE /we/want/ FALSE 1577802600 test2 yes ++.fake.host.foo.com TRUE /we/want/ FALSE 1577802600 test4 yes + + .foo.com TRUE /moo TRUE 0 test3 maybe + </file> diff --git a/net-misc/curl/files/curl-7.16.2-strip-ldflags.patch b/net-misc/curl/files/curl-7.16.2-strip-ldflags.patch new file mode 100644 index 00000000..1c33fc5f --- /dev/null +++ b/net-misc/curl/files/curl-7.16.2-strip-ldflags.patch @@ -0,0 +1,24 @@ +--- curl-7.16.2/libcurl.pc.in.orig 2007-04-14 10:11:14.000000000 +1000 ++++ curl-7.16.2/libcurl.pc.in 2007-04-14 10:11:26.000000000 +1000 +@@ -33,6 +33,6 @@ + URL: http://curl.haxx.se/ + Description: Library to transfer files with ftp, http, etc. + Version: @VERSION@ +-Libs: -L${libdir} -lcurl @LDFLAGS@ @LIBS@ ++Libs: -L${libdir} -lcurl @LIBS@ + Libs.private: @LIBCURL_LIBS@ @LIBS@ + Cflags: -I${includedir} +--- curl-7.16.3/curl-config.in.orig 2007-06-28 22:22:51.000000000 +1000 ++++ curl-7.16.3/curl-config.in 2007-06-28 22:23:10.000000000 +1000 +@@ -187,9 +187,9 @@ + CURLLIBDIR="" + fi + if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then +- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@ ++ echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ @LIBS@ + else +- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBS@ ++ echo ${CURLLIBDIR}-lcurl @LIBS@ + fi + ;; + diff --git a/net-misc/curl/files/curl-7.17.0-strip-ldflags.patch b/net-misc/curl/files/curl-7.17.0-strip-ldflags.patch new file mode 100644 index 00000000..ac11500a --- /dev/null +++ b/net-misc/curl/files/curl-7.17.0-strip-ldflags.patch @@ -0,0 +1,24 @@ +--- libcurl.pc.in.orig 2007-09-14 07:36:31.000000000 +1000 ++++ libcurl.pc.in 2007-09-14 07:36:49.000000000 +1000 +@@ -33,6 +33,6 @@ + URL: http://curl.haxx.se/ + Description: Library to transfer files with ftp, http, etc. + Version: @VERSION@ +-Libs: -L${libdir} -lcurl @LDFLAGS@ @LIBS@ ++Libs: -L${libdir} -lcurl @LIBS@ + Libs.private: @LIBCURL_LIBS@ @LIBS@ + Cflags: -I${includedir} +--- curl-config.in.orig 2007-09-14 07:36:18.000000000 +1000 ++++ curl-config.in 2007-09-14 07:37:14.000000000 +1000 +@@ -187,9 +187,9 @@ + CURLLIBDIR="" + fi + if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then +- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@ ++ echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ @LIBS@ + else +- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBS@ ++ echo ${CURLLIBDIR}-lcurl @LIBS@ + fi + ;; + diff --git a/net-misc/curl/files/curl-7.17.1-null-handler-segfault.patch b/net-misc/curl/files/curl-7.17.1-null-handler-segfault.patch new file mode 100644 index 00000000..0d3b766e --- /dev/null +++ b/net-misc/curl/files/curl-7.17.1-null-handler-segfault.patch @@ -0,0 +1,69 @@ +Segfault in CURL (used from PHP) +Found by Robin H. Johnson <robbat2@gentoo.org> +This was because of an invalid URL: /hash/597cfbe5740d2bf91eb4b037e6750bacd76d3729/added + +#0 0x00002b33e61ba166 in Curl_disconnect (conn=0xe46210) at url.c:2077 +2077 if(conn->handler->disconnect) +(gdb) print conn->handler +$1 = (const struct Curl_handler *) 0x0 +(gdb) bt full +#0 0x00002b33e61ba166 in Curl_disconnect (conn=0xe46210) at url.c:2077 + data = (struct SessionHandle *) 0xe363d0 +#1 0x00002b33e61bc27e in Curl_connect (data=0xe363d0, in_connect=0x7fffc6067818, asyncp=0x7fffc6067827, protocol_done=0x7fffc6067826) at url.c:4255 + connected = false + code = CURLE_OK + dns = (struct Curl_dns_entry *) 0x0 +#2 0x00002b33e61c67db in Curl_perform (data=0xe363d0) at transfer.c:2333 + res = CURLE_OK + res2 = <value optimized out> + conn = (struct connectdata *) 0xe46210 + newurl = 0x0 + retry = 232 +#3 0x0000000000472005 in zif_curl_exec () +#4 0x000000000061bd42 in ?? () +#5 0x000000000061ae23 in execute () +#6 0x000000000061b815 in ?? () +#7 0x000000000061ae23 in execute () +#8 0x00000000005fcef3 in zend_execute_scripts () +#9 0x00000000005bd468 in php_execute_script () +#10 0x00000000006791ab in main () + +diff -Nuar curl-7.17.1-20071013.orig/lib/url.c curl-7.17.1-20071013/lib/url.c +--- curl-7.17.1-20071013.orig/lib/url.c 2007-10-13 02:00:02.000000000 +0000 ++++ curl-7.17.1-20071013/lib/url.c 2007-11-12 13:13:37.401514781 +0000 +@@ -2594,7 +2594,7 @@ + curl_socket_t *socks, + int numsocks) + { +- if(conn->handler->proto_getsock) ++ if(conn && conn->handler && conn->handler->proto_getsock) + return conn->handler->proto_getsock(conn, socks, numsocks); + return GETSOCK_BLANK; + } +@@ -4325,7 +4325,7 @@ + } + + /* this calls the protocol-specific function pointer previously set */ +- if(conn->handler->done) ++ if(conn->handler && conn->handler->done) + result = conn->handler->done(conn, status, premature); + else + result = CURLE_OK; +@@ -4378,7 +4378,7 @@ + conn->bits.done = FALSE; /* Curl_done() is not called yet */ + conn->bits.do_more = FALSE; /* by default there's no curl_do_more() to use */ + +- if(conn->handler->do_it) { ++ if(conn->handler && conn->handler->do_it) { + /* generic protocol-specific function pointer set in curl_connect() */ + result = conn->handler->do_it(conn, done); + +@@ -4441,7 +4441,7 @@ + { + CURLcode result=CURLE_OK; + +- if(conn->handler->do_more) ++ if(conn->handler && conn->handler->do_more) + result = conn->handler->do_more(conn); + + return result; diff --git a/net-misc/curl/files/curl-7.18.2-lssl.diff b/net-misc/curl/files/curl-7.18.2-lssl.diff new file mode 100644 index 00000000..5a684163 --- /dev/null +++ b/net-misc/curl/files/curl-7.18.2-lssl.diff @@ -0,0 +1,11 @@ +--- src/Makefile.am.ori 2008-10-21 23:42:30.000000000 +0200 ++++ src/Makefile.am 2008-10-21 23:42:43.000000000 +0200 +@@ -37,7 +37,7 @@ + + include Makefile.inc + +-curl_LDADD = ../lib/libcurl.la @CURL_LIBS@ ++curl_LDADD = ../lib/libcurl.la @CURL_LIBS@ @LIBCURL_LIBS@ + curl_DEPENDENCIES = ../lib/libcurl.la + BUILT_SOURCES = hugehelp.c + CLEANFILES = hugehelp.c diff --git a/net-misc/curl/files/libcurl-gnutlscert.patch b/net-misc/curl/files/libcurl-gnutlscert.patch new file mode 100644 index 00000000..f905701c --- /dev/null +++ b/net-misc/curl/files/libcurl-gnutlscert.patch @@ -0,0 +1,51 @@ +Index: lib/gtls.c +=================================================================== +RCS file: /cvsroot/curl/curl/lib/gtls.c,v +retrieving revision 1.27 +diff -u -r1.27 gtls.c +--- lib/gtls.c 28 Apr 2007 21:01:30 -0000 1.27 ++++ lib/gtls.c 10 Jul 2007 20:27:43 -0000 +@@ -420,6 +420,43 @@ + else + infof(data, "\t common name: %s (matched)\n", certbuf); + ++ /* Check for time-based validity */ ++ clock = gnutls_x509_crt_get_expiration_time(x509_cert); ++ ++ if(clock == (time_t)-1) { ++ failf(data, "server cert expiration date verify failed"); ++ return CURLE_SSL_CONNECT_ERROR; ++ } ++ ++ if(clock < time(NULL)) { ++ if (data->set.ssl.verifypeer) { ++ failf(data, "server certificate expiration date has passed."); ++ return CURLE_SSL_PEER_CERTIFICATE; ++ } ++ else ++ infof(data, "\t server certificate expiration date FAILED\n"); ++ } ++ else ++ infof(data, "\t server certificate expiration date OK\n"); ++ ++ clock = gnutls_x509_crt_get_activation_time(x509_cert); ++ ++ if(clock == (time_t)-1) { ++ failf(data, "server cert activation date verify failed"); ++ return CURLE_SSL_CONNECT_ERROR; ++ } ++ ++ if(clock > time(NULL)) { ++ if (data->set.ssl.verifypeer) { ++ failf(data, "server certificate not activated yet."); ++ return CURLE_SSL_PEER_CERTIFICATE; ++ } ++ else ++ infof(data, "\t server certificate activation date FAILED\n"); ++ } ++ else ++ infof(data, "\t server certificate activation date OK\n"); ++ + /* Show: + + - ciphers used diff --git a/net-misc/curl/metadata.xml b/net-misc/curl/metadata.xml new file mode 100644 index 00000000..92bead64 --- /dev/null +++ b/net-misc/curl/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>dragonheart@gentoo.org</email> + </maintainer> + <use> + <flag name="ares">Enabled c-ares dns support</flag> + <flag name="libssh2">Enabled SSH urls in curl using libssh2</flag> + <flag name="nss">Use NSS as the crypto engine</flag> + </use> +</pkgmetadata> diff --git a/net-proxy/squid/Manifest b/net-proxy/squid/Manifest new file mode 100644 index 00000000..920fe09a --- /dev/null +++ b/net-proxy/squid/Manifest @@ -0,0 +1,3 @@ +AUX squid-2.7.3-gentoo.patch 12128 RMD160 5cf6e9b709863c324128b49a9660e76fb22f94f6 SHA1 4778c6f8efa8e043300b59c29286b81bf020818d SHA256 a6f20ea317a7e4b4968aabeddcff0937e0372b2ed45a094284ec56b0563f7874 +DIST squid-2.7.STABLE3.tar.gz 1782040 RMD160 80410ce27f3abd0601e10ab5d69099d9f3caaf28 SHA1 0c99054d5fd6537da467acbf299ffe5f1a542ae3 SHA256 d987578c6ca26ca8c8d6fad920580cc39b6ebe95c8ff727b1b6d3c5625fe428d +EBUILD squid-2.7.3.ebuild 5802 RMD160 8747f84d1cbe8d9a8b406b7006c498310479a3c5 SHA1 169f0233823fd63efe12830cb931994e6c305006 SHA256 71e2a0b10dc566b649fc3eb619ee515fefa4d4e0347340dea4fc01284eadcd86 diff --git a/net-proxy/squid/files/squid-2.7.3-gentoo.patch b/net-proxy/squid/files/squid-2.7.3-gentoo.patch new file mode 100644 index 00000000..688f0935 --- /dev/null +++ b/net-proxy/squid/files/squid-2.7.3-gentoo.patch @@ -0,0 +1,307 @@ +diff -Nru squid-2.7.STABLE3.orig/configure.in squid-2.7.STABLE3/configure.in +--- squid-2.7.STABLE3.orig/configure.in 2008-06-26 00:18:55.000000000 +0200 ++++ squid-2.7.STABLE3/configure.in 2008-06-26 20:37:08.000000000 +0200 +@@ -18,9 +18,9 @@ + PRESET_LDFLAGS="$LDFLAGS" + + dnl Set default LDFLAGS +-if test -z "$LDFLAGS"; then +- LDFLAGS="-g" +-fi ++dnl if test -z "$LDFLAGS"; then ++dnl LDFLAGS="-g" ++dnl fi + + dnl Check for GNU cc + AC_PROG_CC +diff -Nru squid-2.7.STABLE3.orig/helpers/basic_auth/MSNT/confload.c squid-2.7.STABLE3/helpers/basic_auth/MSNT/confload.c +--- squid-2.7.STABLE3.orig/helpers/basic_auth/MSNT/confload.c 2002-06-26 21:09:48.000000000 +0200 ++++ squid-2.7.STABLE3/helpers/basic_auth/MSNT/confload.c 2008-06-26 20:37:08.000000000 +0200 +@@ -24,7 +24,7 @@ + + /* Path to configuration file */ + #ifndef SYSCONFDIR +-#define SYSCONFDIR "/usr/local/squid/etc" ++#define SYSCONFDIR "/etc/squid" + #endif + #define CONFIGFILE SYSCONFDIR "/msntauth.conf" + +diff -Nru squid-2.7.STABLE3.orig/helpers/basic_auth/MSNT/msntauth.conf.default squid-2.7.STABLE3/helpers/basic_auth/MSNT/msntauth.conf.default +--- squid-2.7.STABLE3.orig/helpers/basic_auth/MSNT/msntauth.conf.default 2002-06-26 20:44:28.000000000 +0200 ++++ squid-2.7.STABLE3/helpers/basic_auth/MSNT/msntauth.conf.default 2008-06-26 20:37:08.000000000 +0200 +@@ -8,6 +8,6 @@ + server other_PDC other_BDC otherdomain + + # Denied and allowed users. Comment these if not needed. +-#denyusers /usr/local/squid/etc/msntauth.denyusers +-#allowusers /usr/local/squid/etc/msntauth.allowusers ++#denyusers /etc/squid/msntauth.denyusers ++#allowusers /etc/squid/msntauth.allowusers + +diff -Nru squid-2.7.STABLE3.orig/helpers/basic_auth/SMB/Makefile.am squid-2.7.STABLE3/helpers/basic_auth/SMB/Makefile.am +--- squid-2.7.STABLE3.orig/helpers/basic_auth/SMB/Makefile.am 2005-05-17 18:56:26.000000000 +0200 ++++ squid-2.7.STABLE3/helpers/basic_auth/SMB/Makefile.am 2008-06-26 20:37:08.000000000 +0200 +@@ -14,7 +14,7 @@ + ## FIXME: autoconf should test for the samba path. + + SMB_AUTH_HELPER = smb_auth.sh +-SAMBAPREFIX=/usr/local/samba ++SAMBAPREFIX=/usr + SMB_AUTH_HELPER_PATH = $(libexecdir)/$(SMB_AUTH_HELPER) + + libexec_SCRIPTS = $(SMB_AUTH_HELPER) +diff -Nru squid-2.7.STABLE3.orig/helpers/basic_auth/SMB/smb_auth.sh squid-2.7.STABLE3/helpers/basic_auth/SMB/smb_auth.sh +--- squid-2.7.STABLE3.orig/helpers/basic_auth/SMB/smb_auth.sh 2001-01-08 00:36:46.000000000 +0100 ++++ squid-2.7.STABLE3/helpers/basic_auth/SMB/smb_auth.sh 2008-06-26 20:37:08.000000000 +0200 +@@ -24,7 +24,7 @@ + read AUTHSHARE + read AUTHFILE + read SMBUSER +-read SMBPASS ++read -r SMBPASS + + # Find domain controller + echo "Domain name: $DOMAINNAME" +@@ -47,7 +47,7 @@ + addropt="" + fi + echo "Query address options: $addropt" +-dcip=`$SAMBAPREFIX/bin/nmblookup $addropt "$PASSTHROUGH#1c" | awk '/^[0-9.]+ / { print $1 ; exit }'` ++dcip=`$SAMBAPREFIX/bin/nmblookup $addropt "$PASSTHROUGH#1c" | awk '/^[0-9.]+\..+ / { print $1 ; exit }'` + echo "Domain controller IP address: $dcip" + [ -n "$dcip" ] || exit 1 + +diff -Nru squid-2.7.STABLE3.orig/helpers/external_acl/session/squid_session.8 squid-2.7.STABLE3/helpers/external_acl/session/squid_session.8 +--- squid-2.7.STABLE3.orig/helpers/external_acl/session/squid_session.8 2007-01-06 18:28:35.000000000 +0100 ++++ squid-2.7.STABLE3/helpers/external_acl/session/squid_session.8 2008-06-26 20:37:08.000000000 +0200 +@@ -35,7 +35,7 @@ + .P + Configuration example using the default automatic mode + .IP +-external_acl_type session ttl=300 negative_ttl=0 children=1 concurrency=200 %LOGIN /usr/local/squid/libexec/squid_session ++external_acl_type session ttl=300 negative_ttl=0 children=1 concurrency=200 %LOGIN /usr/libexec/squid/squid_session + .IP + acl session external session + .IP +diff -Nru squid-2.7.STABLE3.orig/helpers/external_acl/unix_group/squid_unix_group.8 squid-2.7.STABLE3/helpers/external_acl/unix_group/squid_unix_group.8 +--- squid-2.7.STABLE3.orig/helpers/external_acl/unix_group/squid_unix_group.8 2006-05-14 17:07:24.000000000 +0200 ++++ squid-2.7.STABLE3/helpers/external_acl/unix_group/squid_unix_group.8 2008-06-26 20:37:08.000000000 +0200 +@@ -27,7 +27,7 @@ + This squid.conf example defines two Squid acls. usergroup1 matches users in group1, and usergroup2 + matches users in group2 or group3 + .IP +-external_acl_type unix_group %LOGIN /usr/local/squid/libexec/squid_unix_group -p ++external_acl_type unix_group %LOGIN /usr/libexec/squid/squid_unix_group -p + .IP + acl usergroup1 external unix_group group1 + .IP +diff -Nru squid-2.7.STABLE3.orig/src/access_log.c squid-2.7.STABLE3/src/access_log.c +--- squid-2.7.STABLE3.orig/src/access_log.c 2008-03-18 03:48:43.000000000 +0100 ++++ squid-2.7.STABLE3/src/access_log.c 2008-06-26 20:37:08.000000000 +0200 +@@ -1261,7 +1261,7 @@ + LogfileStatus = LOG_ENABLE; + } + #if HEADERS_LOG +- headerslog = logfileOpen("/usr/local/squid/logs/headers.log", MAX_URL << 1, 0); ++ headerslog = logfileOpen("/var/log/squid/headers.log", MAX_URL << 1, 0); + assert(NULL != headerslog); + #endif + #if FORW_VIA_DB +diff -Nru squid-2.7.STABLE3.orig/src/cf.data.pre squid-2.7.STABLE3/src/cf.data.pre +--- squid-2.7.STABLE3.orig/src/cf.data.pre 2008-06-25 00:54:18.000000000 +0200 ++++ squid-2.7.STABLE3/src/cf.data.pre 2008-06-26 20:37:08.000000000 +0200 +@@ -676,6 +676,8 @@ + acl Safe_ports port 488 # gss-http + acl Safe_ports port 591 # filemaker + acl Safe_ports port 777 # multiling http ++acl Safe_ports port 901 # SWAT ++acl purge method PURGE + acl CONNECT method CONNECT + NOCOMMENT_END + DOC_END +@@ -709,6 +711,9 @@ + # Only allow cachemgr access from localhost + http_access allow manager localhost + http_access deny manager ++# Only allow purge requests from localhost ++http_access allow purge localhost ++http_access deny purge + # Deny requests to unknown ports + http_access deny !Safe_ports + # Deny CONNECT to other than SSL ports +@@ -726,6 +731,9 @@ + # from where browsing should be allowed + http_access allow localnet + ++# Allow the localhost to have access by default ++http_access allow localhost ++ + # And finally deny all other access to this proxy + http_access deny all + NOCOMMENT_END +@@ -3720,11 +3728,11 @@ + + NAME: cache_mgr + TYPE: string +-DEFAULT: webmaster ++DEFAULT: root + LOC: Config.adminEmail + DOC_START + Email-address of local cache manager who will receive +- mail if the cache dies. The default is "webmaster". ++ mail if the cache dies. The default is "root". + DOC_END + + NAME: mail_from +@@ -3753,12 +3761,12 @@ + + NAME: cache_effective_user + TYPE: string +-DEFAULT: nobody ++DEFAULT: squid + LOC: Config.effectiveUser + DOC_START + If you start Squid as root, it will change its effective/real + UID/GID to the user specified below. The default is to change +- to UID to nobody. If you define cache_effective_user, but not ++ to UID to squid. If you define cache_effective_user, but not + cache_effective_group, Squid sets the GID to the effective + user's default group ID (taken from the password file) and + supplementary group list from the from groups membership of +@@ -4395,12 +4403,12 @@ + NAME: snmp_port + TYPE: ushort + LOC: Config.Port.snmp +-DEFAULT: 3401 ++DEFAULT: 0 + IFDEF: SQUID_SNMP + DOC_START + Squid can now serve statistics and status information via SNMP. +- By default it listens to port 3401 on the machine. If you don't +- wish to use SNMP, set this to "0". ++ By default snmp_port is disabled. If you wish to use SNMP, ++ set this to "3401" (or any other number you like). + DOC_END + + NAME: snmp_access +@@ -4471,12 +4479,12 @@ + NAME: htcp_port + IFDEF: USE_HTCP + TYPE: ushort +-DEFAULT: 4827 ++DEFAULT: 0 + LOC: Config.Port.htcp + DOC_START + The port number where Squid sends and receives HTCP queries to +- and from neighbor caches. Default is 4827. To disable use +- "0". ++ and from neighbor caches. To turn it on you want to set it to ++ 4827. By default it is set to "0" (disabled). + DOC_END + + NAME: log_icp_queries +@@ -5373,6 +5381,9 @@ + If you disable this, it will appear as + + X-Forwarded-For: unknown ++NOCOMMENT_START ++forwarded_for off ++NOCOMMENT_END + DOC_END + + NAME: cachemgr_passwd +diff -Nru squid-2.7.STABLE3.orig/src/client_side.c squid-2.7.STABLE3/src/client_side.c +--- squid-2.7.STABLE3.orig/src/client_side.c 2008-06-25 00:54:47.000000000 +0200 ++++ squid-2.7.STABLE3/src/client_side.c 2008-06-26 20:37:08.000000000 +0200 +@@ -4678,14 +4678,7 @@ + debug(83, 2) ("clientNegotiateSSL: Session %p reused on FD %d (%s:%d)\n", SSL_get_session(ssl), fd, fd_table[fd].ipaddr, (int) fd_table[fd].remote_port); + } else { + if (do_debug(83, 4)) { +- /* Write out the SSL session details.. actually the call below, but +- * OpenSSL headers do strange typecasts confusing GCC.. */ +- /* PEM_write_SSL_SESSION(debug_log, SSL_get_session(ssl)); */ +-#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x00908000L +- PEM_ASN1_write((i2d_of_void *) i2d_SSL_SESSION, PEM_STRING_SSL_SESSION, debug_log, (char *) SSL_get_session(ssl), NULL, NULL, 0, NULL, NULL); +-#else + PEM_ASN1_write(i2d_SSL_SESSION, PEM_STRING_SSL_SESSION, debug_log, (char *) SSL_get_session(ssl), NULL, NULL, 0, NULL, NULL); +-#endif + /* Note: This does not automatically fflush the log file.. */ + } + debug(83, 2) ("clientNegotiateSSL: New session %p on FD %d (%s:%d)\n", SSL_get_session(ssl), fd, fd_table[fd].ipaddr, (int) fd_table[fd].remote_port); +diff -Nru squid-2.7.STABLE3.orig/src/defines.h squid-2.7.STABLE3/src/defines.h +--- squid-2.7.STABLE3.orig/src/defines.h 2007-09-24 15:31:19.000000000 +0200 ++++ squid-2.7.STABLE3/src/defines.h 2008-06-26 20:37:08.000000000 +0200 +@@ -259,7 +259,7 @@ + + /* were to look for errors if config path fails */ + #ifndef DEFAULT_SQUID_ERROR_DIR +-#define DEFAULT_SQUID_ERROR_DIR "/usr/local/squid/etc/errors" ++#define DEFAULT_SQUID_ERROR_DIR "/usr/share/squid/errors/English" + #endif + + /* gb_type operations */ +diff -Nru squid-2.7.STABLE3.orig/src/main.c squid-2.7.STABLE3/src/main.c +--- squid-2.7.STABLE3.orig/src/main.c 2008-05-27 01:14:30.000000000 +0200 ++++ squid-2.7.STABLE3/src/main.c 2008-06-26 20:37:08.000000000 +0200 +@@ -376,6 +376,22 @@ + asnFreeMemory(); + } + ++#if USE_UNLINKD ++static int ++needUnlinkd(void) ++{ ++ int i; ++ int r = 0; ++ for (i = 0; i < Config.cacheSwap.n_configured; i++) { ++ if (strcmp(Config.cacheSwap.swapDirs[i].type, "ufs") == 0 || ++ strcmp(Config.cacheSwap.swapDirs[i].type, "aufs") == 0 || ++ strcmp(Config.cacheSwap.swapDirs[i].type, "diskd") == 0) ++ r++; ++ } ++ return r; ++} ++#endif ++ + static void + mainReconfigure(void) + { +@@ -613,7 +629,7 @@ + + if (!configured_once) { + #if USE_UNLINKD +- unlinkdInit(); ++ if (needUnlinkd()) unlinkdInit(); + #endif + urlInitialize(); + cachemgrInit(); +@@ -636,6 +652,9 @@ + #if USE_WCCPv2 + wccp2Init(); + #endif ++#if USE_UNLINKD ++ if (needUnlinkd()) unlinkdInit(); ++#endif + serverConnectionsOpen(); + neighbors_init(); + if (Config.chroot_dir) +diff -Nru squid-2.7.STABLE3.orig/src/Makefile.am squid-2.7.STABLE3/src/Makefile.am +--- squid-2.7.STABLE3.orig/src/Makefile.am 2008-01-02 16:50:39.000000000 +0100 ++++ squid-2.7.STABLE3/src/Makefile.am 2008-06-26 20:37:08.000000000 +0200 +@@ -340,13 +340,13 @@ + DEFAULT_CONFIG_FILE = $(sysconfdir)/squid.conf + DEFAULT_MIME_TABLE = $(sysconfdir)/mime.conf + DEFAULT_DNSSERVER = $(libexecdir)/`echo dnsserver | sed '$(transform);s/$$/$(EXEEXT)/'` +-DEFAULT_LOG_PREFIX = $(localstatedir)/logs ++DEFAULT_LOG_PREFIX = $(localstatedir)/log/squid + DEFAULT_CACHE_LOG = $(DEFAULT_LOG_PREFIX)/cache.log + DEFAULT_ACCESS_LOG = $(DEFAULT_LOG_PREFIX)/access.log + DEFAULT_STORE_LOG = $(DEFAULT_LOG_PREFIX)/store.log +-DEFAULT_PID_FILE = $(DEFAULT_LOG_PREFIX)/squid.pid ++DEFAULT_PID_FILE = $(localstatedir)/run/squid.pid + DEFAULT_NETDB_FILE = $(DEFAULT_LOG_PREFIX)/netdb.state +-DEFAULT_SWAP_DIR = $(localstatedir)/cache ++DEFAULT_SWAP_DIR = $(localstatedir)/cache/squid + DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'` + DEFAULT_UNLINKD = $(libexecdir)/`echo unlinkd | sed '$(transform);s/$$/$(EXEEXT)/'` + DEFAULT_DISKD = $(libexecdir)/`echo diskd-daemon | sed '$(transform);s/$$/$(EXEEXT)/'` diff --git a/net-proxy/squid/squid-2.7.3.ebuild b/net-proxy/squid/squid-2.7.3.ebuild new file mode 100644 index 00000000..3080b67e --- /dev/null +++ b/net-proxy/squid/squid-2.7.3.ebuild @@ -0,0 +1,187 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-2.7.3.ebuild,v 1.6 2008/08/14 17:12:26 nixnut Exp $ + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit eutils pam toolchain-funcs autotools linux-info + +#lame archive versioning scheme.. +S_PMV="${PV%%.*}" +S_PV="${PV%.*}" +S_PL="${PV##*.}" +S_PL="${S_PL/_rc/-RC}" +S_PP="${PN}-${S_PV}.STABLE${S_PL}" + +DESCRIPTION="A full-featured web proxy cache" +HOMEPAGE="http://www.squid-cache.org/" +SRC_URI="http://www.squid-cache.org/Versions/v${S_PMV}/${S_PV}/${S_PP}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="pam ldap samba sasl nis ssl snmp selinux logrotate \ + qos zero-penalty-hit \ + pf-transparent ipf-transparent \ + elibc_uclibc kernel_linux" + +DEPEND="pam? ( virtual/pam ) + ldap? ( net-nds/openldap ) + ssl? ( dev-libs/openssl ) + sasl? ( dev-libs/cyrus-sasl ) + selinux? ( sec-policy/selinux-squid ) + !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) + >=sys-libs/db-4 + dev-lang/perl" +RDEPEND="${DEPEND} + samba? ( net-fs/samba )" + +S="${WORKDIR}/${S_PP}" + +pkg_setup() { + if use qos; then + eerror "qos patch is no longer supported!" + eerror "Please remove qos USE flag and use zph* config options instead." + die "unsupported USE flags detected" + fi + if use zero-penalty-hit; then + ewarn "This version supports natively IP TOS/Priority mangling," + ewarn "but it does not support zph_preserve_miss_tos." + ewarn "If you need that, please use squid-3.0.6-r2 or higher." + fi + enewgroup squid 31 + enewuser squid 31 -1 /var/cache/squid squid +} + +src_unpack() { + unpack ${A} || die "unpack failed" + + cd "${S}" || die "source dir not found" + epatch "${FILESDIR}"/${P}-gentoo.patch + eautoreconf +} + +src_compile() { + local basic_modules="getpwnam,NCSA,MSNT" + use samba && basic_modules="SMB,multi-domain-NTLM,${basic_modules}" + use ldap && basic_modules="LDAP,${basic_modules}" + use pam && basic_modules="PAM,${basic_modules}" + use sasl && basic_modules="SASL,${basic_modules}" + use nis && ! use elibc_uclibc && basic_modules="YP,${basic_modules}" + + local ext_helpers="ip_user,session,unix_group" + use samba && ext_helpers="wbinfo_group,${ext_helpers}" + use ldap && ext_helpers="ldap_group,${ext_helpers}" + + local ntlm_helpers="fakeauth" + use samba && ntlm_helpers="SMB,${ntlm_helpers}" + + local myconf="" + + # Support for uclibc #61175 + if use elibc_uclibc; then + myconf="${myconf} --enable-storeio=ufs,diskd,aufs,null" + myconf="${myconf} --disable-async-io" + myconf="${myconf} --enable-epoll" + else + myconf="${myconf} --enable-storeio=ufs,diskd,coss,aufs,null" + myconf="${myconf} --enable-async-io" + fi + + if use kernel_linux; then + myconf="${myconf} --enable-linux-netfilter" + if kernel_is ge 2 6 && linux_chkconfig_present EPOLL ; then + myconf="${myconf} --enable-epoll" + fi + elif use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then + myconf="${myconf} --enable-kqueue" + if use pf-transparent; then + myconf="${myconf} --enable-pf-transparent" + elif use ipf-transparent; then + myconf="${myconf} --enable-ipf-transparent" + fi + fi + + export CC=$(tc-getCC) + + econf \ + --sysconfdir=/etc/squid \ + --libexecdir=/usr/libexec/squid \ + --localstatedir=/var \ + --datadir=/usr/share/squid \ + --enable-auth="basic,digest,ntlm" \ + --enable-removal-policies="lru,heap" \ + --enable-digest-auth-helpers="password" \ + --enable-basic-auth-helpers="${basic_modules}" \ + --enable-external-acl-helpers="${ext_helpers}" \ + --enable-ntlm-auth-helpers="${ntlm_helpers}" \ + --enable-ident-lookups \ + --enable-useragent-log \ + --enable-cache-digests \ + --enable-delay-pools \ + --enable-referer-log \ + --enable-arp-acl \ + --with-pthreads \ + --with-large-files \ + --enable-htcp \ + --enable-carp \ + --enable-follow-x-forwarded-for \ + --with-maxfd=8192 \ + $(use_enable snmp) \ + $(use_enable ssl) \ + ${myconf} || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + # need suid root for looking into /etc/shadow + fowners root:squid /usr/libexec/squid/ncsa_auth + fowners root:squid /usr/libexec/squid/pam_auth + fperms 4750 /usr/libexec/squid/ncsa_auth + fperms 4750 /usr/libexec/squid/pam_auth + + # some cleanups + rm -f "${D}"/usr/bin/Run* + + dodoc CONTRIBUTORS CREDITS ChangeLog QUICKSTART SPONSORS doc/*.txt \ + helpers/ntlm_auth/no_check/README.no_check_ntlm_auth + newdoc helpers/basic_auth/SMB/README README.auth_smb + dohtml helpers/basic_auth/MSNT/README.html RELEASENOTES.html + newdoc helpers/basic_auth/LDAP/README README.auth_ldap + doman helpers/basic_auth/LDAP/*.8 + dodoc helpers/basic_auth/SASL/squid_sasl_auth* + + newpamd "${FILESDIR}/squid.pam" squid + newconfd "${FILESDIR}/squid.confd" squid + if use logrotate; then + newinitd "${FILESDIR}/squid.initd-logrotate" squid + insinto /etc/logrotate.d + newins "${FILESDIR}/squid.logrotate" squid + else + newinitd "${FILESDIR}/squid.initd" squid + exeinto /etc/cron.weekly + newexe "${FILESDIR}/squid.cron" squid.cron + fi + + rm -rf "${D}"/var + diropts -m0755 -o squid -g squid + keepdir /var/cache/squid /var/log/squid +} + +pkg_postinst() { + echo + ewarn "Squid authentication helpers have been installed suid root." + ewarn "This allows shadow based authentication (see bug #52977 for more)." + echo + ewarn "Be careful what type of cache_dir you select!" + ewarn " 'diskd' is optimized for high levels of traffic, but it might seem slow" + ewarn "when there isn't sufficient traffic to keep squid reasonably busy." + ewarn " If your traffic level is low to moderate, use 'aufs' or 'ufs'." + echo + ewarn "Squid can be configured to run in transparent mode like this:" + ewarn " ${HILITE}http_port internal-addr:3128 transparent${NORMAL}" +} |