Changeset - e23904a28631
[Not reviewed]
dev-libs/nspr/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for dev-libs/nspr
 
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.122 2009/05/01 14:03:12 maekke Exp $
 

	
 
  01 May 2009; Markus Meier <maekke@gentoo.org> nspr-4.7.4.ebuild:
 
  amd64 stable, bug #267234
 

	
 
  30 Apr 2009; Raúl Porcel <armin76@gentoo.org> nspr-4.7.4.ebuild:
 
  alpha/arm/ia64/sparc stable wrt #267234
 

	
 
  30 Apr 2009; Jeroen Roovers <jer@gentoo.org> nspr-4.7.4.ebuild:
 
  Stable for HPPA (bug #267234).
 

	
 
  29 Apr 2009; Brent Baude <ranger@gentoo.org> nspr-4.7.4.ebuild:
 
  Marking nspr-4.7.4 ppc64 and ppc for bug 267234
 

	
 
  29 Apr 2009; Christian Faulhammer <fauli@gentoo.org> nspr-4.6.8.ebuild,
 
  nspr-4.7.3.ebuild, nspr-4.7.4.ebuild:
 
  make repoman happy and set RDEPEND explicitly
 

	
 
  29 Apr 2009; Christian Faulhammer <fauli@gentoo.org> nspr-4.7.4.ebuild:
 
  stable x86, security bug 267234
 

	
 
*nspr-4.7.4 (15 Apr 2009)
 

	
 
  15 Apr 2009; Raúl Porcel <armin76@gentoo.org> +nspr-4.7.4.ebuild:
 
  Version bump
 

	
 
  12 Apr 2009; Friedrich Oslage <bluebird@gentoo.org> nspr-4.7.3.ebuild:
 
  Stable on sparc, security bug #262704 and security bug #265165
 

	
 
  27 Dec 2008; Brent Baude <ranger@gentoo.org> nspr-4.7.3.ebuild:
 
  Marking nspr-4.7.3 ppc64 and ppc for bug 234646
 

	
 
  26 Dec 2008; Jeroen Roovers <jer@gentoo.org> nspr-4.7.3.ebuild:
 
  Stable for HPPA (bug #234646).
 

	
 
  24 Dec 2008; Raúl Porcel <armin76@gentoo.org> -nspr-4.7.1.ebuild,
 
  -nspr-4.7.2.ebuild, nspr-4.7.3.ebuild:
 
  alpha/arm/ia64 stable wrt #234646
 

	
 
  23 Dec 2008; Markus Meier <maekke@gentoo.org> nspr-4.7.3.ebuild:
 
  x86 stable, bug #234646
 

	
 
  22 Dec 2008; Olivier Crête <tester@gentoo.org> nspr-4.7.3.ebuild:
 
  Stable on amd64, bug #234646
 

	
 
  15 Nov 2008; Raúl Porcel <armin76@gentoo.org> nspr-4.6.8.ebuild,
 
  nspr-4.7.1.ebuild, nspr-4.7.2.ebuild, nspr-4.7.3.ebuild:
 
  Enhance die message when checking for 64bits, bug #246929
 

	
 
*nspr-4.7.2 (14 Nov 2008)
 
*nspr-4.7.3 (14 Nov 2008)
 

	
 
  14 Nov 2008; Raúl Porcel <armin76@gentoo.org> +nspr-4.7.2.ebuild,
 
  +nspr-4.7.3.ebuild:
 
  Version bump
 

	
 
  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.  
dev-libs/nspr/Manifest
Show inline comments
 
new file 100644
 
-----BEGIN PGP SIGNED MESSAGE-----
 
Hash: SHA1
 

	
 
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.3.tar.gz 1254585 RMD160 532417c8c4d04a32d6cfc09ea8f2279d5ee69e72 SHA1 351c34c8f26d11a441bc3130655cd9144e724899 SHA256 b1d2419ef1807c38944fc746fff14fda8506589e5462dc31194a9d1b494b9f49
 
DIST nspr-4.7.4.tar.gz 1256846 RMD160 7f6478f889dbddd91271d2182ace910f32a2c375 SHA1 7653b922b1953bb21d25fb445d0ead90ac79dd21 SHA256 5532056aff17d6769953727ac7ba8dc62741612e936c5be84496671f8a2d08cd
 
EBUILD nspr-4.6.8.ebuild 2830 RMD160 897efd655cf6de5a05ce06fa05d0cb3a12a8ff27 SHA1 2b39e728b553eafb85906650d279d48106c3598d SHA256 6a8d95657fd74acaf938de75beb81e2af9874ee4e630d94e2e1fc232d5804766
 
EBUILD nspr-4.7.3.ebuild 2463 RMD160 f3b2a42a6dd854388fb23b726195f4ae01abe22d SHA1 7afd5ffbad55c575280437c8cd3a72a427d22d81 SHA256 55fbd71933d0cb89d47cc367675ec64cba8bd9e1140c5bdcd45c8dbb65376bc3
 
EBUILD nspr-4.7.4.ebuild 2464 RMD160 589d218dfbdc141cbcbf378400aa44e87be432be SHA1 6801db5f5a3db3012fb3b23eaf220874ef9773f1 SHA256 1853a8803e0511dd92926d830ca1e556a291b7f98bf82d3fe7e2360f6da5d5de
 
MISC ChangeLog 15647 RMD160 fad4beac5ba2b76f2b751c33bc28caab56ed9574 SHA1 7e89cbb789df7d4c66e95a7bce69a2baa1157c95 SHA256 c65bd4375313e26f8c0ec6bb0391dfb831d43c76037a130d2ffc125542abd598
 
MISC metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 SHA1 5015c07af2083f20f9552d7fb11afb5ea69af345 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b
 
-----BEGIN PGP SIGNATURE-----
 
Version: GnuPG v2.0.11 (GNU/Linux)
 

	
 
iEYEARECAAYFAkn7ATYACgkQkKaRLQcq0GJr7QCfZ6P615ji7kpLrm+kkvExqvZG
 
l9MAoLWUiBsYSwHJDHhikD1S5SLZSgqc
 
=4WSp
 
-----END PGP SIGNATURE-----
dev-libs/nspr/files/nspr-4.6.1-config-1.patch
Show inline comments
 
new file 100644
 
--- 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
dev-libs/nspr/files/nspr-4.6.1-config.patch
Show inline comments
 
new file 100644
 
--- 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
dev-libs/nspr/files/nspr-4.6.1-gcc-visibility.patch
Show inline comments
 
new file 100644
 
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
dev-libs/nspr/files/nspr-4.6.1-lang.patch
Show inline comments
 
new file 100644
 
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.
dev-libs/nspr/files/nspr-4.6.1-prtime.patch
Show inline comments
 
new file 100644
 
--- 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
dev-libs/nspr/files/nspr-4.7.0-prtime.patch
Show inline comments
 
new file 100644
 
--- 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
dev-libs/nspr/files/nspr.pc.in
Show inline comments
 
new file 100644
 
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
dev-libs/nspr/metadata.xml
Show inline comments
 
new file 100644
 
<?xml version="1.0" encoding="UTF-8"?>
 
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 
<pkgmetadata>
 
<herd>mozilla</herd>
 
</pkgmetadata>
dev-libs/nspr/nspr-4.6.8.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2009 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.12 2009/04/29 20:56:27 fauli 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=""
 
RDEPEND="${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 "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
 
	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"
 
}
dev-libs/nspr/nspr-4.7.3.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2009 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.7.3.ebuild,v 1.9 2009/04/29 20:56:27 fauli 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=">=dev-db/sqlite-3.5"
 
RDEPEND="${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.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 "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
 
	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
 
}
dev-libs/nspr/nspr-4.7.4.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2009 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.7.4.ebuild,v 1.7 2009/05/01 14:03:12 maekke 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=">=dev-db/sqlite-3.5"
 
RDEPEND="${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.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 "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
 
	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
 
}
0 comments (0 inline, 0 general)