Changeset - 5a1af5749a73
[Not reviewed]
default
0 0 335
Nathan Brink (binki) - 16 years ago 2008-11-09 23:35:43
ohnobinki@ohnopublishing.net
initial importation of my overlay into a versioner (Mercurial)
335 files changed with 23216 insertions and 0 deletions:
0 comments (0 inline, 0 general)
app-antivirus/clamav/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for app-antivirus/clamav
 
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.308 2008/09/13 22:48:04 dertobi123 Exp $
 

	
 
  13 Sep 2008; Tobias Scherbaum <dertobi123@gentoo.org> clamav-0.94.ebuild:
 
  Add missing buildtime dep on dev-util/pkgconfig, #237552
 

	
 
  08 Sep 2008; Brent Baude <ranger@gentoo.org> clamav-0.94.ebuild:
 
  Marking clamav-0.94 ppc64 and ppc for bug 236665
 

	
 
  08 Sep 2008; Raúl Porcel <armin76@gentoo.org> clamav-0.94.ebuild:
 
  ia64 stable wrt #236665
 

	
 
  07 Sep 2008; Friedrich Oslage <bluebird@gentoo.org> clamav-0.94.ebuild:
 
  Stable on sparc, security bug #236665
 

	
 
  07 Sep 2008; Markus Meier <maekke@gentoo.org> clamav-0.94.ebuild:
 
  x86 stable, bug #236665
 

	
 
  06 Sep 2008; Jeroen Roovers <jer@gentoo.org> clamav-0.94.ebuild:
 
  Stable for HPPA (bug #236665).
 

	
 
  06 Sep 2008; Jose Luis Rivero <yoswink@gentoo.org> clamav-0.94.ebuild:
 
  Stable on alpha wrt bug #236665
 

	
 
  06 Sep 2008; Richard Freeman <rich0@gentoo.org> clamav-0.94.ebuild:
 
  amd64 stable - 236665
 

	
 
  06 Sep 2008; Raúl Porcel <armin76@gentoo.org> clamav-0.94.ebuild:
 
  Add missing dep on dev-libs/check when running the tests
 

	
 
  05 Sep 2008; Tobias Scherbaum <dertobi123@gentoo.org>
 
  -files/clamav-0.90-compat.patch, -files/clamav-0.90-nls.patch,
 
  -files/clamav-0.91.2-CVE-2007-5759.patch,
 
  -files/clamav-0.91.2-CVE-2007-6336.patch,
 
  -files/clamav-0.91.2-CVE-2007-6337.patch, -clamav-0.91.2.ebuild,
 
  -clamav-0.91.2-r1.ebuild, -clamav-0.92.ebuild, -clamav-0.92.1.ebuild,
 
  -clamav-0.92.1-r1.ebuild, -clamav-0.93.ebuild, -clamav-0.93.1.ebuild:
 
  Cleanup
 

	
 
*clamav-0.94 (05 Sep 2008)
 

	
 
  05 Sep 2008; Tobias Scherbaum <dertobi123@gentoo.org>
 
  +files/clamav-0.94-buildfix.patch, +files/clamav-0.94-nls.patch,
 
  +clamav-0.94.ebuild:
 
  Version bump, #236665
 

	
 
  22 Jul 2008; Tobias Scherbaum <dertobi123@gentoo.org>
 
  clamav-0.93.3.ebuild:
 
  ppc stable, bug #227351
 

	
 
  21 Jul 2008; Raúl Porcel <armin76@gentoo.org> clamav-0.93.3.ebuild:
 
  alpha/ia64/sparc/x86 stable wrt security #227351
 

	
 
  21 Jul 2008; Jeroen Roovers <jer@gentoo.org> clamav-0.93.3.ebuild:
 
  Stable for HPPA (bug #227351).
 

	
 
  21 Jul 2008; Markus Rothe <corsair@gentoo.org> clamav-0.93.3.ebuild:
 
  Stable on ppc64; bug #227351
 

	
 
  21 Jul 2008; <chainsaw@gentoo.org> clamav-0.93.3.ebuild:
 
  AMD64 stable keyword for 0.93.3; for security bug #227351. Tested on
 
  hardened Opteron 2218 (hardened/amd64, gcc-3.4.6, glibc-2.6.1-r0,
 
  2.6.24-hardened-r3 x86_64) and Core 2 Duo
 
  (default/linux/amd64/2008.0/developer, gcc-4.3.1, glibc-2.8_p20080602-r0,
 
  2.6.26 x86_64).
 

	
 
*clamav-0.93.3 (20 Jul 2008)
 

	
 
  20 Jul 2008; Tobias Scherbaum <dertobi123@gentoo.org>
 
  +clamav-0.93.3.ebuild:
 
  Version bump, bug #231287
 

	
 
*clamav-0.93.1 (11 Jun 2008)
 

	
 
  11 Jun 2008; Raphael Marichez <falco@gentoo.org> +clamav-0.93.1.ebuild:
 
  Version bump, keep "buildfix" patch to prevent libtoolize with -L/usr/lib
 

	
 
  11 May 2008; Tobias Scherbaum <dertobi123@gentoo.org> clamav-0.93.ebuild:
 
  ppc stable, bug #213762
 

	
 
  07 May 2008; Markus Rothe <corsair@gentoo.org> clamav-0.93.ebuild:
 
  Stable on ppc64; bug #213762
 

	
 
  04 May 2008; Andrej Kacian <ticho@gentoo.org> +files/lib-ld.m4,
 
  clamav-0.93.ebuild:
 
  Supply lib-ld.m4 file, originally provided by gettext, for non-nls users -
 
  autoconf needs it. Bug #218892, thanks to Natanael Copa.
 

	
 
  21 Apr 2008; Markus Meier <maekke@gentoo.org> clamav-0.93.ebuild:
 
  amd64 stable, security bug #213762
 

	
 
  21 Apr 2008; Raúl Porcel <armin76@gentoo.org> clamav-0.93.ebuild:
 
  alpha/ia64/sparc/x86 stable wrt security #213762
 

	
 
  21 Apr 2008; Jeroen Roovers <jer@gentoo.org> clamav-0.93.ebuild:
 
  Stable for HPPA (bug #213762).
 

	
 
  17 Apr 2008; Andrej Kacian <ticho@gentoo.org>
 
  +files/clamav-0.93-buildfix.patch, files/clamav-0.93-nls.patch,
 
  clamav-0.93.ebuild:
 
  Added iconv support to ebuild. Added patch to fix bad dynamic linking by
 
  Raphael Marichez <falco at gentoo org>, so the build is actually usable.
 
  Bug #213762.
 

	
 
*clamav-0.93 (15 Apr 2008)
 

	
 
  15 Apr 2008; Raphael Marichez <falco@gentoo.org>
 
  +files/clamav-0.93-nls.patch, +clamav-0.93.ebuild:
 
  Security bump, bug #213762 and add -I m4 in aclocal
 

	
 
*clamav-0.92.1-r1 (29 Feb 2008)
 

	
 
  29 Feb 2008; Andrej Kacian <ticho@gentoo.org> files/clamd.conf,
 
  files/clamd.rc, +clamav-0.92.1-r1.ebuild:
 
  Add support for setting process niceness in conf.d file. Suggestion by Jens
 
  Weibler <gentoo-bugzilla at jensthebrain de>, bug #211397.
 

	
 
  23 Feb 2008; Andrej Kacian <ticho@gentoo.org> clamav-0.92.1.ebuild:
 
  Enable AllowSupplementaryGroups option by default for better integration
 
  with other apps out of the box.
 

	
 
  19 Feb 2008; Tobias Scherbaum <dertobi123@gentoo.org>
 
  clamav-0.92.1.ebuild:
 
  ppc stable, bug #209915
 

	
 
  18 Feb 2008; Brent Baude <ranger@gentoo.org> clamav-0.92.1.ebuild:
 
  Marking clamav-0.92.1 ppc64 for bug 209915
 

	
 
  18 Feb 2008; Jeroen Roovers <jer@gentoo.org> clamav-0.92.1.ebuild:
 
  Stable for HPPA (bug #209915).
 

	
 
  18 Feb 2008; Raúl Porcel <armin76@gentoo.org> clamav-0.92.1.ebuild:
 
  alpha/ia64/sparc stable wrt #209915
 

	
 
  17 Feb 2008; Christoph Mende <angelos@gentoo.org> clamav-0.92.1.ebuild:
 
  Stable on amd64, security bug #209915
 

	
 
  16 Feb 2008; Markus Meier <maekke@gentoo.org> clamav-0.92.1.ebuild:
 
  x86 stable, security bug #209915
 

	
 
  13 Feb 2008; Jeroen Roovers <jer@gentoo.org> clamav-0.92.ebuild:
 
  Stable for HPPA (bug #207231).
 

	
 
*clamav-0.92.1 (11 Feb 2008)
 

	
 
  11 Feb 2008; Andrej Kacian <ticho@gentoo.org> +clamav-0.92.1.ebuild:
 
  Version bump. Dropped compatibility patch to keep cl_loaddbdir() exposed.
 

	
 
  11 Feb 2008; Andrej Kacian <ticho@gentoo.org> clamav-0.91.2.ebuild,
 
  clamav-0.91.2-r1.ebuild, clamav-0.92.ebuild:
 
  Fix libmilter check for 64bit systems and mention libmilter package as
 
  another option to milter-enabled sendmail in the ewarn message. Bug #209679,
 
  by <ohnobinki at ohnopublishing homelinux net>. Fix quoting.
 

	
 
  11 Feb 2008; Raúl Porcel <armin76@gentoo.org> clamav-0.92.ebuild:
 
  alpha/ia64 stable wrt #207231
 

	
 
  10 Feb 2008; Richard Freeman <rich0@gentoo.org> clamav-0.92.ebuild:
 
  amd64 stable - bug 207231
 

	
 
  09 Feb 2008; Brent Baude <ranger@gentoo.org> clamav-0.92.ebuild:
 
  stable ppc64, bug 207231
 

	
 
  08 Feb 2008; Ferris McCormick <fmccor@gentoo.org> clamav-0.92.ebuild:
 
  Sparc stable, Bug #207231.
 

	
 
  08 Feb 2008; Tobias Scherbaum <dertobi123@gentoo.org> clamav-0.92.ebuild:
 
  ppc stable, bug #207231
 

	
 
  08 Feb 2008; Christian Faulhammer <opfer@gentoo.org> clamav-0.92.ebuild:
 
  stable x86, bug 207231
 

	
 
  26 Dec 2007; Peter Weller <welp@gentoo.org> clamav-0.91.2-r1.ebuild:
 
  Stable on amd64; bug 202762
 

	
 
  20 Dec 2007; Raúl Porcel <armin76@gentoo.org> clamav-0.91.2-r1.ebuild:
 
  alpha/ia64 stable wrt security #202762
 

	
 
  20 Dec 2007; Jeroen Roovers <jer@gentoo.org> clamav-0.91.2-r1.ebuild:
 
  Stable for HPPA (bug #202762).
 

	
 
  20 Dec 2007; Ferris McCormick <fmccor@gentoo.org> clamav-0.91.2-r1.ebuild:
 
  Sparc stable, security Bug #202762.
 

	
 
  20 Dec 2007; Markus Meier <maekke@gentoo.org> clamav-0.91.2-r1.ebuild:
 
  x86 stable, security bug #202762
 

	
 
  20 Dec 2007; Brent Baude <ranger@gentoo.org> clamav-0.91.2-r1.ebuild:
 
  Marking clamav-0.91.2-r1 ppc and ppc64 for 202762
 

	
 
  20 Dec 2007; Andrej Kacian <ticho@gentoo.org> -clamav-0.92_rc2.ebuild:
 
  Remove ebuild for release candidate.
 

	
 
*clamav-0.91.2-r1 (20 Dec 2007)
 

	
 
  20 Dec 2007; Andrej Kacian <ticho@gentoo.org>
 
  +files/clamav-0.91.2-CVE-2007-5759.patch,
 
  +files/clamav-0.91.2-CVE-2007-6336.patch,
 
  +files/clamav-0.91.2-CVE-2007-6337.patch, +clamav-0.91.2-r1.ebuild:
 
  Add patches collected by Robert Buchholz <rbu at gentoo.org> to backport
 
  fixes for CVE-2007-5759, CVE-2007-6336 and CVE-2007-6337.
 

	
 
*clamav-0.92 (17 Dec 2007)
 

	
 
  17 Dec 2007; Andrej Kacian <ticho@gentoo.org> +clamav-0.92.ebuild:
 
  Version bump.
 

	
 
  14 Nov 2007; Andrej Kacian <ticho@gentoo.org> -clamav-0.91.ebuild,
 
  -clamav-0.91.1.ebuild, clamav-0.91.2.ebuild, clamav-0.92_rc2.ebuild:
 
  Version cleanup. Get rid of logrotate USE flag - bug #198901.
 

	
 
*clamav-0.92_rc2 (10 Oct 2007)
 

	
 
  10 Oct 2007; Thomas Raschbacher <lordvan@gentoo.org>
 
  +clamav-0.92_rc2.ebuild:
 
  added 0.92rc2
 

	
 
  29 Aug 2007; Markus Rothe <corsair@gentoo.org> clamav-0.91.2.ebuild:
 
  Stable on ppc64; bug #189912
 

	
 
  24 Aug 2007; Raúl Porcel <armin76@gentoo.org> clamav-0.91.2.ebuild:
 
  alpha/ia64 stable wrt security #189912
 

	
 
  23 Aug 2007; Jeroen Roovers <jer@gentoo.org> clamav-0.91.2.ebuild:
 
  Stable for HPPA (bug #189912).
 

	
 
  23 Aug 2007; Jurek Bartuszek <jurek@gentoo.org> clamav-0.91.2.ebuild:
 
  x86 stable (bug #189912)
 

	
 
  23 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org>
 
  clamav-0.91.2.ebuild:
 
  ppc stable, bug #189912
 

	
 
  23 Aug 2007; Christoph Mende <angelos@gentoo.org> clamav-0.91.2.ebuild:
 
  Stable on amd64 wrt security bug #189912
 

	
 
  23 Aug 2007; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.91.2.ebuild:
 
  Stable on sparc wrt security #189912
 

	
 
*clamav-0.91.2 (21 Aug 2007)
 

	
 
  21 Aug 2007; Andrej Kacian <ticho@gentoo.org> -clamav-0.88.7.ebuild,
 
  -clamav-0.88.7-r1.ebuild, -clamav-0.88.7-r2.ebuild, -clamav-0.90.ebuild,
 
  -clamav-0.90.1.ebuild, -clamav-0.90.1-r1.ebuild, -clamav-0.90.2.ebuild,
 
  -clamav-0.90.3.ebuild, +clamav-0.91.2.ebuild:
 
  Version bump. Removed obsolete ebuilds.
 

	
 
  17 Jul 2007; Jeroen Roovers <jer@gentoo.org> clamav-0.91.ebuild:
 
  Stable for HPPA (bug #185013).
 

	
 
*clamav-0.91.1 (17 Jul 2007)
 

	
 
  17 Jul 2007; Andrej Kacian <ticho@gentoo.org> +clamav-0.91.1.ebuild:
 
  Version bump.
 

	
 
  16 Jul 2007; Markus Rothe <corsair@gentoo.org> clamav-0.91.ebuild:
 
  Stable on ppc64; bug #185013
 

	
 
  16 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.91.ebuild:
 
  Stable on sparc wrt security #185013
 

	
 
  15 Jul 2007; Tobias Scherbaum <dertobi123@gentoo.org> clamav-0.91.ebuild:
 
  ppc stable, bug #185013
 

	
 
  15 Jul 2007; Steve Dibb <beandog@gentoo.org> clamav-0.91.ebuild:
 
  amd64 stable, security bug 185013
 

	
 
  15 Jul 2007; Raúl Porcel <armin76@gentoo.org> clamav-0.91.ebuild:
 
  alpha/ia64/x86 stable wrt security #185013
 

	
 
*clamav-0.91 (11 Jul 2007)
 

	
 
  11 Jul 2007; Andrej Kacian <ticho@gentoo.org> +clamav-0.91.ebuild:
 
  Version bump.
 

	
 
  04 Jun 2007; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.90.3.ebuild:
 
  Stable on sparc wrt security #178082
 

	
 
  03 Jun 2007; Markus Rothe <corsair@gentoo.org> clamav-0.90.3.ebuild:
 
  Stable on ppc64; bug #178082
 

	
 
  02 Jun 2007; René Nussbaumer <killerfox@gentoo.org> clamav-0.90.3.ebuild:
 
  Stable on ppc. See bug #178082.
 

	
 
  02 Jun 2007; Raúl Porcel <armin76@gentoo.org> clamav-0.90.3.ebuild:
 
  alpha/ia64/x86 stable wrt #178082
 

	
 
  02 Jun 2007; Jeroen Roovers <jer@gentoo.org> clamav-0.90.3.ebuild:
 
  Stable for HPPA (bug #178082).
 

	
 
  02 Jun 2007; Christoph Mende <angelos@gentoo.org> clamav-0.90.3.ebuild:
 
  Stable on amd64 wrt security bug 178082
 

	
 
*clamav-0.90.3 (31 May 2007)
 

	
 
  31 May 2007; Andrej Kacian <ticho@gentoo.org> +clamav-0.90.3.ebuild:
 
  Version bump.
 

	
 
  16 Apr 2007; Andrej Kacian <ticho@gentoo.org> files/clamav-0.90-nls.patch:
 
  Fix compile error with -nls, introduced by my nls patch. Bug #174787, by
 
  Philipp Riegger <stoile at anderedomain.de>.
 

	
 
  15 Apr 2007; Markus Rothe <corsair@gentoo.org> clamav-0.90.2.ebuild:
 
  Stable on ppc64; bug #174375
 

	
 
  13 Apr 2007; Andrej Kacian <ticho@gentoo.org> files/clamd.rc:
 
  Chown freshclam.log to correct user. Patch by Jeremy Huddleston <eradicator
 
  at gentoo.org>.
 

	
 
  13 Apr 2007; Jeroen Roovers <jer@gentoo.org> clamav-0.90.2.ebuild:
 
  Stable for HPPA (bug #174375).
 

	
 
  13 Apr 2007; Tobias Scherbaum <dertobi123@gentoo.org>
 
  clamav-0.90.2.ebuild:
 
  ppc stable, bug #174375
 

	
 
  13 Apr 2007; <welp@gentoo.org> clamav-0.90.2.ebuild:
 
  Stable on amd64 wrt bug 174375
 

	
 
  13 Apr 2007; Fernando J. Pereda <ferdy@gentoo.org> clamav-0.90.2.ebuild:
 
  Stable on alpha as per security bug #174375
 

	
 
  13 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.90.2.ebuild:
 
  Stable on sparc wrt security #174375
 

	
 
  13 Apr 2007; Raúl Porcel <armin76@gentoo.org> clamav-0.90.2.ebuild:
 
  ia64 + x86 stable wrt security bug 174375
 

	
 
*clamav-0.90.2 (13 Apr 2007)
 

	
 
  13 Apr 2007; Andrej Kacian <ticho@gentoo.org> files/clamav-0.90-nls.patch,
 
  +clamav-0.90.2.ebuild:
 
  Version bump. NLS patch fix - do not include sendfile.h inside ENABLE_NLS
 
  ifdef, as it has nothing to do with NLS.
 

	
 
  10 Apr 2007; Andrej Kacian <ticho@gentoo.org> files/clamd.rc:
 
  Make sure clamav-milter starts correctly when --external option is used.
 
  Patch submitted by Dean C Bullock <dean at bullock.net> in bug #169561.
 

	
 
  02 Apr 2007; Roy Marples <uberlord@gentoo.org> files/clamd.rc:
 
  De bashify init script.
 

	
 
  28 Mar 2007; Raúl Porcel <armin76@gentoo.org> clamav-0.90.ebuild:
 
  ia64 stable wrt bug 167201
 

	
 
  27 Mar 2007; Andrej Kacian <ticho@gentoo.org> files/clamav.logrotate:
 
  Also reload clamd/freshclam from logrotate script.
 

	
 
  25 Mar 2007; Andrej Kacian <ticho@gentoo.org> files/clamav.logrotate,
 
  files/clamd.rc:
 
  Move logfile permission/ownership fix to separate logfix() function and call
 
  it from start(), and from logrotate script. Closes bug #170739, reported by
 
  Sergey Borodich <bor at univ.kiev.ua>. Remove bashism from the initscript,
 
  as suggested by Natanael Copa <natanael.copa at gmail.com> in bug #171755.
 

	
 
  20 Mar 2007; Andrej Kacian <ticho@gentoo.org> -clamav-0.88.5.ebuild,
 
  -clamav-0.88.6.ebuild, clamav-0.88.7.ebuild, clamav-0.90.ebuild,
 
  clamav-0.90.1.ebuild, clamav-0.90.1-r1.ebuild:
 
  Removing obsolete ebuilds. Do not install generic INSTALL file.
 

	
 
  15 Mar 2007; Andrej Kacian <ticho@gentoo.org> files/clamd.rc:
 
  Always fix permissions for clamd and freshclam logs. Bug #170739, by Sergey
 
  Borodich <bor at univ.kiev.ua>.
 

	
 
  11 Mar 2007; Andrej Kacian <ticho@gentoo.org> clamav-0.90.ebuild,
 
  clamav-0.90.1.ebuild, clamav-0.90.1-r1.ebuild:
 
  Make freshclam use scripted updates by default - they work and they work
 
  well. Next best thing since sliced bread.
 

	
 
  09 Mar 2007; Andrej Kacian <ticho@gentoo.org> files/clamd.rc:
 
  Revert initscript to previous version, as it creates problems. Bug #169561.
 

	
 
  08 Mar 2007; Stephen Bennett <spb@gentoo.org> clamav-0.90.1-r1.ebuild:
 
  Run eautoreconf in src_unpack, by request of ticho
 

	
 
*clamav-0.90.1-r1 (08 Mar 2007)
 

	
 
  08 Mar 2007; Andrej Kacian <ticho@gentoo.org>
 
  +files/clamav-0.90-nls.patch, files/clamd.rc, +clamav-0.90.1-r1.ebuild:
 
  Wait for clamd socket if clamav-milter is started with --external argument.
 
  Patch provided by Dean C Bullock <dean at bullock.net>, bug #169561. Apply
 
  patch to allow building without NLS. Patch by Ned Ludd <solar at
 
  gentoo.org>, bug #167829.
 

	
 
  03 Mar 2007; Andrej Kacian <ticho@gentoo.org> clamav-0.90.ebuild,
 
  clamav-0.90.1.ebuild:
 
  Depend on gmp library unconditionally. Bug #169059, reported by Rob Terhaar
 
  <rterhaar at allovermedia.com>.
 

	
 
*clamav-0.90.1 (02 Mar 2007)
 

	
 
  02 Mar 2007; Andrej Kacian <ticho@gentoo.org> +clamav-0.90.1.ebuild:
 
  Version bump.
 

	
 
  25 Feb 2007; Andrej Kacian <ticho@gentoo.org>
 
  +files/clamav-0.90-compat.patch, clamav-0.90.ebuild:
 
  Added a patch to include cl_loaddbdir() in clamav.h to prevent other apps
 
  using this function from dying during compile-time. Other API
 
  incompatibilities will be dealt with as they come (patch if it's trivial,
 
  suggest users to whine upstream if it's not). Oh, and marked 0.90 stable on
 
  x86, as per security bug #167201.
 

	
 
  22 Feb 2007; Patrick McLean <chutzpah@gentoo.org> clamav-0.90.ebuild:
 
  Stable on amd64 (bug #167201).
 

	
 
  22 Feb 2007; Fernando J. Pereda <ferdy@gentoo.org> clamav-0.90.ebuild:
 
  Stable on alpha as per security bug 167201
 

	
 
  20 Feb 2007; Markus Rothe <corsair@gentoo.org> clamav-0.90.ebuild:
 
  Stable on ppc64; bug #167201
 

	
 
  18 Feb 2007; Jeroen Roovers <jer@gentoo.org> clamav-0.90.ebuild:
 
  Stable for HPPA (bug #167201).
 

	
 
  18 Feb 2007; Tobias Scherbaum <dertobi123@gentoo.org> clamav-0.90.ebuild:
 
  Stable on ppc wrt bug #167201.
 

	
 
  18 Feb 2007; Jason Wever <weeve@gentoo.org> clamav-0.90.ebuild:
 
  Stable on SPARC WRT security bug #167201.
 

	
 
  18 Feb 2007; Andrej Kacian <ticho@gentoo.org> clamav-0.90.ebuild:
 
  Removed onaccess support, because dazuko upstream rewrote the interface, and
 
  there's no stable release yet. Bug #167201.
 

	
 
*clamav-0.90 (14 Feb 2007)
 

	
 
  14 Feb 2007; Andrej Kacian <ticho@gentoo.org> -clamav-0.90_rc3.ebuild,
 
  +clamav-0.90.ebuild:
 
  Version bump. Add bzip2, curl, gmp USE flags to control dependencies some
 
  more. Remove the rc3 ebuild.
 

	
 
  04 Feb 2007; Andrej Kacian <ticho@gentoo.org> -clamav-0.90_rc1.ebuild,
 
  -clamav-0.90_rc2.ebuild:
 
  Removed obsolete 0.90 RCs.
 

	
 
*clamav-0.90_rc3 (01 Feb 2007)
 

	
 
  01 Feb 2007; Andrej Kacian <ticho@gentoo.org> +clamav-0.90_rc3.ebuild:
 
  New release candidate.
 

	
 
  23 Jan 2007; Marius Mauch <genone@gentoo.org> clamav-0.88.5.ebuild,
 
  clamav-0.88.6.ebuild, clamav-0.88.7.ebuild, clamav-0.88.7-r1.ebuild,
 
  clamav-0.88.7-r2.ebuild, clamav-0.90_rc1.ebuild, clamav-0.90_rc2.ebuild:
 
  Replacing einfo with elog
 

	
 
  10 Jan 2007; Andrej Kacian <ticho@gentoo.org> files/clamav.logrotate:
 
  Fixed the logrotate script. Bug #161294, reported by Jochen Schalanda
 
  <jochen at schalanda.de>.
 

	
 
*clamav-0.88.7-r2 (24 Dec 2006)
 

	
 
  24 Dec 2006; Andrej Kacian <ticho@gentoo.org> +files/clamav.logrotate,
 
  +clamav-0.88.7-r2.ebuild:
 
  Include script for logrotate (and logrotate USE flag). Closes bug #122070,
 
  reported by Tóth Csaba <tsabi-gentoo at tsabi.hu>.
 

	
 
  20 Dec 2006; Timothy Redaelli <drizzt@gentoo.org> clamav-0.88.7-r1.ebuild:
 
  Readded ~x86-fbsd keyword since dazuko-2.3.2-r2 is keyworded
 

	
 
  19 Dec 2006; Andrej Kacian <ticho@gentoo.org> ChangeLog:
 
  Revert to ~arch, remove x86-fbsd for now, as dazuko doesn't have this keyword.
 

	
 
*clamav-0.88.7-r1 (19 Dec 2006)
 

	
 
  19 Dec 2006; Andrej Kacian <ticho@gentoo.org> +clamav-0.88.7-r1.ebuild:
 
  Add support for clamuko - on-access file scanning using dazuko kernel
 
  module. Closes bug #99992 by Alon Bar-Lev <alonbl at gentoo.org>.
 

	
 
  17 Dec 2006; René Nussbaumer <killerfox@gentoo.org> clamav-0.88.7.ebuild:
 
  Stable on hppa. See bug #157698.
 

	
 
  12 Dec 2006; Bryan Østergaard <kloeri@gentoo.org> clamav-0.88.7.ebuild:
 
  Stable on Alpha + ia64.
 

	
 
  11 Dec 2006; Daniel Gryniewicz <dang@gentoo.org> clamav-0.88.7.ebuild:
 
  Marked stable on amd64 for bug #157698
 

	
 
  11 Dec 2006; Andrej Kacian <ticho@gentoo.org> ChangeLog:
 
  Stable on x86, security bug #157698.
 

	
 
  11 Dec 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  clamav-0.88.7.ebuild:
 
  ppc stable, bug #157698
 

	
 
*clamav-0.88.7 (11 Dec 2006)
 

	
 
  11 Dec 2006; Andrej Kacian <ticho@gentoo.org> +clamav-0.88.7.ebuild:
 
  Version bump. Closes security bug #157698.
 

	
 
  11 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.88.6.ebuild:
 
  Stable on sparc wrt #156772
 

	
 
  09 Dec 2006; Markus Rothe <corsair@gentoo.org> clamav-0.88.6.ebuild:
 
  Stable on ppc64; bug #156772
 

	
 
  08 Dec 2006; Christian Faulhammer <opfer@gentoo.org> clamav-0.88.6.ebuild:
 
  stable x86, bug #156772
 

	
 
  27 Nov 2006; Timothy Redaelli <drizzt@gentoo.org> clamav-0.88.6.ebuild:
 
  Added ~x86-fbsd keyword.
 

	
 
  05 Nov 2006; Zac Medico <zmedico@gentoo.org> clamav-0.88.6.ebuild,
 
  clamav-0.90_rc1.ebuild, clamav-0.90_rc2.ebuild:
 
  Fix missing ( ) for milter? in DEPEND.
 

	
 
  05 Nov 2006; Andrej Kacian <ticho@gentoo.org> clamav-0.90_rc1.ebuild,
 
  clamav-0.90_rc2.ebuild:
 
  Depend on either libmilter or sendmail also in 0.90 RC ebuilds. Bug #152541
 
  by Milan Holzäpfel <public at mjh.name>.
 

	
 
*clamav-0.88.6 (05 Nov 2006)
 

	
 
  05 Nov 2006; Andrej Kacian <ticho@gentoo.org> -clamav-0.88.2.ebuild,
 
  -clamav-0.88.3.ebuild, -clamav-0.88.4.ebuild, +clamav-0.88.6.ebuild:
 
  Version bump. Removed old ebuilds. Depend on either libmilter on sendmail
 
  when milter USE flag is on. Closes bug #152541, by Milan Holzäpfel <public
 
  at mjh.name>.
 

	
 
*clamav-0.90_rc2 (30 Oct 2006)
 

	
 
  30 Oct 2006; Andrej Kacian <ticho@gentoo.org> +clamav-0.90_rc2.ebuild:
 
  Version bump for new RC.
 

	
 
  24 Oct 2006; Patrick McLean <chutzpah@gentoo.org> clamav-0.88.5.ebuild:
 
  Stable on amd64 (bug #151561).
 

	
 
  20 Oct 2006; Bryan Østergaard <kloeri@gentoo.org> clamav-0.88.5.ebuild:
 
  Stable on Alpha + ia64, bug 151561.
 

	
 
  20 Oct 2006; René Nussbaumer <killerfox@gentoo.org> clamav-0.88.5.ebuild:
 
  Stable on hppa. See bug #151561.
 

	
 
  18 Oct 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  clamav-0.88.5.ebuild:
 
  ppc stable, bug #151561
 

	
 
  16 Oct 2006; Jason Wever <weeve@gentoo.org> clamav-0.88.5.ebuild:
 
  Stable on SPARC wrt bug #151561.
 

	
 
  16 Oct 2006; Markus Rothe <corsair@gentoo.org> clamav-0.88.5.ebuild:
 
  Stable on ppc64; bug #151561
 

	
 
  16 Oct 2006; Andrej Kacian <ticho@gentoo.org> clamav-0.88.5.ebuild:
 
  Stable on x86, security bug #151561.
 

	
 
*clamav-0.90_rc1 (16 Oct 2006)
 

	
 
  16 Oct 2006; Andrej Kacian <ticho@gentoo.org> +clamav-0.90_rc1.ebuild:
 
  Version bump to upstream's 0.90RC1.1. This is a release candidate, and as
 
  such it is package.masked. Also, use "--enable-experimental", so if someone
 
  really wants to use a RC, they can help testing the code. You have been
 
  warned.
 

	
 
*clamav-0.88.5 (15 Oct 2006)
 

	
 
  15 Oct 2006; Andrej Kacian <ticho@gentoo.org> +clamav-0.88.5.ebuild:
 
  Version bump.
 

	
 
  03 Sep 2006; Bryan Østergaard <kloeri@gentoo.org> clamav-0.88.4.ebuild:
 
  Stable on ia64.
 

	
 
  08 Aug 2006; Christel Dahlskjaer <christel@gentoo.org>
 
  clamav-0.88.4.ebuild:
 
  Fixing up SRC_URI by request from Ticho.
 

	
 
  08 Aug 2006; Rene Nussbaumer <killerfox@gentoo.org> clamav-0.88.4.ebuild:
 
  Stable on hppa. See bug #143093.
 

	
 
  08 Aug 2006; Markus Rothe <corsair@gentoo.org> clamav-0.88.4.ebuild:
 
  Stable on ppc64; bug #143093
 

	
 
  08 Aug 2006; Luca Barbato <lu_zero@gentoo.org> clamav-0.88.4.ebuild:
 
  Marked ppc
 

	
 
  08 Aug 2006; Scott Stoddard <deltacow@gentoo.org> clamav-0.88.4.ebuild:
 
  Stable on amd64 (re bug #143093).
 

	
 
  08 Aug 2006; Fernando J. Pereda <ferdy@gentoo.org> clamav-0.88.4.ebuild:
 
  Stable on alpha wrt security bug #143093
 

	
 
  08 Aug 2006; Jason Wever <weeve@gentoo.org> clamav-0.88.4.ebuild:
 
  Stable on SPARC wrt security bug #143093.
 

	
 
  07 Aug 2006; Andrej Kacian <ticho@gentoo.org> clamav-0.88.4.ebuild:
 
  Stable on x86, security bug #143093.
 

	
 
*clamav-0.88.4 (07 Aug 2006)
 

	
 
  07 Aug 2006; Andrej Kacian <ticho@gentoo.org> +clamav-0.88.4.ebuild:
 
  Version bump. Fixes vulnerability in security bug #143093.
 

	
 
  06 Aug 2006; Yuta SATOH <nigoro@gentoo.org> clamav-0.88.3.ebuild:
 
  Stable on ppc64, bug #141539
 

	
 
  05 Aug 2006; Michael Hanselmann <hansmi@gentoo.org> clamav-0.88.3.ebuild:
 
  Stable on ppc.
 

	
 
  03 Aug 2006; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.88.3.ebuild:
 
  Stable on hppa wrt #141539
 

	
 
  02 Aug 2006; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.88.3.ebuild:
 
  Stable on sparc wrt #141539
 

	
 
  01 Aug 2006; Joshua Jackson <tsunam@gentoo.org> clamav-0.88.3.ebuild:
 
  Stable x86; bug #141539
 

	
 
*clamav-0.88.3 (02 Jul 2006)
 

	
 
  02 Jul 2006; Andrej Kacian <ticho@gentoo.org> +clamav-0.88.3.ebuild:
 
  Version bump.
 

	
 
  31 May 2006; <solar@gentoo.org> -clamav-0.87.1.ebuild, -clamav-0.87.ebuild,
 
  -clamav-0.88.1.ebuild, -clamav-0.88.ebuild:
 
  - security/qa cleanup. flush old/vuln ebuilds
 

	
 
  31 May 2006; <plasmaroo@gentoo.org> clamav-0.88.2.ebuild:
 
  Stable on IA64; bug #131791.
 

	
 
  01 May 2006; Jason Wever <weeve@gentoo.org> clamav-0.88.2.ebuild:
 
  Stable on SPARC wrt security bug #131791.
 

	
 
  01 May 2006; Markus Rothe <corsair@gentoo.org> clamav-0.88.2.ebuild:
 
  Stable on ppc64
 

	
 
  01 May 2006; Jon Hood <squinky86@gentoo.org> clamav-0.88.2.ebuild:
 
  Stable on amd64, #131791.
 

	
 
  01 May 2006; Rene Nussbaumer <killerfox@gentoo.org> clamav-0.88.2.ebuild:
 
  Stable on hppa. See bug #131791.
 

	
 
  01 May 2006; Mark Loeser <halcy0n@gentoo.org> clamav-0.88.2.ebuild:
 
  Stable on x86; bug #131791
 

	
 
  01 May 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  clamav-0.88.2.ebuild:
 
  ppc stable, bug #131791
 

	
 
  01 May 2006; Fernando J. Pereda <ferdy@gentoo.org> clamav-0.88.2.ebuild:
 
  Stable on Alpha wrt bug #131791
 

	
 
*clamav-0.88.2 (30 Apr 2006)
 

	
 
  30 Apr 2006; Andrej Kacian <ticho@gentoo.org> +clamav-0.88.2.ebuild:
 
  Version bump. Closees bug #129702 reported by Vieri <rentorbuy@yahoo.com>.
 

	
 
  07 Apr 2006; Mark Loeser <halcy0n@gentoo.org> clamav-0.88.1.ebuild:
 
  Stable on x86; bug #128963
 

	
 
  07 Apr 2006; Rene Nussbaumer <killerfox@gentoo.org> clamav-0.88.1.ebuild:
 
  Stable on hppa. See bug #128963.
 

	
 
  07 Apr 2006; Simon Stelling <blubb@gentoo.org> clamav-0.88.1.ebuild:
 
  stable on amd64 wrt bug 128963
 

	
 
  07 Apr 2006; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.88.1.ebuild:
 
  Stable on sparc wrt security #128963
 

	
 
  06 Apr 2006; Fernando J. Pereda <ferdy@gentoo.org> clamav-0.88.1.ebuild:
 
  Stable on alpha wrt security bug #128963
 

	
 
  06 Apr 2006; Markus Rothe <corsair@gentoo.org> clamav-0.88.1.ebuild:
 
  Stable on ppc64
 

	
 
  06 Apr 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  clamav-0.88.1.ebuild:
 
  ppc stable, bug #128963
 

	
 
*clamav-0.88.1 (06 Apr 2006)
 

	
 
  06 Apr 2006; Patrick McLean <chutzpah@gentoo.org> +clamav-0.88.1.ebuild:
 
  Version bump, fixes some security bugs (bug 128963)
 

	
 
  04 Feb 2006; Aron Griffis <agriffis@gentoo.org> clamav-0.88.ebuild:
 
  Mark 0.88 stable on ia64
 

	
 
  22 Jan 2006; Andrej Kacian <ticho@gentoo.org> clamav-0.87.ebuild,
 
  clamav-0.87.1.ebuild, clamav-0.88.ebuild:
 
  Removed libidn dependency. Bug #119909.
 

	
 
  12 Jan 2006; Markus Rothe <corsair@gentoo.org> clamav-0.88.ebuild:
 
  Stable on ppc64; bug #118459
 

	
 
  12 Jan 2006; Rene Nussbaumer <killerfox@gentoo.org> clamav-0.88.ebuild:
 
  Stable on hppa. See bug #118459.
 

	
 
  12 Jan 2006; Simon Stelling <blubb@gentoo.org> clamav-0.88.ebuild:
 
  stable on amd64 wrt bug 118459
 

	
 
  11 Jan 2006; Tobias Scherbaum <dertobi123@gentoo.org> clamav-0.88.ebuild:
 
  ppc stable, bug #118459
 

	
 
  10 Jan 2006; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.88.ebuild:
 
  Stable on sparc wrt #118459
 

	
 
  10 Jan 2006; Andrej Kacian <ticho@gentoo.org> clamav-0.88.ebuild:
 
  Stable on x86, security bug #118459.
 

	
 
  09 Jan 2006; Fernando J. Pereda <ferdy@gentoo.org> clamav-0.88.ebuild:
 
  Stable on alpha wrt bug #118459
 

	
 
*clamav-0.88 (09 Jan 2006)
 

	
 
  09 Jan 2006; Andrej Kacian <ticho@gentoo.org> +clamav-0.88.ebuild:
 
  Version bump.
 

	
 
  09 Nov 2005; Andrej Kacian <ticho@gentoo.org> files/clamd.rc,
 
  -files/clamd.rc.new, -clamav-0.86.2.ebuild, clamav-0.87.ebuild,
 
  clamav-0.87.1.ebuild:
 
  Removed older ebuild.
 

	
 
  06 Nov 2005; Simon Stelling <blubb@gentoo.org> clamav-0.87.1.ebuild:
 
  stable on amd64 wrt bug 109213
 

	
 
  06 Nov 2005; Michael Hanselmann <hansmi@gentoo.org> clamav-0.87.1.ebuild:
 
  Stable on hppa, ppc. See bug #109213.
 

	
 
  05 Nov 2005; Jose Luis Rivero <yoswink@gentoo.org> clamav-0.87.1.ebuild:
 
  Stable on alpha wrt security bug #109213
 

	
 
  04 Nov 2005; Brent Baude <ranger@gentoo.org> clamav-0.87.1.ebuild:
 
  Marking clamav-0.87.1 ppc64 stable for security bug 109213
 

	
 
  04 Nov 2005; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.87.1.ebuild:
 
  Stable on sparc wrt #109213
 

	
 
  03 Nov 2005; Andrej Kacian <ticho@gentoo.org> clamav-0.87.1.ebuild:
 
  Stable on x86, security bug #109213.
 

	
 
*clamav-0.87.1 (03 Nov 2005)
 

	
 
  03 Nov 2005; Andrej Kacian <ticho@gentoo.org> +clamav-0.87.1.ebuild:
 
  Version bump. Fixes security bug #109213.
 

	
 
  02 Oct 2005; Aron Griffis <agriffis@gentoo.org> ChangeLog:
 
  Mark 0.87 stable on ia64
 

	
 
  29 Sep 2005; Andrej Kacian <ticho@gentoo.org> files/clamd.rc,
 
  files/clamd.rc.new, clamav-0.86.2.ebuild:
 
  Improved config parsing from within the initscript, thanks to Georgi
 
  Georgiev <chutz at gg3.net>, bug #107362.
 

	
 
  18 Sep 2005; Markus Rothe <corsair@gentoo.org> clamav-0.87.ebuild:
 
  Stable on ppc64 (bug #106279)
 

	
 
  18 Sep 2005; Bryan Østergaard <kloeri@gentoo.org> clamav-0.87.ebuild:
 
  Stable on alpha, bug 106279.
 

	
 
  18 Sep 2005; Jason Wever <weeve@gentoo.org> clamav-0.87.ebuild:
 
  Stable on SPARC wrt security bug #106279.
 

	
 
  17 Sep 2005; Michael Hanselmann <hansmi@gentoo.org> clamav-0.87.ebuild:
 
  Stable on hppa and ppc.
 

	
 
  17 Sep 2005; Andrej Kacian <ticho@gentoo.org> clamav-0.87.ebuild:
 
  Stable on x86 and amd64, security bug #106279.
 

	
 
*clamav-0.87 (16 Sep 2005)
 

	
 
  16 Sep 2005; Andrej Kacian <ticho@gentoo.org> +clamav-0.87.ebuild:
 
  Version bump.
 

	
 
  16 Sep 2005; Andrea Barisani <lcars@gentoo.org> clamav-0.86.2.ebuild:
 
  Added timeout to MILTER_OPTS, bug #100980.
 

	
 
  08 Sep 2005; Andrej Kacian <ticho@gentoo.org> clamav-0.86.2.ebuild:
 
  Removed call to pwconv. Pointed out by Tobias Hahn <tobhahn at web.de>, bug
 
  #105278.
 

	
 
  23 Aug 2005; Andrej Kacian <ticho@gentoo.org> clamav-0.86.2.ebuild:
 
  Use -1 for shell argument to enewuser. Bug #103421.
 

	
 
  23 Aug 2005; Aron Griffis <agriffis@gentoo.org> clamav-0.86.2.ebuild:
 
  stable on ia64
 

	
 
  26 Jul 2005; Bryan Østergaard <kloeri@gentoo.org> clamav-0.86.2.ebuild:
 
  Stable on alpha, bug 100178.
 

	
 
  25 Jul 2005; Andrej Kacian <ticho@gentoo.org> clamav-0.86.2.ebuild:
 
  Stable on x86. (bug #100178)
 

	
 
  25 Jul 2005; Markus Rothe <corsair@gentoo.org> clamav-0.86.2.ebuild:
 
  Stable on ppc64 (bug #100178)
 

	
 
  25 Jul 2005; Tobias Scherbaum <dertobi123@gentoo.org>
 
  clamav-0.86.2.ebuild:
 
  ppc stable, bug #100178
 

	
 
  25 Jul 2005; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.86.2.ebuild:
 
  Stable on sparc wrt #100178
 

	
 
  25 Jul 2005; Herbie Hopkins <herbs@gentoo.org> clamav-0.86.2.ebuild:
 
  Stable on amd64 wrt bug #100178.
 

	
 
  25 Jul 2005; Rene Nussbaumer <killerfox@gentoo.org> clamav-0.86.2.ebuild:
 
  Stable on hppa. bug #100178
 

	
 
*clamav-0.86.2 (25 Jul 2005)
 

	
 
  25 Jul 2005; Andrej Kacian <ticho@gentoo.org> +clamav-0.86.2.ebuild:
 
  Version bump.
 

	
 
  24 Jun 2005; Rene Nussbaumer <killerfox@gentoo.org> clamav-0.86.1.ebuild:
 
  Stable on hppa. bug #96960
 

	
 
  24 Jun 2005; Bryan Østergaard <kloeri@gentoo.org> clamav-0.86.1.ebuild:
 
  Stable on alpha, bug 96960.
 

	
 
  24 Jun 2005; Markus Rothe <corsair@gentoo.org> clamav-0.86.1.ebuild:
 
  Stable on ppc64 (bug #96960)
 

	
 
  24 Jun 2005; Herbie Hopkins <herbs@gentoo.org> clamav-0.86.1.ebuild:
 
  Stable on amd64 wrt bug #96960.
 

	
 
  24 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> clamav-0.86.1.ebuild:
 
  Stable on ppc.
 

	
 
  24 Jun 2005; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.86.1.ebuild:
 
  Stable on sparc wrt #96960
 

	
 
  24 Jun 2005; Andrej Kacian <ticho@gentoo.org> clamav-0.86.1.ebuild:
 
  Stable on x86, due to security bug #96960.
 

	
 
*clamav-0.86.1 (23 Jun 2005)
 

	
 
  23 Jun 2005; Andrej Kacian <ticho@gentoo.org> +clamav-0.86.1.ebuild:
 
  Version bump.
 

	
 
*clamav-0.86 (21 Jun 2005)
 

	
 
  21 Jun 2005; Andrej Kacian <ticho@gentoo.org> -clamav-0.83.ebuild,
 
  -clamav-0.84.ebuild, clamav-0.85.1-r1.ebuild, -clamav-0.86_rc1.ebuild,
 
  +clamav-0.86.ebuild:
 
  Version bump. Backport solution for bug #96373 to 0.85.1-r1. Remove old
 
  ebuilds.
 

	
 
  18 Jun 2005; Andrej Kacian <ticho@gentoo.org> clamav-0.86_rc1.ebuild:
 
  Point clamav to correct sendmail binary if mailwrapper USE flag is enabled.
 
  Closes bug #96373, by Analyzer <subscribe2k at yandex.ru>. Also fix head
 
  syntax (fixheadtails.eclass) in configure.
 

	
 
  18 Jun 2005; Michael Hanselmann <hansmi@gentoo.org>
 
  clamav-0.85.1-r1.ebuild:
 
  Stable on ppc.
 

	
 
  15 Jun 2005; Fernando J. Pereda <ferdy@gentoo.org>
 
  clamav-0.85.1-r1.ebuild:
 
  Stable on alpha
 

	
 
  15 Jun 2005; Markus Rothe <corsair@gentoo.org> clamav-0.85.1-r1.ebuild:
 
  Stable on ppc64
 

	
 
  14 Jun 2005; Marcus D. Hanwell <cryos@gentoo.org>
 
  clamav-0.85.1-r1.ebuild:
 
  Stable on amd64.
 

	
 
*clamav-0.86_rc1 (14 Jun 2005)
 

	
 
  14 Jun 2005; Andrej Kacian <ticho@gentoo.org>
 
  -files/clamav-0.85.1-cvd-dir-traversal-fix.patch,
 
  -clamav-0.85.1-r2.ebuild, +clamav-0.86_rc1.ebuild:
 
  Version bump - a release candidate. Removed 0.85.1-r2, since the directory
 
  traversal fix is contained in this rc1.
 

	
 
*clamav-0.85.1-r2 (13 Jun 2005)
 

	
 
  13 Jun 2005; Andrej Kacian <ticho@gentoo.org>
 
  +files/clamav-0.85.1-cvd-dir-traversal-fix.patch,
 
  +clamav-0.85.1-r2.ebuild:
 
  Revision bump - patch to fix a possible directory traversal.
 

	
 
  08 Jun 2005; Rene Nussbaumer <killerfox@gentoo.org>
 
  clamav-0.85.1-r1.ebuild:
 
  Stable on hppa.
 

	
 
  08 Jun 2005; Gustavo Zacarias <gustavoz@gentoo.org>
 
  clamav-0.85.1-r1.ebuild:
 
  Stable on sparc
 

	
 
  06 Jun 2005; Andrej Kacian <ticho@gentoo.org> clamav-0.85.1-r1.ebuild:
 
  Stable on x86. Closes bug #87579 by Robert <gentoo at devrey.homelinux.com>.
 

	
 
  06 Jun 2005; Markus Rothe <corsair@gentoo.org> clamav-0.85.1.ebuild:
 
  Stable on ppc64
 

	
 
  31 May 2005; Rene Nussbaumer <killerfox@gentoo.org> clamav-0.85.1.ebuild:
 
  Stable on hppa.
 

	
 
  31 May 2005; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.85.1.ebuild:
 
  Stable on sparc
 

	
 
  30 May 2005; Andrej Kacian <ticho@gentoo.org> clamav-0.85.1.ebuild,
 
  clamav-0.85.1-r1.ebuild:
 
  Changed default value of START_MILTER to "yes" in conf.d file. 0.85.1 stable
 
  on x86.
 

	
 
*clamav-0.85.1-r1 (24 May 2005)
 

	
 
  24 May 2005; Andrej Kacian <ticho@gentoo.org>
 
  files/clamav-milter.README.gentoo, files/clamd.conf, files/clamd.rc.new,
 
  clamav-0.85.1.ebuild, +clamav-0.85.1-r1.ebuild:
 
  Improved functionality wrt clamav-milter and updated
 
  clamav-milter.README.gentoo. Thanks to Andrea Barisani <lcars at gentoo org>.
 

	
 
*clamav-0.85.1 (16 May 2005)
 

	
 
  16 May 2005; Andrej Kacian <ticho@gentoo.org> +clamav-0.85.1.ebuild:
 
  Version bump.
 

	
 
  16 May 2005; Andrej Kacian <ticho@gentoo.org> files/clamd.rc.new:
 
  Added "-d" to freshclam start options in the new initscript. Suggested by
 
  Phil Pennock <pdp at spodhuis demon nl>.
 

	
 
*clamav-0.85-r1 (14 May 2005)
 

	
 
  14 May 2005; Andrej Kacian <ticho@gentoo.org> files/clamd.conf,
 
  +files/clamd.rc.new, +clamav-0.85-r1.ebuild:
 
  Provide useful out-of-the-box default configuration (bugs #66905, reported
 
  by Steph L <linux4ibook@free.fr> and #86777, by Eero Volotinen
 
  <eero@pronics.com>). Change location of clamd socket, pidfiles and logfiles.
 
  (#70960 by Phil Pennock <gentoo@spodhuis.demon.nl>). Fixed initscript not to
 
  print error message when freshclam reports database is up-to-date (#58446,
 
  by Carsten Milkau <chat.noir@arcor.de>). Only use /etc/conf.d/clamd for
 
  START_* settings (fixes #59911, by caspar-gentoo-bugs@cbothmer.org). Fix
 
  configure options to use 'id' utility instead of /etc/passwd parsing
 
  (#72540, by Gudleik Rasch <gudleik@rastamatra.org>).
 

	
 
*clamav-0.85 (11 May 2005)
 

	
 
  11 May 2005; Andrej Kacian <ticho@gentoo.org> +clamav-0.85.ebuild:
 
  Version bump.
 

	
 
*clamav-0.84 (01 May 2005)
 

	
 
  01 May 2005; Andrej Kacian <ticho@gentoo.org>
 
  -files/clamav-0.82-MS05-002-false-positive-fix.patch,
 
  -clamav-0.75.1.ebuild, -clamav-0.80.ebuild, -clamav-0.81.ebuild,
 
  -clamav-0.82.ebuild, -clamav-0.82-r1.ebuild, clamav-0.83.ebuild,
 
  -clamav-0.84_rc1.ebuild, +clamav-0.84.ebuild:
 
  Version bump. Closes bug #90958, reported by djfunk <djfunk@free.fr>. Old
 
  ebuild cleanup (yay!). Use newinitd and newconfd in ebuilds.
 

	
 
  22 Apr 2005; Bryan Østergaard <kloeri@gentoo.org> clamav-0.84_rc1.ebuild:
 
  Add ~ia64 keyword.
 

	
 
  08 Apr 2005; Thomas Raschbacher <lordvan@gentoo.org> :
 
  new Version (release candidate) with some new features (see application
 
  ChangeLog)
 

	
 
  08 Apr 2005; Markus Rothe <corsair@gentoo.org> clamav-0.83.ebuild:
 
  Stable on ppc64
 

	
 
  31 Mar 2005; <blubb@gentoo.org> clamav-0.83.ebuild:
 
  stable on amd64
 

	
 
  27 Mar 2005; Michael Hanselmann <hansmi@gentoo.org> clamav-0.83.ebuild:
 
  Stable on ppc.
 

	
 
  20 Mar 2005; Bryan Østergaard <kloeri@gentoo.org> clamav-0.83.ebuild:
 
  Stable on alpha.
 

	
 
  13 Mar 2005; Guy Martin <gmsoft@gentoo.org> clamav-0.83.ebuild:
 
  Stable on hppa. clamav-0.83.ebuild
 

	
 
  12 Mar 2005; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.83.ebuild:
 
  Stable on sparc
 

	
 
  12 Mar 2005; Andrej Kacian <ticho@gentoo.org> clamav-0.83.ebuild:
 
  Stable on x86.
 

	
 
  10 Mar 2005; Andrej Kacian <ticho@gentoo.org> clamav-0.82-r1.ebuild,
 
  clamav-0.83.ebuild:
 
  Added dependency on net-dns/libidn. Closes #84700, reported by Travis Snoozy
 
  <ai2097@yahoo.com>.
 

	
 
  09 Mar 2005; Marcus D. Hanwell <cryos@gentoo.org> clamav-0.82-r1.ebuild:
 
  Marked stable on amd64.
 

	
 
  27 Feb 2005; Andrej Kacian <ticho@gentoo.org> clamav-0.83.ebuild:
 
  Fixed milter issue - added a conditional depend on mail-mta/sendmail, and a
 
  check for milter USE flag being enabled for sendmail. Closes #83477,
 
  reported by Drake Wyrm <bigwyrm@myrealbox.com>, who also suggested the fix.
 

	
 
  17 Feb 2005; Guy Martin <gmsoft@gentoo.org> clamav-0.82-r1.ebuild:
 
  Stable on hppa.
 

	
 
  14 Feb 2005; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.82-r1.ebuild:
 
  Stable on sparc wrt #81939
 

	
 
*clamav-0.83 (14 Feb 2005)
 

	
 
  14 Feb 2005; Andrej Kacian <ticho@gentoo.org> clamav-0.82-r1.ebuild,
 
  +clamav-0.83.ebuild:
 
  Version bump. Closes #81931, reported by Sascha Silbe
 
  <sascha-gentoo-bugzilla@silbe.org>. Marked 0.82-r1 stable.
 

	
 
*clamav-0.82-r1 (13 Feb 2005)
 

	
 
  13 Feb 2005; Andrej Kacian <ticho@gentoo.org>
 
  +files/clamav-0.82-MS05-002-false-positive-fix.patch,
 
  +clamav-0.82-r1.ebuild:
 
  Apply patch to prevent false positives. See bug #81477 for more info.
 
  Reported by Jakub Moc <jakub.moc@seznam.cz>.
 

	
 
  08 Feb 2005; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.82.ebuild:
 
  Stable on sparc
 

	
 
  08 Feb 2005; Andrej Kacian <ticho@gentoo.org> clamav-0.82.ebuild:
 
  Stable on x86.
 

	
 
*clamav-0.82 (08 Feb 2005)
 

	
 
  08 Feb 2005; Andrej Kacian <ticho@gentoo.org> +clamav-0.82.ebuild:
 
  Version bump. Closes #81075, reported by djfunk <djfunk@free.fr>.
 

	
 
  06 Feb 2005; Markus Rothe <corsair@gentoo.org> clamav-0.80.ebuild:
 
  Stable on ppc64
 

	
 
  30 Jan 2005; Bryan Østergaard <kloeri@gentoo.org> clamav-0.81.ebuild:
 
  Stable on alpha, bug 78656.
 

	
 
  28 Jan 2005; Michael Hanselmann <hansmi@gentoo.org> clamav-0.81.ebuild:
 
  Stable on ppc.
 

	
 
  28 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> clamav-0.81.ebuild:
 
  stable on amd64
 

	
 
  28 Jan 2005; Andrej Kacian <ticho@gentoo.org> -clamav-0.81_rc1.ebuild:
 
  Pulling rc ebuild out of the tree, because there's a full release already.
 

	
 
  27 Jan 2005; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.81.ebuild:
 
  Stable on sparc wrt #78656
 

	
 
  27 Jan 2005; Andrej Kacian <ticho@gentoo.org> clamav-0.81.ebuild:
 
  Stable on x86, wrt #78656. Depend on fixed version of zlib (#61749) and
 
  curl, according to configure.in.
 

	
 
*clamav-0.81 (27 Jan 2005)
 

	
 
  27 Jan 2005; Andrej Kacian <ticho@gentoo.org> files/clamd.rc,
 
  +clamav-0.81.ebuild:
 
  Version bump. Added "provide antivirus" to the initscript.
 

	
 
  26 Jan 2005; petre rodan <kaiowas@gentoo.org> clamav-0.75.1.ebuild,
 
  clamav-0.80.ebuild, clamav-0.81_rc1.ebuild:
 
  added selinux RDEPEND
 

	
 
*clamav-0.81_rc1 (25 Jan 2005)
 

	
 
  25 Jan 2005; Andrej Kacian <ticho@gentoo.org> +clamav-0.81_rc1.ebuild:
 
  Version bump. Closes #78796, reported by djfunk <djfunk@free.fr>.
 

	
 
  25 Jan 2005; Thomas Raschbacher <lordvan@gentoo.org> files/clamd.rc:
 
  changed init script dependency from 'need net' to 'use net'. fixes bug
 
  #76022, thanks to Thomas Bettler <bettlertho@sis.unibe.ch> for pointing this
 
  out
 

	
 
  19 Jan 2005; Joshua Kinard <kumba@gentoo.org> clamav-0.75.1.ebuild:
 
  Untested on mips, someone wasn't paying attention when they added the mips
 
  keyword in the first place. Removing until we get user or some other
 
  verification that it works.
 

	
 
  28 Dec 2004; Markus Rothe <corsair@gentoo.org> clamav-0.80.ebuild:
 
  Added ~ppc64 to KEYWORDS
 

	
 
  28 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
 
  Change encoding to UTF-8 for GLEP 31 compliance
 

	
 
  11 Dec 2004; Bryan Østergaard <kloeri@gentoo.org> clamav-0.80.ebuild:
 
  ~alpha keyword.
 

	
 
  30 Nov 2004; Guy Martin <gmsoft@gentoo.org> clamav-0.80.ebuild:
 
  Stable on hppa.
 

	
 
  15 Nov 2004; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.80.ebuild:
 
  Stable on sparc
 

	
 
  13 Nov 2004; Tom Martin <slarti@gentoo.org> clamav-0.80.ebuild:
 
  Stable on amd64.
 

	
 
*clamav-0.80_rc3 (13 Nov 2004)
 

	
 
  13 Nov 2004; Andrej Kacian <ticho@gentoo.org> -clamav-0.80_rc3.ebuild:
 
  Removed 0.80_rc3.
 

	
 
  13 Nov 2004; Andrej Kacian <ticho@gentoo.org> clamav-0.80.ebuild:
 
  Stable on x86.
 

	
 
  23 Oct 2004; Tom Martin <slarti@gentoo.org> clamav-0.80.ebuild:
 
  Marked ~amd64, see bug 68633.
 

	
 
  18 Oct 2004; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.80.ebuild:
 
  Keyworded ~sparc wrt #58960
 

	
 
  18 Oct 2004; Andrej Kacian <ticho@gentoo.org> clamav-0.80.ebuild:
 
  Added postinstall warning about config file name change.
 

	
 
*clamav-0.80 (17 Oct 2004)
 

	
 
  17 Oct 2004; Andrej Kacian <ticho@gentoo.org> +clamav-0.80.ebuild:
 
  Version bump. Closes #67907, reported by djfunk <djfunk@free.fr>.
 

	
 
  08 Oct 2004; Thomas Raschbacher <lordvan@gentoo.org> clamav-0.67.ebuild,
 
  clamav-0.68.1.ebuild, clamav-0.70.ebuild, clamav-0.71.ebuild,
 
  clamav-0.72.ebuild, clamav-0.73.ebuild, clamav-0.74.ebuild,
 
  clamav-0.75.ebuild:
 
  cleaned out old versions and added 0.80_rc3
 
  Bug #58960 (thanks to all testers)
 

	
 
  05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> clamav-0.75.ebuild:
 
  Masked clamav-0.75.ebuild stable for ppc
 

	
 
  09 Aug 2004; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.75.1.ebuild:
 
  Stable on sparc wrt #58960
 

	
 
  09 Aug 2004; Guy Martin <gmsoft@gentoo.org> clamav-0.75.1.ebuild:
 
  Stable on hppa.
 

	
 
  07 Aug 2004; <agriffis@gentoo.org> clamav-0.75.1.ebuild:
 
  stable on alpha and ia64 #58960
 

	
 
  04 Aug 2004; Jeremy Huddleston <eradicator@gentoo.org> files/clamd.rc:
 
  Fixed missing { in init script.
 

	
 
  03 Aug 2004; Tom Martin <slarti@gentoo.org> :
 
  Marked stable on ~amd64, see bug 58960.
 

	
 
*clamav-0.75.1 (30 Jul 2004)
 

	
 
  30 Jul 2004; Thomas Raschbacher <lordvan@gentoo.org> clamav-0.75.1.ebuild, files/clamd.rc:
 
  fixed bug in clamd.rc (thanks to Pavel Riha <Pavel.Riha@trilogic.cz> )
 
  new version
 
  marked 0.75 stable x86
 

	
 
*clamav-0.75 (23 Jul 2004)
 

	
 
  23 Jul 2004; Thomas Raschbacher <lordvan@gentoo.org> clamav-0.75.ebuild:
 
  new version
 

	
 
*clamav-0.74 (06 Jul 2004)
 

	
 
  06 Jul 2004; Thomas Raschbacher <lordvan@gentoo.org> +clamav-0.74.ebuild:
 
  new version
 

	
 
*clamav-0.73 (14 Jun 2004)
 

	
 
  14 Jun 2004; Thomas Raschbacher <lordvan@gentoo.org> +clamav-0.73.ebuild:
 
  new version 0.73 added
 

	
 
  10 Jun 2004; Thomas Raschbacher <lordvan@gentoo.org> clamav-0.67.ebuild,
 
  clamav-0.68.1.ebuild, clamav-0.70.ebuild, clamav-0.71.ebuild,
 
  clamav-0.72.ebuild:
 
  added warning to pkg_postinst regarding restarting the daemons.
 
  fixes bug #50772, thanks to Remco Barendse <remco@vaag.nu>
 

	
 
*clamav-0.72 (03 Jun 2004)
 

	
 
  03 Jun 2004; Thomas Raschbacher <lordvan@gentoo.org> +clamav-0.72.ebuild:
 
  version bump
 

	
 
*clamav-0.71 (29 May 2004)
 

	
 
  29 May 2004; Robin H. Johnson <robbat2@gentoo.org> clamav-0.67.ebuild,
 
  clamav-0.68.1.ebuild, clamav-0.70.ebuild, clamav-0.71.ebuild, metadata.xml,
 
  files/clamav-milter.README.gentoo, files/clamd.conf, files/clamd.rc:
 
  move net-mail/clamav app-antivirus/clamav
 

	
 
*clamav-0.71 (19 May 2004)
 

	
 
  19 May 2004; Thomas Raschbacher <lordvan@gentoo.org> +clamav-0.71.ebuild:
 
  version bump (see application ChangeLog for changes)
 

	
 
  10 May 2004; Jeremy Huddleston <eradicator@gentoo.org> files/clamd.rc:
 
  Fixed socket detection in startup script to properly use -S.
 

	
 
  04 May 2004; Luca Barbato <lu_zero@gentoo.org> clamav-0.70.ebuild:
 
  Marked ppc
 

	
 
  30 Apr 2004; Bryan Østergaard <kloeri@gentoo.org> clamav-0.70.ebuild:
 
  Stable on alpha.
 

	
 
  29 Apr 2004; Jason Wever <weeve@gentoo.org> clamav-0.70.ebuild:
 
  Stable on sparc wrt bug #46264.
 

	
 
  29 Apr 2004; Thomas Raschbacher <lordvan@gentoo.org> clamav-0.68.ebuild,
 
  clamav-0.70_rc.ebuild:
 
  Marked clamav-0.70 stable x86
 
  Removed clamav-0.68 because of RAR bug
 
  Removed clamav-0.70_rc
 

	
 
  29 Apr 2004; Guy Martin <gmsoft@gentoo.org> clamav-0.70.ebuild:
 
  Marked stable on hppa for bug #46264.
 

	
 
  21 Apr 2004; Guy Martin <gmsoft@gentoo.org> clamav-0.68.1.ebuild:
 
  Marked stable on hppa.
 

	
 
*clamav-0.70 (17 Apr 2004)
 

	
 
  17 Apr 2004; Thomas Raschbacher <lordvan@gentoo.org> clamav-0.70.ebuild:
 
  version bump (lots of changes; see the application ChangeLog/Webpage)
 

	
 
  07 Apr 2004; Seemant Kulleen <seemant@gentoo.org> clamav-0.68.1.ebuild:
 
  stabled on x86, thanks for testing todd
 

	
 
  03 Apr 2004; Lars Weiler <pylon@gentoo.org> clamav-0.68.1.ebuild:
 
  stable on ppc as requested in bug #45357
 

	
 
  30 Mar 2004; Aron Griffis <agriffis@gentoo.org> clamav-0.68.1.ebuild:
 
  Stable on alpha and ia64 for bug 45357
 

	
 
  30 Mar 2004; Thomas Raschbacher <lordvan@gentoo.org> clamav-0.68.1.ebuild,
 
  clamav-0.68.ebuild, clamav-0.70_rc.ebuild:
 
  added depend for dev-libs/gmp when crypt is in USE
 

	
 
*clamav-0.68.1 (29 Mar 2004)
 

	
 
  29 Mar 2004; Thomas Raschbacher <lordvan@gentoo.org> clamav-0.68.1.ebuild:
 
  version bump (0.68-1); Bugzilla Bug #45357
 
	
 
  26 Mar 2004; Jason Wever <weeve@gentoo.org> clamav-0.68.ebuild:
 
  Marked stable on sparc wrt bug #45357.
 

	
 
  26 Mar 2004; Jon Portnoy <avenj@gentoo.org> clamav-0.68.ebuild :
 
  Stable on AMD64.
 

	
 
*clamav-0.68 (26 Mar 2004)
 

	
 
  26 Mar 2004; <solar@gentoo.org> clamav-0.68.ebuild:
 
  DoS vulnerability with processing of RAR archives. Bugzilla Bug #45357
 

	
 
*clamav-0.70_rc (21 Mar 2004)
 

	
 
  21 Mar 2004; Thomas Raschbacher <lordvan@gentoo.org> clamav-0.70_rc.ebuild:
 
  version bump (~arch)
 
	
 
  21 Feb 2004; Hanno Boeck <hanno@gentoo.org> clamav-0.54-r1.ebuild,
 
  clamav-0.60-r1.ebuild, clamav-0.60.ebuild, clamav-0.65.ebuild:
 
  Removing all old ebuilds with security bugs.
 

	
 
  17 Feb 2004; Aron Griffis <agriffis@gentoo.org> clamav-0.67.ebuild:
 
  stable on alpha and ia64
 

	
 
  16 Feb 2004; Jason Wever <weeve@gentoo.org> clamav-0.67.ebuild:
 
  Marked stable on sparc, fixes bug #41248.
 

	
 
*clamav-0.67 (17 Feb 2004)
 

	
 
  17 Feb 2004; Hanno Boeck <hanno@gentoo.org> clamav-0.67.ebuild:
 
  Version bump.
 

	
 
  22 Jan 2004; Hanno Boeck <hanno@gentoo.org> files/clamd.rc:
 
  Some fixes to the init.d-script.
 

	
 
*clamav-0.65 (20 Jan 2004)
 

	
 
  20 Jan 2004; Hanno Boeck <hanno@gentoo.org> clamav-0.65.ebuild:
 
  Version bump. Fixed download location and made it FHS-compilant.
 

	
 
  16 Jan 2004; Bartosch Pixa <darkspecter@gentoo.org> clamav-0.60.ebuild:
 
  set ppc in keywords
 

	
 
  14 Dec 2003; <spider@gentoo.org> files/clamd.rc:
 
  QA: fixing chown user.group to user:group, bug #35127
 

	
 
*clamav-0.60-r1 (27 Oct 2003)
 

	
 
  27 Oct 2003; Nick Hadaway <raker@gentoo.org> clamav-0.60-r1.ebuild:
 
  Added support for the milter use flag which builds clamav-milter.
 
  Associated docs coming soon.
 

	
 
  07 Oct 2003; Markus Nigbur <pyrania@gentoo.org> clamav-0.54-r1.ebuild,
 
  clamav-0.60.ebuild:
 
  Changed SRC_URI to sourceforge.
 

	
 
  06 Sep 2003; Jason Wever <weeve@gentoo.org> clamav-0.60.ebuild:
 
  Marked stable on sparc.
 

	
 
*clamav-0.60 (19 Apr 2003)
 

	
 
  27 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
 
  Filtered out large file support on glibc-2.2.x since it breaks.
 

	
 
  19 Apr 2003; Preston A. Elder <prez@gentoo.org> clamav-0.60.ebuild,
 
  files/digest-clamav-0.60:
 
  Version bump
 

	
 
*clamav-0.54-r1 (19 Apr 2003)
 

	
 
  27 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
 
  Filtered out large file support on glibc-2.2.x since it breaks.
 

	
 
  24 Apr 2003; Mike Frysinger <vapier@gentoo.org> :
 
  Redid user/group addition since the last version was wrong
 

	
 
  19 Apr 2003; Preston A. Elder <prez@gentoo.org> clamav-0.54-r1.ebuild:
 
  Made ebuild provide virtual/virus
 

	
 
  19 Apr 2003; Preston A. Elder <prez@gentoo.org> clamav-0.54-r1.ebuild,
 
  files/digest-clamav-0.54 files/clamd.rc files/clamd.conf:
 
  Automated user/group adding
 

	
 
*clamav-0.54 (03 Feb 2003)
 

	
 
  03 Feb 2003; Nick Hadaway <raker@gentoo.org> clamav-0.54.ebuild,
 
  files/digest-clamav-0.54 :
 
  Ebuild suggested by Pavel Tcholakov on bug #14580.  I have a funny
 
  feeling we are going to need an app-virus category soon.
app-antivirus/clamav/Manifest
Show inline comments
 
new file 100644
 
AUX clamav-0.94.1-buildfix.patch 845 RMD160 c3b0b524fc5822bb5b50057238e6efdac65efc23 SHA1 890a629a392ed12bad773c2e87c2c043a07048cc SHA256 2e5c90a4ec9f0a0d8667fda620184d336100895c4ef89157ad7e304c6419a214
 
AUX clamav-0.94.1-nls.patch 2429 RMD160 1c2b7a0dcbe3efde5e31f10f49ccdc0283be77e0 SHA1 aedf5fe6546125a5c99d7f488b816fb52bba2387 SHA256 a52a079c12f67569784766aaaf85e77edc3d6083d5a8a689813f4b8384739785
 
AUX clamav-0.94.1rc1-buildfix.patch 837 RMD160 84b017372cf79abb1ef7f32cdb5a52243472a420 SHA1 02c2b58d030097e91e1f3227e2a919d1a8e4afbe SHA256 8b68c3743b6db80367b778f1c6ec290f0b5e46ed08b62e291bc4d62a5f4ad96a
 
AUX clamav-0.94.1rc1-nls.patch 2441 RMD160 67dc09f2dcb4bffcb7109375dce6c4ab377f1867 SHA1 7f407d3b4aab356a014fb2e7638213aa25f6d1f6 SHA256 cd81a3a0e0e39adc5a1a0d8e3e06803fb8de7e8c62cb50ae504ff3ef8a748b6f
 
AUX clamav-milter.README.gentoo 1124 RMD160 4fb1e2d9b444874838bcea1071969ca6862fb15b SHA1 0b9b86a0e7732eaaf7f880859265754f7a4efd3a SHA256 5e7b142b68964bc3463b077e5698fa77cace45ea9612258b1e1849cee944dd11
 
AUX clamav.logrotate 355 RMD160 f59cd8ce96da8210aa858ee59ee3b6940e3253a6 SHA1 5fbd9364997400681d5a93cb50cac8a0f188e56f SHA256 ab91f784d5098d2162be9277e3a006bdb392d9d89975838ad4ac7dfd8b418170
 
AUX clamd.conf 234 RMD160 b517b05e587637cbdd443f7ca3625d582e32722f SHA1 564b1e2f6cf85567f69f2e20cbc942967fa6304b SHA256 17bf4fe3596dc5b145e4163d85181e2edcaa214df3cf9072d852ba0e7a569891
 
AUX clamd.rc 3686 RMD160 0298ad54c13bb2c9d2e667270546308dbc581d7d SHA1 22299bf3a4812afbf45b792c55bc31c552fe12df SHA256 0f68262e6c55883d2f32cfdbbfeb33f64fc9c4bf019f59ae6b7bc864fa2d346c
 
AUX lib-ld.m4 3417 RMD160 7b412510e7ef9966f70ed29937e3556283128a9b SHA1 8b72b8f5f76e41e4ca0f2521c06c568490894a84 SHA256 18c4c458009da32c9daf0ea332a539e5edc82ba009b6c2faac004626313f00e5
 
DIST clamav-0.94.1.tar.gz 21817818 RMD160 268d3b4b00c208f8a9aa3bfaa430eb8d22a4bf33 SHA1 8eed11eb68dc6cb15d4bb12de034a4252dc09373 SHA256 15cd3f5ed349f736b9926dd118d0b8edda7d58fe1f73118d4ffd21b3016f5dea
 
DIST clamav-0.94.1rc1.tar.gz 21534700 RMD160 b837748d2e6ef6cc052b386ae326945d8538d0b1 SHA1 01c6a6c7c3bde28948e5e57b6e23939b4b5c742f SHA256 c8aa6ca9fce67ebc5dceb8bc3370132f46cd20d2d0e069882f6b7c25ef44299e
 
EBUILD clamav-0.94.1.ebuild 5202 RMD160 85fd7e173279ed5ba1a17fdd5eca676df4bdd67b SHA1 c82514dd80e069e48d5b83554f9f992fc70d421d SHA256 468ca49d489eee3404f1dde9a253ebaf2772cdec16de14148a521e6f2a96fcc3
 
EBUILD clamav-0.94.1_rc1.ebuild 5224 RMD160 238d34f317d975ea0270e2a6044eb23587f46f8f SHA1 e70b16fc96f1693ee5c61bcc21dbef364a441bf1 SHA256 d37a4d336e6fec5d6bdcb22783316278a7926cb72585a764facb4018a3fa94c6
 
MISC ChangeLog 46988 RMD160 e876395945075dc49b16db0f0d2d4f0d86bb83fa SHA1 8482fbd8b7480b32616265d18fd45557e4caebc5 SHA256 3f400d8adbd5919d969d5893bc64214c21cf2b5b84b0bc67f927c2675562c472
 
MISC metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 SHA1 cc0a188d9ad2411e78747326c62dd046bd5413c8 SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58
app-antivirus/clamav/clamav-0.94.1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.94.ebuild,v 1.10 2008/09/13 22:48:04 dertobi123 Exp $
 

	
 
inherit autotools eutils flag-o-matic fixheadtails multilib versionator
 

	
 
# for when rc1 is appended to release candidates:
 
MY_PV=$(replace_version_separator 3 '');
 
MY_P="${PN}-${MY_PV}"
 
S="${WORKDIR}/${MY_P}"
 

	
 
DESCRIPTION="Clam Anti-Virus Scanner"
 
HOMEPAGE="http://www.clamav.net/"
 
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
 
IUSE="bzip2 crypt iconv mailwrapper milter nls selinux test ipv6"
 

	
 
COMMON_DEPEND="bzip2? ( app-arch/bzip2 )
 
	crypt? ( >=dev-libs/gmp-4.1.2 )
 
	milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
 
	iconv? ( virtual/libiconv )
 
	nls? ( sys-devel/gettext )
 
	dev-libs/gmp
 
	>=sys-libs/zlib-1.2.1-r3
 
	>=sys-apps/sed-4"
 

	
 
DEPEND="${COMMON_DEPEND}
 
	dev-util/pkgconfig
 
	test? ( dev-libs/check dev-util/duma dev-util/valgrind >sys-apps/sandbox-1.2 )"
 

	
 
RDEPEND="${COMMON_DEPEND}
 
	selinux? ( sec-policy/selinux-clamav )
 
	sys-apps/grep"
 

	
 
PROVIDE="virtual/antivirus"
 

	
 
pkg_setup() {
 
	if use milter; then
 
		if [ ! -e /usr/$(get_libdir)/libmilter.a ] ; then
 
			ewarn "In order to enable milter support, clamav needs sendmail with enabled milter"
 
			ewarn "USE flag, or mail-filter/libmilter package."
 
		fi
 
	fi
 

	
 
	enewgroup clamav
 
	enewuser clamav -1 -1 /dev/null clamav
 
}
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 
	# This newer version of ClamAV packages libtool.m4 and lt*.m4 in m4,
 
	# while previous versions did not.
 
	# Since autoreconf invokes libtoolize, a different version of ltmain.sh that doesn't
 
	# match up with the version of the *.m4 files gets thrown into this directory.
 
	# This problem showed up for me in the packages libtool's use of $ECHO while my
 
	# system's libtool's instead used $echo internally, and the .m4 file provides the value of
 
	# $echo or $ECHO.
 
	einfo "removing possibly incompatible libtool-related m4 files"
 
	rm m4/libtool.m4 m4/lt*.m4 || die "unable to remove possibly incompatible libtool-related m4 files"
 
	epatch "${FILESDIR}"/${MY_P}-buildfix.patch
 
	epatch "${FILESDIR}"/${MY_P}-nls.patch
 

	
 
	# If nls flag is disabled, gettext may not be available, but eautoreconf
 
	# needs this file (bug #218892).
 
	use nls || cp "${FILESDIR}"/lib-ld.m4 m4/
 

	
 
	AT_M4DIR="m4" eautoreconf
 
}
 

	
 
src_compile() {
 
	has_version =sys-libs/glibc-2.2* && filter-lfs-flags
 

	
 
	local myconf
 

	
 
	# we depend on fixed zlib, so we can disable this check to prevent redundant
 
	# warning (bug #61749)
 
	myconf="${myconf} --disable-zlib-vcheck"
 
	# use id utility instead of /etc/passwd parsing (bug #72540)
 
	myconf="${myconf} --enable-id-check"
 
	use milter && {
 
		myconf="${myconf} --enable-milter"
 
		use mailwrapper && \
 
			myconf="${myconf} --with-sendmail=/usr/sbin/sendmail.sendmail"
 
	}
 

	
 
	ht_fix_file configure
 
	econf ${myconf} \
 
		$(use_enable bzip2) \
 
		$(use_enable nls) \
 
		$(use_enable ipv6) \
 
		$(use_with iconv) \
 
		--disable-experimental \
 
		--with-dbdir=/var/lib/clamav || die
 
	emake || die
 
}
 

	
 
src_install() {
 
	make DESTDIR="${D}" install || die
 
	dodoc AUTHORS BUGS NEWS README ChangeLog FAQ
 
	newconfd "${FILESDIR}"/clamd.conf clamd
 
	newinitd "${FILESDIR}"/clamd.rc clamd
 
	dodoc "${FILESDIR}"/clamav-milter.README.gentoo
 

	
 
	dodir /var/run/clamav
 
	keepdir /var/run/clamav
 
	fowners clamav:clamav /var/run/clamav
 
	dodir /var/log/clamav
 
	keepdir /var/log/clamav
 
	fowners clamav:clamav /var/log/clamav
 

	
 
	# Change /etc/clamd.conf to be usable out of the box
 
	sed -i -e "s:^\(Example\):\# \1:" \
 
		-e "s:.*\(PidFile\) .*:\1 /var/run/clamav/clamd.pid:" \
 
		-e "s:.*\(LocalSocket\) .*:\1 /var/run/clamav/clamd.sock:" \
 
		-e "s:.*\(User\) .*:\1 clamav:" \
 
		-e "s:^\#\(LogFile\) .*:\1 /var/log/clamav/clamd.log:" \
 
		-e "s:^\#\(LogTime\).*:\1 yes:" \
 
		-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
 
		"${D}"/etc/clamd.conf
 

	
 
	# Do the same for /etc/freshclam.conf
 
	sed -i -e "s:^\(Example\):\# \1:" \
 
		-e "s:.*\(PidFile\) .*:\1 /var/run/clamav/freshclam.pid:" \
 
		-e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
 
		-e "s:^\#\(UpdateLogFile\) .*:\1 /var/log/clamav/freshclam.log:" \
 
		-e "s:^\#\(NotifyClamd\).*:\1 /etc/clamd.conf:" \
 
		-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
 
		-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
 
		"${D}"/etc/freshclam.conf
 

	
 
	if use milter ; then
 
		echo "
 
START_MILTER=no
 
MILTER_NICELEVEL=19" \
 
			>> "${D}"/etc/conf.d/clamd
 
		echo "MILTER_SOCKET=\"/var/run/clamav/clmilter.sock\"" \
 
			>>"${D}"/etc/conf.d/clamd
 
		echo "MILTER_OPTS=\"-m 10 --timeout=0\"" \
 
			>>"${D}"/etc/conf.d/clamd
 
	fi
 

	
 
	diropts ""
 
	dodir /etc/logrotate.d
 
	insopts -m0644
 
	insinto /etc/logrotate.d
 
	newins "${FILESDIR}"/${PN}.logrotate ${PN}
 
}
 

	
 
pkg_postinst() {
 
	echo
 
	if use milter ; then
 
		elog "For simple instructions how to setup the clamav-milter"
 
		elog "read /usr/share/doc/${PF}/clamav-milter.README.gentoo.gz"
 
		echo
 
	fi
 
	ewarn "The soname for libclamav has changed in clamav-0.94."
 
	ewarn "If you have upgraded from that or earlier version, it is"
 
	ewarn "recommended to run revdep-rebuild, in order to fix anything"
 
	ewarn "that links against libclamav.so library."
 
	echo
 
}
app-antivirus/clamav/clamav-0.94.1_rc1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.94.ebuild,v 1.10 2008/09/13 22:48:04 dertobi123 Exp $
 

	
 
inherit autotools eutils flag-o-matic fixheadtails multilib versionator
 

	
 
# for when rc1 is appended to release candidates:
 
MY_PV=$(replace_version_separator 3 '');
 
MY_P="${PN}-${MY_PV}"
 
S="${WORKDIR}/${MY_P}"
 

	
 
DESCRIPTION="Clam Anti-Virus Scanner"
 
HOMEPAGE="http://www.clamav.net/"
 
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
 
IUSE="bzip2 crypt iconv mailwrapper milter nls selinux test ipv6"
 

	
 
COMMON_DEPEND="bzip2? ( app-arch/bzip2 )
 
	crypt? ( >=dev-libs/gmp-4.1.2 )
 
	milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
 
	iconv? ( virtual/libiconv )
 
	nls? ( sys-devel/gettext )
 
	dev-libs/gmp
 
	>=sys-libs/zlib-1.2.1-r3
 
	>=sys-apps/sed-4"
 

	
 
DEPEND="${COMMON_DEPEND}
 
	dev-util/pkgconfig
 
	test? ( dev-libs/check dev-util/duma dev-util/valgrind )"
 

	
 
RDEPEND="${COMMON_DEPEND}
 
	selinux? ( sec-policy/selinux-clamav )
 
	sys-apps/grep"
 

	
 
PROVIDE="virtual/antivirus"
 

	
 
pkg_setup() {
 
	if use milter; then
 
		if [ ! -e /usr/$(get_libdir)/libmilter.a ] ; then
 
			ewarn "In order to enable milter support, clamav needs sendmail with enabled milter"
 
			ewarn "USE flag, or mail-filter/libmilter package."
 
		fi
 
	fi
 

	
 
	enewgroup clamav
 
	enewuser clamav -1 -1 /dev/null clamav
 
}
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 
	# This newer version of ClamAV packages libtool.m4 and lt*.m4 in m4,
 
	# while previous versions did not.
 
	# Since autoreconf invokes libtoolize, a different version of ltmain.sh that doesn't
 
	# match up with the version of the *.m4 files gets thrown into this directory.
 
	# This problem showed up for me in the packages libtool's use of $ECHO while my
 
	# system's libtool's instead used $echo internally, and the .m4 file provides the value of
 
	# $echo or $ECHO.
 
	einfo "removing possibly incompatible libtool-related m4 files"
 
	rm m4/libtool.m4 m4/lt*.m4 || die "unable to remove possibly incompatible libtool-related m4 files"
 
	epatch "${FILESDIR}"/${MY_P}-buildfix.patch
 
	epatch "${FILESDIR}"/${MY_P}-nls.patch
 

	
 
	# If nls flag is disabled, gettext may not be available, but eautoreconf
 
	# needs this file (bug #218892).
 
	use nls || cp "${FILESDIR}"/lib-ld.m4 m4/
 

	
 
	AT_M4DIR="m4" eautoreconf
 
}
 

	
 
src_compile() {
 
	has_version =sys-libs/glibc-2.2* && filter-lfs-flags
 

	
 
	local myconf
 

	
 
	# we depend on fixed zlib, so we can disable this check to prevent redundant
 
	# warning (bug #61749)
 
	myconf="${myconf} --disable-zlib-vcheck"
 
	# use id utility instead of /etc/passwd parsing (bug #72540)
 
	myconf="${myconf} --enable-id-check"
 
	use milter && {
 
		myconf="${myconf} --enable-milter"
 
		use mailwrapper && \
 
			myconf="${myconf} --with-sendmail=/usr/sbin/sendmail.sendmail"
 
	}
 

	
 
	ht_fix_file configure
 
	econf ${myconf} \
 
		$(use_enable bzip2) \
 
		$(use_enable nls) \
 
		$(use_enable ipv6) \
 
		$(use_with iconv) \
 
		--disable-experimental \
 
		--with-dbdir=/var/lib/clamav || die
 
	emake || die
 
}
 

	
 
src_install() {
 
	make DESTDIR="${D}" install || die
 
	dodoc AUTHORS BUGS NEWS README ChangeLog FAQ
 
	newconfd "${FILESDIR}"/clamd.conf clamd
 
	newinitd "${FILESDIR}"/clamd.rc clamd
 
	dodoc "${FILESDIR}"/clamav-milter.README.gentoo
 

	
 
	dodir /var/run/clamav
 
	keepdir /var/run/clamav
 
	fowners clamav:clamav /var/run/clamav
 
	dodir /var/log/clamav
 
	keepdir /var/log/clamav
 
	fowners clamav:clamav /var/log/clamav
 

	
 
	# Change /etc/clamd.conf to be usable out of the box
 
	sed -i -e "s:^\(Example\):\# \1:" \
 
		-e "s:.*\(PidFile\) .*:\1 /var/run/clamav/clamd.pid:" \
 
		-e "s:.*\(LocalSocket\) .*:\1 /var/run/clamav/clamd.sock:" \
 
		-e "s:.*\(User\) .*:\1 clamav:" \
 
		-e "s:^\#\(LogFile\) .*:\1 /var/log/clamav/clamd.log:" \
 
		-e "s:^\#\(LogTime\).*:\1 yes:" \
 
		-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
 
		"${D}"/etc/clamd.conf
 

	
 
	# Do the same for /etc/freshclam.conf
 
	sed -i -e "s:^\(Example\):\# \1:" \
 
		-e "s:.*\(PidFile\) .*:\1 /var/run/clamav/freshclam.pid:" \
 
		-e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
 
		-e "s:^\#\(UpdateLogFile\) .*:\1 /var/log/clamav/freshclam.log:" \
 
		-e "s:^\#\(NotifyClamd\).*:\1 /etc/clamd.conf:" \
 
		-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
 
		-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
 
		"${D}"/etc/freshclam.conf
 

	
 
	if use milter ; then
 
		echo "
 
START_MILTER=no
 
MILTER_NICELEVEL=19" \
 
			>> "${D}"/etc/conf.d/clamd
 
		echo "MILTER_SOCKET=\"/var/run/clamav/clmilter.sock\"" \
 
			>>"${D}"/etc/conf.d/clamd
 
		echo "MILTER_OPTS=\"-m 10 --timeout=0\"" \
 
			>>"${D}"/etc/conf.d/clamd
 
	fi
 

	
 
	diropts ""
 
	dodir /etc/logrotate.d
 
	insopts -m0644
 
	insinto /etc/logrotate.d
 
	newins "${FILESDIR}"/${PN}.logrotate ${PN}
 
}
 

	
 
pkg_postinst() {
 
	echo
 
	if use milter ; then
 
		elog "For simple instructions how to setup the clamav-milter"
 
		elog "read /usr/share/doc/${PF}/clamav-milter.README.gentoo.gz"
 
		echo
 
	fi
 
	ewarn "The soname for libclamav has changed in clamav-0.94."
 
	ewarn "If you have upgraded from that or earlier version, it is"
 
	ewarn "recommended to run revdep-rebuild, in order to fix anything"
 
	ewarn "that links against libclamav.so library."
 
	echo
 
}
app-antivirus/clamav/files/clamav-0.94.1-buildfix.patch
Show inline comments
 
new file 100644
 
diff -Naur clamav-0.94.orig/configure.in clamav-0.94.1rc1/configure.in
 
--- clamav-0.94.orig/configure.in	2008-09-01 20:41:06.000000000 +0200
 
+++ clamav-0.94.1/configure.in	2008-09-05 21:09:41.201851168 +0200
 
@@ -556,7 +556,7 @@
 
 
 
 	case "$ac_cv_c_cve_2008_1372" in
 
 	ok|bugged|linkfailed)
 
-		LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS $LTLIBBZ2"
 
+		LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS  -lbz2"
 
 		AC_DEFINE([HAVE_BZLIB_H],1,[have bzip2])
 
 		;;
 
 	*)
 
@@ -566,7 +566,7 @@
 
     dnl we don't need to check for __gmpz_init and mpz_init,
 
     dnl since we are not checking directly for symbols
 
     if test "$HAVE_LIBGMP" = "yes"; then
 
-	    LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS $LTLIBGMP";
 
+	    LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -lgmp";
 
     else
 
 	    AC_MSG_WARN([****** GNU MP 2 or newer NOT FOUND - digital signature support will be disabled !]);
 
 	    want_dsig="no";
app-antivirus/clamav/files/clamav-0.94.1-nls.patch
Show inline comments
 
new file 100644
 
diff -Naur clamav-0.94.orig/clamav-milter/clamav-milter.c clamav-0.94.1rc1/clamav-milter/clamav-milter.c
 
--- clamav-0.94.1.orig/clamav-milter/clamav-milter.c	2008-09-01 19:19:44.000000000 +0200
 
+++ clamav-0.94.1/clamav-milter/clamav-milter.c	2008-09-05 21:16:03.507610741 +0200
 
@@ -110,6 +110,7 @@
 
 
 
 #ifdef	C_LINUX
 
 #include <sys/sendfile.h>	/* FIXME: use sendfile on BSD not Linux */
 
+#ifdef ENABLE_NLS
 
 #include <libintl.h>
 
 #include <locale.h>
 
 
 
@@ -122,7 +123,8 @@
 
 #define	_(s)	s
 
 #define	N_(s)	s
 
 
 
-#endif
 
+#endif /* ENABLE_NLS */
 
+#endif /* C_LINUX */
 
 
 
 #ifdef	USE_SYSLOG
 
 #include <syslog.h>
 
@@ -771,7 +773,7 @@
 
 	else
 
 		progname = "clamav-milter";
 
 
 
-#ifdef	C_LINUX
 
+#ifdef	ENABLE_NLS
 
 	setlocale(LC_ALL, "");
 
 	bindtextdomain(progname, DATADIR"/clamav-milter/locale");
 
 	textdomain(progname);
 
diff -Naur clamav-0.94.orig/configure.in clamav-0.94.1rc1/configure.in
 
--- clamav-0.94.orig/configure.in	2008-09-05 21:11:13.672860000 +0200
 
+++ clamav-0.94.1/configure.in	2008-09-05 21:14:46.199611070 +0200
 
@@ -490,6 +490,14 @@
 
 [  --disable-unrar	  don't build libclamunrar and libclamunrar_iface ],
 
 want_unrar=$enableval, want_unrar="yes")
 
 
 
+AC_ARG_ENABLE([nls],
 
+               AC_HELP_STRING([--disable-nls], [disable NLS support]),
 
+               [want_nls=$enableval], [want_nls=yes]
 
+)
 
+if test $want_nls = yes; then
 
+       CPPFLAGS="$CPPFLAGS -DENABLE_NLS"
 
+fi
 
+
 
 AC_ARG_ENABLE([ipv6],
 
 [  --disable-ipv6          disable IPv6 support],
 
 want_ipv6=$enableval, want_ipv6="yes")
 
diff -Naur clamav-0.94.orig/shared/getopt.c clamav-0.94.1rc1/shared/getopt.c
 
--- clamav-0.94.orig/shared/getopt.c	2008-08-16 19:18:00.000000000 +0200
 
+++ clamav-0.94.1/shared/getopt.c	2008-09-05 21:17:31.723611661 +0200
 
@@ -82,7 +82,7 @@
 
 
 
 #ifndef _
 
 /* This is for other GNU distributions with internationalized messages.  */
 
-# if defined HAVE_LIBINTL_H || defined _LIBC
 
+# if (defined(HAVE_LIBINTL_H) || defined(_LIBC)) && defined(ENABLE_NLS)
 
 #  include <libintl.h>
 
 #  ifndef _
 
 #   define _(msgid)	gettext (msgid)
 
diff -Naur clamav-0.94.orig/shared/output.c clamav-0.94.1rc1/shared/output.c
 
--- clamav-0.94.orig/shared/output.c	2008-08-16 19:18:00.000000000 +0200
 
+++ clamav-0.94.1/shared/output.c	2008-09-05 21:13:17.334852520 +0200
 
@@ -61,7 +61,7 @@
 
 pthread_mutex_t logg_mutex = PTHREAD_MUTEX_INITIALIZER;
 
 #endif
 
 
 
-#ifdef  C_LINUX
 
+#if defined(C_LINUX) && defined(ENABLE_NLS)
 
 #include <libintl.h>
 
 #include <locale.h>
 
 
app-antivirus/clamav/files/clamav-0.94.1rc1-buildfix.patch
Show inline comments
 
new file 100644
 
diff -Naur clamav-0.94.orig/configure.in clamav-0.94.1rc1/configure.in
 
--- clamav-0.94.orig/configure.in	2008-09-01 20:41:06.000000000 +0200
 
+++ clamav-0.94.1rc1/configure.in	2008-09-05 21:09:41.201851168 +0200
 
@@ -473,7 +473,7 @@
 
 
 
 	case "$ac_cv_c_cve_2008_1372" in
 
 	ok|bugged)
 
-		LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS $LTLIBBZ2"
 
+		LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS  -lbz2"
 
 		AC_DEFINE([HAVE_BZLIB_H],1,[have bzip2])
 
 		;;
 
 	*)
 
@@ -566,7 +566,7 @@
 
     dnl we don't need to check for __gmpz_init and mpz_init,
 
     dnl since we are not checking directly for symbols
 
     if test "$HAVE_LIBGMP" = "yes"; then
 
-	    LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS $LTLIBGMP";
 
+	    LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -lgmp";
 
     else
 
 	    AC_MSG_WARN([****** GNU MP 2 or newer NOT FOUND - digital signature support will be disabled !]);
 
 	    want_dsig="no";
app-antivirus/clamav/files/clamav-0.94.1rc1-nls.patch
Show inline comments
 
new file 100644
 
diff -Naur clamav-0.94.orig/clamav-milter/clamav-milter.c clamav-0.94.1rc1/clamav-milter/clamav-milter.c
 
--- clamav-0.94.1.orig/clamav-milter/clamav-milter.c	2008-09-01 19:19:44.000000000 +0200
 
+++ clamav-0.94.1rc1/clamav-milter/clamav-milter.c	2008-09-05 21:16:03.507610741 +0200
 
@@ -110,6 +110,7 @@
 
 
 
 #ifdef	C_LINUX
 
 #include <sys/sendfile.h>	/* FIXME: use sendfile on BSD not Linux */
 
+#ifdef ENABLE_NLS
 
 #include <libintl.h>
 
 #include <locale.h>
 
 
 
@@ -122,7 +123,8 @@
 
 #define	_(s)	s
 
 #define	N_(s)	s
 
 
 
-#endif
 
+#endif /* ENABLE_NLS */
 
+#endif /* C_LINUX */
 
 
 
 #ifdef	USE_SYSLOG
 
 #include <syslog.h>
 
@@ -771,7 +773,7 @@
 
 	else
 
 		progname = "clamav-milter";
 
 
 
-#ifdef	C_LINUX
 
+#ifdef	ENABLE_NLS
 
 	setlocale(LC_ALL, "");
 
 	bindtextdomain(progname, DATADIR"/clamav-milter/locale");
 
 	textdomain(progname);
 
diff -Naur clamav-0.94.orig/configure.in clamav-0.94.1rc1/configure.in
 
--- clamav-0.94.orig/configure.in	2008-09-05 21:11:13.672860000 +0200
 
+++ clamav-0.94.1rc1/configure.in	2008-09-05 21:14:46.199611070 +0200
 
@@ -490,6 +490,14 @@
 
 [  --disable-unrar	  don't build libclamunrar and libclamunrar_iface ],
 
 want_unrar=$enableval, want_unrar="yes")
 
 
 
+AC_ARG_ENABLE([nls],
 
+               AC_HELP_STRING([--disable-nls], [disable NLS support]),
 
+               [want_nls=$enableval], [want_nls=yes]
 
+)
 
+if test $want_nls = yes; then
 
+       CPPFLAGS="$CPPFLAGS -DENABLE_NLS"
 
+fi
 
+
 
 AC_ARG_ENABLE([ipv6],
 
 [  --disable-ipv6          disable IPv6 support],
 
 want_ipv6=$enableval, want_ipv6="yes")
 
diff -Naur clamav-0.94.orig/shared/getopt.c clamav-0.94.1rc1/shared/getopt.c
 
--- clamav-0.94.orig/shared/getopt.c	2008-08-16 19:18:00.000000000 +0200
 
+++ clamav-0.94.1rc1/shared/getopt.c	2008-09-05 21:17:31.723611661 +0200
 
@@ -82,7 +82,7 @@
 
 
 
 #ifndef _
 
 /* This is for other GNU distributions with internationalized messages.  */
 
-# if defined HAVE_LIBINTL_H || defined _LIBC
 
+# if (defined(HAVE_LIBINTL_H) || defined(_LIBC)) && defined(ENABLE_NLS)
 
 #  include <libintl.h>
 
 #  ifndef _
 
 #   define _(msgid)	gettext (msgid)
 
diff -Naur clamav-0.94.orig/shared/output.c clamav-0.94.1rc1/shared/output.c
 
--- clamav-0.94.orig/shared/output.c	2008-08-16 19:18:00.000000000 +0200
 
+++ clamav-0.94.1rc1/shared/output.c	2008-09-05 21:13:17.334852520 +0200
 
@@ -61,7 +61,7 @@
 
 pthread_mutex_t logg_mutex = PTHREAD_MUTEX_INITIALIZER;
 
 #endif
 
 
 
-#ifdef  C_LINUX
 
+#if defined(C_LINUX) && defined(ENABLE_NLS)
 
 #include <libintl.h>
 
 #include <locale.h>
 
 
app-antivirus/clamav/files/clamav-milter.README.gentoo
Show inline comments
 
new file 100644
 
Nick Hadaway <raker@gentoo.org>
 
Updated by Andrea Barisani <lcars@gentoo.org>
 
18/05/2004
 

	
 
Setting up clamav-milter on Gentoo Linux
 

	
 
Step 1 - Configure clamd
 

	
 
Check /etc/clamd.conf, default values should work out of the box but 
 
read and understand all the options especially if you are going to
 
use it on production boxes.
 

	
 
Step 2 - Tell the init script to start clamd as well as freshclam and the
 
         milter itself.
 

	
 
	nano -w /etc/conf.d/clamd
 

	
 
	START_CLAMD=yes
 
	START_FRESHCLAM=yes
 
	START_MILTER=yes
 

	
 
Step 3 - Edit sendmail.mc
 

	
 
	Add these lines to sendmail.mc before any any other 
 
	INPUT_MAIL_FILTER lines and before MAILER(local)
 
	NOTE: ANY INPUT_MAIL_FILTER definitions put before these lines
 
	will be discarded due to the use of confINPUT_MAIL_FILTERS
 
	Make this your first mail filter. :)
 

	
 
	INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, F=, T=S:4m;R:4m')dnl
 
	define(`confINPUT_MAIL_FILTERS', `clmilter')dnl
 

	
 
Step 4 - Rebuild sendmail.cf
 

	
 
	cd /etc/mail
 
	m4 sendmail.mc > sendmail.cf
 

	
 
Step 5 - Start clamad
 

	
 
	/etc/init.d/clamd start
 

	
 
Step 6 - Restart sendmail
 

	
 
	/etc/init.d/sendmail restart
app-antivirus/clamav/files/clamav.logrotate
Show inline comments
 
new file 100644
 
/var/log/clamav/clamd.log {
 
	missingok
 
	postrotate
 
		/etc/init.d/clamd logfix
 
		/bin/kill -HUP `cat /var/run/clamav/clamd.pid 2> /dev/null` 2>/dev/null || true
 
	endscript
 
}
 

	
 
/var/log/clamav/freshclam.log {
 
	missingok
 
	postrotate
 
		/etc/init.d/clamd logfix
 
		/bin/kill -HUP `cat /var/run/clamav/freshclam.pid 2> /dev/null` 2>/dev/null || true
 
	endscript
 
}
app-antivirus/clamav/files/clamd.conf
Show inline comments
 
new file 100644
 
# Config file for /etc/init.d/clamd
 

	
 
# NOTICE: Since clamav-0.85-r1, only START_CLAMD and START_FRESHCLAM settings
 
#	  are used, other are silently ignored
 

	
 
START_CLAMD=yes
 
START_FRESHCLAM=yes
 
CLAMD_NICELEVEL=3
 
FRESHCLAM_NICELEVEL=19
app-antivirus/clamav/files/clamd.rc
Show inline comments
 
new file 100644
 
#!/sbin/runscript
 
# Copyright 1999-2005 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/files/clamd.rc,v 1.16 2008/02/29 23:46:46 ticho Exp $
 

	
 
opts="logfix"
 

	
 
depend() {
 
	use net
 
	provide antivirus
 
}
 

	
 
start() {
 
	local clamd_socket=`awk '$1 == "LocalSocket" { print $2 }' /etc/clamd.conf`
 

	
 
	logfix
 

	
 
	if [ "${START_CLAMD}" = "yes" ]; then
 
		if [ -S "${clamd_socket:-/tmp/clamd}" ]; then
 
			rm -f ${clamd_socket:-/tmp/clamd}
 
		fi
 
		ebegin "Starting clamd"
 
		start-stop-daemon --start --quiet \
 
			--nicelevel ${CLAMD_NICELEVEL:-0} \
 
			--exec /usr/sbin/clamd
 
		eend $? "Failed to start clamd"
 
	fi
 

	
 
	if [ "${START_FRESHCLAM}" = "yes" ]; then
 
		ebegin "Starting freshclam"
 
		start-stop-daemon --start --quiet \
 
			--nicelevel ${FRESHCLAM_NICELEVEL:-0} \
 
			--exec /usr/bin/freshclam -- -d
 
		retcode=$?
 
		if [ ${retcode} = 1 ]; then
 
			eend 0
 
			einfo "Virus databases are already up to date."
 
		else
 
			eend ${retcode} "Failed to start freshclam"
 
		fi
 
	fi
 
	if [ "${START_MILTER}" = "yes" ]; then
 
		if [ -S "${MILTER_SOCKET}" ]; then
 
			rm -f ${MILTER_SOCKET}
 
		fi
 

	
 

	
 
		local milter_ext=no
 
		local milter_svr=no
 
		args=`getopt -q --options "es" --longoptions "external,server" --  $MILTER_OPTS`
 
		for arg in $args; do
 

	
 
			case "$arg" in
 

	
 
			-e | --external)
 
				milter_ext=yes;
 
				shift;;
 

	
 
			-s | --server)
 
				milter_svr=yes;
 
				shift;;
 

	
 
			--)
 
				shift;
 
				break;;
 
			esac
 
		done
 

	
 
		if [[ $milter_ext == yes && $milter_svr == no ]]; then
 
			local clamd_socket_wait_count=0
 
			local clamd_socket_wait_max=10
 
			local clamd_socket_wait_result=-1
 
			ebegin "Waiting for clamd to create ${clamd_socket}"
 
			while (( clamd_socket_wait < clamd_socket_wait_max )); do
 
				if [ -S "${clamd_socket:-/tmp/clamd}" ]; then
 
					clamd_socket_wait_result=0
 
					break
 
				else
 
					echo -n " ."
 
					let clamd_socket_wait++
 
					sleep 1
 
				fi
 
			done
 
			echo
 
			eend $clamd_socket_wait_result "Timeout waiting for ${clamd_socket}"
 
		fi
 
			
 
		ebegin "Starting clamav-milter"
 
		start-stop-daemon --start --quiet \
 
			--nicelevel ${MILTER_NICELEVEL:-0} \
 
			--exec /usr/sbin/clamav-milter -- ${MILTER_OPTS} ${MILTER_SOCKET}
 
		eend $? "Failed to start clamav-milter"
 
	fi
 
}
 

	
 
stop() {
 
	if [ "${START_CLAMD}" = "yes" ]; then
 
		ebegin "Stopping clamd"
 
		start-stop-daemon --stop --quiet --name clamd
 
		eend $? "Failed to stop clamd"
 
	fi
 
	if [ "${START_FRESHCLAM}" = "yes" ]; then
 
		ebegin "Stopping freshclam"
 
		start-stop-daemon --stop --quiet --name freshclam
 
		eend $? "Failed to stop freshclam"
 
	fi
 
	if [ "${START_MILTER}" = "yes" ]; then
 
		ebegin "Stopping clamav-milter"
 
		start-stop-daemon --stop --quiet --name clamav-milter
 
		eend $? "Failed to stop clamav-milter"
 
	fi
 
}
 

	
 
logfix() {
 
	if [ "${START_CLAMD}" = "yes" ]; then
 
		# fix clamd log permissions
 
		# (might be clobbered by logrotate or something)
 
		local logfile=`awk '$1 == "LogFile" { print $2 }' /etc/clamd.conf`
 
		local clamav_user=`awk '$1 == "User" { print $2 }' /etc/clamd.conf`
 
		if [ -n "${logfile}" ] && [ -n "${clamav_user}" ]; then
 
			if [ ! -f "${logfile}" ]; then
 
				touch ${logfile}
 
			fi
 
			chown ${clamav_user} ${logfile}
 
			chmod 640 ${logfile}
 
		fi
 
	fi
 

	
 
	if [ "${START_FRESHCLAM}" = "yes" ]; then
 
		# fix freshclam log permissions
 
		# (might be clobbered by logrotate or something)
 
		logfile=`awk '$1 == "UpdateLogFile" { print $2 }' /etc/freshclam.conf`
 
		local freshclam_user=`awk '$1 == "DatabaseOwner" { print $2 }' /etc/freshclam.conf`
 
		if [ -n "${logfile}" -a -n "${clamav_user}" ]; then
 
			if [ ! -f "${logfile}" ]; then
 
				touch ${logfile}
 
			fi	
 
			chown ${freshclam_user} ${logfile}
 
			chmod 640 ${logfile}
 
		fi
 
	fi
 
}
app-antivirus/clamav/files/lib-ld.m4
Show inline comments
 
new file 100644
 
# lib-ld.m4 serial 3 (gettext-0.13)
 
dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
 
dnl This file is free software; the Free Software Foundation
 
dnl gives unlimited permission to copy and/or distribute it,
 
dnl with or without modifications, as long as this notice is preserved.
 

	
 
dnl Subroutines of libtool.m4,
 
dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
 
dnl with libtool.m4.
 

	
 
dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
 
AC_DEFUN([AC_LIB_PROG_LD_GNU],
 
[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
 
[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
case `$LD -v 2>&1 </dev/null` in
 
*GNU* | *'with BFD'*)
 
  acl_cv_prog_gnu_ld=yes ;;
 
*)
 
  acl_cv_prog_gnu_ld=no ;;
 
esac])
 
with_gnu_ld=$acl_cv_prog_gnu_ld
 
])
 

	
 
dnl From libtool-1.4. Sets the variable LD.
 
AC_DEFUN([AC_LIB_PROG_LD],
 
[AC_ARG_WITH(gnu-ld,
 
[  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
 
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
 
AC_REQUIRE([AC_PROG_CC])dnl
 
AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
# Prepare PATH_SEPARATOR.
 
# The user is always right.
 
if test "${PATH_SEPARATOR+set}" != set; then
 
  echo "#! /bin/sh" >conf$$.sh
 
  echo  "exit 0"   >>conf$$.sh
 
  chmod +x conf$$.sh
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
    PATH_SEPARATOR=';'
 
  else
 
    PATH_SEPARATOR=:
 
  fi
 
  rm -f conf$$.sh
 
fi
 
ac_prog=ld
 
if test "$GCC" = yes; then
 
  # Check if gcc -print-prog-name=ld gives a path.
 
  AC_MSG_CHECKING([for ld used by GCC])
 
  case $host in
 
  *-*-mingw*)
 
    # gcc leaves a trailing carriage return which upsets mingw
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
  *)
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
  esac
 
  case $ac_prog in
 
    # Accept absolute paths.
 
    [[\\/]* | [A-Za-z]:[\\/]*)]
 
      [re_direlt='/[^/][^/]*/\.\./']
 
      # Canonicalize the path of ld
 
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 
      done
 
      test -z "$LD" && LD="$ac_prog"
 
      ;;
 
  "")
 
    # If it fails, then pretend we aren't using GCC.
 
    ac_prog=ld
 
    ;;
 
  *)
 
    # If it is relative, then search for the first ld in PATH.
 
    with_gnu_ld=unknown
 
    ;;
 
  esac
 
elif test "$with_gnu_ld" = yes; then
 
  AC_MSG_CHECKING([for GNU ld])
 
else
 
  AC_MSG_CHECKING([for non-GNU ld])
 
fi
 
AC_CACHE_VAL(acl_cv_path_LD,
 
[if test -z "$LD"; then
 
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
 
  for ac_dir in $PATH; do
 
    test -z "$ac_dir" && ac_dir=.
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
      acl_cv_path_LD="$ac_dir/$ac_prog"
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
      # but apparently some GNU ld's only accept -v.
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
 
      *GNU* | *'with BFD'*)
 
	test "$with_gnu_ld" != no && break ;;
 
      *)
 
	test "$with_gnu_ld" != yes && break ;;
 
      esac
 
    fi
 
  done
 
  IFS="$ac_save_ifs"
 
else
 
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
 
fi])
 
LD="$acl_cv_path_LD"
 
if test -n "$LD"; then
 
  AC_MSG_RESULT($LD)
 
else
 
  AC_MSG_RESULT(no)
 
fi
 
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
 
AC_LIB_PROG_LD_GNU
 
])
app-antivirus/clamav/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>net-mail</herd>
 
<herd>antivirus</herd>
 
</pkgmetadata>
app-arch/lcab/Manifest
Show inline comments
 
new file 100644
 
DIST lcab-1.0b12.tar.gz 74907 RMD160 2b6978175248ac048613e4414acc121df103de7a SHA1 3e5a1f23f0ea1c991e80322592e3ede9f38ecd94 SHA256 065f2c1793b65f28471c0f71b7cf120a7064f28d1c44b07cabf49ec0e97f1fc8
 
EBUILD lcab-1.0_beta12.ebuild 602 RMD160 4a14944e45c80c4fd9a24ec297d8c7631a17377f SHA1 302c34f421e3b95d8486b9abcf0656e780ce8317 SHA256 79d76fb558bbf6807484fb9e218af8cb809bab522229303d4ee0d755522412df
app-arch/lcab/lcab-1.0_beta12.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: Exp $
 

	
 
inherit autotools
 

	
 
MY_PV="${PV/_beta/b}"
 

	
 
DESCRIPTION="CAB file creation tool"
 
HOMEPAGE="http://lcab.move-to-cork.com"
 
SRC_URI="http://lcab.move-to-cork.com/sources/${PN}-${MY_PV}.tar.gz"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="~amd64 ~x86"
 
IUSE=""
 

	
 
DEPEND="virtual/libc"
 

	
 
S="${WORKDIR}/${PN}-${MY_PV}"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 
	sed -i "s:1.0b11:${MY_PV}:" mytypes.h
 
	eautoreconf || die
 
}
 

	
 
src_install() {
 
	make DESTDIR="${D}" install || die
 
	dodoc README COPYING
 
}
app-crypt/mit-krb5/Manifest
Show inline comments
 
new file 100644
 
AUX 1.6-MITKRB5-SA-2008-001.patch 11080 RMD160 12415f2329536352cd4d4aaa340951771b1e5114 SHA1 0cc2549ab6fd44180b3cdf4327efeaa6fe43b6e2 SHA256 0af6931dd33d9a2622714de3e06e68dde0d6e9215d9b08c478a441ce7fb6d7a6
 
AUX MITKRB5-SA-2008-002.patch 1505 RMD160 35bb24ae802b532836810588e13c775ef8522cc1 SHA1 70fb0d83da33eb3e00355a11894c37f7c9d2b9aa SHA256 8e84a55080461f117f61501550c364f9ac25d9079601281a0d413bff664fc386
 
AUX mit-krb5-lazyldflags.patch 509 RMD160 47515882e93e0db7db6980a4460a01f2cbc3f382 SHA1 db880ff82bd72afd2815a8e8d345c815c2769715 SHA256 272b3a18303b43c64bbcc1da9bcb7cd60d56337700d84c78741c7096c18044d5
 
AUX mit-krb5kadmind.initd 687 RMD160 7602d12d570e80edf24953befbe4ec03d247e4ba SHA1 753a5875659d3bef63c1a50bb0228f1c3c06bdf9 SHA256 427953b3a2dbe0a8f85bee1294a348c97dbbdac4741f06c2a3768170ba29161a
 
AUX mit-krb5kdc.confd 89 RMD160 93f1e41e6baed5df7e33a2b407437f25c1a8d76e SHA1 b2843ab9c092333531f998a4e3c15004655aabbe SHA256 f392d00917a73c3abcf10b67c1b11d41907d75e3c0b176b97b1f2f6449aee62f
 
AUX mit-krb5kdc.initd 747 RMD160 27b1f758cfe391e91ce0ca9425d0ab798d8abb99 SHA1 75d5a726c5cdaf7747ba3ce076dfe7e791b84b33 SHA256 c9680132423b9f00a90bd072bf079c09a229f3d70f4cfce586e9cff826e459d1
 
DIST krb5-1.6.2-signed.tar 14643200 RMD160 33945db8142f234c8a3a1e3b3db0fa6d1360b7c8 SHA1 097f7402ec3946b9a22db431c0f2e472121a09fb SHA256 6301b297fcf2f2218ccc5a315e1d8068c9d8ab0b22fd1f3726a0120bc3df6f1c
 
DIST krb5-1.6.3-signed.tar 11909120 RMD160 4f09e797d6e03c240353f3943875117a39c82c29 SHA1 c4c98801371895f84c6586c344c7f4bd850e6faf SHA256 7a1bd7d4bd326828c8ee382ed2b69ccd6c58762601df897d6a32169d84583d2a
 
DIST mit-krb5-1.6.3-patches-0.4r1.tar.bz2 5863 RMD160 1135281067a4b452a08887df9299a2f1322b34b9 SHA1 c31ea0cce528bc8c70e44a8e6d964ad1c84b375a SHA256 9523edeea365b14b98ab35e18e2cd24ce4cbc7d9ae16a0cfa309720ec61f0671
 
EBUILD mit-krb5-1.6.2.ebuild 2855 RMD160 d8597db5c6ba33957965721201758c600619c02d SHA1 7009dc16474403e57d4b20440f9cb4d1e0ca4b2d SHA256 ff6d605fddb630b33161926f00acd3b27b0938534f23c2657a9cc9be9fbb71c6
 
EBUILD mit-krb5-1.6.3-r4.ebuild 2921 RMD160 cb7461914769cf2708300f89507c647e8b0de957 SHA1 7d1bd49a5b6dd3a39fb0514f5c414989f8409b5c SHA256 ad5563e9fef04f8ee83548c6c55cc33c94e4635357a13cee02baf44b7f1f5890
 
MISC metadata.xml 988 RMD160 b8d3c4b4be39d235ab984b110c269a404ed53803 SHA1 0c28bcb7be62e448fb2492c8ef13c49db1070484 SHA256 a9836086305633c73e4238912805c4acfb11fffd2d9d62305bb2139bffe63eef
app-crypt/mit-krb5/files/1.6-MITKRB5-SA-2008-001.patch
Show inline comments
 
new file 100644
 
--- src/kdc/dispatch.c  (revision 20192)
 
+++ src/kdc/dispatch.c  (working copy)
 
@@ -1,7 +1,7 @@
 
 /*
 
  * kdc/dispatch.c
 
  *
 
- * Copyright 1990 by the Massachusetts Institute of Technology.
 
+ * Copyright 1990, 2007 by the Massachusetts Institute of Technology.
 
  *
 
  * Export of this software from the United States of America may
 
  *   require a specific license from the United States Government.
 
@@ -107,7 +107,7 @@
 
        retval = KRB5KRB_AP_ERR_MSG_TYPE;
 
 #ifndef NOCACHE
 
     /* put the response into the lookaside buffer */
 
-    if (!retval)
 
+    if (!retval && *response != NULL)
 
	kdc_insert_lookaside(pkt, *response);
 
 #endif
 
 
 
--- src/kdc/kerberos_v4.c       (revision 20192)
 
+++ src/kdc/kerberos_v4.c       (working copy)
 
@@ -1,7 +1,7 @@
 
 /*
 
  * kdc/kerberos_v4.c
 
  *
 
- * Copyright 1985, 1986, 1987, 1988,1991 by the Massachusetts Institute
 
+ * Copyright 1985, 1986, 1987, 1988,1991,2007 by the Massachusetts Institute
 
  * of Technology.
 
  * All Rights Reserved.
 
  *
 
@@ -87,11 +87,6 @@
 
 #define                MSB_FIRST               0       /* 68000, IBM RT/PC */
 
 #define                LSB_FIRST               1       /* Vax, PC8086 */
 
 
 
-int     f;
 
-
 
-/* XXX several files in libkdb know about this */
 
-char *progname;
 
-
 
 #ifndef BACKWARD_COMPAT
 
 static Key_schedule master_key_schedule;
 
 static C_Block master_key;
 
@@ -143,10 +138,8 @@
 
 #include "com_err.h"
 
 #include "extern.h"            /* to pick up master_princ */
 
 
 
-static krb5_data *response;
 
-
 
-void kerberos_v4 (struct sockaddr_in *, KTEXT);
 
-void kerb_err_reply (struct sockaddr_in *, KTEXT, long, char *);
 
+static krb5_data *kerberos_v4 (struct sockaddr_in *, KTEXT);
 
+static krb5_data *kerb_err_reply (struct sockaddr_in *, KTEXT, long, char *);
 
 static int set_tgtkey (char *, krb5_kvno, krb5_boolean);
 
 
 
 /* Attributes converted from V5 to V4 - internal representation */
 
@@ -262,12 +255,12 @@
 
            (void) klog(L_KRB_PERR, "V4 request too long.");
 
            return KRB5KRB_ERR_FIELD_TOOLONG;
 
     }
 
+    memset( &v4_pkt, 0, sizeof(v4_pkt));
 
     v4_pkt.length = pkt->length;
 
     v4_pkt.mbz = 0;
 
     memcpy( v4_pkt.dat, pkt->data, pkt->length);
 
 
 
-    kerberos_v4( &client_sockaddr, &v4_pkt);
 
-    *resp = response;
 
+    *resp = kerberos_v4( &client_sockaddr, &v4_pkt);
 
     return(retval);
 
 }
 
 
 
@@ -300,19 +293,20 @@
 
 }
 
 
 
 static
 
-int krb4_sendto(int s, const char *msg, int len, int flags,
 
-		const struct sockaddr *to, int to_len)
 
+krb5_data *make_response(const char *msg, int len)
 
 {
 
+    krb5_data *response;
 
+
 
     if (  !(response = (krb5_data *) malloc( sizeof *response))) {
 
-	return ENOMEM;
 
+       return 0;
 
     }
 
     if ( !(response->data = (char *) malloc( len))) {
 
	krb5_free_data(kdc_context,  response);
 
-	return ENOMEM;
 
+       return 0;
 
     }
 
     response->length = len;
 
     memcpy( response->data, msg, len);
 
-    return( 0);
 
+    return response;
 
 }
 
 static void
 
 hang(void)
 
@@ -586,7 +580,7 @@
 
        *cp = 0;
 
 }
 
 
 
-void
 
+static krb5_data *
 
 kerberos_v4(struct sockaddr_in *client, KTEXT pkt)
 
 {
 
     static KTEXT_ST rpkt_st;
 
@@ -599,8 +593,8 @@
 
     KTEXT   auth = &auth_st;
 
     AUTH_DAT ad_st;
 
     AUTH_DAT *ad = &ad_st;
 
+    krb5_data *response = 0;
 
 
 
-
 
     static struct in_addr client_host;
 
     static int msg_byte_order;
 
     static int swap_bytes;
 
@@ -637,8 +631,7 @@
 
		 inet_ntoa(client_host));
 
	/* send an error reply */
 
	req_name_ptr = req_inst_ptr = req_realm_ptr = "";
 
-	kerb_err_reply(client, pkt, KERB_ERR_PKT_VER, lt);
 
-	return;
 
+       return kerb_err_reply(client, pkt, KERB_ERR_PKT_VER, lt);
 
     }
 
 
 
     /* check packet version */
 
@@ -648,8 +641,7 @@
 
		 KRB_PROT_VERSION, req_version, 0);
 
	/* send an error reply */
 
	req_name_ptr = req_inst_ptr = req_realm_ptr = "";
 
-	kerb_err_reply(client, pkt, KERB_ERR_PKT_VER, lt);
 
-	return;
 
+       return kerb_err_reply(client, pkt, KERB_ERR_PKT_VER, lt);
 
     }
 
     msg_byte_order = req_msg_type & 1;
 
 
 
@@ -707,10 +699,10 @@
 
 
 
	     if ((i = check_princ(req_name_ptr, req_inst_ptr, 0,
 
				 &a_name_data, &k5key, 0, &ck5life))) {
 
-		kerb_err_reply(client, pkt, i, "check_princ failed");
 
+               response = kerb_err_reply(client, pkt, i, "check_princ failed");
 
		a_name_data.key_low = a_name_data.key_high = 0;
 
		krb5_free_keyblock_contents(kdc_context, &k5key);
 
-		return;
 
+               return response;
 
	    }
 
	    /* don't use k5key for client */
 
	    krb5_free_keyblock_contents(kdc_context, &k5key);
 
@@ -722,11 +714,11 @@
 
	   /* this does all the checking */
 
	   if ((i = check_princ(service, instance, lifetime,
 
				 &s_name_data, &k5key, 1, &sk5life))) {
 
-		kerb_err_reply(client, pkt, i, "check_princ failed");
 
+               response = kerb_err_reply(client, pkt, i, "check_princ failed");
 
		a_name_data.key_high = a_name_data.key_low = 0;
 
		s_name_data.key_high = s_name_data.key_low = 0;
 
		krb5_free_keyblock_contents(kdc_context, &k5key);
 
-		return;
 
+               return response;
 
	    }
 
	    /* Bound requested lifetime with service and user */
 
	    v4req_end = krb_life_to_time(kerb_time.tv_sec, req_life);
 
@@ -797,8 +789,7 @@
 
	    rpkt = create_auth_reply(req_name_ptr, req_inst_ptr,
 
		req_realm_ptr, req_time_ws, 0, a_name_data.exp_date,
 
		a_name_data.key_version, ciph);
 
-	    krb4_sendto(f, (char *) rpkt->dat, rpkt->length, 0,
 
-		   (struct sockaddr *) client, sizeof (struct sockaddr_in));
 
+           response = make_response((char *) rpkt->dat, rpkt->length);
 
	    memset(&a_name_data, 0, sizeof(a_name_data));
 
	    memset(&s_name_data, 0, sizeof(s_name_data));
 
	    break;
 
@@ -824,9 +815,8 @@
 
		lt = klog(L_KRB_PERR,
 
			  "APPL request with realm length too long from %s",
 
			  inet_ntoa(client_host));
 
-		kerb_err_reply(client, pkt, RD_AP_INCON,
 
-			       "realm length too long");
 
-		return;
 
+               return kerb_err_reply(client, pkt, RD_AP_INCON,
 
+                                     "realm length too long");
 
	    }
 
 
 
	    auth->length += (int) *(pkt->dat + auth->length) +
 
@@ -835,9 +825,8 @@
 
		lt = klog(L_KRB_PERR,
 
			  "APPL request with funky tkt or req_id length from %s",
 
			  inet_ntoa(client_host));
 
-		kerb_err_reply(client, pkt, RD_AP_INCON,
 
-			       "funky tkt or req_id length");
 
-		return;
 
+               return kerb_err_reply(client, pkt, RD_AP_INCON,
 
+                                     "funky tkt or req_id length");
 
	    }
 
 
 
	    memcpy(auth->dat, pkt->dat, auth->length);
 
@@ -848,18 +837,16 @@
 
	    if ((!allow_v4_crossrealm)&&strcmp(tktrlm, local_realm) != 0) {
 
	      lt = klog(L_ERR_UNK,
 
			"Cross realm ticket from %s denied by policy,", tktrlm);
 
-	      kerb_err_reply(client, pkt,
 
-			       KERB_ERR_PRINCIPAL_UNKNOWN, lt);
 
-		return;
 
+             return kerb_err_reply(client, pkt,
 
+                                   KERB_ERR_PRINCIPAL_UNKNOWN, lt);
 
	    }
 
	    if (set_tgtkey(tktrlm, kvno, 0)) {
 
-	      lt = klog(L_ERR_UNK,
 
+	        lt = klog(L_ERR_UNK,
 
			  "FAILED set_tgtkey realm %s, kvno %d. Host: %s ",
 
			  tktrlm, kvno, inet_ntoa(client_host));
 
		/* no better error code */
 
-		kerb_err_reply(client, pkt,
 
-			       KERB_ERR_PRINCIPAL_UNKNOWN, lt);
 
-		return;
 
+               return kerb_err_reply(client, pkt,
 
+                                     KERB_ERR_PRINCIPAL_UNKNOWN, lt);
 
	    }
 
	    kerno = krb_rd_req(auth, "krbtgt", tktrlm, client_host.s_addr,
 
		ad, 0);
 
@@ -869,9 +856,8 @@
 
			      "FAILED 3des set_tgtkey realm %s, kvno %d. Host: %s ",
 
			      tktrlm, kvno, inet_ntoa(client_host));
 
		    /* no better error code */
 
-		    kerb_err_reply(client, pkt,
 
-				   KERB_ERR_PRINCIPAL_UNKNOWN, lt);
 
-		    return;
 
+                   return kerb_err_reply(client, pkt,
 
+                                         KERB_ERR_PRINCIPAL_UNKNOWN, lt);
 
		}
 
		kerno = krb_rd_req(auth, "krbtgt", tktrlm, client_host.s_addr,
 
				   ad, 0);
 
@@ -881,8 +867,7 @@
 
		klog(L_ERR_UNK, "FAILED krb_rd_req from %s: %s",
 
		     inet_ntoa(client_host), krb_get_err_text(kerno));
 
		req_name_ptr = req_inst_ptr = req_realm_ptr = "";
 
-		kerb_err_reply(client, pkt, kerno, "krb_rd_req failed");
 
-		return;
 
+               return kerb_err_reply(client, pkt, kerno, "krb_rd_req failed");
 
	    }
 
	    ptr = (char *) pkt->dat + auth->length;
 
 
 
@@ -904,22 +889,21 @@
 
	    req_realm_ptr = ad->prealm;
 
 
 
	    if (strcmp(ad->prealm, tktrlm)) {
 
-		kerb_err_reply(client, pkt, KERB_ERR_PRINCIPAL_UNKNOWN,
 
-		     "Can't hop realms");
 
-		return;
 
+               return kerb_err_reply(client, pkt, KERB_ERR_PRINCIPAL_UNKNOWN,
 
+                                     "Can't hop realms");
 
	    }
 
	    if (!strcmp(service, "changepw")) {
 
-		kerb_err_reply(client, pkt, KERB_ERR_PRINCIPAL_UNKNOWN,
 
-		     "Can't authorize password changed based on TGT");
 
-		return;
 
+               return kerb_err_reply(client, pkt, KERB_ERR_PRINCIPAL_UNKNOWN,
 
+                                     "Can't authorize password changed based on TGT");
 
	    }
 
	    kerno = check_princ(service, instance, req_life,
 
				&s_name_data, &k5key, 1, &sk5life);
 
	    if (kerno) {
 
-		kerb_err_reply(client, pkt, kerno, "check_princ failed");
 
+               response = kerb_err_reply(client, pkt, kerno,
 
+                                         "check_princ failed");
 
		s_name_data.key_high = s_name_data.key_low = 0;
 
		krb5_free_keyblock_contents(kdc_context, &k5key);
 
-		return;
 
+               return response;
 
	    }
 
	    /* Bound requested lifetime with service and user */
 
	    v4endtime = krb_life_to_time((KRB4_32)ad->time_sec, ad->life);
 
@@ -975,8 +959,7 @@
 
	    rpkt = create_auth_reply(ad->pname, ad->pinst,
 
				     ad->prealm, time_ws,
 
				     0, 0, 0, ciph);
 
-	    krb4_sendto(f, (char *) rpkt->dat, rpkt->length, 0,
 
-		   (struct sockaddr *) client, sizeof (struct sockaddr_in));
 
+           response = make_response((char *) rpkt->dat, rpkt->length);
 
	    memset(&s_name_data, 0, sizeof(s_name_data));
 
	    break;
 
	}
 
@@ -1001,6 +984,7 @@
 
	    break;
 
	}
 
     }
 
+    return response;
 
 }
 
 
 
 
 
@@ -1010,7 +994,7 @@
 
  * client. 
 
  */
 
 
 
-void
 
+static krb5_data *
 
 kerb_err_reply(struct sockaddr_in *client, KTEXT pkt, long int err, char *string)
 
 {
 
     static KTEXT_ST e_pkt_st;
 
@@ -1021,9 +1005,7 @@
 
     strncat(e_msg, string, sizeof(e_msg) - 1 - 19);
 
     cr_err_reply(e_pkt, req_name_ptr, req_inst_ptr, req_realm_ptr,
 
		 req_time_ws, err, e_msg);
 
-    krb4_sendto(f, (char *) e_pkt->dat, e_pkt->length, 0,
 
-	   (struct sockaddr *) client, sizeof (struct sockaddr_in));
 
-
 
+    return make_response((char *) e_pkt->dat, e_pkt->length);
 
 }
 
 
 
 static int
 
--- src/kdc/network.c   (revision 20192)
 
+++ src/kdc/network.c   (working copy)
 
@@ -1,7 +1,7 @@
 
 /*
 
  * kdc/network.c
 
  *
 
- * Copyright 1990,2000 by the Massachusetts Institute of Technology.
 
+ * Copyright 1990,2000,2007 by the Massachusetts Institute of Technology.
 
  *
 
  * Export of this software from the United States of America may
 
  *   require a specific license from the United States Government.
 
@@ -747,6 +747,8 @@
 
        com_err(prog, retval, "while dispatching (udp)");
 
        return;
 
     }
 
+    if (response == NULL)
 
+       return;
 
     cc = sendto(port_fd, response->data, (socklen_t) response->length, 0,
 
                (struct sockaddr *)&saddr, saddr_len);
 
     if (cc == -1) {
app-crypt/mit-krb5/files/MITKRB5-SA-2008-002.patch
Show inline comments
 
new file 100644
 
--- src/lib/rpc/svc.c  (revision 1666)
 
+++ src/lib/rpc/svc.c  (local)
 
@@ -109,15 +109,17 @@
 
	if (sock < FD_SETSIZE) {
 
		xports[sock] = xprt;
 
		FD_SET(sock, &svc_fdset);
 
+		if (sock > svc_maxfd)
 
+			svc_maxfd = sock;
 
	}
 
 #else
 
	if (sock < NOFILE) {
 
		xports[sock] = xprt;
 
		svc_fds |= (1 << sock);
 
+		if (sock > svc_maxfd)
 
+			svc_maxfd = sock;
 
	}
 
 #endif /* def FD_SETSIZE */
 
-	if (sock > svc_maxfd)
 
-		svc_maxfd = sock;
 
 }
 
 
 
 /*
 
--- src/lib/rpc/svc_tcp.c  (revision 1666)
 
+++ src/lib/rpc/svc_tcp.c  (local)
 
@@ -54,6 +54,14 @@
 
 extern errno;
 
 */
 
 
 
+#ifndef FD_SETSIZE
 
+#ifdef NBBY
 
+#define NOFILE (sizeof(int) * NBBY)
 
+#else
 
+#define NOFILE (sizeof(int) * 8)
 
+#endif
 
+#endif
 
+
 
 /*
 
  * Ops vector for TCP/IP based rpc service handle
 
  */
 
@@ -221,6 +221,19 @@
 
 	register SVCXPRT *xprt;
 
 	register struct tcp_conn *cd;
 
  
 
+#ifdef FD_SETSIZE
 
+	if (fd >= FD_SETSIZE) {
 
+		(void) fprintf(stderr, "svc_tcp: makefd_xprt: fd too high\n");
 
+		xprt = NULL;
 
+		goto done;
 
+	}
 
+#else
 
+	if (fd >= NOFILE) {
 
+		(void) fprintf(stderr, "svc_tcp: makefd_xprt: fd too high\n");
 
+		xprt = NULL;
 
+		goto done;
 
+	}
 
+#endif
 
 	xprt = (SVCXPRT *)mem_alloc(sizeof(SVCXPRT));
 
 	if (xprt == (SVCXPRT *)NULL) {
 
 		(void) fprintf(stderr, "svc_tcp: makefd_xprt: out of memory\n");
 
@@ -271,6 +292,10 @@
 
	* make a new transporter (re-uses xprt)
 
	*/
 
	xprt = makefd_xprt(sock, r->sendsize, r->recvsize);
 
+	if (xprt == NULL) {
 
+		close(sock);
 
+		return (FALSE);
 
+	}
 
	xprt->xp_raddr = addr;
 
	xprt->xp_addrlen = len;
 
	xprt->xp_laddr = laddr;
 

	
app-crypt/mit-krb5/files/mit-krb5-lazyldflags.patch
Show inline comments
 
new file 100644
 
--- krb5-1.4/src/clients/ksu/Makefile.in.orig	2004-04-29 18:51:10.000000000 -0400
 
+++ krb5-1.4/src/clients/ksu/Makefile.in	2005-04-28 16:51:37.000000000 -0400
 
@@ -8,6 +8,7 @@
 
 PROG_RPATH=$(KRB5_LIBDIR)
 
 
 
 KSU_LIBS=@KSU_LIBS@
 
+LAZY_LDFLAGS=-Wl,-z,now
 
 
 
 SRCS = \
 
 	$(srcdir)/krb_auth_su.c \
 
@@ -28,7 +29,7 @@
 
 all:: ksu
 
 
 
 ksu: $(OBJS) $(KRB5_BASE_DEPLIBS)
 
-	$(CC_LINK) -o $@ $(OBJS) $(KRB5_BASE_LIBS) $(KSU_LIBS)
 
+	$(CC_LINK) -o $@ $(OBJS) $(KRB5_BASE_LIBS) $(KSU_LIBS) $(LAZY_LDFLAGS)
 
 
 
 clean::
 
 	$(RM) ksu
app-crypt/mit-krb5/files/mit-krb5kadmind.initd
Show inline comments
 
new file 100644
 
#!/sbin/runscript
 

	
 
#---------------------------------------------------------------------------
 
# This script starts/stops the MIT Kerberos 5 Admin daemon
 
#---------------------------------------------------------------------------
 

	
 
daemon="MIT Kerberos 5 Admin daemon"	
 
exec="/usr/sbin/kadmind"
 

	
 
opts="start stop restart"
 

	
 
depend() {
 
	need net mit-krb5kdc 
 
}
 

	
 
start() {
 
	ebegin "Starting $daemon"
 
	start-stop-daemon --start --quiet --exec ${exec} 1>&2
 
	eend $? "Error starting $daemon"
 
}
 

	
 
stop() { 
 
        ebegin "Stopping $daemon"
 
        start-stop-daemon --stop --quiet --oknodo --exec ${exec} 1>&2
 
        eend $? "Error stopping $daemon"
 
}
 

	
 
restart() {
 
   svc_stop
 
   svc_start
 
}
app-crypt/mit-krb5/files/mit-krb5kdc.confd
Show inline comments
 
new file 100644
 
# Set the NEED_LDAP environment variable to 1 if you use the LDAP backend:
 
# NEED_LDAP=1
app-crypt/mit-krb5/files/mit-krb5kdc.initd
Show inline comments
 
new file 100644
 
#!/sbin/runscript
 

	
 
#---------------------------------------------------------------------------
 
# This script starts/stops the MIT Kerberos 5 KDC
 
#---------------------------------------------------------------------------
 

	
 
daemon="MIT Kerberos 5 KDC"	
 
exec="/usr/sbin/krb5kdc"
 

	
 
opts="start stop restart"
 

	
 
depend() {
 
	MYNEED="net"
 
	if [ "${NEED_LDAP}x" = "1x" ]; then
 
	    MYNEED="${MYNEED} slapd"
 
	fi
 
	need ${MYNEED}
 
}
 

	
 
start() {
 
	ebegin "Starting $daemon"
 
	start-stop-daemon --start --quiet --exec ${exec} 1>&2
 
	eend $? "Error starting $daemon"
 
}
 

	
 
stop() { 
 
        ebegin "Stopping $daemon"
 
        start-stop-daemon --stop --quiet --oknodo --exec ${exec} 1>&2
 
        eend $? "Error stopping $daemon"
 
}
 

	
 
restart() {
 
   svc_stop
 
   svc_start
 
}
app-crypt/mit-krb5/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>kerberos</herd>
 
<longdescription>Kerberos 5 reference implementation from MIT</longdescription>
 
<use>
 
  <flag name="krb4">
 
    This option enables Kerberos V4 backwards compatibility using the
 
    builtin Kerberos V4 library. This is really outdated and dangerous
 
    to use because not safe.
 
  </flag>
 
  <flag name="doc">
 
    Creates and installs the API and implementation
 
    documentation. This is only useful if you want to develop software
 
    which depends on kerberos.
 
  </flag>
 
  <flag name="tcl">
 
    Some of the unit-tests in the build tree rely upon using a program
 
    in Tcl. This flag is marked for removal.
 
  </flag>
 
  <flag name="ipv6">
 
    Enables ipv6 support which is default in actual releases. This
 
    flag is marked for removal.
 
  </flag>
 
  <flag name="ldap">
 
    Enables ldap backend support in krb5.
 
  </flag>
 
</use>
 
</pkgmetadata>
app-crypt/mit-krb5/mit-krb5-1.6.2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.5.3.ebuild,v 1.7 2007/07/16 18:57:52 corsair Exp $
 

	
 
inherit eutils flag-o-matic versionator autotools
 

	
 
PATCHV="0.1"
 
MY_P=${P/mit-}
 
P_DIR=$(get_version_component_range 1-2)
 
S=${WORKDIR}/${MY_P}/src
 
DESCRIPTION="MIT Kerberos V"
 
HOMEPAGE="http://web.mit.edu/kerberos/www/"
 
SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
 
	#http://dev.gentoo.org/~seemant/distfiles/${P}-patches-${PATCHV}.tar.bz2
 
	#mirror://gentoo/${P}-patches-${PATCHV}.tar.bz2"
 

	
 
PATCHDIR="${WORKDIR}/patch"
 

	
 
LICENSE="as-is"
 
SLOT="0"
 
#hardmasked, since my version is deprecated and replaced by gentoo bug #177522's version
 
KEYWORDS=""
 
IUSE="krb4 tcl ipv6 doc ldap"
 

	
 
RDEPEND="!virtual/krb5
 
	sys-libs/com_err
 
	sys-libs/ss
 
	tcl? ( dev-lang/tcl )
 
	ldap? ( >net-nds/openldap-2.2.24) " #see the file plugins/kdb/ldap/libkdb_ldap/ldap_misc.c for why what version
 
DEPEND="${RDEPEND}
 
	doc? ( virtual/tetex )"
 
PROVIDE="virtual/krb5"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	unpack ./${MY_P}.tar.gz
 
	cd "${S}"
 
	#epatch "${FILESDIR}"/${PN}-lazyldflags.patch
 
	#EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"
 
	ebegin "Reconfiguring configure scripts (be patient)"
 
	cd "${S}"/appl/telnet
 
	eautoconf --force -I "${S}"
 
	eend $?
 
}
 

	
 
src_compile() {
 
	econf \
 
		$(use_with krb4) \
 
		$(use_with tcl) \
 
		$(use_enable ipv6) \
 
		$(use_with ldap) \
 
		--enable-shared \
 
		--with-system-et --with-system-ss \
 
		--enable-dns-for-realm \
 
		--enable-kdc-replay-cache || die
 

	
 
	emake -j1 || die
 

	
 
	if use doc ; then
 
		cd ../doc
 
		for dir in api implement ; do
 
			make -C ${dir} || die
 
		done
 
	fi
 
}
 

	
 
src_test() {
 
	einfo "Testing is being debugged, disabled for now"
 
}
 

	
 
src_install() {
 
	emake \
 
		DESTDIR="${D}" \
 
		EXAMPLEDIR=/usr/share/doc/${PF}/examples \
 
		install || die
 

	
 
	keepdir /var/lib/krb5kdc
 

	
 
	cd ..
 
	dodoc README
 
	dodoc doc/*.ps
 
	doinfo doc/*.info*
 
	dohtml -r doc/*
 

	
 
	use doc && dodoc doc/{api,implement}/*.ps
 

	
 
	for i in {telnetd,ftpd} ; do
 
		mv "${D}"/usr/share/man/man8/${i}.8 "${D}"/usr/share/man/man8/k${i}.8
 
		mv "${D}"/usr/sbin/${i} "${D}"/usr/sbin/k${i}
 
	done
 

	
 
	for i in {rcp,rlogin,rsh,telnet,ftp} ; do
 
		mv "${D}"/usr/share/man/man1/${i}.1 "${D}"/usr/share/man/man1/k${i}.1
 
		mv "${D}"/usr/bin/${i} "${D}"/usr/bin/k${i}
 
	done
 

	
 
	newinitd "${FILESDIR}"/mit-krb5kadmind.initd mit-krb5kadmind
 
	newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc
 

	
 
	insinto /etc
 
	newins ${D}/usr/share/doc/${PF}/examples/krb5.conf krb5.conf.example
 
	newins ${D}/usr/share/doc/${PF}/examples/kdc.conf kdc.conf.example
 

	
 
	for i in {schema,ldif} ; do
 
		newins ${D}/plugins/kdb/ldap/libkdb_ldap/kerberos.${i} openldap/schema/kerberos.${i}
 
	done
 

	
 
}
 

	
 
pkg_postinst() {
 
	elog "See /usr/share/doc/${PF}/html/krb5-admin/index.html for documentation."
 
}
app-crypt/mit-krb5/mit-krb5-1.6.3-r4.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.6.3-r4.ebuild,v 1.9 2008/11/02 10:56:53 dertobi123 Exp $
 

	
 
inherit eutils flag-o-matic versionator autotools
 

	
 
PATCHV="0.4r1"
 
MY_P=${P/mit-}
 
P_DIR=$(get_version_component_range 1-2)
 
DESCRIPTION="MIT Kerberos V"
 
HOMEPAGE="http://web.mit.edu/kerberos/www/"
 
SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar
 
	mirror://gentoo/${P}-patches-${PATCHV}.tar.bz2"
 

	
 
LICENSE="as-is"
 
SLOT="0"
 
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86"
 
IUSE="krb4 doc ldap"
 

	
 
RDEPEND="!virtual/krb5
 
	>=sys-libs/e2fsprogs-libs-1.41.0
 
	ldap? ( net-nds/openldap )"
 
DEPEND="${RDEPEND}
 
	doc? ( virtual/latex-base )"
 

	
 
S=${WORKDIR}/${MY_P}/src
 

	
 
PROVIDE="virtual/krb5"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	unpack ./${MY_P}.tar.gz
 
	cd "${S}"
 
	EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"
 
	einfo "Regenerating configure scripts (be patient)"
 
	local subdir
 
	for subdir in $(find . -name configure.in \
 
		| xargs grep -l 'AC_CONFIG_SUBDIRS' \
 
		| sed 's@/configure\.in$@@'); do
 
		ebegin "Regenerating configure script in ${subdir}"
 
		cd "${S}"/${subdir}
 
		eautoconf --force -I "${S}"
 
		eend $?
 
	done
 
}
 

	
 
src_compile() {
 
	# needed to work with sys-libs/e2fsprogs-libs <- should be removed!!
 
	append-flags "-I/usr/include/et"
 
	econf \
 
		$(use_with krb4) \
 
		$(use_with ldap) \
 
		--enable-shared \
 
		--with-system-et --with-system-ss \
 
		--enable-dns-for-realm \
 
		--enable-kdc-replay-cache || die
 

	
 
	emake -j1 || die
 

	
 
	if use doc ; then
 
		cd ../doc
 
		for dir in api implement ; do
 
			make -C ${dir} || die
 
		done
 
	fi
 
}
 

	
 
src_test() {
 
	einfo "Tests do not run in sandbox, have a lot of dependencies and are therefore completely disabled."
 
}
 

	
 
src_install() {
 
	emake \
 
		DESTDIR="${D}" \
 
		EXAMPLEDIR=/usr/share/doc/${PF}/examples \
 
		install || die
 

	
 
	keepdir /var/lib/krb5kdc
 

	
 
	cd ..
 
	dodoc README
 
	dodoc doc/*.ps
 
	doinfo doc/*.info*
 
	dohtml -r doc/*
 

	
 
	use doc && dodoc doc/{api,implement}/*.ps
 

	
 
	for i in {telnetd,ftpd} ; do
 
		mv "${D}"/usr/share/man/man8/${i}.8 "${D}"/usr/share/man/man8/k${i}.8
 
		mv "${D}"/usr/sbin/${i} "${D}"/usr/sbin/k${i}
 
	done
 

	
 
	for i in {rcp,rlogin,rsh,telnet,ftp} ; do
 
		mv "${D}"/usr/share/man/man1/${i}.1 "${D}"/usr/share/man/man1/k${i}.1
 
		mv "${D}"/usr/bin/${i} "${D}"/usr/bin/k${i}
 
	done
 

	
 
	newinitd "${FILESDIR}"/mit-krb5kadmind.initd mit-krb5kadmind
 
	newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc
 
	newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
 

	
 
	insinto /etc
 
	newins "${D}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
 
	newins "${D}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
 

	
 
	insinto /etc/openldap/schema
 
	use ldap && doins "${S}"/plugins/kdb/ldap/libkdb_ldap/kerberos.schema
 
}
 

	
 
pkg_postinst() {
 
	elog "See /usr/share/doc/${PF}/html/krb5-admin.html for documentation."
 
}
app-emacs/diction/Manifest
Show inline comments
 
new file 100644
 
AUX 50diction-gentoo.el 79 RMD160 240f689e425226168373906f46ecb6405fe3ee11 SHA1 8521c7286246bd64fc8e4fbc59f83133010a6121 SHA256 a867f61f46c28d88a23383afd669ed9884d15ea9f80c8d3192e34442977ce39f
 
DIST diction-1.tar.gz 3980 RMD160 149085a038b1d23ace59d5904a5a841caf22c377 SHA1 79f7b7df2755ad50f91eac5c447ed31e11695915 SHA256 557f35441bfbbfd952b8c02a44449af3a4dd40324591b4692340ae3b1daa0d1c
 
EBUILD diction-1.ebuild 398 RMD160 901cc3e328f3739e3acb469e3c80e8ee269ac230 SHA1 d0ec6897247213ebe9a2abbc5b72b9f08c1e21af SHA256 a133e72f79026b5d946821236c52c5d48b15a4b12b44c3fb211c05282304623d
 
MISC metadata.xml 139 RMD160 c84b2b78f85074cc5c7d26cb757d91c8384fa16a SHA1 00e3ae2ead875413d94aeafa5279646740c2c21d SHA256 5cdc1888ebc8807b9a37b1d33429c61cabe7415a4f240e21a4c2ff8eca7a34ed
app-emacs/diction/diction-1.ebuild
Show inline comments
 
new file 100644
 
# by Nathan Brink <ohnobinki@ohnopublishing.homelinux.net>
 
# from https://agave.garden.org/~aaronh/gnu/emacs/diction.el
 
# derived of calc-2.02f.ebuild
 

	
 
inherit elisp eutils
 

	
 
DESCRIPTION="An interface to app-text/diction from within emacs; a minor mode"
 
HOMEPAGE=""
 
SRC_URI="mirror://gentoo/${P}.tar.gz"
 

	
 
LICENSE="public-domain"
 
SLOT="0"
 
KEYWORDS="amd64 x86"
 
IUSE=""
 

	
 
SITEFILE="50diction-gentoo.el"
app-emacs/diction/files/50diction-gentoo.el
Show inline comments
 
new file 100644
 

	
 
;;; diction's site-lisp configuration
 

	
 
(add-to-list 'load-path "@SITELISP@") 
app-emacs/diction/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>
 
</pkgmetadata>
app-emulation/qemu-softmmu/Manifest
Show inline comments
 
new file 100644
 
AUX qemu-0.8.0-gcc4-hacks.patch 4634 RMD160 1d9d3f188c7c94e86794db2aae1336472852cadf SHA1 d193cc7b5793d80ab4540c7e24e6e75a246babb6 SHA256 dad86d110f86f6edc307d0073546ed583d3f4109784ba06afebbd1126dba0f38
 
MD5 5c525594aaac2ffa5e676a2b196ffd82 files/qemu-0.8.0-gcc4-hacks.patch 4634
 
RMD160 1d9d3f188c7c94e86794db2aae1336472852cadf files/qemu-0.8.0-gcc4-hacks.patch 4634
 
SHA256 dad86d110f86f6edc307d0073546ed583d3f4109784ba06afebbd1126dba0f38 files/qemu-0.8.0-gcc4-hacks.patch 4634
 
AUX qemu-0.8.0-gcc4-opts.patch 1661 RMD160 409b9670b8c910c5fc80cf52c5ec35dad6ae7eee SHA1 53365f8e018f11f599822b62d1271250364b0b4d SHA256 bc3f100113007809a247a79464913f9b37bed49e821c41c1defdf08d2fa080dc
 
MD5 67e6ae7ea59a24ed2bbc63c6ccdcfee9 files/qemu-0.8.0-gcc4-opts.patch 1661
 
RMD160 409b9670b8c910c5fc80cf52c5ec35dad6ae7eee files/qemu-0.8.0-gcc4-opts.patch 1661
 
SHA256 bc3f100113007809a247a79464913f9b37bed49e821c41c1defdf08d2fa080dc files/qemu-0.8.0-gcc4-opts.patch 1661
 
AUX qemu-0.8.2-linux-headers.patch 309 RMD160 af3fc9b49f2c9a407220329fea440fde2fcce573 SHA1 d4204b0a216e07d9788efd80a39505bb9bc4cf0e SHA256 96bfd1ec6cca6edfbcd19d4f6fde88e30a07535e8e53506788f2dc83cc5221d1
 
MD5 11e4f582f85bef53e606a9119ba7191e files/qemu-0.8.2-linux-headers.patch 309
 
RMD160 af3fc9b49f2c9a407220329fea440fde2fcce573 files/qemu-0.8.2-linux-headers.patch 309
 
SHA256 96bfd1ec6cca6edfbcd19d4f6fde88e30a07535e8e53506788f2dc83cc5221d1 files/qemu-0.8.2-linux-headers.patch 309
 
AUX qemu-0.8.2-sparc-fp.patch 591 RMD160 bbce6e754d32e8e5cb4c28e534b7a8ae27bee4b7 SHA1 785541312b7edacd279c81ce6df550e1a4f5839b SHA256 839166847b3b39fa481b49e27110aaf207067cc5acecaf55131d2ec31d92ad59
 
MD5 b3e7fd1797acd3ca68ffa4a31750d518 files/qemu-0.8.2-sparc-fp.patch 591
 
RMD160 bbce6e754d32e8e5cb4c28e534b7a8ae27bee4b7 files/qemu-0.8.2-sparc-fp.patch 591
 
SHA256 839166847b3b39fa481b49e27110aaf207067cc5acecaf55131d2ec31d92ad59 files/qemu-0.8.2-sparc-fp.patch 591
 
AUX qemu-softmmu-0.9.0-block-qcow2.patch 346 RMD160 d9c11c082fce158e5fbdaceb5e87a327877de58c SHA1 976bd2727f8bdbad999ea2c23112dcbe550bbf4c SHA256 bfea37a8fc718bcee6f31df02c3095094c58d3ace952a7e7789784d6b3471c5a
 
MD5 4dc391ef655e021a5f4f246b6ade23f3 files/qemu-softmmu-0.9.0-block-qcow2.patch 346
 
RMD160 d9c11c082fce158e5fbdaceb5e87a327877de58c files/qemu-softmmu-0.9.0-block-qcow2.patch 346
 
SHA256 bfea37a8fc718bcee6f31df02c3095094c58d3ace952a7e7789784d6b3471c5a files/qemu-softmmu-0.9.0-block-qcow2.patch 346
 
AUX qemu-softmmu-0.9.0-ide-cd.patch 1764 RMD160 5d19bd67c74734c4e66f67dc136adb6f08fa418f SHA1 152fd0403c0644c275ac4aee539139ee5bffd262 SHA256 1f0d9d52e3ead71f0f250902993d1a7d3fb9c88be23870f5559a1596c42bdaf5
 
MD5 2d1cb9b1a1f632bbe58d484b0a26e731 files/qemu-softmmu-0.9.0-ide-cd.patch 1764
 
RMD160 5d19bd67c74734c4e66f67dc136adb6f08fa418f files/qemu-softmmu-0.9.0-ide-cd.patch 1764
 
SHA256 1f0d9d52e3ead71f0f250902993d1a7d3fb9c88be23870f5559a1596c42bdaf5 files/qemu-softmmu-0.9.0-ide-cd.patch 1764
 
DIST qemu-0.9.0.tar.gz 1901741 RMD160 4296542b6da18a6ac93d20787330d3c1c2ac0a19 SHA1 1e57e48a06eb8729913d92601000466eecef06cb SHA256 491facf9335654967ee53d8fb3540a274bfcbdcc225506bd38c4ee8e9ab405c1
 
EBUILD qemu-softmmu-0.9.0-r1.ebuild 3202 RMD160 3d5b487e48ef5026c2bcf106fb26adf109b629e4 SHA1 d38c84a0d60d91779873b6e6d4cd4afaca7ac180 SHA256 7bbd543f0b44994e274a8e9503d657539111026841666ddf437e61270d0faa57
 
MD5 d035485b01c47ff116504516a54e529e qemu-softmmu-0.9.0-r1.ebuild 3202
 
RMD160 3d5b487e48ef5026c2bcf106fb26adf109b629e4 qemu-softmmu-0.9.0-r1.ebuild 3202
 
SHA256 7bbd543f0b44994e274a8e9503d657539111026841666ddf437e61270d0faa57 qemu-softmmu-0.9.0-r1.ebuild 3202
 
MISC qemu-softmmu-0.9.0-r2.ebuild~ 3204 RMD160 3b871b175b111f26d1ba187605b2c364591cb358 SHA1 3ea017c62c8f723d0a9bb450b548c4900d6f451d SHA256 141500ceacba4adc9b45dec2a69cf421579a8746e285742d6383aa893bf6984f
 
MD5 e619ea42d36e9159ac69a8594a31b52f qemu-softmmu-0.9.0-r2.ebuild~ 3204
 
RMD160 3b871b175b111f26d1ba187605b2c364591cb358 qemu-softmmu-0.9.0-r2.ebuild~ 3204
 
SHA256 141500ceacba4adc9b45dec2a69cf421579a8746e285742d6383aa893bf6984f qemu-softmmu-0.9.0-r2.ebuild~ 3204
 
MD5 12025e3368dd7e9e6733b070be908e8e files/digest-qemu-softmmu-0.9.0-r1 235
 
RMD160 eed187813ce9061522dda5880b31158450d6a8a6 files/digest-qemu-softmmu-0.9.0-r1 235
 
SHA256 a4e31d23c1853b51c7fef0c61c6721243b5c949069578679b6b35d0d88fe90c5 files/digest-qemu-softmmu-0.9.0-r1 235
app-emulation/qemu-softmmu/files/qemu-0.8.0-gcc4-hacks.patch
Show inline comments
 
new file 120000
 
/usr/portage/app-emulation/qemu-softmmu/files/qemu-0.8.0-gcc4-hacks.patch
 
\ No newline at end of file
app-emulation/qemu-softmmu/files/qemu-0.8.0-gcc4-opts.patch
Show inline comments
 
new file 120000
 
/usr/portage/app-emulation/qemu-softmmu/files/qemu-0.8.0-gcc4-opts.patch
 
\ No newline at end of file
app-emulation/qemu-softmmu/files/qemu-0.8.2-linux-headers.patch
Show inline comments
 
new file 120000
 
/usr/portage/app-emulation/qemu-softmmu/files/qemu-0.8.2-linux-headers.patch
 
\ No newline at end of file
app-emulation/qemu-softmmu/files/qemu-0.8.2-sparc-fp.patch
Show inline comments
 
new file 120000
 
/usr/portage/app-emulation/qemu-softmmu/files/qemu-0.8.2-sparc-fp.patch
 
\ No newline at end of file
app-emulation/qemu-softmmu/files/qemu-softmmu-0.9.0-block-qcow2.patch
Show inline comments
 
new file 120000
 
/usr/portage/app-emulation/qemu-softmmu/files/qemu-softmmu-0.9.0-block-qcow2.patch
 
\ No newline at end of file
app-emulation/qemu-softmmu/files/qemu-softmmu-0.9.0-ide-cd.patch
Show inline comments
 
new file 120000
 
/usr/portage/app-emulation/qemu-softmmu/files/qemu-softmmu-0.9.0-ide-cd.patch
 
\ No newline at end of file
app-emulation/qemu-softmmu/qemu-softmmu-0.9.0-r1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /jun/app-emulation/qemu-softmmu/qemu-softmmu-0.9.0-r1.ebuild,v 1.3 2007/03/10 ??:??:?? Abo Junghichi Exp $
 

	
 
inherit eutils flag-o-matic toolchain-funcs
 

	
 
DESCRIPTION="Multi-platform & multi-targets cpu emulator and dynamic translator"
 
HOMEPAGE="http://fabrice.bellard.free.fr/qemu/"
 
SRC_URI="${HOMEPAGE}${P/-softmmu/}.tar.gz"
 

	
 
LICENSE="GPL-2 LGPL-2.1"
 
SLOT="0"
 
KEYWORDS="-alpha amd64 ~ppc -sparc x86"
 
IUSE="sdl kqemu alsa"  #qvm86 debug nptl qemu-fast nptlonly"
 
RESTRICT="nostrip test"
 

	
 
DEPEND="virtual/libc
 
	sdl? ( media-libs/libsdl )
 
	!<=app-emulation/qemu-0.7.0
 
	kqemu? ( >=app-emulation/kqemu-1.3.0_pre10 )
 
	app-text/texi2html"
 
RDEPEND="sdl? ( media-libs/libsdl )
 
		 alsa? ( media-libs/alsa-lib )"
 

	
 
S="${WORKDIR}/${P/-softmmu/}"
 

	
 
QA_TEXTRELS="usr/bin/qemu
 
	usr/bin/qemu-system-sparc
 
	usr/bin/qemu-system-arm
 
	usr/bin/qemu-system-ppc
 
	usr/bin/qemu-system-mips
 
	usr/bin/qemu-system-x86_64"
 
QA_EXECSTACK="usr/share/qemu/openbios-sparc32"
 
QA_WX_LOAD="usr/share/qemu/openbios-sparc32"
 

	
 
#set_target_list() {
 
#	TARGET_LIST="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu arm-softmmu mips-softmmu"
 
#	export TARGET_LIST
 
#}
 

	
 
pkg_setup() {
 
	if [ "$(gcc-major-version)" != "4" ]; then
 
	eerror "qemu requires gcc-4 in order to build and work correctly"
 
	eerror "please compile it switching to gcc-4."
 
#	eerror "We are aware that qemu can guess a gcc-3 but this feature"
 
#	eerror "could be harmful."
 
	die "You need gcc 4" #"gcc 3 cannot build qemu"
 
	fi
 
}
 

	
 
#RUNTIME_PATH="/emul/gnemul/"
 
src_unpack() {
 
	unpack ${A}
 

	
 
	cd ${S}
 
	epatch "${FILESDIR}"/qemu-0.8.0-gcc4-hacks.patch
 
	epatch "${FILESDIR}"/qemu-0.8.0-gcc4-opts.patch
 
	# Alter target makefiles to accept CFLAGS set via flag-o.
 
	sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
 
		Makefile Makefile.target tests/Makefile
 
	# Ensure mprotect restrictions are relaxed for emulator binaries
 
	[[ -x /sbin/paxctl ]] && \
 
		sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \
 
			Makefile.target
 
	# Prevent install of kernel module by qemu's makefile
 
	sed -i 's/\(.\/install.sh\)/#\1/' Makefile
 
	# avoid strip
 
	sed -i 's:$(INSTALL) -m 755 -s:$(INSTALL) -m 755:' Makefile Makefile.target
 
}
 

	
 
src_compile() {
 
	#Let the application set its cflags
 
	unset CFLAGS
 

	
 
	# Switch off hardened tech
 
	filter-flags -fpie -fstack-protector
 

	
 
#	set_target_list
 

	
 
	myconf="--disable-gcc-check"
 
	if ! use sdl ; then
 
		myconf="$myconf --disable-gfx-check"
 
	fi
 
	./configure \
 
		--prefix=/usr \
 
		--enable-slirp --enable-adlib \
 
		--cc=$(tc-getCC) \
 
		--host-cc=$(tc-getCC) \
 
		--kernel-path=${KV_DIR} \
 
		--disable-linux-user \
 
		--enable-system \
 
		$(use_enable sdl)\
 
		$(use_enable kqemu) \
 
		$(use_enable alsa) \
 
		${myconf} \
 
		|| die "could not configure"
 

	
 
	emake || die "make failed"
 
}
 

	
 
src_install() {
 
	make install \
 
		prefix=${D}/usr \
 
		bindir=${D}/usr/bin \
 
		datadir=${D}/usr/share/qemu \
 
		docdir=${D}/usr/share/doc/${P} \
 
		mandir=${D}/usr/share/man || die
 

	
 
	chmod -x ${D}/usr/share/man/*/*
 
}
 

	
 
pkg_postinst() {
 
	einfo "You will need the Universal TUN/TAP driver compiled into"
 
	einfo "kernel or as a module to use the virtual network device."
 
}
app-pda/libopensync-plugin-google-calendar/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for app-pda/libopensync-plugin-google-calendar
 
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-google-calendar/ChangeLog,v 1.5 2007/03/28 20:18:19 peper Exp $
 

	
 
*libopensync-plugin-google-calendar-0.22 (28 Mar 2007)
 

	
 
  28 Mar 2007; Piotr Jaroszyński <peper@gentoo.org>
 
  -libopensync-plugin-google-calendar-0.20a.ebuild,
 
  +libopensync-plugin-google-calendar-0.22.ebuild:
 
  Version bump.
 

	
 
*libopensync-plugin-google-calendar-0.21 (12 Feb 2007)
 

	
 
  12 Feb 2007; Piotr Jaroszyński <peper@gentoo.org>
 
  -libopensync-plugin-google-calendar-0.19.ebuild,
 
  +libopensync-plugin-google-calendar-0.21.ebuild:
 
  Version bump.
 

	
 
  27 Nov 2006; Piotr Jaroszyński <peper@gentoo.org>
 
  libopensync-plugin-google-calendar-0.19.ebuild,
 
  libopensync-plugin-google-calendar-0.20a.ebuild:
 
  Add missing dep: dev-python/pyxml. Thanks to Lumir Honus <foldus@gmail.com>,
 
  bug #156355.
 

	
 
*libopensync-plugin-google-calendar-0.20a (10 Nov 2006)
 

	
 
  10 Nov 2006; Piotr Jaroszyński <peper@gentoo.org>
 
  libopensync-plugin-google-calendar-0.19.ebuild,
 
  +libopensync-plugin-google-calendar-0.20a.ebuild:
 
  Version bump.
 

	
 
*libopensync-plugin-google-calendar-0.19 (23 Oct 2006)
 

	
 
  23 Oct 2006; Piotr Jaroszyński <peper@gentoo.org> +metadata.xml,
 
  +libopensync-plugin-google-calendar-0.19.ebuild:
 
  New package.
 

	
app-pda/libopensync-plugin-google-calendar/Manifest
Show inline comments
 
new file 100644
 
AUX recurrent_events.patch 2731 RMD160 800a8477c3d293f3e34cb63cc2b75bf6f645dfb2 SHA1 39c1a229d9048aaffe2cb7556a4803709e1eec4a SHA256 68696dcf5c0654a7adfb2b4db1c706b042b7b06d6dcabd2dc92b69774adafb5d
 
DIST libopensync-plugin-google-calendar-0.21.tar.bz2 228603 RMD160 b05035d61e0051a5c796634d30cf3c0d48c638cf SHA1 b2f7d2eb14f262ba1b67e324c92094e0239eb8b2 SHA256 4b2a21b31c7e115b0a4b1d14aaf35008ee58aa176e6f04333fb86ca0a1fce955
 
DIST libopensync-plugin-google-calendar-0.22.tar.bz2 435568 RMD160 cb018af3c5bc69729cc1900897dac7bc3ecdfc3b SHA1 b06c96dd01ad9270f02c1bba30b3f6939caa17a7 SHA256 cc82e8b932c884586c66870873544f945822bddcad16608a9d5ea7d86598adb4
 
EBUILD libopensync-plugin-google-calendar-0.21.ebuild 705 RMD160 8734cb81990032f4b1451f6f5c097f008f90dc67 SHA1 0ac4e6331de2d1c024b868a171328fc60bf3fda5 SHA256 3b5484e4f67c114c2281720e852cf8f07a702d8651783840c32726b439e0186c
 
EBUILD libopensync-plugin-google-calendar-0.22-r1.ebuild 809 RMD160 cc8d01bbded684f1690f081397e967c70c44b5c8 SHA1 332572ae3fee3130ee47a0abf3e4146f1e307082 SHA256 a8272a69bd77feb485d78b3888eb988109cffbcc64400ccb3522ec9753f730d7
 
EBUILD libopensync-plugin-google-calendar-0.22.ebuild 723 RMD160 621446f8537963cebc749f7106509c3f3c906fa1 SHA1 4226a809de3d5dfaccc0d78c731352ceecd2a5a8 SHA256 2a5d3ad9e07a90449e649e3d3ca7494f724e7525290977c6b3ddb1340bd901f6
 
MISC ChangeLog 1382 RMD160 f6a91e1ee24620f8c7682060791eeb5f5fb8f781 SHA1 733ac06cc345e7f27e4296a066b7f4a6e1c620aa SHA256 690f2ecfb12df2db2707a5fed56788d4772cd3ac3099cf5d2bc65317d2aa2e7f
 
MISC libopensync-plugin-google-calendar-0.36.ebuild.bac 762 RMD160 b5bfb58c34d8fffd954f4049bd39a9bdb508d73f SHA1 b09465290623feda60ffd5aee4e041a857701fce SHA256 9a1fbf5ba889e7acfb653b1c0beb9b53efbb4b85b66bae9728886eda85737d61
 
MISC metadata.xml 304 RMD160 1da32fded95735800bc96b0ff4c0a3af4691a724 SHA1 b96c72c417192c099990a616b12a1d2f55a06064 SHA256 7fa8df0f64197f3f6c018ed0d6c4cc4da014fbcc9af2da9b633f71657470236a
app-pda/libopensync-plugin-google-calendar/files/recurrent_events.patch
Show inline comments
 
new file 100644
 
--- libopensync-plugin-google-calendar-0.22/src/google-cal-helper.py	2007-03-27 12:18:21.000000000 -0400
 
+++ libopensync-plugin-google-calendar-0.22-r1/src/google-cal-helper.py	2007-11-30 20:14:20.000000000 -0500
 
@@ -138,6 +138,41 @@
 
 	sys.stderr.write("xs to osync: %s => %s\n" % (s, r))
 
 	return r
 
 
 
+GDEND_RE = re.compile("DTEND;[^:]*:(\S+)")
 
+def gdRecurToEnd(recur):
 
+	m = GDEND_RE.search(recur)
 
+	if m is None:
 
+		raise DateConversionError("failed to find end in \"%s\"" % recur)
 
+	start = m.group(1)
 
+	year = start[0:4]
 
+	month = start[4:6]
 
+	day = start[6:8]
 
+	hour = start[9:11]
 
+	min = start[11:13]
 
+	sec = start[13:15]
 
+	return "%s-%2s-%2sT%2s:%2s:%2s" % (year, month, day, hour, min, sec)
 
+
 
+GDSTART_RE = re.compile("DTSTART;[^:]*:(\S+)")
 
+def gdRecurToStart(recur):
 
+	m = GDSTART_RE.search(recur)
 
+	if m is None:
 
+		raise DateConversionError("failed to find start in \"%s\"" % recur)
 
+	start = m.group(1)
 
+	year = start[0:4]
 
+	month = start[4:6]
 
+	day = start[6:8]
 
+	hour = start[9:11]
 
+	min = start[11:13]
 
+	sec = start[13:15]
 
+	return "%s-%2s-%2sT%2s:%2s:%2s" % (year, month, day, hour, min, sec)
 
+
 
+GDRECUR_RE = re.compile("RRULE:(\S+)")
 
+def gdRecurToORecur(recur):
 
+	m = GDRECUR_RE.search(recur)
 
+	if m is None:
 
+		raise DateConversionError("failed to find rule in \"%s\"" % recur)
 
+	return m.group(1)
 
+
 
 class GCalRequestError(Exception):
 
 	def __init__(self, response):
 
 		self.response = response
 
@@ -159,13 +194,19 @@
 
 		self.id = self.elementValue('atom:id/text()')
 
 		self.editUri = self.elementValue('atom:link[@rel="edit"]/@href')
 
 		self.content = self.elementValue('atom:content[@type="text"]/text()')
 
+		self.dtrecur = self.elementValue('gd:recurrence/text()')
 
+		if self.dtrecur:
 
+			pass
 
+			self.dtstart = gdRecurToStart(self.dtrecur)
 
+			self.dtend = gdRecurToEnd(self.dtrecur)
 
+			self.dtrecur = gdRecurToORecur(self.dtrecur)
 
+		else:
 
 		self.dtstart = self.elementValue('gd:when/@startTime')
 
 		self.dtend = self.elementValue('gd:when/@endTime')
 
 
 
 		self.eventStatus = self.elementValue('gd:eventStatus/@value')
 
 		self.whereString = self.elementValue('gd:where/@valueString')
 
 
 
-		#FIXME: Handle recurrency
 
 		#FIXME: Handle gd:eventStatus
 
 
 
 
 
@@ -199,9 +240,13 @@
 
 
 
 		self.addElementContent(doc, event, 'DateStarted', xsdateToOsync(self.dtstart))
 
 		self.addElementContent(doc, event, 'DateEnd', xsdateToOsync(self.dtend))
 
+		if self.dtrecur:
 
+			self.addElementContent(doc, event, 'RecurrenceRule',
 
+			                       self.dtrecur)
 
+
 
 		self.addElementContent(doc, event, 'Location', self.whereString)
 
 
 
-		#TODO: UID, editUri, dtstart, dtend, recurrency, eventStatus
 
+		#TODO: UID, editUri, dtstart, dtend, eventStatus
 
 		return doc.toxml(encoding='utf-8')
 
 
 
 	def dumpGdata(self):
app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.21.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.21.ebuild,v 1.1 2007/02/12 20:58:06 peper Exp $
 

	
 
DESCRIPTION="OpenSync Google Calendar Plugin"
 
HOMEPAGE="http://www.opensync.org/"
 
SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.bz2"
 

	
 
KEYWORDS="~amd64 ~x86"
 
SLOT="0"
 
LICENSE="GPL-2"
 
IUSE=""
 

	
 
DEPEND="=app-pda/libopensync-${PV}*
 
	dev-python/httplib2"
 
RDEPEND="${DEPEND}
 
	dev-python/pyxml"
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install || die "emake install failed"
 
	dodoc AUTHORS ChangeLog COPYING NEWS README
 
}
app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.22-r1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.22.ebuild,v 1.1 2007/03/28 20:18:19 peper Exp $
 

	
 
inherit eutils
 

	
 
DESCRIPTION="OpenSync Google Calendar Plugin"
 
HOMEPAGE="http://www.opensync.org/"
 
SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.bz2"
 

	
 
KEYWORDS="~amd64 ~x86"
 
SLOT="0"
 
LICENSE="GPL-2"
 
IUSE=""
 

	
 
DEPEND=">=app-pda/libopensync-${PV}
 
	dev-python/httplib2"
 
RDEPEND="${DEPEND}
 
	dev-python/pyxml"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 
	epatch "${FILESDIR}"/recurrent_events.patch
 
}
 

	
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install || die "emake install failed"
 
	dodoc AUTHORS ChangeLog COPYING NEWS README
 
}
app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.22.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.22.ebuild,v 1.1 2007/03/28 20:18:19 peper Exp $
 

	
 
DESCRIPTION="OpenSync Google Calendar Plugin"
 
HOMEPAGE="http://www.opensync.org/wiki/opensync-${PV}-notes"
 
SRC_URI="http://opensync.org/download/releases/${PV}/${P}.tar.bz2"
 

	
 
KEYWORDS="~amd64 ~x86"
 
SLOT="0"
 
LICENSE="GPL-2"
 
IUSE=""
 

	
 
DEPEND="=app-pda/libopensync-${PV}*
 
	dev-python/httplib2"
 
RDEPEND="${DEPEND}
 
	dev-python/pyxml"
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install || die "emake install failed"
 
	dodoc AUTHORS ChangeLog COPYING NEWS README
 
}
app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.36.ebuild.bac
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.22.ebuild,v 1.1 2007/03/28 20:18:19 peper Exp $
 

	
 
DESCRIPTION="OpenSync Google Calendar Plugin"
 
HOMEPAGE="http://www.opensync.org/wiki/opensync-${PV}-notes"
 
SRC_URI="http://opensync.org/download/releases/${PV}/${P}.tar.bz2"
 

	
 
#KEYWORDS="~amd64 ~x86"
 
#use the portage version!
 
KEYWORDS=""
 
SLOT="0"
 
LICENSE="GPL-2"
 
IUSE=""
 

	
 
DEPEND="=app-pda/libopensync-${PV}*
 
	dev-python/httplib2"
 
RDEPEND="${DEPEND}
 
	dev-python/pyxml"
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install || die "emake install failed"
 
	dodoc AUTHORS ChangeLog COPYING NEWS README
 
}
app-pda/libopensync-plugin-google-calendar/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>pda</herd>
 
	<maintainer>
 
		<email>peper@gentoo.org</email>
 
		<name>Piotr Jaroszyński</name>
 
	</maintainer>
 
	<longdescription lang="en">
 
	</longdescription>
 
</pkgmetadata>
 

	
app-pda/libopensync-plugin-sunbird/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for app-pda/libopensync-plugin-sunbird
 
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-sunbird/ChangeLog,v 1.4 2007/09/08 10:25:35 peper Exp $
 

	
 
  08 Sep 2007; Piotr Jaroszyński <peper@gentoo.org>
 
  libopensync-plugin-sunbird-0.22.ebuild:
 
  Add -Wno-error to make it compile with gcc-4.2, bug #191667.
 

	
 
*libopensync-plugin-sunbird-0.22 (28 Mar 2007)
 

	
 
  28 Mar 2007; Piotr Jaroszyński <peper@gentoo.org>
 
  -libopensync-plugin-sunbird-0.20.ebuild,
 
  +libopensync-plugin-sunbird-0.22.ebuild:
 
  Version bump.
 

	
 
*libopensync-plugin-sunbird-0.21 (12 Feb 2007)
 

	
 
  12 Feb 2007; Piotr Jaroszyński <peper@gentoo.org>
 
  +libopensync-plugin-sunbird-0.21.ebuild:
 
  Version bump.
 

	
 
*libopensync-plugin-sunbird-0.20 (13 Nov 2006)
 

	
 
  13 Nov 2006; Piotr Jaroszyński <peper@gentoo.org> +metadata.xml,
 
  +libopensync-plugin-sunbird-0.20.ebuild:
 
  New package.
 

	
app-pda/libopensync-plugin-sunbird/Manifest
Show inline comments
 
new file 100644
 
DIST libopensync-plugin-sunbird-0.21.tar.bz2 259441 RMD160 ca384c7d54308b55d107db5c31520ff70b54eaa6 SHA1 71b30742a4ac88d5378d6782516722492e136377 SHA256 38d43a7b5f6e518597bf91811b81813ffa09e826b6cc0695cc8b501a4ab71984
 
DIST libopensync-plugin-sunbird-0.22.tar.bz2 252354 RMD160 9111dd7cd8c90bc4f39baab246a33cc7f3854a33 SHA1 73e59dcefd6d5475bc68e1e2e6845a8cd0b5a048 SHA256 84beabde5440d4cd397f86f4092d9dd57d5a0a278623468a4a86004a1a920414
 
EBUILD libopensync-plugin-sunbird-0.21.ebuild 652 RMD160 1bd9cbada77440c3c87689e798dce2941afa664a SHA1 0e114abeb03ab0fcacbf5e45bf0cbdbb78f044e8 SHA256 5f7eddd54bd3dad0b1014f4005dd8d5c605a99cc96d362dac2c58b5e31b02f0d
 
EBUILD libopensync-plugin-sunbird-0.22.ebuild 794 RMD160 8a0f58a39b40e298b318eb9fc47799e52b946514 SHA1 5542409a9e582dc44ba6c41160eb053c0345dc5d SHA256 97a11b6b8f1896f06aa321b0f83fafc012ad80a9c43dc7c5b5184ed718d3999e
 
EBUILD libopensync-plugin-sunbird-0.36.ebuild 795 RMD160 130afe80337a2aaf73ac02d02899aea81e57961c SHA1 9f28fa892b6137666da4cdef3401dc37e541a29f SHA256 25ebe7f6d0e8bd6df1337d3951f099e1a7f449888433976e9ea55ba07446426d
 
MISC ChangeLog 939 RMD160 8e327c651f91f227a0b4c8ff62da687b24fd079e SHA1 2856c15c5c0146f6e9bee1b889abcd809a487c08 SHA256 94901fa6a125f22ff942bb18311bdddac1e365274286a1aa2eebf49c0ad9e965
 
MISC metadata.xml 304 RMD160 1da32fded95735800bc96b0ff4c0a3af4691a724 SHA1 b96c72c417192c099990a616b12a1d2f55a06064 SHA256 7fa8df0f64197f3f6c018ed0d6c4cc4da014fbcc9af2da9b633f71657470236a
app-pda/libopensync-plugin-sunbird/libopensync-plugin-sunbird-0.21.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-sunbird/libopensync-plugin-sunbird-0.21.ebuild,v 1.1 2007/02/12 21:06:23 peper Exp $
 

	
 
DESCRIPTION="OpenSync Sunbird Plugin"
 
HOMEPAGE="http://www.opensync.org/"
 
SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.bz2"
 

	
 
KEYWORDS="~amd64 ~x86"
 
SLOT="0"
 
LICENSE="LGPL-2.1"
 
IUSE=""
 

	
 
DEPEND="=app-pda/libopensync-${PV}*
 
	net-misc/neon"
 
RDEPEND="${DEPEND}"
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install || die "emake install failed"
 
	dodoc AUTHORS ChangeLog NEWS README
 
}
app-pda/libopensync-plugin-sunbird/libopensync-plugin-sunbird-0.22.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-sunbird/libopensync-plugin-sunbird-0.22.ebuild,v 1.2 2007/09/08 10:25:35 peper Exp $
 

	
 
inherit flag-o-matic
 

	
 
DESCRIPTION="OpenSync Sunbird Plugin"
 
HOMEPAGE="http://www.opensync.org/wiki/opensync-${PV}-notes"
 
SRC_URI="http://opensync.org/download/releases/${PV}/${P}.tar.bz2"
 

	
 
KEYWORDS="~amd64 ~x86"
 
SLOT="0"
 
LICENSE="LGPL-2.1"
 
IUSE=""
 

	
 
DEPEND="=app-pda/libopensync-${PV}*
 
	net-misc/neon"
 
RDEPEND="${DEPEND}"
 

	
 
src_compile() {
 
	append-flags -Wno-error
 
	econf || die "econf failed"
 
	emake || die "emake failed"
 
}
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install || die "emake install failed"
 
	dodoc AUTHORS ChangeLog NEWS README
 
}
app-pda/libopensync-plugin-sunbird/libopensync-plugin-sunbird-0.36.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-sunbird/libopensync-plugin-sunbird-0.22.ebuild,v 1.2 2007/09/08 10:25:35 peper Exp $
 

	
 
inherit flag-o-matic
 

	
 
DESCRIPTION="OpenSync Sunbird Plugin"
 
HOMEPAGE="http://www.opensync.org/wiki/opensync-${PV}-notes"
 
#SRC_URI="http://opensync.org/download/releases/${PV}/${P}.tar.bz2"
 
SRC_URI=""
 

	
 
KEYWORDS=""
 
SLOT="0"
 
LICENSE="LGPL-2.1"
 
IUSE=""
 

	
 
DEPEND="=app-pda/libopensync-${PV}*
 
	net-misc/neon"
 
RDEPEND="${DEPEND}"
 

	
 
src_compile() {
 
	append-flags -Wno-error
 
	econf || die "econf failed"
 
	emake || die "emake failed"
 
}
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install || die "emake install failed"
 
	dodoc AUTHORS ChangeLog NEWS README
 
}
app-pda/libopensync-plugin-sunbird/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>pda</herd>
 
	<maintainer>
 
		<email>peper@gentoo.org</email>
 
		<name>Piotr Jaroszyński</name>
 
	</maintainer>
 
	<longdescription lang="en">
 
	</longdescription>
 
</pkgmetadata>
 

	
app-pda/libopensync-plugin-synce/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for app-pda/libopensync-plugin-synce
 
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-synce/ChangeLog,v 1.3 2007/02/12 20:51:03 peper Exp $
 

	
 
*libopensync-plugin-synce-0.22 
 

	
 
	2007/11/11
 
	+libopensync-plugin-synce-0.22.ebuild,
 
	just for fun
 
	
 
  12 Feb 2007; Piotr Jaroszyński <peper@gentoo.org>
 
  -libopensync-plugin-synce-0.19.ebuild:
 
  Remove old version.
 

	
 
*libopensync-plugin-synce-0.20 (10 Nov 2006)
 

	
 
  10 Nov 2006; Piotr Jaroszyński <peper@gentoo.org>
 
  libopensync-plugin-synce-0.19.ebuild,
 
  +libopensync-plugin-synce-0.20.ebuild:
 
  Version bump.
 

	
 
*libopensync-plugin-synce-0.19 (23 Oct 2006)
 

	
 
  23 Oct 2006; Piotr Jaroszyński <peper@gentoo.org> +metadata.xml,
 
  +libopensync-plugin-synce-0.19.ebuild:
 
  New package.
 

	
app-pda/libopensync-plugin-synce/Manifest
Show inline comments
 
new file 100644
 
AUX pointer_warning.patch 365 RMD160 e3b3f1957d6990df875e8c9b9a762b45b260718e SHA1 b83e5074f262e8a23e952b7d0cb16d3e080b4fa9 SHA256 f213eb3fd2f891bbfa2af0484455fcafcb5970a9e434fd6e723fa91a7b026f42
 
AUX pointer_warning.patch~ 706 RMD160 346fea3c2d64cddf635407416ea15a5ea53c3ffb SHA1 acb38cef4d9cc7519e101d0d58cc3b3d63e4a900 SHA256 98da64e551474037f3d0682bdb7a25b93c5865c443023558143550ebdc659197
 
DIST libopensync-plugin-synce-0.20.tar.gz 335697 RMD160 846f3cb0475e82ad49203ff9fd7f8b0d91dfa844 SHA1 8912b80d9e645dd5cfbe84ca4a09968b925d4eea SHA256 b05de10cb42e256b13dd9cd246303e48e40af22fa463bdd4060f58385eaab1fa
 
DIST libopensync-plugin-synce-0.22.tar.bz2 240364 RMD160 148558e737a035b99ac318b67d60650cf665dfcf SHA1 131a248c1e13eb37cfeca3ec4f3c390c66411c3f SHA256 72166c8c6e2a45f38fa260a3eb4920b3f55b3cb4cd04c29d6889b9411e369b57
 
EBUILD libopensync-plugin-synce-0.20.ebuild 679 RMD160 dab3b5efeac1483903a29de0d06f70c79e66640c SHA1 e26df64557d28a578f55f933099d74f978ccb77c SHA256 80e0c0a72ecb85db7e3076cb937890051890045b2508be20bb8719a59d7dd2f5
 
EBUILD libopensync-plugin-synce-0.22.ebuild 814 RMD160 842fce3223010c7f18a55fb9f105fff4ecadbd9b SHA1 f7e954fdf2d24fe63b2ac00cc1b23ccd7c4198ba SHA256 17113278195ee62906341860af1bf0d18ebde5e41370bfff1ec615dc44546271
 
MISC ChangeLog 822 RMD160 fbc17a95c3e7efa70043d7c06877308c3555ff62 SHA1 19a4aab4bfece13cbbb4c5f38638a6b1a4408612 SHA256 e205080ce98e1f6cff1138a0fd9593c6801a07fee12d51af372423e8565cc324
 
MISC libopensync-plugin-synce-0.22.ebuild~ 686 RMD160 9afd6b86a85da44879cdbb91e8f145a5c68a9118 SHA1 e1a2c9ee84b10802d4b737c5144ad744dab4c7fe SHA256 ff2f729c2437ad678200199a02166c7669dcdd24712c29b0c6a5466152e11f95
 
MISC metadata.xml 304 RMD160 1da32fded95735800bc96b0ff4c0a3af4691a724 SHA1 b96c72c417192c099990a616b12a1d2f55a06064 SHA256 7fa8df0f64197f3f6c018ed0d6c4cc4da014fbcc9af2da9b633f71657470236a
app-pda/libopensync-plugin-synce/files/pointer_warning.patch
Show inline comments
 
new file 100644
 
--- libopensync-plugin-synce-0.22/src/synce_file.c	2007-03-27 08:14:24.000000000 -0400
 
+++ libopensync-plugin-synce-0.22/src/synce_file.c2	2008-06-01 00:16:57.000000000 -0400
 
@@ -444,7 +444,7 @@
 
 	SyncePluginPtr	*env;
 
 	fileFormat			*ff;
 
 	HANDLE				h;
 
-	uint32_t			rsz;
 
+	DWORD                           rsz;
 
 	WCHAR				*wfn;
 
 	int				r;
 
         char       *lfn;
app-pda/libopensync-plugin-synce/libopensync-plugin-synce-0.20.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2006 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-synce/libopensync-plugin-synce-0.20.ebuild,v 1.1 2006/11/10 18:57:04 peper Exp $
 

	
 
DESCRIPTION="OpenSync Synce Plugin"
 
HOMEPAGE="http://www.opensync.org/"
 
SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.gz"
 

	
 
KEYWORDS="~amd64 ~x86"
 
SLOT="0"
 
LICENSE="LGPL-2.1"
 
IUSE=""
 

	
 
DEPEND="=app-pda/libopensync-${PV}*
 
	app-pda/synce-rra
 
	dev-libs/libmimedir"
 

	
 
RDEPEND="${DEPEND}"
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install || die "emake install failed"
 
	dodoc AUTHORS ChangeLog COPYING NEWS README
 
}
app-pda/libopensync-plugin-synce/libopensync-plugin-synce-0.22.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2006 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-synce/libopensync-plugin-synce-0.20.ebuild,v 1.1 2006/11/10 18:57:04 peper Exp $
 

	
 
inherit eutils
 

	
 
DESCRIPTION="OpenSync Synce Plugin"
 
HOMEPAGE="http://www.opensync.org/"
 
SRC_URI="http://ohnopublishing.homelinux.net/~ohnobinki/myoverlay/${P}.tar.bz2"
 

	
 
KEYWORDS="~amd64 ~x86"
 
SLOT="0"
 
LICENSE="LGPL-2.1"
 
IUSE=""
 

	
 
DEPEND=">=app-pda/libopensync-${PV}
 
	app-pda/synce-rra
 
	dev-libs/libmimedir"
 

	
 
RDEPEND="${DEPEND}"
 

	
 
src_unpack()
 
{
 
	unpack ${A}
 
echo `pwd`
 
	cd ${WORKDIR}
 
echo `pwd`
 
	epatch "${FILESDIR}/pointer_warning.patch"
 
}
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install || die "emake install failed"
 
	dodoc AUTHORS ChangeLog COPYING NEWS README
 
}
app-pda/libopensync-plugin-synce/libopensync-plugin-synce-0.36.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2006 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-synce/libopensync-plugin-synce-0.20.ebuild,v 1.1 2006/11/10 18:57:04 peper Exp $
 

	
 
inherit eutils
 

	
 
DESCRIPTION="OpenSync Synce Plugin"
 
HOMEPAGE="http://www.opensync.org/wiki/opensync-${PV}-notes"
 
SRC_URI="http://opensync.org/download/releases/${PV}/${P}.tar.bz2"
 

	
 
KEYWORDS="~amd64 ~x86"
 
SLOT="0"
 
LICENSE="LGPL-2.1"
 
IUSE=""
 

	
 
DEPEND=">=app-pda/libopensync-${PV}
 
	app-pda/synce-rra
 
	dev-libs/libmimedir"
 

	
 
RDEPEND="${DEPEND}"
 

	
 
src_unpack()
 
{
 
	unpack ${A}
 
echo `pwd`
 
	cd ${WORKDIR}
 
echo `pwd`
 
	epatch "${FILESDIR}/pointer_warning.patch"
 
}
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install || die "emake install failed"
 
	dodoc AUTHORS ChangeLog COPYING NEWS README
 
}
app-pda/libopensync-plugin-synce/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>pda</herd>
 
	<maintainer>
 
		<email>peper@gentoo.org</email>
 
		<name>Piotr Jaroszyński</name>
 
	</maintainer>
 
	<longdescription lang="en">
 
	</longdescription>
 
</pkgmetadata>
 

	
app-text/libspectre/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for app-text/libspectre
 
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/app-text/libspectre/ChangeLog,v 1.7 2008/05/17 19:00:58 aballier Exp $
 

	
 
  17 May 2008; Alexis Ballier <aballier@gentoo.org> libspectre-0.2.0.ebuild:
 
  keyword ~x86-fbsd
 

	
 
  26 Apr 2008; Jeroen Roovers <jer@gentoo.org> libspectre-0.2.0.ebuild:
 
  Marked ~hppa (bug #218417).
 

	
 
  24 Apr 2008; Markus Rothe <corsair@gentoo.org> libspectre-0.2.0.ebuild:
 
  Added ~ppc64; bug #218417
 

	
 
  24 Apr 2008; Raúl Porcel <armin76@gentoo.org> libspectre-0.2.0.ebuild:
 
  Add ~alpha/~ia64 wrt #218417
 

	
 
  22 Apr 2008; Ferris McCormick <fmccor@gentoo.org> libspectre-0.2.0.ebuild:
 
  Add ~sparc at developer (eva) request, Bug #218417. spectre-test appears to
 
  work.
 

	
 
  07 Feb 2008; Wulf C. Krueger <philantrop@gentoo.org>
 
  libspectre-0.2.0.ebuild:
 
  Corrected the dependency on virtual/ghostscript to ghostscript-gpl as the
 
  alternative implementations in tree are too old. Fixes bug 209251.
 

	
 
*libspectre-0.2.0 (06 Feb 2008)
 

	
 
  06 Feb 2008; Bo Ørsted Andresen <zlin@gentoo.org> +metadata.xml,
 
  +libspectre-0.2.0.ebuild:
 
  Initial import of libspectre for bug #208617.
 

	
app-text/libspectre/Manifest
Show inline comments
 
new file 100644
 
-----BEGIN PGP SIGNED MESSAGE-----
 
Hash: SHA1
 

	
 
DIST libspectre-0.2.0.tar.gz 383362 RMD160 75100c8e4078af76b585500668997f6118119115 SHA1 0a52abf5bd0503f249299425c2fd3dfd26852865 SHA256 200285d12e4139cb263cb13b3a9240daf6ac2b89b9f9081734d955fc0862e548
 
EBUILD libspectre-0.2.0.ebuild 1126 RMD160 70ee96417e7e6d65cf2f5e4c278c1c44ada73961 SHA1 8b38d09d04fa886fe1a9927302edacfc5d1cfa17 SHA256 567b9f2e7b7d0104b03235f25ca85c100f7330ca6812e348f949e8c2db8cae8d
 
MISC ChangeLog 1193 RMD160 960f65f21c084e084816e9a1fb98dadb1c7b9c17 SHA1 21f3cc07770972448043104cb4939dc2a7ba1fce SHA256 216e0bf6182e6c27ab0897682a65af8889506646a6ba6215dd60c2c98630d560
 
MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a
 
-----BEGIN PGP SIGNATURE-----
 
Version: GnuPG v2.0.9 (GNU/Linux)
 

	
 
iEYEARECAAYFAkgvK3UACgkQvFcC4BYPU0o1DwCgp14aCXlt3oXyFui0K+2XwGVG
 
El8AoJXcRoeh962zZ5fSrTNKozeuNKuV
 
=MRTa
 
-----END PGP SIGNATURE-----
app-text/libspectre/libspectre-0.2.0.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-text/libspectre/libspectre-0.2.0.ebuild,v 1.7 2008/05/17 19:00:58 aballier Exp $
 

	
 
inherit libtool
 

	
 
DESCRIPTION="Library to render Postscript documents."
 
HOMEPAGE="http://libspectre.freedesktop.org/wiki/"
 
SRC_URI="http://libspectre.freedesktop.org/releases/${P}.tar.gz"
 

	
 
LICENSE="GPL-2"
 

	
 
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~sparc ~x86 ~x86-fbsd"
 
SLOT="0"
 
IUSE="debug doc test"
 

	
 
RDEPEND=">=app-text/ghostscript-gpl-8.61-r1"
 
DEPEND="doc? ( app-doc/doxygen )
 
	test? ( x11-libs/cairo
 
		dev-util/pkgconfig )"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	elibtoolize
 
}
 

	
 
src_compile() {
 
	econf \
 
		--disable-dependency-tracking \
 
		$(use_enable debug asserts) \
 
		$(use_enable debug checks) \
 
		$(use_enable test testing) \
 
		|| die "econf failed"
 

	
 
	emake || die "emake failed"
 

	
 
	if use doc; then
 
		doxygen || die "doxygen failed"
 
	fi
 
}
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install
 

	
 
	dodoc NEWS README TODO || die "installing docs failed"
 
	if use doc; then
 
		dohtml -r "${S}"/doc/html/*
 
	fi
 
}
app-text/libspectre/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>kde</herd>
 
</pkgmetadata>
app-text/tetex/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for app-text/tetex
 
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.170 2007/12/11 10:51:51 aballier Exp $
 

	
 
  24 Feb 2008; Nathan Brink <ohnobinki@ohnpublishing.homelinux.net> bug with bibtex making bad line breaks for \path|| and \verbatim
 
  +files/tetex-3.0_p1-bibtex-no-bad-newline.patch
 
  add patch to tetex-3.0_p1-r6.ebuild
 
	
 
  11 Dec 2007; Alexis Ballier <aballier@gentoo.org> -tetex-3.0_p1-r3.ebuild,
 
  -tetex-3.0_p1-r4.ebuild, -tetex-3.0_p1-r5.ebuild:
 
  remove vulnerable versions
 

	
 
  18 Nov 2007; Robert Buchholz <rbu@gentoo.org> tetex-3.0_p1-r6.ebuild:
 
  amd64 stable (bug #198238)
 

	
 
  18 Nov 2007; Markus Rothe <corsair@gentoo.org> tetex-3.0_p1-r6.ebuild:
 
  Stable on ppc64; bug #198238
 

	
 
  18 Nov 2007; Tobias Scherbaum <dertobi123@gentoo.org>
 
  tetex-3.0_p1-r6.ebuild:
 
  ppc stable, bug #198238
 

	
 
  16 Nov 2007; Raúl Porcel <armin76@gentoo.org> tetex-3.0_p1-r6.ebuild:
 
  alpha/ia64 stable wrt security #198238
 

	
 
  16 Nov 2007; Ferris McCormick <fmccor@gentoo.org> tetex-3.0_p1-r6.ebuild:
 
  Sparc stable, security Bug #198238.
 

	
 
  16 Nov 2007; Jeroen Roovers <jer@gentoo.org> tetex-3.0_p1-r6.ebuild:
 
  Stable for HPPA (bug #198238).
 

	
 
  15 Nov 2007; Markus Meier <maekke@gentoo.org> tetex-3.0_p1-r6.ebuild:
 
  x86 stable, security bug #198238
 

	
 
*tetex-3.0_p1-r6 (15 Nov 2007)
 

	
 
  15 Nov 2007; Alexis Ballier <aballier@gentoo.org>
 
  +files/tetex-3.0_p1-t1lib-SA26241_buffer_overflow.patch,
 
  +tetex-3.0_p1-r6.ebuild:
 
  yet another rev bump for security holes... bug #198238 and bug #193437
 

	
 
  13 Nov 2007; Samuli Suominen <drac@gentoo.org> tetex-3.0_p1-r5.ebuild:
 
  amd64 stable wrt security #198238
 

	
 
  08 Nov 2007; Markus Rothe <corsair@gentoo.org> tetex-3.0_p1-r5.ebuild:
 
  Stable on ppc64; bug #198238
 

	
 
  08 Nov 2007; Raúl Porcel <armin76@gentoo.org> tetex-3.0_p1-r5.ebuild:
 
  alpha/ia64 stable wrt security #198238
 

	
 
  08 Nov 2007; Ferris McCormick <fmccor@gentoo.org> tetex-3.0_p1-r5.ebuild:
 
  Sparc stable --- Security Bug #198238 --- all looks good.
 

	
 
  08 Nov 2007; Christian Faulhammer <opfer@gentoo.org>
 
  tetex-3.0_p1-r5.ebuild:
 
  stable x86, security bug 198238
 

	
 
  08 Nov 2007; Jeroen Roovers <jer@gentoo.org> tetex-3.0_p1-r5.ebuild:
 
  Stable for HPPA (bug #198238).
 

	
 
*tetex-3.0_p1-r5 (07 Nov 2007)
 

	
 
  07 Nov 2007; Alexis Ballier <aballier@gentoo.org>
 
  +files/tetex-3.0_p1-dvips_bufferoverflow.patch, +files/xpdf-3.02pl2.patch,
 
  +tetex-3.0_p1-r5.ebuild:
 
  security fixes for dvips, dviljk bug #198238 and libxpdf bug #196735; quote
 
  variables
 

	
 
  08 Sep 2007; Steve Dibb <beandog@gentoo.org> tetex-3.0_p1-r4.ebuild:
 
  amd64 stable, security bug 170861
 

	
 
  05 Sep 2007; Jose Luis Rivero <yoswink@gentoo.org> tetex-3.0_p1-r4.ebuild:
 
  Stable on sparc wrt security bug #170861
 

	
 
  03 Sep 2007; Tobias Scherbaum <dertobi123@gentoo.org>
 
  tetex-3.0_p1-r4.ebuild:
 
  ppc stable, bug #170861
 

	
 
  02 Sep 2007; Jeroen Roovers <jer@gentoo.org> tetex-3.0_p1-r4.ebuild:
 
  Stable for HPPA (bug #170861).
 

	
 
  02 Sep 2007; Markus Rothe <corsair@gentoo.org> tetex-3.0_p1-r4.ebuild:
 
  Stable on ppc64; bug #170861
 

	
 
  02 Sep 2007; Raúl Porcel <armin76@gentoo.org> tetex-3.0_p1-r4.ebuild:
 
  alpha/ia64 stable wrt security #170861
 

	
 
  02 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
 
  tetex-3.0_p1-r4.ebuild:
 
  stable x86, security bug 170861
 

	
 
*tetex-3.0_p1-r4 (01 Sep 2007)
 

	
 
  01 Sep 2007; Robert Buchholz <rbu@gentoo.org>
 
  +files/tetex-3.0_p1-CVE-2007-0650.patch,
 
  +files/tetex-3.0_p1-xpdf-CVE-2007-3387.patch, +tetex-3.0_p1-r4.ebuild:
 
  Revision bump fixing security bugs:
 
   * 170861: Fix various buffer overflows in tetex's code (CVE-2007-0650)
 
   * 182055: Link to system libgd instead of the old one in tarball (CVE-2007-2756)
 
   * 188172: Patch for vulnerable XPDF code (CVE-2007-3387)
 

	
 
  01 Sep 2007; Robert Buchholz <rbu@gentoo.org> -tetex-3.0-r3.ebuild,
 
  -tetex-3.0-r4.ebuild, -tetex-3.0_p1.ebuild, -tetex-3.0_p1-r1.ebuild,
 
  -tetex-3.0_p1-r2.ebuild, tetex-3.0_p1-r3.ebuild:
 
  Clean up old versions, update Manifest to new version of texmf (bug #189716)
 

	
 
  27 Jun 2007; Christian Faulhammer <opfer@gentoo.org> ChangeLog:
 
  changed email address of contributor
 

	
 
  11 Jun 2007; Raúl Porcel <armin76@gentoo.org> tetex-3.0_p1-r3.ebuild:
 
  alpha stable wrt #155489
 

	
 
  19 Mar 2007; Alexandre Buisse <nattfodd@gentoo.org> tetex-3.0_p1.ebuild,
 
  tetex-3.0_p1-r1.ebuild, tetex-3.0_p1-r2.ebuild, tetex-3.0_p1-r3.ebuild:
 
  Changed SRC_URI from my devspace to mirror://gentoo/ since I am retiring.
 

	
 
  12 Mar 2007; Alexandre Buisse <nattfodd@gentoo.org> metadata.xml:
 
  Replaced text-markup by tex as maintaining herd (text-markup split).
 

	
 
  28 Jan 2007; Marius Mauch <genone@gentoo.org> tetex-3.0_p1-r3.ebuild:
 
  Replacing einfo with elog
 

	
 
  13 Jan 2007; Stephanie Lockwood-Childs <wormo@gentoo.org>
 
  tetex-2.0.2-r9.ebuild:
 
  stable on ppc (Bug #154489)
 

	
 
  29 Nov 2006; Christian Faulhammer <opfer@gentoo.org>
 
  tetex-2.0.2-r9.ebuild:
 
  stable x86, bug #154489
 

	
 
  29 Nov 2006; Alexandre Buisse <nattfodd@gentoo.org>
 
  +files/tetex-2.0.2-skip_bibtex_test.patch, tetex-2.0.2-r9.ebuild:
 
  Skip a BibTeX test that is known to fail on some fresh installs (bug
 
  #115775, from comment 17).
 

	
 
  15 Nov 2006; Markus Rothe <corsair@gentoo.org> tetex-2.0.2-r9.ebuild,
 
  tetex-3.0_p1-r3.ebuild:
 
  Stable on ppc64; bug #154489
 

	
 
  10 Nov 2006; <blubb@gentoo.org> tetex-3.0_p1-r3.ebuild:
 
  stable on amd64
 

	
 
  09 Nov 2006; Jeroen Roovers <jer@gentoo.org> tetex-3.0_p1-r3.ebuild:
 
  Stable for HPPA (bug #154489).
 

	
 
  08 Nov 2006; Ferris McCormick <fmccor@gentoo.org> tetex-3.0-r3.ebuild,
 
  tetex-3.0_p1-r3.ebuild:
 
  Stable sparc for the version I thought I was making stable --- Bug #154489 ---
 
  thanks to opfer@gentoo.org for pointing this out to me.
 

	
 
  08 Nov 2006; Timothy Redaelli <drizzt@gentoo.org> tetex-3.0_p1-r3.ebuild:
 
  Stable on ppc. Bug 154489.
 

	
 
  08 Nov 2006; Christian Faulhammer <opfer@gentoo.org>
 
  tetex-3.0_p1-r3.ebuild:
 
  stable x86, bug #154489
 

	
 
  08 Nov 2006; Ferris McCormick <fmccor@gentoo.org> tetex-2.0.2-r9.ebuild,
 
  tetex-3.0-r3.ebuild:
 
  Stable on sparc --- Bug #154489
 

	
 
  17 Oct 2006; Bryan Østergaard <kloeri@gentoo.org> tetex-2.0.2-r9.ebuild:
 
  Stable on Alpha.
 

	
 
  15 Jun 2006; Martin Ehmsen <ehmsen@gentoo.org> tetex-3.0_p1-r3.ebuild:
 
  Removed the *virtex symlinks, since they don't make any sense anymore. Use
 
  *tex -ini ... instead for both initex and virtex, see bug #135548.
 

	
 
  24 May 2006; Martin Ehmsen <ehmsen@gentoo.org>
 
  files/tetex-3.0-kpathsea-pic.patch:
 
  Fixed kpathsea-pic USERLAND comparison, using = instead of -eq, bug #134149.
 

	
 
  23 May 2006; Fabian Groffen <grobian@gentoo.org> tetex-2.0.2-r8.ebuild:
 
  Marked ppc-macos stable (bug #115775)
 

	
 
  23 May 2006; Martin Ehmsen <ehmsen@gentoo.org>
 
  +files/tetex-3.0_p1-dvipdfm-timezone.patch, tetex-3.0_p1-r3.ebuild:
 
  Fixed buffer overrun in dvipdfm resulting in segfault, bug #94901.
 

	
 
  27 Apr 2006; Marien Zwart <marienz@gentoo.org>
 
  files/digest-tetex-2.0.2-r9, files/digest-tetex-3.0-r3,
 
  files/digest-tetex-3.0-r4, files/digest-tetex-3.0_p1, Manifest:
 
  Fixing SHA256 digest, pass four
 

	
 
  14 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> tetex-3.0_p1-r3.ebuild:
 
  Add ~x86-fbsd keyword.
 

	
 
  13 Apr 2006; Martin Ehmsen <ehmsen@gentoo.org>
 
  files/tetex-3.0-kpathsea-pic.patch, tetex-3.0_p1-r3.ebuild:
 
  Fixed libtool and symlink problems on MacOS, bug #106886.
 

	
 
*tetex-3.0_p1-r3 (10 Apr 2006)
 

	
 
  10 Apr 2006; Martin Ehmsen <ehmsen@gentoo.org>
 
  +files/tetex-3.0_p1-create-empty-files.patch,
 
  +files/tetex-3.0_p1-texmf-site.patch, +tetex-3.0_p1-r3.ebuild:
 
  Removed dvipng from tetex, it is provided in it own ebuild app-text/dvipng
 
  (bug #129044). Added a Gentoo site texmf directory (latex-package still
 
  needs to take advantage of it). Altered the way Makefiles create empty files
 
  (bug #126918).
 

	
 
  24 Mar 2006; Aron Griffis <agriffis@gentoo.org> tetex-2.0.2-r9.ebuild:
 
  Mark 2.0.2-r9 stable on ia64
 

	
 
  19 Mar 2006; Martin Ehmsen <ehmsen@gentoo.org>
 
  files/digest-tetex-3.0_p1-r2, Manifest:
 
  Fixed bad digest and Mainfest, bug #126723.
 

	
 
  16 Mar 2006; Patrick McLean <chutzpah@gentoo.org> tetex-2.0.2-r9.ebuild:
 
  Stable on amd64.
 

	
 
  16 Mar 2006; Martin Ehmsen <ehmsen@gentoo.org>
 
  -files/tetex-no-readlink-manpage.diff, -files/tetex-texdoctk-gentoo.patch,
 
  -tetex-1.0.7-r13.ebuild:
 
  Removed tetex-1.
 

	
 
  16 Mar 2006; Martin Ehmsen <ehmsen@gentoo.org>
 
  +files/tetex-3.0_p1-pdftosrc-install.patch, tetex-3.0_p1-r2.ebuild:
 
  Added pdftosrc binary and man page, bug #94860.
 

	
 
  02 Mar 2006; Martin Ehmsen <ehmsen@gentoo.org> tetex-2.0.2-r8.ebuild,
 
  tetex-2.0.2-r9.ebuild:
 
  Removed usage of missing tetex-2.0.2-flex-compile.patch, bug #124580.
 

	
 
  28 Feb 2006; Martin Ehmsen <ehmsen@gentoo.org> +files/pst-circ.pro,
 
  tetex-3.0_p1-r2.ebuild:
 
  Added pst-circ.pro to /usr/share/texmf/dvips/pstricks thanks to
 
  Henning Gunther <der_eq@freenet.de>, bug #123714.
 

	
 
*tetex-2.0.2-r9 (01 Mar 2006)
 

	
 
  01 Mar 2006; Alexandre Buisse <nattfodd@gentoo.org>
 
  +files/tetex-2.0.2-use-system-libtool.patch, tetex-2.0.2-r8.ebuild,
 
  +tetex-2.0.2-r9.ebuild:
 
  Make tetex-2 use the system libtool so it can build a shared version of
 
  libkpathsea and evince is happy. Thanks to Patrick McLean for the patch.
 
  Closes bug #124134.
 

	
 
  15 Feb 2006; Martin Ehmsen <ehmsen@gentoo.org> tetex-3.0_p1-r2.ebuild:
 
  Use virtualx eclass to fix make test, bug #69439.
 

	
 
  13 Feb 2006; Martin Ehmsen <ehmsen@gentoo.org>
 
  +files/tetex-2.0.2-flex-unput.patch, tetex-2.0.2-r5.ebuild,
 
  tetex-2.0.2-r8.ebuild:
 
  Using supplied lexer rather than generating our own for omegafonts,
 
  thanks to Chris Torske <ct85711@gmail.com> and caleb, bug #122365.
 

	
 
*tetex-3.0_p1-r2 (08 Feb 2006)
 

	
 
  08 Feb 2006; Martin Ehmsen <ehmsen@gentoo.org> +tetex-3.0_p1-r2.ebuild:
 
  Added tete-3.0_p1-r2 which removes now uses pkg_postinst from the eclasses.
 
  It also pushes the changes made in the eclasses to fix bug #120515, #121811,
 
  and possible many more.
 

	
 
  08 Feb 2006; Alexandre Buisse <nattfodd@gentoo.org>
 
  tetex-3.0_p1-r1.ebuild:
 
  Changed einfo in big ewarn with procedure from bug #120515.
 

	
 
  07 Feb 2006; Aron Griffis <agriffis@gentoo.org> tetex-2.0.2-r8.ebuild:
 
  Mark 2.0.2-r8 stable on alpha
 

	
 
  02 Feb 2006; Martin Ehmsen <ehmsen@gentoo.org> +tetex-1.0.7-r13.ebuild:
 
  Readded tetex-1.0.7-r13 because stuff depends on it (which they shouldn't).
 

	
 
  02 Feb 2006; Martin Ehmsen <ehmsen@gentoo.org> -tetex-1.0.7-r13.ebuild,
 
  tetex-3.0_p1-r1.ebuild:
 
  added export LC_ALL=C to tetex-3 to fix bug #119856.
 
  Removed tetex-1 since it is old, not used and not ported to modular X.
 

	
 
  25 Jan 2006; Joshua Jackson <tsunam@gentoo.org> tetex-2.0.2-r8.ebuild:
 
  stable on x86; bug #115775
 

	
 
  25 Jan 2006; Mike Doty <kingtaco@gentoo.org> tetex-2.0.2-r8.ebuild:
 
  amd64 stable #115775
 

	
 
  24 Jan 2006; Markus Rothe <corsair@gentoo.org> tetex-2.0.2-r8.ebuild:
 
  Stable on ppc64; bug #115775
 

	
 
  24 Jan 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  tetex-2.0.2-r8.ebuild:
 
  ppc stable, bug #115775
 

	
 
  24 Jan 2006; Rene Nussbaumer <killerfox@gentoo.org> tetex-2.0.2-r8.ebuild:
 
  Stable on hppa. See bug #115775.
 

	
 
  24 Jan 2006; Gustavo Zacarias <gustavoz@gentoo.org> tetex-2.0.2-r8.ebuild:
 
  Stable on sparc wrt security #115775
 

	
 
*tetex-2.0.2-r8 (23 Jan 2006)
 

	
 
  23 Jan 2006; Alexandre Buisse <nattfodd@gentoo.org>
 
  +files/xpdf-2.02pl1-CAN-2005-3191-3.patch, -tetex-2.0.2-r6.ebuild,
 
  -tetex-2.0.2-r7.ebuild, +tetex-2.0.2-r8.ebuild:
 
  Added security fixes from bug #115775 (xpdf buffer overflow)
 

	
 
*tetex-3.0_p1-r1 (22 Jan 2006)
 

	
 
  22 Jan 2006; Alexandre Buisse <nattfodd@gentoo.org>
 
  +files/tetex-3.0_p1-fmtutil-etex.patch,
 
  +files/tetex-3.0_p1-xpdf-vulnerabilities.patch, +tetex-3.0_p1-r1.ebuild:
 
  Fixes fmtutil problems with elatex not being found and texi2dvi/etex
 
  complaining about being stymied, closing bug #98029. Thanks to Tupone
 
  Alfredo for one of the patches. Also security fixes of xpdf code from bug
 
  #115775.
 

	
 
  21 Jan 2006; Alexandre Buisse <nattfodd@gentoo.org>
 
  +files/tetex-2.0.2-dvi-draw-conflicting-types.patch,
 
  tetex-2.0.2-r5.ebuild, tetex-2.0.2-r6.ebuild, tetex-2.0.2-r7.ebuild:
 
  Added a patch to fix a compilation error in texk/xdvik/dvi-draw.c for
 
  tetex-2.0.2, closing bug #118264. Credit goes to GerbilSoft.
 

	
 
*tetex-3.0_p1 (13 Jan 2006)
 

	
 
  13 Jan 2006; Alexandre Buisse <nattfodd@gentoo.org>
 
  +files/tetex-3.0_p1-amd64-xdvik-wp.patch,
 
  +files/tetex-3.0_p1-mptest.patch, +tetex-3.0_p1.ebuild:
 
  Use a new tarball provided by upstream with regeneration of autotools files
 
  with newer version. Corrects bug 113024 with libtool complaining about
 
  missing --tag. Added a patch to correct a typo for amd64 and skip a broken
 
  test with metapost (more investigation of that one is needed).
 

	
 
*tetex-3.0-r4 (02 Dec 2005)
 
*tetex-2.0.2-r7 (02 Dec 2005)
 

	
 
  02 Dec 2005; Alexandre Buisse <nattfodd@gentoo.org>
 
  +files/tetex-2.0.2-epstopdf-wrong-rotation.patch,
 
  +files/tetex-3.0-epstopdf-wrong-rotation.patch, +tetex-2.0.2-r7.ebuild,
 
  +tetex-3.0-r4.ebuild:
 
  Bump to fix wrong rotation and handling of filenames with spaces in epstopdf
 
  (bug #85404). Thanks to Fabio Rossi and Horst Schirmeier for the patch.
 

	
 
  30 Sep 2005; MATSUU Takuto <matsuu@gentoo.org> tetex-2.0.2-r5.ebuild:
 
  Stable on sh.
 

	
 
*tetex-3.0-r3 (13 Sep 2005)
 

	
 
  13 Sep 2005; <dang@gentoo.org> +files/tetex-3.0-kpathsea-pic.patch,
 
  +tetex-3.0-r3.ebuild:
 
  Revbump to make a shared version of libkpathsea.  Bug #105418
 

	
 
*tetex-3.0-r2 (09 Apr 2005)
 

	
 
  09 Apr 2005; Mamoru KOMACHI <usata@gentoo.org> +tetex-3.0-r2.ebuild:
 
  Added virtex symlink. This closes bug #88187.
 

	
 
  05 Apr 2005; Mamoru KOMACHI <usata@gentoo.org> -tetex-2.0.2-r4.ebuild,
 
  tetex-2.0.2-r5.ebuild, tetex-2.0.2-r6.ebuild, tetex-3.0-r1.ebuild:
 
  Changed to use tetex-2 and tetex-3, respectively.
 

	
 
  02 Apr 2005; Mamoru KOMACHI <usata@gentoo.org> tetex-3.0-r1.ebuild:
 
  Fixed xdvi toolkit dependency; bug #87375. Removed ~mips for now;
 
  bug #87627.
 

	
 
  30 Mar 2005; Mamoru KOMACHI <usata@gentoo.org> tetex-3.0-r1.ebuild:
 
  Blocks latex-beamer; bug #60835.
 

	
 
*tetex-2.0.2-r6 (21 Feb 2005)
 

	
 
  21 Feb 2005; Mamoru KOMACHI <usata@gentoo.org> +tetex-2.0.2-r6.ebuild,
 
  tetex-3.0-r1.ebuild, -tetex-3.0.ebuild:
 
  Revbump to push out fixed texmf-update. Removed 3.0.
 

	
 
  20 Feb 2005; Aron Griffis <agriffis@gentoo.org> tetex-2.0.2-r5.ebuild:
 
  stable on ia64 #75801
 

	
 
  13 Feb 2005; Mamoru KOMACHI <usata@gentoo.org> tetex-3.0-r1.ebuild:
 
  (Hopefully) fixes sandbox violation; bug #81703.
 

	
 
*tetex-3.0-r1 (11 Feb 2005)
 

	
 
  11 Feb 2005; Mamoru KOMACHI <usata@gentoo.org> +tetex-3.0-r1.ebuild:
 
  Fixed sandbox issue (bug #81533). Uses -sys variants of updmap, texconfig
 
  and fmtutil. Moved updmap.cfg from /usr/share/texmf/web2c to
 
  /var/lib/texmf/web2c.
 

	
 
*tetex-3.0 (09 Feb 2005)
 

	
 
  09 Feb 2005; Mamoru KOMACHI <usata@gentoo.org>
 
  -tetex-2.99.9.20050111.ebuild, +tetex-3.0.ebuild:
 
  Version bumped. See bug #60835.
 

	
 
  26 Jan 2005; Guy Martin <gmsoft@gentoo.org> tetex-2.0.2-r5.ebuild:
 
  Stable on hppa.
 

	
 
  21 Jan 2005; Lars Weiler <pylon@gentoo.org> tetex-2.0.2-r5.ebuild:
 
  Stable on ppc; bug #75801.
 

	
 
*tetex-2.99.9.20050111 (21 Jan 2005)
 

	
 
  21 Jan 2005; Mamoru KOMACHI <usata@gentoo.org> -tetex-2.0.2-r3.ebuild,
 
  -tetex-2.99.3.20041109-r1.ebuild, -tetex-2.99.5.20041207.ebuild,
 
  +tetex-2.99.9.20050111.ebuild:
 
  Version bumped.
 

	
 
  21 Jan 2005; Hardave Riar <hardave@gentoo.org> tetex-2.0.2-r5.ebuild:
 
  Stable on mips, bug #75801.
 

	
 
  20 Jan 2005; Ferris McCormick <fmccor@gentoo.org> tetex-2.0.2-r5.ebuild:
 
  Stable for sparc, bug 75801. Builds, installs, and seems to create documents
 
  correctly.
 

	
 
  20 Jan 2005; Markus Rothe <corsair@gentoo.org> tetex-2.0.2-r5.ebuild:
 
  Stable on ppc64; bug #75801
 

	
 
  20 Jan 2005; Olivier Cr?te <tester@gentoo.org> tetex-2.0.2-r5.ebuild:
 
  Stable on x86 bug 75801
 

	
 
  20 Jan 2005; Bryan Østergaard <kloeri@gentoo.org> tetex-2.0.2-r5.ebuild:
 
  Stable on alpha, bug 75801.
 

	
 
  19 Jan 2005; Mike Doty <kingtaco@gentoo.org> tetex-2.0.2-r5.ebuild:
 
  stable on amd64 bug 75801
 

	
 
*tetex-2.0.2-r5 (19 Jan 2005)
 

	
 
  19 Jan 2005; MATSUU Takuto <matsuu@gentoo.org> +files/xdvizilla.patch,
 
  +files/xpdf-3.00pl2-CAN-2004-1125.patch,
 
  +files/xpdf-3.00pl3-CAN-2005-0064.patch,
 
  +files/xpdf-CESA-2004-007-xpdf2-newer.diff, +files/xpdf-goo-sizet.patch,
 
  +files/xpdf2-underflow.patch, +tetex-2.0.2-r5.ebuild:
 
  security bump; bug #75801
 

	
 
*tetex-2.99.5.20041207 (09 Dec 2004)
 

	
 
  09 Dec 2004; Mamoru KOMACHI <usata@gentoo.org>
 
  -tetex-2.99.3.20041109.ebuild, +tetex-2.99.5.20041207.ebuild:
 
  Version bumepd.
 

	
 
*tetex-2.99.3.20041109-r1 (21 Nov 2004)
 

	
 
  21 Nov 2004; Mamoru KOMACHI <usata@gentoo.org>
 
  -tetex-2.99.1.20041026.ebuild, +tetex-2.99.3.20041109-r1.ebuild:
 
  Added neXt USE flag.
 

	
 
*tetex-2.99.3.20041109 (19 Nov 2004)
 

	
 
  19 Nov 2004; Mamoru KOMACHI <usata@gentoo.org>
 
  +tetex-2.99.3.20041109.ebuild:
 
  Added new beta version.
 

	
 
  07 Nov 2004; Mamoru KOMACHI <usata@gentoo.org> +files/iso-8859-7.def,
 
  tetex-2.0.2-r4.ebuild:
 
  Added iso-8859-7.def. Thanks to Pantelis Panayiotou <oss@hyperlife.com.cy>;
 
  bug #65093.
 

	
 
*tetex-2.99.1.20041026 (28 Oct 2004)
 
*tetex-2.0.2-r4 (28 Oct 2004)
 

	
 
  28 Oct 2004; Mamoru KOMACHI <usata@gentoo.org>
 
  -files/tetex-2.96.7.20040721-dont-run-config.diff,
 
  -files/tetex-2.96.7.20040721.diff,
 
  +files/tetex-2.99.1.20041026-dont-run-config.diff,
 
  +files/tetex-2.99.1.20041026-etex.diff, +files/tetex-2.99.1.20041026.diff,
 
  +tetex-2.0.2-r4.ebuild, -tetex-2.96.7.20040721.ebuild,
 
  +tetex-2.99.1.20041026.ebuild:
 
  Version bumped (bug #60835). Added 2.0.2-r4 to push out xdvi fix(bug #68883).
 

	
 
*tetex-2.96.7.20040721 (17 Oct 2004)
 

	
 
  17 Oct 2004; Mamoru KOMACHI <usata@gentoo.org>
 
  +files/tetex-2.96.7.20040721-dont-run-config.diff,
 
  +files/tetex-2.96.7.20040721.diff, +tetex-2.96.7.20040721.ebuild:
 
  Added tetex-beta distribution; bug #60835.
 

	
 
  17 Aug 2004; Mamoru KOMACHI <usata@gentoo.org> tetex-1.0.7-r13.ebuild:
 
  Corrected missing dvips-secure.diff. (It was in patch archive but not
 
  applied.) This closes bug #60603.
 

	
 
  04 Aug 2004; Daniel Black <dragonheart@gentoo.org> :
 
  Manifest fix - contained removed patch
 

	
 
  31 Jul 2004; Mamoru KOMACHI <usata@gentoo.org> -files/teTeX-1.0-dvips.diff,
 
  -files/teTeX-1.0-gentoo.diff, -files/tetex-1.0.7-dont-run-config.diff,
 
  -files/tetex-1.0.7-dvips-secure.diff, -files/tetex-1.0.7-picins.diff,
 
  tetex-1.0.7-r13.ebuild:
 
  Archived patches in files directory and put them on Gentoo mirrors.
 

	
 
  01 Jul 2004; Tom Gall <tgall@gentoo.org> tetex-2.0.2-r3.ebuild:
 
  stable on ppc64, bug #54799
 

	
 
  08 May 2004; Danny van Dyk <kugelfang@gentoo.org> tetex-2.0.2-r3.ebuild:
 
  Workaround for BUG #50417. Replacing -O3 by -O2 on amd64.
 

	
 
  25 Mar 2004; Joshua Kinard <kumba@gentoo.org> tetex-2.0.2-r3.ebuild:
 
  Marked stable on mips.
 

	
 
  09 Mar 2004; <agriffis@gentoo.org> tetex-2.0.2-r3.ebuild:
 
  stable on alpha and ia64
 

	
 
  25 Feb 2004; Joshua Kinard <kumba@gentoo.org> tetex-2.0.2-r3.ebuild:
 
  Added ~mips to KEYWORDS to satisfy repoman deps.
 

	
 
  21 Feb 2004; Jason Wever <weeve@gentoo.org> tetex-2.0.2-r3.ebuild:
 
  Marked stable on sparc, fixes bug #37110.
 

	
 
  21 Feb 2004; Mamoru KOMACHI <usata@gentoo.org> tetex-1.0.7-r13.ebuild,
 
  tetex-2.0.2-r1.ebuild, tetex-2.0.2-r3.ebuild:
 
  Removed inherit eutils and flag-o-matic since epatch and filter-flags
 
  are now part of portage.  Also moved filter-flags to src_compile() to
 
  kill "has_version() in global scope" warning.
 

	
 
  31 Dec 2003; Mike Gardiner <obz@gentoo.org> tetex-2.0.2-r1.ebuild,
 
  tetex-2.0.2-r3.ebuild:
 
  Removed ~mips and ~arm, as a dependency (libwww) is not available on those
 
  architectures
 

	
 
  09 Dec 2003; Seemant Kulleen <seemant@gentoo.org> tetex-1.0.7-r13.ebuild,
 
  tetex-2.0.2-r1.ebuild, tetex-2.0.2-r3.ebuild:
 
  tetex has NO reason to install a crap readlink man page. man-pages provides a
 
  superior version anyway, so added patch to disable installing it
 

	
 
*tetex-2.0.2-r3 (13 Nov 2003)
 

	
 
  11 Jan 2004; Guy Martin <gmsoft@gentoo.org> tetex-2.0.2-r3.ebuild :
 
  Marked stable on hppa.
 

	
 
  13 Nov 2003; Mamoru KOMACHI <usata@gentoo.org> tetex-2.0.2-r3.ebuild:
 
  inherit tetex.eclass (app-text/ptex and app-text/cstetex inherit it
 
  too). Mostly identical to tetex-2.0.2-r2, but take care of symlinks
 
  left behind /usr/bin after unmerge. See bug #31657.
 

	
 
*tetex-2.0.2-r2 (04 Nov 2003)
 

	
 
  04 Nov 2003; Mike Gardiner <obz@gentoo.org> tetex-2.0.2-r2.ebuild:
 
  Added fix for hyperref, see bug #31967. A few small ebuild changes
 

	
 
  07 Oct 2003; John Mylchreest <johnm@gentoo.org>; tetex-2.0.2-r1.ebuild:
 
  fixing POSIX 1003.1-2001 chown change. '.' now ':'
 

	
 
  30 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> tetex-1.0.7-r12.ebuild,
 
  tetex-1.0.7-r13.ebuild:
 
  Removed control character from picins.sty. Thanks to Jan Fikar
 
  <jan.fikar@ext.univ-poitiers.fr> for reporting the bug on #28180.
 

	
 
  27 Sep 2003; Mike Gardiner <obz@gentoo.org> tetex-2.0.2-r1.ebuild,
 
  tetex-2.0.2.ebuild:
 
  Fixed listings.sty location, and marked stable on x86. Thanks to John Steele
 
  Scott <toojays@toojays.net> for help on bug #29723
 

	
 
  18 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> tetex-1.0.7-r12.ebuild,
 
  tetex-1.0.7-r13.ebuild, tetex-2.0.2-r1.ebuild, tetex-2.0.2.ebuild:
 
  Explicitly specify !app-text/ptex in DEPEND list.
 

	
 
  09 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> tetex-1.0.7-r12.ebuild,
 
  tetex-1.0.7-r13.ebuild, tetex-2.0.2-r1.ebuild, tetex-2.0.2.ebuild,
 
  files/tetex-1.0.7-dvips-secure.diff, files/tetex-1.0.7-r11-gentoo.diff,
 
  files/tetex-1.0.7-r12-gentoo.diff, files/tetex-2.0-dont-run-config.diff,
 
  files/tetex-2.0.diff, files/texmf.dif:
 
  Simplified tetex-1.0.7-r??-gentoo.diff.  This closes Bug #28136.
 
  Removed old unnecessary patches.
 

	
 
*tetex-2.0.2-r1 (06 Sep 2003)
 
*tetex-1.0.7-r13 (06 Sep 2003)
 

	
 
  06 Sep 2003; Daniel Robbins <drobbins@gentoo.org> tetex-2.0.2-r1.ebuild,
 
  tetex-1.0.7-r13.ebuild: removed png, libwww and ncurses USE variables, which
 
  were off by default.  This fixes bugs 14709 and 20843.  We want tetex to use
 
  *our* libpng, libwww and ncurses packages so that we can track dependencies
 
  correctly. The internal libwww was using mysql sometimes, resulting in fried
 
  compiles since it seemed to often mis-detect mysql availability. Our libwww
 
  ebuild does much better. Also added an RDEPEND fix (tons of stuff was
 
  missing.)
 
  
 
  14 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> tetex-1.0.7-r12.ebuild: Added
 
  virtual/tetex PROVIDE
 

	
 
  02 Aug 2003; Todd Sunderlin <todd@gentoo.org> tetex-2.0.2.ebuild:
 
  Marked stable for sparc
 

	
 
*tetex-2.0.2 (14 Mar 2003)
 

	
 
  29 Jul 2003; Mamoru KOMACHI <usata@gentoo.org> tetex-2.0.2.ebuild:
 
  Added virtual/tetex. app-text/ptex (Japanized teTeX) also provides
 
  virtual/tetex.
 

	
 
  12 Apr 2003; Joshua Brindle <method@gentoo.org> tetex-1.0.7-r12.ebuild,
 
  tetex-2.0.2.ebuild:
 
  added filter-flag -fstack-protector
 

	
 
  09 Apr 2003; Matthew Turk <satai@gentoo.org> tetex-1.0.7-r12.ebuild,
 
  tetex-2.0.2.ebuild:
 
  Updated homepage variable.  Thanks to Eric Sammer!
 

	
 
  14 Mar 2003; Matthew Turk <satai@gentoo.org> tetex-2.0.2.ebuild,
 
  files/tetex-2.0.2-dont-run-config.diff, files/tetex-2.0.2.diff:
 
  Version bump.  Not many changes.  Still not using texmf-gg.
 

	
 
  25 Feb 2003; Guy Martin <gmsoft@gentoo.org> tetex-1.0.7-r10.ebuild :
 
  Added hppa to keywords.
 

	
 
  07 Feb 2003; Matthew Turk <satai@gentoo.org> :
 
  Config protect /usr/share/texmf/tex/generic/config/
 
  /usr/share/texmf/tex/platex/config/ in order to keep hyphenation patterns
 
  between updates.
 

	
 
  06 Feb 2003; Matthew Turk <satai@gentoo.org> :
 
  Re-enable vardir font creation.  This fixes letting ordinary users generate
 
  font metrics.
 

	
 
*tetex-2.0-r1 (05 Feb 2003)
 

	
 
  21 Feb 2003; Aron Griffis <agriffis@gentoo.org> tetex-2.0-r1.ebuild :
 
  Mark stable on Alpha
 

	
 
  05 Feb 2003; Matthew Turk <satai@gentoo.org> :
 
  Revision bump.  Added a patch to fix the local tree.  Also enabled a number
 
  of Babel formats.  Installation should be all fixed now, too.
 

	
 
  04 Feb 2003; Matthew Turk <satai@gentoo.org> : tetex-2.0.ebuild
 
  Fixed installation woes; will now manually remove /usr/share/texmf/dvipdfm if
 
  it exists.  This should clear up problems with conflicts between versions of
 
  dvipdfm storing configuration in slightly different fashions.
 

	
 
  05 Feb 2003; Martin Schlemmer <azarah@gentoo.org> tetex-2.0.ebuild :
 
  Updated to use epatch.
 

	
 
  03 Feb 2003; Matthew Turk <satai@gentoo.org> tetex-1.0.7-r12.ebuild :
 
  Fixed tetex-1.0.7-r12 to install manpages in correct location.  The make
 
  install function seems to be broken in 1.0.7, so I had to hardcode man1 into
 
  it.  This is not the case in 2.0.  Didn't bump revision so as to encourage
 
  testing of 2.0.
 

	
 
*tetex-2.0 (02 Feb 2003)
 

	
 
  02 Feb 2003; Matthew Turk <satai@gentoo.org> tetex-2.0.ebuild :
 
  teTeX-2.0 is released!  This should fix *so* many bugs it's just
 
  unbelievable...  Still leaving marked unstable for the freeze, however.
 

	
 
  18 Jan 2003; Aron Griffis <agriffis@gentoo.org> tetex-1.0.7-r12.ebuild :
 
  Fix bug 13789 again, this time by taking Felix's suggestion.  Thought I had
 
  it fixed the first time, this time I'm even more thinkful.
 

	
 
  18 Jan 2003; Aron Griffis <agriffis@gentoo.org> tetex-1.0.7-r12.ebuild :
 
  Fix bug 13789 by pulling in a couple hints from the RH rpm, specifically the
 
  texmfmain=... part.  Fixed a typo in the specification of datadir and use
 
  econf/emake/einstall.  Also check for USE=zlib.
 

	
 
*tetex-20030112 (13 Jan 2003)
 

	
 
  13 Jan 2003; Matthew Turk <satai@gentoo.org> tetex-20030112.ebuild :
 
  Version bump to a pretest, for those who wish to help out.  Masked in
 
  package.mask.
 

	
 
  07 Jan 2003; Aron Griffis <agriffis@gentoo.org> tetex-1.0.7-r11.ebuild :
 
  Add alpha to KEYWORDS
 

	
 
  03 Jan 2003; Matthew Turk <satai@gentoo.org> :
 
  Uncommented the scrollmode fix, which should allow fmtutil to work properly.
 

	
 
  02 Jan 2003; Matthew Turk <satai@gentoo.org> :
 
  Added a fix to generate all missing format files upon installation.
 

	
 
  02 Jan 2003; Matthew Turk <satai@gentoo.org> :
 
  Added a fix to allow dvips to recognize when secure mode is turned off.
 
  Closes 11579.
 

	
 
  06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
 
 
 
*tetex-1.0.7-r12 (12 Apr 2003)
 
 
 
  11 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> :
 
  Added missing changelog entry.
 

	
 
*tetex-1.0.7-r11 (18 Oct 2002)
 

	
 
  07 Nov 2002; Nicholas Jones <carpaski@gentoo.org> :
 
	unpack line fix.
 

	
 
  18 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> :
 
  Security update.
 

	
 
  21 Sep 2002; Martin Schlemmer <azarah@gentoo.org> tetex-1.0.7-r10.ebuild :
 

	
 
    Backport all the fixes in tetex-20020901-r1.ebuild.  Only problem now is
 
    that it seems that portage do not change permissions on a directory if
 
    it already exists ...
 

	
 
  19 Sep 2002; Martin Schlemmer <azarah@gentoo.org> tetex-20020901-r1.ebuild :
 

	
 
    Ok, this stupid thing still had problems with ownership and unpacking
 
    on one of my boxes.  Should be fixed now.
 

	
 
  16 Sep 2002; Martin Schlemmer <azarah@gentoo.org> tetex-20020901-r1.ebuild :
 

	
 
    Some cleanups and <tab> fixes.  Fix permissions on /usr/share/texmf
 
    (fowners is not recursive).  Add a patch for not running the config
 
    stuff during 'make install', as we should rather do it in src_unpack().
 

	
 
*tetex-20020901-r1 (11 Sep 2002)
 

	
 
  11 Sep 2002; satai <satai@gentoo.org> tetex-20020901-r1.ebuild :
 

	
 
    Added patch to change TEXMFLOCAL to /usr/local/share/texmf .
 

	
 
*tetex-20020901 (11 Sep 2002)
 

	
 
  11 Sep 2002; satai <satai@gentoo.org> tetex-20020901-r1.ebuild :
 

	
 
    Fixed (kludgy) texconfig problem by replacing tcdialog with dialog from
 
    ncurses.  Remains unchanged for USE=-ncurses.
 

	
 
*tetex-20020901 (05 Sep 2002)
 

	
 
  05 Sep 2002; satai <satai@gentoo.org> tetex-20020901.ebuild :
 

	
 
    Added new, pretest version.  Should fix LOTS of problems...
 

	
 
*tetex-1.0.7-r11 (22 Aug 2002)
 

	
 
  22 Aug 2002; satai <satai@gentoo.org> tetex-1.0.7-r11.ebuild :
 

	
 
  Changed default behavior to fix numerous bugs - now font generation is, by
 
  default, available for all users.
 

	
 
*tetex-1.0.7-r10 (20 Jun 2002)
 

	
 
  2 Aug 2002; phoen][x <phoenix@gentoo.org> tetex-1.0.7-r10.ebuild :
 
  Added SLOT.
 

	
 
  15 Jul 2002; Owen Stampflee <owen@gentoo.org> :
 

	
 
  Added KEYWORDS.
 

	
 
  20 Jun 2002; Seemant Kulleen <seemant@gentoo.org> tetex-1.0.7-r10.ebuild
 
  files/digest-tetex-1.0.7-r10 :
 

	
 
  Fixed libwww configure option, so it now knows where to look for the
 
  headers.  This closes bug #3928 by marktrolley@gmail.com (Mark Trolley)
 

	
 
*tetex-1.0.7-r9 (24 Apr 2002)
 

	
 
  25 Mar 2003; Seemant Kulleen <seemant@gentoo.org> tetex-1.0.7-r9.ebuild:
 
  removed ncurse from IUSE
 

	
 
  2 Aug 2002; phoen][x <phoenix@gentoo.org> tetex-1.0.7-r9.ebuild :
 
  Added SLOT.
 

	
 
  24 Apr 2002; Seemant Kulleen <seemant@gentoo.org> tetex-1.0.7-r9.ebuild
 
  files/digest-tetex-1.0.7-r9 :
 

	
 
  Fixed the permissions problem so that 501.501 is not the owner on
 
  /usr/share/texmf files.  The solution was presented in bug #1901 by
 
  bardur-gta@odense.kollegienet.dk (Bardur Arantsson)
 

	
 
  13 Apr 2002; M.Schlemmer <azarah@gentoo.org> tetex-1.0.7-r8.ebuild :
 

	
 
  Fix the DEPEND and RDEPEND to actually specify libpng-1.2.1.
 

	
 
*tetex-1.0.7-r8 (12 Apr 2002)
 

	
 
  12 Apr 2002; Seemant Kulleen <seemant@gentoo.org> tetex-1.0.7-r8.ebuild :
 

	
 
  Compile against newest libpng
 

	
 
*tetex-1.0.7-r7 (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.
app-text/tetex/Manifest
Show inline comments
 
new file 100644
 
AUX iso-8859-7.def 4419 RMD160 89cec35cd02edb20aee902ef3291fb0b24b0a5aa SHA1 c1e6b8fcf237d4e4752f4809ee36aa80120f9bd2 SHA256 416c45c4b7578414ba62094b95923dfd58571256b7267246ee3f2025f09111dc
 
AUX pst-circ.pro 661 RMD160 035f7330b14c46c2a92069147e30b2de4f4764f0 SHA1 81f22fcf880e99d258c17488156742740e6751fe SHA256 0d6f2fbcc4f8aa69f8974fcc803be6748407fe1ad64181c357364bdd308919e4
 
AUX tetex-2.0.2-dvi-draw-conflicting-types.patch 410 RMD160 8417f8ee01a46fe1c066d7fd2cd20c7f33ab0a52 SHA1 ff903e1b682d320eb10f17da49146e680953c02b SHA256 5f6a525bb57f25a722178716e142a6555058903be0ce3944263b424896941126
 
AUX tetex-2.0.2-epstopdf-wrong-rotation.patch 525 RMD160 e91170dbe19f8f56706159349e55aac1f77d47bc SHA1 78bc1c2091eadfa32870910a6188de5f13421157 SHA256 7a1787521bbffc0bf74e59e658bc5fc38916e7e10ee840e88b5357aa9096df4b
 
AUX tetex-2.0.2-flex-unput.patch 498 RMD160 834d9c73bcbd2cecedd51c31b38e742e6919b31f SHA1 e2c95d2ddf811647f0dae5eb977b2b5555ce2233 SHA256 40305736699ab42b68203b43483f669aee57b98dad5ee60eb05d19d8e5d7652d
 
AUX tetex-2.0.2-skip_bibtex_test.patch 632 RMD160 7665b17ab552afef10f7a8dad521fdfc923b53a0 SHA1 9abe4ab80dd72792d228c56e0f7b70e314da52ef SHA256 29e7bfa84e4794de82bd78047024c4b5aa3b33cbe8adc88384eb0e53c22b5f89
 
AUX tetex-2.0.2-use-system-libtool.patch 15523 RMD160 272ea8cbbdf8d56516d819036a56e5045caccef5 SHA1 b92ed1d24e828bc31b541d39f0f88bfc79c1fb77 SHA256 356293ef8f95b444dfa98d052aa3fd58f03d9baf916ce462b712fd1dfec81b8d
 
AUX tetex-3.0-epstopdf-wrong-rotation.patch 521 RMD160 214286fa8333858a5627b8f88c6d540401ce2217 SHA1 a102888d9b1236e45146f962589e1d8fe8c7e54c SHA256 10f1987f03fc28d1cb5d13c090f0c508c1517c6acb02c65d91c93a0e8a01f683
 
AUX tetex-3.0-kpathsea-pic.patch 1791 RMD160 30c7da6951977eab26323509b7034a9a1cb6a809 SHA1 d5a894337e87c04daf2f98fdb3fcdab9cf55c8f2 SHA256 d00020bd51264210be5425d2392e373b9f3964302e4f24401c398f3704631691
 
AUX tetex-3.0_p1-CVE-2007-0650.patch 2615 RMD160 3e3f55a17e35e3da3a6f77d62939ed66d8ae5222 SHA1 28208eb13f493c1c9c6538f254f04fc0c2aaff1e SHA256 9cb5525070bc4ea0685ac8a2f87df1dbbd2dcee4989e7b22c9897acfe6b67628
 
AUX tetex-3.0_p1-amd64-xdvik-wp.patch 847 RMD160 e43bb9467e2e2ee072e7b77c755ec91c5a78e515 SHA1 2d2dfc52015b2b62a4eb1fc815edef2dc2c5c03b SHA256 f5dd9e2d2f74591370661992a082c4db92648eab6057435d0a8d377457571bef
 
AUX tetex-3.0_p1-bibtex-no-bad-newline.patch 2026 RMD160 6bf1ee1f0b7d6ce9b140378068b3b7e01e0d60af SHA1 ea102f197b1c03236eef5dcfe6c23413bc5edd52 SHA256 b763ec3dc5838813842beac6d810382ea1e581f482a32032698d0b1dcd0a1e02
 
AUX tetex-3.0_p1-create-empty-files.patch 1171 RMD160 908bfb3dedd721e021fc16c1ed9bee1159e5f947 SHA1 e929b5d8272ae81a65c726f139d4cfe14ea9a4a5 SHA256 3c2efa2cc82fccd5452e3ba49a9207264bcf06d2a4467158f4d5f45bd84b3268
 
AUX tetex-3.0_p1-dvipdfm-timezone.patch 1546 RMD160 9be8bb58b3be7add25ce30acb4eee08b35c85c5f SHA1 e3824f4fefa52927dda1327fb073c256e700ee14 SHA256 a441179d3f09c7faca63ccf85cd84ad64d117835ad925f33b0fcbc882ed9c827
 
AUX tetex-3.0_p1-dvips_bufferoverflow.patch 3032 RMD160 d82c40767b8614180e1487a95c923b99e92161b5 SHA1 1616aff45e9412ad861d75019a2c88a5122e5b23 SHA256 d5942c40589199d19dd4407b9bcdfeb13a2559de59e70ca986c3c16040788f6b
 
AUX tetex-3.0_p1-fmtutil-etex.patch 809 RMD160 1e366196609160db8a51b33a9203d0be41e6e644 SHA1 13a976c990d608fd9a9ba9bf9b18ed768a10feee SHA256 a024aad1fbdb53bf328ce2aeb7a4649da9c501442b313f4c361c9de0f7a4dd44
 
AUX tetex-3.0_p1-mptest.patch 367 RMD160 5669a8c815ecbc5d3bb03281f50360cad86c6e3a SHA1 0c1f6ab9e2cec3af63d10cabd802f10d6c3a0d07 SHA256 07b84a63d174a401d77ca62031fd1258496789038dd013c52896d9853efe10cd
 
AUX tetex-3.0_p1-pdftosrc-install.patch 970 RMD160 9ab2fbcbf2ca9789eb17ce5b482bae95703cbf39 SHA1 5285bda19c49325d9e39b5a5aa35da7980ac5ff4 SHA256 e21d2c77a719b8688b577d48197527d7021cc1e725694229d2b285f6ca31ae15
 
AUX tetex-3.0_p1-t1lib-SA26241_buffer_overflow.patch 627 RMD160 9c4b663fa960bbac698a70f808ce1fd75d4083e9 SHA1 095673160925babe6717225071dfb1da6583043c SHA256 e27c3f797280b668833dcb663c6808afd7e8c926725ac5e3847e7e6463d75849
 
AUX tetex-3.0_p1-texmf-site.patch 1289 RMD160 f7d352494acc84d70e404948310ef445d79c01b8 SHA1 5eec0cbc3211509fb8b0157cdd3dc288665b7ac7 SHA256 b444545ef6ed98d65d18a123c02b8452345fc3808ae7c2f22cf2205627b8f012
 
AUX tetex-3.0_p1-xpdf-CVE-2007-3387.patch 516 RMD160 fcfa307061c6052cec241adda6d7541105afa5bf SHA1 4435c9ccda332826c61d4a839fc608b5857d6cd6 SHA256 7cebc7643f54462de5504aeb6c331860beb9aae947bc80132d0ac8f9b0a2f109
 
AUX tetex-3.0_p1-xpdf-vulnerabilities.patch 4069 RMD160 e319c2212bdc7883fba436b7ac426cf10d734059 SHA1 82b90be026ba30eb621fdcc354bff23e797565eb SHA256 aa978d95ead2626eba04062b75abaab4a0c90d284a1f62461dc6195ed26e6962
 
AUX xdvizilla.patch 912 RMD160 79bf98f5b05cdc4e99147809e1ec6895e8843097 SHA1 3b8650a43b596beba305a9b9e3ed736ae6daf77f SHA256 cb7f0ca4758cd20d5a0a819dd87caa8f2d1df64aaac458e13b4bb3c43deb5204
 
AUX xpdf-2.02pl1-CAN-2005-3191-3.patch 7060 RMD160 3aa0387ac8bb005193bf4d5e190c8e43b2729a09 SHA1 b2f24dc58362c10aa9f85b9c6e9d4cacd3134e99 SHA256 d96036af3be0bab42b42abad600c7ef49f62b079b3deaa4108c999269be0c6f3
 
AUX xpdf-3.00pl2-CAN-2004-1125.patch 1136 RMD160 f11de185e9f7893b0bfb744db01739af13b5741e SHA1 6b476e011d340351a6122e027b4822a836a7413c SHA256 47dc9849b67313c7c7b6545ea8df4a9f97ceeffe818eb1a8e5eeeb3339bcb9ea
 
AUX xpdf-3.00pl3-CAN-2005-0064.patch 346 RMD160 7fb5521b698589245f9e0ccea753a6d4e30badf8 SHA1 c29b9ea13d1f8567a4521e12d50e497bf1681608 SHA256 c51f769fcac31cbb95dd3124deb1b658e0874a3a90fe17d9752c9be937773621
 
AUX xpdf-3.02pl2.patch 16908 RMD160 bc1fd86527442f44ec5cfec754f2053b700a3dbf SHA1 620ec9fe4a4d63766b35bbeaa3261fd772e54a15 SHA256 a7e993257d8ad3b03f9d509973db141823496873c192ed4335ce66f744c468a6
 
AUX xpdf-CESA-2004-007-xpdf2-newer.diff 2718 RMD160 0cf60c817b9868896c7d6fa678978c2c1244618c SHA1 ae1dc4e938501be9e2154dea2aecd79abd6ae9be SHA256 7df6d659edd6c79f89e0b2a54c65b9ae27dca57c00e7650fd3ae6273e7dc2ed1
 
AUX xpdf-goo-sizet.patch 1424 RMD160 c52769d3ac95b372593e22d46ad4742dc44e47d3 SHA1 a4883eaa770acca923fb48aecf72d7b68fea16b7 SHA256 d1a75bcb1764383ee1f5bd1c2d678cdadc69cd123069657f1dced0825964cbb0
 
AUX xpdf2-underflow.patch 2363 RMD160 110c32f97715d3eb0bcdf19db41a0ac7465d75d1 SHA1 722864fc52c418944c3b373543d0ed93a40aa0ab SHA256 88a06ef62c423805a0fed011db59e9c170a2482c29f0359dec8ae962395a28ba
 
DIST tetex-2.0.2-gentoo.tar.gz 1704 RMD160 f32700bfe389c9c15a72344770c7abe2ee048c38 SHA1 655379c710004ffe2cc65acf6c2efd424cecd109 SHA256 331ac072cf658c22b983b16439dc0e6f95cac0cc95f4d993fcb4bad883ea2622
 
DIST tetex-3.0_p1-dviljk-security-fixes.patch.bz2 8797 RMD160 ac8499fcc818c4d8fe69b9e2d7fcbe04514d3a04 SHA1 860d526d64d06a836e472aa61c76ecb0c932794f SHA256 30e14cbed1ac1f2f6b5c5f0066c54394d7f2f215fb96ec3870282947ad33c520
 
DIST tetex-3.0_p1-gentoo.tar.gz 604 RMD160 5da9d211792ab81d072f0fed65ac737aa3074a6b SHA1 e1f78f0d0136b80a8c51f66df40d098d5385249d SHA256 4e9236349a6d849db06fefcbbf5af7c333199312b461a06840cb8fd2eddd1ac6
 
DIST tetex-src-2.0.2.tar.gz 11745933 RMD160 9bbb274c0598547bcecb00ff48e459d41bc65e93 SHA1 6445206b14d659458ee352df78d2c2daf8e88ab3 SHA256 9f8a35b3abd293d71fa6785a4c3e6aa4fdaeff03ae71863ad5ec9e1a9fc087f5
 
DIST tetex-src-3.0_p1.tar.gz 13357541 RMD160 24d5029619675ce597782562bc1b87052235d461 SHA1 7d8a9be1d13881064b84c6ef84f74bec8f8724d3 SHA256 e67fff941ba95222ac8f0e17395446723fd78045fc2ff548ca40cc72086a4cc1
 
DIST tetex-texmf-2.0.2.tar.gz 52424280 RMD160 ff88622c2d97416a4f67fbdf7a00d837af35d94e SHA1 9ad88d5fc1df7e10b3538f7b5e3871ceefe8ee2f SHA256 0d5c4adb7a72a33fffa9eeb5e3137e0094c912eafc45e358ca20cd9257f79f0d
 
DIST tetex-texmf-3.0.tar.gz 91402377 RMD160 a1e87733fa3cbef04e39a690ed8549aeaaddb241 SHA1 1be97f57a26a6e9b72ebfd932e45914a959aff16 SHA256 6c3b8fa619749cbb28ca0f8847e56773d13e0bb92f1ea34287420950373640c2
 
DIST tetex-texmfsrc-2.0.2.tar.gz 22909537 RMD160 bc444152b2f45cf3c0a743f6416134e31e8635b4 SHA1 59c5a328800225c44beec9a9baf0f4223ac633c3 SHA256 9348f10c9e95fdb5e9a9702956cfce38be42c48621fcfc6c9ae192363e08d267
 
EBUILD tetex-2.0.2-r5.ebuild 1361 RMD160 8ca857d7bc7b126c4ee02ebc53927f68f0d9acf2 SHA1 fed69a9fb222eb1d28cde7ff9dcaefabed21d9cf SHA256 0b56e293fc7768792931f12351b544c10e61a26574f33540d24973d6bf7fe651
 
EBUILD tetex-2.0.2-r8.ebuild 1566 RMD160 b95ce90936cfdb4c248825d74a198977abddc367 SHA1 96240fa78a8ad90eed3bad30820e34a9833146b7 SHA256 3dd906f7aba0ef4e301149c3184eb9427a30f1cd753a87d51c522d728f935fe6
 
EBUILD tetex-2.0.2-r9.ebuild 1767 RMD160 1cd630e24684438631a9abd3b433c1b238abf80d SHA1 1d0da83558d5fbb50c6b8babd48490ecc4743e18 SHA256 1968823ee609932237198c2af2248d0c31289050c2e84e03229415916628fdb6
 
EBUILD tetex-3.0_p1-r6.ebuild 3367 RMD160 46eb5164d2aed49f9f05fe38d3021b6f99327b41 SHA1 33e44ed89fe3c66b0650894a29fa4930c7a24895 SHA256 0043554bcb30f37aea672b78c234d2061c053bfcc3a140dc451931d776330076
 
MISC ChangeLog 29468 RMD160 967c0bea38fcd58fa5d0257ee52c4e84fe869db1 SHA1 912abf1b014ae5989bfa78a26c6ab6dd645d0d8f SHA256 96af4d964d5d73c8c007f763781696259d11e9651db7aa915a248cc3264565c2
 
MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6
app-text/tetex/files/iso-8859-7.def
Show inline comments
 
new file 100644
 
 \ProvidesFile{iso-8859-7.def}
 
   [2000/05/28 v1.2 Greek input encoding file]
 
\message{iso-8859-7 input encoding file by Apostolos Syropoulos with modifications by C.Beccari)}
 
\DeclareInputText{128}{\textbullet}
 
\DeclareInputText{129}{\textbullet}
 
\DeclareInputText{130}{\textbullet}
 
\DeclareInputText{131}{\textbullet}
 
\DeclareInputText{132}{\textbullet}
 
\DeclareInputText{133}{\textbullet}
 
\DeclareInputText{134}{\textbullet}
 
\DeclareInputText{135}{\textbullet}
 
\DeclareInputText{136}{\textbullet}
 
\DeclareInputText{137}{\textbullet}
 
\DeclareInputText{138}{\textbullet}
 
\DeclareInputText{139}{\textbullet}
 
\DeclareInputText{140}{\textbullet}
 
\DeclareInputText{141}{\textbullet}
 
\DeclareInputText{142}{\textbullet}
 
\DeclareInputText{143}{\textbullet}
 
\DeclareInputText{144}{\textbullet}
 
\DeclareInputText{145}{``}
 
\DeclareInputText{146}{''}
 
\DeclareInputText{147}{``}
 
\DeclareInputText{148}{''}
 
\DeclareInputText{149}{\textbullet}
 
\DeclareInputText{150}{\textbullet}
 
\DeclareInputText{151}{\textbullet}
 
\DeclareInputText{152}{\textbullet}
 
\DeclareInputText{153}{\textbullet}
 
\DeclareInputText{154}{\textbullet}
 
\DeclareInputText{155}{\textbullet}
 
\DeclareInputText{156}{\textbullet}
 
\DeclareInputText{157}{\textbullet}
 
\DeclareInputText{158}{\textbullet}
 
\DeclareInputText{159}{\textbullet}
 
\DeclareInputText{160}{\textbullet}
 
\DeclareInputText{161}{\textbullet}
 
\DeclareInputText{162}{'A}
 
\DeclareInputText{163}{\textbullet}
 
\DeclareInputText{164}{\textbullet}
 
\DeclareInputText{165}{\textbullet}
 
\DeclareInputText{166}{\textbullet}
 
\DeclareInputText{167}{\textbullet}
 
\DeclareInputText{168}{\textbullet}
 
\DeclareInputText{169}{\textbullet}
 
\DeclareInputText{170}{\textbullet}
 
\DeclareInputText{171}{((}
 
\DeclareInputText{172}{\textbullet}
 
\DeclareInputText{173}{\textbullet}
 
\DeclareInputText{174}{\textbullet}
 
\DeclareInputText{175}{\textbullet}
 
\DeclareInputText{176}{\textbullet}
 
\DeclareInputText{177}{\textbullet}
 
\DeclareInputText{178}{\textbullet}
 
\DeclareInputText{179}{\textbullet}
 
\DeclareInputText{180}{\textbullet}
 
\DeclareInputText{181}{\textbullet}
 
\DeclareInputText{182}{'A}
 
\DeclareInputText{183}{\textbullet}
 
\DeclareInputText{184}{'E}
 
\DeclareInputText{185}{'H}
 
\DeclareInputText{186}{'I}
 
\DeclareInputText{187}{))}
 
\DeclareInputText{188}{'O}
 
\DeclareInputText{189}{\textbullet}
 
\DeclareInputText{190}{'U}
 
\DeclareInputText{191}{'W}
 
%\DeclareInputText{192}{"'i}
 
\chardef\idiaerac=242
 
\DeclareInputText{192}{\char\idiaerac}
 
\DeclareInputText{193}{A}
 
\DeclareInputText{194}{B}
 
\DeclareInputText{195}{G}
 
\DeclareInputText{196}{D}
 
\DeclareInputText{197}{E}
 
\DeclareInputText{198}{Z}
 
\DeclareInputText{199}{H}
 
\DeclareInputText{200}{J}
 
\DeclareInputText{201}{I}
 
\DeclareInputText{202}{K}
 
\DeclareInputText{203}{L}
 
\DeclareInputText{204}{M}
 
\DeclareInputText{205}{N}
 
\DeclareInputText{206}{X}
 
\DeclareInputText{207}{O}
 
\DeclareInputText{208}{P}
 
\DeclareInputText{209}{R}
 
\DeclareInputText{210}{\textbullet}
 
\DeclareInputText{211}{S}
 
\DeclareInputText{212}{T}
 
\DeclareInputText{213}{U}
 
\DeclareInputText{214}{F}
 
\DeclareInputText{215}{Q}
 
\DeclareInputText{216}{Y}
 
\DeclareInputText{217}{W}
 
%\DeclareInputText{218}{"I}
 
%\DeclareInputText{219}{"U}
 
\chardef\Idiaer=219
 
\chardef\Udiaer=223
 
\DeclareInputText{218}{\char\Idiaer}
 
\DeclareInputText{219}{\char\Udiaer}
 
\DeclareInputText{220}{'a}
 
\DeclareInputText{221}{'e}
 
\DeclareInputText{222}{'h}
 
\DeclareInputText{223}{'i}
 
%\DeclareInputText{224}{"'u}
 
\chardef\udiaerac=246
 
\DeclareInputText{224}{\char\udiaerac}
 
\DeclareInputText{225}{a}
 
\DeclareInputText{226}{b}
 
\DeclareInputText{227}{g}
 
\DeclareInputText{228}{d}
 
\DeclareInputText{229}{e}
 
\DeclareInputText{230}{z}
 
\DeclareInputText{231}{h}
 
\DeclareInputText{232}{j}
 
\DeclareInputText{233}{i}
 
\DeclareInputText{234}{k}
 
\DeclareInputText{235}{l}
 
\DeclareInputText{236}{m}
 
\DeclareInputText{237}{n}
 
\DeclareInputText{238}{x}
 
\DeclareInputText{239}{o}
 
\DeclareInputText{240}{p}
 
\DeclareInputText{241}{r}
 
\DeclareInputText{242}{s}
 
\DeclareInputText{243}{s}
 
\DeclareInputText{244}{t}
 
\DeclareInputText{245}{u}
 
\DeclareInputText{246}{f}
 
\DeclareInputText{247}{q}
 
\DeclareInputText{248}{y}
 
\DeclareInputText{249}{w}
 
%\DeclareInputText{250}{"i}
 
%\DeclareInputText{251}{"u}
 
\chardef\idiaer=240
 
\chardef\udiaer=244
 
\DeclareInputText{250}{\char\idiaer}
 
\DeclareInputText{251}{\char\udiaer}
 
\DeclareInputText{252}{'o}
 
\DeclareInputText{253}{'u}
 
\DeclareInputText{254}{'w}
 
\DeclareInputText{255}{\textbullet}
 
\endinput
app-text/tetex/files/pst-circ.pro
Show inline comments
 
new file 100644
 
%!
 
% PostScript prologue for pst-circ.tex.
 
% For distribution, see pstricks.tex.
 
%
 
/GetNode {
 
  tx@NodeDict begin
 
    tx@NodeDict 1 index known { load GetCenter } { pop 0 0 } ifelse
 
  end
 
} bind def /ZeroEq { abs 1E-10 lt } bind def /EqDr {
 
  4 copy 3 -1 roll sub 7 1 roll exch sub 5 1 roll 4 -1 roll
 
  mul 3 1 roll mul exch sub } bind def
 
/InterLines {
 
  EqDr /D1c exch def /D1b exch def /D1a exch def
 
  EqDr /D2c exch def /D2b exch def /D2a exch def
 
  D1a D2b mul D1b D2a mul sub dup ZeroEq
 
  { pop pop pop 0 0 }
 
  {
 
    /Det exch def
 
    D1b D2c mul D1c D2b mul sub Det div
 
    D1a D2c mul D2a D1c mul sub Det div
 
  }
 
  ifelse  } bind def
 
% END pst-circ.pro
app-text/tetex/files/tetex-2.0.2-dvi-draw-conflicting-types.patch
Show inline comments
 
new file 100644
 
--- tetex-src-2.0.2.old/texk/xdvik/dvi-draw.c      2003-01-25 05:16:33.000000000 -0500
 
+++ tetex-src-2.0.2/texk/xdvik/dvi-draw.c  2006-01-08 04:52:44.000000000 -0500
 
@@ -518,7 +518,7 @@
 

	
 
 #endif /* T1LIB */
 

	
 
-extern void home();  /* from events.c */
 
+extern void home(wide_bool scrl);  /* from events.c */
 
 extern int fallbacktfm; /* from tfmload.c */
 

	
 
 static struct frame frame0;    /* dummy head of list */
app-text/tetex/files/tetex-2.0.2-epstopdf-wrong-rotation.patch
Show inline comments
 
new file 100644
 
--- tetex-src-2.0.2.old/texk/tetex/epstopdf	2002-11-23 01:58:03.000000000 +0100
 
+++ tetex-src-2.0.2/texk/tetex/epstopdf	2005-12-02 19:57:55.000000000 +0100
 
@@ -194,7 +194,8 @@
 
 ### open output file
 
 if ($::opt_gs) {
 
   my $pipe = "$GS -q -sDEVICE=pdfwrite $GSOPTS " .
 
-          "-sOutputFile=$OutputFilename - -c quit";
 
+  	 "-dAutoRotatePages=/None " .
 
+         "\"-sOutputFile=$OutputFilename\" - -c quit";
 
   debug "Ghostscript pipe:", $pipe;
 
   open(OUT,"|$pipe") or error "Cannot open Ghostscript for piped input";
 
 }
app-text/tetex/files/tetex-2.0.2-flex-unput.patch
Show inline comments
 
new file 100644
 
diff -uNr tetex-src-2.0.2.old/texk/web2c/omegafonts/Makefile.in tetex-src-2.0.2/texk/web2c/omegafonts/Makefile.in
 
--- tetex-src-2.0.2.old/texk/web2c/omegafonts/Makefile.in	2001-11-10 14:42:37.000000000 +0100
 
+++ tetex-src-2.0.2/texk/web2c/omegafonts/Makefile.in	2006-02-13 12:38:48.000000000 +0100
 
@@ -40,7 +40,7 @@
 
 	-test -f y.tab.h && mv -f y.tab.h y_tab.h
 
 $(LEX_OUTPUT_ROOT).o: parser.h
 
 $(LEX_OUTPUT_ROOT).c: pl.l
 
-	$(LEX) $(srcdir)/pl.l
 
+	cp $(srcdir)/lex.yy.c-dist $(srcdir)/lex.yy.c
 
 
 
 
 
 
app-text/tetex/files/tetex-2.0.2-skip_bibtex_test.patch
Show inline comments
 
new file 100644
 
--- tetex-src-2.0.2/texk/web2c/Makefile.in	2006-11-29 00:28:35.000000000 +0100
 
+++ tetex-src-2.0.2/texk/web2c/Makefile.in.new	2006-11-29 00:56:13.000000000 +0100
 
@@ -855,7 +855,7 @@
 
 # Testing, including triptrap. The `x' filenames are for output.
 
 @TEX@tex_check = tex-check
 
 @ETEX@etex_check = etex-check
 
-check: bibtex-check dvicopy-check dvitomp-check dvitype-check \
 
+check: dvicopy-check dvitomp-check dvitype-check \
 
        $(etex_check) gftodvi-check gftopk-check gftype-check \
 
        mf-check mft-check mpost-check patgen-check pktogf-check \
 
        pktype-check pltotf-check pooltype-check $(tex_check) tftopl-check \
app-text/tetex/files/tetex-2.0.2-use-system-libtool.patch
Show inline comments
 
new file 100644
 
diff -ur tetex-src-2.0.2-orig/texk/acklibtool.m4 tetex-src-2.0.2/texk/acklibtool.m4
 
--- tetex-src-2.0.2-orig/texk/acklibtool.m4	1997-10-03 11:38:16.000000000 +0000
 
+++ tetex-src-2.0.2/texk/acklibtool.m4	2006-02-28 17:23:29.000000000 +0000
 
@@ -13,12 +13,7 @@
 
 # scan PATH.  For one thing, if we found it somewhere there, we couldn't
 
 # use that directory to put the config file ... and that's what we need
 
 # to do, to avoid having to configure in every subdirectory.
 
-LIBTOOL=$ac_aux_dir/klibtool
 
-AC_SUBST(LIBTOOL)
 
-if test ! -r $LIBTOOL; then
 
-  AC_MSG_ERROR([klibtool not in $ac_aux_dir, goodbye])
 
-  exit 1
 
-fi
 
+LIBTOOL=libtool
 
 #
 
 ## Argument parsing: we support --enable-shared and --enable-static.
 
 AC_ARG_ENABLE(shared,
 
diff -ur tetex-src-2.0.2-orig/texk/dviljk/Makefile.in tetex-src-2.0.2/texk/dviljk/Makefile.in
 
--- tetex-src-2.0.2-orig/texk/dviljk/Makefile.in	2002-12-08 10:31:49.000000000 +0000
 
+++ tetex-src-2.0.2/texk/dviljk/Makefile.in	2006-02-28 20:18:24.000000000 +0000
 
@@ -58,13 +58,13 @@
 
 install-exec:
 
 	$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) $(scriptdir)
 
 	test ! -f $(program) \
 
-	  || $(INSTALL_LIBTOOL_PROG) $(bindir) $(program)
 
+	  || $(INSTALL_LIBTOOL_PROG) $(program) $(bindir)
 
 	test ! -f $(program2p) \
 
-	  || $(INSTALL_LIBTOOL_PROG) $(bindir) $(program2p)
 
+	  || $(INSTALL_LIBTOOL_PROG) $(program2p) $(bindir)
 
 	test ! -f $(program4) \
 
-	  || $(INSTALL_LIBTOOL_PROG) $(bindir) $(program4)
 
+	  || $(INSTALL_LIBTOOL_PROG) $(program4) $(bindir)
 
 	test ! -f $(program4l) \
 
-	  || $(INSTALL_LIBTOOL_PROG) $(bindir) $(program4l)
 
+	  || $(INSTALL_LIBTOOL_PROG) $(program4l) $(bindir)
 
 	$(INSTALL_SCRIPT) $(srcdir)/dvihp $(scriptdir)/dvihp
 
 	rm -f $(bindir)/$(program6); $(LN) $(program4) $(bindir)/$(program6)
 
 uninstall-exec:
 
diff -ur tetex-src-2.0.2-orig/texk/dvipdfm/Makefile.in tetex-src-2.0.2/texk/dvipdfm/Makefile.in
 
--- tetex-src-2.0.2-orig/texk/dvipdfm/Makefile.in	2003-02-16 01:03:45.000000000 +0000
 
+++ tetex-src-2.0.2/texk/dvipdfm/Makefile.in	2006-02-28 20:20:29.000000000 +0000
 
@@ -50,8 +50,8 @@
 
 
 
 install-exec:
 
 	$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
 
-	$(INSTALL_LIBTOOL_PROG) $(bindir) $(program)
 
-	$(INSTALL_LIBTOOL_PROG) $(bindir) ebb
 
+	$(INSTALL_LIBTOOL_PROG) $(program) $(bindir)
 
+	$(INSTALL_LIBTOOL_PROG) ebb $(bindir)
 
 	$(INSTALL_SCRIPT) $(srcdir)/dvipdft $(bindir)
 
 
 
 uninstall-exec:
 
diff -ur tetex-src-2.0.2-orig/texk/dvipsk/Makefile.in tetex-src-2.0.2/texk/dvipsk/Makefile.in
 
--- tetex-src-2.0.2-orig/texk/dvipsk/Makefile.in	2003-01-31 18:07:46.000000000 +0000
 
+++ tetex-src-2.0.2/texk/dvipsk/Makefile.in	2006-02-28 20:20:55.000000000 +0000
 
@@ -73,7 +73,7 @@
 
 
 
 install-exec: all
 
 	$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) $(scriptdir) $(fontdir)
 
-	for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
 
+	for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
 
 uninstall-exec:
 
 	for p in $(programs); do rm -f $(bindir)/$$p; done
 
 
 
diff -ur tetex-src-2.0.2-orig/texk/etc/autoconf/acspecific.m4 tetex-src-2.0.2/texk/etc/autoconf/acspecific.m4
 
--- tetex-src-2.0.2-orig/texk/etc/autoconf/acspecific.m4	2003-02-18 06:46:57.000000000 +0000
 
+++ tetex-src-2.0.2/texk/etc/autoconf/acspecific.m4	2006-02-28 19:20:16.000000000 +0000
 
@@ -119,7 +119,7 @@
 
 
 
 AC_DEFUN(AC_PROG_CXX,
 
 [AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl
 
-AC_CHECK_PROGS(CXX, $CCC c++ g++ gcc CC cxx cc++ cl, gcc)
 
+AC_CHECK_PROGS(CXX, $CCC g++ gcc CC cxx cc++ cl, gcc)
 
 
 
 AC_PROG_CXX_WORKS
 
 AC_PROG_CXX_GNU
 
diff -ur tetex-src-2.0.2-orig/texk/gsftopk/Makefile.in tetex-src-2.0.2/texk/gsftopk/Makefile.in
 
--- tetex-src-2.0.2-orig/texk/gsftopk/Makefile.in	2002-11-12 20:59:35.000000000 +0000
 
+++ tetex-src-2.0.2/texk/gsftopk/Makefile.in	2006-02-28 20:22:58.000000000 +0000
 
@@ -35,7 +35,7 @@
 
 
 
 install-exec: $(program)
 
 	$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
 
-	$(INSTALL_LIBTOOL_PROG)  $(bindir) $(program)
 
+	$(INSTALL_LIBTOOL_PROG) $(program) $(bindir)
 
 uninstall-exec:
 
 	rm -f $(bindir)/$(program)
 
 
 
diff -ur tetex-src-2.0.2-orig/texk/kpathsea/Makefile.in tetex-src-2.0.2/texk/kpathsea/Makefile.in
 
--- tetex-src-2.0.2-orig/texk/kpathsea/Makefile.in	2003-02-15 17:21:42.000000000 +0000
 
+++ tetex-src-2.0.2/texk/kpathsea/Makefile.in	2006-02-28 22:15:34.000000000 +0000
 
@@ -33,10 +33,10 @@
 
 library = kpathsea
 
 
 
 # We want to compile almost everything with libtool ...
 
-KPATHSEA_CC = $(LIBTOOL) compile "$(CC)"
 
+KPATHSEA_CC = $(LIBTOOL) --mode=compile "$(CC)"
 
 .SUFFIXES: .lo
 
 .c.lo:
 
-	$(KPATHSEA_CC) $< $(ALL_CFLAGS)
 
+	$(KPATHSEA_CC) $(ALL_CFLAGS) $<
 
 
 
 default all: kpsewhich kpsestat access readlink $(library).info manfiles
 
 
 
@@ -52,15 +52,8 @@
 
 readlink: readlink.o
 
 	$(link_command) readlink.o
 
 
 
-$(kpathsea): $(objects) klibtool.version
 
-	$(LIBTOOL) archive $(AR) $(ARFLAGS) $@ $(objects)
 
-
 
-# All the objects depend on the klibtool configuration file.
 
-$(objects): ../klibtool.config
 
-
 
-# Create klibtool.version in the build tree
 
-klibtool.version:
 
-	$(LN) $(srcdir)/kpathsea.version $@
 
+$(kpathsea): $(objects)
 
+	$(LIBTOOL) --mode=link $(CC) $(objects) -rpath $(libdir) -o $@
 
 
 
 # Make variable substitutions for paths.h.
 
 texmf.cnf: texmf.in texmf.sed
 
@@ -180,8 +173,8 @@
 
 	$(INSTALL_SCRIPT) $(srcdir)/mktexnam $(web2cdir)/mktexnam
 
 	$(INSTALL_DATA) $(srcdir)/mktexnam.opt $(web2cdir)/mktexnam.opt
 
 	$(INSTALL_SCRIPT) $(srcdir)/mktexupd $(web2cdir)/mktexupd
 
-	$(INSTALL_LIBTOOL_LIBS) $(libdir) lib$(library).la
 
-	$(INSTALL_LIBTOOL_PROG) $(bindir) kpsewhich
 
+	$(INSTALL_LIBTOOL_LIBS) lib$(library).la $(libdir)
 
+	$(INSTALL_LIBTOOL_PROG) kpsewhich $(bindir)
 
 	$(INSTALL_PROGRAM) kpsestat $(bindir)
 
 	$(INSTALL_PROGRAM) access $(bindir)
 
 	$(INSTALL_PROGRAM) readlink $(bindir)
 
diff -ur tetex-src-2.0.2-orig/texk/kpathsea/configure tetex-src-2.0.2/texk/kpathsea/configure
 
--- tetex-src-2.0.2-orig/texk/kpathsea/configure	2003-02-18 04:12:52.000000000 +0000
 
+++ tetex-src-2.0.2/texk/kpathsea/configure	2006-02-28 17:20:36.000000000 +0000
 
@@ -1382,12 +1382,8 @@
 
 # scan PATH.  For one thing, if we found it somewhere there, we couldn't
 
 # use that directory to put the config file ... and that's what we need
 
 # to do, to avoid having to configure in every subdirectory.
 
-LIBTOOL=$ac_aux_dir/klibtool
 
+LIBTOOL="libtool"
 
 
 
-if test ! -r $LIBTOOL; then
 
-  { echo "configure: error: klibtool not in $ac_aux_dir, goodbye" 1>&2; exit 1; }
 
-  exit 1
 
-fi
 
 #
 
 ## Argument parsing: we support --enable-shared and --enable-static.
 
 # Check whether --enable-shared or --disable-shared was given.
 
Only in tetex-src-2.0.2/texk/kpathsea: tetex-2.0.2-use-system-libtool.patch
 
diff -ur tetex-src-2.0.2-orig/texk/make/common.mk tetex-src-2.0.2/texk/make/common.mk
 
--- tetex-src-2.0.2-orig/texk/make/common.mk	2003-01-24 19:22:12.000000000 +0000
 
+++ tetex-src-2.0.2/texk/make/common.mk	2006-02-28 19:32:46.000000000 +0000
 
@@ -12,7 +12,7 @@
 
 LDFLAGS = @LDFLAGS@ $(XLDFLAGS)
 
 
 
 # Kpathsea needs this for compiling, programs need it for linking.
 
-LIBTOOL = $(kpathsea_srcdir_parent)/klibtool
 
+LIBTOOL = libtool
 
 
 
 # You can change [X]CPPFLAGS, [X]CFLAGS, or [X]DEFS, but
 
 # please don't change ALL_CPPFLAGS or ALL_CFLAGS.
 
@@ -32,8 +32,8 @@
 
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
 INSTALL_DATA = @INSTALL_DATA@
 
-INSTALL_LIBTOOL_LIBS = INSTALL_DATA='$(INSTALL_DATA)' $(LIBTOOL) install-lib
 
-INSTALL_LIBTOOL_PROG = INSTALL_PROGRAM='$(INSTALL_PROGRAM)' $(LIBTOOL) install-prog
 
+INSTALL_LIBTOOL_LIBS = $(LIBTOOL) --mode=install $(INSTALL_DATA)
 
+INSTALL_LIBTOOL_PROG = $(LIBTOOL) --mode=install $(INSTALL_PROGRAM)
 
 
 
 # Creating (symbolic) links.
 
 LN = @LN_S@
 
diff -ur tetex-src-2.0.2-orig/texk/make/programs.mk tetex-src-2.0.2/texk/make/programs.mk
 
--- tetex-src-2.0.2-orig/texk/make/programs.mk	2001-10-27 10:21:12.000000000 +0000
 
+++ tetex-src-2.0.2/texk/make/programs.mk	2006-02-28 18:48:03.000000000 +0000
 
@@ -15,5 +15,5 @@
 
 
 
 # When we link with Kpathsea, have to take account that it might be a
 
 # shared library, etc.
 
-kpathsea_link = $(LIBTOOL) link $(link_command)
 
+kpathsea_link = $(LIBTOOL) --mode=link $(link_command)
 
 # End of programs.mk.
 
diff -ur tetex-src-2.0.2-orig/texk/makeindexk/Makefile.in tetex-src-2.0.2/texk/makeindexk/Makefile.in
 
--- tetex-src-2.0.2-orig/texk/makeindexk/Makefile.in	2002-11-12 20:57:06.000000000 +0000
 
+++ tetex-src-2.0.2/texk/makeindexk/Makefile.in	2006-02-28 20:21:17.000000000 +0000
 
@@ -20,7 +20,7 @@
 
 
 
 install-exec: $(programs)
 
 	$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
 
-	$(INSTALL_LIBTOOL_PROG) $(bindir) $(program)
 
+	$(INSTALL_LIBTOOL_PROG) $(program) $(bindir)
 
 	$(INSTALL_SCRIPT) $(srcdir)/mkindex $(scriptdir)/mkindex
 
 uninstall-exec:
 
 	cd $(bindir) && rm -f $(program)
 
diff -ur tetex-src-2.0.2-orig/texk/odvipsk/Makefile.in tetex-src-2.0.2/texk/odvipsk/Makefile.in
 
--- tetex-src-2.0.2-orig/texk/odvipsk/Makefile.in	2003-01-31 18:08:27.000000000 +0000
 
+++ tetex-src-2.0.2/texk/odvipsk/Makefile.in	2006-02-28 20:21:40.000000000 +0000
 
@@ -61,7 +61,7 @@
 
 
 
 install-exec: all
 
 	$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) $(scriptdir)
 
-	for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
 
+	for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
 
 uninstall-exec:
 
 	for p in $(programs); do rm -f $(bindir)/$$p; done
 
 
 
diff -ur tetex-src-2.0.2-orig/texk/oxdvik/Makefile.in tetex-src-2.0.2/texk/oxdvik/Makefile.in
 
--- tetex-src-2.0.2-orig/texk/oxdvik/Makefile.in	2003-02-02 18:53:12.000000000 +0000
 
+++ tetex-src-2.0.2/texk/oxdvik/Makefile.in	2006-02-28 20:21:52.000000000 +0000
 
@@ -102,7 +102,7 @@
 
 
 
 install-exec: $(program)
 
 	$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
 
-	for p in $(program); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
 
+	for p in $(program); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
 
 	$(INSTALL_SCRIPT) $(srcdir)/oxdvi-sh $(scriptdir)/oxdvi
 
 uninstall-exec:
 
 
 
diff -ur tetex-src-2.0.2-orig/texk/ps2pkm/Makefile.in tetex-src-2.0.2/texk/ps2pkm/Makefile.in
 
--- tetex-src-2.0.2-orig/texk/ps2pkm/Makefile.in	2002-11-12 20:59:14.000000000 +0000
 
+++ tetex-src-2.0.2/texk/ps2pkm/Makefile.in	2006-02-28 20:22:06.000000000 +0000
 
@@ -36,7 +36,7 @@
 
 
 
 install-exec: $(programs)
 
 	$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
 
-	for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
 
+	for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
 
 uninstall-exec:
 
 	for p in $(programs); do rm -f $(bindir)/$$p; done
 
 
 
diff -ur tetex-src-2.0.2-orig/texk/web2c/Makefile.in tetex-src-2.0.2/texk/web2c/Makefile.in
 
--- tetex-src-2.0.2-orig/texk/web2c/Makefile.in	2003-02-01 16:51:16.000000000 +0000
 
+++ tetex-src-2.0.2/texk/web2c/Makefile.in	2006-02-28 20:06:08.000000000 +0000
 
@@ -38,7 +38,7 @@
 
 CXX = @CXX@
 
 CXXLD = $(CXX)
 
 cxx_link_command = $(CXXLD) -o $@ $(LDFLAGS)
 
-kpathsea_cxx_link = $(LIBTOOL) link $(cxx_link_command)
 
+kpathsea_cxx_link = $(LIBTOOL) --mode=link $(cxx_link_command)
 
 
 
 @MAINT@ifeq ($(CC), gcc)
 
 @MAINT@XDEFS = -Wimplicit -Wreturn-type -Wcomment -Wformat
 
@@ -581,7 +581,7 @@
 
 	$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) $(texpooldir) \
 
 	  $(mfpooldir) $(mppooldir)
 
 	cd mpware && $(MAKE) $(install_makeargs) install-exec
 
-	for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
 
+	for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
 
 @OMEGA@	cd omegafonts && $(MAKE) $(install_makeargs) install-programs install-links
 
 @OMEGA@	cd otps && $(MAKE) $(install_makeargs) install-programs
 
 
 
diff -ur tetex-src-2.0.2-orig/texk/web2c/configure tetex-src-2.0.2/texk/web2c/configure
 
--- tetex-src-2.0.2-orig/texk/web2c/configure	2003-02-21 14:49:42.000000000 +0000
 
+++ tetex-src-2.0.2/texk/web2c/configure	2006-02-28 19:19:21.000000000 +0000
 
@@ -2807,7 +2807,7 @@
 
   # First test whether the compiler works in a subshell, and if so,
 
   # do it again in the main shell so we see the result.
 
 (
 
-  for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
 
+  for ac_prog in $CCC g++ gcc CC cxx cc++ cl
 
 do
 
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 
 set dummy $ac_prog; ac_word=$2
 
@@ -2952,7 +2952,7 @@
 
 fi
 
 
 
 ) && {
 
-  for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
 
+  for ac_prog in $CCC g++ gcc CC cxx cc++ cl
 
 do
 
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 
 set dummy $ac_prog; ac_word=$2
 
diff -ur tetex-src-2.0.2-orig/texk/web2c/mpware/Makefile.in tetex-src-2.0.2/texk/web2c/mpware/Makefile.in
 
--- tetex-src-2.0.2-orig/texk/web2c/mpware/Makefile.in	2001-12-15 19:30:18.000000000 +0000
 
+++ tetex-src-2.0.2/texk/web2c/mpware/Makefile.in	2006-02-28 20:05:21.000000000 +0000
 
@@ -47,8 +47,8 @@
 
 install-exec: $(programs)
 
 	$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) $(scriptdir)
 
 	$(INSTALL_PROGRAM) newer $(bindir)/newer
 
-	$(INSTALL_LIBTOOL_PROG) $(bindir) dmp
 
-	$(INSTALL_LIBTOOL_PROG) $(bindir) mpto
 
+	$(INSTALL_LIBTOOL_PROG) dmp $(bindir)
 
+	$(INSTALL_LIBTOOL_PROG) mpto $(bindir)
 
 	$(INSTALL_SCRIPT) makempx $(scriptdir)/makempx
 
 install-data:
 
 
 
diff -ur tetex-src-2.0.2-orig/texk/web2c/omegadir/omega.mk tetex-src-2.0.2/texk/web2c/omegadir/omega.mk
 
--- tetex-src-2.0.2-orig/texk/web2c/omegadir/omega.mk	2002-11-12 17:35:32.000000000 +0000
 
+++ tetex-src-2.0.2/texk/web2c/omegadir/omega.mk	2006-02-28 20:23:45.000000000 +0000
 
@@ -117,7 +117,7 @@
 
 # The actual binary executables and pool files.
 
 install-omega-programs: $(omega_programs)
 
 	$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
 
-	for p in omega; do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
 
+	for p in omega; do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
 
 	cd otps && $(MAKE) $(install_makeargs) install-programs
 
 	cd omegafonts && $(MAKE) $(install_makeargs) install-programs
 
 
 
diff -ur tetex-src-2.0.2-orig/texk/web2c/omegafonts/Makefile.in tetex-src-2.0.2/texk/web2c/omegafonts/Makefile.in
 
--- tetex-src-2.0.2-orig/texk/web2c/omegafonts/Makefile.in	2001-11-10 13:42:37.000000000 +0000
 
+++ tetex-src-2.0.2/texk/web2c/omegafonts/Makefile.in	2006-02-28 20:11:23.000000000 +0000
 
@@ -53,7 +53,7 @@
 
 
 
 install-programs: $(programs)
 
 	$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) 
 
-	for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
 
+	for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
 
 
 
 install-links: install-programs
 
 	for f in ""$(linked_programs); do \
 
diff -ur tetex-src-2.0.2-orig/texk/web2c/otps/Makefile.in tetex-src-2.0.2/texk/web2c/otps/Makefile.in
 
--- tetex-src-2.0.2-orig/texk/web2c/otps/Makefile.in	2000-06-20 22:27:56.000000000 +0000
 
+++ tetex-src-2.0.2/texk/web2c/otps/Makefile.in	2006-02-28 20:12:28.000000000 +0000
 
@@ -36,7 +36,7 @@
 
 
 
 install-programs: $(programs)
 
 	$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) 
 
-	for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
 
+	for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
 
 	for p in $(scripts); do $(INSTALL_SCRIPT) $(srcdir)/$$p $(scriptdir); done
 
 
 
 Makefile: Makefile.in ../config.status
 
diff -ur tetex-src-2.0.2-orig/texk/xdvik/Makefile.in tetex-src-2.0.2/texk/xdvik/Makefile.in
 
--- tetex-src-2.0.2-orig/texk/xdvik/Makefile.in	2003-02-02 18:53:22.000000000 +0000
 
+++ tetex-src-2.0.2/texk/xdvik/Makefile.in	2006-02-28 20:23:59.000000000 +0000
 
@@ -103,7 +103,7 @@
 
 
 
 install-exec: $(program)
 
 	$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
 
-	for p in $(program); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
 
+	for p in $(program); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
 
 	$(INSTALL_SCRIPT) $(srcdir)/$(perlprog) $(scriptdir)/$(perlprog)
 
 	$(INSTALL_SCRIPT) $(srcdir)/xdvi-sh $(scriptdir)/xdvi
 
 	$(INSTALL_SCRIPT) $(srcdir)/xdvizilla $(scriptdir)/xdvizilla
app-text/tetex/files/tetex-3.0-epstopdf-wrong-rotation.patch
Show inline comments
 
new file 100644
 
--- tetex-src-3.0/texk/tetex/epstopdf.orig	2005-11-28 01:34:05.000000000 +0100
 
+++ tetex-src-3.0/texk/tetex/epstopdf	2005-10-22 19:25:12.000000000 +0200
 
@@ -205,7 +205,8 @@
 
 ### open output file
 
 if ($::opt_gs) {
 
   my $pipe = "$GS -q -sDEVICE=pdfwrite $GSOPTS " .
 
-          "-sOutputFile=$OutputFilename - -c quit";
 
+      "-dAutoRotatePages=/None " .
 
+      "\"-sOutputFile=$OutputFilename\" - -c quit";
 
   debug "Ghostscript pipe:", $pipe;
 
   open(OUT,"|$pipe") or error "Cannot open Ghostscript for piped input";
 
 }
app-text/tetex/files/tetex-3.0-kpathsea-pic.patch
Show inline comments
 
new file 100644
 
diff --exclude-from=/home/dang/.diffrc -u -ruN tetex-src-3.0.orig/texk/kpathsea/configure tetex-src-3.0/texk/kpathsea/configure
 
--- tetex-src-3.0.orig/texk/kpathsea/configure	2005-02-06 13:27:03.000000000 -0500
 
+++ tetex-src-3.0/texk/kpathsea/configure	2005-09-09 00:25:48.000000000 -0400
 
@@ -5546,7 +5546,11 @@
 
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
 
 
 
 # Always use our own libtool.
 
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
+if [ "${USERLAND}" = "Darwin" ]; then
 
+LIBTOOL='glibtool'
 
+else
 
+LIBTOOL='libtool'
 
+fi
 
 
 
 # Prevent multiple expansion
 
 
 
diff --exclude-from=/home/dang/.diffrc -u -ruN tetex-src-3.0.orig/texk/libtool.m4 tetex-src-3.0/texk/libtool.m4
 
--- tetex-src-3.0.orig/texk/libtool.m4	2003-02-15 08:03:23.000000000 -0500
 
+++ tetex-src-3.0/texk/libtool.m4	2005-09-09 00:17:12.000000000 -0400
 
@@ -30,8 +30,12 @@
 
 # This can be used to rebuild libtool when needed
 
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
 
 
 
-# Always use our own libtool.
 
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
+# Use the system libtool
 
+if [ "${USERLAND}" = "Darwin" ]; then
 
+LIBTOOL='glibtool'
 
+else
 
+LIBTOOL='libtool'
 
+fi
 
 AC_SUBST(LIBTOOL)dnl
 
 
 
 # Prevent multiple expansion
 
diff --exclude-from=/home/dang/.diffrc -u -ruN tetex-src-3.0.orig/texk/make/common.mk tetex-src-3.0/texk/make/common.mk
 
--- tetex-src-3.0.orig/texk/make/common.mk	2004-08-06 14:40:50.000000000 -0400
 
+++ tetex-src-3.0/texk/make/common.mk	2005-09-09 15:02:35.000000000 -0400
 
@@ -12,7 +12,11 @@
 
 LDFLAGS = @LDFLAGS@ $(XLDFLAGS)
 
 
 
 # Kpathsea needs this for compiling, programs need it for linking.
 
-LIBTOOL = $(SHELL) $(kpathsea_parent)/libtool
 
+ifeq ($(USERLAND),Darwin)
 
+LIBTOOL='glibtool'
 
+else
 
+LIBTOOL='libtool'
 
+endif
 
 
 
 # You can change [X]CPPFLAGS, [X]CFLAGS, or [X]DEFS, but
 
 # please don't change ALL_CPPFLAGS or ALL_CFLAGS.
app-text/tetex/files/tetex-3.0_p1-CVE-2007-0650.patch
Show inline comments
 
new file 100644
 
--- tetex-src-3.0/texk/makeindexk/mkind.c.CVE-2007-0650	2002-10-02 14:26:37.000000000 +0200
 
+++ tetex-src-3.0/texk/makeindexk/mkind.c	2007-02-02 12:29:31.000000000 +0100
 
@@ -179,7 +179,9 @@
 
 		    argc--;
 
 		    if (argc <= 0)
 
 			FATAL("Expected -p <num>\n","");
 
-		    strcpy(pageno, *++argv);
 
+		    if (strlen(*++argv) >= sizeof(pageno))
 
+			FATAL("Page number too high\n","");
 
+		    strcpy(pageno, *argv);
 
 		    init_page = TRUE;
 
 		    if (STREQ(pageno, EVEN)) {
 
 			log_given = TRUE;
 
@@ -230,7 +232,7 @@
 
 		char tmp[STRING_MAX + 5];
 
 		
 
 		/* base set by last call to check_idx */
 
-		sprintf (tmp, "%s%s", base, INDEX_STY);
 
+		snprintf (tmp, sizeof(tmp), "%s%s", base, INDEX_STY);
 
 		if (0 == access(tmp, R_OK)) {
 
 			open_sty (tmp);
 
 			sty_given = TRUE;
 
@@ -405,9 +407,9 @@
 
 		    STRING_MAX,totmem);
 
 #endif /* DEBUG */
 
 
 
-	    if ((idx_fn = (char *) malloc(STRING_MAX)) == NULL)
 
+	    if ((idx_fn = (char *) malloc(STRING_MAX+5)) == NULL)
 
 		FATAL("Not enough core...abort.\n", "");
 
-	    sprintf(idx_fn, "%s%s", base, INDEX_IDX);
 
+	    snprintf(idx_fn, STRING_MAX+5, "%s%s", base, INDEX_IDX);
 
 	    if ((open_fn && 
 
 	 ((idx_fp = OPEN_IN(idx_fn)) == NULL)
 
 	) ||
 
@@ -434,7 +436,7 @@
 
 
 
     /* index output file */
 
     if (!ind_given) {
 
-	sprintf(ind, "%s%s", base, INDEX_IND);
 
+	snprintf(ind, sizeof(ind), "%s%s", base, INDEX_IND);
 
 	ind_fn = ind;
 
     }
 
     if ((ind_fp = OPEN_OUT(ind_fn)) == NULL)
 
@@ -442,14 +444,14 @@
 
 
 
     /* index transcript file */
 
     if (!ilg_given) {
 
-	sprintf(ilg, "%s%s", base, INDEX_ILG);
 
+	snprintf(ilg, sizeof(ilg), "%s%s", base, INDEX_ILG);
 
 	ilg_fn = ilg;
 
     }
 
     if ((ilg_fp = OPEN_OUT(ilg_fn)) == NULL)
 
 	FATAL("Can't create transcript file %s.\n", ilg_fn);
 
 
 
     if (log_given) {
 
-	sprintf(log_fn, "%s%s", base, INDEX_LOG);
 
+	snprintf(log_fn, sizeof(log_fn), "%s%s", base, INDEX_LOG);
 
 	if ((log_fp = OPEN_IN(log_fn)) == NULL) {
 
 	    FATAL("Source log file %s not found.\n", log_fn);
 
 	} else {
 
@@ -505,6 +507,9 @@
 
   if ((found = kpse_find_file (fn, kpse_ist_format, 1)) == NULL) {
 
      FATAL("Index style file %s not found.\n", fn);
 
   } else {
 
+    if (strlen(found) >= sizeof(sty_fn)) {
 
+      FATAL("Style file %s too long.\n", found);
 
+    }
 
     strcpy(sty_fn,found);
 
     if ((sty_fp = OPEN_IN(sty_fn)) == NULL) {
 
       FATAL("Could not open style file %s.\n", sty_fn);
 
@@ -512,6 +517,9 @@
 
   }
 
 #else
 
     if ((path = getenv(STYLE_PATH)) == NULL) {
 
+        if (strlen(fn) >= sizeof(sty_fn)) {
 
+          FATAL("Style file %s too long.\n", fn);
 
+        }
 
 	/* style input path not defined */
 
 	strcpy(sty_fn, fn);
 
 	sty_fp = OPEN_IN(sty_fn);
app-text/tetex/files/tetex-3.0_p1-amd64-xdvik-wp.patch
Show inline comments
 
new file 100644
 
--- tetex-src-3.0/texk/xdvik/x_util.c	2005-12-06 16:04:45.000000000 +0100
 
+++ tetex-src-3.0/texk/xdvik/x_util.c.new	2006-01-06 13:13:22.000000000 +0100
 
@@ -205,15 +205,15 @@
 
     w = (*((xuint32 *) window_p));
 
 #else
 
 # if WORDS_BIGENDIAN
 
-    w = ((unsigned long)wp[0] << 24) |
 
-	((unsigned long)wp[1] << 16) |
 
-	((unsigned long)wp[2] << 8)  |
 
-	(unsigned long)wp[3];
 
+    w = ((unsigned long)window_p[0] << 24) |
 
+	((unsigned long)window_p[1] << 16) |
 
+	((unsigned long)window_p[2] << 8)  |
 
+	(unsigned long)window_p[3];
 
 # else
 
-    w = ((unsigned long)wp[3] << 24) |
 
-	((unsigned long)wp[2] << 16) |
 
-	((unsigned long)wp[1] << 8)  |
 
-	(unsigned long)wp[0];
 
+    w = ((unsigned long)window_p[3] << 24) |
 
+	((unsigned long)window_p[2] << 16) |
 
+	((unsigned long)window_p[1] << 8)  |
 
+	(unsigned long)window_p[0];
 
 # endif
 
 #endif
 
     return w;
app-text/tetex/files/tetex-3.0_p1-bibtex-no-bad-newline.patch
Show inline comments
 
new file 100644
 
--- tetex-src-3.0/texk/web2c/bibtex.ch	2005-12-06 10:03:56.000000000 -0500
 
+++ tetex-src-3.0.nonl/texk/web2c/bibtex.ch	2008-02-24 23:05:35.000000000 -0500
 
@@ -1047,28 +1047,24 @@
 
     char2 := x_entry_strs(ptr2)(char_ptr);
 
 @z
 
 
 
-% We shouldn't try to split a \% combo, as the result is an escaped % at
 
-% end-of-line, and a line beginning with a %, which leads to rest being
 
-% ignored.  This is a special case of the general problem that we shouldn't
 
-% split macro invocations either -- however, the best way to avoid that is
 
-% not to split lines at all.
 
-@x [324] Check whether we're trying to break a \% combo.
 
+@x[324] Get rid of this silly business of breaking these lines
 
 out_buf[end_ptr] := out_buf[max_print_line-1];  {save this character}
 
 out_buf[max_print_line-1] := comment;           {so \TeX\ does the thing right}
 
 out_buf_length := max_print_line;
 
 break_ptr := out_buf_length - 1;        {the `|-1|' allows for the restoration}
 
 output_bbl_line;                                {output what we can,}
 
 out_buf[max_print_line-1] := out_buf[end_ptr];  {restore this character}
 
+out_buf_ptr := 0;
 
+tmp_ptr := break_ptr;
 
+while (tmp_ptr < end_ptr) do                    {and slide the rest down}
 
+    begin
 
+    out_buf[out_buf_ptr] := out_buf[tmp_ptr];
 
+    incr(out_buf_ptr);
 
+    incr(tmp_ptr);
 
+    end;
 
+out_buf_length := end_ptr - break_ptr;
 
 @y
 
-if out_buf[max_print_line-1] = comment then {assume \% combo here}
 
-  out_buf_length := max_print_line - 1
 
-else
 
-  out_buf_length := max_print_line;
 
-break_ptr := out_buf_length - 1;        {the `|-1|' allows for the restoration}
 
-out_buf[end_ptr] := out_buf[break_ptr];  {save this character}
 
-out_buf[break_ptr] := comment;           {so \TeX\ does the thing right}
 
-output_bbl_line;                                {output what we can,}
 
-out_buf[break_ptr] := out_buf[end_ptr];  {restore this character}
 
+output_bbl_line;                               {output the whole line rather than breaking it up}
 
 @z
 
 
 
 @x [327] Add check for fieldinfo[] overflow.
app-text/tetex/files/tetex-3.0_p1-create-empty-files.patch
Show inline comments
 
new file 100644
 
diff -urN tetex-src-3.0.orig/texk/kpathsea/mktexlsr tetex-src-3.0/texk/kpathsea/mktexlsr
 
--- tetex-src-3.0.orig/texk/kpathsea/mktexlsr	2005-12-06 16:03:40.000000000 +0100
 
+++ tetex-src-3.0/texk/kpathsea/mktexlsr	2006-03-20 17:27:53.000000000 +0100
 
@@ -108,7 +108,7 @@
 
   test -w "$db_dir" || { echo "$progname: $db_dir: directory not writable. Skipping..." >&2; continue; }
 
 
 
   if test ! -f "$db_file"; then
 
-    cp /dev/null "$db_file"
 
+    touch "$db_file"
 
     # Use same permissions as parent directory, minus x,s, or t bits.
 
     chmod `kpsestat -xst "$db_dir"` "$db_file"
 
   elif test -s "$db_file" \
 
diff -urN tetex-src-3.0.orig/texk/make/man.mk tetex-src-3.0/texk/make/man.mk
 
--- tetex-src-3.0.orig/texk/make/man.mk	2005-12-06 16:03:42.000000000 +0100
 
+++ tetex-src-3.0/texk/make/man.mk	2006-03-20 17:23:45.000000000 +0100
 
@@ -28,7 +28,7 @@
 
 # Makefile can change for reasons that do not affect the man pages.
 
 # At present, all but VERSION should be unused.
 
 sedscript:
 
-	cp /dev/null sedscript
 
+	touch sedscript
 
 	for f in $(kpathsea_dir)/paths.h; do \
 
 	  sed -n -e '/^#define/s/#define[ 	][ 	]*\([A-Z_a-z][A-Z_a-z]*\)[ 	][ 	]*\(.*\)/s%@\1@%\2%/p' \
 
 		$$f \
app-text/tetex/files/tetex-3.0_p1-dvipdfm-timezone.patch
Show inline comments
 
new file 100644
 
diff -urN tetex-src-3.0.orig/texk/dvipdfm/pdfdoc.c tetex-src-3.0/texk/dvipdfm/pdfdoc.c
 
--- tetex-src-3.0.orig/texk/dvipdfm/pdfdoc.c	2005-12-06 16:03:23.000000000 +0100
 
+++ tetex-src-3.0/texk/dvipdfm/pdfdoc.c	2006-05-23 17:25:49.000000000 +0200
 
@@ -234,7 +234,7 @@
 
 {
 
 #ifndef HAVE_TIMEZONE
 
   #ifdef TM_GM_TOFF
 
-     #define timezone (bdtime->gm_toff)
 
+     #define timezone (bd_time->tm_gmtoff)
 
   #else
 
      #define timezone 0l
 
 #endif /* TM_GM_TOFF */
 
@@ -242,15 +242,26 @@
 
   static char date_string[24];
 
   time_t current_time;
 
   struct tm *bd_time;
 
+  long hh, mm;
 
   if (debug) {
 
     fprintf (stderr, "(asn_date)");
 
   }
 
   time(&current_time);
 
   bd_time = localtime(&current_time);
 
-  sprintf (date_string, "D:%04d%02d%02d%02d%02d%02d%+03ld'%02ld'",
 
-	   bd_time -> tm_year+1900, bd_time -> tm_mon+1, bd_time -> tm_mday,
 
-	   bd_time -> tm_hour, bd_time -> tm_min, bd_time -> tm_sec,
 
-	   -timezone/3600, timezone%3600);
 
+  if (timezone == 0l) {
 
+    sprintf (date_string, "D:%04d%02d%02d%02d%02d%02dZ00'00'",
 
+	     bd_time -> tm_year+1900, bd_time -> tm_mon+1, bd_time -> tm_mday,
 
+	     bd_time -> tm_hour, bd_time -> tm_min, bd_time -> tm_sec);
 
+  } else {
 
+    hh = timezone/3600;
 
+    mm = (timezone%3600)/60;
 
+    if (timezone < 0)
 
+      mm = -mm;
 
+    sprintf (date_string, "D:%04d%02d%02d%02d%02d%02d%+03ld'%02ld'",
 
+             bd_time -> tm_year+1900, bd_time -> tm_mon+1, bd_time -> tm_mday,
 
+             bd_time -> tm_hour, bd_time -> tm_min, bd_time -> tm_sec,
 
+             hh, mm);
 
+  }
 
   return date_string;
 
 }
 
 
app-text/tetex/files/tetex-3.0_p1-dvips_bufferoverflow.patch
Show inline comments
 
new file 100644
 
hps.c (stamp_external, stamp_hps): protext against long strings.
 
    From Bastien Roucaries via Norbert, 21 Oct 2007 13:22:19,
 
    Debian bug 447081.
 

	
 
Index: texk/dvipsk/hps.c
 
===================================================================
 
--- texk/dvipsk/hps.c	(revision 5253)
 
+++ texk/dvipsk/hps.c	(revision 5254)
 
@@ -441,20 +441,29 @@
 
 
 
 void stamp_hps P1C(Hps_link *, pl)
 
 {
 
-  char tmpbuf[200] ;
 
+  char * tmpbuf;
 
   if (pl == NULL) {
 
-    error("Null pointer, oh no!") ;
 
+    error("stamp_hps: null pl pointer, oh no!") ;
 
     return ;
 
-  } else {
 
-    /* print out the proper pdfm with local page info only 
 
-     *  target info will be in the target dictionary */
 
-    (void)sprintf(tmpbuf, 
 
-		  " (%s) [[%.0f %.0f %.0f %.0f] [%i %i %i [%i %i]] [%.0f %.0f %.0f]] pdfm ", pl->title, pl->rect.llx, pl->rect.lly, pl->rect.urx, pl->rect.ury,
 
-		  pl->border[0], pl->border[1], pl->border[2], pl->border[3],pl->border[4],
 
-		  pl->color[0], pl->color[1], pl->color[2]) ;
 
-    cmdout(tmpbuf) ; 
 
-  }
 
+  } 
 
+  if(pl->title == NULL) {
 
+    error("stamp_hps: null pl->title pointer, oh no!") ;
 
+    return ;
 
+  } 
 
+
 
+  tmpbuf = (char *) xmalloc(strlen(pl->title)+200);
 
+
 
+  /* print out the proper pdfm with local page info only 
 
+   *  target info will be in the target dictionary */
 
+  (void)sprintf(tmpbuf, 
 
+		" (%s) [[%.0f %.0f %.0f %.0f] [%i %i %i [%i %i]] [%.0f %.0f %.0f]] pdfm ", 
 
+		pl->title, pl->rect.llx, pl->rect.lly, pl->rect.urx, pl->rect.ury,
 
+		pl->border[0], pl->border[1], pl->border[2], pl->border[3],pl->border[4],
 
+		pl->color[0], pl->color[1], pl->color[2]) ;
 
+  cmdout(tmpbuf) ; 
 
+  free(tmpbuf);
 
   
 
+  
 
 }
 
 
 
 /* For external URL's, we just pass them through as a string. The hyperps
 
@@ -462,18 +471,27 @@
 
  */
 
 void stamp_external P2C(char *, s, Hps_link *, pl) 
 
 {
 
-  char tmpbuf[200];
 
+  char *tmpbuf;
 
   if (pl == NULL) {
 
-    error("Null pointer, oh no!") ;
 
+    error("stamp_external: null pl pointer, oh no!") ;
 
     return ;
 
-  } else {
 
-    /* print out the proper pdfm with local page info only 
 
-     *  target info will be in the target dictionary */
 
-    (void)sprintf(tmpbuf," [[%.0f %.0f %.0f %.0f] [%i %i %i [%i %i]] [%.0f %.0f %.0f]] (%s) pdfm ", pl->rect.llx, pl->rect.lly, pl->rect.urx, pl->rect.ury,
 
-		  pl->border[0], pl->border[1], pl->border[2], pl->border[3],pl->border[4],
 
-		  pl->color[0], pl->color[1], pl->color[2], s) ;
 
-    cmdout(tmpbuf) ;
 
-  }
 
+  } 
 
+
 
+  if (s == NULL) {
 
+    error("stamp_external: null s pointer, oh no!") ;
 
+    return ;
 
+  } 
 
+
 
+  tmpbuf = (char *) xmalloc(strlen(s) + 200);
 
+
 
+  /* print out the proper pdfm with local page info only 
 
+   *  target info will be in the target dictionary */
 
+  (void)sprintf(tmpbuf," [[%.0f %.0f %.0f %.0f] [%i %i %i [%i %i]] [%.0f %.0f %.0f]] (%s) pdfm ",
 
+		pl->rect.llx, pl->rect.lly, pl->rect.urx, pl->rect.ury,
 
+		pl->border[0], pl->border[1], pl->border[2], pl->border[3],pl->border[4],
 
+		pl->color[0], pl->color[1], pl->color[2], s) ;
 
+  cmdout(tmpbuf) ;
 
+  free(tmpbuf);
 
 }
 
 
 
 void finish_hps P1H(void) {
app-text/tetex/files/tetex-3.0_p1-fmtutil-etex.patch
Show inline comments
 
new file 100644
 
--- tetex-src-3.0/texk/web2c/fmtutil.in.old	2006-01-14 15:28:25.000000000 +0100
 
+++ tetex-src-3.0/texk/web2c/fmtutil.in	2006-01-14 15:29:09.000000000 +0100
 
@@ -40,7 +40,8 @@
 
 # if you want babel support in tex:
 
 tex		tex		language.dat		-translate-file=cp227.tcx tex.ini
 
 @PETEX@latex		pdfetex		language.dat	-etex -translate-file=cp227.tcx latex.ini
 
-@PETEX@etex		pdfetex		language.def	-etex -translate-file=cp227.tcx etex.ini
 
+@PETEX@etex		etex		language.def	-etex -translate-file=cp227.tcx etex.ini
 
+@PETEX@elatex		etex		language.def	-translate-file=cp227.tcx *latex.ini
 
 @PETEX@pdftex		pdfetex		-	-etex -translate-file=cp227.tcx pdftex.ini
 
 @PETEX@pdflatex	pdfetex		language.dat	-etex -translate-file=cp227.tcx pdflatex.ini
 
 @PETEX@pdfetex		pdfetex		language.def	-etex -translate-file=cp227.tcx pdfetex.ini
app-text/tetex/files/tetex-3.0_p1-mptest.patch
Show inline comments
 
new file 100644
 
--- tetex-src-3.0/texk/web2c/tests/mptest.mp.old	2006-01-12 18:52:17.000000000 +0100
 
+++ tetex-src-3.0/texk/web2c/tests/mptest.mp	2006-01-12 18:52:42.000000000 +0100
 
@@ -40,6 +40,6 @@
 
 
 
 message("* Test for big numbers in btex...etex:");
 
 picture q;
 
-q = btex $2^{12} = 4096 \qquad 2^{15} = 32768$ etex;
 
+%q = btex $2^{12} = 4096 \qquad 2^{15} = 32768$ etex;
 
 
 
 end.
app-text/tetex/files/tetex-3.0_p1-pdftosrc-install.patch
Show inline comments
 
new file 100644
 
diff -urN tetex-src-3.0.orig/texk/web2c/Makefile.in tetex-src-3.0/texk/web2c/Makefile.in
 
--- tetex-src-3.0.orig/texk/web2c/Makefile.in	2006-03-16 12:53:24.000000000 +0100
 
+++ tetex-src-3.0/texk/web2c/Makefile.in	2006-03-16 12:52:08.000000000 +0100
 
@@ -562,13 +562,13 @@
 
 # Common
 
 programs = bibtex ctangle ctie cweave dvicopy dvitomp dvitype gftodvi gftopk \
 
  gftype mft $(odvicopy) $(odvitype) $(otangle) patgen pktogf pktype pltotf \
 
- pooltype tangle tftopl tie $(ttf2afm) vftovp vptovf weave
 
+ pooltype tangle tftopl tie $(ttf2afm) vftovp vptovf weave pdftosrc
 
 engines = $(tex) $(etex) $(mf) $(mfn) $(mpost) \
 
           $(omega) $(aleph) \
 
           $(pdftex) $(pdfetex)
 
 
 
 programs: $(programs) $(engines) $(mpware_programs) \
 
-          $(omegafonts_programs) $(otps_programs) $(pdftosrc)
 
+          $(omegafonts_programs) $(otps_programs)
 
 
 
 # Additional dependencies for relinking.
 
 # Note that each program and engine already depends on $(web2c_programs).
app-text/tetex/files/tetex-3.0_p1-t1lib-SA26241_buffer_overflow.patch
Show inline comments
 
new file 100644
 
Index: tetex-src-3.0/libs/t1lib/t1env.c
 
===================================================================
 
--- tetex-src-3.0.orig/libs/t1lib/t1env.c
 
+++ tetex-src-3.0/libs/t1lib/t1env.c
 
@@ -568,6 +568,12 @@ char *intT1_Env_GetCompletePath( char *F
 
 #endif 
 
     strcat( pathbuf, DIRECTORY_SEP);
 
     /* And finally the filename: */
 
+	/* If current pathbuf + StrippedName + 1 byte for NULL is bigger than pathbuf
 
+	 * let's try next pathbuf */
 
+	if( strlen(pathbuf) + strlen(StrippedName) + 1 > sizeof(pathbuf) ) {
 
+		i++;
 
+		continue;
 
+	}
 
     strcat( pathbuf, StrippedName);
 
     
 
     /* Check for existence of the path: */
app-text/tetex/files/tetex-3.0_p1-texmf-site.patch
Show inline comments
 
new file 100644
 
diff -ur tetex-src-3.0.orig/texk/kpathsea/texmf.in tetex-src-3.0/texk/kpathsea/texmf.in
 
--- tetex-src-3.0.orig/texk/kpathsea/texmf.in	2005-12-06 16:21:17.000000000 +0100
 
+++ tetex-src-3.0/texk/kpathsea/texmf.in	2006-01-22 19:33:42.000000000 +0100
 
@@ -61,6 +61,9 @@
 
 % The main distribution tree:
 
 TEXMFDIST = /usr/share/texmf
 
 
 
+% The Gentoo site tree:
 
+TEXMFSITE = /usr/share/texmf-site
 
+
 
 % A place for local additions to a "standard" texmf tree.
 
 % This tree is not used for local configuration maintained by
 
 % texconfig, it uses TEXMFCONFIG below.
 
@@ -111,10 +114,10 @@
 
 %
 
 % For texconfig to work properly, TEXMFCONGIG and TEXMFVAR should be named
 
 % explicitly and before all other trees.
 
-TEXMF = {!!$TEXMFCONFIG,!!$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST}
 
+TEXMF = {!!$TEXMFCONFIG,!!$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFSITE,!!$TEXMFDIST}
 
 
 
 % The system trees.  These are the trees that are shared by all the users.
 
-SYSTEXMF = $TEXMFLOCAL;$TEXMFMAIN;$TEXMFDIST
 
+SYSTEXMF = $TEXMFLOCAL;$TEXMFMAIN;$TEXMFDIST;$TEXMFSITE
 
 
 
 % Where generated fonts may be written.  This tree is used when the sources
 
 % were found in a system tree and either that tree wasn't writable, or the
app-text/tetex/files/tetex-3.0_p1-xpdf-CVE-2007-3387.patch
Show inline comments
 
new file 100644
 
--- tetex-src-3.0/libs/xpdf/xpdf/Stream.cc	Tue Feb 27 14:05:52 2007
 
+++ tetex-src-3.0/libs/xpdf/xpdf/Stream.cc	Thu Jul 12 15:55:49 2007
 
@@ -421,7 +421,12 @@
 
   }
 
   pixBytes = (nComps * nBits + 7) >> 3;
 
   rowBytes = ((totalBits + 7) >> 3) + pixBytes;
 
-  if (rowBytes < 0) {
 
+  if (width <= 0 || nComps <= 0 || nBits <= 0 ||
 
+     nComps > gfxColorMaxComps ||
 
+     nBits > 16 ||
 
+     nVals <= 0 ||
 
+     nVals * nBits + 7 <= 0 ||
 
+     rowBytes <= 0) {
 
     return;
 
   }
 
   predLine = (Guchar *)gmalloc(rowBytes);
app-text/tetex/files/tetex-3.0_p1-xpdf-vulnerabilities.patch
Show inline comments
 
new file 100644
 
--- tetex-src-3.0/libs/xpdf/xpdf/JPXStream.cc.old	2006-01-22 16:55:56.000000000 +0100
 
+++ tetex-src-3.0/libs/xpdf/xpdf/JPXStream.cc	2006-01-22 16:56:09.000000000 +0100
 
@@ -7,6 +7,7 @@
 
 //========================================================================
 
 
 
 #include <aconf.h>
 
+#include <limits.h>
 
 
 
 #ifdef USE_GCC_PRAGMAS
 
 #pragma implementation
 
--- tetex-src-3.0/libs/xpdf/xpdf/Stream.cc.old	2006-01-22 16:57:41.000000000 +0100
 
+++ tetex-src-3.0/libs/xpdf/xpdf/Stream.cc	2006-01-22 17:08:11.000000000 +0100
 
@@ -7,6 +7,7 @@
 
 //========================================================================
 
 
 
 #include <aconf.h>
 
+#include <limits.h>
 
 
 
 #ifdef USE_GCC_PRAGMAS
 
 #pragma implementation
 
@@ -1275,8 +1276,9 @@
 
   endOfLine = endOfLineA;
 
   byteAlign = byteAlignA;
 
   columns = columnsA;
 
-  if (columns < 1) {
 
-    columns = 1;
 
+  if (columns < 1 || columns >= INT_MAX / sizeof(short)) {
 
+    error (-1, "invalid number of columns: %d\n", columns);
 
+    exit (1);
 
   }
 
   rows = rowsA;
 
   endOfBlock = endOfBlockA;
 
@@ -2952,6 +2954,10 @@
 
   height = read16();
 
   width = read16();
 
   numComps = str->getChar();
 
+  if (numComps <= 0 || numComps > 4) {
 
+    error(getPos(), "Bad number of components in DCT stream", prec);
 
+    return gFalse;
 
+  }
 
   if (prec != 8) {
 
     error(getPos(), "Bad DCT precision %d", prec);
 
     return gFalse;
 
@@ -2974,6 +2979,11 @@
 
 
 
   length = read16() - 2;
 
   scanInfo.numComps = str->getChar();
 
+  if (scanInfo.numComps <= 0 || scanInfo.numComps > 4) {
 
+    scanInfo.numComps = 0;
 
+    error(getPos(), "Bad number of components in DCT stream");
 
+    return gFalse;
 
+  }
 
   --length;
 
   if (length != 2 * scanInfo.numComps + 3) {
 
     error(getPos(), "Bad DCT scan info block");
 
@@ -3058,12 +3068,12 @@
 
   while (length > 0) {
 
     index = str->getChar();
 
     --length;
 
-    if ((index & 0x0f) >= 4) {
 
+    if ((index & 0x10) >= 4 || (index & 0x10) < 0) {
 
       error(getPos(), "Bad DCT Huffman table");
 
       return gFalse;
 
     }
 
     if (index & 0x10) {
 
-      index &= 0x0f;
 
+      index &= 0x03;
 
       if (index >= numACHuffTables)
 
 	numACHuffTables = index+1;
 
       tbl = &acHuffTables[index];
 
@@ -3181,9 +3191,11 @@
 
   do {
 
     do {
 
       c = str->getChar();
 
+      if (c == EOF) return EOF;
 
     } while (c != 0xff && c != EOF);
 
     do {
 
       c = str->getChar();
 
+      if (c == EOF) return EOF;
 
     } while (c == 0xff);
 
   } while (c == 0x00);
 
   return c;
 
--- tetex-src-3.0/libs/xpdf/xpdf/JBIG2Stream.cc.old	2006-01-22 17:08:49.000000000 +0100
 
+++ tetex-src-3.0/libs/xpdf/xpdf/JBIG2Stream.cc	2006-01-22 17:15:41.000000000 +0100
 
@@ -7,6 +7,7 @@
 
 //========================================================================
 
 
 
 #include <aconf.h>
 
+#include <limits.h>
 
 
 
 #ifdef USE_GCC_PRAGMAS
 
 #pragma implementation
 
@@ -681,6 +682,11 @@
 
   w = wA;
 
   h = hA;
 
   line = (wA + 7) >> 3;
 
+  if (h < 0 || line <= 0 || h >= (INT_MAX - 1) / line) {
 
+    error(-1, "invalid width/height");
 
+    data = NULL;
 
+    return;
 
+  }
 
   // need to allocate one extra guard byte for use in combine()
 
   data = (Guchar *)gmalloc(h * line + 1);
 
   data[h * line] = 0;
 
@@ -692,6 +698,11 @@
 
   w = bitmap->w;
 
   h = bitmap->h;
 
   line = bitmap->line;
 
+  if (h < 0 || line <= 0 || h >= (INT_MAX - 1) / line) {
 
+    error(-1, "invalid width/height");
 
+    data = NULL;
 
+    return;
 
+  }
 
   // need to allocate one extra guard byte for use in combine()
 
   data = (Guchar *)gmalloc(h * line + 1);
 
   memcpy(data, bitmap->data, h * line);
 
@@ -720,7 +731,10 @@
 
 }
 
 
 
 void JBIG2Bitmap::expand(int newH, Guint pixel) {
 
-  if (newH <= h) {
 
+  if (newH <= h || line <= 0 || newH >= (INT_MAX - 1) / line) {
 
+    error(-1, "invalid width/height");
 
+    gfree(data);
 
+    data = NULL;
 
     return;
 
   }
 
   // need to allocate one extra guard byte for use in combine()
 
@@ -2936,6 +2950,11 @@
 
   JBIG2BitmapPtr tpgrCXPtr0, tpgrCXPtr1, tpgrCXPtr2;
 
   int x, y, pix;
 
 
 
+  if (w < 0 || h <= 0 || w >= INT_MAX / h) {
 
+    error(-1, "invalid width/height");
 
+    return NULL;
 
+  }
 
+
 
   bitmap = new JBIG2Bitmap(0, w, h);
 
   bitmap->clearToZero();
 
 
app-text/tetex/files/xdvizilla.patch
Show inline comments
 
new file 100644
 
--- tetex-bin-2.0.2/texk/xdvik/xdvizilla	2002-10-12 15:28:50.000000000 +0200
 
+++ tetex-bin-2.0.2.new/texk/xdvik/xdvizilla	2004-12-23 12:58:35.010332504 +0100
 
@@ -33,7 +33,7 @@
 
 case "$FILETYPE" in
 
 
 
   *"gzip compressed data"*)
 
-    FILE=/tmp/xdvizilla$$
 
+    FILE=`mktemp -t xdvizilla.XXXXXX` || exit 1
 
     gunzip -c "$1" > $FILE
 
     [ -n "$NO_RM" ] || rm -f -- "$1"
 
     NO_RM=
 
@@ -41,7 +41,7 @@
 
     ;;
 
 
 
   *"compressed data"* | *"compress'd data"*)
 
-    FILE=/tmp/xdvizilla$$
 
+    FILE=`mktemp -t xdvizilla.XXXXXX` || exit 1
 
     uncompress -c "$1" > $FILE
 
     [ -n "$NO_RM" ] || rm -f -- "$1"
 
     NO_RM=
 
@@ -60,8 +60,7 @@
 
 case "$FILETYPE" in
 
 
 
   *" tar archive")
 
-    TARDIR=/tmp/xdvitar$$
 
-    mkdir $TARDIR
 
+    TARDIR=`mktemp -t -d xdvitar.XXXXXX` || exit 1
 
     cat "$FILE" | (cd $TARDIR; tar xf -)
 
     DVINAME=`tar tf "$FILE" | grep '\.dvi$' | head -1`
 
     [ -n "$NO_RM" ] || rm -f -- "$FILE"
app-text/tetex/files/xpdf-2.02pl1-CAN-2005-3191-3.patch
Show inline comments
 
new file 100644
 
Index: xpdf-2.02pl1/xpdf/Stream.h
 
===================================================================
 
--- xpdf-2.02pl1.orig/xpdf/Stream.h
 
+++ xpdf-2.02pl1/xpdf/Stream.h
 
@@ -225,6 +225,8 @@ public:
 
 
 
   ~StreamPredictor();
 
 
 
+  GBool isOk() { return ok; }
 
+
 
   int lookChar();
 
   int getChar();
 
 
 
@@ -242,6 +244,7 @@ private:
 
   int rowBytes;			// bytes per line
 
   Guchar *predLine;		// line buffer
 
   int predIdx;			// current index in predLine
 
+  GBool ok;
 
 };
 
 
 
 //------------------------------------------------------------------------
 
Index: xpdf-2.02pl1/xpdf/Stream.cc
 
===================================================================
 
--- xpdf-2.02pl1.orig/xpdf/Stream.cc
 
+++ xpdf-2.02pl1/xpdf/Stream.cc
 
@@ -15,6 +15,7 @@
 
 #include <stdio.h>
 
 #include <stdlib.h>
 
 #include <stddef.h>
 
+#include <limits.h>
 
 #ifndef WIN32
 
 #include <unistd.h>
 
 #endif
 
@@ -409,13 +410,28 @@ StreamPredictor::StreamPredictor(Stream 
 
   width = widthA;
 
   nComps = nCompsA;
 
   nBits = nBitsA;
 
+  predLine = NULL;
 
+  ok = gFalse;
 
 
 
+  if (width <= 0 || nComps <= 0 || nBits <= 0 ||
 
+      nComps >= INT_MAX/nBits ||
 
+      width >= INT_MAX/nComps/nBits) {
 
+    return;
 
+  }
 
   nVals = width * nComps;
 
+  if (nVals * nBits + 7 <= 0) {
 
+    return;
 
+  }
 
   pixBytes = (nComps * nBits + 7) >> 3;
 
   rowBytes = ((nVals * nBits + 7) >> 3) + pixBytes;
 
+  if (rowBytes < 0) {
 
+    return;
 
+  }
 
   predLine = (Guchar *)gmalloc(rowBytes);
 
   memset(predLine, 0, rowBytes);
 
   predIdx = rowBytes;
 
+
 
+  ok = gTrue;
 
 }
 
 
 
 StreamPredictor::~StreamPredictor() {
 
@@ -981,6 +997,10 @@ LZWStream::LZWStream(Stream *strA, int p
 
     FilterStream(strA) {
 
   if (predictor != 1) {
 
     pred = new StreamPredictor(this, predictor, columns, colors, bits);
 
+    if (!pred->isOk()) {
 
+      delete pred;
 
+      pred = NULL;
 
+    }
 
   } else {
 
     pred = NULL;
 
   }
 
@@ -1226,6 +1246,10 @@ CCITTFaxStream::CCITTFaxStream(Stream *s
 
   endOfLine = endOfLineA;
 
   byteAlign = byteAlignA;
 
   columns = columnsA;
 
+  if (columns < 1 || columns >= INT_MAX / sizeof(short)) {
 
+    error(-1, "invalid number of columns");
 
+    exit(1);
 
+  }
 
   rows = rowsA;
 
   endOfBlock = endOfBlockA;
 
   black = blackA;
 
@@ -2864,6 +2888,11 @@ GBool DCTStream::readBaselineSOF() {
 
   height = read16();
 
   width = read16();
 
   numComps = str->getChar();
 
+  if (numComps <= 0 || numComps > 4) {
 
+    numComps = 0;
 
+    error(getPos(), "Bad number of components in DCT stream");
 
+    return gFalse;
 
+  }
 
   if (prec != 8) {
 
     error(getPos(), "Bad DCT precision %d", prec);
 
     return gFalse;
 
@@ -2890,6 +2919,11 @@ GBool DCTStream::readProgressiveSOF() {
 
   height = read16();
 
   width = read16();
 
   numComps = str->getChar();
 
+  if (numComps <= 0 || numComps > 4) {
 
+    numComps = 0;
 
+    error(getPos(), "Bad number of components in DCT stream");
 
+    return gFalse;
 
+  }
 
   if (prec != 8) {
 
     error(getPos(), "Bad DCT precision %d", prec);
 
     return gFalse;
 
@@ -2912,6 +2946,10 @@ GBool DCTStream::readScanInfo() {
 
 
 
   length = read16() - 2;
 
   scanInfo.numComps = str->getChar();
 
+  if (scanInfo.numComps <= 0 || scanInfo.numComps > 4) {
 
+    error(getPos(), "Bad number of components in DCT stream");
 
+    return gFalse;
 
+  }
 
   --length;
 
   if (length != 2 * scanInfo.numComps + 3) {
 
     error(getPos(), "Bad DCT scan info block");
 
@@ -2979,12 +3017,12 @@ GBool DCTStream::readHuffmanTables() {
 
   while (length > 0) {
 
     index = str->getChar();
 
     --length;
 
-    if ((index & 0x0f) >= 4) {
 
+    if ((index & ~0x10) >= 4 || (index & ~0x10) < 0) {
 
       error(getPos(), "Bad DCT Huffman table");
 
       return gFalse;
 
     }
 
     if (index & 0x10) {
 
-      index &= 0x0f;
 
+      index &= 0x03;
 
       if (index >= numACHuffTables)
 
 	numACHuffTables = index+1;
 
       tbl = &acHuffTables[index];
 
@@ -3072,9 +3110,11 @@ int DCTStream::readMarker() {
 
   do {
 
     do {
 
       c = str->getChar();
 
+      if(c == EOF) return EOF;
 
     } while (c != 0xff);
 
     do {
 
       c = str->getChar();
 
+      if(c == EOF) return EOF;
 
     } while (c == 0xff);
 
   } while (c == 0x00);
 
   return c;
 
@@ -3182,6 +3222,10 @@ FlateStream::FlateStream(Stream *strA, i
 
     FilterStream(strA) {
 
   if (predictor != 1) {
 
     pred = new StreamPredictor(this, predictor, columns, colors, bits);
 
+    if (!pred->isOk()) {
 
+      delete pred;
 
+      pred = NULL;
 
+    }
 
   } else {
 
     pred = NULL;
 
   }
 
Index: xpdf-2.02pl1/xpdf/JBIG2Stream.cc
 
===================================================================
 
--- xpdf-2.02pl1.orig/xpdf/JBIG2Stream.cc
 
+++ xpdf-2.02pl1/xpdf/JBIG2Stream.cc
 
@@ -7,6 +7,7 @@
 
 //========================================================================
 
 
 
 #include <aconf.h>
 
+#include <limits.h>
 
 
 
 #ifdef USE_GCC_PRAGMAS
 
 #pragma implementation
 
@@ -1001,7 +1002,16 @@ JBIG2Bitmap::JBIG2Bitmap(Guint segNumA, 
 
   w = wA;
 
   h = hA;
 
   line = (wA + 7) >> 3;
 
-  data = (Guchar *)gmalloc(h * line);
 
+
 
+  if (h < 0 || line <= 0 || h >= (INT_MAX - 1) / line) {
 
+    error(-1, "invalid width/height");
 
+    data = NULL;
 
+    return;
 
+  }
 
+
 
+  // need to allocate one extra guard byte for use in combine()
 
+  data = (Guchar *)gmalloc(h * line + 1);
 
+  data[h * line] = 0;
 
 }
 
 
 
 JBIG2Bitmap::JBIG2Bitmap(Guint segNumA, JBIG2Bitmap *bitmap):
 
@@ -1010,8 +1020,17 @@ JBIG2Bitmap::JBIG2Bitmap(Guint segNumA, 
 
   w = bitmap->w;
 
   h = bitmap->h;
 
   line = bitmap->line;
 
-  data = (Guchar *)gmalloc(h * line);
 
+
 
+  if (h < 0 || line <= 0 || h >= (INT_MAX - 1) / line) {
 
+    error(-1, "invalid width/height");
 
+    data = NULL;
 
+    return;
 
+  }
 
+
 
+  // need to allocate one extra guard byte for use in combine()
 
+  data = (Guchar *)gmalloc(h * line + 1);
 
   memcpy(data, bitmap->data, h * line);
 
+  data[h * line] = 0;
 
 }
 
 
 
 JBIG2Bitmap::~JBIG2Bitmap() {
 
@@ -1036,10 +1055,14 @@ JBIG2Bitmap *JBIG2Bitmap::getSlice(Guint
 
 }
 
 
 
 void JBIG2Bitmap::expand(int newH, Guint pixel) {
 
-  if (newH <= h) {
 
+  if (newH <= h || line <= 0 || newH >= (INT_MAX - 1)/ line) {
 
+    error(-1, "invalid width/height");
 
+    gfree(data);
 
+    data = NULL;
 
     return;
 
   }
 
-  data = (Guchar *)grealloc(data, newH * line);
 
+  // need to allocate one extra guard byte for use in combine()
 
+  data = (Guchar *)grealloc(data, newH * line + 1);
 
   if (pixel) {
 
     memset(data + h * line, 0xff, (newH - h) * line);
 
   } else {
 
@@ -2576,6 +2599,15 @@ void JBIG2Stream::readHalftoneRegionSeg(
 
     error(getPos(), "Bad symbol dictionary reference in JBIG2 halftone segment");
 
     return;
 
   }
 
+  if (gridH == 0 || gridW >= INT_MAX / gridH) {
 
+    error(getPos(), "Bad size in JBIG2 halftone segment");
 
+    return;
 
+  }
 
+  if (w == 0 || h >= INT_MAX / w) {
 
+     error(getPos(), "Bad size in JBIG2 bitmap segment");
 
+    return;
 
+  }
 
+
 
   patternDict = (JBIG2PatternDict *)seg;
 
   bpp = 0;
 
   i = 1;
 
@@ -3205,6 +3237,11 @@ JBIG2Bitmap *JBIG2Stream::readGenericRef
 
   JBIG2BitmapPtr tpgrCXPtr0, tpgrCXPtr1, tpgrCXPtr2;
 
   int x, y, pix;
 
 
 
+  if (w < 0 || h <= 0 || w >= INT_MAX / h) {
 
+    error(-1, "invalid width/height");
 
+    return NULL;
 
+  }
 
+
 
   bitmap = new JBIG2Bitmap(0, w, h);
 
   bitmap->clearToZero();
 
 
 
# vim: syntax=diff
app-text/tetex/files/xpdf-3.00pl2-CAN-2004-1125.patch
Show inline comments
 
new file 100644
 
*** Gfx.cc.orig	Sun Dec 12 16:04:43 2004
 
--- Gfx.cc	Sun Dec 12 16:05:16 2004
 
***************
 
*** 2654,2660 ****
 
      haveMask = gFalse;
 
      dict->lookup("Mask", &maskObj);
 
      if (maskObj.isArray()) {
 
!       for (i = 0; i < maskObj.arrayGetLength(); ++i) {
 
  	maskObj.arrayGet(i, &obj1);
 
  	maskColors[i] = obj1.getInt();
 
  	obj1.free();
 
--- 2654,2662 ----
 
      haveMask = gFalse;
 
      dict->lookup("Mask", &maskObj);
 
      if (maskObj.isArray()) {
 
!       for (i = 0;
 
! 	   i < maskObj.arrayGetLength() && i < 2*gfxColorMaxComps;
 
! 	   ++i) {
 
  	maskObj.arrayGet(i, &obj1);
 
  	maskColors[i] = obj1.getInt();
 
  	obj1.free();
 
*** GfxState.cc.orig	Sun Dec 12 16:04:48 2004
 
--- GfxState.cc	Sun Dec 12 16:06:38 2004
 
***************
 
*** 708,713 ****
 
--- 708,718 ----
 
    }
 
    nCompsA = obj2.getInt();
 
    obj2.free();
 
+   if (nCompsA > gfxColorMaxComps) {
 
+     error(-1, "ICCBased color space with too many (%d > %d) components",
 
+ 	  nCompsA, gfxColorMaxComps);
 
+     nCompsA = gfxColorMaxComps;
 
+   }
 
    if (dict->lookup("Alternate", &obj2)->isNull() ||
 
        !(altA = GfxColorSpace::parse(&obj2))) {
 
      switch (nCompsA) {
app-text/tetex/files/xpdf-3.00pl3-CAN-2005-0064.patch
Show inline comments
 
new file 100644
 
*** XRef.cc.orig	Wed Jan 12 17:10:53 2005
 
--- XRef.cc	Wed Jan 12 17:11:22 2005
 
***************
 
*** 793,798 ****
 
--- 793,801 ----
 
  	} else {
 
  	  keyLength = 5;
 
  	}
 
+ 	if (keyLength > 16) {
 
+ 	  keyLength = 16;
 
+ 	}
 
  	permFlags = permissions.getInt();
 
  	if (encVersion >= 1 && encVersion <= 2 &&
 
  	    encRevision >= 2 && encRevision <= 3) {
app-text/tetex/files/xpdf-3.02pl2.patch
Show inline comments
 
new file 100644
 
Index: tetex-src-3.0/libs/xpdf/xpdf/Stream.cc
 
===================================================================
 
--- tetex-src-3.0.orig/libs/xpdf/xpdf/Stream.cc
 
+++ tetex-src-3.0/libs/xpdf/xpdf/Stream.cc
 
@@ -1285,19 +1285,24 @@ CCITTFaxStream::CCITTFaxStream(Stream *s
 
     error (-1, "invalid number of columns: %d\n", columns);
 
     exit (1);
 
   }
 
+  else if (columns > INT_MAX - 2) columns = INT_MAX - 2;
 
   rows = rowsA;
 
   endOfBlock = endOfBlockA;
 
   black = blackA;
 
-  refLine = (short *)gmallocn(columns + 4, sizeof(short));
 
-  codingLine = (short *)gmallocn(columns + 3, sizeof(short));
 
+  // 0 <= codingLine[0] < codingLine[1] < ... < codingLine[n] = columns
 
+  // ---> max codingLine size = columns + 1
 
+  // refLine has one extra guard entry at the end
 
+  // ---> max refLine size = columns + 2
 
+  codingLine = (int *)gmallocn(columns + 1, sizeof(int));
 
+  refLine = (int *)gmallocn(columns + 2, sizeof(int));
 
 
 
   eof = gFalse;
 
   row = 0;
 
   nextLine2D = encoding < 0;
 
   inputBits = 0;
 
-  codingLine[0] = 0;
 
-  codingLine[1] = refLine[2] = columns;
 
-  a0 = 1;
 
+  codingLine[0] = columns;
 
+  a0i = 0;
 
+  outputBits = 0;
 
 
 
   buf = EOF;
 
 }
 
@@ -1316,9 +1321,9 @@ void CCITTFaxStream::reset() {
 
   row = 0;
 
   nextLine2D = encoding < 0;
 
   inputBits = 0;
 
-  codingLine[0] = 0;
 
-  codingLine[1] = refLine[2] = columns;
 
-  a0 = 1;
 
+  codingLine[0] = columns;
 
+  a0i = 0;
 
+  outputBits = 0;
 
   buf = EOF;
 
 
 
   // skip any initial zero bits and end-of-line marker, and get the 2D
 
@@ -1335,164 +1340,228 @@ void CCITTFaxStream::reset() {
 
   }
 
 }
 
 
 
+inline void CCITTFaxStream::addPixels(int a1, int blackPixels) {
 
+  if (a1 > codingLine[a0i]) {
 
+    if (a1 > columns) {
 
+      error(getPos(), "CCITTFax row is wrong length (%d)", a1);
 
+      err = gTrue;
 
+      a1 = columns;
 
+    }
 
+    if ((a0i & 1) ^ blackPixels) {
 
+      ++a0i;
 
+    }
 
+    codingLine[a0i] = a1;
 
+  }
 
+}
 
+
 
+inline void CCITTFaxStream::addPixelsNeg(int a1, int blackPixels) {
 
+  if (a1 > codingLine[a0i]) {
 
+    if (a1 > columns) {
 
+      error(getPos(), "CCITTFax row is wrong length (%d)", a1);
 
+      err = gTrue;
 
+      a1 = columns;
 
+    }
 
+    if ((a0i & 1) ^ blackPixels) {
 
+      ++a0i;
 
+    }
 
+    codingLine[a0i] = a1;
 
+  } else if (a1 < codingLine[a0i]) {
 
+    if (a1 < 0) {
 
+      error(getPos(), "Invalid CCITTFax code");
 
+      err = gTrue;
 
+      a1 = 0;
 
+    }
 
+    while (a0i > 0 && a1 <= codingLine[a0i - 1]) {
 
+      --a0i;
 
+    }
 
+    codingLine[a0i] = a1;
 
+  }
 
+}
 
+ 
 
 int CCITTFaxStream::lookChar() {
 
   short code1, code2, code3;
 
-  int a0New;
 
-  GBool err, gotEOL;
 
-  int ret;
 
-  int bits, i;
 
-
 
-  // if at eof just return EOF
 
-  if (eof && codingLine[a0] >= columns) {
 
-    return EOF;
 
+  int b1i, blackPixels, i, bits;
 
+  GBool gotEOL;
 
+  
 
+  if (buf != EOF) {
 
+    return buf;
 
   }
 
 
 
   // read the next row
 
-  err = gFalse;
 
-  if (codingLine[a0] >= columns) {
 
+  if (outputBits == 0) {
 
 
 
+    // if at eof just return EOF
 
+    if (eof) {
 
+      return EOF;
 
+    }
 
+
 
+    err = gFalse;
 
+  
 
     // 2-D encoding
 
     if (nextLine2D) {
 
       for (i = 0; codingLine[i] < columns; ++i)
 
 	refLine[i] = codingLine[i];
 
-      refLine[i] = refLine[i + 1] = columns;
 
-      b1 = 1;
 
-      a0New = codingLine[a0 = 0] = 0;
 
-      do {
 
-	code1 = getTwoDimCode();
 
+      refLine[i++] = columns;
 
+      refLine[i] = columns;
 
+      codingLine[0] = 0;
 
+      a0i = 0;
 
+      b1i = 0;
 
+      blackPixels = 0;
 
+      // invariant:
 
+      // refLine[b1i-1] <= codingLine[a0i] < refLine[b1i] < refLine[b1i+1]
 
+      //                                                             <= columns
 
+      // exception at left edge:
 
+      //   codingLine[a0i = 0] = refLine[b1i = 0] = 0 is possible
 
+      // exception at right edge:
 
+      //   refLine[b1i] = refLine[b1i+1] = columns is possible
 
+      while (codingLine[a0i] < columns) {
 
+  	code1 = getTwoDimCode();
 
 	switch (code1) {
 
-	case twoDimPass:
 
-	  if (refLine[b1] < columns) {
 
-	    a0New = refLine[b1 + 1];
 
-	    b1 += 2;
 
-	  }
 
-	  break;
 
-	case twoDimHoriz:
 
-	  if ((a0 & 1) == 0) {
 
-	    code1 = code2 = 0;
 
-	    do {
 
-	      code1 += code3 = getWhiteCode();
 
-	    } while (code3 >= 64);
 
-	    do {
 
-	      code2 += code3 = getBlackCode();
 
-	    } while (code3 >= 64);
 
-	  } else {
 
-	    code1 = code2 = 0;
 
-	    do {
 
-	      code1 += code3 = getBlackCode();
 
-	    } while (code3 >= 64);
 
-	    do {
 
-	      code2 += code3 = getWhiteCode();
 
-	    } while (code3 >= 64);
 
-	  }
 
-	  if (code1 > 0 || code2 > 0) {
 
-	    codingLine[a0 + 1] = a0New + code1;
 
-	    ++a0;
 
-	    a0New = codingLine[a0 + 1] = codingLine[a0] + code2;
 
-	    ++a0;
 
-	    while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
 
-	      b1 += 2;
 
-	  }
 
-	  break;
 
-	case twoDimVert0:
 
-	  a0New = codingLine[++a0] = refLine[b1];
 
-	  if (refLine[b1] < columns) {
 
-	    ++b1;
 
-	    while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
 
-	      b1 += 2;
 
-	  }
 
-	  break;
 
-	case twoDimVertR1:
 
-	  a0New = codingLine[++a0] = refLine[b1] + 1;
 
-	  if (refLine[b1] < columns) {
 
-	    ++b1;
 
-	    while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
 
-	      b1 += 2;
 
-	  }
 
-	  break;
 
-	case twoDimVertL1:
 
-	  if (a0 == 0 || refLine[b1] - 1 > a0New) {
 
-	    a0New = codingLine[++a0] = refLine[b1] - 1;
 
-	    --b1;
 
-	    while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
 
-	      b1 += 2;
 
-	  }
 
-	  break;
 
-	case twoDimVertR2:
 
-	  a0New = codingLine[++a0] = refLine[b1] + 2;
 
-	  if (refLine[b1] < columns) {
 
-	    ++b1;
 
-	    while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
 
-	      b1 += 2;
 
-	  }
 
-	  break;
 
-	case twoDimVertL2:
 
-	  if (a0 == 0 || refLine[b1] - 2 > a0New) {
 
-	    a0New = codingLine[++a0] = refLine[b1] - 2;
 
-	    --b1;
 
-	    while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
 
-	      b1 += 2;
 
-	  }
 
-	  break;
 
-	case twoDimVertR3:
 
-	  a0New = codingLine[++a0] = refLine[b1] + 3;
 
-	  if (refLine[b1] < columns) {
 
-	    ++b1;
 
-	    while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
 
-	      b1 += 2;
 
-	  }
 
-	  break;
 
-	case twoDimVertL3:
 
-	  if (a0 == 0 || refLine[b1] - 3 > a0New) {
 
-	    a0New = codingLine[++a0] = refLine[b1] - 3;
 
-	    --b1;
 
-	    while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
 
-	      b1 += 2;
 
-	  }
 
-	  break;
 
-	case EOF:
 
-	  eof = gTrue;
 
-	  codingLine[a0 = 0] = columns;
 
-	  return EOF;
 
-	default:
 
-	  error(getPos(), "Bad 2D code %04x in CCITTFax stream", code1);
 
-	  err = gTrue;
 
-	  break;
 
+  	case twoDimPass:
 
+ 	  addPixels(refLine[b1i + 1], blackPixels);
 
+ 	  if (refLine[b1i + 1] < columns) {
 
+ 	    b1i += 2;
 
+  	  }
 
+  	  break;
 
+  	case twoDimHoriz:
 
+ 	  code1 = code2 = 0;
 
+ 	  if (blackPixels) {
 
+  	    do {
 
+ 	      code1 += code3 = getBlackCode();
 
+  	    } while (code3 >= 64);
 
+  	    do {
 
+ 	      code2 += code3 = getWhiteCode();
 
+  	    } while (code3 >= 64);
 
+  	  } else {
 
+  	    do {
 
+ 	      code1 += code3 = getWhiteCode();
 
+  	    } while (code3 >= 64);
 
+  	    do {
 
+ 	      code2 += code3 = getBlackCode();
 
+  	    } while (code3 >= 64);
 
+  	  }
 
+ 	  addPixels(codingLine[a0i] + code1, blackPixels);
 
+ 	  if (codingLine[a0i] < columns) {
 
+ 	    addPixels(codingLine[a0i] + code2, blackPixels ^ 1);
 
+ 	  }
 
+ 	  while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
 
+ 	    b1i += 2;
 
+ 	  }
 
+ 	  break;
 
+ 	case twoDimVertR3:
 
+ 	  addPixels(refLine[b1i] + 3, blackPixels);
 
+ 	  blackPixels ^= 1;
 
+ 	  if (codingLine[a0i] < columns) {
 
+ 	    ++b1i;
 
+ 	    while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
 
+ 	      b1i += 2;
 
+  	    }
 
+  	  }
 
+  	  break;
 
+ 	case twoDimVertR2:
 
+ 	  addPixels(refLine[b1i] + 2, blackPixels);
 
+ 	  blackPixels ^= 1;
 
+ 	  if (codingLine[a0i] < columns) {
 
+ 	    ++b1i;
 
+	    while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
 
+ 	      b1i += 2;
 
+  	    }
 
+  	  }
 
+  	  break;
 
+  	case twoDimVertR1:
 
+ 	  addPixels(refLine[b1i] + 1, blackPixels);
 
+ 	  blackPixels ^= 1;
 
+ 	  if (codingLine[a0i] < columns) {
 
+ 	    ++b1i;
 
+ 	    while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
 
+ 	      b1i += 2;
 
+  	    }
 
+  	  }
 
+  	  break;
 
+ 	case twoDimVert0:
 
+ 	  addPixels(refLine[b1i], blackPixels);
 
+ 	  blackPixels ^= 1;
 
+ 	  if (codingLine[a0i] < columns) {
 
+ 	    ++b1i;
 
+ 	    while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
 
+ 	      b1i += 2;
 
+  	    }
 
+  	  }
 
+  	  break;
 
+ 	case twoDimVertL3:
 
+ 	  addPixelsNeg(refLine[b1i] - 3, blackPixels);
 
+ 	  blackPixels ^= 1;
 
+ 	  if (codingLine[a0i] < columns) {
 
+ 	    if (b1i > 0) {
 
+ 	      --b1i;
 
+ 	    } else {
 
+	      ++b1i;
 
+ 	    }
 
+	    while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
 
+ 	      b1i += 2;
 
+  	    }
 
+  	  }
 
+  	  break;
 
+  	case twoDimVertL2:
 
+ 	  addPixelsNeg(refLine[b1i] - 2, blackPixels);
 
+ 	  blackPixels ^= 1;
 
+ 	  if (codingLine[a0i] < columns) {
 
+ 	    if (b1i > 0) {
 
+ 	      --b1i;
 
+ 	    } else {
 
+ 	      ++b1i;
 
+  	    }
 
+ 	    while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
 
+ 	      b1i += 2;
 
+ 	    }
 
+  	  }
 
+  	  break;
 
+ 	case twoDimVertL1:
 
+ 	  addPixelsNeg(refLine[b1i] - 1, blackPixels);
 
+ 	  blackPixels ^= 1;
 
+ 	  if (codingLine[a0i] < columns) {
 
+ 	    if (b1i > 0) {
 
+ 	      --b1i;
 
+ 	    } else {
 
+ 	      ++b1i;
 
+ 	    }
 
+ 	    while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
 
+ 	      b1i += 2;
 
+  	    }
 
+  	  }
 
+  	  break;
 
+  	case EOF:
 
+ 	  addPixels(columns, 0);
 
+  	  eof = gTrue;
 
+ 	  break;
 
+  	default:
 
+  	  error(getPos(), "Bad 2D code %04x in CCITTFax stream", code1);
 
+ 	  addPixels(columns, 0);
 
+  	  err = gTrue;
 
+  	  break;
 
+  	}
 
 	}
 
-      } while (codingLine[a0] < columns);
 
 
 
     // 1-D encoding
 
     } else {
 
-      codingLine[a0 = 0] = 0;
 
-      while (1) {
 
-	code1 = 0;
 
-	do {
 
-	  code1 += code3 = getWhiteCode();
 
-	} while (code3 >= 64);
 
-	codingLine[a0+1] = codingLine[a0] + code1;
 
-	++a0;
 
-	if (codingLine[a0] >= columns)
 
-	  break;
 
-	code2 = 0;
 
-	do {
 
-	  code2 += code3 = getBlackCode();
 
-	} while (code3 >= 64);
 
-	codingLine[a0+1] = codingLine[a0] + code2;
 
-	++a0;
 
-	if (codingLine[a0] >= columns)
 
-	  break;
 
-      }
 
-    }
 
-
 
-    if (codingLine[a0] != columns) {
 
-      error(getPos(), "CCITTFax row is wrong length (%d)", codingLine[a0]);
 
-      // force the row to be the correct length
 
-      while (codingLine[a0] > columns) {
 
-	--a0;
 
+       codingLine[0] = 0;
 
+       a0i = 0;
 
+       blackPixels = 0;
 
+       while (codingLine[a0i] < columns) {
 
+ 	code1 = 0;
 
+ 	if (blackPixels) {
 
+ 	  do {
 
+ 	    code1 += code3 = getBlackCode();
 
+ 	  } while (code3 >= 64);
 
+ 	} else {
 
+ 	  do {
 
+ 	    code1 += code3 = getWhiteCode();
 
+ 	  } while (code3 >= 64);
 
+  	}
 
+ 	addPixels(codingLine[a0i] + code1, blackPixels);
 
+ 	blackPixels ^= 1;
 
+        }
 
       }
 
-      codingLine[++a0] = columns;
 
-      err = gTrue;
 
-    }
 
 
 
     // byte-align the row
 
     if (byteAlign) {
 
@@ -1552,14 +1621,17 @@ int CCITTFaxStream::lookChar() {
 
     // this if we know the stream contains end-of-line markers because
 
     // the "just plow on" technique tends to work better otherwise
 
     } else if (err && endOfLine) {
 
-      do {
 
+      while (1) {
 
+	code1 = lookBits(13);
 
 	if (code1 == EOF) {
 
 	  eof = gTrue;
 
 	  return EOF;
 
 	}
 
+	if ((code1 >> 1) == 0x001) {
 
+	  break;
 
+	}
 
 	eatBits(1);
 
-	code1 = lookBits(13);
 
-      } while ((code1 >> 1) != 0x001);
 
+      }
 
       eatBits(12); 
 
       if (encoding > 0) {
 
 	eatBits(1);
 
@@ -1567,11 +1639,11 @@ int CCITTFaxStream::lookChar() {
 
       }
 
     }
 
 
 
-    a0 = 0;
 
-    outputBits = codingLine[1] - codingLine[0];
 
-    if (outputBits == 0) {
 
-      a0 = 1;
 
-      outputBits = codingLine[2] - codingLine[1];
 
+    // set up for output
 
+    if (codingLine[0] > 0) {
 
+      outputBits = codingLine[a0i = 0];
 
+    } else {
 
+      outputBits = codingLine[a0i = 1];
 
     }
 
 
 
     ++row;
 
@@ -1579,39 +1651,43 @@ int CCITTFaxStream::lookChar() {
 
 
 
   // get a byte
 
   if (outputBits >= 8) {
 
-    ret = ((a0 & 1) == 0) ? 0xff : 0x00;
 
-    if ((outputBits -= 8) == 0) {
 
-      ++a0;
 
-      if (codingLine[a0] < columns) {
 
-	outputBits = codingLine[a0 + 1] - codingLine[a0];
 
-      }
 
+    buf = (a0i & 1) ? 0x00 : 0xff;
 
+    outputBits -= 8;
 
+    if (outputBits == 0 && codingLine[a0i] < columns) {
 
+      ++a0i;
 
+      outputBits = codingLine[a0i] - codingLine[a0i - 1];
 
     }
 
   } else {
 
     bits = 8;
 
-    ret = 0;
 
+    buf = 0;
 
     do {
 
       if (outputBits > bits) {
 
-	i = bits;
 
-	bits = 0;
 
-	if ((a0 & 1) == 0) {
 
-	  ret |= 0xff >> (8 - i);
 
+	buf <<= bits;
 
+	if (!(a0i & 1)) {
 
+	  buf |= 0xff >> (8 - bits);
 
 	}
 
-	outputBits -= i;
 
+	outputBits -= bits;
 
+	bits = 0;
 
       } else {
 
-	i = outputBits;
 
-	bits -= outputBits;
 
-	if ((a0 & 1) == 0) {
 
-	  ret |= (0xff >> (8 - i)) << bits;
 
+	buf <<= outputBits;
 
+	if (!(a0i & 1)) {
 
+	  buf |= 0xff >> (8 - outputBits);
 
 	}
 
+	bits -= outputBits;
 
 	outputBits = 0;
 
-	++a0;
 
-	if (codingLine[a0] < columns) {
 
-	  outputBits = codingLine[a0 + 1] - codingLine[a0];
 
+	if (codingLine[a0i] < columns) {
 
+	  ++a0i;
 
+	  outputBits = codingLine[a0i] - codingLine[a0i - 1];
 
+	} else if (bits > 0) {
 
+	  buf <<= bits;
 
+	  bits = 0;
 
 	}
 
       }
 
-    } while (bits > 0 && codingLine[a0] < columns);
 
+    } while (bits);
 
+  }
 
+  if (black) {
 
+    buf ^= 0xff;
 
   }
 
-  buf = black ? (ret ^ 0xff) : ret;
 
   return buf;
 
 }
 
 
 
@@ -1653,6 +1729,9 @@ short CCITTFaxStream::getWhiteCode() {
 
   code = 0; // make gcc happy
 
   if (endOfBlock) {
 
     code = lookBits(12);
 
+    if (code == EOF) {
 
+      return 1;
 
+    }
 
     if ((code >> 5) == 0) {
 
       p = &whiteTab1[code];
 
     } else {
 
@@ -1665,6 +1744,9 @@ short CCITTFaxStream::getWhiteCode() {
 
   } else {
 
     for (n = 1; n <= 9; ++n) {
 
       code = lookBits(n);
 
+      if (code == EOF) {
 
+	return 1;
 
+      }
 
       if (n < 9) {
 
 	code <<= 9 - n;
 
       }
 
@@ -1676,6 +1758,9 @@ short CCITTFaxStream::getWhiteCode() {
 
     }
 
     for (n = 11; n <= 12; ++n) {
 
       code = lookBits(n);
 
+      if (code == EOF) {
 
+	return 1;
 
+      }
 
       if (n < 12) {
 
 	code <<= 12 - n;
 
       }
 
@@ -1701,6 +1786,9 @@ short CCITTFaxStream::getBlackCode() {
 
   code = 0; // make gcc happy
 
   if (endOfBlock) {
 
     code = lookBits(13);
 
+    if (code == EOF) {
 
+      return 1;
 
+    }
 
     if ((code >> 7) == 0) {
 
       p = &blackTab1[code];
 
     } else if ((code >> 9) == 0) {
 
@@ -1715,6 +1803,9 @@ short CCITTFaxStream::getBlackCode() {
 
   } else {
 
     for (n = 2; n <= 6; ++n) {
 
       code = lookBits(n);
 
+      if (code == EOF) {
 
+	return 1;
 
+      }
 
       if (n < 6) {
 
 	code <<= 6 - n;
 
       }
 
@@ -1726,6 +1817,9 @@ short CCITTFaxStream::getBlackCode() {
 
     }
 
     for (n = 7; n <= 12; ++n) {
 
       code = lookBits(n);
 
+      if (code == EOF) {
 
+	return 1;
 
+      }
 
       if (n < 12) {
 
 	code <<= 12 - n;
 
       }
 
@@ -1739,6 +1833,9 @@ short CCITTFaxStream::getBlackCode() {
 
     }
 
     for (n = 10; n <= 13; ++n) {
 
       code = lookBits(n);
 
+      if (code == EOF) {
 
+	return 1;
 
+      }
 
       if (n < 13) {
 
 	code <<= 13 - n;
 
       }
 
@@ -1961,6 +2058,12 @@ void DCTStream::reset() {
 
     // allocate a buffer for the whole image
 
     bufWidth = ((width + mcuWidth - 1) / mcuWidth) * mcuWidth;
 
     bufHeight = ((height + mcuHeight - 1) / mcuHeight) * mcuHeight;
 
+    if (bufWidth <= 0 || bufHeight <= 0 ||
 
+	bufWidth > INT_MAX / bufWidth / (int)sizeof(int)) {
 
+      error(getPos(), "Invalid image size in DCT stream");
 
+      y = height;
 
+      return;
 
+    }
 
     for (i = 0; i < numComps; ++i) {
 
       frameBuf[i] = (int *)gmallocn(bufWidth * bufHeight, sizeof(int));
 
       memset(frameBuf[i], 0, bufWidth * bufHeight * sizeof(int));
 
@@ -3024,6 +3127,11 @@ GBool DCTStream::readScanInfo() {
 
   }
 
   scanInfo.firstCoeff = str->getChar();
 
   scanInfo.lastCoeff = str->getChar();
 
+  if (scanInfo.firstCoeff < 0 || scanInfo.lastCoeff > 63 ||
 
+      scanInfo.firstCoeff > scanInfo.lastCoeff) {
 
+    error(getPos(), "Bad DCT coefficient numbers in scan info block");
 
+    return gFalse;
 
+  }
 
   c = str->getChar();
 
   scanInfo.ah = (c >> 4) & 0x0f;
 
   scanInfo.al = c & 0x0f;
 
Index: tetex-src-3.0/libs/xpdf/xpdf/Stream.h
 
===================================================================
 
--- tetex-src-3.0.orig/libs/xpdf/xpdf/Stream.h
 
+++ tetex-src-3.0/libs/xpdf/xpdf/Stream.h
 
@@ -519,13 +519,15 @@ private:
 
   int row;			// current row
 
   int inputBuf;			// input buffer
 
   int inputBits;		// number of bits in input buffer
 
-  short *refLine;		// reference line changing elements
 
-  int b1;			// index into refLine
 
-  short *codingLine;		// coding line changing elements
 
-  int a0;			// index into codingLine
 
+  int *codingLine;		// coding line changing elements
 
+  int *refLine;			// reference line changing elements
 
+  int a0i;			// index into codingLine
 
+  GBool err;			// error on current line
 
   int outputBits;		// remaining ouput bits
 
   int buf;			// character buffer
 
 
 
+  void addPixels(int a1, int black);
 
+  void addPixelsNeg(int a1, int black);
 
   short getTwoDimCode();
 
   short getWhiteCode();
 
   short getBlackCode();
app-text/tetex/files/xpdf-CESA-2004-007-xpdf2-newer.diff
Show inline comments
 
new file 100644
 
--- XRef.cc.orig	2004-09-17 23:54:38.000000000 -0700
 
+++ XRef.cc	2004-09-25 17:59:36.000000000 -0700
 
@@ -76,6 +76,12 @@
 
 
 
   // trailer is ok - read the xref table
 
   } else {
 
+    if (size*sizeof(XRefEntry)/sizeof(XRefEntry) != size) {
 
+      error(-1, "Invalid 'size' inside xref table.");
 
+      ok = gFalse;
 
+      errCode = errDamaged;
 
+      return;
 
+    }
 
     entries = (XRefEntry *)gmalloc(size * sizeof(XRefEntry));
 
     for (i = 0; i < size; ++i) {
 
       entries[i].offset = 0xffffffff;
 
@@ -267,6 +273,10 @@
 
     // table size
 
     if (first + n > size) {
 
       newSize = size + 256;
 
+      if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) {
 
+        error(-1, "Invalid 'newSize'");
 
+        goto err2;
 
+      }
 
       entries = (XRefEntry *)grealloc(entries, newSize * sizeof(XRefEntry));
 
       for (i = size; i < newSize; ++i) {
 
 	entries[i].offset = 0xffffffff;
 
@@ -410,6 +420,10 @@
 
 	    if (!strncmp(p, "obj", 3)) {
 
 	      if (num >= size) {
 
 		newSize = (num + 1 + 255) & ~255;
 
+	        if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) {
 
+	          error(-1, "Invalid 'obj' parameters.");
 
+	          return gFalse;
 
+	        }
 
 		entries = (XRefEntry *)
 
 		            grealloc(entries, newSize * sizeof(XRefEntry));
 
 		for (i = size; i < newSize; ++i) {
 
@@ -431,6 +445,11 @@
 
     } else if (!strncmp(p, "endstream", 9)) {
 
       if (streamEndsLen == streamEndsSize) {
 
 	streamEndsSize += 64;
 
+        if (streamEndsSize*sizeof(int)/sizeof(int) != streamEndsSize) {
 
+          error(-1, "Invalid 'endstream' parameter.");
 
+          return gFalse;
 
+        }
 
+
 
 	streamEnds = (Guint *)grealloc(streamEnds,
 
 				       streamEndsSize * sizeof(int));
 
       }
 
--- Catalog.cc.orig	2004-10-18 16:26:39.388666476 +0200
 
+++ Catalog.cc	2004-10-18 16:27:28.004749073 +0200
 
@@ -62,6 +62,12 @@
 
   }
 
   pagesSize = numPages0 = obj.getInt();
 
   obj.free();
 
+  if (pagesSize*sizeof(Page *)/sizeof(Page *) != pagesSize ||
 
+      pagesSize*sizeof(Ref)/sizeof(Ref) != pagesSize) {
 
+    error(-1, "Invalid 'pagesSize'");
 
+    ok = gFalse;
 
+    return;
 
+  }
 
   pages = (Page **)gmalloc(pagesSize * sizeof(Page *));
 
   pageRefs = (Ref *)gmalloc(pagesSize * sizeof(Ref));
 
   for (i = 0; i < pagesSize; ++i) {
 
@@ -186,6 +192,11 @@
 
       }
 
       if (start >= pagesSize) {
 
 	pagesSize += 32;
 
+        if (pagesSize*sizeof(Page *)/sizeof(Page *) != pagesSize ||
 
+            pagesSize*sizeof(Ref)/sizeof(Ref) != pagesSize) {
 
+          error(-1, "Invalid 'pagesSize' parameter.");
 
+          goto err3;
 
+        }
 
 	pages = (Page **)grealloc(pages, pagesSize * sizeof(Page *));
 
 	pageRefs = (Ref *)grealloc(pageRefs, pagesSize * sizeof(Ref));
 
 	for (j = pagesSize - 32; j < pagesSize; ++j) {
 

	
 

	
app-text/tetex/files/xpdf-goo-sizet.patch
Show inline comments
 
new file 100644
 
diff -ru xpdf-2.02pl1/goo/gmem.c xpdf-2.02pl1/goo/gmem.c
 
--- xpdf-2.02pl1/goo/gmem.c	2003-06-16 22:01:26.000000000 +0200
 
+++ xpdf-2.02pl1/goo/gmem.c	2004-10-29 15:13:34.866919791 +0200
 
@@ -53,9 +53,9 @@
 
 
 
 #endif /* DEBUG_MEM */
 
 
 
-void *gmalloc(int size) {
 
+void *gmalloc(size_t size) {
 
 #ifdef DEBUG_MEM
 
-  int size1;
 
+  size_t size1;
 
   char *mem;
 
   GMemHdr *hdr;
 
   void *data;
 
@@ -94,11 +94,11 @@
 
 #endif
 
 }
 
 
 
-void *grealloc(void *p, int size) {
 
+void *grealloc(void *p, size_t size) {
 
 #ifdef DEBUG_MEM
 
   GMemHdr *hdr;
 
   void *q;
 
-  int oldSize;
 
+  size_t oldSize;
 
 
 
   if (size == 0) {
 
     if (p)
 
@@ -137,7 +137,7 @@
 
 
 
 void gfree(void *p) {
 
 #ifdef DEBUG_MEM
 
-  int size;
 
+  size_t size;
 
   GMemHdr *hdr;
 
   GMemHdr *prevHdr, *q;
 
   int lst;
 
diff -ru xpdf-2.02pl1/goo/gmem.h xpdf-2.02pl1/goo/gmem.h
 
--- xpdf-2.02pl1/goo/gmem.h	2003-06-16 22:01:26.000000000 +0200
 
+++ xpdf-2.02pl1/goo/gmem.h	2004-10-29 15:13:50.864027201 +0200
 
@@ -19,13 +19,13 @@
 
  * Same as malloc, but prints error message and exits if malloc()
 
  * returns NULL.
 
  */
 
-extern void *gmalloc(int size);
 
+extern void *gmalloc(size_t size);
 
 
 
 /*
 
  * Same as realloc, but prints error message and exits if realloc()
 
  * returns NULL.  If <p> is NULL, calls malloc instead of realloc().
 
  */
 
-extern void *grealloc(void *p, int size);
 
+extern void *grealloc(void *p, size_t size);
 
 
 
 /*
 
  * Same as free, but checks for and ignores NULL pointers.
app-text/tetex/files/xpdf2-underflow.patch
Show inline comments
 
new file 100644
 
diff -ru xpdf-2.02pl1/xpdf/XRef.cc xpdf-2.02pl1/xpdf/XRef.cc
 
--- xpdf-2.02pl1/xpdf/XRef.cc	2004-10-29 15:16:45.790089001 +0200
 
+++ xpdf-2.02pl1/xpdf/XRef.cc	2004-10-29 15:11:54.132168025 +0200
 
@@ -66,6 +66,8 @@
 
   start = str->getStart();
 
   pos = readTrailer();
 
 
 
+  entries = NULL;
 
+
 
   // if there was a problem with the trailer,
 
   // try to reconstruct the xref table
 
   if (pos == 0) {
 
@@ -76,7 +78,7 @@
 
 
 
   // trailer is ok - read the xref table
 
   } else {
 
-    if (size*sizeof(XRefEntry)/sizeof(XRefEntry) != size) {
 
+    if ((size < 0) || (size*sizeof(XRefEntry)/sizeof(XRefEntry) != size)) {
 
       error(-1, "Invalid 'size' inside xref table.");
 
       ok = gFalse;
 
       errCode = errDamaged;
 
@@ -181,7 +183,7 @@
 
     n = atoi(p);
 
     while ('0' <= *p && *p <= '9') ++p;
 
     while (isspace(*p)) ++p;
 
-    if (p == buf)
 
+    if ((p == buf) || (n < 0)) /* must make progress */
 
       return 0;
 
     pos1 += (p - buf) + n * 20;
 
   }
 
@@ -255,6 +257,10 @@
 
     }
 
     s[i] = '\0';
 
     first = atoi(s);
 
+    if (first < 0) {
 
+        error(-1, "Invalid 'first'");
 
+        goto err2;
 
+    }
 
     while ((c = str->lookChar()) != EOF && isspace(c)) {
 
       str->getChar();
 
     }
 
@@ -266,6 +272,10 @@
 
     }
 
     s[i] = '\0';
 
     n = atoi(s);
 
+    if (n<=0) {
 
+        error(-1, "Invalid 'n'");
 
+        goto err2;
 
+    }
 
     while ((c = str->lookChar()) != EOF && isspace(c)) {
 
       str->getChar();
 
     }
 
@@ -273,7 +283,7 @@
 
     // table size
 
     if (first + n > size) {
 
       newSize = size + 256;
 
-      if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) {
 
+      if ((newSize < 0) || (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize)) {
 
         error(-1, "Invalid 'newSize'");
 
         goto err2;
 
       }
 
@@ -406,6 +416,10 @@
 
     // look for object
 
     } else if (isdigit(*p)) {
 
       num = atoi(p);
 
+      if (num < 0) {
 
+	error(-1, "Invalid 'num' parameters.");
 
+	return gFalse;
 
+      }
 
       do {
 
 	++p;
 
       } while (*p && isdigit(*p));
 
@@ -425,7 +439,7 @@
 
 	    if (!strncmp(p, "obj", 3)) {
 
 	      if (num >= size) {
 
 		newSize = (num + 1 + 255) & ~255;
 
-	        if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) {
 
+	        if ((newSize < 0) || (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize)) {
 
 	          error(-1, "Invalid 'obj' parameters.");
 
 	          return gFalse;
 
 	        }
app-text/tetex/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>tex</herd>
 
</pkgmetadata>
app-text/tetex/tetex-2.0.2-r5.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-2.0.2-r5.ebuild,v 1.18 2007/09/01 16:59:06 rbu Exp $
 

	
 
inherit tetex-2 flag-o-matic
 

	
 
DESCRIPTION="a complete TeX distribution"
 
HOMEPAGE="http://tug.org/teTeX/"
 

	
 
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
 
IUSE=""
 

	
 
src_unpack() {
 
	tetex-2_src_unpack
 

	
 
	# bug 75801
 
	EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p0" epatch ${FILESDIR}/xpdf-CESA-2004-007-xpdf2-newer.diff
 
	EPATCH_OPTS="-d ${S}/libs/xpdf -p1" epatch ${FILESDIR}/xpdf-goo-sizet.patch
 
	EPATCH_OPTS="-d ${S}/libs/xpdf -p1" epatch ${FILESDIR}/xpdf2-underflow.patch
 
	EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p0" epatch ${FILESDIR}/xpdf-3.00pl2-CAN-2004-1125.patch
 
	EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p0" epatch ${FILESDIR}/xpdf-3.00pl3-CAN-2005-0064.patch
 
	EPATCH_OPTS="-d ${S} -p1" epatch ${FILESDIR}/xdvizilla.patch
 

	
 
	# bug 122365
 
	EPATCH_OPTS="-d ${WORKDIR}" epatch ${FILESDIR}/tetex-2.0.2-flex-unput.patch || die
 

	
 
	# bug 118264
 
	EPATCH_OPTS="-d ${WORKDIR} -p0" epatch \
 
	${FILESDIR}/${P}-dvi-draw-conflicting-types.patch
 
}
 

	
 
src_compile() {
 
	use amd64 && replace-flags "-O3" "-O2"
 
	tetex_src_compile
 
}
 

	
 
src_install() {
 
	insinto /usr/share/texmf/tex/latex/greek
 
	doins ${FILESDIR}/iso-8859-7.def
 
	tetex-2_src_install
 
}
app-text/tetex/tetex-2.0.2-r8.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-2.0.2-r8.ebuild,v 1.16 2007/09/01 16:59:06 rbu Exp $
 

	
 
inherit tetex-2 flag-o-matic
 

	
 
DESCRIPTION="a complete TeX distribution"
 
HOMEPAGE="http://tug.org/teTeX/"
 

	
 
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
 
IUSE=""
 

	
 
src_unpack() {
 
	tetex-2_src_unpack
 

	
 
	# bug 75801
 
	EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p0" epatch ${FILESDIR}/xpdf-CESA-2004-007-xpdf2-newer.diff
 
	EPATCH_OPTS="-d ${S}/libs/xpdf -p1" epatch ${FILESDIR}/xpdf-goo-sizet.patch
 
	EPATCH_OPTS="-d ${S}/libs/xpdf -p1" epatch ${FILESDIR}/xpdf2-underflow.patch
 
	EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p0" epatch ${FILESDIR}/xpdf-3.00pl2-CAN-2004-1125.patch
 
	EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p0" epatch ${FILESDIR}/xpdf-3.00pl3-CAN-2005-0064.patch
 

	
 
	# bug 122365
 
	EPATCH_OPTS="-d ${WORKDIR}" epatch ${FILESDIR}/tetex-2.0.2-flex-unput.patch || die
 

	
 
	#bug 115775
 
	EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p2" epatch ${FILESDIR}/xpdf-2.02pl1-CAN-2005-3191-3.patch
 

	
 
	EPATCH_OPTS="-d ${S} -p1" epatch ${FILESDIR}/xdvizilla.patch
 

	
 
	# bug 85404
 
	EPATCH_OPTS="-d ${S} -p1" epatch ${FILESDIR}/${P}-epstopdf-wrong-rotation.patch
 

	
 
	# bug 118264
 
	EPATCH_OPTS="-d ${WORKDIR} -p0" epatch ${FILESDIR}/${P}-dvi-draw-conflicting-types.patch
 

	
 
}
 

	
 
src_compile() {
 
	use amd64 && replace-flags "-O3" "-O2"
 
	tetex_src_compile
 
}
 

	
 
src_install() {
 
	insinto /usr/share/texmf/tex/latex/greek
 
	doins ${FILESDIR}/iso-8859-7.def
 
	tetex-2_src_install
 
}
app-text/tetex/tetex-2.0.2-r9.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-2.0.2-r9.ebuild,v 1.13 2007/02/28 22:02:38 genstef Exp $
 

	
 
inherit tetex-2 flag-o-matic
 

	
 
DESCRIPTION="a complete TeX distribution"
 
HOMEPAGE="http://tug.org/teTeX/"
 

	
 
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
 
IUSE=""
 

	
 
src_unpack() {
 
	tetex-2_src_unpack
 

	
 
	# bug 75801
 
	EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p0" epatch ${FILESDIR}/xpdf-CESA-2004-007-xpdf2-newer.diff
 
	EPATCH_OPTS="-d ${S}/libs/xpdf -p1" epatch ${FILESDIR}/xpdf-goo-sizet.patch
 
	EPATCH_OPTS="-d ${S}/libs/xpdf -p1" epatch ${FILESDIR}/xpdf2-underflow.patch
 
	EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p0" epatch ${FILESDIR}/xpdf-3.00pl2-CAN-2004-1125.patch
 
	EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p0" epatch ${FILESDIR}/xpdf-3.00pl3-CAN-2005-0064.patch
 

	
 
	# bug 122365
 
	EPATCH_OPTS="-d ${WORKDIR}" epatch ${FILESDIR}/tetex-2.0.2-flex-unput.patch || die
 

	
 
	#bug 115775
 
	EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p2" epatch ${FILESDIR}/xpdf-2.02pl1-CAN-2005-3191-3.patch
 

	
 
	EPATCH_OPTS="-d ${S} -p1" epatch ${FILESDIR}/xdvizilla.patch
 

	
 
	# bug 85404
 
	EPATCH_OPTS="-d ${S} -p1" epatch ${FILESDIR}/${P}-epstopdf-wrong-rotation.patch
 

	
 
	# bug 118264
 
	EPATCH_OPTS="-d ${WORKDIR} -p0" epatch ${FILESDIR}/${P}-dvi-draw-conflicting-types.patch
 

	
 
	# bug 80985
 
	EPATCH_OPTS="-d ${S} -p1" epatch ${FILESDIR}/${P}-use-system-libtool.patch
 

	
 
	# bug 115775 (from comment 17)
 
	EPATCH_OPTS="-d ${S} -p1" epatch ${FILESDIR}/${P}-skip_bibtex_test.patch
 

	
 
}
 

	
 
src_compile() {
 
	use amd64 && replace-flags "-O3" "-O2"
 
	tetex_src_compile
 
}
 

	
 
src_install() {
 
	insinto /usr/share/texmf/tex/latex/greek
 
	doins ${FILESDIR}/iso-8859-7.def
 
	tetex-2_src_install
 
}
app-text/tetex/tetex-3.0_p1-r6.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-3.0_p1-r6.ebuild,v 1.9 2007/12/11 09:29:37 vapier Exp $
 

	
 
inherit tetex-3 flag-o-matic versionator virtualx autotools
 

	
 
SMALL_PV=$(get_version_component_range 1-2 ${PV})
 
TETEX_TEXMF_PV=${SMALL_PV}
 
S="${WORKDIR}/tetex-src-${SMALL_PV}"
 

	
 
TETEX_SRC="tetex-src-${PV}.tar.gz"
 
TETEX_TEXMF="tetex-texmf-${TETEX_TEXMF_PV:-${TETEX_PV}}.tar.gz"
 
#TETEX_TEXMF_SRC="tetex-texmfsrc-${TETEX_TEXMF_PV:-${TETEX_PV}}.tar.gz"
 
TETEX_TEXMF_SRC=""
 

	
 
DESCRIPTION="a complete TeX distribution"
 
HOMEPAGE="http://tug.org/teTeX/"
 

	
 
SRC_PATH_TETEX=ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/current/distrib
 
SRC_URI="mirror://gentoo/${TETEX_SRC}
 
	${SRC_PATH_TETEX}/${TETEX_TEXMF}
 
	mirror://gentoo/${P}-gentoo.tar.gz
 
	mirror://gentoo/${P}-dviljk-security-fixes.patch.bz2"
 

	
 
KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
 

	
 
# these are defined in tetex.eclass and tetex-3.eclass
 
IUSE=""
 
DEPEND="${DEPEND} media-libs/gd"
 
RDEPEND="${RDEPEND} media-libs/gd"
 

	
 
src_unpack() {
 
	tetex-3_src_unpack
 
	cd "${WORKDIR}"
 
	unpack ${P}-dviljk-security-fixes.patch.bz2
 
	cd "${S}"
 
	epatch "${FILESDIR}/${PN}-${SMALL_PV}-kpathsea-pic.patch"
 

	
 
	# bug 85404
 
	epatch "${FILESDIR}/${PN}-${SMALL_PV}-epstopdf-wrong-rotation.patch"
 

	
 
	epatch "${FILESDIR}/${P}-amd64-xdvik-wp.patch"
 
	epatch "${FILESDIR}/${P}-mptest.patch"
 

	
 
	#bug 98029
 
	epatch "${FILESDIR}/${P}-fmtutil-etex.patch"
 

	
 
	#bug 115775
 
	epatch "${FILESDIR}/${P}-xpdf-vulnerabilities.patch"
 

	
 
	# bug 94860
 
	epatch "${FILESDIR}/${P}-pdftosrc-install.patch"
 

	
 
	# bug 126918
 
	epatch "${FILESDIR}/${P}-create-empty-files.patch"
 

	
 
	# bug 94901
 
	epatch "${FILESDIR}/${P}-dvipdfm-timezone.patch"
 

	
 
	# security bug #170861
 
	epatch "${FILESDIR}/${P}-CVE-2007-0650.patch"
 

	
 
	# security bug #188172
 
	epatch "${FILESDIR}/${P}-xpdf-CVE-2007-3387.patch"
 

	
 
	# security bug #198238
 
	epatch "${FILESDIR}/${P}-dvips_bufferoverflow.patch"
 

	
 
	# securty bug #196735
 
	epatch "${FILESDIR}/xpdf-3.02pl2.patch"
 

	
 
	# Construct a Gentoo site texmf directory
 
	# that overlays the upstream supplied
 
	epatch "${FILESDIR}/${P}-texmf-site.patch"
 

	
 
	# security bug #198238
 
	epatch "${WORKDIR}/${P}-dviljk-security-fixes.patch"
 

	
 
	# security bug #198238 and bug #193437
 
	epatch "${FILESDIR}/${P}-t1lib-SA26241_buffer_overflow.patch"
 

	
 
	#prevent bibtex from breaking newlines with "%\n"
 
	epatch "${FILESDIR}/${P}-bibtex-no-bad-newline.patch"
 

	
 
	cd "${S}/texk/dviljk"
 
	AT_M4DIR="${S}/texk/m4" eautoreconf
 
}
 

	
 
src_compile() {
 
	#bug 119856
 
	export LC_ALL=C
 

	
 
	# dvipng has its own ebuild (fix for bug #129044).
 
	# also, do not build against own lib gd (security #182055)
 
	TETEX_ECONF="${TETEX_ECONF} --without-dvipng --with-system-gd"
 

	
 
	tetex-3_src_compile
 
}
 

	
 
src_test() {
 
	fmtutil --fmtdir "${S}/texk/web2c" --all
 
	# The check target tries to access X display, bug #69439.
 
	Xmake check || die "Xmake check failed."
 
}
 

	
 
src_install() {
 
	insinto /usr/share/texmf/dvips/pstricks
 
	doins "${FILESDIR}/pst-circ.pro"
 

	
 
	# install pdftosrc man page, bug 94860
 
	doman "${S}/texk/web2c/pdftexdir/pdftosrc.1"
 

	
 
	tetex-3_src_install
 

	
 
	# Create Gentoo site texmf directory
 
	keepdir /usr/share/texmf-site
 
}
 

	
 
pkg_postinst() {
 
	tetex-3_pkg_postinst
 

	
 
	elog
 
	elog "This release removes dvipng since it is provided in app-text/dvipng"
 
	elog
 
}
dev-dotnet/gconf-sharp/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for dev-dotnet/gconf-sharp
 
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gconf-sharp/ChangeLog,v 1.52 2008/03/12 13:29:42 phreak Exp $
 

	
 
  12 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
 
  Removing Peter Johanson (latexer, #206688) from metadata.xml.
 

	
 
  30 Apr 2007; Roy Marples <uberlord@gentoo.org> gconf-sharp-2.16.0.ebuild:
 
  Added ~x86-fbsd keyword.
 

	
 
  13 Apr 2007; Petteri Räty <betelgeuse@gentoo.org>
 
  -gconf-sharp-1.0.8-r1.ebuild, -gconf-sharp-2.4.0.ebuild,
 
  -gconf-sharp-2.4.2.ebuild, -gconf-sharp-2.8.0.ebuild:
 
  Remove old versions.
 

	
 
  03 Mar 2007; Luis Medinas <metalgod@gentoo.org> gconf-sharp-2.16.0.ebuild:
 
  Stable on amd64.
 

	
 
  14 Feb 2007; Gustavo Zacarias <gustavoz@gentoo.org>
 
  gconf-sharp-2.16.0.ebuild:
 
  Keyworded ~sparc
 

	
 
  11 Feb 2007; Lars Weiler <pylon@gentoo.org> gconf-sharp-2.16.0.ebuild:
 
  Stable on ppc; bug #164048.
 

	
 
  29 Jan 2007; Christian Faulhammer <opfer@gentoo.org>
 
  gconf-sharp-2.16.0.ebuild:
 
  stable x86; bug #164048
 

	
 
  18 Jan 2007; Christian Faulhammer <opfer@gentoo.org>
 
  gconf-sharp-2.8.2.ebuild:
 
  stable x86, bug #153308
 

	
 
  16 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  gconf-sharp-2.8.2.ebuild:
 
  ppc stable
 

	
 
*gconf-sharp-2.16.0 (07 Sep 2006)
 

	
 
  07 Sep 2006; Peter Johanson <latexer@gentoo.org>
 
  +gconf-sharp-2.16.0.ebuild:
 
  Bump.
 

	
 
  23 Jul 2006; Olivier Crête <tester@gentoo.org> gconf-sharp-2.8.2.ebuild:
 
  Stable on amd64
 

	
 
  17 Jul 2006; Daniel Gryniewicz <dang@gentoo.org> gconf-sharp-2.8.0.ebuild:
 
  Marked stable on amd64 for bug #139612
 

	
 
  14 Jul 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  gconf-sharp-2.8.0.ebuild:
 
  ppc stable, bug #139612
 

	
 
  12 Jul 2006; Chris Gianelloni <wolf31o2@gentoo.org>
 
  gconf-sharp-2.8.0.ebuild:
 
  Stable on x86 wrt bug #139612.
 

	
 
  20 Mar 2006; Luis Medinas <metalgod@gentoo.org> gconf-sharp-1.0.10.ebuild:
 
  Stable on amd64.
 

	
 
*gconf-sharp-2.8.2 (16 Mar 2006)
 
*gconf-sharp-2.4.2 (16 Mar 2006)
 

	
 
  16 Mar 2006; Peter Johanson <latexer@gentoo.org>
 
  +gconf-sharp-2.4.2.ebuild, +gconf-sharp-2.8.2.ebuild:
 
  Bump.
 

	
 
*gconf-sharp-2.8.0 (26 Jan 2006)
 

	
 
  26 Jan 2006; Peter Johanson <latexer@gentoo.org>
 
  -gconf-sharp-2.6.0.ebuild, +gconf-sharp-2.8.0.ebuild:
 
  2.8.0 in the house, and 2.6.0 kicked to the curb.
 

	
 
  21 Nov 2005; Peter Johanson <latexer@gentoo.org>
 
  -gconf-sharp-2.3.92.ebuild, -gconf-sharp-2.5.92.ebuild:
 
  Remove older version.
 

	
 
*gconf-sharp-2.6.0 (08 Nov 2005)
 
*gconf-sharp-2.4.0 (08 Nov 2005)
 

	
 
  08 Nov 2005; Peter Johanson <latexer@gentoo.org>
 
  -gconf-sharp-2.3.91.ebuild, +gconf-sharp-2.4.0.ebuild,
 
  -gconf-sharp-2.5.91.ebuild, +gconf-sharp-2.6.0.ebuild:
 
  Final releases of new *-sharp-2.4 and 2.6 stuff, and remove one older
 
  pre-release of both.
 

	
 
  16 Oct 2005; Peter Johanson <latexer@gentoo.org>
 
  -gconf-sharp-1.0.8.ebuild, -gconf-sharp-2.3.90.ebuild,
 
  -gconf-sharp-2.5.90.ebuild:
 
  Remove a few older versions.
 

	
 
*gconf-sharp-2.5.92 (16 Oct 2005)
 
*gconf-sharp-2.3.92 (16 Oct 2005)
 

	
 
  16 Oct 2005; Peter Johanson <latexer@gentoo.org>
 
  +gconf-sharp-2.3.92.ebuild, +gconf-sharp-2.5.92.ebuild:
 
  Bump.
 

	
 
  15 Oct 2005; Joseph Jezak <josejx@gentoo.org> gconf-sharp-1.0.10.ebuild:
 
  Marked ppc stable for bug #103253.
 

	
 
*gconf-sharp-2.5.91 (16 Sep 2005)
 
*gconf-sharp-2.3.91 (16 Sep 2005)
 

	
 
  16 Sep 2005; Peter Johanson <latexer@gentoo.org>
 
  +gconf-sharp-2.3.91.ebuild, +gconf-sharp-2.5.91.ebuild:
 
  Bump.
 

	
 
*gconf-sharp-2.5.90 (17 Aug 2005)
 
*gconf-sharp-2.3.90 (17 Aug 2005)
 

	
 
  17 Aug 2005; Peter Johanson <latexer@gentoo.org>
 
  -gconf-sharp-1.0.6.ebuild, -gconf-sharp-1.9.3.1.ebuild,
 
  -gconf-sharp-1.9.5.ebuild, +gconf-sharp-2.3.90.ebuild,
 
  -gconf-sharp-2.5.5.ebuild, +gconf-sharp-2.5.90.ebuild:
 
  Bump to new beta releases, and clean out lots of older stuff.
 

	
 
  05 Aug 2005; Peter Johanson <latexer@gentoo.org>
 
  gconf-sharp-1.0.10.ebuild:
 
  Stable on x86.
 

	
 
*gconf-sharp-1.0.10 (24 May 2005)
 
*gconf-sharp-1.0.8-r1 (24 May 2005)
 

	
 
  24 May 2005; Peter Johanson <latexer@gentoo.org>
 
  +gconf-sharp-1.0.8-r1.ebuild, +gconf-sharp-1.0.10.ebuild:
 
  Revision bump to force out pkg-config fix, and bump to latest 1.0.x release.
 

	
 
  21 May 2005; Peter Johanson <latexer@gentoo.org> :
 
  Digest of new diff that fixes bug #93433.
 

	
 
  21 May 2005; Tom Martin <slarti@gentoo.org> gconf-sharp-2.5.5.ebuild:
 
  Marked ~amd64.
 

	
 
  20 May 2005; Peter Johanson <latexer@gentoo.org>
 
  -gconf-sharp-1.9.2.ebuild, -gconf-sharp-1.9.3.ebuild:
 
  Remove some older versions.
 

	
 
*gconf-sharp-1.9.5 (20 May 2005)
 

	
 
  20 May 2005; Peter Johanson <latexer@gentoo.org>
 
  +gconf-sharp-1.9.5.ebuild:
 
  Bump.
 

	
 
*gconf-sharp-2.5.5 (18 May 2005)
 

	
 
  18 May 2005; Peter Johanson <latexer@gentoo.org>
 
  +gconf-sharp-2.5.5.ebuild:
 
  Bump.
 

	
 
  16 May 2005; Tom Martin <slarti@gentoo.org> ChangeLog:
 
  Broken Manifest. Repoman at category level is bad.
 

	
 
  16 May 2005; Tom Martin <slarti@gentoo.org> gconf-sharp-1.0.8.ebuild,
 
  gconf-sharp-1.9.3.1.ebuild:
 
  Marked ~amd64.
 

	
 
  13 May 2005; Peter Johanson <latexer@gentoo.org>
 
  -gconf-sharp-1.0.4.ebuild:
 
  Clean up a bit.
 

	
 
*gconf-sharp-1.9.3.1 (13 May 2005)
 

	
 
  13 May 2005; Peter Johanson <latexer@gentoo.org>
 
  +gconf-sharp-1.9.3.1.ebuild:
 
  Bump.
 

	
 
  12 May 2005; Tobias Scherbaum <dertobi123@gentoo.org>
 
  gconf-sharp-1.0.8.ebuild:
 
  Stable on ppc.
 

	
 
*gconf-sharp-1.9.3 (05 May 2005)
 

	
 
  05 May 2005; Peter Johanson <latexer@gentoo.org>
 
  +gconf-sharp-1.9.3.ebuild:
 
  Bump.
 

	
 
  03 May 2005; Peter Johanson <latexer@gentoo.org> gconf-sharp-1.0.8.ebuild:
 
  Mark stable on x86.
 

	
 
*gconf-sharp-1.9.2 (02 Apr 2005)
 

	
 
  02 Apr 2005; Peter Johanson <latexer@gentoo.org>
 
  +gconf-sharp-1.9.2.ebuild:
 
  Add the preview release of the gtk-sharp-2.0 stuff.
 

	
 
  22 Mar 2005; Peter Johanson <latexer@gentoo.org> gconf-sharp-1.0.4.ebuild,
 
  gconf-sharp-1.0.6.ebuild, gconf-sharp-1.0.8.ebuild:
 
  Fix deps to ensure we get correct slot of gtk-sharp
 

	
 
  21 Mar 2005; David Holm <dholm@gentoo.org> gconf-sharp-1.0.6.ebuild:
 
  Stable on ppc.
 

	
 
  21 Mar 2005; Peter Johanson <latexer@gentoo.org> gconf-sharp-1.0.6.ebuild:
 
  Mark stable on x86.
 

	
 
*gconf-sharp-1.0.8 (15 Mar 2005)
 

	
 
  15 Mar 2005; Peter Johanson <latexer@gentoo.org> +gconf-sharp-1.0.8.ebuild:
 
  Bump
 

	
 
  14 Mar 2005; Peter Johanson <latexer@gentoo.org> gconf-sharp-1.0.4.ebuild:
 
  Mark stable on x86
 

	
 
*gconf-sharp-1.0.6 (20 Feb 2005)
 

	
 
  20 Feb 2005; Peter Johanson <latexer@gentoo.org> +gconf-sharp-1.0.6.ebuild:
 
  Bump.
 

	
 
*gconf-sharp-1.0.4 (14 Feb 2005)
 

	
 
  14 Feb 2005; Danny van Dyk <kugelfang@gentoo.org>
 
  gconf-sharp-1.0.4.ebuild:
 
  Reporter is wrong! Keyworded -amd64.
 

	
dev-dotnet/gconf-sharp/Manifest
Show inline comments
 
new file 100644
 
DIST gnome-sharp-2.16.0-configurable.diff.gz 1105 RMD160 a575447ae0e9cb89143c8fe141d2d1438051de11 SHA1 33ef1760ba689b10d19c129eb0107086324cb6eb SHA256 eda8a9c3a00ec1730724fbc4d32416137996a3af5d5351d796c83ee131f64d61
 
DIST gnome-sharp-2.16.0.tar.gz 645397 RMD160 2eeffa73c842561d347c78a7c0326d8ff39eb5a6 SHA1 fc1088c9a6e7cc49d3fc7b97e5421eb243233cf0 SHA256 4d3a218b0cdc27535a13adbe864cccc84207658597c6c9aba4b8415535ae6f96
 
DIST gtk-sharp-1.0.10-configurable.diff.gz 1718 RMD160 e49497185ac37dfb4a6cde1582e6d0dbe8e29a47 SHA1 60bee3bb9147dddb3fc64e2977c6680e67ecd2e6 SHA256 a49b09d489971926907cfe3718127453f1682c87a2e48795655d4043dfb9fed5
 
DIST gtk-sharp-1.0.10.tar.gz 1841067 RMD160 53db7e93424b2429cf825390633ede4d7c511564 SHA1 6965559e2e3b741f587a41d286935c73a2c2c437 SHA256 d6c8a6a71633dc5c0382b2526df1dc1f05bc9931b6f4e47fdcc8fb7afb01e44a
 
DIST gtk-sharp-2.8.2-configurable.diff.gz 1397 RMD160 19c010397051b077d6f168a7dbd03c6edcbba72a SHA1 a84223d3463298755b0c1aa78f7d14f644d56e75 SHA256 78279f37d76dea454ac4e521114cec365e179d3d8e7e7e55fa4e50048e92eeed
 
DIST gtk-sharp-2.8.2.tar.gz 2167942 RMD160 90b450617b1a817047a948ef28d45077cb3f9e59 SHA1 79d6b334c8fa43ed70ec7098186ec0f171a9e575 SHA256 faea3c9da2691d09b9d273c10f6f8949a462695cb02051a531f88ae057463a20
 
EBUILD gconf-sharp-1.0.10.ebuild 792 RMD160 57002bdb7b6ff62e8251b36fd5e72db20d4b8d20 SHA1 652daad7ba6fe1966e615e91e388ac3c2e2eb6e6 SHA256 94595b6103adc6b7bf397e9f08e5aab91176ec8fe57ba7199f877c31aca70c6a
 
EBUILD gconf-sharp-2.16.0-r1.ebuild 804 RMD160 0d4be9000a0109d8cf047297a917decaab48bd1b SHA1 a8db94a6380bf53aee71d9f736482d2c2aa75127 SHA256 f752ff6a3d568c932e7829cacdfc63a94edd31a4dc6db7a605b3ac264fd03f69
 
EBUILD gconf-sharp-2.16.0.ebuild 917 RMD160 40870f3f0df5ea2accede230fcf0cd8909f4b209 SHA1 42fdb9687e902ad2f1e0667da9b4b2abe20cda34 SHA256 f0d423a5b6689c54ea431f36e16aa963e914cf79cba6004a6ea4de7b5f44d240
 
EBUILD gconf-sharp-2.8.2.ebuild 826 RMD160 dc9c0e086861f4aa259a18886a92a5c3cc64254a SHA1 3f283e4cb78a409f3618a8bea7ddec8c7c66d4e1 SHA256 e36b60dce9b29b9025f930367682918e7eaf1eb041d0c2888a5e928f567c3ac6
 
MISC ChangeLog 6534 RMD160 f206bff95ffc6c8e65e98eae1fd7ae5f408ff9c4 SHA1 8e3d4f91a36dbd6a448fce3d3ddb4e57fa4456a4 SHA256 7aacfd396b48baf37b8df7cb3a25a9e857cb08f9b967a8ad58a530d135daba3c
 
MISC metadata.xml 160 RMD160 cc10b170ad63a746d8bdfbe5bf1bd9f7065922b8 SHA1 49eaf4246f7502850064d3806cce65d3a404ce1b SHA256 1bc3e313a948415fff0dfa63a5610943327146bfe16bfeca603379bf9706a687
dev-dotnet/gconf-sharp/gconf-sharp-1.0.10.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2006 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gconf-sharp/gconf-sharp-1.0.10.ebuild,v 1.4 2006/03/20 00:21:08 metalgod Exp $
 

	
 
inherit gtk-sharp-component
 

	
 
SLOT="1"
 
KEYWORDS="amd64 ppc x86"
 
IUSE=""
 

	
 
DEPEND="${DEPEND}
 
		>=gnome-base/gconf-2.0
 
		=dev-dotnet/gtk-sharp-${PV}*
 
		=dev-dotnet/glade-sharp-${PV}*
 
		=dev-dotnet/gnome-sharp-${PV}*
 
		=dev-dotnet/art-sharp-${PV}*"
 

	
 
GTK_SHARP_COMPONENT_BUILD="gnome"
 
GTK_SHARP_COMPONENT_BUILD_DEPS="art"
 

	
 
src_unpack() {
 
	gtk-sharp-component_src_unpack
 

	
 
	# Fix need as GConf.PropertyEditors references a locally built dll
 
	sed -i "s:${GTK_SHARP_LIB_DIR}/gconf-sharp.dll:../GConf/gconf-sharp.dll:" \
 
		${S}/gconf/GConf.PropertyEditors/Makefile.in
 
}
dev-dotnet/gconf-sharp/gconf-sharp-2.16.0-r1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 

	
 
GTK_SHARP_TARBALL_PREFIX="gnome-sharp"
 
GTK_SHARP_REQUIRED_VERSION="2.12"
 

	
 
inherit gtk-sharp-component
 

	
 
SLOT="2"
 
KEYWORDS="amd64 ppc ~sparc x86 ~x86-fbsd"
 
IUSE=""
 

	
 
DEPEND="${DEPEND}
 
		>=gnome-base/gconf-2.0
 
		=dev-dotnet/glade-sharp-2.12*
 
		=dev-dotnet/gnome-sharp-${PV}*
 
		=dev-dotnet/art-sharp-${PV}*"
 

	
 
GTK_SHARP_COMPONENT_BUILD="gnome"
 
GTK_SHARP_COMPONENT_BUILD_DEPS="art"
 
GTK_SHARP_COMPONENT_SLOT="2"
 
GTK_SHARP_COMPONENT_SLOT_DEC="-2.0"
 

	
 
src_unpack() {
 
	gtk-sharp-component_src_unpack
 

	
 
	# Fix need as GConf.PropertyEditors references a locally built dll
 
	sed -i "s:${GTK_SHARP_LIB_DIR}/gconf-sharp.dll:../GConf/gconf-sharp.dll:" \
 
		${S}/gconf/GConf.PropertyEditors/Makefile.in
 
}
dev-dotnet/gconf-sharp/gconf-sharp-2.16.0.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gconf-sharp/gconf-sharp-2.16.0.ebuild,v 1.7 2007/07/15 02:54:24 mr_bones_ Exp $
 

	
 
GTK_SHARP_TARBALL_PREFIX="gnome-sharp"
 
GTK_SHARP_REQUIRED_VERSION="2.10"
 

	
 
inherit gtk-sharp-component
 

	
 
SLOT="2"
 
KEYWORDS="amd64 ppc ~sparc x86 ~x86-fbsd"
 
IUSE=""
 

	
 
DEPEND="${DEPEND}
 
		>=gnome-base/gconf-2.0
 
		=dev-dotnet/glade-sharp-2.10*
 
		=dev-dotnet/gnome-sharp-${PV}*
 
		=dev-dotnet/art-sharp-${PV}*"
 

	
 
GTK_SHARP_COMPONENT_BUILD="gnome"
 
GTK_SHARP_COMPONENT_BUILD_DEPS="art"
 
GTK_SHARP_COMPONENT_SLOT="2"
 
GTK_SHARP_COMPONENT_SLOT_DEC="-2.0"
 

	
 
src_unpack() {
 
	gtk-sharp-component_src_unpack
 

	
 
	# Fix need as GConf.PropertyEditors references a locally built dll
 
	sed -i "s:${GTK_SHARP_LIB_DIR}/gconf-sharp.dll:../GConf/gconf-sharp.dll:" \
 
		${S}/gconf/GConf.PropertyEditors/Makefile.in
 
}
dev-dotnet/gconf-sharp/gconf-sharp-2.8.2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gconf-sharp/gconf-sharp-2.8.2.ebuild,v 1.5 2007/07/15 02:54:24 mr_bones_ Exp $
 

	
 
inherit gtk-sharp-component
 

	
 
SLOT="2"
 
KEYWORDS="amd64 ppc x86"
 
IUSE=""
 

	
 
DEPEND="${DEPEND}
 
		>=gnome-base/gconf-2.0
 
		=dev-dotnet/glade-sharp-${PV}*
 
		=dev-dotnet/gnome-sharp-${PV}*
 
		=dev-dotnet/art-sharp-${PV}*"
 

	
 
GTK_SHARP_COMPONENT_BUILD="gnome"
 
GTK_SHARP_COMPONENT_BUILD_DEPS="art"
 
GTK_SHARP_COMPONENT_SLOT="2"
 
GTK_SHARP_COMPONENT_SLOT_DEC="-2.0"
 

	
 
src_unpack() {
 
	gtk-sharp-component_src_unpack
 

	
 
	# Fix need as GConf.PropertyEditors references a locally built dll
 
	sed -i "s:${GTK_SHARP_LIB_DIR}/gconf-sharp.dll:../GConf/gconf-sharp.dll:" \
 
		${S}/gconf/GConf.PropertyEditors/Makefile.in
 
}
dev-dotnet/gconf-sharp/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>dotnet</herd>
 
</pkgmetadata>
dev-dotnet/glade-sharp/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for dev-dotnet/glade-sharp
 
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/glade-sharp/ChangeLog,v 1.59 2008/05/30 23:10:33 jurek Exp $
 

	
 
  30 May 2008; Jurek Bartuszek <jurek@gentoo.org> glade-sharp-1.0.10.ebuild,
 
  glade-sharp-2.8.2.ebuild, glade-sharp-2.10.0.ebuild:
 
  Added dev-util/pkgconfig dependency (bug #216419)
 

	
 
  12 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
 
  Removing Peter Johanson (latexer, #206688) from metadata.xml.
 

	
 
  30 Apr 2007; Roy Marples <uberlord@gentoo.org> glade-sharp-2.10.0.ebuild:
 
  Added ~x86-fbsd keyword.
 

	
 
  13 Apr 2007; Petteri Räty <betelgeuse@gentoo.org>
 
  -glade-sharp-1.0.8-r1.ebuild, -glade-sharp-2.4.0.ebuild,
 
  -glade-sharp-2.4.2.ebuild, -glade-sharp-2.8.0.ebuild:
 
  Remove old versions.
 

	
 
  03 Mar 2007; Luis Medinas <metalgod@gentoo.org> glade-sharp-2.10.0.ebuild:
 
  Stable on amd64.
 

	
 
  14 Feb 2007; Gustavo Zacarias <gustavoz@gentoo.org>
 
  glade-sharp-2.10.0.ebuild:
 
  Keyworded ~sparc
 

	
 
  11 Feb 2007; Lars Weiler <pylon@gentoo.org> glade-sharp-2.10.0.ebuild:
 
  Stable on ppc; bug #164048.
 

	
 
  29 Jan 2007; Christian Faulhammer <opfer@gentoo.org>
 
  glade-sharp-2.10.0.ebuild:
 
  stable x86; bug #164048
 

	
 
  18 Jan 2007; Christian Faulhammer <opfer@gentoo.org>
 
  glade-sharp-2.8.2.ebuild:
 
  stable x86, bug #153308
 

	
 
  16 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  glade-sharp-2.8.2.ebuild:
 
  ppc stable
 

	
 
*glade-sharp-2.10.0 (07 Sep 2006)
 

	
 
  07 Sep 2006; Peter Johanson <latexer@gentoo.org>
 
  +glade-sharp-2.10.0.ebuild:
 
  Bump.
 

	
 
  23 Jul 2006; Olivier Crête <tester@gentoo.org> glade-sharp-2.8.2.ebuild:
 
  Stable on amd64
 

	
 
  17 Jul 2006; Daniel Gryniewicz <dang@gentoo.org> glade-sharp-2.8.0.ebuild:
 
  Marked stable on amd64 for bug #139612
 

	
 
  14 Jul 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  glade-sharp-2.8.0.ebuild:
 
  ppc stable, bug #139612
 

	
 
  12 Jul 2006; Chris Gianelloni <wolf31o2@gentoo.org>
 
  glade-sharp-2.8.0.ebuild:
 
  Stable on x86 wrt bug #139612.
 

	
 
  20 Mar 2006; Luis Medinas <metalgod@gentoo.org> glade-sharp-1.0.10.ebuild:
 
  Stable on amd64.
 

	
 
*glade-sharp-2.8.2 (16 Mar 2006)
 
*glade-sharp-2.4.2 (16 Mar 2006)
 

	
 
  16 Mar 2006; Peter Johanson <latexer@gentoo.org>
 
  +glade-sharp-2.4.2.ebuild, +glade-sharp-2.8.2.ebuild:
 
  Bump.
 

	
 
*glade-sharp-2.8.0 (26 Jan 2006)
 

	
 
  26 Jan 2006; Peter Johanson <latexer@gentoo.org>
 
  -glade-sharp-2.6.0.ebuild, +glade-sharp-2.8.0.ebuild:
 
  2.8.0 in the house, and 2.6.0 kicked to the curb.
 

	
 
  21 Nov 2005; Peter Johanson <latexer@gentoo.org>
 
  -glade-sharp-2.3.92.ebuild, -glade-sharp-2.5.92.ebuild:
 
  Remove older version.
 

	
 
*glade-sharp-2.6.0 (08 Nov 2005)
 
*glade-sharp-2.4.0 (08 Nov 2005)
 

	
 
  08 Nov 2005; Peter Johanson <latexer@gentoo.org>
 
  -glade-sharp-2.3.91.ebuild, +glade-sharp-2.4.0.ebuild,
 
  -glade-sharp-2.5.91.ebuild, +glade-sharp-2.6.0.ebuild:
 
  Final releases of new *-sharp-2.4 and 2.6 stuff, and remove one older
 
  pre-release of both.
 

	
 
  16 Oct 2005; Peter Johanson <latexer@gentoo.org>
 
  -glade-sharp-1.0.8.ebuild, -glade-sharp-2.3.90.ebuild,
 
  -glade-sharp-2.5.90.ebuild:
 
  Remove a few older versions.
 

	
 
*glade-sharp-2.5.92 (16 Oct 2005)
 
*glade-sharp-2.3.92 (16 Oct 2005)
 

	
 
  16 Oct 2005; Peter Johanson <latexer@gentoo.org>
 
  +glade-sharp-2.3.92.ebuild, +glade-sharp-2.5.92.ebuild:
 
  Bump.
 

	
 
  16 Oct 2005; Joseph Jezak <josejx@gentoo.org> glade-sharp-1.0.10.ebuild:
 
  Marked ppc stable for bug #103253.
 

	
 
*glade-sharp-2.5.91 (16 Sep 2005)
 
*glade-sharp-2.3.91 (16 Sep 2005)
 

	
 
  16 Sep 2005; Peter Johanson <latexer@gentoo.org>
 
  +glade-sharp-2.3.91.ebuild, +glade-sharp-2.5.91.ebuild:
 
  Bump.
 

	
 
*glade-sharp-2.5.90 (17 Aug 2005)
 
*glade-sharp-2.3.90 (17 Aug 2005)
 

	
 
  17 Aug 2005; Peter Johanson <latexer@gentoo.org>
 
  -glade-sharp-1.0.6.ebuild, -glade-sharp-1.9.3.1.ebuild,
 
  -glade-sharp-1.9.5.ebuild, +glade-sharp-2.3.90.ebuild,
 
  -glade-sharp-2.5.5.ebuild, +glade-sharp-2.5.90.ebuild:
 
  Bump to new beta releases, and clean out lots of older stuff.
 

	
 
  05 Aug 2005; Peter Johanson <latexer@gentoo.org>
 
  glade-sharp-1.0.10.ebuild:
 
  Stable on x86.
 

	
 
*glade-sharp-1.0.10 (24 May 2005)
 
*glade-sharp-1.0.8-r1 (24 May 2005)
 

	
 
  24 May 2005; Peter Johanson <latexer@gentoo.org>
 
  +glade-sharp-1.0.8-r1.ebuild, +glade-sharp-1.0.10.ebuild:
 
  Revision bump to force out pkg-config fix, and bump to latest 1.0.x release.
 

	
 
  21 May 2005; Peter Johanson <latexer@gentoo.org> :
 
  Digest of new diff that fixes bug #93433.
 

	
 
  21 May 2005; Tom Martin <slarti@gentoo.org> glade-sharp-2.5.5.ebuild:
 
  Marked ~amd64.
 

	
 
  20 May 2005; Peter Johanson <latexer@gentoo.org>
 
  -glade-sharp-1.9.2.ebuild, -glade-sharp-1.9.3.ebuild:
 
  Remove some older versions.
 

	
 
*glade-sharp-1.9.5 (20 May 2005)
 

	
 
  20 May 2005; Peter Johanson <latexer@gentoo.org>
 
  +glade-sharp-1.9.5.ebuild:
 
  Bump.
 

	
 
*glade-sharp-2.5.5 (18 May 2005)
 

	
 
  18 May 2005; Peter Johanson <latexer@gentoo.org>
 
  +glade-sharp-2.5.5.ebuild:
 
  Bump.
 

	
 
  16 May 2005; Tom Martin <slarti@gentoo.org> ChangeLog:
 
  Broken Manifest. Repoman at category level is bad.
 

	
 
  16 May 2005; Tom Martin <slarti@gentoo.org> ChangeLog:
 
  Broken Manifest. Repoman at category level is bad.
 

	
 
  16 May 2005; Tom Martin <slarti@gentoo.org> glade-sharp-1.0.8.ebuild,
 
  glade-sharp-1.9.3.1.ebuild:
 
  Marked ~amd64.
 

	
 
  13 May 2005; Peter Johanson <latexer@gentoo.org>
 
  -glade-sharp-1.0.4.ebuild:
 
  Clean up a bit.
 

	
 
*glade-sharp-1.9.3.1 (13 May 2005)
 

	
 
  13 May 2005; Peter Johanson <latexer@gentoo.org>
 
  +glade-sharp-1.9.3.1.ebuild:
 
  Bump.
 

	
 
  12 May 2005; Tobias Scherbaum <dertobi123@gentoo.org>
 
  glade-sharp-1.0.8.ebuild:
 
  Stable on ppc.
 

	
 
*glade-sharp-1.9.3 (05 May 2005)
 

	
 
  05 May 2005; Peter Johanson <latexer@gentoo.org>
 
  +glade-sharp-1.9.3.ebuild:
 
  Bump.
 

	
 
  03 May 2005; Peter Johanson <latexer@gentoo.org> glade-sharp-1.0.8.ebuild:
 
  Mark stable on x86.
 

	
 
*glade-sharp-1.9.2 (02 Apr 2005)
 

	
 
  02 Apr 2005; Peter Johanson <latexer@gentoo.org>
 
  +glade-sharp-1.9.2.ebuild:
 
  Add the preview release of the gtk-sharp-2.0 stuff.
 

	
 
  22 Mar 2005; Peter Johanson <latexer@gentoo.org> glade-sharp-1.0.4.ebuild,
 
  glade-sharp-1.0.6.ebuild, glade-sharp-1.0.8.ebuild:
 
  Fix deps to ensure we get correct slot of gtk-sharp
 

	
 
  21 Mar 2005; David Holm <dholm@gentoo.org> glade-sharp-1.0.6.ebuild:
 
  Stable on ppc.
 

	
 
  21 Mar 2005; Peter Johanson <latexer@gentoo.org> glade-sharp-1.0.6.ebuild:
 
  Mark stable on x86.
 

	
 
*glade-sharp-1.0.8 (15 Mar 2005)
 

	
 
  15 Mar 2005; Peter Johanson <latexer@gentoo.org> +glade-sharp-1.0.8.ebuild:
 
  Bump
 

	
 
  14 Mar 2005; Peter Johanson <latexer@gentoo.org> glade-sharp-1.0.4.ebuild:
 
  Mark stable on x86
 

	
 
*glade-sharp-1.0.6 (20 Feb 2005)
 

	
 
  20 Feb 2005; Peter Johanson <latexer@gentoo.org> +glade-sharp-1.0.6.ebuild:
 
  Bump.
 

	
 
  14 Feb 2005; Danny van Dyk <kugelfang@gentoo.org>
 
  glade-sharp-1.0.4.ebuild:
 
  Reporter is wrong! Keyworded -amd64.
 

	
 
  14 Feb 2005; Danny van Dyk <kugelfang@gentoo.org>
 
  glade-sharp-1.0.4.ebuild:
 
  Marked ~amd64.
 

	
 
  31 Dec 2004; Sven Wegener <swegener@gentoo.org> glade-sharp-1.0.4.ebuild:
 
  Removed eutils from inherit.
 

	
 
  04 Dec 2004; Peter Johanson <latexer@gentoo.org> glade-sharp-1.0.4.ebuild:
 
  Marking ~ppc, as it's really just a pice of gtk-sharp.
 

	
 
*glade-sharp-1.0.4 (18 Nov 2004)
 

	
 
  18 Nov 2004; Peter Johanson <latexer@gentoo.org> +metadata.xml,
 
  +glade-sharp-1.0.4.ebuild:
 
  Initial ebuild. New broken out gtk-sharp component.
 

	
dev-dotnet/glade-sharp/Manifest
Show inline comments
 
new file 100644
 
DIST gtk-sharp-1.0.10-configurable.diff.gz 1718 RMD160 e49497185ac37dfb4a6cde1582e6d0dbe8e29a47 SHA1 60bee3bb9147dddb3fc64e2977c6680e67ecd2e6 SHA256 a49b09d489971926907cfe3718127453f1682c87a2e48795655d4043dfb9fed5
 
DIST gtk-sharp-1.0.10.tar.gz 1841067 RMD160 53db7e93424b2429cf825390633ede4d7c511564 SHA1 6965559e2e3b741f587a41d286935c73a2c2c437 SHA256 d6c8a6a71633dc5c0382b2526df1dc1f05bc9931b6f4e47fdcc8fb7afb01e44a
 
DIST gtk-sharp-2.10.0-configurable.diff.gz 479 RMD160 fae9b28f384812cc8803f6e2abe5d4ceb4051da4 SHA1 c2d4e6a135ca9ed73e68c75c617738b83927cd4e SHA256 66699f2ef2bd288c6af35a80fbe7441a4349759e685b44a4dca9c77551c0cba6
 
DIST gtk-sharp-2.10.0.tar.gz 2069966 RMD160 c3f88ab6df73540a68113631affd1e1e5439b088 SHA1 8351264f8560958ea166146185dc176315f432bd SHA256 3965422105ede76e261432123976594cbde0955024bbac0c965a5f7ce9e70d67
 
DIST gtk-sharp-2.12.1-configurable.diff.gz 479 RMD160 fae9b28f384812cc8803f6e2abe5d4ceb4051da4 SHA1 c2d4e6a135ca9ed73e68c75c617738b83927cd4e SHA256 66699f2ef2bd288c6af35a80fbe7441a4349759e685b44a4dca9c77551c0cba6
 
DIST gtk-sharp-2.12.1.tar.gz 2230678 RMD160 110751dfabedcbfe77198b2dcc73a67ae5eb0904 SHA1 4556ba63bb5d0e02a5ba4ed01dfab1229081bd1e SHA256 6d383be47641811b967c3f9600be676561671358174254e739473b2bf6cc5770
 
DIST gtk-sharp-2.8.2-configurable.diff.gz 1397 RMD160 19c010397051b077d6f168a7dbd03c6edcbba72a SHA1 a84223d3463298755b0c1aa78f7d14f644d56e75 SHA256 78279f37d76dea454ac4e521114cec365e179d3d8e7e7e55fa4e50048e92eeed
 
DIST gtk-sharp-2.8.2.tar.gz 2167942 RMD160 90b450617b1a817047a948ef28d45077cb3f9e59 SHA1 79d6b334c8fa43ed70ec7098186ec0f171a9e575 SHA256 faea3c9da2691d09b9d273c10f6f8949a462695cb02051a531f88ae057463a20
 
EBUILD glade-sharp-1.0.10.ebuild 399 RMD160 557fafc75d9b6d6bca63960ad3df251698f8bf95 SHA1 3705088acf6629287b9e18a02c169f5079c310c2 SHA256 cd6e4bcc63a2753e163da4de8349aef043e350d088a4f8ce5c1515903a0c2de8
 
EBUILD glade-sharp-2.10.0.ebuild 455 RMD160 59b9c692a121d07603bdf45aace8491b8280d2ae SHA1 c974e09bf181f263ce1b7ecb6cd0e85478ce6f28 SHA256 b2344cee003faf05dab76f15b180c06ca5c791dd1b389286decf8bda712ee183
 
EBUILD glade-sharp-2.12.1.ebuild 455 RMD160 59b9c692a121d07603bdf45aace8491b8280d2ae SHA1 c974e09bf181f263ce1b7ecb6cd0e85478ce6f28 SHA256 b2344cee003faf05dab76f15b180c06ca5c791dd1b389286decf8bda712ee183
 
EBUILD glade-sharp-2.8.2.ebuild 437 RMD160 4a975d7bb453f3952bc57331009b4c8587cdbbf6 SHA1 3f3b6413d9e9a9c089ce6d7e71f60aad16650183 SHA256 9a4668df120ea3d47ca1b8f98b7c0f1e44d1419e7d34fe44d7087e50d7f15ab0
 
MISC ChangeLog 7320 RMD160 236ad3d6e53778dc3a3bb9338fd9750a6cb38db6 SHA1 d6672ed3bc6863b4a949f5310f4f0d1158031d26 SHA256 f83f1135e7de6e85cb6cc885e59eaf32eedd6511c2ad46ae0c611c1cba049026
 
MISC metadata.xml 160 RMD160 cc10b170ad63a746d8bdfbe5bf1bd9f7065922b8 SHA1 49eaf4246f7502850064d3806cce65d3a404ce1b SHA256 1bc3e313a948415fff0dfa63a5610943327146bfe16bfeca603379bf9706a687
dev-dotnet/glade-sharp/glade-sharp-1.0.10.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/glade-sharp/glade-sharp-1.0.10.ebuild,v 1.5 2008/05/30 23:10:33 jurek Exp $
 

	
 
inherit gtk-sharp-component
 

	
 
SLOT="1"
 
KEYWORDS="amd64 ppc x86"
 
IUSE=""
 

	
 
DEPEND="${DEPEND}
 
		=dev-dotnet/gtk-sharp-${PV}*
 
		>=gnome-base/libglade-2
 
		dev-util/pkgconfig"
dev-dotnet/glade-sharp/glade-sharp-2.10.0.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/glade-sharp/glade-sharp-2.10.0.ebuild,v 1.7 2008/05/30 23:10:33 jurek Exp $
 

	
 
inherit gtk-sharp-component
 

	
 
SLOT="2"
 
KEYWORDS="amd64 ppc ~sparc x86 ~x86-fbsd"
 
IUSE=""
 

	
 
DEPEND="${DEPEND}
 
		>=gnome-base/libglade-2.3.6
 
		dev-util/pkgconfig"
 

	
 
GTK_SHARP_COMPONENT_SLOT="2"
 
GTK_SHARP_COMPONENT_SLOT_DEC="-2.0"
dev-dotnet/glade-sharp/glade-sharp-2.12.1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/glade-sharp/glade-sharp-2.10.0.ebuild,v 1.7 2008/05/30 23:10:33 jurek Exp $
 

	
 
inherit gtk-sharp-component
 

	
 
SLOT="2"
 
KEYWORDS="amd64 ppc ~sparc x86 ~x86-fbsd"
 
IUSE=""
 

	
 
DEPEND="${DEPEND}
 
		>=gnome-base/libglade-2.3.6
 
		dev-util/pkgconfig"
 

	
 
GTK_SHARP_COMPONENT_SLOT="2"
 
GTK_SHARP_COMPONENT_SLOT_DEC="-2.0"
dev-dotnet/glade-sharp/glade-sharp-2.8.2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/glade-sharp/glade-sharp-2.8.2.ebuild,v 1.5 2008/05/30 23:10:33 jurek Exp $
 

	
 
inherit gtk-sharp-component
 

	
 
SLOT="2"
 
KEYWORDS="amd64 ppc x86"
 
IUSE=""
 

	
 
DEPEND="${DEPEND}
 
		>=gnome-base/libglade-2.3.6
 
		dev-util/pkgconfig"
 

	
 
GTK_SHARP_COMPONENT_SLOT="2"
 
GTK_SHARP_COMPONENT_SLOT_DEC="-2.0"
dev-dotnet/glade-sharp/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>dotnet</herd>
 
</pkgmetadata>
dev-dotnet/gtk-sharp/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for dev-dotnet/gtk-sharp
 
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtk-sharp/ChangeLog,v 1.80 2008/01/13 04:19:53 compnerd Exp $
 

	
 
  13 Jan 2008; Saleem Abdulrasool <compnerd@gentoo.org>
 
  gtk-sharp-1.0.10.ebuild, gtk-sharp-2.8.2.ebuild, gtk-sharp-2.10.0.ebuild:
 
  Fix a few quoting issues
 

	
 
*gtk-sharp-2.10.2 (13 Jan 2008)
 

	
 
  13 Jan 2008; Saleem Abdulrasool <compnerd@gentoo.org>
 
  +gtk-sharp-2.10.2.ebuild:
 
  Version bump from upstream.  Fixes bug #200504.
 

	
 
  13 Apr 2007; Petteri Räty <betelgeuse@gentoo.org>
 
  -gtk-sharp-1.0.8-r1.ebuild, -gtk-sharp-2.4.0.ebuild,
 
  -gtk-sharp-2.4.2.ebuild, -gtk-sharp-2.8.0.ebuild:
 
  Remove old versions.
 

	
 
  03 Mar 2007; Luis Medinas <metalgod@gentoo.org> gtk-sharp-2.10.0.ebuild:
 
  Stable on amd64.
 

	
 
  14 Feb 2007; Gustavo Zacarias <gustavoz@gentoo.org>
 
  gtk-sharp-2.10.0.ebuild:
 
  Keyworded ~sparc
 

	
 
  11 Feb 2007; Lars Weiler <pylon@gentoo.org> gtk-sharp-2.10.0.ebuild:
 
  Stable on ppc; bug #164048.
 

	
 
  29 Jan 2007; Christian Faulhammer <opfer@gentoo.org>
 
  gtk-sharp-2.10.0.ebuild:
 
  stable x86; bug #164048
 

	
 
  18 Jan 2007; Christian Faulhammer <opfer@gentoo.org>
 
  gtk-sharp-2.8.2.ebuild:
 
  stable x86, bug #153308
 

	
 
  18 Jan 2007; Peter Johanson <latexer@gentoo.org> gtk-sharp-2.8.2.ebuild:
 
  Fix typo in the fix for bug #161093.
 

	
 
  14 Jan 2007; Saleem Abdulrasool <compnerd@gentoo.org>
 
  gtk-sharp-2.8.2.ebuild:
 
  Fix automake issue (bug #161093)
 

	
 
  04 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
 
  gtk-sharp-1.0.10.ebuild:
 
  Fix broken autotools handling.
 

	
 
  07 Dec 2006; Saleem Abdulrasool <compnerd@gentoo.org>
 
  gtk-sharp-2.8.0.ebuild, gtk-sharp-2.8.2.ebuild:
 
  bump mono requirements as per bug #130212
 

	
 
  16 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  gtk-sharp-2.8.2.ebuild:
 
  ppc stable
 

	
 
*gtk-sharp-2.10.0 (07 Sep 2006)
 

	
 
  07 Sep 2006; Peter Johanson <latexer@gentoo.org> +gtk-sharp-2.10.0.ebuild:
 
  Bump.
 

	
 
  23 Jul 2006; Olivier Crête <tester@gentoo.org> ChangeLog:
 
  Stable on amd64
 

	
 
  17 Jul 2006; Daniel Gryniewicz <dang@gentoo.org> gtk-sharp-2.8.0.ebuild:
 
  Marked stable on amd64 for bug #139612
 

	
 
  17 Jul 2006; Daniel Gryniewicz <dang@gentoo.org> gtk-sharp-2.8.2.ebuild:
 
  Marked stable on amd64 for bug #139612
 

	
 
  14 Jul 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  gtk-sharp-2.8.0.ebuild:
 
  ppc stable, bug #139612
 

	
 
  12 Jul 2006; Chris Gianelloni <wolf31o2@gentoo.org>
 
  gtk-sharp-2.8.0.ebuild:
 
  Stable on x86 wrt bug #139612.
 

	
 
  16 Apr 2006; Peter Johanson <latexer@gentoo.org> gtk-sharp-2.4.2.ebuild,
 
  gtk-sharp-2.8.2.ebuild:
 
  Use autotools eclass. See bug #125950.
 

	
 
  20 Mar 2006; Luis Medinas <metalgod@gentoo.org> gtk-sharp-1.0.10.ebuild:
 
  Stable on amd64.
 

	
 
  17 Mar 2006; Peter Johanson <latexer@gentoo.org> gtk-sharp-2.8.2.ebuild:
 
  Fix SRC_URI. See bug #126473.
 

	
 
*gtk-sharp-2.8.2 (16 Mar 2006)
 
*gtk-sharp-2.4.2 (16 Mar 2006)
 

	
 
  16 Mar 2006; Peter Johanson <latexer@gentoo.org> +gtk-sharp-2.4.2.ebuild,
 
  +gtk-sharp-2.8.2.ebuild:
 
  Bump.
 

	
 
  31 Jan 2006; Peter Johanson <latexer@gentoo.org> gtk-sharp-2.8.0.ebuild:
 
  Bump required mono version. See bug #120940.
 

	
 
*gtk-sharp-2.8.0 (26 Jan 2006)
 

	
 
  26 Jan 2006; Peter Johanson <latexer@gentoo.org> -gtk-sharp-2.6.0.ebuild,
 
  +gtk-sharp-2.8.0.ebuild:
 
  2.8.0 in the house, and 2.6.0 kicked to the curb.
 

	
 
  21 Jan 2006; Peter Johanson <latexer@gentoo.org> gtk-sharp-2.4.0.ebuild,
 
  gtk-sharp-2.6.0.ebuild:
 
  Fix monodoc stuff.
 

	
 
  19 Jan 2006; Peter Johanson <latexer@gentoo.org> gtk-sharp-2.4.0.ebuild,
 
  gtk-sharp-2.6.0.ebuild:
 
  Add XML-LibXML dep to 2.x ebuilds as well. See bug #116603.
 

	
 
  15 Jan 2006; Peter Johanson <latexer@gentoo.org>
 
  gtk-sharp-1.0.8-r1.ebuild, gtk-sharp-1.0.10.ebuild:
 
  Add XML-LibXML dep to 1.0.x ebuilds. See bug #116603.
 

	
 
  21 Nov 2005; Peter Johanson <latexer@gentoo.org> -gtk-sharp-2.3.92.ebuild,
 
  -gtk-sharp-2.5.92.ebuild:
 
  Remove older version.
 

	
 
  21 Nov 2005; Peter Johanson <latexer@gentoo.org> gtk-sharp-2.4.0.ebuild,
 
  gtk-sharp-2.6.0.ebuild:
 
  Update to the proper mono version dep. Need at least 1.1.9 to have the
 
  necessary publisher policy support.
 

	
 
  08 Nov 2005; Peter Johanson <latexer@gentoo.org> gtk-sharp-2.6.0.ebuild:
 
  Add big fat warning about gtk-sharp-2.6.x being unsupported by upstream.
 

	
 
*gtk-sharp-2.6.0 (08 Nov 2005)
 
*gtk-sharp-2.4.0 (08 Nov 2005)
 

	
 
  08 Nov 2005; Peter Johanson <latexer@gentoo.org> -gtk-sharp-2.3.91.ebuild,
 
  +gtk-sharp-2.4.0.ebuild, -gtk-sharp-2.5.91.ebuild,
 
  +gtk-sharp-2.6.0.ebuild:
 
  Final releases of new *-sharp-2.4 and 2.6 stuff, and remove one older
 
  pre-release of both.
 

	
 
  16 Oct 2005; Peter Johanson <latexer@gentoo.org> -gtk-sharp-1.0.8.ebuild,
 
  -gtk-sharp-2.3.90.ebuild, -gtk-sharp-2.5.90.ebuild:
 
  Remove a few older versions.
 

	
 
*gtk-sharp-2.5.92 (16 Oct 2005)
 
*gtk-sharp-2.3.92 (16 Oct 2005)
 

	
 
  16 Oct 2005; Peter Johanson <latexer@gentoo.org> +gtk-sharp-2.3.92.ebuild,
 
  +gtk-sharp-2.5.92.ebuild:
 
  Bump.
 

	
 
  15 Oct 2005; Joseph Jezak <josejx@gentoo.org> gtk-sharp-1.0.10.ebuild:
 
  Marked ppc stable for bug #103253.
 

	
 
*gtk-sharp-2.5.91 (16 Sep 2005)
 
*gtk-sharp-2.3.91 (16 Sep 2005)
 

	
 
  16 Sep 2005; Peter Johanson <latexer@gentoo.org> +gtk-sharp-2.3.91.ebuild,
 
  +gtk-sharp-2.5.91.ebuild:
 
  Bump.
 

	
 
*gtk-sharp-2.5.90 (17 Aug 2005)
 
*gtk-sharp-2.3.90 (17 Aug 2005)
 

	
 
  17 Aug 2005; Peter Johanson <latexer@gentoo.org> -gtk-sharp-1.0.6.ebuild,
 
  -gtk-sharp-1.9.3-r1.ebuild, -gtk-sharp-1.9.3.1.ebuild,
 
  -gtk-sharp-1.9.5.ebuild, +gtk-sharp-2.3.90.ebuild,
 
  -gtk-sharp-2.5.5.ebuild, +gtk-sharp-2.5.90.ebuild:
 
  Bump to new beta releases, and clean out lots of older stuff.
 

	
 
  05 Aug 2005; Peter Johanson <latexer@gentoo.org> gtk-sharp-1.0.10.ebuild:
 
  Stable on x86.
 

	
 
  05 Aug 2005; Peter Johanson <latexer@gentoo.org> gtk-sharp-1.0.6.ebuild,
 
  gtk-sharp-1.0.8.ebuild, gtk-sharp-1.0.8-r1.ebuild,
 
  gtk-sharp-1.0.10.ebuild, gtk-sharp-1.9.3-r1.ebuild,
 
  gtk-sharp-1.9.3.1.ebuild, gtk-sharp-1.9.5.ebuild, gtk-sharp-2.5.5.ebuild:
 
  Restrict tests.
 

	
 
  26 May 2005; Herbie Hopkins <herbs@gentoo.org> gtk-sharp-1.0.10.ebuild,
 
  gtk-sharp-1.9.5.ebuild, gtk-sharp-2.5.5.ebuild:
 
  Multilib fixes.
 

	
 
*gtk-sharp-1.0.10 (24 May 2005)
 
*gtk-sharp-1.0.8-r1 (24 May 2005)
 

	
 
  24 May 2005; Peter Johanson <latexer@gentoo.org>
 
  +gtk-sharp-1.0.8-r1.ebuild, +gtk-sharp-1.0.10.ebuild:
 
  Revision bump to force out pkg-config fix, and bump to latest 1.0.x release.
 

	
 
  21 May 2005; Peter Johanson <latexer@gentoo.org> :
 
  Digest of new diff that fixes bug #93433.
 

	
 
  21 May 2005; Tom Martin <slarti@gentoo.org> gtk-sharp-2.5.5.ebuild:
 
  Marked ~amd64.
 

	
 
  20 May 2005; Peter Johanson <latexer@gentoo.org> -gtk-sharp-1.9.2.ebuild,
 
  -gtk-sharp-1.9.3.ebuild:
 
  Remove some older versions.
 

	
 
*gtk-sharp-1.9.5 (20 May 2005)
 

	
 
  20 May 2005; Peter Johanson <latexer@gentoo.org> +gtk-sharp-1.9.5.ebuild:
 
  Bump.
 

	
 
*gtk-sharp-2.5.5 (18 May 2005)
 

	
 
  18 May 2005; Peter Johanson <latexer@gentoo.org> +gtk-sharp-2.5.5.ebuild:
 
  Bump.
 

	
 
  17 May 2005; Peter Johanson <latexer@gentoo.org>
 
  gtk-sharp-1.9.3-r1.ebuild, gtk-sharp-1.9.3.1.ebuild:
 
  Fix doc generation. See bug #91888.
 

	
 
  16 May 2005; Tom Martin <slarti@gentoo.org> ChangeLog:
 
  Broken Manifest. Repoman at category level is bad.
 

	
 
  16 May 2005; Tom Martin <slarti@gentoo.org> gtk-sharp-1.0.8.ebuild,
 
  gtk-sharp-1.9.3.1.ebuild:
 
  Marked ~amd64.
 

	
 
  16 May 2005; Peter Johanson <latexer@gentoo.org> gtk-sharp-1.0.6.ebuild,
 
  gtk-sharp-1.0.8.ebuild, gtk-sharp-1.9.2.ebuild, gtk-sharp-1.9.3-r1.ebuild,
 
  gtk-sharp-1.9.3.1.ebuild:
 
  Fix for breakage with new pkgconfig versions. See bug #92731.
 

	
 
  15 May 2005; Doug Goldstein <cardoe@gentoo.org> gtk-sharp-1.9.3.1.ebuild:
 
  fixes support with pkgconfig-0.17, bug #92503. urilith ok'd my commit.
 
  but you can yell at me
 

	
 
  13 May 2005; Peter Johanson <latexer@gentoo.org>
 
  -gtk-sharp-1.0.4-r1.ebuild:
 
  Clean up a bit.
 

	
 
*gtk-sharp-1.9.3.1 (13 May 2005)
 

	
 
  13 May 2005; Peter Johanson <latexer@gentoo.org>
 
  +gtk-sharp-1.9.3.1.ebuild:
 
  Bump.
 

	
 
  12 May 2005; Tobias Scherbaum <dertobi123@gentoo.org>
 
  gtk-sharp-1.0.8.ebuild:
 
  Stable on ppc.
 

	
 
*gtk-sharp-1.9.3-r1 (06 May 2005)
 

	
 
  06 May 2005; Peter Johanson <latexer@gentoo.org>
 
  +gtk-sharp-1.9.3-r1.ebuild:
 
  Add a revision bump that provides the option to install the monodoc
 
  documentation.
 

	
 
*gtk-sharp-1.9.3 (05 May 2005)
 

	
 
  05 May 2005; Peter Johanson <latexer@gentoo.org> +gtk-sharp-1.9.3.ebuild:
 
  Bump.
 

	
 
  03 May 2005; Peter Johanson <latexer@gentoo.org> gtk-sharp-1.0.8.ebuild:
 
  Mark stable on x86.
 

	
 
  15 Apr 2005; Peter Johanson <latexer@gentoo.org> gtk-sharp-1.9.2.ebuild:
 
  Fix duplicate ~ppc keywords. Thanks slarti.
 

	
 
*gtk-sharp-1.9.2 (02 Apr 2005)
 

	
 
  02 Apr 2005; Peter Johanson <latexer@gentoo.org> +gtk-sharp-1.9.2.ebuild:
 
  Add the preview release of the gtk-sharp-2.0 stuff.
 

	
 
  21 Mar 2005; David Holm <dholm@gentoo.org> gtk-sharp-1.0.6.ebuild:
 
  Stable on ppc.
 

	
 
  21 Mar 2005; Peter Johanson <latexer@gentoo.org> gtk-sharp-1.0.6.ebuild:
 
  Mark stable on x86.
 

	
 
*gtk-sharp-1.0.8 (15 Mar 2005)
 

	
 
  15 Mar 2005; Peter Johanson <latexer@gentoo.org> +gtk-sharp-1.0.8.ebuild:
 
  Bump
 

	
 
  14 Mar 2005; Peter Johanson <latexer@gentoo.org> gtk-sharp-1.0.4-r1.ebuild:
 
  Mark stable on x86.
 

	
 
  10 Mar 2005; Peter Johanson <latexer@gentoo.org> gtk-sharp-1.0.4-r1.ebuild,
 
  gtk-sharp-1.0.6.ebuild:
 
  mono moved from dev-dotnet -> dev-lang
 

	
 
  01 Mar 2005; Peter Johanson <latexer@gentoo.org> gtk-sharp-1.0.4-r1.ebuild,
 
  gtk-sharp-1.0.6.ebuild:
 
  Use LANG=C while compiling to avoid potential internationalization problems.
 
  See bug #82254
 

	
 
  21 Feb 2005; Peter Johanson <latexer@gentoo.org> gtk-sharp-1.0.4-r1.ebuild,
 
  gtk-sharp-1.0.6.ebuild:
 
  Fix the mono dep to be at least 1.0, not dependant on gtk-sharp version.
 

	
 
*gtk-sharp-1.0.6 (21 Feb 2005)
 

	
 
  21 Feb 2005; Peter Johanson <latexer@gentoo.org> -gtk-sharp-1.0.2.ebuild,
 
  -gtk-sharp-1.0.4.ebuild, +gtk-sharp-1.0.6.ebuild:
 
  Bump, and remove the older, non-split-up versions.
 

	
 
  14 Feb 2005; Danny van Dyk <kugelfang@gentoo.org>
 
  gtk-sharp-1.0.4-r1.ebuild:
 
  Reporter is wrong! Keyworded -amd64.
 

	
 
  14 Feb 2005; Danny van Dyk <kugelfang@gentoo.org>
 
  gtk-sharp-1.0.4-r1.ebuild:
 
  Marked ~amd64.
 

	
 
  07 Feb 2005; Peter Johanson <latexer@gentoo.org> gtk-sharp-1.0.2.ebuild:
 
  Change to using get_libdir, in preperation for a fully supported amd64 mono
 
  version.
 

	
 
  13 Dec 2004; Peter Johanson <latexer@gentoo.org> gtk-sharp-1.0.4-r1.ebuild:
 
  Fix for libtool problem due to version mismatches. Thanks to DHUNCAN for
 
  prodding me to figure this one out.
 

	
 
*gtk-sharp-1.0.4-r1 (18 Nov 2004)
 

	
 
  18 Nov 2004; Peter Johanson <latexer@gentoo.org> +gtk-sharp-1.0.4-r1.ebuild:
 
  Bump. First version to have optional components broken into seperate ebuilds.
 

	
 
  18 Nov 2004; Peter Johanson <latexer@gentoo.org> -gtk-sharp-0.91.1.ebuild,
 
  -gtk-sharp-0.93.ebuild, -gtk-sharp-0.98.ebuild, -gtk-sharp-0.99.ebuild,
 
  gtk-sharp-1.0.2.ebuild, gtk-sharp-1.0.4.ebuild, -gtk-sharp-1.0.ebuild:
 
  Remove a bunch of older ebuilds, and move the slot of the current ebuilds from
 
  0 -> 1
 

	
 
*gtk-sharp-1.0.4 (03 Nov 2004)
 

	
 
  03 Nov 2004; Peter Johanson <latexer@gentoo.org> +gtk-sharp-1.0.4.ebuild:
 
  Bump.
 

	
 
*gtk-sharp-0.91.1 (26 Oct 2004)
 

	
 
  26 Oct 2004; Peter Johanson <latexer@gentoo.org> +metadata.xml,
 
  +gtk-sharp-0.91.1.ebuild, +gtk-sharp-0.93.ebuild, +gtk-sharp-0.98.ebuild,
 
  +gtk-sharp-0.99.ebuild, +gtk-sharp-1.0.2.ebuild, +gtk-sharp-1.0.ebuild:
 
  Moved from x11-libs -> dev-dotnet
 

	
 
*gtk-sharp-1.0.2 (22 Sep 2004)
 

	
 
  22 Sep 2004; Peter Johanson <latexer@gentoo.org> +gtk-sharp-1.0.2.ebuild:
 
  Bump.
 

	
 
  21 Aug 2004; <spider@gentoo.org> gtk-sharp-0.91.1.ebuild,
 
  gtk-sharp-0.93.ebuild, gtk-sharp-0.98.ebuild, gtk-sharp-0.99.ebuild,
 
  gtk-sharp-1.0.ebuild:
 
  ORBit2 -> orbit-2 move
 

	
 
  09 Aug 2004; Peter Johanson <latexer@gentoo.org> gtk-sharp-1.0.ebuild:
 
  As libgtkhtml-3.1.x is now in portage, change the dep to be =3.0.10* so we get
 
  the right slot version of the library.
 

	
 
  30 Jun 2004; Peter Johanson <latexer@gentoo.org> gtk-sharp-1.0.ebuild:
 
  Okay, finally doing this the proper (albeit slightly longer) way.
 

	
 
  30 Jun 2004; Peter Johanson <latexer@gentoo.org> gtk-sharp-1.0.ebuild:
 
  Reverting to use einstall, Using DESTDIR + GACUTIL_FLAGS doesn't work like it
 
  claims to.
 

	
 
*gtk-sharp-1.0 (30 Jun 2004)
 

	
 
  30 Jun 2004; Peter Johanson <latexer@gentoo.org> +gtk-sharp-1.0.ebuild:
 
  1.0. Nuff said.
 

	
 
  28 Jun 2004; Peter Johanson <latexer@gentoo.org> gtk-sharp-0.99.ebuild:
 
  Fix build issues. See bug #55388. Thanks to patrik@yes.nu for the fix.
 

	
 
*gtk-sharp-0.99 (27 Jun 2004)
 

	
 
  27 Jun 2004; Peter Johanson <latexer@gentoo.org> +gtk-sharp-0.99.ebuild:
 
  Release candidate goodness.
 

	
 
*gtk-sharp-0.98 (16 Jun 2004)
 

	
 
  16 Jun 2004; Peter Johanson, <latexer@gentoo.org> gtk-sharp-0.98.ebuild:
 
  Beta3 loves you.
 

	
 
  02 Jun 2004; David Holm <dholm@gentoo.org> gtk-sharp-0.93.ebuild:
 
  Added to ~ppc.
 

	
 
  02 Jun 2004; Peter Johanson <latexer@gentoo.org> gtk-sharp-0.16.ebuild,
 
  gtk-sharp-0.17.ebuild, gtk-sharp-0.18.ebuild:
 
  Removing all pre-Beta1 mono stuff.
 

	
 
*gtk-sharp-0.93 (02 Jun 2004)
 

	
 
  02 Jun 2004; Peter Johanson <latexer@gentoo.org> gtk-sharp-0.93.ebuild:
 
  Beta2. You know you love it.
 

	
 
  07 May 2004; Peter Johanson <latexer@gentoo.org> gtk-sharp-0.91.1.ebuild:
 
  Fixed installation location of the GAPI Metadata perl module, and cleaned out
 
  some gst-sharp references that no longer hold since gst-sharp has moved to its
 
  own package (only in mono CVS).
 

	
 
  05 May 2004; David Holm <dholm@gentoo.org> gtk-sharp-0.91.1.ebuild:
 
  Added to ~ppc.
 

	
 
*gtk-sharp-0.91.1 (05 May 2004)
 

	
 
  05 May 2004; Peter Johanson <latexer@gentoo.org> gtk-sharp-0.91.1.ebuild:
 
  Beta1 baby!
 

	
 
  01 Apr 2004; Peter Johanson <latexer@gentoo.org> gtk-sharp-0.18.ebuild:
 
  Added a few more saner depends.
 

	
 
*gtk-sharp-0.18 (01 Apr 2004)
 

	
 
  01 Apr 2004; Peter Johanson <latexer@gentoo.org> gtk-sharp-0.18.ebuild:
 
  Bump.
 

	
 
*gtk-sharp-0.17 (19 Mar 2004)
 

	
 
  19 Mar 2004; Todd Berman <tberman@gentoo.org> gtk-sharp-0.15.ebuild,
 
  gtk-sharp-0.16.ebuild, gtk-sharp-0.17.ebuild:
 
  version bump, mark 0.16 stable, remove 0.15
 

	
 
*gtk-sharp-0.15 (13 Feb 2004)
 

	
 
  13 Feb 2004; Todd Berman <tberman@gentoo.org> gtk-sharp-0.14.ebuild,
 
  gtk-sharp-0.15.ebuild:
 
  removing 0.14, marking 0.15 stable on x86
 

	
 
*gtk-sharp-0.16 (08 Feb 2004)
 

	
 
  08 Feb 2004; Todd Berman <tberman@gentoo.org> gtk-sharp-0.16.ebuild:
 
  version bump
 

	
 
  01 Feb 2004; Todd Berman <tberman@gentoo.org> gtk-sharp-0.10.ebuild,
 
  gtk-sharp-0.12.ebuild, gtk-sharp-0.13.ebuild, gtk-sharp-0.14.ebuild,
 
  gtk-sharp-0.8.ebuild, gtk-sharp-0.9.ebuild:
 
  Removing cruft, apply patch from #38123, marking 0.14 stable, putting 0.15 in
 
  ~x86
 

	
 
*gtk-sharp-0.14 (05 Dec 2003)
 

	
 
  05 Dec 2003; Todd Berman <tberman@gentoo.org> gtk-sharp-0.14.ebuild:
 
  Version bump, adding gtkhtml useflag
 

	
 
*gtk-sharp-0.13 (14 Nov 2003)
 

	
 
  14 Nov 2003; Todd Berman <tberman@gentoo.org> gtk-sharp-0.13.ebuild:
 
  version bump
 

	
 
*gtk-sharp-0.12 (04 Nov 2003)
 

	
 
  04 Nov 2003; Todd Berman gtk-sharp-0.12.ebuild:
 
  Version bump, dropped double configure.
 

	
 
  25 Jul 2003; Todd Berman <tberman@gentoo.org> gtk-sharp-0.10.ebuild,
 
  gtk-sharp-0.8.ebuild, gtk-sharp-0.9.ebuild:
 
  changing mono depend because of lang->dotnet move.
 

	
 
  09 Jul 2003; Alastair Tse <liquidx@gentoo.org> gtk-sharp-0.10.ebuild,
 
  gtk-sharp-0.8.ebuild, gtk-sharp-0.9.ebuild:
 
  added pkgconfig deps
 

	
 
  08 Jul 2003; Alastair Tse <liquidx@gentoo.org> gtk-sharp-0.10.ebuild:
 
  disable installing schemas to prevent sandbox violations
 

	
 
*gtk-sharp-0.10 (24 Jun 2003)
 

	
 
  24 Jun 2003; foser <foser@gentoo.org> gtk-sharp-0.10.ebuild :
 
  New version, added libgda USE depend (#23073)
 

	
 
*gtk-sharp-0.9 (08 May 2003)
 

	
 
  09 May 2003; foser <foser@gentoo.org> gtk-sharp-0.9.ebuild :
 
  Added fix for possible upgrade problem (#20612,#20649)
 

	
 
  08 May 2003; foser <foser@gentoo.org> gtk-sharp-0.9.ebuild :
 
  New version, removed switches they were useless, added local gnomedb useflag
 

	
 
*gtk-sharp-0.8 (24 Feb 2003)
 

	
 
  27 Feb 2003; foser <foser@gentoo.org> gtk-sharp* :
 
  Moved category from dev-libs to x11-libs 
 
  gtk-sharp-0.8 now uses mono eclass
 

	
 
  24 Feb 2003; foser <foser@gentoo.org> gtk-sharp-0.8.ebuild :
 
  New version
 

	
 
*gtk-sharp-0.7-r1 (20 Feb 2003)
 

	
 
  20 Feb 2003; foser <foser@gentoo.org> gtk-sharp-0.7-r1.ebuild :
 
  Revision bump to fix problems mentioned in #16015
 

	
 
*gtk-sharp-0.7 (24 Jan 2003)
 

	
 
  24 Jan 2003; foser <foser@gentoo.org> gtk-sharp-0.7.ebuild :
 
  New version
 

	
 
*gtk-sharp-0.6 (10 Dec 2002)
 

	
 
  10 Dec 2002; foser <foser@gentoo.org> gtk-sharp-0.6.ebuild :
 
  New version
 
  Sandbox hack for mcs was needed
 

	
 
*gtk-sharp-0.5 (02 Nov 2002)
 

	
 
  02 Nov 2002; foser <foser@gentoo.org> gtk-sharp-0.5.ebuild :
 
  New version, thanks to Philip Chapman <pac1085@rochester.rr.com>
 

	
 
*gtk-sharp-0.2.1 (28 Jul 2002)
 

	
 
  28 Jul 2002; Phil Bordelon <sunflare@gentoo.org> gtk-sharp-0.2.1.ebuild, ChangeLog:
 
  Original submission of the ebuild.  This ebuild was provided by
 
  Luis Mayoral <satriani@okulto.net> with some help from Seemant
 
  Kulleen <seemant@gentoo.org>.  Very minor edits by me.
dev-dotnet/gtk-sharp/Manifest
Show inline comments
 
new file 100644
 
DIST gtk-sharp-1.0.10-configurable.diff.gz 1718 RMD160 e49497185ac37dfb4a6cde1582e6d0dbe8e29a47 SHA1 60bee3bb9147dddb3fc64e2977c6680e67ecd2e6 SHA256 a49b09d489971926907cfe3718127453f1682c87a2e48795655d4043dfb9fed5
 
DIST gtk-sharp-1.0.10.tar.gz 1841067 RMD160 53db7e93424b2429cf825390633ede4d7c511564 SHA1 6965559e2e3b741f587a41d286935c73a2c2c437 SHA256 d6c8a6a71633dc5c0382b2526df1dc1f05bc9931b6f4e47fdcc8fb7afb01e44a
 
DIST gtk-sharp-2.10.0-configurable.diff.gz 479 RMD160 fae9b28f384812cc8803f6e2abe5d4ceb4051da4 SHA1 c2d4e6a135ca9ed73e68c75c617738b83927cd4e SHA256 66699f2ef2bd288c6af35a80fbe7441a4349759e685b44a4dca9c77551c0cba6
 
DIST gtk-sharp-2.10.0.tar.gz 2069966 RMD160 c3f88ab6df73540a68113631affd1e1e5439b088 SHA1 8351264f8560958ea166146185dc176315f432bd SHA256 3965422105ede76e261432123976594cbde0955024bbac0c965a5f7ce9e70d67
 
DIST gtk-sharp-2.10.2.tar.gz 2138075 RMD160 876d8bdb3062ca9575bba379d6f6d60b51a5e4ad SHA1 f40f8a71c4862829dee487c372c2d5f162ca7fca SHA256 0f19673b941e1149c6f988f9264344676c629598bf74677afb901372c49a11dd
 
DIST gtk-sharp-2.12.1-configurable.diff.gz 479 RMD160 fae9b28f384812cc8803f6e2abe5d4ceb4051da4 SHA1 c2d4e6a135ca9ed73e68c75c617738b83927cd4e SHA256 66699f2ef2bd288c6af35a80fbe7441a4349759e685b44a4dca9c77551c0cba6
 
DIST gtk-sharp-2.12.1.tar.gz 2230678 RMD160 110751dfabedcbfe77198b2dcc73a67ae5eb0904 SHA1 4556ba63bb5d0e02a5ba4ed01dfab1229081bd1e SHA256 6d383be47641811b967c3f9600be676561671358174254e739473b2bf6cc5770
 
DIST gtk-sharp-2.8.2-configurable.diff.gz 1397 RMD160 19c010397051b077d6f168a7dbd03c6edcbba72a SHA1 a84223d3463298755b0c1aa78f7d14f644d56e75 SHA256 78279f37d76dea454ac4e521114cec365e179d3d8e7e7e55fa4e50048e92eeed
 
DIST gtk-sharp-2.8.2.tar.gz 2167942 RMD160 90b450617b1a817047a948ef28d45077cb3f9e59 SHA1 79d6b334c8fa43ed70ec7098186ec0f171a9e575 SHA256 faea3c9da2691d09b9d273c10f6f8949a462695cb02051a531f88ae057463a20
 
EBUILD gtk-sharp-1.0.10.ebuild 1570 RMD160 21279eeb34cb1607001ed39cccb34355ccd74ba1 SHA1 fdbb9f5d94c385d678621219b76178ac1a91fe89 SHA256 acee58945af14518942f0597d8480d14ad660796351b8463f9d8a87f06154304
 
EBUILD gtk-sharp-2.10.0.ebuild 1698 RMD160 ad3cf1f0789a2090380862c9b73e6fca9912b0d1 SHA1 f3e8ee3ab3a07fb1fcbce0a1f3728a32192876fb SHA256 8b947cdc73cd49da353c64e52b1cfe4eea72fdeb653567835f2127bcc554faca
 
EBUILD gtk-sharp-2.10.2.ebuild 1421 RMD160 7b0363f3ecbd9757877ff3ca0a136d36b233f0ea SHA1 9227c73a18c4075b41f7621d2099e5d76079f8b4 SHA256 fd08873ad9e67048504958bdbafe91223e659d0df068334e2cab3ee3dfbded95
 
EBUILD gtk-sharp-2.12.1.ebuild 1413 RMD160 2a907189966b47494b890a37666bf1c10a241442 SHA1 646198f85465525e1142e9cec8475b4a789a8998 SHA256 8171dd56f45d0574d943a26508ba22b92a3a38aa40073f2936091a8c9b04defc
 
EBUILD gtk-sharp-2.8.2.ebuild 1895 RMD160 934eff5f5eabe0b0c3488691a9492e04b4bd5f0d SHA1 5a3a9954702bb92486f23be7fb3d7a4ca6da0ff7 SHA256 cb01fbf1b74f23d0ecab3d60e660a4516fe2f78f61cac641b6b2a3f02983047c
 
MISC ChangeLog 16927 RMD160 a2d5cd939f13fa789b4d1fb2947862d94d7b2585 SHA1 60e060cb98836dfe559a3ea8985ae8b3336c2a07 SHA256 98c87247cc13bf2447f11bce9840327e3f7f38612b59e75c229640e515c0bd79
 
MISC metadata.xml 160 RMD160 f695863a7303e221fcd6031c1abcdd1539f81ce1 SHA1 59011ece6da0477bfb7c33176b070edb419af475 SHA256 24dd16fd81fd73a75aabdc83d54336201cd70c6bb711e0db7de4cd3e77a93354
dev-dotnet/gtk-sharp/gtk-sharp-1.0.10.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtk-sharp/gtk-sharp-1.0.10.ebuild,v 1.9 2008/01/13 04:19:53 compnerd Exp $
 

	
 
WANT_AUTOMAKE="1.9"
 
WANT_AUTOCONF="latest"
 

	
 
inherit eutils mono autotools
 

	
 
DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit and GNOME libraries"
 
SRC_URI="http://www.go-mono.com/sources/${PN}/${P}.tar.gz
 
		mirror://gentoo/${P}-configurable.diff.gz"
 
HOMEPAGE="http://gtk-sharp.sourceforge.net/"
 

	
 
LICENSE="LGPL-2.1"
 
SLOT="1"
 
IUSE=""
 
RESTRICT="test"
 

	
 
RDEPEND=">=dev-lang/mono-1.0
 
	dev-perl/XML-LibXML
 
	>=x11-libs/gtk+-2.2
 
	>=gnome-base/orbit-2.8.3"
 

	
 
DEPEND="${RDEPEND}
 
	>=sys-apps/sed-4.0
 
	sys-devel/automake
 
	sys-devel/autoconf
 
	dev-util/pkgconfig"
 

	
 
KEYWORDS="amd64 ppc x86"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 

	
 
	epatch "${WORKDIR}/${P}-configurable.diff"
 
	sed -i -e 's:\<PKG_PATH\>:GTK_SHARP_PKG_PATH:g' configure.in
 

	
 
	# Use correct libdir in pkgconfig file
 
	sed -i -e 's:^libdir.*:libdir=@libdir@:' \
 
		"${S}/gtk-sharp.pc.in" || die
 

	
 
	eautoreconf
 

	
 
	# disable building of samples (#16015)
 
	sed -i -e "s:sample::" Makefile.in
 
}
 

	
 
src_compile() {
 
	local myconf
 
	for package in art glade gnome gnomedb gda gtkhtml rsvg vte
 
	do
 
		myconf="${myconf} --disable-${package}"
 
	done
 

	
 
	econf ${myconf} || die "./configure failed"
 
	LANG=C emake -j1 || die
 
}
 

	
 
src_install () {
 
	LANG=C make GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package ${PN}" \
 
		DESTDIR="${D}" install || die
 

	
 
	dodoc README* ChangeLog
 
}
dev-dotnet/gtk-sharp/gtk-sharp-2.10.0.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtk-sharp/gtk-sharp-2.10.0.ebuild,v 1.8 2008/01/13 04:19:53 compnerd Exp $
 

	
 
inherit eutils mono autotools
 

	
 
DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit and GNOME libraries"
 
SRC_URI="mirror://gnome/sources/${PN}/${PV%.*}/${P}.tar.gz
 
		mirror://gentoo/${P}-configurable.diff.gz"
 
HOMEPAGE="http://gtk-sharp.sourceforge.net/"
 

	
 
LICENSE="LGPL-2.1"
 
SLOT="2"
 
IUSE="doc"
 
RESTRICT="test"
 

	
 
RDEPEND=">=dev-lang/mono-1.1.9
 
	dev-perl/XML-LibXML
 
	>=x11-libs/gtk+-2.10
 
	>=gnome-base/orbit-2.8.3"
 

	
 
DEPEND="${RDEPEND}
 
	doc? ( >=dev-util/monodoc-1.1.8 )
 
	dev-util/pkgconfig"
 

	
 
KEYWORDS="amd64 ppc ~sparc x86 ~x86-fbsd"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 

	
 
	epatch "${WORKDIR}/${P}-configurable.diff"
 

	
 
	# fixes support with pkgconfig-0.17, bug #92503
 
	# as well as remove zapping of CFLAGS
 
	sed -i -e 's/\<PKG_PATH\>/GTK_SHARP_PKG_PATH/g' \
 
		-e ':^CFLAGS=:d' \
 
		"${S}"/configure.in
 

	
 
	# Use correct libdir in pkgconfig files
 
	sed -i -e 's:^libdir.*:libdir=@libdir@:' \
 
		"${S}"/*/*.pc.in || die
 

	
 
	eautoreconf
 

	
 
	# disable building of samples (#16015)
 
	sed -i -e "s:sample::" Makefile.in
 
}
 

	
 
src_compile() {
 

	
 
	local myconf=""
 
	# These are the same as from gtk-sharp-component.eclass
 
	for package in art glade gnome gnomevfs gtkhtml rsvg vte
 
	do
 
		myconf="${myconf} --disable-${package}"
 
	done
 

	
 
	econf ${myconf} || die "./configure failed"
 
	LANG=C emake -j1 || die
 
}
 

	
 
src_install () {
 
	make GACUTIL_FLAGS="/root "${D}"/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package ${PN}-2.0" \
 
		DESTDIR="${D}" install || die
 

	
 
	dodoc README* ChangeLog
 
}
dev-dotnet/gtk-sharp/gtk-sharp-2.10.2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtk-sharp/gtk-sharp-2.10.2.ebuild,v 1.1 2008/01/13 02:25:08 compnerd Exp $
 

	
 
inherit eutils mono autotools
 

	
 
DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit and GNOME libraries"
 
HOMEPAGE="http://gtk-sharp.sourceforge.net/"
 
SRC_URI="mirror://gnome/sources/${PN}/${PV%.*}/${P}.tar.gz
 
		 mirror://gentoo/${PN}-2.10.0-configurable.diff.gz"
 

	
 
LICENSE="LGPL-2.1"
 
SLOT="2"
 
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
 
IUSE="doc"
 

	
 
RDEPEND=">=dev-lang/mono-1.1.9
 
		 >=x11-libs/gtk+-2.10"
 
DEPEND="${RDEPEND}
 
		>=dev-util/pkgconfig-0.19
 
		doc? ( >=dev-util/monodoc-1.1.8 )"
 

	
 
RESTRICT="test"
 
MAKEOPTS="${MAKEOPTS} -j1"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 

	
 
	epatch "${WORKDIR}/${PN}-2.10.0-configurable.diff"
 

	
 
	sed -i -e ':^CFLAGS=:d' "${S}/configure.in"
 

	
 
	# Fix up pkgconfig entries
 
	sed -i -e 's:^prefix.*:prefix=@prefix@:' \
 
	       -e 's:^libdir.*:libdir=@libdir@:' \
 
	"${S}"/*/*.pc.in || die
 

	
 
	eautoreconf
 

	
 
	# disable building of samples (#16015)
 
	sed -i -e "s:sample::" Makefile.in
 
}
 

	
 
src_compile() {
 
	econf --disable-glade || die "configure failed"
 
	LANG=C emake || die
 
}
 

	
 
src_install () {
 
	emake GACUTIL_FLAGS="/root "${D}"/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package ${PN}-2.0" \
 
	      DESTDIR="${D}" install || die
 

	
 
	dodoc README* ChangeLog
 
}
dev-dotnet/gtk-sharp/gtk-sharp-2.12.1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtk-sharp/gtk-sharp-2.10.2.ebuild,v 1.1 2008/01/13 02:25:08 compnerd Exp $
 

	
 
inherit eutils mono autotools
 

	
 
DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit and GNOME libraries"
 
HOMEPAGE="http://gtk-sharp.sourceforge.net/"
 
SRC_URI="mirror://gnome/sources/${PN}/${PV%.*}/${P}.tar.gz
 
		 mirror://gentoo/${PN}-2.12.1-configurable.diff.gz"
 

	
 
LICENSE="LGPL-2.1"
 
SLOT="2"
 
KEYWORDS="amd64 ~ppc ~sparc x86 ~x86-fbsd"
 
IUSE="doc"
 

	
 
RDEPEND=">=dev-lang/mono-1.1.9
 
		 >=x11-libs/gtk+-2.10"
 
DEPEND="${RDEPEND}
 
		>=dev-util/pkgconfig-0.19
 
		doc? ( >=dev-util/monodoc-1.1.8 )"
 

	
 
RESTRICT="test"
 
MAKEOPTS="${MAKEOPTS} -j1"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 

	
 
	epatch "${WORKDIR}/${PN}-2.12.1-configurable.diff"
 

	
 
	sed -i -e ':^CFLAGS=:d' "${S}/configure.in"
 

	
 
	# Fix up pkgconfig entries
 
	sed -i -e 's:^prefix.*:prefix=@prefix@:' \
 
		   -e 's:^libdir.*:libdir=@libdir@:' \
 
	"${S}"/*/*.pc.in || die
 

	
 
	eautoreconf
 

	
 
	# disable building of samples (#16015)
 
	sed -i -e "s:sample::" Makefile.in
 
}
 

	
 
src_compile() {
 
	econf --disable-glade || die "configure failed"
 
	LANG=C emake || die
 
}
 

	
 
src_install () {
 
	emake GACUTIL_FLAGS="/root "${D}"/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package ${PN}-2.0" \
 
		  DESTDIR="${D}" install || die
 

	
 
	dodoc README* ChangeLog
 
}
dev-dotnet/gtk-sharp/gtk-sharp-2.8.2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtk-sharp/gtk-sharp-2.8.2.ebuild,v 1.10 2008/01/13 04:19:53 compnerd Exp $
 

	
 
WANT_AUTOMAKE="latest"
 
WANT_AUTOCONF="latest"
 

	
 
inherit eutils mono autotools
 

	
 
DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit and GNOME libraries"
 
SRC_URI="http://go-mono.com/sources/${PN}-2.8/${P}.tar.gz
 
		mirror://gentoo/${P}-configurable.diff.gz"
 
HOMEPAGE="http://gtk-sharp.sourceforge.net/"
 

	
 
LICENSE="LGPL-2.1"
 
SLOT="2"
 
IUSE="doc"
 
RESTRICT="test"
 

	
 
RDEPEND=">=dev-lang/mono-1.1.13.2
 
	dev-perl/XML-LibXML
 
	>=x11-libs/gtk+-2.8
 
	>=gnome-base/orbit-2.8.3"
 

	
 
DEPEND="${RDEPEND}
 
	doc? ( >=dev-util/monodoc-1.1.8 )
 
	dev-util/pkgconfig"
 

	
 
KEYWORDS="amd64 ppc x86"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 

	
 
	epatch "${WORKDIR}/${P}-configurable.diff"
 

	
 
	# fixes support with pkgconfig-0.17, bug #92503
 
	# as well as remove zapping of CFLAGS
 
	sed -i -e 's/\<PKG_PATH\>/GTK_SHARP_PKG_PATH/g' \
 
		-e ':^CFLAGS=:d' \
 
		"${S}/configure.in"
 

	
 
	# Use correct libdir in pkgconfig files
 
	sed -i -e 's:^libdir.*:libdir=@libdir@:' \
 
		"${S}"/*/{,GConf}/*.pc.in || die "sed failed"
 

	
 
	# Fix install data hook (bug #161093)
 
	sed -i -e 's/^install-hook/install-data-hook/' \
 
		"${S}"/sample/gconf/Makefile.am || die "sed failed"
 

	
 
	eautoreconf
 

	
 
	# disable building of samples (#16015)
 
	sed -i -e "s:sample::" Makefile.in
 
}
 

	
 
src_compile() {
 

	
 
	local myconf=""
 
	# These are the same as from gtk-sharp-component.eclass
 
	for package in art glade gnome gnomevfs gtkhtml rsvg vte
 
	do
 
		myconf="${myconf} --disable-${package}"
 
	done
 

	
 
	econf ${myconf} || die "./configure failed"
 
	LANG=C emake -j1 || die
 
}
 

	
 
src_install () {
 
	make GACUTIL_FLAGS="/root "${D}"/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package ${PN}-2.0" \
 
		DESTDIR="${D}" install || die
 

	
 
	dodoc README* ChangeLog
 
}
dev-dotnet/gtk-sharp/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>dotnet</herd>
 
</pkgmetadata>
dev-embedded/crossdev-wrappers/Manifest
Show inline comments
 
new file 100644
 
DIST crossdev-wrappers-20080622.tar.bz2 5524 RMD160 1ff7c5d0f29a7997e39c79cc4bfec0ac1ea4a568 SHA1 86e60d6eae5ba4b96c770837971daa773eeff429 SHA256 ddd8fc398c54449b2e042a5f22809d92e9f1ddbd6e07ba693a4b941b14146517
 
EBUILD crossdev-wrappers-20080622.ebuild 724 RMD160 a702f367aa8d54a358e3100db500c718a25092a2 SHA1 da2cb616376f2b14613677b18ae0a89cab3565c2 SHA256 ca59c6dd2c995f3a71d3592c7ade5944154a0d931873ab114a1800383d0f6ebb
dev-embedded/crossdev-wrappers/crossdev-wrappers-20080622.ebuild
Show inline comments
 
new file 100644
 
# Copyright 2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 

	
 
inherit toolchain-funcs eutils
 

	
 
DESCRIPTION="emerge wrappers for crossdev"
 
HOMEPAGE="http://embedded.gentoo.org"
 
SRC_URI="mirror://gentoo/${P}.tar.bz2 http://dev.gentoo.org/~solar/embedded/${P}.tar.bz2"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
 
IUSE=""
 

	
 
DEPEND=""
 

	
 
S="${WORKDIR}/${PN}"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 
}
 

	
 
src_compile() {
 
	make PREFIX=/usr || die
 
}
 

	
 
src_install() {
 
	make PREFIX=/usr DESTDIR="${D}" install
 
}
 

	
 
pkg_postinst() {
 
	einfo "Running emerge-wrapper --init"
 
	emerge-wrapper --init
 
}
dev-embedded/phidget/Manifest
Show inline comments
 
new file 100644
 
AUX phidget21-crosscompile.patch 709 RMD160 28c7fc6f7f9b4717ca85c81afa317a156d01b3f4 SHA1 e12db1b12b4357304141264e4fb6128d9de92172 SHA256 e8c4cd0e591da58ee47f1bf7fe7026b2ecbe7bae90fdb7c6681d780341ec6089
 
AUX phidget21-java.patch 785 RMD160 956f5913c5ca75e120de97796d2e6ac07b5f85be SHA1 4c44ef073ef75c70cd2b05892e0161930df0c21d SHA256 045ea70c94fe3a3f0e3b92b295ae643a20ee7e378cae1258ee1d14a7c2f8cb2f
 
AUX phidget21-libdir.patch 562 RMD160 b4d98da1326708f13ec19a938c64e829431b975a SHA1 bbc770a37506753ce1c8cd5256c337db6ed64ac1 SHA256 12d90ad6ea8d4ca2faa0d533e321847241620d4cc4d624e816c4e69a22e6c726
 
DIST Phidgetlinux_2.1.4.20080924.tar.gz 292176 RMD160 2360bc2ccc14d2afd30de11386eac3f4e3399cf0 SHA1 a296abee3f48d8126b521b10e487cd77fe07051d SHA256 7f60fc29147b45bbe0fa6cca769bf8a940839b13b8786bdfbca18bb54822cb25
 
EBUILD phidget-2.1.4.20080924.ebuild 1263 RMD160 4536aa3b392577048a20648948ec59378e39a4a1 SHA1 4452773b19938aabeb2b31d1557dbd66df13aac4 SHA256 8752907dc9ebccc2d19313e0197dac948ee6f050f33e7e27f0c4128ee1af8fb1
dev-embedded/phidget/files/phidget21-crosscompile.patch
Show inline comments
 
new file 100644
 
diff -c /home/ohnobinki/ivd/phidgetprogs/phidgetlinux/Phidgetlinux/phidget21/Makefile /tmp/buffer-content-3770Mkg
 
--- Makefile	Mon Sep 22 14:48:19 2008
 
+++ Makefile	Tue Sep 30 07:10:04 2008
 
@@ -2,17 +2,17 @@
 
 DEBUG?=n
 
 DMALLOC?=n
 
 JAVA?=y
 
-CROSSCOMPILE?=n
 
+CROSS_COMPILE?=
 
 ZEROCONF?=avahi
 
 
 
-ifeq ($(CROSSCOMPILE),y)
 
-CC=arm-linux-gcc
 
-NM=arm-linux-nm
 
-AR=arm-linux-ar
 
-CXX=arm-linux-g++
 
-CPP=arm-linux-cpp
 
-LD=arm-linux-ld
 
-endif
 
+#ifeq ($(CROSSCOMPILE),y)
 
+CC=$(CROSS_COMPILE)gcc
 
+NM=$(CROSS_COMPILE)nm
 
+AR=$(CROSS_COMPILE)ar
 
+CXX=$(CROSS_COMPILE)g++
 
+CPP=$(CROSS_COMPILE)cpp
 
+LD=$(CROSS_COMPILE)ld
 
+#endif
 
 
 
 ifeq ($(JAVA),y)
 
 JAVAHOME := /usr/java/j2sdk1.4.2_18
 

	
 
Diff finished.  Tue Sep 30 07:10:05 2008
dev-embedded/phidget/files/phidget21-java.patch
Show inline comments
 
new file 100644
 
diff -u /home/ohnobinki/ivd/phidgetprogs/phidgetlinux/Phidgetlinux/phidget21/Makefile /tmp/buffer-content-3770FHU
 
--- Makefile	Tue Sep 30 07:24:27 2008
 
+++ Makefile	Tue Sep 30 07:28:44 2008
 
@@ -1,8 +1,9 @@
 
 PREFIX=/usr
 
 DEBUG?=n
 
 DMALLOC?=n
 
-JAVA?=y
 
+#JAVA?=y
 
 CROSS_COMPILE?=
 
+JAVAFLAGS?=
 
 ZEROCONF?=avahi
 
 
 
 #ifeq ($(CROSSCOMPILE),y)
 
@@ -14,12 +16,12 @@
 
 LD=$(CROSS_COMPILE)ld
 
 #endif
 
 
 
-ifeq ($(JAVA),y)
 
-JAVAHOME := /usr/java/j2sdk1.4.2_18
 
-JAVAFLAGS=-I$(JAVAHOME)/include -I$(JAVAHOME)/include/linux
 
-else
 
-JAVAFLAGS=
 
-endif
 
+#ifeq ($(JAVA),y)
 
+#JAVAHOME := /usr/java/j2sdk1.4.2_18
 
+#JAVAFLAGS=-I$(JAVAHOME)/include -I$(JAVAHOME)/include/linux
 
+#else
 
+#JAVAFLAGS=
 
+#endif
 
 
 
 ifeq ($(DMALLOC),y)
 
 DEBUGFLAGS=-DDMALLOC -DDMALLOC_FUNC_CHECK
 

	
 
Diff finished.  Tue Sep 30 07:28:44 2008
dev-embedded/phidget/files/phidget21-libdir.patch
Show inline comments
 
new file 100644
 
diff -c /home/ohnobinki/ivd/phidgetprogs/phidgetlinux/Phidgetlinux/phidget21/Makefile /tmp/buffer-content-3770fbg
 
--- Makefile	Mon Sep 22 14:48:19 2008
 
+++ -content-3770fbg	Tue Sep 30 09:27:29 2008
 
@@ -150,7 +150,7 @@
 
 	cd Java ; jar cf ../$@ com/phidgets/event/*.class com/phidgets/*.class
 
 
 
 install: all
 
-	$(INSTALL_LIB) libphidget21.so $(INSTALLPREFIX)/$(PREFIX)/lib
 
+	$(INSTALL_LIB) libphidget21.so $(INSTALLPREFIX)/$(PREFIX)/$(LIBDIR)
 
 	$(INSTALL_FILE) phidget21.h $(INSTALLPREFIX)/$(PREFIX)/include
 
 
 
 uninstall:
 

	
 
Diff finished.  Tue Sep 30 09:27:29 2008
dev-embedded/phidget/phidget-2.1.4.20080924.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 

	
 
inherit versionator eutils java-pkg-opt-2
 

	
 
DESCRIPTION="Phidget USB hardware interface library"
 
MY_PV="$(get_major_version)$(get_version_component_range 2)"
 
LONGNAME="Phidgetlinux"
 
SRC_URI="http://www.phidgets.com/downloads/libraries/${LONGNAME}_${PV}.tar.gz"
 
HOMEPAGE="http://www.phidgets.com"
 

	
 
SLOT="0"
 

	
 
LICENSE="LGPL"
 
KEYWORDS="x86 ~alpha ~ppc ~sparc ~hppa ~amd64"
 

	
 
RDEPEND="java? ( >=virtual/jre-1.4 )"
 
DEPEND="java? ( >=virtual/jdk-1.4 )"
 

	
 
S=${WORKDIR}/${LONGNAME}/${PN}${MY_PV}
 

	
 
src_unpack() {
 
	unpack ${LONGNAME}_${PV}.tar.gz
 
	cd "${S}"
 

	
 
	epatch "${FILESDIR}"/${PN}${MY_PV}-libdir.patch
 
	epatch "${FILESDIR}"/${PN}${MY_PV}-crosscompile.patch
 
	use java && epatch "${FILESDIR}"/${PN}${MY_PV}-java.patch
 
}
 

	
 
src_compile() {
 
	echo cd "${S}"
 
	cd "${S}"
 
	if use java; then
 
		emake CROSS_COMPILE=${CHOST}- JAVAFLAGS="$(java-pkg_get-jni-cflags)" jni || die "emake failed"
 
	else
 
		emake CROSS_COMPILE=${CHOST}- || die "emake failed"
 
	fi
 
}
 

	
 
src_install() {
 

	
 
	mkdir -p ${D}/usr/$(get_libdir)
 
	mkdir -p ${D}/usr/include
 
	make install INSTALLPREFIX=${D} PREFIX=usr LIBDIR=$(get_libdir)
 
	java-pkg_regso "${D}"/usr/$(get_libdir)/lib${PN}${MY_PV}.so
 
}
dev-java/findbugs/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for dev-java/jrefactory
 
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: $
 

	
 
  09 Nov 2008; Nathan Brink <ohnobinki@ohnopublishing.net> (not gentoo dev) ChangeLog:
 
  Changed dependencie for =dev-java/dom4j-1.4 to dev-java/dom4j-1.4* to allow
 
  dom4j-1.4-r1. Only modified findbugs-1.3.{2,3}.ebuild
 

	
 
  22 Jun 2008; Miroslav Å ulc <fordfrog@gentoo.org> +findbugs-1.3.3.ebuild:
 
  Version bump.
 

	
 
  20 Mar 2008; Miroslav Å ulc <fordfrog@gentoo.org> +findbugs-1.3.2.ebuild:
 
  Version bump, creation of javadocs fails
 

	
 
  25 Nov 2007; Miroslav Å ulc <fordfrog@gentoo.org> ++,
 
  findbugs-1.2.1.ebuild:
 
  Version bump
 

	
 
  15 Aug 2007; Miroslav Å ulc <fordfrog@gentoo.org> +files/findbugs,
 
  findbugs-1.2.1.ebuild:
 
  Added launcher script
 

	
 
  14 Aug 2007; Miroslav Å ulc <fordfrog@gentoo.org> ++:
 
  Version bump. Please note that I got StackOverFlow in 50% of the merges, and
 
  do not know why.
 

	
 
  09 Jun 2007; Joshua Nichols <nichoj@gentoo.org> ChangeLog:
 
  Added missing ~amd64 for ant-pretty.
 

	
 
  18 Feb 2007; kiorky <kiorky@cryptelium.net> +findbugs-0.8.4.ebuild:
 
  Adding 0.8.4 as it is a jrefactory dependency
 
  It s the only where jrefactory compiles against with
 
  just a few modifications in jrefactory code
 

	
 
  18 Feb 2007; kiorky <kiorky@cryptelium.net> ChangeLog:
 
  Added as it is a jrefactory dependency
 
  see #93232 and #167424
 

	
dev-java/findbugs/Manifest
Show inline comments
 
new file 100644
 
AUX findbugs 271 RMD160 3bc63ec8a7222462460645a2d2cad29dc40eaffa SHA1 811f3840e42c8c88ebc328351aa12a970ddcccf4 SHA256 4ec1947bfdfa7cd048a4e575a5c47fe58e6685e6dcb58d059554457fe6dc46be
 
DIST findbugs-1.3.2-source.zip 6247220 RMD160 d76bcad48f28aa05ead3756ae964c95159512af9 SHA1 a3365d645fda019fa9ca7952c6016264411de86d SHA256 a92e352b5c305f5836674c47bf7a9522416b7a953f0d196ef702c2e2f3483907
 
DIST findbugs-1.3.3-source.zip 6272944 RMD160 8267595590ab91fe9454ced0d734c2a372cb05d7 SHA1 59da66bbd19ce8c626faa239a1cd3f7c824f0a16 SHA256 9a5677a7f3c151a2470f1c5fd6f38a98f546a4ea0fcd345f04235ecbe43e9032
 
EBUILD findbugs-1.3.2.ebuild 1980 RMD160 000fc5d4e507f02dc83665a9e0d4ae48bae5f6b2 SHA1 8f2156281906f52be7b5ea790af126d9c70628c5 SHA256 28f0409002c680776c33fe7062ac2807694613ea73e1e42106aa79ce621b5fb8
 
EBUILD findbugs-1.3.3.ebuild 1980 RMD160 000fc5d4e507f02dc83665a9e0d4ae48bae5f6b2 SHA1 8f2156281906f52be7b5ea790af126d9c70628c5 SHA256 28f0409002c680776c33fe7062ac2807694613ea73e1e42106aa79ce621b5fb8
 
MISC ChangeLog 1371 RMD160 d8e70faace3dd2bb184bb2356a00c4735316c05f SHA1 a49dcdc21266f38f7f9ab70988e6ed9c1ea7c292 SHA256 6f9f8ac27749842f6adfc62a6081b76b4c328cbca346fa220d408c593942b838
 
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
dev-java/findbugs/files/findbugs
Show inline comments
 
new file 100644
 
gjl_package=findbugs
 

	
 
if [ "${1}" = "-help" ] ; then
 
	gjl_main="edu.umd.cs.findbugs.ShowHelp"
 
else
 
	gjl_main="edu.umd.cs.findbugs.LaunchAppropriateUI"
 
fi
 

	
 
gjl_java_args="-Xmx384m -Dfindbugs.home=/usr/share/findbugs"
 
source /usr/share/java-config-2/launcher/launcher.bash
dev-java/findbugs/findbugs-1.3.2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 

	
 
WANT_ANT_TASKS="ant-nodeps"
 
JAVA_PKG_IUSE="doc source test"
 
inherit java-pkg-2 java-ant-2
 

	
 
DESCRIPTION="Find Bugs in Java Programs"
 
HOMEPAGE="http://findbugs.sourceforge.net/"
 
SRC_URI="mirror://sourceforge/${PN}/${P}-source.zip"
 

	
 
LICENSE="LGPL-2.1"
 
SLOT="0"
 
KEYWORDS="~amd64 ~x86"
 
IUSE=""
 

	
 
CDEPEND="dev-java/ant-core
 
	dev-java/apple-java-extensions-bin
 
	>=dev-java/asm-3.1
 
	=dev-java/dom4j-1.4*
 
	dev-java/findbugs-bcel
 
	dev-java/jsr305
 
	test? (
 
		dev-java/ant-junit
 
		=dev-java/junit-3.8*
 
	)"
 
RDEPEND=">=virtual/jre-1.5
 
	${CDEPEND}"
 
DEPEND="=virtual/jdk-1.5*
 
	app-arch/unzip
 
	${CDEPEND}"
 

	
 
EANT_DOC_TARGET="apiJavadoc"
 
EANT_BUILD_TARGET="jars anttask"
 
EANT_GENTOO_CLASSPATH="ant-core"
 
ANT_OPTS="-Xmx256m"
 

	
 
pkg_setup() {
 
	use doc && ewarn "Installing javadocs does not pass sanity check."
 

	
 
	java-pkg-2_pkg_setup
 
}
 

	
 
src_unpack(){
 
	unpack ${A}
 

	
 
	cd "${S}"
 
	find -name "*.jar" | xargs rm -v
 
	cd "${S}"/lib
 
	java-pkg_jarfrom findbugs-bcel findbugs-bcel.jar bcel.jar
 
	java-pkg_jarfrom apple-java-extensions-bin,junit
 
	java-pkg_jarfrom asm-3 asm.jar asm-3.0.jar
 
	java-pkg_jarfrom asm-3 asm-analysis.jar asm-analysis-3.0.jar
 
	java-pkg_jarfrom asm-3 asm-commons.jar asm-commons-3.0.jar
 
	java-pkg_jarfrom asm-3 asm-tree.jar asm-tree-3.0.jar
 
	java-pkg_jarfrom asm-3 asm-util.jar asm-util-3.0.jar
 
	java-pkg_jarfrom asm-3 asm-xml.jar asm-xml-3.0.jar
 
	java-pkg_jarfrom dom4j-1.4 dom4j-full.jar dom4j-full.jar
 
	java-pkg_jarfrom jsr305
 
	use test && java-pkg_jarfrom junit
 

	
 
	cd "${S}"
 
	java-ant_rewrite-classpath
 
}
 

	
 
src_test() {
 
	ANT_TASKS="ant-nodeps ant-junit" eant runjunit
 
}
 

	
 
src_install() {
 
	java-pkg_dojar "${S}"/lib/${PN}*.jar "${S}"/plugin/*.jar
 
	dodir /usr/share/${PN}/plugin
 
	dosym /usr/share/${PN}/lib/coreplugin.jar  /usr/share/${PN}/plugin/
 
	dobin "${FILESDIR}"/findbugs
 

	
 
	use doc && java-pkg_dojavadoc "${S}"/apiJavaDoc
 
	use source && java-pkg_dosrc "${S}"/src
 
}
dev-java/findbugs/findbugs-1.3.3.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 

	
 
WANT_ANT_TASKS="ant-nodeps"
 
JAVA_PKG_IUSE="doc source test"
 
inherit java-pkg-2 java-ant-2
 

	
 
DESCRIPTION="Find Bugs in Java Programs"
 
HOMEPAGE="http://findbugs.sourceforge.net/"
 
SRC_URI="mirror://sourceforge/${PN}/${P}-source.zip"
 

	
 
LICENSE="LGPL-2.1"
 
SLOT="0"
 
KEYWORDS="~amd64 ~x86"
 
IUSE=""
 

	
 
CDEPEND="dev-java/ant-core
 
	dev-java/apple-java-extensions-bin
 
	>=dev-java/asm-3.1
 
	=dev-java/dom4j-1.4*
 
	dev-java/findbugs-bcel
 
	dev-java/jsr305
 
	test? (
 
		dev-java/ant-junit
 
		=dev-java/junit-3.8*
 
	)"
 
RDEPEND=">=virtual/jre-1.5
 
	${CDEPEND}"
 
DEPEND="=virtual/jdk-1.5*
 
	app-arch/unzip
 
	${CDEPEND}"
 

	
 
EANT_DOC_TARGET="apiJavadoc"
 
EANT_BUILD_TARGET="jars anttask"
 
EANT_GENTOO_CLASSPATH="ant-core"
 
ANT_OPTS="-Xmx256m"
 

	
 
pkg_setup() {
 
	use doc && ewarn "Installing javadocs does not pass sanity check."
 

	
 
	java-pkg-2_pkg_setup
 
}
 

	
 
src_unpack(){
 
	unpack ${A}
 

	
 
	cd "${S}"
 
	find -name "*.jar" | xargs rm -v
 
	cd "${S}"/lib
 
	java-pkg_jarfrom findbugs-bcel findbugs-bcel.jar bcel.jar
 
	java-pkg_jarfrom apple-java-extensions-bin,junit
 
	java-pkg_jarfrom asm-3 asm.jar asm-3.0.jar
 
	java-pkg_jarfrom asm-3 asm-analysis.jar asm-analysis-3.0.jar
 
	java-pkg_jarfrom asm-3 asm-commons.jar asm-commons-3.0.jar
 
	java-pkg_jarfrom asm-3 asm-tree.jar asm-tree-3.0.jar
 
	java-pkg_jarfrom asm-3 asm-util.jar asm-util-3.0.jar
 
	java-pkg_jarfrom asm-3 asm-xml.jar asm-xml-3.0.jar
 
	java-pkg_jarfrom dom4j-1.4 dom4j-full.jar dom4j-full.jar
 
	java-pkg_jarfrom jsr305
 
	use test && java-pkg_jarfrom junit
 

	
 
	cd "${S}"
 
	java-ant_rewrite-classpath
 
}
 

	
 
src_test() {
 
	ANT_TASKS="ant-nodeps ant-junit" eant runjunit
 
}
 

	
 
src_install() {
 
	java-pkg_dojar "${S}"/lib/${PN}*.jar "${S}"/plugin/*.jar
 
	dodir /usr/share/${PN}/plugin
 
	dosym /usr/share/${PN}/lib/coreplugin.jar  /usr/share/${PN}/plugin/
 
	dobin "${FILESDIR}"/findbugs
 

	
 
	use doc && java-pkg_dojavadoc "${S}"/apiJavaDoc
 
	use source && java-pkg_dosrc "${S}"/src
 
}
dev-java/findbugs/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>java</herd>
 
</pkgmetadata>
dev-java/gcj/.svn/all-wcprops
Show inline comments
 
new file 100644
 
K 25
 
svn:wc:ra_dav:version-url
 
V 53
 
/svn/proj/java/!svn/ver/6075/gcj-overlay/dev-java/gcj
 
END
 
Manifest
 
K 25
 
svn:wc:ra_dav:version-url
 
V 62
 
/svn/proj/java/!svn/ver/6075/gcj-overlay/dev-java/gcj/Manifest
 
END
 
gcj-4.3.0_alpha20080313.ebuild
 
K 25
 
svn:wc:ra_dav:version-url
 
V 84
 
/svn/proj/java/!svn/ver/6075/gcj-overlay/dev-java/gcj/gcj-4.3.0_alpha20080313.ebuild
 
END
dev-java/gcj/.svn/entries
Show inline comments
 
new file 100644
 
8
 

	
 
dir
 
6236
 
http://overlays.gentoo.org/svn/proj/java/gcj-overlay/dev-java/gcj
 
http://overlays.gentoo.org/svn/proj/java
 

	
 

	
 

	
 
2008-03-16T14:19:38.237731Z
 
6075
 
geki
 

	
 

	
 
svn:special svn:externals svn:needs-lock
 

	
 

	
 

	
 

	
 

	
 

	
 

	
 

	
 

	
 

	
 

	
 
fe387f86-7aec-0310-8f44-a148a97195aa
 

 
files
 
dir
 

 
Manifest
 
file
 

	
 

	
 

	
 

	
 
2008-03-18T15:54:34.000000Z
 
d7125f29ede1f894355ffb7a7c0d94c1
 
2008-03-16T14:19:38.237731Z
 
6075
 
geki
 

 
gcj-4.3.0_alpha20080313.ebuild
 
file
 

	
 

	
 

	
 

	
 
2008-03-18T15:54:34.000000Z
 
a415d345a11f5e57530dbe916130d14a
 
2008-03-16T14:19:38.237731Z
 
6075
 
geki
 

dev-java/gcj/.svn/format
Show inline comments
 
new file 100644
 
8
dev-java/gcj/.svn/text-base/Manifest.svn-base
Show inline comments
 
new file 100644
 
AUX gcc-configure-LANG.patch 2052 RMD160 91f5b90600dfccb10c4e2308a5a1485275fdfeee SHA1 56ecd1d6f2e4bd0b35ac108be72a4f6f60212c38 SHA256 63de6d2dcfe14f21d147abeb1390405b9220c03f8e968f482d4b4c1cf279c88b
 
AUX gcj-4.3-tools.jar-path.diff 1808 RMD160 d969cc6765fced33fb6d609dc03052293c426249 SHA1 b715c4ee085edf5d479fd1caa14069994987a53c SHA256 db4ed3ba52618e6ce80cb540d82aded41229fe339ecc3bb8a1fa29a88949de6b
 
AUX gcj-config 1948 RMD160 a20ecc91ecf43dd15a78d3bfde270811646906a9 SHA1 9061c1c7f4af450616235a655f21a10b49cc43c3 SHA256 b4827c03c23f46c8227186bfa9c8178c34153caf280338bcef8843d2aeab5c51
 
AUX gentoo-multilib-fixincludes.diff 1141 RMD160 fe54fe912f6bf57017d85c6fac57e932c80d53ee SHA1 a48a6bd5e4a013a81d6fb26f9b0df793b5d2b5c1 SHA256 02f010daefd560fd348f7746a8763fe55fc0b6a55bf9580c15ca4c03d83507ea
 
AUX gjar.diff 4149 RMD160 3abf0f0671f2d2eeb06b8b5e054bc5fa00ce3c53 SHA1 d37c0125af6870861d1a0811b4d77d5ef3ae857e SHA256 06796062f47842520a3bce838aecf376ed0f8dc13f61fe46f1b340e96ec7ead4
 
AUX rebuild-classmap-db 2846 RMD160 e697aa36a7dd1cba031ef4f78e99a50527e76eb0 SHA1 66e43a6ffb218cdaafae44ed183f94914dac4ad3 SHA256 ef947736442c22867c988afa21e3cfc5576bd1cdd37c4fd4c84632e1f6458c72
 
DIST gcc-4.3-20080313.tar.bz2 56234118 RMD160 0cc391d971899366a42e42e1a87084c6b8d4454b SHA1 8ff200972c8393689bd166f09ab8b885c0364daf SHA256 cc9ec42a9b7b4f43cafbeeee48f8c9f9abfcc7810f3b20e0dcfb4b70041d77f4
 
EBUILD gcj-4.3.0_alpha20080313.ebuild 1518 RMD160 f8fb1aa41bf01b1fddb4d7e4206b9290fdd75550 SHA1 a6f5b2e7e196f4c0a44e81410d47213e7a08ddc8 SHA256 32bf50d1d6ae44f3470d8f5261cd4798485bae1c71b1d1a1ea86845cca2d44fe
dev-java/gcj/.svn/text-base/gcj-4.3.0_alpha20080313.ebuild.svn-base
Show inline comments
 
new file 100644
 
# Copyright 1999-2006 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# Header: $
 

	
 
ECJ_VER="3.4"
 

	
 
inherit gcc-java-2
 

	
 
DESCRIPTION="The GNU Compiler for the Java(tm) Programming Language"
 
HOMEPAGE="http://gcc.gnu.org/java/"
 

	
 
LICENSE="GPL-2 LGPL-2.1"
 
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 
SLOT="4.3"
 

	
 
RDEPEND="virtual/libc
 
	virtual/libiconv
 
	=dev-java/eclipse-ecj-${ECJ_VER}*
 
	>=sys-libs/zlib-1.1.4
 
	>=dev-libs/gmp-4.2.1
 
	>=dev-libs/mpfr-2.2.0_p10
 
	!nogtk? ( >=x11-libs/gtk+-2.8
 
		>=x11-libs/cairo-1.0.2
 
		x11-libs/pango
 
		x11-libs/libXt
 
		x11-libs/libX11
 
		x11-libs/libXtst
 
		x11-proto/xproto
 
		x11-proto/xextproto )
 
	gconf? ( >=gnome-base/gconf-2.14 )
 
	>=media-libs/libart_lgpl-2.1
 
	>=sys-libs/ncurses-5.2-r2
 
	nls? ( sys-devel/gettext )"
 
DEPEND="${RDEPEND}
 
	>=sys-apps/texinfo-4.2-r4
 
	>=sys-devel/bison-1.875
 
	>=sys-devel/binutils-2.16.1"
 

	
 
pkg_setup() {
 
	gcj_pkg_setup
 
}
 

	
 
src_unpack() {
 
	gcj_src_unpack
 
}
 

	
 
src_compile() {
 
	gcj_src_compile
 
}
 

	
 
pkg_preinst() {
 
	:;
 
}
 

	
 
src_install() {
 
	gcj_src_install
 

	
 
	# copy scripts
 
	exeinto /usr/bin
 
	doexe ${FILESDIR}/gcj-config
 
	doexe ${FILESDIR}/rebuild-classmap-db
 
}
 

	
 
pkg_postinst() {
 
	ewarn "This gcj ebuild is provided for your convenience, and the use"
 
	ewarn "of this JDK replacement is not supported by the Gentoo Developers."
 
	ewarn
 
	ewarn "You are on your own using this! If you have any interesting news"
 
	ewarn "let us know: http://forums.gentoo.org/viewtopic-t-379693.html"
 

	
 
	gcj-config ${P}
 
}
 

	
 
pkg_prerm() {
 
	:;
 
}
 

	
 
pkg_postrm() {
 
	:;
 
}
dev-java/gcj/Manifest
Show inline comments
 
new file 100644
 
AUX classpath_javax.swing.text.PlainView_divide_zero.patch 1302 RMD160 9f52d6e0b98eca8c4c8027d75ae2246db83baee6 SHA1 03b2eafb7eab826be4a9722b3f7a6c1c8b2b37c3 SHA256 be2fbca542a81f78ca141f08b43b0e79750aaf5c670b7945eb65138d1a0bbb6c
 
AUX gcc-configure-LANG.patch 2052 RMD160 91f5b90600dfccb10c4e2308a5a1485275fdfeee SHA1 56ecd1d6f2e4bd0b35ac108be72a4f6f60212c38 SHA256 63de6d2dcfe14f21d147abeb1390405b9220c03f8e968f482d4b4c1cf279c88b
 
AUX gcj-4.3-tools.jar-path.diff 1808 RMD160 d969cc6765fced33fb6d609dc03052293c426249 SHA1 b715c4ee085edf5d479fd1caa14069994987a53c SHA256 db4ed3ba52618e6ce80cb540d82aded41229fe339ecc3bb8a1fa29a88949de6b
 
AUX gcj-config 1948 RMD160 a20ecc91ecf43dd15a78d3bfde270811646906a9 SHA1 9061c1c7f4af450616235a655f21a10b49cc43c3 SHA256 b4827c03c23f46c8227186bfa9c8178c34153caf280338bcef8843d2aeab5c51
 
AUX gentoo-multilib-fixincludes.diff 1141 RMD160 fe54fe912f6bf57017d85c6fac57e932c80d53ee SHA1 a48a6bd5e4a013a81d6fb26f9b0df793b5d2b5c1 SHA256 02f010daefd560fd348f7746a8763fe55fc0b6a55bf9580c15ca4c03d83507ea
 
AUX gjar.diff 4149 RMD160 3abf0f0671f2d2eeb06b8b5e054bc5fa00ce3c53 SHA1 d37c0125af6870861d1a0811b4d77d5ef3ae857e SHA256 06796062f47842520a3bce838aecf376ed0f8dc13f61fe46f1b340e96ec7ead4
 
AUX rebuild-classmap-db 2846 RMD160 e697aa36a7dd1cba031ef4f78e99a50527e76eb0 SHA1 66e43a6ffb218cdaafae44ed183f94914dac4ad3 SHA256 ef947736442c22867c988afa21e3cfc5576bd1cdd37c4fd4c84632e1f6458c72
 
DIST gcc-4.3-20080313.tar.bz2 56234118 RMD160 0cc391d971899366a42e42e1a87084c6b8d4454b SHA1 8ff200972c8393689bd166f09ab8b885c0364daf SHA256 cc9ec42a9b7b4f43cafbeeee48f8c9f9abfcc7810f3b20e0dcfb4b70041d77f4
 
EBUILD gcj-4.3.0_alpha20080313-r1.ebuild 1602 RMD160 72a70e5658d9af788467f57d327a17c02090fbdc SHA1 0ab68c82dde67b4313ffc4fda6f9e955362531b1 SHA256 0ec73a78b1c299501aa3adf510f2b998941ce623749127a3e37a2c84f8eadc31
dev-java/gcj/files/.svn/all-wcprops
Show inline comments
 
new file 100644
 
K 25
 
svn:wc:ra_dav:version-url
 
V 59
 
/svn/proj/java/!svn/ver/5565/gcj-overlay/dev-java/gcj/files
 
END
 
gcj-4.3-tools.jar-path.diff
 
K 25
 
svn:wc:ra_dav:version-url
 
V 87
 
/svn/proj/java/!svn/ver/4021/gcj-overlay/dev-java/gcj/files/gcj-4.3-tools.jar-path.diff
 
END
 
gcj-config
 
K 25
 
svn:wc:ra_dav:version-url
 
V 70
 
/svn/proj/java/!svn/ver/5565/gcj-overlay/dev-java/gcj/files/gcj-config
 
END
 
gcc-configure-LANG.patch
 
K 25
 
svn:wc:ra_dav:version-url
 
V 84
 
/svn/proj/java/!svn/ver/2507/gcj-overlay/dev-java/gcj/files/gcc-configure-LANG.patch
 
END
 
gjar.diff
 
K 25
 
svn:wc:ra_dav:version-url
 
V 69
 
/svn/proj/java/!svn/ver/2700/gcj-overlay/dev-java/gcj/files/gjar.diff
 
END
 
rebuild-classmap-db
 
K 25
 
svn:wc:ra_dav:version-url
 
V 79
 
/svn/proj/java/!svn/ver/4600/gcj-overlay/dev-java/gcj/files/rebuild-classmap-db
 
END
 
gentoo-multilib-fixincludes.diff
 
K 25
 
svn:wc:ra_dav:version-url
 
V 92
 
/svn/proj/java/!svn/ver/5325/gcj-overlay/dev-java/gcj/files/gentoo-multilib-fixincludes.diff
 
END
dev-java/gcj/files/.svn/entries
Show inline comments
 
new file 100644
 
8
 

	
 
dir
 
6236
 
http://overlays.gentoo.org/svn/proj/java/gcj-overlay/dev-java/gcj/files
 
http://overlays.gentoo.org/svn/proj/java
 

	
 

	
 

	
 
2007-10-29T16:25:55.769718Z
 
5565
 
geki
 

	
 

	
 
svn:special svn:externals svn:needs-lock
 

	
 

	
 

	
 

	
 

	
 

	
 

	
 

	
 

	
 

	
 

	
 
fe387f86-7aec-0310-8f44-a148a97195aa
 

 
gcj-4.3-tools.jar-path.diff
 
file
 

	
 

	
 

	
 

	
 
2008-03-18T15:54:34.000000Z
 
602eb960c7752cc4877309e691110c06
 
2007-03-17T17:49:28.561065Z
 
4021
 
geki
 

 
gcj-config
 
file
 

	
 

	
 

	
 

	
 
2008-03-18T15:54:34.000000Z
 
983dba8a32e9740c90abf9e0648ea1ff
 
2007-10-29T16:25:55.769718Z
 
5565
 
geki
 
has-props
 

 
gcc-configure-LANG.patch
 
file
 

	
 

	
 

	
 

	
 
2008-03-18T15:54:34.000000Z
 
e1d606df0fb23c52c4ec513d52fa50ab
 
2006-07-22T17:34:59.296351Z
 
2507
 
geki
 

 
gjar.diff
 
file
 

	
 

	
 

	
 

	
 
2008-03-18T15:54:34.000000Z
 
aa0f410921144d59a239c7d434928b5c
 
2006-09-04T17:18:30.239227Z
 
2700
 
geki
 

 
rebuild-classmap-db
 
file
 

	
 

	
 

	
 

	
 
2008-03-18T15:54:34.000000Z
 
4583c161b4ebc92cc68e7aa06a28d108
 
2007-05-10T12:51:18.267340Z
 
4600
 
geki
 
has-props
 

 
gentoo-multilib-fixincludes.diff
 
file
 

	
 

	
 

	
 

	
 
2008-03-18T15:54:34.000000Z
 
96c60ed54d3adee3b78b6d69f570f15a
 
2007-08-23T19:23:19.075376Z
 
5325
 
geki
 

dev-java/gcj/files/.svn/format
Show inline comments
 
new file 100644
 
8
dev-java/gcj/files/.svn/prop-base/gcj-config.svn-base
Show inline comments
 
new file 100644
 
K 14
 
svn:executable
 
V 1
 
*
 
END
dev-java/gcj/files/.svn/prop-base/rebuild-classmap-db.svn-base
Show inline comments
 
new file 100644
 
K 14
 
svn:executable
 
V 1
 
*
 
END
dev-java/gcj/files/.svn/text-base/gcc-configure-LANG.patch.svn-base
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
 

	
 
--- configure
 
+++ configure
 
@@ -54,6 +54,19 @@
 
 infodir='${prefix}/info'
 
 mandir='${prefix}/man'
 
 
 
+# NLS nuisances.
 
+for as_var in \
 
+  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
+  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
+  LC_TELEPHONE LC_TIME
 
+do
 
+  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
+    eval $as_var=C; export $as_var
 
+  else
 
+    unset $as_var
 
+  fi
 
+done
 
+
 
 # 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.
 
@@ -1850,6 +1850,19 @@
 
 # Compiler output produced by configure, useful for debugging
 
 # configure, is in ./config.log if it exists.
 
 
 
+# NLS nuisances.
 
+for as_var in \
 
+  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
+  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
+  LC_TELEPHONE LC_TIME
 
+do
 
+  if (set +x; test -z "`(eval \$as_var=C; export \$as_var) 2>&1`"); then
 
+    eval \$as_var=C; export \$as_var
 
+  else
 
+    unset \$as_var
 
+  fi
 
+done
 
+
 
 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
 
 for ac_option
 
 do
dev-java/gcj/files/.svn/text-base/gcj-4.3-tools.jar-path.diff.svn-base
Show inline comments
 
new file 100644
 
--- libjava/classpath/tools/Makefile.am.orig	2007-03-17 18:43:46.000000000 +0100
 
+++ libjava/classpath/tools/Makefile.am	2007-03-17 18:44:19.000000000 +0100
 
@@ -204,13 +204,13 @@
 
 ## END GCJ LOCAL
 
 ## First add classpath tools stuff.
 
 	(cd classes; \
 
-	if test "$(ZIP)" != ""; then $(ZIP) -r ../$(TOOLS_ZIP) .; fi; \
 
-	if test "$(FASTJAR)" != ""; then $(FASTJAR) cf ../$(TOOLS_ZIP) .; fi; \
 
+	if test "$(ZIP)" != ""; then $(ZIP) -r ../$(TOOLS_ZIP) *; fi; \
 
+	if test "$(FASTJAR)" != ""; then $(FASTJAR) cf ../$(TOOLS_ZIP) *; fi; \
 
 	cd ..)
 
 ## Now add ASM classes.
 
 	(cd asm; \
 
-	if test "$(ZIP)" != ""; then $(ZIP) -u -r ../$(TOOLS_ZIP) .; fi; \
 
-	if test "$(FASTJAR)" != ""; then $(FASTJAR) uf ../$(TOOLS_ZIP) .; fi; \
 
+	if test "$(ZIP)" != ""; then $(ZIP) -u -r ../$(TOOLS_ZIP) *; fi; \
 
+	if test "$(FASTJAR)" != ""; then $(FASTJAR) uf ../$(TOOLS_ZIP) *; fi; \
 
 	cd ..)
 
 	rm -rf asm classes classes.lst asm.lst
 
 
 
--- libjava/classpath/tools/Makefile.in.orig	2007-03-17 18:43:55.000000000 +0100
 
+++ libjava/classpath/tools/Makefile.in	2007-03-17 18:44:44.000000000 +0100
 
@@ -1121,12 +1121,12 @@
 
 	cp -pR $(srcdir)/asm .
 
 	cp -pR $(srcdir)/classes .
 
 	(cd classes; \
 
-	if test "$(ZIP)" != ""; then $(ZIP) -r ../$(TOOLS_ZIP) .; fi; \
 
-	if test "$(FASTJAR)" != ""; then $(FASTJAR) cf ../$(TOOLS_ZIP) .; fi; \
 
+	if test "$(ZIP)" != ""; then $(ZIP) -r ../$(TOOLS_ZIP) *; fi; \
 
+	if test "$(FASTJAR)" != ""; then $(FASTJAR) cf ../$(TOOLS_ZIP) *; fi; \
 
 	cd ..)
 
 	(cd asm; \
 
-	if test "$(ZIP)" != ""; then $(ZIP) -u -r ../$(TOOLS_ZIP) .; fi; \
 
-	if test "$(FASTJAR)" != ""; then $(FASTJAR) uf ../$(TOOLS_ZIP) .; fi; \
 
+	if test "$(ZIP)" != ""; then $(ZIP) -u -r ../$(TOOLS_ZIP) *; fi; \
 
+	if test "$(FASTJAR)" != ""; then $(FASTJAR) uf ../$(TOOLS_ZIP) *; fi; \
 
 	cd ..)
 
 	rm -rf asm classes classes.lst asm.lst
 
 
dev-java/gcj/files/.svn/text-base/gcj-config.svn-base
Show inline comments
 
new file 100644
 
#!/bin/sh
 

	
 
if [[ ! -f /etc/env.d/99gcj ]] ; then
 
	echo "Setting correct LDPATH ..."
 
	rm -rf /etc/env.d/99gcj
 
	echo "LDPATH=\"/usr/lib/gcj/lib\"" > /etc/env.d/99gcj
 
	/usr/sbin/env-update || echo "ERROR: env-update failed?!"
 
fi
 

	
 
LIBDIR="lib"
 
INSTPATH="/usr/${LIBDIR}"
 
CONFFILE="/usr/share/gcj-config/conf"
 
if [[ ! -f "${CONFFILE}" ]] ; then
 
	echo "Configuration file missing!"
 
	echo "Generating dummy configuration file."
 
	echo
 
	echo "You have to set your prefered GCJ now!"
 
	echo
 
	echo "Run:"
 
	echo "# gcj-config -l"
 
	echo "# gcj-config gcj-<VERSION>"
 

	
 
	mkdir -p $(dirname ${CONFFILE})
 
	echo "current=\"${INSTPATH}/gcj-4.1.0/bin\"" > ${CONFFILE}
 

	
 
	exit 1
 
fi
 

	
 
GCJ="$(sed -n -r -e "s:^current=.*/(gcj-.*)/.*:\1:p" ${CONFFILE})"
 
if [[ ${#} -eq 0 ]] ; then
 
	echo "Version set: ${GCJ}"
 
	echo
 
	echo "	List of GCJ installations:	gcj-config -l"
 
	echo "	Set GCJ version:		gcj-config gcj-VERSION"
 
else
 
	case ${1} in
 
		--gcj)
 
if [[ ${CBUILD} != ${CHOST} ]]; then
 
	echo "$(sed -n -r -e "s:current=\"(.*)\":\1:p" ${CONFFILE})/${CHOST}-gcj"
 
else
 
	echo "$(sed -n -r -e "s:current=\"(.*)\":\1:p" ${CONFFILE})/gcj"
 
fi
 
;;
 
		--dbtool)
 
echo "$(sed -n -r -e "s:current=\"(.*)\":\1:p" ${CONFFILE})/gcj-dbtool"
 
;;
 
		--gij)
 
echo "$(sed -n -r -e "s:current=\"(.*)\":\1:p" ${CONFFILE})/gij"
 
;;
 
		--gjar)
 
echo "$(sed -n -r -e "s:current=\"(.*)\":\1:p" ${CONFFILE})/gjar"
 
;;
 
		-l)
 
for v in $(ls -1 ${INSTPATH} | grep gcj-); do
 
	[[ ${v} == ${GCJ} ]] && v="${v} *"
 
	echo "${v}"
 
done
 
;;
 
		--version)
 
echo "$(sed -n -r -e "s:current=\".*gcj-(.*)/.*\":\1:p" ${CONFFILE})"
 
;;
 
		gcj-*)
 
if [[ ${1} == ${GCJ} ]] ; then
 
	echo "Already set!"
 
else
 
	found="no"
 
	for v in $(ls -1 ${INSTPATH} | grep gcj-); do
 
		[[ ${v} == ${1} ]] && found="yes"
 
	done
 

	
 
	if [[ ${found} == "no" ]] ; then
 
		echo "${1} not found!"
 
	else
 
		sed -e "s:${GCJ}:${1}:g" -i ${CONFFILE}
 
		rm -f /usr/lib/gcj
 
		ln -s ${INSTPATH}/${1} /usr/lib/gcj
 
	fi
 
fi
 
;;
 
		*)
 
echo "Something wrong you do!"
 
exit 1
 
;;
 
	esac
 
fi
 

	
 
exit 0
dev-java/gcj/files/.svn/text-base/gentoo-multilib-fixincludes.diff.svn-base
Show inline comments
 
new file 100644
 
--- fixincludes/fixincl.x	2007-07-26 00:51:47.000000000 +0100
 
+++ fixincludes/fixincl.x	2007-08-08 00:39:26.000000000 +0100
 
@@ -6349,7 +6349,7 @@
 
  *  content bypass pattern - skip fix if pattern found
 
  */
 
 tSCC zStdio_Stdarg_HBypass0[] =
 
-       "include.*(stdarg.h|machine/ansi.h)";
 
+       "include.*(stdarg.h|machine/ansi.h)|gentoo-multilib";
 
 
 
 #define    STDIO_STDARG_H_TEST_CT  1
 
 static tTestDesc aStdio_Stdarg_HTests[] = {
 
--- fixincludes/inclhack.def	2007-07-26 00:51:47.000000000 +0100
 
+++ fixincludes/inclhack.def	2007-08-08 00:18:06.129542000 +0100
 
@@ -3457,12 +3457,12 @@
 
 /*
 
  *  Arrange for stdio.h to use stdarg.h to define __gnuc_va_list.
 
  *  On 4BSD-derived systems, stdio.h defers to machine/ansi.h; that's
 
- *  OK too.
 
+ *  OK too.  Gentoo multilib uses a wrapper for stdio.h; skip it.
 
  */
 
 fix = {
 
     hackname = stdio_stdarg_h;
 
     files    = stdio.h;
 
-    bypass   = "include.*(stdarg\.h|machine/ansi\.h)";
 
+    bypass   = "include.*(stdarg\.h|machine/ansi\.h)|gentoo-multilib";
 
     /*
 
      * On Solaris 10, this fix is unncessary; <stdio.h> includes
 
      * <iso/stdio_iso.h>, which includes <sys/va_list.h>.
dev-java/gcj/files/.svn/text-base/gjar.diff.svn-base
Show inline comments
 
new file 100644
 
--- libjava/Makefile.am.orig	2006-09-04 17:22:31.000000000 +0200
 
+++ libjava/Makefile.am	2006-09-04 17:24:34.000000000 +0200
 
@@ -68,7 +68,7 @@
 
 ## For now, only on native systems.  FIXME.
 
 if NATIVE
 
 bin_PROGRAMS = jv-convert gij grmic grmiregistry gcj-dbtool \
 
-	gappletviewer gjarsigner gkeytool
 
+	gappletviewer gjarsigner gkeytool gjar
 
 
 
 ## It is convenient to actually build and install the default database
 
 ## when gcj-dbtool is available.
 
@@ -785,6 +785,17 @@
 
 gjarsigner_DEPENDENCIES = libgcj-tools.la
 
 
 
 ## This is a dummy definition.
 
+gjar_SOURCES =
 
+gjar_LDFLAGS = --main=gnu.classpath.tools.jar.Main \
 
+	-rpath $(toolexeclibdir) -shared-libgcc $(THREADLDFLAGS)
 
+gjar_LINK = $(GCJLINK)
 
+## See jv_convert_LDADD.
 
+gjar_LDADD = -L$(here)/.libs libgcj-tools.la
 
+## Depend on the spec file to make sure it is up to date before
 
+## linking this program.
 
+gjar_DEPENDENCIES = libgcj-tools.la
 
+
 
+## This is a dummy definition.
 
 gkeytool_SOURCES =
 
 gkeytool_LDFLAGS = --main=gnu.classpath.tools.keytool.Main \
 
 	-rpath $(toolexeclibdir) -shared-libgcc $(THREADLDFLAGS)
 
--- libjava/Makefile.in.orig	2006-09-04 17:32:46.000000000 +0200
 
+++ libjava/Makefile.in	2006-09-04 17:35:34.000000000 +0200
 
@@ -46,7 +46,8 @@
 
 @NATIVE_TRUE@bin_PROGRAMS = jv-convert$(EXEEXT) gij$(EXEEXT) \
 
 @NATIVE_TRUE@	grmic$(EXEEXT) grmiregistry$(EXEEXT) \
 
 @NATIVE_TRUE@	gcj-dbtool$(EXEEXT) gappletviewer$(EXEEXT) \
 
-@NATIVE_TRUE@	gjarsigner$(EXEEXT) gkeytool$(EXEEXT)
 
+@NATIVE_TRUE@	gjarsigner$(EXEEXT) gkeytool$(EXEEXT) \
 
+@NATIVE_TRUE@	gjar$(EXEEXT)
 
 @BASH_JAR_TRUE@am__append_4 = scripts/jar
 
 @USING_GCC_TRUE@am__append_5 = $(WARNINGS)
 
 @USING_BOEHMGC_TRUE@am__append_6 = boehm.cc
 
@@ -391,6 +392,8 @@
 
 gen_from_JIS_LDADD = $(LDADD)
 
 am_gij_OBJECTS =
 
 gij_OBJECTS = $(am_gij_OBJECTS)
 
+am_gjar_OBJECTS =
 
+gjar_OBJECTS = $(am_gjar_OBJECTS)
 
 am_gjarsigner_OBJECTS =
 
 gjarsigner_OBJECTS = $(am_gjarsigner_OBJECTS)
 
 am_gkeytool_OBJECTS =
 
@@ -430,16 +433,17 @@
 
 	$(libgcj_la_SOURCES) $(libgcj_bc_la_SOURCES) \
 
 	$(libgij_la_SOURCES) $(libjvm_la_SOURCES) \
 
 	$(gappletviewer_SOURCES) $(gcj_dbtool_SOURCES) \
 
-	$(gen_from_JIS_SOURCES) $(gij_SOURCES) $(gjarsigner_SOURCES) \
 
-	$(gkeytool_SOURCES) $(grmic_SOURCES) $(grmiregistry_SOURCES) \
 
-	$(jv_convert_SOURCES)
 
+	$(gen_from_JIS_SOURCES) $(gij_SOURCES) $(gjar_SOURCES) \
 
+	$(gjarsigner_SOURCES) $(gkeytool_SOURCES) $(grmic_SOURCES) \
 
+	$(grmiregistry_SOURCES) $(jv_convert_SOURCES)
 
 DIST_SOURCES = $(lib_gnu_awt_xlib_la_SOURCES) \
 
 	$(libgcj_tools_la_SOURCES) $(am__libgcj_la_SOURCES_DIST) \
 
 	$(libgcj_bc_la_SOURCES) $(libgij_la_SOURCES) \
 
 	$(libjvm_la_SOURCES) $(gappletviewer_SOURCES) \
 
 	$(gcj_dbtool_SOURCES) $(am__gen_from_JIS_SOURCES_DIST) \
 
-	$(gij_SOURCES) $(gjarsigner_SOURCES) $(gkeytool_SOURCES) \
 
-	$(grmic_SOURCES) $(grmiregistry_SOURCES) $(jv_convert_SOURCES)
 
+	$(gij_SOURCES) $(gjar_SOURCES) $(gjarsigner_SOURCES) \
 
+	$(gkeytool_SOURCES) $(grmic_SOURCES) $(grmiregistry_SOURCES) \
 
+	$(jv_convert_SOURCES)
 
 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
 
 	html-recursive info-recursive install-data-recursive \
 
 	install-exec-recursive install-info-recursive \
 
@@ -7359,6 +7363,13 @@
 
 gjarsigner_LINK = $(GCJLINK)
 
 gjarsigner_LDADD = -L$(here)/.libs libgcj-tools.la
 
 gjarsigner_DEPENDENCIES = libgcj-tools.la
 
+gjar_SOURCES = 
 
+gjar_LDFLAGS = --main=gnu.classpath.tools.jar.Main \
 
+	-rpath $(toolexeclibdir) -shared-libgcc $(THREADLDFLAGS)
 
+
 
+gjar_LINK = $(GCJLINK)
 
+gjar_LDADD = -L$(here)/.libs libgcj-tools.la
 
+gjar_DEPENDENCIES = libgcj-tools.la
 
 gkeytool_SOURCES = 
 
 gkeytool_LDFLAGS = --main=gnu.classpath.tools.keytool.Main \
 
 	-rpath $(toolexeclibdir) -shared-libgcc $(THREADLDFLAGS)
 
@@ -8048,6 +8059,9 @@
 
 gij$(EXEEXT): $(gij_OBJECTS) $(gij_DEPENDENCIES) 
 
 	@rm -f gij$(EXEEXT)
 
 	$(gij_LINK) $(gij_LDFLAGS) $(gij_OBJECTS) $(gij_LDADD) $(LIBS)
 
+gjar$(EXEEXT): $(gjar_OBJECTS) $(gjar_DEPENDENCIES) 
 
+	@rm -f gjar$(EXEEXT)
 
+	$(gjar_LINK) $(gjar_LDFLAGS) $(gjar_OBJECTS) $(gjar_LDADD) $(LIBS)
 
 gjarsigner$(EXEEXT): $(gjarsigner_OBJECTS) $(gjarsigner_DEPENDENCIES) 
 
 	@rm -f gjarsigner$(EXEEXT)
 
 	$(gjarsigner_LINK) $(gjarsigner_LDFLAGS) $(gjarsigner_OBJECTS) $(gjarsigner_LDADD) $(LIBS)
dev-java/gcj/files/.svn/text-base/rebuild-classmap-db.svn-base
Show inline comments
 
new file 100644
 
#!/bin/sh
 

	
 
# Author:	Hanno Meyer-Thurow
 
# Revision:	4
 
#
 
# Use:		Rebuild your classmap database.
 

	
 
# defaults
 
JAVA_PKG_DB_TOOL="${JAVA_PKG_DB_TOOL:="$(gcj-config --dbtool)"}"
 
JAVA_PKG_CLASSMAP="${JAVA_PKG_CLASSMAP:="/usr/share/java/classmap.gcjdb"}"
 

	
 
# functions
 
die() {
 
	echo "ERROR: ${@}"
 
	exit 1
 
}
 

	
 
show_help() {
 
	echo "To rebuild your database run:"
 
	echo "	'${0} <database file> [ <packages> | <path> ]'"
 
	echo
 
	echo "To print only what would be done run:"
 
	echo "	'${0} printonly [ <packages> | <path> ]'"
 
	echo
 
	echo "To recreate the default database with all packages being checked execute:"
 
	echo "	'${0} ${JAVA_PKG_CLASSMAP}'"
 
	echo
 
	echo "---------------"
 
	echo " database file:		/path/to/classmap.gcjdb"
 
	echo " packages:		comma-separated list of packages from 'java-config -l'"
 
	echo " path:			fetch Jar files recursively from path"
 
}
 

	
 
get_classpath() {
 
	local classpath
 
	if [ -d "${@}" ] ; then
 
		local jar
 
		for jar in $(find ${@} -type f -name '*.jar') ; do
 
			[[ ( -f "${jar}" ) && ( ".jar" == "${jar: -4:4}" ) ]] \
 
				&& classpath="${jar}:${classpath}"
 
		done
 
		classpath=${classpath%:}
 
	else
 
		classpath="$(java-config --classpath=${@} 2>&1)"
 
	fi
 

	
 
	if [[ "${classpath}" =~ "ERROR" ]] ; then
 
		die "A package missing/mispelled?!"
 
	fi
 

	
 
	echo "${classpath}"
 
}
 

	
 
check_jar() {
 
	local ret_val=0
 
	if [ -L "${1}" ] || [ ".jar" != "${1: -4:4}" ] ; then
 
		echo -e "\033[01;31mno jarfile:\033[0m ${1}"
 
		ret_val=1
 
	elif [ ! -f "${2}" ] ; then
 
		echo -e "\033[01;31mnot found:\033[0m ${2}"
 
		ret_val=1
 
	fi
 
	return ${ret_val}
 
}
 

	
 
add_lib() {
 
	echo "register: ${2}"
 
	if [ "${DB_FILE}" != "printonly" ] ; then
 
		${JAVA_PKG_DB_TOOL} -a ${DB_FILE} ${1} ${2} \
 
			|| die "failed to register jar file"
 
	fi
 
}
 

	
 
reg_pkgs() {
 
	local pkg pkgs
 
	for pkg in $(java-config -l | cut -d] -f1 | cut -c2-) ; do
 
		pkgs="${pkg},${pkgs}"
 
	done
 
	pkgs="${pkgs//vm,active,the,by,Provided,}"
 
	reg_classpath "${pkgs%,}"
 
}
 

	
 
reg_classpath() {
 
	echo "check classpath ..."
 
	local classpath="$(get_classpath "${1}")"
 

	
 
	echo "${classpath}"
 
	echo
 

	
 
	local jar to
 
	for jar in ${classpath//:/ } ; do
 
		to="$(dirname ${jar})/lib$(basename ${jar}).so"
 
		check_jar "${jar}" "${to}" && add_lib "${jar}" "${to}"
 
	done
 
}
 

	
 
# errors
 
if [[ ( ${#} -lt 1 ) || ( ${#} -ge 3 ) ]] ; then
 
	show_help
 
	exit 1
 
fi
 

	
 
if [ ! -x "$(which ${JAVA_PKG_DB_TOOL})" ] ; then
 
	die "Java database tool unusable!"
 
fi
 

	
 
DB_FILE="${1}"
 

	
 
if [ "${DB_FILE}" != "printonly" ] ; then
 
	if [ ! -d "$(dirname ${DB_FILE})" ] ; then
 
		die "Path to database file missing?!"
 
	fi
 

	
 
	if [ ".gcjdb" != "${DB_FILE: -6:6}" ] ; then
 
		die "Given file has unknown format?!"
 
	fi
 
fi
 

	
 
# start
 
echo "(re-)create classmap database (${DB_FILE})"
 
echo
 
if [ "${DB_FILE}" != "printonly" ] ; then
 
	rm -f ${DB_FILE}
 
	${JAVA_PKG_DB_TOOL} -n ${DB_FILE}
 
fi
 

	
 
if [ -n "${2}" ] ; then
 
	reg_classpath "${2}"
 
else
 
	reg_pkgs
 
fi
 

	
 
echo "... done!"
 
exit 0
dev-java/gcj/files/classpath_javax.swing.text.PlainView_divide_zero.patch
Show inline comments
 
new file 100644
 
--- libjava/classpath/javax/swing/text/PlainView.java~	2007-01-09 14:58:05.000000000 -0500
 
+++ libjava/classpath/javax/swing/text/PlainView.java	2008-05-03 10:22:48.000000000 -0400
 
@@ -295,9 +295,9 @@
 
     Rectangle clip = g.getClipBounds();
 
     SwingUtilities.computeIntersection(rect.x, rect.y, rect.width, rect.height,
 
                                        clip);
 
-    int line0 = (clip.y - rect.y) / height;
 
+    int line0 = height == 0 ? 0 : (clip.y - rect.y) / height;
 
     line0 = Math.max(0, Math.min(line0, count - 1));
 
-    int line1 = (clip.y + clip.height - rect.y) / height;
 
+    int line1 = height == 0 ? 0 : (clip.y + clip.height - rect.y) / height;
 
     line1 = Math.max(0, Math.min(line1, count - 1));
 
     int y = rect.y + metrics.getAscent() + height * line0;
 
     for (int i = line0; i <= line1; i++)
 
@@ -452,7 +452,8 @@
 
         // Inside the allocation vertically. Determine line and X offset.
 
         Document doc = getDocument();
 
         Element root = doc.getDefaultRootElement();
 
-        int line = Math.abs(((int) y - rec.y) / metrics.getHeight());
 
+	int met_height = metrics.getHeight();
 
+        int line = met_height == 0 ? 0 : Math.abs(((int) y - rec.y) / met_height);
 
         if (line >= root.getElementCount())
 
           pos = getEndOffset() - 1;
 
         else
dev-java/gcj/files/gcc-configure-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
 

	
 
--- configure
 
+++ configure
 
@@ -54,6 +54,19 @@
 
 infodir='${prefix}/info'
 
 mandir='${prefix}/man'
 
 
 
+# NLS nuisances.
 
+for as_var in \
 
+  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
+  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
+  LC_TELEPHONE LC_TIME
 
+do
 
+  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
+    eval $as_var=C; export $as_var
 
+  else
 
+    unset $as_var
 
+  fi
 
+done
 
+
 
 # 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.
 
@@ -1850,6 +1850,19 @@
 
 # Compiler output produced by configure, useful for debugging
 
 # configure, is in ./config.log if it exists.
 
 
 
+# NLS nuisances.
 
+for as_var in \
 
+  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
+  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
+  LC_TELEPHONE LC_TIME
 
+do
 
+  if (set +x; test -z "`(eval \$as_var=C; export \$as_var) 2>&1`"); then
 
+    eval \$as_var=C; export \$as_var
 
+  else
 
+    unset \$as_var
 
+  fi
 
+done
 
+
 
 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
 
 for ac_option
 
 do
dev-java/gcj/files/gcj-4.3-tools.jar-path.diff
Show inline comments
 
new file 100644
 
--- libjava/classpath/tools/Makefile.am.orig	2007-03-17 18:43:46.000000000 +0100
 
+++ libjava/classpath/tools/Makefile.am	2007-03-17 18:44:19.000000000 +0100
 
@@ -204,13 +204,13 @@
 
 ## END GCJ LOCAL
 
 ## First add classpath tools stuff.
 
 	(cd classes; \
 
-	if test "$(ZIP)" != ""; then $(ZIP) -r ../$(TOOLS_ZIP) .; fi; \
 
-	if test "$(FASTJAR)" != ""; then $(FASTJAR) cf ../$(TOOLS_ZIP) .; fi; \
 
+	if test "$(ZIP)" != ""; then $(ZIP) -r ../$(TOOLS_ZIP) *; fi; \
 
+	if test "$(FASTJAR)" != ""; then $(FASTJAR) cf ../$(TOOLS_ZIP) *; fi; \
 
 	cd ..)
 
 ## Now add ASM classes.
 
 	(cd asm; \
 
-	if test "$(ZIP)" != ""; then $(ZIP) -u -r ../$(TOOLS_ZIP) .; fi; \
 
-	if test "$(FASTJAR)" != ""; then $(FASTJAR) uf ../$(TOOLS_ZIP) .; fi; \
 
+	if test "$(ZIP)" != ""; then $(ZIP) -u -r ../$(TOOLS_ZIP) *; fi; \
 
+	if test "$(FASTJAR)" != ""; then $(FASTJAR) uf ../$(TOOLS_ZIP) *; fi; \
 
 	cd ..)
 
 	rm -rf asm classes classes.lst asm.lst
 
 
 
--- libjava/classpath/tools/Makefile.in.orig	2007-03-17 18:43:55.000000000 +0100
 
+++ libjava/classpath/tools/Makefile.in	2007-03-17 18:44:44.000000000 +0100
 
@@ -1121,12 +1121,12 @@
 
 	cp -pR $(srcdir)/asm .
 
 	cp -pR $(srcdir)/classes .
 
 	(cd classes; \
 
-	if test "$(ZIP)" != ""; then $(ZIP) -r ../$(TOOLS_ZIP) .; fi; \
 
-	if test "$(FASTJAR)" != ""; then $(FASTJAR) cf ../$(TOOLS_ZIP) .; fi; \
 
+	if test "$(ZIP)" != ""; then $(ZIP) -r ../$(TOOLS_ZIP) *; fi; \
 
+	if test "$(FASTJAR)" != ""; then $(FASTJAR) cf ../$(TOOLS_ZIP) *; fi; \
 
 	cd ..)
 
 	(cd asm; \
 
-	if test "$(ZIP)" != ""; then $(ZIP) -u -r ../$(TOOLS_ZIP) .; fi; \
 
-	if test "$(FASTJAR)" != ""; then $(FASTJAR) uf ../$(TOOLS_ZIP) .; fi; \
 
+	if test "$(ZIP)" != ""; then $(ZIP) -u -r ../$(TOOLS_ZIP) *; fi; \
 
+	if test "$(FASTJAR)" != ""; then $(FASTJAR) uf ../$(TOOLS_ZIP) *; fi; \
 
 	cd ..)
 
 	rm -rf asm classes classes.lst asm.lst
 
 
dev-java/gcj/files/gcj-config
Show inline comments
 
new file 100755
 
#!/bin/sh
 

	
 
if [[ ! -f /etc/env.d/99gcj ]] ; then
 
	echo "Setting correct LDPATH ..."
 
	rm -rf /etc/env.d/99gcj
 
	echo "LDPATH=\"/usr/lib/gcj/lib\"" > /etc/env.d/99gcj
 
	/usr/sbin/env-update || echo "ERROR: env-update failed?!"
 
fi
 

	
 
LIBDIR="lib"
 
INSTPATH="/usr/${LIBDIR}"
 
CONFFILE="/usr/share/gcj-config/conf"
 
if [[ ! -f "${CONFFILE}" ]] ; then
 
	echo "Configuration file missing!"
 
	echo "Generating dummy configuration file."
 
	echo
 
	echo "You have to set your prefered GCJ now!"
 
	echo
 
	echo "Run:"
 
	echo "# gcj-config -l"
 
	echo "# gcj-config gcj-<VERSION>"
 

	
 
	mkdir -p $(dirname ${CONFFILE})
 
	echo "current=\"${INSTPATH}/gcj-4.1.0/bin\"" > ${CONFFILE}
 

	
 
	exit 1
 
fi
 

	
 
GCJ="$(sed -n -r -e "s:^current=.*/(gcj-.*)/.*:\1:p" ${CONFFILE})"
 
if [[ ${#} -eq 0 ]] ; then
 
	echo "Version set: ${GCJ}"
 
	echo
 
	echo "	List of GCJ installations:	gcj-config -l"
 
	echo "	Set GCJ version:		gcj-config gcj-VERSION"
 
else
 
	case ${1} in
 
		--gcj)
 
if [[ ${CBUILD} != ${CHOST} ]]; then
 
	echo "$(sed -n -r -e "s:current=\"(.*)\":\1:p" ${CONFFILE})/${CHOST}-gcj"
 
else
 
	echo "$(sed -n -r -e "s:current=\"(.*)\":\1:p" ${CONFFILE})/gcj"
 
fi
 
;;
 
		--dbtool)
 
echo "$(sed -n -r -e "s:current=\"(.*)\":\1:p" ${CONFFILE})/gcj-dbtool"
 
;;
 
		--gij)
 
echo "$(sed -n -r -e "s:current=\"(.*)\":\1:p" ${CONFFILE})/gij"
 
;;
 
		--gjar)
 
echo "$(sed -n -r -e "s:current=\"(.*)\":\1:p" ${CONFFILE})/gjar"
 
;;
 
		-l)
 
for v in $(ls -1 ${INSTPATH} | grep gcj-); do
 
	[[ ${v} == ${GCJ} ]] && v="${v} *"
 
	echo "${v}"
 
done
 
;;
 
		--version)
 
echo "$(sed -n -r -e "s:current=\".*gcj-(.*)/.*\":\1:p" ${CONFFILE})"
 
;;
 
		gcj-*)
 
if [[ ${1} == ${GCJ} ]] ; then
 
	echo "Already set!"
 
else
 
	found="no"
 
	for v in $(ls -1 ${INSTPATH} | grep gcj-); do
 
		[[ ${v} == ${1} ]] && found="yes"
 
	done
 

	
 
	if [[ ${found} == "no" ]] ; then
 
		echo "${1} not found!"
 
	else
 
		sed -e "s:${GCJ}:${1}:g" -i ${CONFFILE}
 
		rm -f /usr/lib/gcj
 
		ln -s ${INSTPATH}/${1} /usr/lib/gcj
 
	fi
 
fi
 
;;
 
		*)
 
echo "Something wrong you do!"
 
exit 1
 
;;
 
	esac
 
fi
 

	
 
exit 0
dev-java/gcj/files/gentoo-multilib-fixincludes.diff
Show inline comments
 
new file 100644
 
--- fixincludes/fixincl.x	2007-07-26 00:51:47.000000000 +0100
 
+++ fixincludes/fixincl.x	2007-08-08 00:39:26.000000000 +0100
 
@@ -6349,7 +6349,7 @@
 
  *  content bypass pattern - skip fix if pattern found
 
  */
 
 tSCC zStdio_Stdarg_HBypass0[] =
 
-       "include.*(stdarg.h|machine/ansi.h)";
 
+       "include.*(stdarg.h|machine/ansi.h)|gentoo-multilib";
 
 
 
 #define    STDIO_STDARG_H_TEST_CT  1
 
 static tTestDesc aStdio_Stdarg_HTests[] = {
 
--- fixincludes/inclhack.def	2007-07-26 00:51:47.000000000 +0100
 
+++ fixincludes/inclhack.def	2007-08-08 00:18:06.129542000 +0100
 
@@ -3457,12 +3457,12 @@
 
 /*
 
  *  Arrange for stdio.h to use stdarg.h to define __gnuc_va_list.
 
  *  On 4BSD-derived systems, stdio.h defers to machine/ansi.h; that's
 
- *  OK too.
 
+ *  OK too.  Gentoo multilib uses a wrapper for stdio.h; skip it.
 
  */
 
 fix = {
 
     hackname = stdio_stdarg_h;
 
     files    = stdio.h;
 
-    bypass   = "include.*(stdarg\.h|machine/ansi\.h)";
 
+    bypass   = "include.*(stdarg\.h|machine/ansi\.h)|gentoo-multilib";
 
     /*
 
      * On Solaris 10, this fix is unncessary; <stdio.h> includes
 
      * <iso/stdio_iso.h>, which includes <sys/va_list.h>.
dev-java/gcj/files/gjar.diff
Show inline comments
 
new file 100644
 
--- libjava/Makefile.am.orig	2006-09-04 17:22:31.000000000 +0200
 
+++ libjava/Makefile.am	2006-09-04 17:24:34.000000000 +0200
 
@@ -68,7 +68,7 @@
 
 ## For now, only on native systems.  FIXME.
 
 if NATIVE
 
 bin_PROGRAMS = jv-convert gij grmic grmiregistry gcj-dbtool \
 
-	gappletviewer gjarsigner gkeytool
 
+	gappletviewer gjarsigner gkeytool gjar
 
 
 
 ## It is convenient to actually build and install the default database
 
 ## when gcj-dbtool is available.
 
@@ -785,6 +785,17 @@
 
 gjarsigner_DEPENDENCIES = libgcj-tools.la
 
 
 
 ## This is a dummy definition.
 
+gjar_SOURCES =
 
+gjar_LDFLAGS = --main=gnu.classpath.tools.jar.Main \
 
+	-rpath $(toolexeclibdir) -shared-libgcc $(THREADLDFLAGS)
 
+gjar_LINK = $(GCJLINK)
 
+## See jv_convert_LDADD.
 
+gjar_LDADD = -L$(here)/.libs libgcj-tools.la
 
+## Depend on the spec file to make sure it is up to date before
 
+## linking this program.
 
+gjar_DEPENDENCIES = libgcj-tools.la
 
+
 
+## This is a dummy definition.
 
 gkeytool_SOURCES =
 
 gkeytool_LDFLAGS = --main=gnu.classpath.tools.keytool.Main \
 
 	-rpath $(toolexeclibdir) -shared-libgcc $(THREADLDFLAGS)
 
--- libjava/Makefile.in.orig	2006-09-04 17:32:46.000000000 +0200
 
+++ libjava/Makefile.in	2006-09-04 17:35:34.000000000 +0200
 
@@ -46,7 +46,8 @@
 
 @NATIVE_TRUE@bin_PROGRAMS = jv-convert$(EXEEXT) gij$(EXEEXT) \
 
 @NATIVE_TRUE@	grmic$(EXEEXT) grmiregistry$(EXEEXT) \
 
 @NATIVE_TRUE@	gcj-dbtool$(EXEEXT) gappletviewer$(EXEEXT) \
 
-@NATIVE_TRUE@	gjarsigner$(EXEEXT) gkeytool$(EXEEXT)
 
+@NATIVE_TRUE@	gjarsigner$(EXEEXT) gkeytool$(EXEEXT) \
 
+@NATIVE_TRUE@	gjar$(EXEEXT)
 
 @BASH_JAR_TRUE@am__append_4 = scripts/jar
 
 @USING_GCC_TRUE@am__append_5 = $(WARNINGS)
 
 @USING_BOEHMGC_TRUE@am__append_6 = boehm.cc
 
@@ -391,6 +392,8 @@
 
 gen_from_JIS_LDADD = $(LDADD)
 
 am_gij_OBJECTS =
 
 gij_OBJECTS = $(am_gij_OBJECTS)
 
+am_gjar_OBJECTS =
 
+gjar_OBJECTS = $(am_gjar_OBJECTS)
 
 am_gjarsigner_OBJECTS =
 
 gjarsigner_OBJECTS = $(am_gjarsigner_OBJECTS)
 
 am_gkeytool_OBJECTS =
 
@@ -430,16 +433,17 @@
 
 	$(libgcj_la_SOURCES) $(libgcj_bc_la_SOURCES) \
 
 	$(libgij_la_SOURCES) $(libjvm_la_SOURCES) \
 
 	$(gappletviewer_SOURCES) $(gcj_dbtool_SOURCES) \
 
-	$(gen_from_JIS_SOURCES) $(gij_SOURCES) $(gjarsigner_SOURCES) \
 
-	$(gkeytool_SOURCES) $(grmic_SOURCES) $(grmiregistry_SOURCES) \
 
-	$(jv_convert_SOURCES)
 
+	$(gen_from_JIS_SOURCES) $(gij_SOURCES) $(gjar_SOURCES) \
 
+	$(gjarsigner_SOURCES) $(gkeytool_SOURCES) $(grmic_SOURCES) \
 
+	$(grmiregistry_SOURCES) $(jv_convert_SOURCES)
 
 DIST_SOURCES = $(lib_gnu_awt_xlib_la_SOURCES) \
 
 	$(libgcj_tools_la_SOURCES) $(am__libgcj_la_SOURCES_DIST) \
 
 	$(libgcj_bc_la_SOURCES) $(libgij_la_SOURCES) \
 
 	$(libjvm_la_SOURCES) $(gappletviewer_SOURCES) \
 
 	$(gcj_dbtool_SOURCES) $(am__gen_from_JIS_SOURCES_DIST) \
 
-	$(gij_SOURCES) $(gjarsigner_SOURCES) $(gkeytool_SOURCES) \
 
-	$(grmic_SOURCES) $(grmiregistry_SOURCES) $(jv_convert_SOURCES)
 
+	$(gij_SOURCES) $(gjar_SOURCES) $(gjarsigner_SOURCES) \
 
+	$(gkeytool_SOURCES) $(grmic_SOURCES) $(grmiregistry_SOURCES) \
 
+	$(jv_convert_SOURCES)
 
 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
 
 	html-recursive info-recursive install-data-recursive \
 
 	install-exec-recursive install-info-recursive \
 
@@ -7359,6 +7363,13 @@
 
 gjarsigner_LINK = $(GCJLINK)
 
 gjarsigner_LDADD = -L$(here)/.libs libgcj-tools.la
 
 gjarsigner_DEPENDENCIES = libgcj-tools.la
 
+gjar_SOURCES = 
 
+gjar_LDFLAGS = --main=gnu.classpath.tools.jar.Main \
 
+	-rpath $(toolexeclibdir) -shared-libgcc $(THREADLDFLAGS)
 
+
 
+gjar_LINK = $(GCJLINK)
 
+gjar_LDADD = -L$(here)/.libs libgcj-tools.la
 
+gjar_DEPENDENCIES = libgcj-tools.la
 
 gkeytool_SOURCES = 
 
 gkeytool_LDFLAGS = --main=gnu.classpath.tools.keytool.Main \
 
 	-rpath $(toolexeclibdir) -shared-libgcc $(THREADLDFLAGS)
 
@@ -8048,6 +8059,9 @@
 
 gij$(EXEEXT): $(gij_OBJECTS) $(gij_DEPENDENCIES) 
 
 	@rm -f gij$(EXEEXT)
 
 	$(gij_LINK) $(gij_LDFLAGS) $(gij_OBJECTS) $(gij_LDADD) $(LIBS)
 
+gjar$(EXEEXT): $(gjar_OBJECTS) $(gjar_DEPENDENCIES) 
 
+	@rm -f gjar$(EXEEXT)
 
+	$(gjar_LINK) $(gjar_LDFLAGS) $(gjar_OBJECTS) $(gjar_LDADD) $(LIBS)
 
 gjarsigner$(EXEEXT): $(gjarsigner_OBJECTS) $(gjarsigner_DEPENDENCIES) 
 
 	@rm -f gjarsigner$(EXEEXT)
 
 	$(gjarsigner_LINK) $(gjarsigner_LDFLAGS) $(gjarsigner_OBJECTS) $(gjarsigner_LDADD) $(LIBS)
dev-java/gcj/files/rebuild-classmap-db
Show inline comments
 
new file 100755
 
#!/bin/sh
 

	
 
# Author:	Hanno Meyer-Thurow
 
# Revision:	4
 
#
 
# Use:		Rebuild your classmap database.
 

	
 
# defaults
 
JAVA_PKG_DB_TOOL="${JAVA_PKG_DB_TOOL:="$(gcj-config --dbtool)"}"
 
JAVA_PKG_CLASSMAP="${JAVA_PKG_CLASSMAP:="/usr/share/java/classmap.gcjdb"}"
 

	
 
# functions
 
die() {
 
	echo "ERROR: ${@}"
 
	exit 1
 
}
 

	
 
show_help() {
 
	echo "To rebuild your database run:"
 
	echo "	'${0} <database file> [ <packages> | <path> ]'"
 
	echo
 
	echo "To print only what would be done run:"
 
	echo "	'${0} printonly [ <packages> | <path> ]'"
 
	echo
 
	echo "To recreate the default database with all packages being checked execute:"
 
	echo "	'${0} ${JAVA_PKG_CLASSMAP}'"
 
	echo
 
	echo "---------------"
 
	echo " database file:		/path/to/classmap.gcjdb"
 
	echo " packages:		comma-separated list of packages from 'java-config -l'"
 
	echo " path:			fetch Jar files recursively from path"
 
}
 

	
 
get_classpath() {
 
	local classpath
 
	if [ -d "${@}" ] ; then
 
		local jar
 
		for jar in $(find ${@} -type f -name '*.jar') ; do
 
			[[ ( -f "${jar}" ) && ( ".jar" == "${jar: -4:4}" ) ]] \
 
				&& classpath="${jar}:${classpath}"
 
		done
 
		classpath=${classpath%:}
 
	else
 
		classpath="$(java-config --classpath=${@} 2>&1)"
 
	fi
 

	
 
	if [[ "${classpath}" =~ "ERROR" ]] ; then
 
		die "A package missing/mispelled?!"
 
	fi
 

	
 
	echo "${classpath}"
 
}
 

	
 
check_jar() {
 
	local ret_val=0
 
	if [ -L "${1}" ] || [ ".jar" != "${1: -4:4}" ] ; then
 
		echo -e "\033[01;31mno jarfile:\033[0m ${1}"
 
		ret_val=1
 
	elif [ ! -f "${2}" ] ; then
 
		echo -e "\033[01;31mnot found:\033[0m ${2}"
 
		ret_val=1
 
	fi
 
	return ${ret_val}
 
}
 

	
 
add_lib() {
 
	echo "register: ${2}"
 
	if [ "${DB_FILE}" != "printonly" ] ; then
 
		${JAVA_PKG_DB_TOOL} -a ${DB_FILE} ${1} ${2} \
 
			|| die "failed to register jar file"
 
	fi
 
}
 

	
 
reg_pkgs() {
 
	local pkg pkgs
 
	for pkg in $(java-config -l | cut -d] -f1 | cut -c2-) ; do
 
		pkgs="${pkg},${pkgs}"
 
	done
 
	pkgs="${pkgs//vm,active,the,by,Provided,}"
 
	reg_classpath "${pkgs%,}"
 
}
 

	
 
reg_classpath() {
 
	echo "check classpath ..."
 
	local classpath="$(get_classpath "${1}")"
 

	
 
	echo "${classpath}"
 
	echo
 

	
 
	local jar to
 
	for jar in ${classpath//:/ } ; do
 
		to="$(dirname ${jar})/lib$(basename ${jar}).so"
 
		check_jar "${jar}" "${to}" && add_lib "${jar}" "${to}"
 
	done
 
}
 

	
 
# errors
 
if [[ ( ${#} -lt 1 ) || ( ${#} -ge 3 ) ]] ; then
 
	show_help
 
	exit 1
 
fi
 

	
 
if [ ! -x "$(which ${JAVA_PKG_DB_TOOL})" ] ; then
 
	die "Java database tool unusable!"
 
fi
 

	
 
DB_FILE="${1}"
 

	
 
if [ "${DB_FILE}" != "printonly" ] ; then
 
	if [ ! -d "$(dirname ${DB_FILE})" ] ; then
 
		die "Path to database file missing?!"
 
	fi
 

	
 
	if [ ".gcjdb" != "${DB_FILE: -6:6}" ] ; then
 
		die "Given file has unknown format?!"
 
	fi
 
fi
 

	
 
# start
 
echo "(re-)create classmap database (${DB_FILE})"
 
echo
 
if [ "${DB_FILE}" != "printonly" ] ; then
 
	rm -f ${DB_FILE}
 
	${JAVA_PKG_DB_TOOL} -n ${DB_FILE}
 
fi
 

	
 
if [ -n "${2}" ] ; then
 
	reg_classpath "${2}"
 
else
 
	reg_pkgs
 
fi
 

	
 
echo "... done!"
 
exit 0
dev-java/gcj/gcj-4.3.0_alpha20080313-r1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2006 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# Header: $
 

	
 
ECJ_VER="3.4"
 

	
 
inherit gcc-java-2 eutils
 

	
 
DESCRIPTION="The GNU Compiler for the Java(tm) Programming Language"
 
HOMEPAGE="http://gcc.gnu.org/java/"
 

	
 
LICENSE="GPL-2 LGPL-2.1"
 
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 
SLOT="4.3"
 

	
 
RDEPEND="virtual/libc
 
	virtual/libiconv
 
	=dev-java/eclipse-ecj-${ECJ_VER}*
 
	>=sys-libs/zlib-1.1.4
 
	>=dev-libs/gmp-4.2.1
 
	>=dev-libs/mpfr-2.2.0_p10
 
	!nogtk? ( >=x11-libs/gtk+-2.8
 
		>=x11-libs/cairo-1.0.2
 
		x11-libs/pango
 
		x11-libs/libXt
 
		x11-libs/libX11
 
		x11-libs/libXtst
 
		x11-proto/xproto
 
		x11-proto/xextproto )
 
	gconf? ( >=gnome-base/gconf-2.14 )
 
	>=media-libs/libart_lgpl-2.1
 
	>=sys-libs/ncurses-5.2-r2
 
	nls? ( sys-devel/gettext )"
 
DEPEND="${RDEPEND}
 
	>=sys-apps/texinfo-4.2-r4
 
	>=sys-devel/bison-1.875
 
	>=sys-devel/binutils-2.16.1"
 

	
 
pkg_setup() {
 
	gcj_pkg_setup
 
}
 

	
 
src_unpack() {
 
	gcj_src_unpack
 
	epatch "${FILESDIR}/classpath_javax.swing.text.PlainView_divide_zero.patch"
 
}
 

	
 
src_compile() {
 
	gcj_src_compile
 
}
 

	
 
pkg_preinst() {
 
	:;
 
}
 

	
 
src_install() {
 
	gcj_src_install
 

	
 
	# copy scripts
 
	exeinto /usr/bin
 
	doexe ${FILESDIR}/gcj-config
 
	doexe ${FILESDIR}/rebuild-classmap-db
 
}
 

	
 
pkg_postinst() {
 
	ewarn "This gcj ebuild is provided for your convenience, and the use"
 
	ewarn "of this JDK replacement is not supported by the Gentoo Developers."
 
	ewarn
 
	ewarn "You are on your own using this! If you have any interesting news"
 
	ewarn "let us know: http://forums.gentoo.org/viewtopic-t-379693.html"
 

	
 
	gcj-config ${P}
 
}
 

	
 
pkg_prerm() {
 
	:;
 
}
 

	
 
pkg_postrm() {
 
	:;
 
}
dev-java/xml-xmlbeans/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for dev-java/xml-xmlbeans
 
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-xmlbeans/ChangeLog,v 1.27 2007/05/23 17:12:06 flameeyes Exp $
 

	
 
  23 May 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
 
  Add ~x86-fbsd keyword. Bug #176906.
 

	
 
  09 May 2007; Raúl Porcel <armin76@gentoo.org>
 
  xml-xmlbeans-1.0.4_pre20041217.ebuild:
 
  Add ~ia64 wrt #160813
 

	
 
*xml-xmlbeans-1.0.4_pre20041217 (09 May 2007)
 

	
 
  09 May 2007; Vlastimil Babka <caster@gentoo.org>
 
  +xml-xmlbeans-1.0.4_pre20041217.ebuild, -xml-xmlbeans-20041217-r1.ebuild:
 
  Change version to one that will allow future bump. Will seems like a
 
  downgrade, that's fine.
 

	
 
  25 Apr 2007; Petteri Räty <betelgeuse@gentoo.org>
 
  xml-xmlbeans-20041217-r1.ebuild:
 
  Add dev-java/ant-core to RDEPEND.
 

	
 
  25 Apr 2007; Petteri Räty <betelgeuse@gentoo.org>
 
  -xml-xmlbeans-20041217.ebuild:
 
  Remove generation 1 ebuild.
 

	
 
  15 Apr 2007; Markus Rothe <corsair@gentoo.org>
 
  xml-xmlbeans-20041217-r1.ebuild:
 
  Stable on ppc64
 

	
 
  06 Apr 2007; Petteri Räty <betelgeuse@gentoo.org>
 
  xml-xmlbeans-20041217-r1.ebuild:
 
  Mark stable on amd64 wrt bug #173559.
 

	
 
  06 Apr 2007; nixnut <nixnut@gentoo.org> xml-xmlbeans-20041217-r1.ebuild:
 
  Stable on ppc wrt bug 173559
 

	
 
  06 Apr 2007; Christian Faulhammer <opfer@gentoo.org>
 
  xml-xmlbeans-20041217-r1.ebuild:
 
  filter jikes and stable x86, bug 173559
 

	
 
  14 Feb 2007; Markus Rothe <corsair@gentoo.org>
 
  xml-xmlbeans-20041217-r1.ebuild:
 
  Added ~ppc64
 

	
 
  21 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
 
  xml-xmlbeans-20041217-r1.ebuild:
 
  Add ~x86-fbsd keyword (see the various bugs for netbeans 5.5-r2).
 

	
 
*xml-xmlbeans-20041217-r1 (26 Dec 2006)
 

	
 
  26 Dec 2006; Petteri Räty <betelgeuse@gentoo.org>
 
  +xml-xmlbeans-20041217-r1.ebuild:
 
  Migrated to generation 2.
 

	
 
  05 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org>
 
  xml-xmlbeans-20041217.ebuild:
 
  Dropping sparc keywords, see #96229
 

	
 
  11 Mar 2006; Michael Hanselmann <hansmi@gentoo.org>
 
  xml-xmlbeans-20041217.ebuild:
 
  Stable on ppc.
 

	
 
  11 Sep 2005; Thomas Matthijs <axxo@gentoo.org>
 
  xml-xmlbeans-20041217.ebuild:
 
  Disable junit #100895
 

	
 
  22 Aug 2005; Gustavo Zacarias <gustavoz@gentoo.org>
 
  xml-xmlbeans-20041217.ebuild:
 
  Stable on sparc
 

	
 
  20 Jul 2005; Gustavo Zacarias <gustavoz@gentoo.org>
 
  xml-xmlbeans-20041217.ebuild:
 
  Gimme ~sparc
 

	
 
  09 Jul 2005; Thomas Matthijs <axxo@gentoo.org>
 
  xml-xmlbeans-20041217.ebuild:
 
  fix deps
 

	
 
  12 Jun 2005; Jan Brinkmann <luckyduck@gentoo.org>
 
  xml-xmlbeans-20041217.ebuild:
 
  Updated dev-java/jaxen dependency.
 

	
 
  16 May 2005; Jan Brinkmann <luckyduck@gentoo.org>
 
  xml-xmlbeans-20041217.ebuild:
 
  stable on amd64 and x86, added ~ppc to KEYWORDS
 

	
 
  16 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org>
 
  xml-xmlbeans-20041217.ebuild:
 
  xml-xmlbeans now makes use of java-pkg_dosrc
 

	
 
  10 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org>
 
  xml-xmlbeans-20041217.ebuild:
 
  finally fixed the junit dependency nightmare. fixes #77097.
 

	
 
  08 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org>
 
  xml-xmlbeans-20041217.ebuild:
 
  updated ant dependency because junit needs ant-tasks. fixes #77097.
 

	
 
  03 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> xml-xmlbeans-20041217.ebuild:
 
  Updated junit dependency and added source useflag. Fixes #75906
 

	
 
  24 Dec 2004; Thomas Matthijs <axxo@gentoo.org>
 
  files/xml-xmlbeans-gentoo.patch, xml-xmlbeans-20041217.ebuild:
 
  fix #75528
 

	
 
*xml-xmlbeans-20041217 (19 Dec 2004)
 

	
 
  19 Dec 2004; Karl Trygve Kalleberg <karltk@gentoo.org> xml-xmlbeans-20041217.ebuild:
 
  Initial import. Ebuild submitted by the wunderbar Jan Brinkmann 
 
  <lucky@the-luckyduck.de>. Fixes #74818.
dev-java/xml-xmlbeans/Manifest
Show inline comments
 
new file 100644
 
AUX XMLSchema.dtd 16075 RMD160 bf7bbd719df76b1d9a65684826ede95218a422a7 SHA1 0f6523642453cd86f112acdd06c96f8dd13d4e66 SHA256 2032ead9fd47a61b22fe56aa02be1840bd9bb9015b0c0d3f1e8aac75dd91c3b9
 
AUX xml-xmlbeans-gentoo.patch 7484 RMD160 8151151602749edc6c87c61e869c25006c1e05fc SHA1 05d99a88489fb20fd1b80fe36f88c38522b617cf SHA256 228a300b69307f4cba5281e5730ac3460cfc7697ba54e8b918c734b68f1258ef
 
AUX xml-xmlbeans-xmlschema.dtd.patch 764 RMD160 a05c53fbf8f4b052a854ab21d3e3976811fc8e00 SHA1 70358118c8fb59972224dc602794d55a12a12ead SHA256 290eff287a32c419d8104919174ff58ccf64f0bbb4b01762145aa66efcf21106
 
DIST xml-xmlbeans-20041217.tar.bz2 2436239 RMD160 6255625d9800b399b6c83e3039e96711c597d731 SHA1 f4908d86cfb5befa1e426ab32068f8694de9260b SHA256 c2a53c653c9f49e172e2c364fc8e111ad3d258f906bbd6b8c65ca0b3f0c57a68
 
DIST xmlbeans-2.2.0-src.tgz 13918809 RMD160 2b8f081d58db81bd20828afd7bc9ef26c6ff4709 SHA1 d1286c54e5bd044513e67d6d193fdf49bcd606e9 SHA256 4a0f6648b4c103efbb77847a06f3aca8f90d5c2327fd587681f6b48246d38447
 
EBUILD xml-xmlbeans-1.0.4_pre20041217-r1.ebuild 1496 RMD160 78798d086ad98d196839b3735b9391947903389c SHA1 63f47a5826516c8cf1ccd6e37609c56a5713a66a SHA256 bf52ae7e2e39cbbe28ff5b17cb2e49bdcffc072313d461e510fe9c642381bbb9
 
EBUILD xml-xmlbeans-2.2.0.ebuild 1250 RMD160 d27909716be969c93ac5babe5fb5cb35d8e30d6d SHA1 b686195e3af430065c96e97804aa92595fb32100 SHA256 ee61f2b83747aad09d139d70063afd73c38582c8fcef430398e68a26c3bae316
 
MISC ChangeLog 3676 RMD160 55a2e99b21799c165b7b36079fc502bfc0603e0a SHA1 32262704e852aea0411aa2098caf5c5709a444c0 SHA256 597f76490ebb6246f6701ff9e0673392edb1b4f7191439628b5995c4f70b1517
 
MISC metadata.xml 1111 RMD160 4a8446ac5a1e7829cb4dcd54582fea902505de75 SHA1 34f9adc360fb247762f8dd93dbbb77e12a1bf9e2 SHA256 767522bfb4c752e9c8a6bd07bcf61429d5340554933cfd39634536d300c4ec7e
dev-java/xml-xmlbeans/files/XMLSchema.dtd
Show inline comments
 
new file 100644
 
<!-- DTD for XML Schemas: Part 1: Structures
 
     Public Identifier: "-//W3C//DTD XMLSCHEMA 200102//EN"
 
     Official Location: http://www.w3.org/2001/XMLSchema.dtd -->
 
<!-- $Id: XMLSchema.dtd,v 1.31 2001/10/24 15:50:16 ht Exp $ -->
 
<!-- Note this DTD is NOT normative, or even definitive. -->           <!--d-->
 
<!-- prose copy in the structures REC is the definitive version -->    <!--d-->
 
<!-- (which shouldn't differ from this one except for this -->         <!--d-->
 
<!-- comment and entity expansions, but just in case) -->              <!--d-->
 
<!-- With the exception of cases with multiple namespace
 
     prefixes for the XML Schema namespace, any XML document which is
 
     not valid per this DTD given redefinitions in its internal subset of the
 
     'p' and 's' parameter entities below appropriate to its namespace
 
     declaration of the XML Schema namespace is almost certainly not
 
     a valid schema. -->
 

	
 
<!-- The simpleType element and its constituent parts
 
     are defined in XML Schema: Part 2: Datatypes -->
 
<!ENTITY % xs-datatypes PUBLIC 'datatypes' 'datatypes.dtd' >
 

	
 
<!ENTITY % p 'xs:'> <!-- can be overriden in the internal subset of a
 
                         schema document to establish a different
 
                         namespace prefix -->
 
<!ENTITY % s ':xs'> <!-- if %p is defined (e.g. as foo:) then you must
 
                         also define %s as the suffix for the appropriate
 
                         namespace declaration (e.g. :foo) -->
 
<!ENTITY % nds 'xmlns%s;'>
 

	
 
<!-- Define all the element names, with optional prefix -->
 
<!ENTITY % schema "%p;schema">
 
<!ENTITY % complexType "%p;complexType">
 
<!ENTITY % complexContent "%p;complexContent">
 
<!ENTITY % simpleContent "%p;simpleContent">
 
<!ENTITY % extension "%p;extension">
 
<!ENTITY % element "%p;element">
 
<!ENTITY % unique "%p;unique">
 
<!ENTITY % key "%p;key">
 
<!ENTITY % keyref "%p;keyref">
 
<!ENTITY % selector "%p;selector">
 
<!ENTITY % field "%p;field">
 
<!ENTITY % group "%p;group">
 
<!ENTITY % all "%p;all">
 
<!ENTITY % choice "%p;choice">
 
<!ENTITY % sequence "%p;sequence">
 
<!ENTITY % any "%p;any">
 
<!ENTITY % anyAttribute "%p;anyAttribute">
 
<!ENTITY % attribute "%p;attribute">
 
<!ENTITY % attributeGroup "%p;attributeGroup">
 
<!ENTITY % include "%p;include">
 
<!ENTITY % import "%p;import">
 
<!ENTITY % redefine "%p;redefine">
 
<!ENTITY % notation "%p;notation">
 

	
 
<!-- annotation elements -->
 
<!ENTITY % annotation "%p;annotation">
 
<!ENTITY % appinfo "%p;appinfo">
 
<!ENTITY % documentation "%p;documentation">
 

	
 
<!-- Customisation entities for the ATTLIST of each element type.
 
     Define one of these if your schema takes advantage of the
 
     anyAttribute='##other' in the schema for schemas -->
 

	
 
<!ENTITY % schemaAttrs ''>
 
<!ENTITY % complexTypeAttrs ''>
 
<!ENTITY % complexContentAttrs ''>
 
<!ENTITY % simpleContentAttrs ''>
 
<!ENTITY % extensionAttrs ''>
 
<!ENTITY % elementAttrs ''>
 
<!ENTITY % groupAttrs ''>
 
<!ENTITY % allAttrs ''>
 
<!ENTITY % choiceAttrs ''>
 
<!ENTITY % sequenceAttrs ''>
 
<!ENTITY % anyAttrs ''>
 
<!ENTITY % anyAttributeAttrs ''>
 
<!ENTITY % attributeAttrs ''>
 
<!ENTITY % attributeGroupAttrs ''>
 
<!ENTITY % uniqueAttrs ''>
 
<!ENTITY % keyAttrs ''>
 
<!ENTITY % keyrefAttrs ''>
 
<!ENTITY % selectorAttrs ''>
 
<!ENTITY % fieldAttrs ''>
 
<!ENTITY % includeAttrs ''>
 
<!ENTITY % importAttrs ''>
 
<!ENTITY % redefineAttrs ''>
 
<!ENTITY % notationAttrs ''>
 
<!ENTITY % annotationAttrs ''>
 
<!ENTITY % appinfoAttrs ''>
 
<!ENTITY % documentationAttrs ''>
 

	
 
<!ENTITY % complexDerivationSet "CDATA">
 
      <!-- #all or space-separated list drawn from derivationChoice -->
 
<!ENTITY % blockSet "CDATA">
 
      <!-- #all or space-separated list drawn from
 
                      derivationChoice + 'substitution' -->
 

	
 
<!ENTITY % mgs '%all; | %choice; | %sequence;'>
 
<!ENTITY % cs '%choice; | %sequence;'>
 
<!ENTITY % formValues '(qualified|unqualified)'>
 

	
 

	
 
<!ENTITY % attrDecls    '((%attribute;| %attributeGroup;)*,(%anyAttribute;)?)'>
 

	
 
<!ENTITY % particleAndAttrs '((%mgs; | %group;)?, %attrDecls;)'>
 

	
 
<!-- This is used in part2 -->
 
<!ENTITY % restriction1 '((%mgs; | %group;)?)'>
 

	
 
%xs-datatypes;
 

	
 
<!-- the duplication below is to produce an unambiguous content model
 
     which allows annotation everywhere -->
 
<!ELEMENT %schema; ((%include; | %import; | %redefine; | %annotation;)*,
 
                    ((%simpleType; | %complexType;
 
                      | %element; | %attribute;
 
                      | %attributeGroup; | %group;
 
                      | %notation; ),
 
                     (%annotation;)*)* )>
 
<!ATTLIST %schema;
 
   targetNamespace      %URIref;               #IMPLIED
 
   version              CDATA                  #IMPLIED
 
   %nds;                %URIref;               #FIXED 'http://www.w3.org/2001/XMLSchema'
 
   xmlns                CDATA                  #IMPLIED
 
   finalDefault         %complexDerivationSet; ''
 
   blockDefault         %blockSet;             ''
 
   id                   ID                     #IMPLIED
 
   elementFormDefault   %formValues;           'unqualified'
 
   attributeFormDefault %formValues;           'unqualified'
 
   xml:lang             CDATA                  #IMPLIED
 
   %schemaAttrs;>
 
<!-- Note the xmlns declaration is NOT in the Schema for Schemas,
 
     because at the Infoset level where schemas operate,
 
     xmlns(:prefix) is NOT an attribute! -->
 
<!-- The declaration of xmlns is a convenience for schema authors -->
 
 
 
<!-- The id attribute here and below is for use in external references
 
     from non-schemas using simple fragment identifiers.
 
     It is NOT used for schema-to-schema reference, internal or
 
     external. -->
 

	
 
<!-- a type is a named content type specification which allows attribute
 
     declarations-->
 
<!-- -->
 

	
 
<!ELEMENT %complexType; ((%annotation;)?,
 
                         (%simpleContent;|%complexContent;|
 
                          %particleAndAttrs;))>
 

	
 
<!ATTLIST %complexType;
 
          name      %NCName;                        #IMPLIED
 
          id        ID                              #IMPLIED
 
          abstract  %boolean;                       #IMPLIED
 
          final     %complexDerivationSet;          #IMPLIED
 
          block     %complexDerivationSet;          #IMPLIED
 
          mixed (true|false) 'false'
 
          %complexTypeAttrs;>
 

	
 
<!-- particleAndAttrs is shorthand for a root type -->
 
<!-- mixed is disallowed if simpleContent, overriden if complexContent
 
     has one too. -->
 

	
 
<!-- If anyAttribute appears in one or more referenced attributeGroups
 
     and/or explicitly, the intersection of the permissions is used -->
 

	
 
<!ELEMENT %complexContent; ((%annotation;)?, (%restriction;|%extension;))>
 
<!ATTLIST %complexContent;
 
          mixed (true|false) #IMPLIED
 
          id    ID           #IMPLIED
 
          %complexContentAttrs;>
 

	
 
<!-- restriction should use the branch defined above, not the simple
 
     one from part2; extension should use the full model  -->
 

	
 
<!ELEMENT %simpleContent; ((%annotation;)?, (%restriction;|%extension;))>
 
<!ATTLIST %simpleContent;
 
          id    ID           #IMPLIED
 
          %simpleContentAttrs;>
 

	
 
<!-- restriction should use the simple branch from part2, not the 
 
     one defined above; extension should have no particle  -->
 

	
 
<!ELEMENT %extension; ((%annotation;)?, (%particleAndAttrs;))>
 
<!ATTLIST %extension;
 
          base  %QName;      #REQUIRED
 
          id    ID           #IMPLIED
 
          %extensionAttrs;>
 

	
 
<!-- an element is declared by either:
 
 a name and a type (either nested or referenced via the type attribute)
 
 or a ref to an existing element declaration -->
 

	
 
<!ELEMENT %element; ((%annotation;)?, (%complexType;| %simpleType;)?,
 
                     (%unique; | %key; | %keyref;)*)>
 
<!-- simpleType or complexType only if no type|ref attribute -->
 
<!-- ref not allowed at top level -->
 
<!ATTLIST %element;
 
            name               %NCName;               #IMPLIED
 
            id                 ID                     #IMPLIED
 
            ref                %QName;                #IMPLIED
 
            type               %QName;                #IMPLIED
 
            minOccurs          %nonNegativeInteger;   #IMPLIED
 
            maxOccurs          CDATA                  #IMPLIED
 
            nillable           %boolean;              #IMPLIED
 
            substitutionGroup  %QName;                #IMPLIED
 
            abstract           %boolean;              #IMPLIED
 
            final              %complexDerivationSet; #IMPLIED
 
            block              %blockSet;             #IMPLIED
 
            default            CDATA                  #IMPLIED
 
            fixed              CDATA                  #IMPLIED
 
            form               %formValues;           #IMPLIED
 
            %elementAttrs;>
 
<!-- type and ref are mutually exclusive.
 
     name and ref are mutually exclusive, one is required -->
 
<!-- In the absence of type AND ref, type defaults to type of
 
     substitutionGroup, if any, else the ur-type, i.e. unconstrained -->
 
<!-- default and fixed are mutually exclusive -->
 

	
 
<!ELEMENT %group; ((%annotation;)?,(%mgs;)?)>
 
<!ATTLIST %group; 
 
          name        %NCName;               #IMPLIED
 
          ref         %QName;                #IMPLIED
 
          minOccurs   %nonNegativeInteger;   #IMPLIED
 
          maxOccurs   CDATA                  #IMPLIED
 
          id          ID                     #IMPLIED
 
          %groupAttrs;>
 

	
 
<!ELEMENT %all; ((%annotation;)?, (%element;)*)>
 
<!ATTLIST %all;
 
          minOccurs   (1)                    #IMPLIED
 
          maxOccurs   (1)                    #IMPLIED
 
          id          ID                     #IMPLIED
 
          %allAttrs;>
 

	
 
<!ELEMENT %choice; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
 
<!ATTLIST %choice;
 
          minOccurs   %nonNegativeInteger;   #IMPLIED
 
          maxOccurs   CDATA                  #IMPLIED
 
          id          ID                     #IMPLIED
 
          %choiceAttrs;>
 

	
 
<!ELEMENT %sequence; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
 
<!ATTLIST %sequence;
 
          minOccurs   %nonNegativeInteger;   #IMPLIED
 
          maxOccurs   CDATA                  #IMPLIED
 
          id          ID                     #IMPLIED
 
          %sequenceAttrs;>
 

	
 
<!-- an anonymous grouping in a model, or
 
     a top-level named group definition, or a reference to same -->
 

	
 
<!-- Note that if order is 'all', group is not allowed inside.
 
     If order is 'all' THIS group must be alone (or referenced alone) at
 
     the top level of a content model -->
 
<!-- If order is 'all', minOccurs==maxOccurs==1 on element/any inside -->
 
<!-- Should allow minOccurs=0 inside order='all' . . . -->
 

	
 
<!ELEMENT %any; (%annotation;)?>
 
<!ATTLIST %any;
 
            namespace       CDATA                  '##any'
 
            processContents (skip|lax|strict)      'strict'
 
            minOccurs       %nonNegativeInteger;   '1'
 
            maxOccurs       CDATA                  '1'
 
            id              ID                     #IMPLIED
 
            %anyAttrs;>
 

	
 
<!-- namespace is interpreted as follows:
 
                  ##any      - - any non-conflicting WFXML at all
 

	
 
                  ##other    - - any non-conflicting WFXML from namespace other
 
                                  than targetNamespace
 

	
 
                  ##local    - - any unqualified non-conflicting WFXML/attribute
 
                  one or     - - any non-conflicting WFXML from
 
                  more URI        the listed namespaces
 
                  references
 

	
 
                  ##targetNamespace ##local may appear in the above list,
 
                    with the obvious meaning -->
 

	
 
<!ELEMENT %anyAttribute; (%annotation;)?>
 
<!ATTLIST %anyAttribute;
 
            namespace       CDATA              '##any'
 
            processContents (skip|lax|strict)  'strict'
 
            id              ID                 #IMPLIED
 
            %anyAttributeAttrs;>
 
<!-- namespace is interpreted as for 'any' above -->
 

	
 
<!-- simpleType only if no type|ref attribute -->
 
<!-- ref not allowed at top level, name iff at top level -->
 
<!ELEMENT %attribute; ((%annotation;)?, (%simpleType;)?)>
 
<!ATTLIST %attribute;
 
          name      %NCName;      #IMPLIED
 
          id        ID            #IMPLIED
 
          ref       %QName;       #IMPLIED
 
          type      %QName;       #IMPLIED
 
          use       (prohibited|optional|required) #IMPLIED
 
          default   CDATA         #IMPLIED
 
          fixed     CDATA         #IMPLIED
 
          form      %formValues;  #IMPLIED
 
          %attributeAttrs;>
 
<!-- type and ref are mutually exclusive.
 
     name and ref are mutually exclusive, one is required -->
 
<!-- default for use is optional when nested, none otherwise -->
 
<!-- default and fixed are mutually exclusive -->
 
<!-- type attr and simpleType content are mutually exclusive -->
 

	
 
<!-- an attributeGroup is a named collection of attribute decls, or a
 
     reference thereto -->
 
<!ELEMENT %attributeGroup; ((%annotation;)?,
 
                       (%attribute; | %attributeGroup;)*,
 
                       (%anyAttribute;)?) >
 
<!ATTLIST %attributeGroup;
 
                 name       %NCName;       #IMPLIED
 
                 id         ID             #IMPLIED
 
                 ref        %QName;        #IMPLIED
 
                 %attributeGroupAttrs;>
 

	
 
<!-- ref iff no content, no name.  ref iff not top level -->
 

	
 
<!-- better reference mechanisms -->
 
<!ELEMENT %unique; ((%annotation;)?, %selector;, (%field;)+)>
 
<!ATTLIST %unique;
 
          name     %NCName;       #REQUIRED
 
	  id       ID             #IMPLIED
 
	  %uniqueAttrs;>
 

	
 
<!ELEMENT %key;    ((%annotation;)?, %selector;, (%field;)+)>
 
<!ATTLIST %key;
 
          name     %NCName;       #REQUIRED
 
	  id       ID             #IMPLIED
 
	  %keyAttrs;>
 

	
 
<!ELEMENT %keyref; ((%annotation;)?, %selector;, (%field;)+)>
 
<!ATTLIST %keyref;
 
          name     %NCName;       #REQUIRED
 
	  refer    %QName;        #REQUIRED
 
	  id       ID             #IMPLIED
 
	  %keyrefAttrs;>
 

	
 
<!ELEMENT %selector; ((%annotation;)?)>
 
<!ATTLIST %selector;
 
          xpath %XPathExpr; #REQUIRED
 
          id    ID          #IMPLIED
 
          %selectorAttrs;>
 
<!ELEMENT %field; ((%annotation;)?)>
 
<!ATTLIST %field;
 
          xpath %XPathExpr; #REQUIRED
 
          id    ID          #IMPLIED
 
          %fieldAttrs;>
 

	
 
<!-- Schema combination mechanisms -->
 
<!ELEMENT %include; (%annotation;)?>
 
<!ATTLIST %include;
 
          schemaLocation %URIref; #REQUIRED
 
          id             ID       #IMPLIED
 
          %includeAttrs;>
 

	
 
<!ELEMENT %import; (%annotation;)?>
 
<!ATTLIST %import;
 
          namespace      %URIref; #IMPLIED
 
          schemaLocation %URIref; #IMPLIED
 
          id             ID       #IMPLIED
 
          %importAttrs;>
 

	
 
<!ELEMENT %redefine; (%annotation; | %simpleType; | %complexType; |
 
                      %attributeGroup; | %group;)*>
 
<!ATTLIST %redefine;
 
          schemaLocation %URIref; #REQUIRED
 
          id             ID       #IMPLIED
 
          %redefineAttrs;>
 

	
 
<!ELEMENT %notation; (%annotation;)?>
 
<!ATTLIST %notation;
 
	  name        %NCName;    #REQUIRED
 
	  id          ID          #IMPLIED
 
	  public      CDATA       #REQUIRED
 
	  system      %URIref;    #IMPLIED
 
	  %notationAttrs;>
 

	
 
<!-- Annotation is either application information or documentation -->
 
<!-- By having these here they are available for datatypes as well
 
     as all the structures elements -->
 

	
 
<!ELEMENT %annotation; (%appinfo; | %documentation;)*>
 
<!ATTLIST %annotation; %annotationAttrs;>
 

	
 
<!-- User must define annotation elements in internal subset for this
 
     to work -->
 
<!ELEMENT %appinfo; ANY>   <!-- too restrictive -->
 
<!ATTLIST %appinfo;
 
          source     %URIref;      #IMPLIED
 
          id         ID         #IMPLIED
 
          %appinfoAttrs;>
 
<!ELEMENT %documentation; ANY>   <!-- too restrictive -->
 
<!ATTLIST %documentation;
 
          source     %URIref;   #IMPLIED
 
          id         ID         #IMPLIED
 
          xml:lang   CDATA      #IMPLIED
 
          %documentationAttrs;>
 

	
 
<!NOTATION XMLSchemaStructures PUBLIC
 
           'structures' 'http://www.w3.org/2001/XMLSchema.xsd' >
 
<!NOTATION XML PUBLIC
 
           'REC-xml-1998-0210' 'http://www.w3.org/TR/1998/REC-xml-19980210' >
dev-java/xml-xmlbeans/files/xml-xmlbeans-gentoo.patch
Show inline comments
 
new file 100644
 
diff -uprN xml-xmlbeans-20041217.orig/v1/build.xml xml-xmlbeans-20041217/v1/build.xml
 
--- xml-xmlbeans-20041217.orig/v1/build.xml	2004-12-24 13:27:42.347587336 +0100
 
+++ xml-xmlbeans-20041217/v1/build.xml	2004-12-24 13:35:28.859666720 +0100
 
@@ -340,7 +340,7 @@
 
        srcdir="test/src/drt"
 
        destdir="build/private/classes/drt"
 
        classpathref="test.compile.path"
 
-       source="1.4"
 
+       source="1.4" target="1.4"
 
        debug="on"/>
 
   </target>
 
 
 
@@ -372,7 +372,7 @@
 
 
 
   <target name="soaptest.classes" depends="dirs, stsschema.jar">
 
     <mkdir dir="build/private/classes/soaptest"/>
 
-    <javac srcdir="test/src/soaptest" destdir="build/private/classes/soaptest" source="1.4" debug="on">
 
+    <javac srcdir="test/src/soaptest" destdir="build/private/classes/soaptest" source="1.4" target="1.4" debug="on">
 
       <classpath>
 
         <pathelement location="external/lib/jdom.jar"/>
 
         <pathelement location="external/lib/junit.jar"/>
 
@@ -395,7 +395,7 @@
 
        srcdir="test/src/erictest"
 
        destdir="build/private/classes/erictest"
 
        classpathref="test.compile.path"
 
-       source="1.4"
 
+       source="1.4" target="1.4"
 
        debug="on"/>
 
   </target>
 
 
 
@@ -411,7 +411,7 @@
 
        srcdir="test/src/random"
 
        destdir="build/private/classes/random"
 
        classpathref="test.compile.path"
 
-       source="1.4"
 
+       source="1.4" target="1.4"
 
        debug="on"/>
 
   </target>
 
 
 
@@ -423,7 +423,7 @@
 
 
 
   <target name="teststore.classes" depends="dirs">
 
     <mkdir dir="build/private/classes/teststore"/>
 
-    <javac srcdir="test/src/teststore" destdir="build/private/classes/teststore" source="1.4" debug="on">
 
+    <javac srcdir="test/src/teststore" destdir="build/private/classes/teststore" source="1.4" target="1.4" debug="on">
 
       <classpath>
 
         <pathelement location="build/private/classes/simpletypes"/>
 
         <pathelement location="build/private/classes/xmlcomp"/>
 
@@ -557,7 +557,7 @@
 
     <property name="docs.dir" value="build/docs"/>
 
     <delete dir="${docs.dir}"/>
 
     <mkdir dir="${docs.dir}"/>
 
-    <javadoc packagenames="*" sourcepath="src/xmlpublic" classpath="${javadoc.path}" destdir="${docs.dir}/reference" windowtitle="XMLBeans Documentation" source="1.4" stylesheetfile="docs/stylesheet.css">
 
+    <javadoc packagenames="*" sourcepath="src/xmlpublic" classpath="${javadoc.path}" source="1.4" destdir="${docs.dir}/reference" windowtitle="XMLBeans Documentation" stylesheetfile="docs/stylesheet.css">
 
       <link href="http://xml.apache.org/xmlbeans/docs/reference/index.html"/>
 
       <link href="http://java.sun.com/j2se/1.4.2/docs/api/"/>
 
       <link href="http://java.sun.com/j2ee/1.4/docs/api/"/>
 
@@ -583,7 +583,7 @@
 
       srcdir="test/src/streamtest"
 
       destdir="build/private/classes/streamtest"
 
       classpathref="test.compile.path"
 
-      source="1.4"
 
+      source="1.4" target="1.4"
 
       debug="on"/>
 
   </target>
 
 
 
@@ -736,7 +736,7 @@
 
 
 
   <target name="xmlpublic.classes" depends="dirs, xmlinputstream.classes">
 
     <mkdir dir="build/classes/xmlpublic"/>
 
-    <javac srcdir="src/xmlpublic" destdir="build/classes/xmlpublic" source="1.4" debug="on">
 
+    <javac srcdir="src/xmlpublic" destdir="build/classes/xmlpublic" source="1.4" target="1.4" debug="on">
 
       <classpath>
 
         <pathelement location="build/classes/xmlinputstream"/>
 
       </classpath>
 
@@ -756,7 +756,7 @@
 
 
 
   <target name="typestore.classes" depends="dirs, xmlpublic.classes, common.classes, xmlinputstream.classes">
 
     <mkdir dir="build/classes/typestore"/>
 
-    <javac srcdir="src/typestore" destdir="build/classes/typestore" source="1.4" debug="on">
 
+    <javac srcdir="src/typestore" destdir="build/classes/typestore" source="1.4" target="1.4" debug="on">
 
       <classpath>
 
         <pathelement location="build/classes/xmlinputstream"/>
 
         <pathelement location="build/classes/xmlpublic"/>
 
@@ -770,7 +770,7 @@
 
 
 
   <target name="common.classes" depends="dirs, xmlpublic.jar, xmlinputstream.classes">
 
     <mkdir dir="build/classes/common"/>
 
-    <javac srcdir="src/common" destdir="build/classes/common" source="1.4" debug="on">
 
+    <javac srcdir="src/common" destdir="build/classes/common" source="1.4" target="1.4" debug="on">
 
       <classpath>
 
         <pathelement location="build/classes/xmlinputstream"/>
 
         <pathelement location="build/lib/xmlpublic.jar"/>
 
@@ -783,7 +783,7 @@
 
 
 
   <target name="typeimpl.classes" depends="dirs, repackage.classes, xmlpublic.classes, typestore.classes, xsdschema.classes, configschema.classes, toolschema.classes">
 
     <mkdir dir="build/classes/typeimpl"/>
 
-    <javac destdir="build/classes/typeimpl" source="1.4" debug="on">
 
+    <javac destdir="build/classes/typeimpl" source="1.4" target="1.4" debug="on">
 
       <classpath>
 
         <pathelement location="build/classes/xmlinputstream"/>
 
         <pathelement location="build/classes/common"/>
 
@@ -816,7 +816,7 @@
 
 
 
   <target name="xmlcomp.classes" depends="dirs, repackage.classes, typeimpl.classes, xmlpublic.classes, typestore.classes">
 
     <mkdir dir="build/classes/xmlcomp"/>
 
-    <javac srcdir="src/xmlcomp" destdir="build/classes/xmlcomp" source="1.4" debug="on">
 
+    <javac srcdir="src/xmlcomp" destdir="build/classes/xmlcomp" source="1.4" target="1.4" debug="on">
 
       <classpath>
 
         <pathelement location="build/classes/xmlinputstream"/>
 
         <pathelement location="build/classes/xmlpublic"/>
 
@@ -837,7 +837,7 @@
 
   <target name="xmlstore.classes"
 
         depends="dirs, common.classes, typestore.classes, xmlpublic.classes">
 
     <mkdir dir="build/classes/xmlstore"/>
 
-    <javac srcdir="src/xmlstore" destdir="build/classes/xmlstore" source="1.4" debug="on">
 
+    <javac srcdir="src/xmlstore" destdir="build/classes/xmlstore" source="1.4" target="1.4" debug="on">
 
       <classpath id="xmlstore.compile.path">
 
         <pathelement location="build/classes/xmlinputstream"/>
 
         <pathelement location="build/classes/typestore"/>
 
@@ -916,7 +916,7 @@
 
 
 
   <target name="xmlconfig.classes" depends="dirs, xmlpublic.jar, configschema.classes">
 
     <mkdir dir="build/classes/xmlconfig"/>
 
-    <javac srcdir="src/xmlconfig" destdir="build/classes/xmlconfig" source="1.4" debug="on">
 
+    <javac srcdir="src/xmlconfig" destdir="build/classes/xmlconfig" source="1.4" target="1.4" debug="on">
 
       <classpath>
 
         <pathelement location="build/lib/xmlpublic.jar"/>
 
         <pathelement location="build/classes/configschema"/>
 
@@ -1044,7 +1044,7 @@
 
 
 
     <target name="repackage.classes">
 
         <mkdir dir="build/classes/repackage"/>
 
-        <javac srcdir="src/repackage" destdir="build/classes/repackage" source="1.4" debug="on"/>
 
+        <javac srcdir="src/repackage" destdir="build/classes/repackage" source="1.4" target="1.4" debug="on"/>
 
     </target>
 
 
 
    <target name="check.jaxen.jar">
 
@@ -1068,7 +1068,7 @@
 
        srcdir="src/xpath"
 
        destdir="build/private/classes/xpath"
 
        classpathref="xpath.compile.path"
 
-       source="1.4"
 
+       source="1.4" target="1.4"
 
        debug="on">
 
       <classpath id="xpath.compile.path">
 
           <pathelement location="build/lib/xmlpublic.jar"/>
 
@@ -1090,7 +1090,7 @@
 
        srcdir="test/src/xpath"
 
        destdir="build/private/classes/testxpath"
 
        classpathref="testxpath.compile.path"
 
-       source="1.4"
 
+       source="1.4" target="1.4"
 
        debug="on">
 
       <classpath id="testxpath.compile.path">
 
           <pathelement location="build/lib/xmlpublic.jar"/>
dev-java/xml-xmlbeans/files/xml-xmlbeans-xmlschema.dtd.patch
Show inline comments
 
new file 100644
 
diff -c /mnt/bacup/portagetmp/portage/dev-java/xml-xmlbeans-1.0.4_pre20041217/work/xml-xmlbeans-20041217/v1/src/xmlschema/schema/XML.xsd /tmp/buffer-content-426sDc
 
--- xml-xmlbeans-20041217/v1/src/xmlschema/schema/XML.xsd	2004-03-29 22:35:47.000000000 -0500
 
+++ xml-xmlbeans-20041217/v1/src/xmlschema/schema/XML.xsd	2008-08-12 12:57:16.000000000 -0400
 
@@ -1,5 +1,5 @@
 
 <?xml version='1.0'?>
 
-<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" >
 
+<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd" >
 
 <xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
 
 
 
  <xs:annotation>
 

	
 
Diff finished.  Tue Aug 12 12:57:16 2008
dev-java/xml-xmlbeans/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>java</herd>
 

	
 
<longdescription>
 

	
 
XMLBeans is a tool that allows you to access the full power of XML in a Java
 
friendly way. It is an XML-Java binding tool. The idea is that you can take
 
advantage the richness and features of XML and XML Schema and have these
 
features mapped as naturally as possible to the equivalent Java language and
 
typing constructs. XMLBeans uses XML Schema to compile Java interfaces and
 
classes that you can then use to access and modify XML instance data. Using
 
XMLBeans is similar to using any other Java interface/class, you will see things
 
like getFoo or setFoo just as you would expect when working with Java. While a
 
major use of XMLBeans is to access your XML instance data with strongly typed
 
Java classes there are also API's that allow you access to the full XML infoset
 
(XMLBeans keeps full XML Infoset fidelity) as well as to allow you to reflect
 
into the XML schema itself through an XML Schema Object model.
 

	
 
</longdescription>
 
</pkgmetadata>
dev-java/xml-xmlbeans/xml-xmlbeans-1.0.4_pre20041217-r1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-xmlbeans/xml-xmlbeans-1.0.4_pre20041217.ebuild,v 1.2 2007/05/09 15:17:45 armin76 Exp $
 

	
 
JAVA_PKG_IUSE="doc source"
 

	
 
inherit eutils java-pkg-2 java-ant-2
 

	
 
MY_P="${PN}-20041217"
 

	
 
DESCRIPTION="An XML-Java binding tool"
 
HOMEPAGE="http://xmlbeans.apache.org/"
 
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
 

	
 
LICENSE="Apache-2.0"
 
SLOT="1"
 
KEYWORDS="amd64 ~ia64 ppc ppc64 x86 ~x86-fbsd"
 
IUSE=""
 

	
 
RDEPEND=">=virtual/jre-1.4
 
	=dev-java/jaxen-1.1*
 
	>=dev-java/ant-core-1.6.2"
 

	
 
DEPEND=">=virtual/jdk-1.4
 
	${RDEPEND}"
 

	
 
S="${WORKDIR}/${MY_P}/v1"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 

	
 
	cp "${FILESDIR}/XMLSchema.dtd" "src/xmlschema/"
 

	
 
	epatch "${FILESDIR}/xml-xmlbeans-gentoo.patch"
 
#	epatch "${FILESDIR}/xml-xmlbeans-xmlschema.dtd.patch"
 
	java-ant_rewrite-classpath build.xml
 

	
 
	cd ${S}/external/lib
 
	#TODO: includes and old copy named oldxbean.jar
 
	#that probably should not be used
 
	#rm -v *.jar
 

	
 
	java-pkg_jar-from jaxen-1.1 jaxen.jar jaxen-1.1-beta-2.jar
 
	java-pkg_filter-compiler jikes
 
}
 

	
 
src_compile() {
 
	eant xbean.jar $(use_doc docs) \
 
		-Dgentoo.classpath=$(java-pkg_getjars ant-core)
 
}
 

	
 
# Tests always seem to fail #100895
 

	
 
src_install() {
 
	java-pkg_dojar build/lib/xbean*.jar
 

	
 
	dodoc CHANGES.txt NOTICE.txt README.txt
 
	if use doc; then
 
		java-pkg_dojavadoc build/docs/reference
 
		java-pkg_dohtml -r docs
 
	fi
 
	use source && java-pkg_dosrc src/*
 
}
dev-java/xml-xmlbeans/xml-xmlbeans-2.2.0.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 

	
 
inherit eutils java-pkg-2 java-ant-2
 

	
 
DESCRIPTION="An XML-Java binding tool"
 
HOMEPAGE="http://xmlbeans.apache.org/"
 
SRC_URI="http://mirror.olnevhost.net/pub/apache/xmlbeans/source/xmlbeans-${PV}-src.tgz"
 

	
 
LICENSE="Apache-2.0"
 
SLOT="2"
 
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
 
IUSE="doc source"
 

	
 
RDEPEND=">=virtual/jre-1.4
 
	=dev-java/jaxen-1.1*"
 

	
 
DEPEND=">=virtual/jdk-1.4
 
	>=dev-java/ant-core-1.6.2
 
	source? ( app-arch/zip )
 
	${RDEPEND}"
 

	
 
S=${WORKDIR}/xmlbeans-${PV}/
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd ${S}
 
#	epatch ${FILESDIR}/xml-xmlbeans-gentoo.patch
 

	
 
	java-ant_rewrite-classpath build.xml
 

	
 
	cd ${S}/external/lib
 
	#TODO: includes and old copy named oldxbean.jar
 
	#that probably should not be used
 
	#rm -v *.jar
 

	
 
	java-pkg_jar-from jaxen-1.1 jaxen.jar jaxen-1.1-beta-2.jar
 
}
 

	
 
src_compile() {
 
	eant xbean.jar $(use_doc docs) \
 
		-Dgentoo.classpath=$(java-pkg_getjars ant-core)
 
}
 

	
 
# Tests always seem to fail #100895
 

	
 
src_install() {
 
	java-pkg_dojar build/lib/xbean*.jar
 

	
 
	dodoc CHANGES.txt NOTICE.txt README.txt
 
	if use doc; then
 
		java-pkg_dojavadoc build/docs/reference
 
		java-pkg_dohtml -r docs
 
	fi
 
	use source && java-pkg_dosrc src/*
 
}
dev-libs/nss/Manifest
Show inline comments
 
new file 100644
 
AUX nss-3.11-config.patch 3167 RMD160 e4b57c89a518b54070b884f40ca11224ccc60349 SHA1 78acfa3c26bf5ca8f8d741f54c00bcf044d4c82b SHA256 0947675d067f09dee55684e29dc7764834ad640b2adf52d9450fbb1b7f9b728c
 
AUX nss-3.12-config-1.patch 1508 RMD160 ea2f4e2f05cc865ef41af0c39e573b8eb8801f42 SHA1 4897595a91f331ce34155e9872ece3518acb1ac8 SHA256 22d72c155d7b6aa8f1dd797959d5ec3b0975cf9a1bf4607e6b0ee2207112c2b7
 
AUX nss-3.12-missingheader.patch 876 RMD160 4b1d2f888a6c243858ed48c157b7515fa5e66159 SHA1 5b9bd2b2170db9298667e937ff44c49e44d91b63 SHA256 e21218da77054614883cf23fb6b4dad53b7152aefe1ef8efbe5822d1828a6bc9
 
AUX nss-3.12-missingheader.patch~ 846 RMD160 d2a3917f100baea8e71126ff125d61c08e8eee02 SHA1 d4ef2273b38bb298323d80af733b23ca5e0391fc SHA256 b9932fab9c31f27477812eed0febaa5be3fc9785cb048a2eb24dc23a442d029f
 
AUX nss-fbsd7.patch 638 RMD160 9c60b07a9f9b9a7482221f09042266c358d6cfcf SHA1 27036a161ff076fc8a9d459458d2a4adc38876ad SHA256 f471f04def6d4f1abd2062b582246a60a33b346576ad6e71c782fcfe317c8cc7
 
AUX nss-mips64.patch 508 RMD160 17e750805ec8e3e6f5989810b43522bea344f133 SHA1 dd127c2365ea13f5f5c3ec3f9d6d1991225e3565 SHA256 e50a8fcd0521b7722448b480ff672d49d6ca0dc6134d8df25ac63da1a83ab07b
 
DIST nss-3.12.tar.gz 5163155 RMD160 a84f9fa11e9fdb1c13f6d9b804b6f37dac4ee0af SHA1 6b8e83c0931cfad161aae993d344687b67f317aa SHA256 d30a7470b82a73ed442525b365afaf00427204e3771edfeab05743acca97122b
 
EBUILD nss-3.12.ebuild 4457 RMD160 4a10c8d39525708269a021df4f154383369e9616 SHA1 b5fd893171818b5e75d63a8dbc9b3f73d33125c7 SHA256 1a6df0c7bfd9856eedf697e14bc243bc2b54b1e6582e4c24964f06c3e0493b3b
 
MISC nss-3.12.ebuild~ 4421 RMD160 98f0771f26afd8a0756052d4c854c292fe8c4813 SHA1 ce275467675f462af4c593fd7dae438965a7b095 SHA256 c5f4ae6375b8581f271ec29abbb87f1ec8ba30f9c47990014b2a3c63da8613a9
dev-libs/nss/files/nss-3.11-config.patch
Show inline comments
 
new file 100644
 
--- mozilla/security/nss/lib/ckfw/builtins/config.mk.orig	2005-01-20 02:25:46.000000000 +0000
 
+++ mozilla/security/nss/lib/ckfw/builtins/config.mk	2006-01-15 05:13:08.000000000 +0000
 
@@ -69,3 +69,9 @@
 
 MKSHLIB += -R '$$ORIGIN'
 
 endif
 
 
 
+ifeq ($(OS_TARGET),Linux)
 
+# The -R '$ORIGIN' linker option instructs this library to search for its
 
+# dependencies in the same directory where it resides.
 
+DSO_LDOPTS += -Wl,-R,'$$ORIGIN'
 
+endif
 
+
 
--- mozilla/security/nss/lib/ckfw/capi/config.mk.orig	2005-11-04 02:05:04.000000000 +0000
 
+++ mozilla/security/nss/lib/ckfw/capi/config.mk	2006-01-15 05:13:52.000000000 +0000
 
@@ -69,3 +69,9 @@
 
 MKSHLIB += -R '$$ORIGIN'
 
 endif
 
 
 
+ifeq ($(OS_TARGET),Linux)
 
+# The -R '$ORIGIN' linker option instructs this library to search for its
 
+# dependencies in the same directory where it resides.
 
+DSO_LDOPTS += -Wl,-R,'$$ORIGIN'
 
+endif
 
+
 
--- mozilla/security/nss/lib/freebl/Makefile.orig	2005-11-22 07:13:32.000000000 +0000
 
+++ mozilla/security/nss/lib/freebl/Makefile	2006-01-15 05:16:05.000000000 +0000
 
@@ -132,6 +132,7 @@
 
 endif
 
 
 
 ifeq ($(OS_TARGET),Linux)
 
+DSO_LDOPTS += -Wl,-R,'$$ORIGIN'
 
 ifeq ($(CPU_ARCH),x86_64)
 
     ASFILES  = arcfour-amd64-gas.s mpi_amd64_gas.s
 
     ASFLAGS += -march=opteron -m64 -fPIC
 
--- mozilla/security/nss/lib/nss/config.mk.orig	2005-07-21 23:48:28.000000000 +0000
 
+++ mozilla/security/nss/lib/nss/config.mk	2006-01-15 05:11:58.000000000 +0000
 
@@ -122,6 +122,11 @@
 
 endif
 
 endif
 
 
 
+ifeq ($(OS_TARGET),Linux)
 
+# The -R '$ORIGIN' linker option instructs this library to search for its
 
+# dependencies in the same directory where it resides.
 
+DSO_LDOPTS += -Wl,-R,'$$ORIGIN'
 
+endif
 
 
 
 ifeq (,$(filter-out WINNT WIN95,$(OS_TARGET)))
 
 ifndef NS_USE_GCC
 
--- mozilla/security/nss/lib/smime/config.mk.orig	2005-09-02 01:24:57.000000000 +0000
 
+++ mozilla/security/nss/lib/smime/config.mk	2006-01-15 05:05:53.000000000 +0000
 
@@ -97,3 +97,10 @@
 
 # dependencies in the same directory where it resides.
 
 MKSHLIB += -R '$$ORIGIN'
 
 endif
 
+
 
+ifeq ($(OS_TARGET),Linux)
 
+# The -R '$ORIGIN' linker option instructs this library to search for its
 
+# dependencies in the same directory where it resides.
 
+DSO_LDOPTS += -Wl,-R,'$$ORIGIN'
 
+endif
 
+
 
--- mozilla/security/nss/lib/softoken/config.mk.orig	2005-10-19 01:03:31.000000000 +0000
 
+++ mozilla/security/nss/lib/softoken/config.mk	2006-01-15 05:07:15.000000000 +0000
 
@@ -93,6 +93,12 @@
 
 MKSHLIB += -R '$$ORIGIN'
 
 endif
 
 
 
+ifeq ($(OS_TARGET),Linux)
 
+# The -R '$ORIGIN' linker option instructs this library to search for its
 
+# dependencies in the same directory where it resides.
 
+DSO_LDOPTS += -Wl,-R,'$$ORIGIN'
 
+endif
 
+
 
 ifeq ($(OS_TARGET),WINCE)
 
 DEFINES += -DDBM_USING_NSPR
 
 endif
 
--- mozilla/security/nss/lib/ssl/config.mk.orig	2005-10-19 01:04:16.000000000 +0000
 
+++ mozilla/security/nss/lib/ssl/config.mk	2006-01-15 05:10:38.000000000 +0000
 
@@ -119,6 +119,12 @@
 
 #EXTRA_SHARED_LIBS += -ldl -lrt -lc -z defs
 
 endif
 
 
 
+ifeq ($(OS_TARGET),Linux)
 
+# The -R '$ORIGIN' linker option instructs this library to search for its
 
+# dependencies in the same directory where it resides.
 
+DSO_LDOPTS += -Wl,-R,'$$ORIGIN'
 
+endif
 
+
 
 endif
 
 
 
 # indicates dependency on freebl static lib
dev-libs/nss/files/nss-3.12-config-1.patch
Show inline comments
 
new file 100644
 
--- mozilla/security/coreconf/Linux.mk.orig	2005-09-16 17:09:23.000000000 +0000
 
+++ mozilla/security/coreconf/Linux.mk	2006-02-09 05:27:36.000000000 +0000
 
@@ -37,6 +37,8 @@
 
 
 
 include $(CORE_DEPTH)/coreconf/UNIX.mk
 
 
 
+NSS_VERSION_MINOR=12
 
+
 
 #
 
 # The default implementation strategy for Linux is now pthreads
 
 #
 
--- mozilla/security/coreconf/Linux2.6.mk.orig	2005-09-16 17:09:23.000000000 +0000
 
+++ mozilla/security/coreconf/Linux2.6.mk	2006-02-09 05:38:16.000000000 +0000
 
@@ -38,8 +38,7 @@
 
 include $(CORE_DEPTH)/coreconf/Linux.mk
 
 
 
 OS_REL_CFLAGS   += -DLINUX2_1
 
-MKSHLIB         = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so)
 
-
 
+MKSHLIB         = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so).$(NSS_VERSION_MINOR)
 
 ifdef MAPFILE
 
 	MKSHLIB += -Wl,--version-script,$(MAPFILE)
 
 endif
 
--- mozilla/security/coreconf/rules.mk.orig	2005-10-10 23:46:12.000000000 +0000
 
+++ mozilla/security/coreconf/rules.mk	2006-02-09 06:27:46.000000000 +0000
 
@@ -113,7 +113,10 @@
 
	$(INSTALL) -m 664 $(LIBRARY) $(SOURCE_LIB_DIR)
 
 endif
 
 ifdef SHARED_LIBRARY
 
+	mv $(SHARED_LIBRARY) $(SHARED_LIBRARY).$(NSS_VERSION_MINOR)
 
+	ln -s $(shell pwd)/$(SHARED_LIBRARY).$(NSS_VERSION_MINOR) $(shell pwd)/$(SHARED_LIBRARY)
 
	$(INSTALL) -m 775 $(SHARED_LIBRARY) $(SOURCE_LIB_DIR)
 
+	$(INSTALL) -m 775 $(SHARED_LIBRARY).$(NSS_VERSION_MINOR) $(SOURCE_LIB_DIR)
 
 ifdef MOZ_DEBUG_SYMBOLS
 
 ifeq (,$(filter-out _WIN%,$(NS_USE_GCC)_$(OS_TARGET)))
 
	$(INSTALL) -m 644 $(SHARED_LIBRARY:$(DLL_SUFFIX)=pdb) $(SOURCE_LIB_DIR)
 

	
dev-libs/nss/files/nss-3.12-missingheader.patch
Show inline comments
 
new file 100644
 
diff -c /var/tmp/portage/dev-libs/nss-3.12/work/nss-3.12/mozilla/security/nss/lib/pk11wrap/pk11pub.h /tmp/buffer-content-25351CEc
 
This patch was made mirroring mozilla bug #129303, attachment #203479
 
*** nss-3.12/mozilla/security/nss/lib/pk11wrap/pk11pub.h	2008-03-10 16:16:46.000000000 -0400
 
--- /tmp/buffer-content-25351CEc	2008-11-09 22:43:34.000000000 -0500
 
***************
 
*** 628,633 ****
 
--- 628,634 ----
 
  CERTCertList * PK11_ListCertsInSlot(PK11SlotInfo *slot);
 
  CERTSignedCrl* PK11_ImportCRL(PK11SlotInfo * slot, SECItem *derCRL, char *url,
 
      int type, void *wincx, PRInt32 importOptions, PRArenaPool* arena, PRInt32 decodeOptions);
 
+ PK11SlotList * PK11_GetAllSlotsForCert(CERTCertificate *c, void *arg);
 
  
 
  /**********************************************************************
 
   *                   Sign/Verify 
 

	
 
Diff finished.  Sun Nov  9 22:43:34 2008
dev-libs/nss/files/nss-3.12-missingheader.patch~
Show inline comments
 
new file 100644
 
diff -c /var/tmp/portage/dev-libs/nss-3.12/work/nss-3.12/mozilla/security/nss/lib/pk11wrap/pk11pub.h /tmp/buffer-content-25351CEc
 
*** /var/tmp/portage/dev-libs/nss-3.12/work/nss-3.12/mozilla/security/nss/lib/pk11wrap/pk11pub.h	2008-03-10 16:16:46.000000000 -0400
 
--- /tmp/buffer-content-25351CEc	2008-11-09 22:43:34.000000000 -0500
 
***************
 
*** 628,633 ****
 
--- 628,634 ----
 
  CERTCertList * PK11_ListCertsInSlot(PK11SlotInfo *slot);
 
  CERTSignedCrl* PK11_ImportCRL(PK11SlotInfo * slot, SECItem *derCRL, char *url,
 
      int type, void *wincx, PRInt32 importOptions, PRArenaPool* arena, PRInt32 decodeOptions);
 
+ PK11SlotList * PK11_GetAllSlotsForCert(CERTCertificate *c, void *arg);
 
  
 
  /**********************************************************************
 
   *                   Sign/Verify 
 

	
 
Diff finished.  Sun Nov  9 22:43:34 2008
dev-libs/nss/files/nss-fbsd7.patch
Show inline comments
 
new file 100644
 
https://bugzilla.mozilla.org/show_bug.cgi?id=436806
 

	
 
objformat has been deprecated for a while. elf has been the default format for
 
FreeBSD for a while too. objformat is gone from FreeBSD 7, so we default to elf.
 

	
 
--- nss-3.12/mozilla/security/coreconf/FreeBSD.mk.old	2008-09-05 11:38:11 +0200
 
+++ nss-3.12/mozilla/security/coreconf/FreeBSD.mk	2008-09-05 11:38:28 +0200
 
@@ -65,7 +65,7 @@
 
 
 
 ARCH			= freebsd
 
 
 
-MOZ_OBJFORMAT		:= $(shell test -x /usr/bin/objformat && /usr/bin/objformat || echo aout)
 
+MOZ_OBJFORMAT		:= $(shell test -x /usr/bin/objformat && /usr/bin/objformat || echo elf)
 
 
 
 ifeq ($(MOZ_OBJFORMAT),elf)
 
 DLL_SUFFIX		= so
dev-libs/nss/files/nss-mips64.patch
Show inline comments
 
new file 100644
 
--- mozilla/security/coreconf/Linux.mk.orig	2004-08-21 00:07:08.000000000 -0400
 
+++ mozilla/security/coreconf/Linux.mk	2004-08-20 23:28:52.000000000 -0400
 
@@ -106,6 +106,10 @@
 
 	OS_REL_CFLAGS   = -DLINUX1_2 -D_XOPEN_SOURCE
 
 	CPU_ARCH        = mips
 
 else
 
+ifeq ($(OS_TEST),mips64)
 
+	OS_REL_CFLAGS   = -DLINUX1_2 -D_XOPEN_SOURCE
 
+	CPU_ARCH        = mips64
 
+else
 
 	OS_REL_CFLAGS	= -DLINUX1_2 -Di386 -D_XOPEN_SOURCE
 
 	CPU_ARCH	= x86
 
 endif
 
@@ -122,6 +126,7 @@
 
 endif
 
 endif
 
 endif
 
+endif
 
 
 
 
 
 LIBC_TAG		= _glibc
dev-libs/nss/nss-3.12.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/nss-3.12.ebuild,v 1.3 2008/09/05 10:48:08 aballier Exp $
 

	
 
inherit eutils flag-o-matic multilib toolchain-funcs
 

	
 
NSPR_VER="4.7.1"
 
RTM_NAME="NSS_${PV//./_}_RTM"
 
DESCRIPTION="Mozilla's Network Security Services library that implements PKI support"
 
HOMEPAGE="http://www.mozilla.org/projects/security/pki/nss/"
 
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_NAME}/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="utils"
 

	
 
DEPEND=">=dev-libs/nspr-${NSPR_VER}
 
	>=dev-db/sqlite-3.5.6"
 

	
 
src_unpack() {
 
	unpack ${A}
 

	
 
	cd "${S}"/mozilla/security/coreconf
 
	# hack nspr paths
 
	echo 'INCLUDES += -I/usr/include/nspr -I$(DIST)/include/dbm' \
 
		>> headers.mk || die "failed to append include"
 

	
 
	# cope with nspr being in /usr/$(get_libdir)/nspr
 
	sed -e 's:$(DIST)/lib:/usr/'"$(get_libdir)"/nspr':' \
 
		-i location.mk
 

	
 
	# modify install path
 
	sed -e 's:SOURCE_PREFIX = $(CORE_DEPTH)/\.\./dist:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' \
 
		-i source.mk
 

	
 
	# Respect LDFLAGS
 
	sed -i -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' rules.mk
 

	
 
	cd "${S}"
 
	epatch "${FILESDIR}"/${PN}-3.11-config.patch
 
	epatch "${FILESDIR}"/${PN}-3.12-config-1.patch
 
	epatch "${FILESDIR}"/${PN}-mips64.patch
 
	epatch "${FILESDIR}"/${PN}-fbsd7.patch
 
	epatch "${FILESDIR}"/${PN}-${PV}-missingheader.patch
 
}
 

	
 
src_compile() {
 
	strip-flags
 

	
 
	echo > "${T}"/test.c
 
	$(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o
 
	case $(file "${T}"/test.o) in
 
	*64-bit*) export USE_64=1;;
 
	*32-bit*) ;;
 
	*) die "FAIL";;
 
	esac
 

	
 
	export NSDISTMODE=copy
 
	export NSS_USE_SYSTEM_SQLITE=1
 
	cd "${S}"/mozilla/security/coreconf
 
	emake -j1 BUILD_OPT=1 XCFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "coreconf make failed"
 
	cd "${S}"/mozilla/security/dbm
 
	emake -j1 BUILD_OPT=1 XCFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "dbm make failed"
 
	cd "${S}"/mozilla/security/nss
 
	emake -j1 BUILD_OPT=1 XCFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "nss make failed"
 
}
 

	
 
src_install () {
 
	MINOR_VERSION=12
 
	cd "${S}"/mozilla/security/dist
 

	
 
	# put all *.a files in /usr/lib/nss (because some have conflicting names
 
	# with existing libraries)
 
	dodir /usr/$(get_libdir)/nss
 
	cp -L */lib/*.so "${D}"/usr/$(get_libdir)/nss || die "copying shared libs failed"
 
	cp -L */lib/*.chk "${D}"/usr/$(get_libdir)/nss || die "copying chk files failed"
 
	cp -L */lib/*.a "${D}"/usr/$(get_libdir)/nss || die "copying libs failed"
 

	
 
	# all the include files
 
	insinto /usr/include/nss
 
	doins private/nss/*.h
 
	doins public/nss/*.h
 
	cd "${D}"/usr/$(get_libdir)/nss
 
	for file in *.so; do
 
		mv ${file} ${file}.${MINOR_VERSION}
 
		ln -s ${file}.${MINOR_VERSION} ${file}
 
	done
 

	
 
	# coping with nss being in a different path. We move up priority to
 
	# ensure that nss/nspr are used specifically before searching elsewhere.
 
	dodir /etc/env.d
 
	echo "LDPATH=/usr/$(get_libdir)/nss" > "${D}"/etc/env.d/08nss
 

	
 
	dodir /usr/bin
 
	dodir /usr/$(get_libdir)/pkgconfig
 
	cp "${FILESDIR}"/3.12-nss-config.in "${D}"/usr/bin/nss-config
 
	cp "${FILESDIR}"/3.12-nss.pc.in "${D}"/usr/$(get_libdir)/pkgconfig/nss.pc
 
	NSS_VMAJOR=`cat ${S}/mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMAJOR" | awk '{print $3}'`
 
	NSS_VMINOR=`cat ${S}/mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMINOR" | awk '{print $3}'`
 
	NSS_VPATCH=`cat ${S}/mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VPATCH" | awk '{print $3}'`
 

	
 
	sed -e "s,@libdir@,/usr/"$(get_libdir)"/nss,g" \
 
		-e "s,@prefix@,/usr,g" \
 
		-e "s,@exec_prefix@,\$\{prefix},g" \
 
		-e "s,@includedir@,\$\{prefix}/include/nss,g" \
 
		-e "s,@MOD_MAJOR_VERSION@,$NSS_VMAJOR,g" \
 
		-e "s,@MOD_MINOR_VERSION@,$NSS_VMINOR,g" \
 
		-e "s,@MOD_PATCH_VERSION@,$NSS_VPATCH,g" \
 
		-i "${D}"/usr/bin/nss-config
 
	chmod 755 "${D}"/usr/bin/nss-config
 

	
 
	sed -e "s,@libdir@,/usr/"$(get_libdir)"/nss,g" \
 
		  -e "s,@prefix@,/usr,g" \
 
		  -e "s,@exec_prefix@,\$\{prefix},g" \
 
		  -e "s,@includedir@,\$\{prefix}/include/nss," \
 
		  -e "s,@NSPR_VERSION@,`nspr-config --version`,g" \
 
		  -e "s,@NSS_VERSION@,$NSS_VMAJOR.$NSS_VMINOR.$NSS_VPATCH,g" \
 
		  -i "${D}"/usr/$(get_libdir)/pkgconfig/nss.pc
 
	chmod 644 "${D}"/usr/$(get_libdir)/pkgconfig/nss.pc
 

	
 
	if use utils; then
 
		cd "${S}"/mozilla/security/dist/*/bin/
 
		for f in *; do
 
			newbin ${f} nss${f}
 
		done
 
	fi
 
}
dev-libs/nss/nss-3.12.ebuild~
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/nss-3.12.ebuild,v 1.3 2008/09/05 10:48:08 aballier Exp $
 

	
 
inherit eutils flag-o-matic multilib toolchain-funcs
 

	
 
NSPR_VER="4.7.1"
 
RTM_NAME="NSS_${PV//./_}_RTM"
 
DESCRIPTION="Mozilla's Network Security Services library that implements PKI support"
 
HOMEPAGE="http://www.mozilla.org/projects/security/pki/nss/"
 
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_NAME}/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="utils"
 

	
 
DEPEND=">=dev-libs/nspr-${NSPR_VER}
 
	>=dev-db/sqlite-3.5.6"
 

	
 
src_unpack() {
 
	unpack ${A}
 

	
 
	cd "${S}"/mozilla/security/coreconf
 
	# hack nspr paths
 
	echo 'INCLUDES += -I/usr/include/nspr -I$(DIST)/include/dbm' \
 
		>> headers.mk || die "failed to append include"
 

	
 
	# cope with nspr being in /usr/$(get_libdir)/nspr
 
	sed -e 's:$(DIST)/lib:/usr/'"$(get_libdir)"/nspr':' \
 
		-i location.mk
 

	
 
	# modify install path
 
	sed -e 's:SOURCE_PREFIX = $(CORE_DEPTH)/\.\./dist:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' \
 
		-i source.mk
 

	
 
	# Respect LDFLAGS
 
	sed -i -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' rules.mk
 

	
 
	cd "${S}"
 
	epatch "${FILESDIR}"/${PN}-3.11-config.patch
 
	epatch "${FILESDIR}"/${PN}-3.12-config-1.patch
 
	epatch "${FILESDIR}"/${PN}-mips64.patch
 
	epatch "${FILESDIR}"/${PN}-fbsd7.patch
 
}
 

	
 
src_compile() {
 
	strip-flags
 

	
 
	echo > "${T}"/test.c
 
	$(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o
 
	case $(file "${T}"/test.o) in
 
	*64-bit*) export USE_64=1;;
 
	*32-bit*) ;;
 
	*) die "FAIL";;
 
	esac
 

	
 
	export NSDISTMODE=copy
 
	export NSS_USE_SYSTEM_SQLITE=1
 
	cd "${S}"/mozilla/security/coreconf
 
	emake -j1 BUILD_OPT=1 XCFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "coreconf make failed"
 
	cd "${S}"/mozilla/security/dbm
 
	emake -j1 BUILD_OPT=1 XCFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "dbm make failed"
 
	cd "${S}"/mozilla/security/nss
 
	emake -j1 BUILD_OPT=1 XCFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "nss make failed"
 
}
 

	
 
src_install () {
 
	MINOR_VERSION=12
 
	cd "${S}"/mozilla/security/dist
 

	
 
	# put all *.a files in /usr/lib/nss (because some have conflicting names
 
	# with existing libraries)
 
	dodir /usr/$(get_libdir)/nss
 
	cp -L */lib/*.so "${D}"/usr/$(get_libdir)/nss || die "copying shared libs failed"
 
	cp -L */lib/*.chk "${D}"/usr/$(get_libdir)/nss || die "copying chk files failed"
 
	cp -L */lib/*.a "${D}"/usr/$(get_libdir)/nss || die "copying libs failed"
 

	
 
	# all the include files
 
	insinto /usr/include/nss
 
	doins private/nss/*.h
 
	doins public/nss/*.h
 
	cd "${D}"/usr/$(get_libdir)/nss
 
	for file in *.so; do
 
		mv ${file} ${file}.${MINOR_VERSION}
 
		ln -s ${file}.${MINOR_VERSION} ${file}
 
	done
 

	
 
	# coping with nss being in a different path. We move up priority to
 
	# ensure that nss/nspr are used specifically before searching elsewhere.
 
	dodir /etc/env.d
 
	echo "LDPATH=/usr/$(get_libdir)/nss" > "${D}"/etc/env.d/08nss
 

	
 
	dodir /usr/bin
 
	dodir /usr/$(get_libdir)/pkgconfig
 
	cp "${FILESDIR}"/3.12-nss-config.in "${D}"/usr/bin/nss-config
 
	cp "${FILESDIR}"/3.12-nss.pc.in "${D}"/usr/$(get_libdir)/pkgconfig/nss.pc
 
	NSS_VMAJOR=`cat ${S}/mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMAJOR" | awk '{print $3}'`
 
	NSS_VMINOR=`cat ${S}/mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMINOR" | awk '{print $3}'`
 
	NSS_VPATCH=`cat ${S}/mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VPATCH" | awk '{print $3}'`
 

	
 
	sed -e "s,@libdir@,/usr/"$(get_libdir)"/nss,g" \
 
		-e "s,@prefix@,/usr,g" \
 
		-e "s,@exec_prefix@,\$\{prefix},g" \
 
		-e "s,@includedir@,\$\{prefix}/include/nss,g" \
 
		-e "s,@MOD_MAJOR_VERSION@,$NSS_VMAJOR,g" \
 
		-e "s,@MOD_MINOR_VERSION@,$NSS_VMINOR,g" \
 
		-e "s,@MOD_PATCH_VERSION@,$NSS_VPATCH,g" \
 
		-i "${D}"/usr/bin/nss-config
 
	chmod 755 "${D}"/usr/bin/nss-config
 

	
 
	sed -e "s,@libdir@,/usr/"$(get_libdir)"/nss,g" \
 
	      -e "s,@prefix@,/usr,g" \
 
	      -e "s,@exec_prefix@,\$\{prefix},g" \
 
	      -e "s,@includedir@,\$\{prefix}/include/nss," \
 
	      -e "s,@NSPR_VERSION@,`nspr-config --version`,g" \
 
	      -e "s,@NSS_VERSION@,$NSS_VMAJOR.$NSS_VMINOR.$NSS_VPATCH,g" \
 
	      -i "${D}"/usr/$(get_libdir)/pkgconfig/nss.pc
 
	chmod 644 "${D}"/usr/$(get_libdir)/pkgconfig/nss.pc
 

	
 
	if use utils; then
 
		cd "${S}"/mozilla/security/dist/*/bin/
 
		for f in *; do
 
			newbin ${f} nss${f}
 
		done
 
	fi
 
}
dev-util/mercurial/Manifest
Show inline comments
 
new file 100644
 
AUX 70mercurial-gentoo.el 76 RMD160 1891ab510adb464211b4cc35c5b6e4b149da79fa SHA1 72eb35d2bf86fa8f806acfbc823b88fc5188741b SHA256 c215746e4a5375569808c6aa6ddabe08e82d33d744128179be3142d9cd53a5ab
 
AUX mercurial-1.0.2-wsgi.patch 516 RMD160 405d97ed307e497223959e9d6b2fd3f20850d8b5 SHA1 02efa27299895a36bfeced164eb22495bdbc8586 SHA256 e1dd9fc4d774564ddb111cffd4ca3f60610da7ab491ad373bb925b62e1557ce7
 
AUX mercurial-1.0.2-wsgi.patch~ 558 RMD160 2c7c09cd68fe1429b53d061265e5fd90c9d56375 SHA1 5682cc2d1a2763a463064d7a24c5f7a3d7d5a23c SHA256 e3e228a85090872c04273862b90adb01f49b3beca7221668cdd7712815cb5452
 
DIST mercurial-1.0.2.tar.gz 815530 RMD160 0f163d19a12bbe7dcfc45f10cdab07f5b16e7b3a SHA1 6d5be655276770192b889cee279bdcc0aee977e3 SHA256 f96d985c04b57848cc142c206a22c2118941ff81e660824c29a859b5a652423a
 
EBUILD mercurial-1.0.2.ebuild 3315 RMD160 d862fcefc809f3c25224fe5d4d437ab8c259ef20 SHA1 d593f25ab77ee799b7bc07a801ab11b844a378f5 SHA256 52df7ce8ccd3ef66927efbc2771902c557ec799a1b43318b3f02fb5bfcbff4f2
 
MISC mercurial-1.0.2.ebuild~ 3226 RMD160 743d444c471c607972c0cedb0da2599574b6672a SHA1 a29c432f1335a05cdf26aba60ccbb62e17540f5f SHA256 0f1b83d61da1f559d97d934c7c21601015cb8a622ece49344af3bc0294cca507
dev-util/mercurial/files/70mercurial-gentoo.el
Show inline comments
 
new file 100644
 
;;; mercurial site-lisp configuration
 

	
 
(add-to-list 'load-path "@SITELISP@")
 
\ No newline at end of file
dev-util/mercurial/files/mercurial-1.0.2-wsgi.patch
Show inline comments
 
new file 100644
 
diff -c /var/tmp/portage/dev-util/mercurial-1.0.2/work/mercurial-1.0.2/mercurial/ui.py /tmp/buffer-content-25351rxn
 
--- mercurial-1.0.2/mercurial/ui.py	2008-11-09 01:00:02.000000000 -0500
 
+++ /tmp/buffer-content-25351rxn	2008-11-09 01:00:11.000000000 -0500
 
@@ -394,6 +394,7 @@
 
         except IOError, inst:
 
             if inst.errno != errno.EPIPE:
 
                 raise
 
+        except AttributeError, inst: pass
 
 
 
     def flush(self):
 
         try: sys.stdout.flush()
 

	
 
Diff finished.  Sun Nov  9 01:00:11 2008
dev-util/mercurial/files/mercurial-1.0.2-wsgi.patch~
Show inline comments
 
new file 100644
 
diff -c /var/tmp/portage/dev-util/mercurial-1.0.2/work/mercurial-1.0.2/mercurial/ui.py /tmp/buffer-content-25351rxn
 
--- /var/tmp/portage/dev-util/mercurial-1.0.2/work/mercurial-1.0.2/mercurial/ui.py	2008-11-09 01:00:02.000000000 -0500
 
+++ /tmp/buffer-content-25351rxn	2008-11-09 01:00:11.000000000 -0500
 
@@ -394,6 +394,7 @@
 
         except IOError, inst:
 
             if inst.errno != errno.EPIPE:
 
                 raise
 
+        except AttributeError, inst:
 
 
 
     def flush(self):
 
         try: sys.stdout.flush()
 

	
 
Diff finished.  Sun Nov  9 01:00:11 2008
dev-util/mercurial/mercurial-1.0.2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-1.0.2.ebuild,v 1.7 2008/10/17 08:04:41 aballier Exp $
 

	
 
inherit bash-completion elisp-common flag-o-matic eutils distutils
 

	
 
DESCRIPTION="Scalable distributed SCM"
 
HOMEPAGE="http://www.selenic.com/mercurial/"
 
SRC_URI="http://www.selenic.com/mercurial/release/${P}.tar.gz"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
 
IUSE="bugzilla emacs gpg test zsh-completion"
 

	
 
CDEPEND=">=dev-lang/python-2.3"
 
RDEPEND="${CDEPEND}
 
	bugzilla? ( dev-python/mysql-python )
 
	gpg? ( app-crypt/gnupg )
 
	zsh-completion? ( app-shells/zsh )"
 
DEPEND="${CDEPEND}
 
	emacs? ( virtual/emacs )
 
	test? ( app-arch/unzip
 
		dev-python/pygments )"
 

	
 
PYTHON_MODNAME="${PN} hgext"
 
SITEFILE="70${PN}-gentoo.el"
 

	
 
src_unpack() {
 
	distutils_src_unpack
 
	cd "${S}"
 
	epatch "${FILESDIR}/${P}-wsgi.patch"
 
}
 

	
 
src_compile() {
 
	filter-flags -ftracer -ftree-vectorize
 

	
 
	distutils_src_compile
 

	
 
	if use emacs; then
 
		cd "${S}"/contrib
 
		elisp-compile mercurial.el || die "elisp-compile failed!"
 
	fi
 

	
 
	rm -rf contrib/{win32,macosx}
 
}
 

	
 
src_install() {
 
	distutils_src_install
 

	
 
	dobashcompletion contrib/bash_completion ${PN}
 

	
 
	if use zsh-completion ; then
 
		insinto /usr/share/zsh/site-functions
 
		newins contrib/zsh_completion _hg
 
	fi
 

	
 
	rm -f doc/*.?.txt
 
	dodoc CONTRIBUTORS PKG-INFO README doc/*.txt
 
	cp hgweb*.cgi "${D}"/usr/share/doc/${PF}/
 

	
 
	dobin contrib/hgk
 
	dobin contrib/hg-relink
 
	dobin contrib/hg-ssh
 

	
 
	rm -f contrib/hgk contrib/hg-relink contrib/hg-ssh
 

	
 
	rm -f contrib/bash_completion
 
	cp -r contrib "${D}"/usr/share/doc/${PF}/
 
	doman doc/*.?
 

	
 
	cat > "${T}/80mercurial" <<-EOF
 
HG=/usr/bin/hg
 
EOF
 
	doenvd "${T}/80mercurial"
 

	
 
	if use emacs; then
 
		elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
 
		elisp-site-file-install "${FILESDIR}"/${SITEFILE}
 
	fi
 
}
 

	
 
src_test() {
 
	local testdir="${T}/tests"
 
	mkdir -p -m1777 "${testdir}" || die
 
	cd "${S}/tests/"
 
	rm -f *svn*		# Subversion tests fail with 1.5
 
	rm -f test-convert-baz*		# GNU Arch baz
 
	rm -f test-convert-cvs*		# CVS
 
	rm -f test-convert-darcs*	# Darcs
 
	rm -f test-convert-git*		# git
 
	rm -f test-convert-mtn*		# monotone
 
	rm -f test-convert-tla*		# GNU Arch tla
 
	rm -f test-doctest*		# doctest always fails with python 2.5.x
 
	if ! has userpriv ${FEATURES}; then
 
		einfo "Removing tests which require user privileges to succeed"
 
		rm -f test-command-template	# Test is broken when run as root
 
		rm -f test-convert			# Test is broken when run as root
 
		rm -f test-lock-badness		# Test is broken when run as root
 
		rm -f test-permissions		# Test is broken when run as root
 
		rm -f test-pull-permission	# Test is broken when run as root
 
	fi
 
	einfo "Running Mercurial tests ..."
 
	python run-tests.py --tmpdir="${testdir}" || die "test failed"
 
}
 

	
 
pkg_postinst() {
 
	distutils_pkg_postinst
 
	use emacs && elisp-site-regen
 
	bash-completion_pkg_postinst
 

	
 
	elog "If you want to convert repositories from other tools using convert"
 
	elog "extension please install correct tool:"
 
	elog "  dev-util/cvs"
 
	elog "  dev-util/darcs"
 
	elog "  dev-util/git"
 
	elog "  dev-util/monotone"
 
	elog "  dev-util/subversion"
 
}
 

	
 
pkg_postrm() {
 
	distutils_pkg_postrm
 
	use emacs && elisp-site-regen
 
}
dev-util/mercurial/mercurial-1.0.2.ebuild~
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-1.0.2.ebuild,v 1.7 2008/10/17 08:04:41 aballier Exp $
 

	
 
inherit bash-completion elisp-common flag-o-matic eutils distutils
 

	
 
DESCRIPTION="Scalable distributed SCM"
 
HOMEPAGE="http://www.selenic.com/mercurial/"
 
SRC_URI="http://www.selenic.com/mercurial/release/${P}.tar.gz"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
 
IUSE="bugzilla emacs gpg test zsh-completion"
 

	
 
CDEPEND=">=dev-lang/python-2.3"
 
RDEPEND="${CDEPEND}
 
	bugzilla? ( dev-python/mysql-python )
 
	gpg? ( app-crypt/gnupg )
 
	zsh-completion? ( app-shells/zsh )"
 
DEPEND="${CDEPEND}
 
	emacs? ( virtual/emacs )
 
	test? ( app-arch/unzip
 
		dev-python/pygments )"
 

	
 
PYTHON_MODNAME="${PN} hgext"
 
SITEFILE="70${PN}-gentoo.el"
 

	
 
src_compile() {
 
	filter-flags -ftracer -ftree-vectorize
 

	
 
	distutils_src_compile
 

	
 
	if use emacs; then
 
		cd "${S}"/contrib
 
		elisp-compile mercurial.el || die "elisp-compile failed!"
 
	fi
 

	
 
	rm -rf contrib/{win32,macosx}
 
}
 

	
 
src_install() {
 
	distutils_src_install
 

	
 
	dobashcompletion contrib/bash_completion ${PN}
 

	
 
	if use zsh-completion ; then
 
		insinto /usr/share/zsh/site-functions
 
		newins contrib/zsh_completion _hg
 
	fi
 

	
 
	rm -f doc/*.?.txt
 
	dodoc CONTRIBUTORS PKG-INFO README doc/*.txt
 
	cp hgweb*.cgi "${D}"/usr/share/doc/${PF}/
 

	
 
	dobin contrib/hgk
 
	dobin contrib/hg-relink
 
	dobin contrib/hg-ssh
 

	
 
	rm -f contrib/hgk contrib/hg-relink contrib/hg-ssh
 

	
 
	rm -f contrib/bash_completion
 
	cp -r contrib "${D}"/usr/share/doc/${PF}/
 
	doman doc/*.?
 

	
 
	cat > "${T}/80mercurial" <<-EOF
 
HG=/usr/bin/hg
 
EOF
 
	doenvd "${T}/80mercurial"
 

	
 
	if use emacs; then
 
		elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
 
		elisp-site-file-install "${FILESDIR}"/${SITEFILE}
 
	fi
 
}
 

	
 
src_test() {
 
	local testdir="${T}/tests"
 
	mkdir -p -m1777 "${testdir}" || die
 
	cd "${S}/tests/"
 
	rm -f *svn*		# Subversion tests fail with 1.5
 
	rm -f test-convert-baz*		# GNU Arch baz
 
	rm -f test-convert-cvs*		# CVS
 
	rm -f test-convert-darcs*	# Darcs
 
	rm -f test-convert-git*		# git
 
	rm -f test-convert-mtn*		# monotone
 
	rm -f test-convert-tla*		# GNU Arch tla
 
	rm -f test-doctest*		# doctest always fails with python 2.5.x
 
	if ! has userpriv ${FEATURES}; then
 
		einfo "Removing tests which require user privileges to succeed"
 
		rm -f test-command-template	# Test is broken when run as root
 
		rm -f test-convert			# Test is broken when run as root
 
		rm -f test-lock-badness		# Test is broken when run as root
 
		rm -f test-permissions		# Test is broken when run as root
 
		rm -f test-pull-permission	# Test is broken when run as root
 
	fi
 
	einfo "Running Mercurial tests ..."
 
	python run-tests.py --tmpdir="${testdir}" || die "test failed"
 
}
 

	
 
pkg_postinst() {
 
	distutils_pkg_postinst
 
	use emacs && elisp-site-regen
 
	bash-completion_pkg_postinst
 

	
 
	elog "If you want to convert repositories from other tools using convert"
 
	elog "extension please install correct tool:"
 
	elog "  dev-util/cvs"
 
	elog "  dev-util/darcs"
 
	elog "  dev-util/git"
 
	elog "  dev-util/monotone"
 
	elog "  dev-util/subversion"
 
}
 

	
 
pkg_postrm() {
 
	distutils_pkg_postrm
 
	use emacs && elisp-site-regen
 
}
dev-util/scons/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for dev-util/scons
 
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/ChangeLog,v 1.64 2008/10/27 00:03:55 jer Exp $
 
	
 
  08 Nov 2008; Nathan Brink <ohnobinki@ohnopublishing.net> (not Gentoo dev)
 
  Version bump according to Gentoo bug #242532.
 

	
 
*scons-1.1.0 (07 Nov 2008)
 
	
 
  27 Oct 2008; Jeroen Roovers <jer@gentoo.org> scons-1.0.0.ebuild:
 
  Stable for HPPA (bug #242766).
 

	
 
  25 Oct 2008; nixnut <nixnut@gentoo.org> scons-1.0.0.ebuild:
 
  Stable on ppc wrt bug 242766
 

	
 
  21 Oct 2008; Raúl Porcel <armin76@gentoo.org> scons-1.0.0.ebuild:
 
  alpha/ia64/sparc stable wrt #242766
 

	
 
  19 Oct 2008; Markus Meier <maekke@gentoo.org> scons-1.0.0.ebuild:
 
  amd64/x86 stable, bug #242766
 

	
 
*scons-1.0.0 (19 Aug 2008)
 

	
 
  19 Aug 2008; Jesus Rivero <neurogeek@gentoo.org> scons-0.97.ebuild,
 
  -scons-0.98.3.ebuild, -scons-0.98.4.ebuild, -scons-0.98.5.ebuild,
 
  +scons-1.0.0.ebuild:
 
  Version bump. Removed old versions. Fixed 0.97 ebuild and this closes bug
 
  #107013
 

	
 
*scons-0.98.5 (19 Jul 2008)
 

	
 
  19 Jul 2008; Ali Polatel <hawking@gentoo.org> +scons-0.98.5.ebuild:
 
  Version bump.
 

	
 
  14 Jun 2008; Zac Medico <zmedico@gentoo.org> scons-0.97.ebuild,
 
  scons-0.98.3.ebuild, scons-0.98.4.ebuild:
 
  Bug #226505 - For compatibity with phase execution order in
 
  >=portage-2.1.5, call has_version inside pkg_preinst instead of
 
  pkg_postinst.
 

	
 
*scons-0.98.4 (29 May 2008)
 

	
 
  29 May 2008; Ali Polatel <hawking@gentoo.org> -scons-0.96.1.ebuild,
 
  -scons-0.96.94.ebuild, +scons-0.98.4.ebuild:
 
  Version bump. Drop old.
 

	
dev-util/scons/ChangeLog~
Show inline comments
 
new file 100644
 
# ChangeLog for dev-util/scons
 
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/ChangeLog,v 1.64 2008/10/27 00:03:55 jer Exp $
 

	
 
  08 Nov 2008; Nathan Brink <ohnobinki@ohnopublishing.net> (not Gentoo dev)
 
  ChangeLog:
 
  Version bump according to Gentoo bug #242532.
 

	
 
  27 Oct 2008; Jeroen Roovers <jer@gentoo.org> scons-1.0.0.ebuild:
 
  Stable for HPPA (bug #242766).
 

	
 
  25 Oct 2008; nixnut <nixnut@gentoo.org> scons-1.0.0.ebuild:
 
  Stable on ppc wrt bug 242766
 

	
 
  21 Oct 2008; Raúl Porcel <armin76@gentoo.org> scons-1.0.0.ebuild:
 
  alpha/ia64/sparc stable wrt #242766
 

	
 
  19 Oct 2008; Markus Meier <maekke@gentoo.org> scons-1.0.0.ebuild:
 
  amd64/x86 stable, bug #242766
 

	
 
*scons-1.0.0 (19 Aug 2008)
 

	
 
  19 Aug 2008; Jesus Rivero <neurogeek@gentoo.org> scons-0.97.ebuild,
 
  -scons-0.98.3.ebuild, -scons-0.98.4.ebuild, -scons-0.98.5.ebuild,
 
  +scons-1.0.0.ebuild:
 
  Version bump. Removed old versions. Fixed 0.97 ebuild and this closes bug
 
  #107013
 

	
 
*scons-0.98.5 (19 Jul 2008)
 

	
 
  19 Jul 2008; Ali Polatel <hawking@gentoo.org> +scons-0.98.5.ebuild:
 
  Version bump.
 

	
 
  14 Jun 2008; Zac Medico <zmedico@gentoo.org> scons-0.97.ebuild,
 
  scons-0.98.3.ebuild, scons-0.98.4.ebuild:
 
  Bug #226505 - For compatibity with phase execution order in
 
  >=portage-2.1.5, call has_version inside pkg_preinst instead of
 
  pkg_postinst.
 

	
 
*scons-0.98.4 (29 May 2008)
 

	
 
  29 May 2008; Ali Polatel <hawking@gentoo.org> -scons-0.96.1.ebuild,
 
  -scons-0.96.94.ebuild, +scons-0.98.4.ebuild:
 
  Version bump. Drop old.
 

	
dev-util/scons/Manifest
Show inline comments
 
new file 100644
 
DIST scons-1.1.0.tar.gz 558557 RMD160 c89fbe94484695b79256b89b76b9ba3030f029c9 SHA1 bb34a048e907f9a0c20f84ecc21a6ea0479fab99 SHA256 e041a4696392ea3eb06bf9e7ef1bd838882a4754003fe1d5bd650d2e2a7befb9
 
EBUILD scons-1.1.0.ebuild 1145 RMD160 ff9e6be7abb11262b2f08434efc7f03d4eb7a1f2 SHA1 ed628fb7f0a3894a5afc38d5d4e85f7f2bc02fa1 SHA256 1619839418c7b27df908eda170572190584eaab10378977cb947a166946219cf
 
MISC ChangeLog 1578 RMD160 1791933aa3add91d826c4021319708b4681a3a69 SHA1 afd2d1e53895b6dd5999fa72c066c63cc0fd7b03 SHA256 6fddc6df9aa16eaf302d0b3e952743b0ef275ffffccc931d635877cacf799970
 
MISC ChangeLog~ 1561 RMD160 8d1c7ed6332b6f4136a102dcaf12433a5d66c82a SHA1 a61687b8cb8965e94fba620b3385273d1e978559 SHA256 0928946b408370baba300da3677810750f41da68a2f7b21ca7ce7242e6266f20
 
MISC metadata.xml 259 RMD160 e07f81006af8091709da130bf7766960545d08b1 SHA1 d68efa412545d069a60b0e13c20b910a5680eeaa SHA256 d20eefe0b0976cc928c0e17b9e5ba6c670f30ebb49086955e6f6b335fbb597ef
dev-util/scons/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>python</herd>
 
	<maintainer>
 
		<email>python@gentoo.org</email>
 
		<name>Python Project Team</name>
 
	</maintainer>
 
</pkgmetadata>
dev-util/scons/scons-1.1.0.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/scons-1.0.0.ebuild,v 1.5 2008/10/27 00:03:55 jer Exp $
 

	
 
NEED_PYTHON="1.5.2"
 

	
 
inherit distutils
 

	
 
DESCRIPTION="Extensible Python-based build utility"
 
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
HOMEPAGE="http://www.scons.org/"
 

	
 
SLOT="0"
 
LICENSE="MIT"
 
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ~ppc64 sparc x86 ~x86-fbsd"
 
IUSE=""
 

	
 
DOCS="RELEASE.txt CHANGES.txt LICENSE.txt"
 

	
 
src_install () {
 
	distutils_src_install
 
	# move man pages from /usr/man to /usr/share/man
 
	dodir /usr/share
 
	mv "${D}"/usr/man "${D}"/usr/share
 
}
 

	
 
pkg_preinst() {
 
	# clean up stale junk left there by old faulty ebuilds
 
	# see Bug 118022 and Bug 132448 and Bug 107013
 
	einfo "Cleaning up stale orphaned py[co] files..."
 
	einfo "Checking for /usr/lib/${P}/SCons"
 
	[[ -d "${ROOT}/usr/$(get_libdir)/${P}/SCons" ]] \
 
		    && rm -rf "${ROOT}/usr/$(get_libdir)/${P}/SCons"
 
	einfo "Done."
 
}
 

	
 
pkg_postinst() {
 
	python_mod_optimize /usr/$(get_libdir)/${P}
 
}
 

	
 
pkg_postrm() {
 
	python_mod_cleanup /usr/$(get_libdir)/${P}
 
}
eclass/eutils.eclass.2008.10.21_deps
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.308 2008/09/28 04:37:29 mr_bones_ Exp $
 

	
 
# @ECLASS: eutils.eclass
 
# @MAINTAINER:
 
# base-system@gentoo.org
 
# @BLURB: many extra (but common) functions that are used in ebuilds
 
# @DESCRIPTION:
 
# The eutils eclass contains a suite of functions that complement
 
# the ones that ebuild.sh already contain.  The idea is that the functions
 
# are not required in all ebuilds but enough utilize them to have a common
 
# home rather than having multiple ebuilds implementing the same thing.
 
#
 
# Due to the nature of this eclass, some functions may have maintainers
 
# different from the overall eclass!
 

	
 
inherit multilib portability
 

	
 
DESCRIPTION="Based on the ${ECLASS} eclass"
 

	
 
#required in the place where package will be installed to facilitate the enewgroup and enewuser commands
 
RDEPEND="sys-apps/shadow"
 

	
 
# @FUNCTION: epause
 
# @USAGE: [seconds]
 
# @DESCRIPTION:
 
# Sleep for the specified number of seconds (default of 5 seconds).  Useful when
 
# printing a message the user should probably be reading and often used in
 
# conjunction with the ebeep function.  If the EPAUSE_IGNORE env var is set,
 
# don't wait at all.
 
epause() {
 
	[[ -z ${EPAUSE_IGNORE} ]] && sleep ${1:-5}
 
}
 

	
 
# @FUNCTION: ebeep
 
# @USAGE: [number of beeps]
 
# @DESCRIPTION:
 
# Issue the specified number of beeps (default of 5 beeps).  Useful when
 
# printing a message the user should probably be reading and often used in
 
# conjunction with the epause function.  If the EBEEP_IGNORE env var is set,
 
# don't beep at all.
 
ebeep() {
 
	local n
 
	if [[ -z ${EBEEP_IGNORE} ]] ; then
 
		for ((n=1 ; n <= ${1:-5} ; n++)) ; do
 
			echo -ne "\a"
 
			sleep 0.1 &>/dev/null ; sleep 0,1 &>/dev/null
 
			echo -ne "\a"
 
			sleep 1
 
		done
 
	fi
 
}
 

	
 
# @FUNCTION: ecvs_clean
 
# @USAGE: [list of dirs]
 
# @DESCRIPTION:
 
# Remove CVS directories recursiveley.  Useful when a source tarball contains
 
# internal CVS directories.  Defaults to $PWD.
 
ecvs_clean() {
 
	[[ -z $* ]] && set -- .
 
	find "$@" -type d -name 'CVS' -prune -print0 | xargs -0 rm -rf
 
	find "$@" -type f -name '.cvs*' -print0 | xargs -0 rm -rf
 
}
 

	
 
# @FUNCTION: esvn_clean
 
# @USAGE: [list of dirs]
 
# @DESCRIPTION:
 
# Remove .svn directories recursiveley.  Useful when a source tarball contains
 
# internal Subversion directories.  Defaults to $PWD.
 
esvn_clean() {
 
	[[ -z $* ]] && set -- .
 
	find "$@" -type d -name '.svn' -prune -print0 | xargs -0 rm -rf
 
}
 

	
 
# Default directory where patches are located
 
EPATCH_SOURCE="${WORKDIR}/patch"
 
# Default extension for patches
 
EPATCH_SUFFIX="patch.bz2"
 
# Default options for patch
 
# Set -g0 to keep RCS, ClearCase, Perforce and SCCS happy. Bug #24571
 
# Set --no-backup-if-mismatch so we don't leave '.orig' files behind.
 
# Set -E to automatically remove empty files.
 
EPATCH_OPTS="-g0 -E --no-backup-if-mismatch"
 
# List of patches not to apply.	 Note this is only file names,
 
# and not the full path ..
 
EPATCH_EXCLUDE=""
 
# Change the printed message for a single patch.
 
EPATCH_SINGLE_MSG=""
 
# Change the printed message for multiple patches.
 
EPATCH_MULTI_MSG="Applying various patches (bugfixes/updates) ..."
 
# Force applying bulk patches even if not following the style:
 
#
 
#	??_${ARCH}_foo.${EPATCH_SUFFIX}
 
#
 
EPATCH_FORCE="no"
 

	
 
# This function is for bulk patching, or in theory for just one
 
# or two patches.
 
#
 
# It should work with .bz2, .gz, .zip and plain text patches.
 
# Currently all patches should be the same format.
 
#
 
# You do not have to specify '-p' option to patch, as it will
 
# try with -p0 to -p5 until it succeed, or fail at -p5.
 
#
 
# Above EPATCH_* variables can be used to control various defaults,
 
# bug they should be left as is to ensure an ebuild can rely on
 
# them for.
 
#
 
# Patches are applied in current directory.
 
#
 
# Bulk Patches should preferibly have the form of:
 
#
 
#	??_${ARCH}_foo.${EPATCH_SUFFIX}
 
#
 
# For example:
 
#
 
#	01_all_misc-fix.patch.bz2
 
#	02_sparc_another-fix.patch.bz2
 
#
 
# This ensures that there are a set order, and you can have ARCH
 
# specific patches.
 
#
 
# If you however give an argument to epatch(), it will treat it as a
 
# single patch that need to be applied if its a file.  If on the other
 
# hand its a directory, it will set EPATCH_SOURCE to this.
 
#
 
# <azarah@gentoo.org> (10 Nov 2002)
 
#
 
epatch() {
 
	_epatch_draw_line() {
 
		[[ -z $1 ]] && set "$(printf "%65s" '')"
 
		echo "${1//?/=}"
 
	}
 
	_epatch_assert() { local _pipestatus=${PIPESTATUS[*]}; [[ ${_pipestatus// /} -eq 0 ]] ; }
 
	local PIPE_CMD=""
 
	local STDERR_TARGET="${T}/$$.out"
 
	local PATCH_TARGET="${T}/$$.patch"
 
	local PATCH_SUFFIX=""
 
	local SINGLE_PATCH="no"
 
	local x=""
 

	
 
	unset P4CONFIG P4PORT P4USER # keep perforce at bay #56402
 

	
 
	if [ "$#" -gt 1 ]
 
	then
 
		local m=""
 
		for m in "$@" ; do
 
			epatch "${m}"
 
		done
 
		return 0
 
	fi
 

	
 
	if [ -n "$1" -a -f "$1" ]
 
	then
 
		SINGLE_PATCH="yes"
 

	
 
		local EPATCH_SOURCE="$1"
 
		local EPATCH_SUFFIX="${1##*\.}"
 

	
 
	elif [ -n "$1" -a -d "$1" ]
 
	then
 
		# Allow no extension if EPATCH_FORCE=yes ... used by vim for example ...
 
		if [ "${EPATCH_FORCE}" = "yes" ] && [ -z "${EPATCH_SUFFIX}" ]
 
		then
 
			local EPATCH_SOURCE="$1/*"
 
		else
 
			local EPATCH_SOURCE="$1/*.${EPATCH_SUFFIX}"
 
		fi
 
	else
 
		if [[ ! -d ${EPATCH_SOURCE} ]] || [[ -n $1 ]] ; then
 
			if [ -n "$1" -a "${EPATCH_SOURCE}" = "${WORKDIR}/patch" ]
 
			then
 
				EPATCH_SOURCE="$1"
 
			fi
 

	
 
			echo
 
			eerror "Cannot find \$EPATCH_SOURCE!  Value for \$EPATCH_SOURCE is:"
 
			eerror
 
			eerror "  ${EPATCH_SOURCE}"
 
			eerror "  ( ${EPATCH_SOURCE##*/} )"
 
			echo
 
			die "Cannot find \$EPATCH_SOURCE!"
 
		fi
 

	
 
		local EPATCH_SOURCE="${EPATCH_SOURCE}/*.${EPATCH_SUFFIX}"
 
	fi
 

	
 
	case ${EPATCH_SUFFIX##*\.} in
 
		lzma)
 
			PIPE_CMD="lzma -dc"
 
			PATCH_SUFFIX="lzma"
 
			;;
 
		bz2)
 
			PIPE_CMD="bzip2 -dc"
 
			PATCH_SUFFIX="bz2"
 
			;;
 
		gz|Z|z)
 
			PIPE_CMD="gzip -dc"
 
			PATCH_SUFFIX="gz"
 
			;;
 
		ZIP|zip)
 
			PIPE_CMD="unzip -p"
 
			PATCH_SUFFIX="zip"
 
			;;
 
		*)
 
			PIPE_CMD="cat"
 
			PATCH_SUFFIX="patch"
 
			;;
 
	esac
 

	
 
	if [ "${SINGLE_PATCH}" = "no" ]
 
	then
 
		einfo "${EPATCH_MULTI_MSG}"
 
	fi
 
	for x in ${EPATCH_SOURCE}
 
	do
 
		# New ARCH dependant patch naming scheme ...
 
		#
 
		#	???_arch_foo.patch
 
		#
 
		if [ -f ${x} ] && \
 
		   ([ "${SINGLE_PATCH}" = "yes" -o "${x/_all_}" != "${x}" -o "${x/_${ARCH}_}" != "${x}" ] || \
 
			[ "${EPATCH_FORCE}" = "yes" ])
 
		then
 
			local count=0
 
			local popts="${EPATCH_OPTS}"
 
			local patchname=${x##*/}
 

	
 
			if [ -n "${EPATCH_EXCLUDE}" ]
 
			then
 
				if [ "${EPATCH_EXCLUDE/${patchname}}" != "${EPATCH_EXCLUDE}" ]
 
				then
 
					continue
 
				fi
 
			fi
 

	
 
			if [ "${SINGLE_PATCH}" = "yes" ]
 
			then
 
				if [ -n "${EPATCH_SINGLE_MSG}" ]
 
				then
 
					einfo "${EPATCH_SINGLE_MSG}"
 
				else
 
					einfo "Applying ${patchname} ..."
 
				fi
 
			else
 
				einfo "  ${patchname} ..."
 
			fi
 

	
 
			echo "***** ${patchname} *****" > ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}
 
			echo >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}
 

	
 
			# Decompress the patch if need be
 
			if [[ ${PATCH_SUFFIX} != "patch" ]] ; then
 
				echo -n "PIPE_COMMAND:	" >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}
 
				echo "${PIPE_CMD} ${x} > ${PATCH_TARGET}" >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}
 

	
 
				if ! (${PIPE_CMD} ${x} > ${PATCH_TARGET}) >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/} 2>&1 ; then
 
					echo
 
					eerror "Could not extract patch!"
 
					#die "Could not extract patch!"
 
					count=5
 
					break
 
				fi
 
			else
 
				PATCH_TARGET="${x}"
 
			fi
 

	
 
			# Check for absolute paths in patches.  If sandbox is disabled,
 
			# people could (accidently) patch files in the root filesystem.
 
			# Or trigger other unpleasantries #237667.  So disallow -p0 on
 
			# such patches.
 
			local abs_paths=$(egrep -n '^[-+]{3} /' "${PATCH_TARGET}" | awk '$2 != "/dev/null" { print }')
 
			if [[ -n ${abs_paths} ]] ; then
 
				count=1
 
				echo "NOTE: skipping -p0 due to absolute paths in patch:" >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}
 
				echo "${abs_paths}" >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}
 
			fi
 

	
 
			# Allow for prefix to differ ... im lazy, so shoot me :/
 
			while [ "${count}" -lt 5 ]
 
			do
 
				# Generate some useful debug info ...
 
				_epatch_draw_line "***** ${patchname} *****" >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}
 
				echo >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}
 

	
 
				echo -n "PATCH COMMAND:	 " >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}
 
				echo "patch -p${count} ${popts} < ${PATCH_TARGET}" >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}
 

	
 
				echo >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}
 
				_epatch_draw_line "***** ${patchname} *****" >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}
 

	
 
				if (cat ${PATCH_TARGET} | patch -p${count} ${popts} --dry-run -f ; _epatch_assert) >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/} 2>&1
 
				then
 
					_epatch_draw_line "***** ${patchname} *****" >	${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}.real
 
					echo >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}.real
 
					echo "ACTUALLY APPLYING ${patchname} ..." >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}.real
 
					echo >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}.real
 
					_epatch_draw_line "***** ${patchname} *****" >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}.real
 

	
 
					cat ${PATCH_TARGET} | patch -p${count} ${popts} >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}.real 2>&1
 
					_epatch_assert
 

	
 
					if [ "$?" -ne 0 ]
 
					then
 
						cat ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}.real >> ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}
 
						echo
 
						eerror "A dry-run of patch command succeeded, but actually"
 
						eerror "applying the patch failed!"
 
						#die "Real world sux compared to the dreamworld!"
 
						count=5
 
					fi
 

	
 
					rm -f ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}.real
 

	
 
					break
 
				fi
 

	
 
				count=$((count + 1))
 
			done
 

	
 
			if [ "${PATCH_SUFFIX}" != "patch" ]
 
			then
 
				rm -f ${PATCH_TARGET}
 
			fi
 

	
 
			if [ "${count}" -eq 5 ]
 
			then
 
				echo
 
				eerror "Failed Patch: ${patchname} !"
 
				eerror " ( ${PATCH_TARGET} )"
 
				eerror
 
				eerror "Include in your bugreport the contents of:"
 
				eerror
 
				eerror "  ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}"
 
				echo
 
				die "Failed Patch: ${patchname}!"
 
			fi
 

	
 
			rm -f ${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}
 

	
 
			eend 0
 
		fi
 
	done
 
	if [ "${SINGLE_PATCH}" = "no" ]
 
	then
 
		einfo "Done with patching"
 
	fi
 
}
 

	
 
# @FUNCTION: emktemp
 
# @USAGE: [temp dir]
 
# @DESCRIPTION:
 
# Cheap replacement for when debianutils (and thus mktemp)
 
# does not exist on the users system.
 
emktemp() {
 
	local exe="touch"
 
	[[ $1 == -d ]] && exe="mkdir" && shift
 
	local topdir=$1
 

	
 
	if [[ -z ${topdir} ]] ; then
 
		[[ -z ${T} ]] \
 
			&& topdir="/tmp" \
 
			|| topdir=${T}
 
	fi
 

	
 
	if ! type -P mktemp > /dev/null ; then
 
		# system lacks `mktemp` so we have to fake it
 
		local tmp=/
 
		while [[ -e ${tmp} ]] ; do
 
			tmp=${topdir}/tmp.${RANDOM}.${RANDOM}.${RANDOM}
 
		done
 
		${exe} "${tmp}" || ${exe} -p "${tmp}"
 
		echo "${tmp}"
 
	else
 
		# the args here will give slightly wierd names on BSD,
 
		# but should produce a usable file on all userlands
 
		if [[ ${exe} == "touch" ]] ; then
 
			TMPDIR="${topdir}" mktemp -t tmp.XXXXXXXXXX
 
		else
 
			TMPDIR="${topdir}" mktemp -dt tmp.XXXXXXXXXX
 
		fi
 
	fi
 
}
 

	
 
# @FUNCTION: egetent
 
# @USAGE: <database> <key>
 
# @MAINTAINER:
 
# base-system@gentoo.org (Linux)
 
# Joe Jezak <josejx@gmail.com> (OS X)
 
# usata@gentoo.org (OS X)
 
# Aaron Walker <ka0ttic@gentoo.org> (FreeBSD)
 
# @DESCRIPTION:
 
# Small wrapper for getent (Linux), nidump (Mac OS X),
 
# and pw (FreeBSD) used in enewuser()/enewgroup()
 
egetent() {
 
	case ${CHOST} in
 
	*-darwin*)
 
		case "$2" in
 
		*[!0-9]*) # Non numeric
 
			nidump $1 . | awk -F":" "{ if (\$1 ~ /^$2$/) {print \$0;exit;} }"
 
			;;
 
		*)	# Numeric
 
			nidump $1 . | awk -F":" "{ if (\$3 == $2) {print \$0;exit;} }"
 
			;;
 
		esac
 
		;;
 
	*-freebsd*|*-dragonfly*)
 
		local opts action="user"
 
		[[ $1 == "passwd" ]] || action="group"
 

	
 
		# lookup by uid/gid
 
		if [[ $2 == [[:digit:]]* ]] ; then
 
			[[ ${action} == "user" ]] && opts="-u" || opts="-g"
 
		fi
 

	
 
		pw show ${action} ${opts} "$2" -q
 
		;;
 
	*-netbsd*|*-openbsd*)
 
		grep "$2:\*:" /etc/$1
 
		;;
 
	*)
 
		type -p nscd >& /dev/null && nscd -i "$1"
 
		getent "$1" "$2"
 
		;;
 
	esac
 
}
 

	
 
# @FUNCTION: enewuser
 
# @USAGE: <user> [uid] [shell] [homedir] [groups] [params]
 
# @DESCRIPTION:
 
# Same as enewgroup, you are not required to understand how to properly add
 
# a user to the system.  The only required parameter is the username.
 
# Default uid is (pass -1 for this) next available, default shell is
 
# /bin/false, default homedir is /dev/null, there are no default groups,
 
# and default params sets the comment as 'added by portage for ${PN}'.
 
enewuser() {
 
	case ${EBUILD_PHASE} in
 
		unpack|compile|test|install)
 
		eerror "'enewuser()' called from '${EBUILD_PHASE}()' which is not a pkg_* function."
 
		eerror "Package fails at QA and at life.  Please file a bug."
 
		die "Bad package!  enewuser is only for use in pkg_* functions!"
 
	esac
 

	
 
	# get the username
 
	local euser=$1; shift
 
	if [[ -z ${euser} ]] ; then
 
		eerror "No username specified !"
 
		die "Cannot call enewuser without a username"
 
	fi
 

	
 
	# lets see if the username already exists
 
	if [[ -n $(egetent passwd "${euser}") ]] ; then
 
		return 0
 
	fi
 
	einfo "Adding user '${euser}' to your system ..."
 

	
 
	# options to pass to useradd
 
	local opts=
 

	
 
	# handle uid
 
	local euid=$1; shift
 
	if [[ -n ${euid} && ${euid} != -1 ]] ; then
 
		if [[ ${euid} -gt 0 ]] ; then
 
			if [[ -n $(egetent passwd ${euid}) ]] ; then
 
				euid="next"
 
			fi
 
		else
 
			eerror "Userid given but is not greater than 0 !"
 
			die "${euid} is not a valid UID"
 
		fi
 
	else
 
		euid="next"
 
	fi
 
	if [[ ${euid} == "next" ]] ; then
 
		for ((euid = 101; euid <= 999; euid++)); do
 
			[[ -z $(egetent passwd ${euid}) ]] && break
 
		done
 
	fi
 
	opts="${opts} -u ${euid}"
 
	einfo " - Userid: ${euid}"
 

	
 
	# handle shell
 
	local eshell=$1; shift
 
	if [[ ! -z ${eshell} ]] && [[ ${eshell} != "-1" ]] ; then
 
		if [[ ! -e ${ROOT}${eshell} ]] ; then
 
			eerror "A shell was specified but it does not exist !"
 
			die "${eshell} does not exist in ${ROOT}"
 
		fi
 
		if [[ ${eshell} == */false || ${eshell} == */nologin ]] ; then
 
			eerror "Do not specify ${eshell} yourself, use -1"
 
			die "Pass '-1' as the shell parameter"
 
		fi
 
	else
 
		for shell in /sbin/nologin /usr/sbin/nologin /bin/false /usr/bin/false /dev/null ; do
 
			[[ -x ${ROOT}${shell} ]] && break
 
		done
 

	
 
		if [[ ${shell} == "/dev/null" ]] ; then
 
			eerror "Unable to identify the shell to use, proceeding with userland default."
 
			case ${USERLAND} in
 
				GNU) shell="/bin/false" ;;
 
				BSD) shell="/sbin/nologin" ;;
 
				Darwin) shell="/usr/sbin/nologin" ;;
 
				*) die "Unable to identify the default shell for userland ${USERLAND}"
 
			esac
 
		fi
 

	
 
		eshell=${shell}
 
	fi
 
	einfo " - Shell: ${eshell}"
 
	opts="${opts} -s ${eshell}"
 

	
 
	# handle homedir
 
	local ehome=$1; shift
 
	if [[ -z ${ehome} ]] || [[ ${ehome} == "-1" ]] ; then
 
		ehome="/dev/null"
 
	fi
 
	einfo " - Home: ${ehome}"
 
	opts="${opts} -d ${ehome}"
 

	
 
	# handle groups
 
	local egroups=$1; shift
 
	if [[ ! -z ${egroups} ]] ; then
 
		local oldifs=${IFS}
 
		local defgroup="" exgroups=""
 

	
 
		export IFS=","
 
		for g in ${egroups} ; do
 
			export IFS=${oldifs}
 
			if [[ -z $(egetent group "${g}") ]] ; then
 
				eerror "You must add group ${g} to the system first"
 
				die "${g} is not a valid GID"
 
			fi
 
			if [[ -z ${defgroup} ]] ; then
 
				defgroup=${g}
 
			else
 
				exgroups="${exgroups},${g}"
 
			fi
 
			export IFS=","
 
		done
 
		export IFS=${oldifs}
 

	
 
		opts="${opts} -g ${defgroup}"
 
		if [[ ! -z ${exgroups} ]] ; then
 
			opts="${opts} -G ${exgroups:1}"
 
		fi
 
	else
 
		egroups="(none)"
 
	fi
 
	einfo " - Groups: ${egroups}"
 

	
 
	# handle extra and add the user
 
	local oldsandbox=${SANDBOX_ON}
 
	export SANDBOX_ON="0"
 
	case ${CHOST} in
 
	*-darwin*)
 
		### Make the user
 
		if [[ -z $@ ]] ; then
 
			dscl . create /users/${euser} uid ${euid}
 
			dscl . create /users/${euser} shell ${eshell}
 
			dscl . create /users/${euser} home ${ehome}
 
			dscl . create /users/${euser} realname "added by portage for ${PN}"
 
			### Add the user to the groups specified
 
			local oldifs=${IFS}
 
			export IFS=","
 
			for g in ${egroups} ; do
 
				dscl . merge /groups/${g} users ${euser}
 
			done
 
			export IFS=${oldifs}
 
		else
 
			einfo "Extra options are not supported on Darwin yet"
 
			einfo "Please report the ebuild along with the info below"
 
			einfo "eextra: $@"
 
			die "Required function missing"
 
		fi
 
		;;
 
	*-freebsd*|*-dragonfly*)
 
		if [[ -z $@ ]] ; then
 
			pw useradd ${euser} ${opts} \
 
				-c "added by portage for ${PN}" \
 
				die "enewuser failed"
 
		else
 
			einfo " - Extra: $@"
 
			pw useradd ${euser} ${opts} \
 
				"$@" || die "enewuser failed"
 
		fi
 
		;;
 

	
 
	*-netbsd*)
 
		if [[ -z $@ ]] ; then
 
			useradd ${opts} ${euser} || die "enewuser failed"
 
		else
 
			einfo " - Extra: $@"
 
			useradd ${opts} ${euser} "$@" || die "enewuser failed"
 
		fi
 
		;;
 

	
 
	*-openbsd*)
 
		if [[ -z $@ ]] ; then
 
			useradd -u ${euid} -s ${eshell} \
 
				-d ${ehome} -c "Added by portage for ${PN}" \
 
				-g ${egroups} ${euser} || die "enewuser failed"
 
		else
 
			einfo " - Extra: $@"
 
			useradd -u ${euid} -s ${eshell} \
 
				-d ${ehome} -c "Added by portage for ${PN}" \
 
				-g ${egroups} ${euser} "$@" || die "enewuser failed"
 
		fi
 
		;;
 

	
 
	*)
 
		if [[ -z $@ ]] ; then
 
			useradd ${opts} ${euser} \
 
				-c "added by portage for ${PN}" \
 
				|| die "enewuser failed"
 
		else
 
			einfo " - Extra: $@"
 
			useradd ${opts} ${euser} "$@" \
 
				|| die "enewuser failed"
 
		fi
 
		;;
 
	esac
 

	
 
	if [[ ! -e ${ROOT}/${ehome} ]] ; then
 
		einfo " - Creating ${ehome} in ${ROOT}"
 
		mkdir -p "${ROOT}/${ehome}"
 
		chown ${euser} "${ROOT}/${ehome}"
 
		chmod 755 "${ROOT}/${ehome}"
 
	fi
 

	
 
	export SANDBOX_ON=${oldsandbox}
 
}
 

	
 
# @FUNCTION: enewgroup
 
# @USAGE: <group> [gid]
 
# @DESCRIPTION:
 
# This function does not require you to understand how to properly add a
 
# group to the system.  Just give it a group name to add and enewgroup will
 
# do the rest.  You may specify the gid for the group or allow the group to
 
# allocate the next available one.
 
enewgroup() {
 
	case ${EBUILD_PHASE} in
 
		unpack|compile|test|install)
 
		eerror "'enewgroup()' called from '${EBUILD_PHASE}()' which is not a pkg_* function."
 
		eerror "Package fails at QA and at life.  Please file a bug."
 
		die "Bad package!  enewgroup is only for use in pkg_* functions!"
 
	esac
 

	
 
	# get the group
 
	local egroup="$1"; shift
 
	if [ -z "${egroup}" ]
 
	then
 
		eerror "No group specified !"
 
		die "Cannot call enewgroup without a group"
 
	fi
 

	
 
	# see if group already exists
 
	if [[ -n $(egetent group "${egroup}") ]]; then
 
		return 0
 
	fi
 
	einfo "Adding group '${egroup}' to your system ..."
 

	
 
	# options to pass to useradd
 
	local opts=
 

	
 
	# handle gid
 
	local egid="$1"; shift
 
	if [ ! -z "${egid}" ]
 
	then
 
		if [ "${egid}" -gt 0 ]
 
		then
 
			if [ -z "`egetent group ${egid}`" ]
 
			then
 
				if [[ "${CHOST}" == *-darwin* ]]; then
 
					opts="${opts} ${egid}"
 
				else
 
					opts="${opts} -g ${egid}"
 
				fi
 
			else
 
				egid="next available; requested gid taken"
 
			fi
 
		else
 
			eerror "Groupid given but is not greater than 0 !"
 
			die "${egid} is not a valid GID"
 
		fi
 
	else
 
		egid="next available"
 
	fi
 
	einfo " - Groupid: ${egid}"
 

	
 
	# handle extra
 
	local eextra="$@"
 
	opts="${opts} ${eextra}"
 

	
 
	# add the group
 
	local oldsandbox="${SANDBOX_ON}"
 
	export SANDBOX_ON="0"
 
	case ${CHOST} in
 
	*-darwin*)
 
		if [ ! -z "${eextra}" ];
 
		then
 
			einfo "Extra options are not supported on Darwin/OS X yet"
 
			einfo "Please report the ebuild along with the info below"
 
			einfo "eextra: ${eextra}"
 
			die "Required function missing"
 
		fi
 

	
 
		# If we need the next available
 
		case ${egid} in
 
		*[!0-9]*) # Non numeric
 
			for ((egid = 101; egid <= 999; egid++)); do
 
				[[ -z $(egetent group ${egid}) ]] && break
 
			done
 
		esac
 
		dscl . create /groups/${egroup} gid ${egid}
 
		dscl . create /groups/${egroup} passwd '*'
 
		;;
 

	
 
	*-freebsd*|*-dragonfly*)
 
		case ${egid} in
 
			*[!0-9]*) # Non numeric
 
				for ((egid = 101; egid <= 999; egid++)); do
 
					[[ -z $(egetent group ${egid}) ]] && break
 
				done
 
		esac
 
		pw groupadd ${egroup} -g ${egid} || die "enewgroup failed"
 
		;;
 

	
 
	*-netbsd*)
 
		case ${egid} in
 
		*[!0-9]*) # Non numeric
 
			for ((egid = 101; egid <= 999; egid++)); do
 
				[[ -z $(egetent group ${egid}) ]] && break
 
			done
 
		esac
 
		groupadd -g ${egid} ${egroup} || die "enewgroup failed"
 
		;;
 

	
 
	*)
 
		groupadd ${opts} ${egroup} || die "enewgroup failed"
 
		;;
 
	esac
 
	export SANDBOX_ON="${oldsandbox}"
 
}
 

	
 
# @FUNCTION: edos2unix
 
# @USAGE: <file> [more files ...]
 
# @DESCRIPTION:
 
# A handy replacement for dos2unix, recode, fixdos, etc...  This allows you
 
# to remove all of these text utilities from DEPEND variables because this
 
# is a script based solution.  Just give it a list of files to convert and
 
# they will all be changed from the DOS CRLF format to the UNIX LF format.
 
edos2unix() {
 
	echo "$@" | xargs sed -i 's/\r$//'
 
}
 

	
 
# Make a desktop file !
 
# Great for making those icons in kde/gnome startmenu !
 
# Amaze your friends !	Get the women !	 Join today !
 
#
 
# make_desktop_entry(<command>, [name], [icon], [type], [path])
 
#
 
# binary:	what command does the app run with ?
 
# name:		the name that will show up in the menu
 
# icon:		give your little like a pretty little icon ...
 
#			this can be relative (to /usr/share/pixmaps) or
 
#			a full path to an icon
 
# type:		what kind of application is this ?	for categories:
 
#			http://standards.freedesktop.org/menu-spec/latest/apa.html
 
# path:		if your app needs to startup in a specific dir
 
make_desktop_entry() {
 
	[[ -z $1 ]] && eerror "make_desktop_entry: You must specify the executable" && return 1
 

	
 
	local exec=${1}
 
	local name=${2:-${PN}}
 
	local icon=${3:-${PN}}
 
	local type=${4}
 
	local path=${5}
 

	
 
	if [[ -z ${type} ]] ; then
 
		local catmaj=${CATEGORY%%-*}
 
		local catmin=${CATEGORY##*-}
 
		case ${catmaj} in
 
			app)
 
				case ${catmin} in
 
					accessibility) type=Accessibility;;
 
					admin)	   type=System;;
 
					antivirus) type=System;;
 
					arch)      type=Archiving;;
 
					backup)    type=Archiving;;
 
					cdr)	   type=DiscBurning;;
 
					dicts)	   type=Dictionary;;
 
					doc)       type=Documentation;;
 
					editors)   type=TextEditor;;
 
					emacs)	   type=TextEditor;;
 
					emulation) type=Emulator;;
 
					laptop)	   type=HardwareSettings;;
 
					office)	   type=Office;;
 
					pda)       type=PDA;;
 
					vim)	   type=TextEditor;;
 
					xemacs)	   type=TextEditor;;
 
					*)		   type=;;
 
				esac
 
				;;
 

	
 
			dev)
 
				type="Development"
 
				;;
 

	
 
			games)
 
				case ${catmin} in
 
					action|fps) type=ActionGame;;
 
					arcade)		type=ArcadeGame;;
 
					board)		type=BoardGame;;
 
					emulation)	type=Emulator;;
 
					kids)		type=KidsGame;;
 
					puzzle)		type=LogicGame;;
 
					roguelike)	type=RolePlaying;;
 
					rpg)		type=RolePlaying;;
 
					simulation) type=Simulation;;
 
					sports)		type=SportsGame;;
 
					strategy)	type=StrategyGame;;
 
					*)			type=;;
 
				esac
 
				type="Game;${type}"
 
				;;
 

	
 
			gnome)
 
				type="Gnome;GTK"
 
				;;
 

	
 
			kde)
 
				type="KDE;Qt"
 
				;;
 

	
 
			mail)
 
				type="Network;Email"
 
				;;
 

	
 
			media)
 
				case ${catmin} in
 
					gfx)   type=Graphics;;
 
					radio) type=Tuner;;
 
					sound) type=Audio;;
 
					tv)	   type=TV;;
 
					video) type=Video;;
 
					*)	   type=;;
 
				esac
 
				type="AudioVideo;${type}"
 
				;;
 

	
 
			net)
 
				case ${catmin} in
 
					dialup) type=Dialup;;
 
					ftp)	type=FileTransfer;;
 
					im)		type=InstantMessaging;;
 
					irc)	type=IRCClient;;
 
					mail)	type=Email;;
 
					news)	type=News;;
 
					nntp)	type=News;;
 
					p2p)	type=FileTransfer;;
 
					*)		type=;;
 
				esac
 
				type="Network;${type}"
 
				;;
 

	
 
			sci)
 
				case ${catmin} in
 
					astro*)  type=Astronomy;;
 
					bio*)	 type=Biology;;
 
					calc*)	 type=Calculator;;
 
					chem*)	 type=Chemistry;;
 
					elec*)   type=Electronics;;
 
					geo*)	 type=Geology;;
 
					math*)	 type=Math;;
 
					physics) type=Physics;;
 
					visual*) type=DataVisualization;;
 
					*)		 type=;;
 
				esac
 
				type="Science;${type}"
 
				;;
 

	
 
			sys)
 
				type="System"
 
				;;
 

	
 
			www)
 
				case ${catmin} in
 
					client) type=WebBrowser;;
 
					*)		type=;;
 
				esac
 
				type="Network"
 
				;;
 

	
 
			*)
 
				type=
 
				;;
 
		esac
 
	fi
 
	if [ "${SLOT}" == "0" ] ; then
 
		local desktop_name="${PN}"
 
	else
 
		local desktop_name="${PN}-${SLOT}"
 
	fi
 
	local desktop="${T}/$(echo ${exec} | sed 's:[[:space:]/:]:_:g')-${desktop_name}.desktop"
 
	#local desktop=${T}/${exec%% *:-${desktop_name}}.desktop
 

	
 
	cat <<-EOF > "${desktop}"
 
	[Desktop Entry]
 
	Version=1.0
 
	Name=${name}
 
	Type=Application
 
	Comment=${DESCRIPTION}
 
	Exec=${exec}
 
	TryExec=${exec%% *}
 
	Icon=${icon}
 
	Categories=${type};
 
	EOF
 

	
 
	[[ ${path} ]] && echo "Path=${path}" >> "${desktop}"
 

	
 
	(
 
		# wrap the env here so that the 'insinto' call
 
		# doesn't corrupt the env of the caller
 
		insinto /usr/share/applications
 
		doins "${desktop}"
 
	)
 
}
 

	
 
# @FUNCTION: validate_desktop_entries
 
# @USAGE: [directories]
 
# @MAINTAINER:
 
# Carsten Lohrke <carlo@gentoo.org>
 
# @DESCRIPTION:
 
# Validate desktop entries using desktop-file-utils
 
validate_desktop_entries() {
 
	if [[ -x /usr/bin/desktop-file-validate ]] ; then
 
		einfo "Checking desktop entry validity"
 
		local directories=""
 
		for d in /usr/share/applications $@ ; do
 
			[[ -d ${D}${d} ]] && directories="${directories} ${D}${d}"
 
		done
 
		if [[ -n ${directories} ]] ; then
 
			for FILE in $(find ${directories} -name "*\.desktop" \
 
							-not -path '*.hidden*' | sort -u 2>/dev/null)
 
			do
 
				local temp=$(desktop-file-validate ${FILE} | grep -v "warning:" | \
 
								sed -e "s|error: ||" -e "s|${FILE}:|--|g" )
 
				[[ -n $temp ]] && elog ${temp/--/${FILE/${D}/}:}
 
			done
 
		fi
 
		echo ""
 
	else
 
		einfo "Passing desktop entry validity check. Install dev-util/desktop-file-utils, if you want to help to improve Gentoo."
 
	fi
 
}
 

	
 
# @FUNCTION: make_session_desktop
 
# @USAGE: <title> <command>
 
# @DESCRIPTION:
 
# Make a GDM/KDM Session file.  The title is the file to execute to start the
 
# Window Manager.  The command is the name of the Window Manager.
 
make_session_desktop() {
 
	[[ -z $1 ]] && eerror "make_session_desktop: You must specify the title" && return 1
 
	[[ -z $2 ]] && eerror "make_session_desktop: You must specify the command" && return 1
 

	
 
	local title=$1
 
	local command=$2
 
	local desktop=${T}/${wm}.desktop
 

	
 
	cat <<-EOF > "${desktop}"
 
	[Desktop Entry]
 
	Name=${title}
 
	Comment=This session logs you into ${title}
 
	Exec=${command}
 
	TryExec=${command}
 
	Type=Application
 
	EOF
 

	
 
	(
 
	# wrap the env here so that the 'insinto' call
 
	# doesn't corrupt the env of the caller
 
	insinto /usr/share/xsessions
 
	doins "${desktop}"
 
	)
 
}
 

	
 
# @FUNCTION: domenu
 
# @USAGE: <menus>
 
# @DESCRIPTION:
 
# Install the list of .desktop menu files into the appropriate directory
 
# (/usr/share/applications).
 
domenu() {
 
	(
 
	# wrap the env here so that the 'insinto' call
 
	# doesn't corrupt the env of the caller
 
	local i j ret=0
 
	insinto /usr/share/applications
 
	for i in "$@" ; do
 
		if [[ -f ${i} ]] ; then
 
			doins "${i}"
 
			((ret+=$?))
 
		elif [[ -d ${i} ]] ; then
 
			for j in "${i}"/*.desktop ; do
 
				doins "${j}"
 
				((ret+=$?))
 
			done
 
		else
 
			((++ret))
 
		fi
 
	done
 
	exit ${ret}
 
	)
 
}
 

	
 
# @FUNCTION: newmenu
 
# @USAGE: <menu> <newname>
 
# @DESCRIPTION:
 
# Like all other new* functions, install the specified menu as newname.
 
newmenu() {
 
	(
 
	# wrap the env here so that the 'insinto' call
 
	# doesn't corrupt the env of the caller
 
	insinto /usr/share/applications
 
	newins "$@"
 
	)
 
}
 

	
 
# @FUNCTION: doicon
 
# @USAGE: <list of icons>
 
# @DESCRIPTION:
 
# Install the list of icons into the icon directory (/usr/share/pixmaps).
 
# This is useful in conjunction with creating desktop/menu files.
 
doicon() {
 
	(
 
	# wrap the env here so that the 'insinto' call
 
	# doesn't corrupt the env of the caller
 
	local i j ret
 
	insinto /usr/share/pixmaps
 
	for i in "$@" ; do
 
		if [[ -f ${i} ]] ; then
 
			doins "${i}"
 
			((ret+=$?))
 
		elif [[ -d ${i} ]] ; then
 
			for j in "${i}"/*.png ; do
 
				doins "${j}"
 
				((ret+=$?))
 
			done
 
		else
 
			((++ret))
 
		fi
 
	done
 
	exit ${ret}
 
	)
 
}
 

	
 
# @FUNCTION: newicon
 
# @USAGE: <icon> <newname>
 
# @DESCRIPTION:
 
# Like all other new* functions, install the specified icon as newname.
 
newicon() {
 
	(
 
	# wrap the env here so that the 'insinto' call
 
	# doesn't corrupt the env of the caller
 
	insinto /usr/share/pixmaps
 
	newins "$@"
 
	)
 
}
 

	
 
# for internal use only (unpack_pdv and unpack_makeself)
 
find_unpackable_file() {
 
	local src=$1
 
	if [[ -z ${src} ]] ; then
 
		src=${DISTDIR}/${A}
 
	else
 
		if [[ -e ${DISTDIR}/${src} ]] ; then
 
			src=${DISTDIR}/${src}
 
		elif [[ -e ${PWD}/${src} ]] ; then
 
			src=${PWD}/${src}
 
		elif [[ -e ${src} ]] ; then
 
			src=${src}
 
		fi
 
	fi
 
	[[ ! -e ${src} ]] && return 1
 
	echo "${src}"
 
}
 

	
 
# @FUNCTION: unpack_pdv
 
# @USAGE: <file to unpack> <size of off_t>
 
# @DESCRIPTION:
 
# Unpack those pesky pdv generated files ...
 
# They're self-unpacking programs with the binary package stuffed in
 
# the middle of the archive.  Valve seems to use it a lot ... too bad
 
# it seems to like to segfault a lot :(.  So lets take it apart ourselves.
 
#
 
# You have to specify the off_t size ... I have no idea how to extract that
 
# information out of the binary executable myself.  Basically you pass in
 
# the size of the off_t type (in bytes) on the machine that built the pdv
 
# archive.
 
#
 
# One way to determine this is by running the following commands:
 
#
 
# @CODE
 
# 	strings <pdv archive> | grep lseek
 
# 	strace -elseek <pdv archive>
 
# @CODE
 
#
 
# Basically look for the first lseek command (we do the strings/grep because
 
# sometimes the function call is _llseek or something) and steal the 2nd
 
# parameter.  Here is an example:
 
#
 
# @CODE
 
# 	vapier@vapier 0 pdv_unpack # strings hldsupdatetool.bin | grep lseek
 
# 	lseek
 
# 	vapier@vapier 0 pdv_unpack # strace -elseek ./hldsupdatetool.bin
 
# 	lseek(3, -4, SEEK_END)					= 2981250
 
# @CODE
 
#
 
# Thus we would pass in the value of '4' as the second parameter.
 
unpack_pdv() {
 
	local src=$(find_unpackable_file "$1")
 
	local sizeoff_t=$2
 

	
 
	[[ -z ${src} ]] && die "Could not locate source for '$1'"
 
	[[ -z ${sizeoff_t} ]] && die "No idea what off_t size was used for this pdv :("
 

	
 
	local shrtsrc=$(basename "${src}")
 
	echo ">>> Unpacking ${shrtsrc} to ${PWD}"
 
	local metaskip=$(tail -c ${sizeoff_t} "${src}" | hexdump -e \"%i\")
 
	local tailskip=$(tail -c $((${sizeoff_t}*2)) "${src}" | head -c ${sizeoff_t} | hexdump -e \"%i\")
 

	
 
	# grab metadata for debug reasons
 
	local metafile=$(emktemp)
 
	tail -c +$((${metaskip}+1)) "${src}" > "${metafile}"
 

	
 
	# rip out the final file name from the metadata
 
	local datafile=$(tail -c +$((${metaskip}+1)) "${src}" | strings | head -n 1)
 
	datafile=$(basename "${datafile}")
 

	
 
	# now lets uncompress/untar the file if need be
 
	local tmpfile=$(emktemp)
 
	tail -c +$((${tailskip}+1)) ${src} 2>/dev/null | head -c 512 > ${tmpfile}
 

	
 
	local iscompressed=$(file -b "${tmpfile}")
 
	if [[ ${iscompressed:0:8} == "compress" ]] ; then
 
		iscompressed=1
 
		mv ${tmpfile}{,.Z}
 
		gunzip ${tmpfile}
 
	else
 
		iscompressed=0
 
	fi
 
	local istar=$(file -b "${tmpfile}")
 
	if [[ ${istar:0:9} == "POSIX tar" ]] ; then
 
		istar=1
 
	else
 
		istar=0
 
	fi
 

	
 
	#for some reason gzip dies with this ... dd cant provide buffer fast enough ?
 
	#dd if=${src} ibs=${metaskip} count=1 \
 
	#	| dd ibs=${tailskip} skip=1 \
 
	#	| gzip -dc \
 
	#	> ${datafile}
 
	if [ ${iscompressed} -eq 1 ] ; then
 
		if [ ${istar} -eq 1 ] ; then
 
			tail -c +$((${tailskip}+1)) ${src} 2>/dev/null \
 
				| head -c $((${metaskip}-${tailskip})) \
 
				| tar -xzf -
 
		else
 
			tail -c +$((${tailskip}+1)) ${src} 2>/dev/null \
 
				| head -c $((${metaskip}-${tailskip})) \
 
				| gzip -dc \
 
				> ${datafile}
 
		fi
 
	else
 
		if [ ${istar} -eq 1 ] ; then
 
			tail -c +$((${tailskip}+1)) ${src} 2>/dev/null \
 
				| head -c $((${metaskip}-${tailskip})) \
 
				| tar --no-same-owner -xf -
 
		else
 
			tail -c +$((${tailskip}+1)) ${src} 2>/dev/null \
 
				| head -c $((${metaskip}-${tailskip})) \
 
				> ${datafile}
 
		fi
 
	fi
 
	true
 
	#[ -s "${datafile}" ] || die "failure unpacking pdv ('${metaskip}' '${tailskip}' '${datafile}')"
 
	#assert "failure unpacking pdv ('${metaskip}' '${tailskip}' '${datafile}')"
 
}
 

	
 
# @FUNCTION: unpack_makeself
 
# @USAGE: [file to unpack] [offset] [tail|dd]
 
# @DESCRIPTION:
 
# Unpack those pesky makeself generated files ...
 
# They're shell scripts with the binary package tagged onto
 
# the end of the archive.  Loki utilized the format as does
 
# many other game companies.
 
#
 
# If the file is not specified, then ${A} is used.  If the
 
# offset is not specified then we will attempt to extract
 
# the proper offset from the script itself.
 
unpack_makeself() {
 
	local src_input=${1:-${A}}
 
	local src=$(find_unpackable_file "${src_input}")
 
	local skip=$2
 
	local exe=$3
 

	
 
	[[ -z ${src} ]] && die "Could not locate source for '${src_input}'"
 

	
 
	local shrtsrc=$(basename "${src}")
 
	echo ">>> Unpacking ${shrtsrc} to ${PWD}"
 
	if [[ -z ${skip} ]] ; then
 
		local ver=$(grep -a '#.*Makeself' "${src}" | awk '{print $NF}')
 
		local skip=0
 
		exe=tail
 
		case ${ver} in
 
			1.5.*|1.6.0-nv)	# tested 1.5.{3,4,5} ... guessing 1.5.x series is same
 
				skip=$(grep -a ^skip= "${src}" | cut -d= -f2)
 
				;;
 
			2.0|2.0.1)
 
				skip=$(grep -a ^$'\t'tail "${src}" | awk '{print $2}' | cut -b2-)
 
				;;
 
			2.1.1)
 
				skip=$(grep -a ^offset= "${src}" | awk '{print $2}' | cut -b2-)
 
				let skip="skip + 1"
 
				;;
 
			2.1.2)
 
				skip=$(grep -a ^offset= "${src}" | awk '{print $3}' | head -n 1)
 
				let skip="skip + 1"
 
				;;
 
			2.1.3)
 
				skip=`grep -a ^offset= "${src}" | awk '{print $3}'`
 
				let skip="skip + 1"
 
				;;
 
			2.1.4|2.1.5)
 
				skip=$(grep -a offset=.*head.*wc "${src}" | awk '{print $3}' | head -n 1)
 
				skip=$(head -n ${skip} "${src}" | wc -c)
 
				exe="dd"
 
				;;
 
			*)
 
				eerror "I'm sorry, but I was unable to support the Makeself file."
 
				eerror "The version I detected was '${ver}'."
 
				eerror "Please file a bug about the file ${shrtsrc} at"
 
				eerror "http://bugs.gentoo.org/ so that support can be added."
 
				die "makeself version '${ver}' not supported"
 
				;;
 
		esac
 
		debug-print "Detected Makeself version ${ver} ... using ${skip} as offset"
 
	fi
 
	case ${exe} in
 
		tail)	exe="tail -n +${skip} '${src}'";;
 
		dd)		exe="dd ibs=${skip} skip=1 obs=1024 conv=sync if='${src}'";;
 
		*)		die "makeself cant handle exe '${exe}'"
 
	esac
 

	
 
	# lets grab the first few bytes of the file to figure out what kind of archive it is
 
	local tmpfile=$(emktemp)
 
	eval ${exe} 2>/dev/null | head -c 512 > "${tmpfile}"
 
	local filetype=$(file -b "${tmpfile}")
 
	case ${filetype} in
 
		*tar\ archive*)
 
			eval ${exe} | tar --no-same-owner -xf -
 
			;;
 
		bzip2*)
 
			eval ${exe} | bzip2 -dc | tar --no-same-owner -xf -
 
			;;
 
		gzip*)
 
			eval ${exe} | tar --no-same-owner -xzf -
 
			;;
 
		compress*)
 
			eval ${exe} | gunzip | tar --no-same-owner -xf -
 
			;;
 
		*)
 
			eerror "Unknown filetype \"${filetype}\" ?"
 
			false
 
			;;
 
	esac
 
	assert "failure unpacking (${filetype}) makeself ${shrtsrc} ('${ver}' +${skip})"
 
}
 

	
 
# @FUNCTION: check_license
 
# @USAGE: [license]
 
# @DESCRIPTION:
 
# Display a license for user to accept.  If no license is
 
# specified, then ${LICENSE} is used.
 
check_license() {
 
	local lic=$1
 
	if [ -z "${lic}" ] ; then
 
		lic="${PORTDIR}/licenses/${LICENSE}"
 
	else
 
		if [ -e "${PORTDIR}/licenses/${lic}" ] ; then
 
			lic="${PORTDIR}/licenses/${lic}"
 
		elif [ -e "${PWD}/${lic}" ] ; then
 
			lic="${PWD}/${lic}"
 
		elif [ -e "${lic}" ] ; then
 
			lic="${lic}"
 
		fi
 
	fi
 
	[ ! -f "${lic}" ] && die "Could not find requested license ${lic}"
 
	local l="`basename ${lic}`"
 

	
 
	# here is where we check for the licenses the user already
 
	# accepted ... if we don't find a match, we make the user accept
 
	local shopts=$-
 
	local alic
 
	set -o noglob #so that bash doesn't expand "*"
 
	for alic in ${ACCEPT_LICENSE} ; do
 
		if [[ ${alic} == ${l} ]]; then
 
			set +o noglob; set -${shopts} #reset old shell opts
 
			return 0
 
		fi
 
	done
 
	set +o noglob; set -$shopts #reset old shell opts
 

	
 
	local licmsg=$(emktemp)
 
	cat <<-EOF > ${licmsg}
 
	**********************************************************
 
	The following license outlines the terms of use of this
 
	package.  You MUST accept this license for installation to
 
	continue.  When you are done viewing, hit 'q'.	If you
 
	CTRL+C out of this, the install will not run!
 
	**********************************************************
 

	
 
	EOF
 
	cat ${lic} >> ${licmsg}
 
	${PAGER:-less} ${licmsg} || die "Could not execute pager (${PAGER}) to accept ${lic}"
 
	einfon "Do you accept the terms of this license (${l})? [yes/no] "
 
	read alic
 
	case ${alic} in
 
		yes|Yes|y|Y)
 
			return 0
 
			;;
 
		*)
 
			echo;echo;echo
 
			eerror "You MUST accept the license to continue!  Exiting!"
 
			die "Failed to accept license"
 
			;;
 
	esac
 
}
 

	
 
# @FUNCTION: cdrom_get_cds
 
# @USAGE: <file on cd1> [file on cd2] [file on cd3] [...]
 
# @DESCRIPTION:
 
# Aquire cd(s) for those lovely cd-based emerges.  Yes, this violates
 
# the whole 'non-interactive' policy, but damnit I want CD support !
 
#
 
# With these cdrom functions we handle all the user interaction and
 
# standardize everything.  All you have to do is call cdrom_get_cds()
 
# and when the function returns, you can assume that the cd has been
 
# found at CDROM_ROOT.
 
#
 
# The function will attempt to locate a cd based upon a file that is on
 
# the cd.  The more files you give this function, the more cds
 
# the cdrom functions will handle.
 
#
 
# Normally the cdrom functions will refer to the cds as 'cd #1', 'cd #2',
 
# etc...  If you want to give the cds better names, then just export
 
# the appropriate CDROM_NAME variable before calling cdrom_get_cds().
 
# Use CDROM_NAME for one cd, or CDROM_NAME_# for multiple cds.  You can
 
# also use the CDROM_NAME_SET bash array.
 
#
 
# For those multi cd ebuilds, see the cdrom_load_next_cd() function.
 
cdrom_get_cds() {
 
	# first we figure out how many cds we're dealing with by
 
	# the # of files they gave us
 
	local cdcnt=0
 
	local f=
 
	for f in "$@" ; do
 
		((++cdcnt))
 
		export CDROM_CHECK_${cdcnt}="$f"
 
	done
 
	export CDROM_TOTAL_CDS=${cdcnt}
 
	export CDROM_CURRENT_CD=1
 

	
 
	# now we see if the user gave use CD_ROOT ...
 
	# if they did, let's just believe them that it's correct
 
	if [[ -n ${CD_ROOT}${CD_ROOT_1} ]] ; then
 
		local var=
 
		cdcnt=0
 
		while [[ ${cdcnt} -lt ${CDROM_TOTAL_CDS} ]] ; do
 
			((++cdcnt))
 
			var="CD_ROOT_${cdcnt}"
 
			[[ -z ${!var} ]] && var="CD_ROOT"
 
			if [[ -z ${!var} ]] ; then
 
				eerror "You must either use just the CD_ROOT"
 
				eerror "or specify ALL the CD_ROOT_X variables."
 
				eerror "In this case, you will need ${CDROM_TOTAL_CDS} CD_ROOT_X variables."
 
				die "could not locate CD_ROOT_${cdcnt}"
 
			fi
 
		done
 
		export CDROM_ROOT=${CD_ROOT_1:-${CD_ROOT}}
 
		einfo "Found CD #${CDROM_CURRENT_CD} root at ${CDROM_ROOT}"
 
		export CDROM_SET=-1
 
		for f in ${CDROM_CHECK_1//:/ } ; do
 
			((++CDROM_SET))
 
			[[ -e ${CD_ROOT}/${f} ]] && break
 
		done
 
		export CDROM_MATCH=${f}
 
		return
 
	fi
 

	
 
	# User didn't help us out so lets make sure they know they can
 
	# simplify the whole process ...
 
	if [[ ${CDROM_TOTAL_CDS} -eq 1 ]] ; then
 
		einfo "This ebuild will need the ${CDROM_NAME:-cdrom for ${PN}}"
 
		echo
 
		einfo "If you do not have the CD, but have the data files"
 
		einfo "mounted somewhere on your filesystem, just export"
 
		einfo "the variable CD_ROOT so that it points to the"
 
		einfo "directory containing the files."
 
		echo
 
		einfo "For example:"
 
		einfo "export CD_ROOT=/mnt/cdrom"
 
		echo
 
	else
 
		if [[ -n ${CDROM_NAME_SET} ]] ; then
 
			# Translate the CDROM_NAME_SET array into CDROM_NAME_#
 
			cdcnt=0
 
			while [[ ${cdcnt} -lt ${CDROM_TOTAL_CDS} ]] ; do
 
				((++cdcnt))
 
				export CDROM_NAME_${cdcnt}="${CDROM_NAME_SET[$((${cdcnt}-1))]}"
 
			done
 
		fi
 

	
 
		einfo "This package will need access to ${CDROM_TOTAL_CDS} cds."
 
		cdcnt=0
 
		while [[ ${cdcnt} -lt ${CDROM_TOTAL_CDS} ]] ; do
 
			((++cdcnt))
 
			var="CDROM_NAME_${cdcnt}"
 
			[[ ! -z ${!var} ]] && einfo " CD ${cdcnt}: ${!var}"
 
		done
 
		echo
 
		einfo "If you do not have the CDs, but have the data files"
 
		einfo "mounted somewhere on your filesystem, just export"
 
		einfo "the following variables so they point to the right place:"
 
		einfon ""
 
		cdcnt=0
 
		while [[ ${cdcnt} -lt ${CDROM_TOTAL_CDS} ]] ; do
 
			((++cdcnt))
 
			echo -n " CD_ROOT_${cdcnt}"
 
		done
 
		echo
 
		einfo "Or, if you have all the files in the same place, or"
 
		einfo "you only have one cdrom, you can export CD_ROOT"
 
		einfo "and that place will be used as the same data source"
 
		einfo "for all the CDs."
 
		echo
 
		einfo "For example:"
 
		einfo "export CD_ROOT_1=/mnt/cdrom"
 
		echo
 
	fi
 

	
 
	export CDROM_SET=""
 
	export CDROM_CURRENT_CD=0
 
	cdrom_load_next_cd
 
}
 

	
 
# @FUNCTION: cdrom_load_next_cd
 
# @DESCRIPTION:
 
# Some packages are so big they come on multiple CDs.  When you're done reading
 
# files off a CD and want access to the next one, just call this function.
 
# Again, all the messy details of user interaction are taken care of for you.
 
# Once this returns, just read the variable CDROM_ROOT for the location of the
 
# mounted CD.  Note that you can only go forward in the CD list, so make sure
 
# you only call this function when you're done using the current CD.
 
cdrom_load_next_cd() {
 
	local var
 
	((++CDROM_CURRENT_CD))
 

	
 
	unset CDROM_ROOT
 
	var=CD_ROOT_${CDROM_CURRENT_CD}
 
	[[ -z ${!var} ]] && var="CD_ROOT"
 
	if [[ -z ${!var} ]] ; then
 
		var="CDROM_CHECK_${CDROM_CURRENT_CD}"
 
		_cdrom_locate_file_on_cd ${!var}
 
	else
 
		export CDROM_ROOT=${!var}
 
	fi
 

	
 
	einfo "Found CD #${CDROM_CURRENT_CD} root at ${CDROM_ROOT}"
 
}
 

	
 
# this is used internally by the cdrom_get_cds() and cdrom_load_next_cd()
 
# functions.  this should *never* be called from an ebuild.
 
# all it does is try to locate a give file on a cd ... if the cd isn't
 
# found, then a message asking for the user to insert the cdrom will be
 
# displayed and we'll hang out here until:
 
# (1) the file is found on a mounted cdrom
 
# (2) the user hits CTRL+C
 
_cdrom_locate_file_on_cd() {
 
	local mline=""
 
	local showedmsg=0 showjolietmsg=0
 

	
 
	while [[ -z ${CDROM_ROOT} ]] ; do
 
		local i=0
 
		local -a cdset=(${*//:/ })
 
		if [[ -n ${CDROM_SET} ]] ; then
 
			cdset=(${cdset[${CDROM_SET}]})
 
		fi
 

	
 
		while [[ -n ${cdset[${i}]} ]] ; do
 
			local dir=$(dirname ${cdset[${i}]})
 
			local file=$(basename ${cdset[${i}]})
 

	
 
			local point= node= fs= foo=
 
			while read point node fs foo ; do
 
				[[ " cd9660 iso9660 udf " != *" ${fs} "* ]] && \
 
					! [[ ${fs} == "subfs" && ",${opts}," == *",fs=cdfss,"* ]] \
 
					&& continue
 
				point=${point//\040/ }
 
				[[ ! -d ${point}/${dir} ]] && continue
 
				[[ -z $(find "${point}/${dir}" -maxdepth 1 -iname "${file}") ]] && continue
 
				export CDROM_ROOT=${point}
 
				export CDROM_SET=${i}
 
				export CDROM_MATCH=${cdset[${i}]}
 
				return
 
			done <<< "$(get_mounts)"
 

	
 
			((++i))
 
		done
 

	
 
		echo
 
		if [[ ${showedmsg} -eq 0 ]] ; then
 
			if [[ ${CDROM_TOTAL_CDS} -eq 1 ]] ; then
 
				if [[ -z ${CDROM_NAME} ]] ; then
 
					einfo "Please insert+mount the cdrom for ${PN} now !"
 
				else
 
					einfo "Please insert+mount the ${CDROM_NAME} cdrom now !"
 
				fi
 
			else
 
				if [[ -z ${CDROM_NAME_1} ]] ; then
 
					einfo "Please insert+mount cd #${CDROM_CURRENT_CD} for ${PN} now !"
 
				else
 
					local var="CDROM_NAME_${CDROM_CURRENT_CD}"
 
					einfo "Please insert+mount the ${!var} cdrom now !"
 
				fi
 
			fi
 
			showedmsg=1
 
		fi
 
		einfo "Press return to scan for the cd again"
 
		einfo "or hit CTRL+C to abort the emerge."
 
		echo
 
		if [[ ${showjolietmsg} -eq 0 ]] ; then
 
			showjolietmsg=1
 
		else
 
			ewarn "If you are having trouble with the detection"
 
			ewarn "of your CD, it is possible that you do not have"
 
			ewarn "Joliet support enabled in your kernel.  Please"
 
			ewarn "check that CONFIG_JOLIET is enabled in your kernel."
 
			ebeep 5
 
		fi
 
		read || die "something is screwed with your system"
 
	done
 
}
 

	
 
# @FUNCTION: strip-linguas
 
# @USAGE: [<allow LINGUAS>|<-i|-u> <directories of .po files>]
 
# @DESCRIPTION:
 
# Make sure that LINGUAS only contains languages that
 
# a package can support.  The first form allows you to
 
# specify a list of LINGUAS.  The -i builds a list of po
 
# files found in all the directories and uses the
 
# intersection of the lists.  The -u builds a list of po
 
# files found in all the directories and uses the union
 
# of the lists.
 
strip-linguas() {
 
	local ls newls nols
 
	if [[ $1 == "-i" ]] || [[ $1 == "-u" ]] ; then
 
		local op=$1; shift
 
		ls=$(find "$1" -name '*.po' -exec basename {} .po \;); shift
 
		local d f
 
		for d in "$@" ; do
 
			if [[ ${op} == "-u" ]] ; then
 
				newls=${ls}
 
			else
 
				newls=""
 
			fi
 
			for f in $(find "$d" -name '*.po' -exec basename {} .po \;) ; do
 
				if [[ ${op} == "-i" ]] ; then
 
					hasq ${f} ${ls} && newls="${newls} ${f}"
 
				else
 
					hasq ${f} ${ls} || newls="${newls} ${f}"
 
				fi
 
			done
 
			ls=${newls}
 
		done
 
	else
 
		ls="$@"
 
	fi
 

	
 
	nols=""
 
	newls=""
 
	for f in ${LINGUAS} ; do
 
		if hasq ${f} ${ls} ; then
 
			newls="${newls} ${f}"
 
		else
 
			nols="${nols} ${f}"
 
		fi
 
	done
 
	[[ -n ${nols} ]] \
 
		&& ewarn "Sorry, but ${PN} does not support the LINGUAs:" ${nols}
 
	export LINGUAS=${newls:1}
 
}
 

	
 
# @FUNCTION: preserve_old_lib
 
# @USAGE: <libs to preserve> [more libs]
 
# @DESCRIPTION:
 
# These functions are useful when a lib in your package changes ABI SONAME.
 
# An example might be from libogg.so.0 to libogg.so.1.  Removing libogg.so.0
 
# would break packages that link against it.  Most people get around this
 
# by using the portage SLOT mechanism, but that is not always a relevant
 
# solution, so instead you can call this from pkg_preinst.  See also the
 
# preserve_old_lib_notify function.
 
preserve_old_lib() {
 
	if [[ ${EBUILD_PHASE} != "preinst" ]] ; then
 
		eerror "preserve_old_lib() must be called from pkg_preinst() only"
 
		die "Invalid preserve_old_lib() usage"
 
	fi
 
	[[ -z $1 ]] && die "Usage: preserve_old_lib <library to preserve> [more libraries to preserve]"
 

	
 
	# let portage worry about it
 
	has preserve-libs ${FEATURES} && return 0
 

	
 
	local lib dir
 
	for lib in "$@" ; do
 
		[[ -e ${ROOT}/${lib} ]] || continue
 
		dir=${lib%/*}
 
		dodir ${dir} || die "dodir ${dir} failed"
 
		cp "${ROOT}"/${lib} "${D}"/${lib} || die "cp ${lib} failed"
 
		touch "${D}"/${lib}
 
	done
 
}
 

	
 
# @FUNCTION: preserve_old_lib_notify
 
# @USAGE: <libs to notify> [more libs]
 
# @DESCRIPTION:
 
# Spit helpful messages about the libraries preserved by preserve_old_lib.
 
preserve_old_lib_notify() {
 
	if [[ ${EBUILD_PHASE} != "postinst" ]] ; then
 
		eerror "preserve_old_lib_notify() must be called from pkg_postinst() only"
 
		die "Invalid preserve_old_lib_notify() usage"
 
	fi
 

	
 
	# let portage worry about it
 
	has preserve-libs ${FEATURES} && return 0
 

	
 
	local lib notice=0
 
	for lib in "$@" ; do
 
		[[ -e ${ROOT}/${lib} ]] || continue
 
		if [[ ${notice} -eq 0 ]] ; then
 
			notice=1
 
			ewarn "Old versions of installed libraries were detected on your system."
 
			ewarn "In order to avoid breaking packages that depend on these old libs,"
 
			ewarn "the libraries are not being removed.  You need to run revdep-rebuild"
 
			ewarn "in order to remove these old dependencies.  If you do not have this"
 
			ewarn "helper program, simply emerge the 'gentoolkit' package."
 
			ewarn
 
		fi
 
		ewarn "  # revdep-rebuild --library ${lib##*/}"
 
	done
 
	if [[ ${notice} -eq 1 ]] ; then
 
		ewarn
 
		ewarn "Once you've finished running revdep-rebuild, it should be safe to"
 
		ewarn "delete the old libraries.  Here is a copy & paste for the lazy:"
 
		for lib in "$@" ; do
 
			ewarn "  # rm '${lib}'"
 
		done
 
	fi
 
}
 

	
 
# @FUNCTION: built_with_use
 
# @USAGE: [--hidden] [--missing <action>] [-a|-o] <DEPEND ATOM> <List of USE flags>
 
# @DESCRIPTION:
 
# A temporary hack until portage properly supports DEPENDing on USE
 
# flags being enabled in packages.  This will check to see if the specified
 
# DEPEND atom was built with the specified list of USE flags.  The
 
# --missing option controls the behavior if called on a package that does
 
# not actually support the defined USE flags (aka listed in IUSE).
 
# The default is to abort (call die).  The -a and -o flags control
 
# the requirements of the USE flags.  They correspond to "and" and "or"
 
# logic.  So the -a flag means all listed USE flags must be enabled
 
# while the -o flag means at least one of the listed IUSE flags must be
 
# enabled.  The --hidden option is really for internal use only as it
 
# means the USE flag we're checking is hidden expanded, so it won't be found
 
# in IUSE like normal USE flags.
 
#
 
# Remember that this function isn't terribly intelligent so order of optional
 
# flags matter.
 
built_with_use() {
 
	local hidden="no"
 
	if [[ $1 == "--hidden" ]] ; then
 
		hidden="yes"
 
		shift
 
	fi
 

	
 
	local missing_action="die"
 
	if [[ $1 == "--missing" ]] ; then
 
		missing_action=$2
 
		shift ; shift
 
		case ${missing_action} in
 
			true|false|die) ;;
 
			*) die "unknown action '${missing_action}'";;
 
		esac
 
	fi
 

	
 
	local opt=$1
 
	[[ ${opt:0:1} = "-" ]] && shift || opt="-a"
 

	
 
	local PKG=$(best_version $1)
 
	[[ -z ${PKG} ]] && die "Unable to resolve $1 to an installed package"
 
	shift
 

	
 
	local USEFILE=${ROOT}/var/db/pkg/${PKG}/USE
 
	local IUSEFILE=${ROOT}/var/db/pkg/${PKG}/IUSE
 

	
 
	# if the IUSE file doesn't exist, the read will error out, we need to handle
 
	# this gracefully
 
	if [[ ! -e ${USEFILE} ]] || [[ ! -e ${IUSEFILE} && ${hidden} == "no" ]] ; then
 
		case ${missing_action} in
 
			true)	return 0;;
 
			false)	return 1;;
 
			die)	die "Unable to determine what USE flags $PKG was built with";;
 
		esac
 
	fi
 

	
 
	if [[ ${hidden} == "no" ]] ; then
 
		local IUSE_BUILT=( $(<"${IUSEFILE}") )
 
		# Don't check USE_EXPAND #147237
 
		local expand
 
		for expand in $(echo ${USE_EXPAND} | tr '[:upper:]' '[:lower:]') ; do
 
			if [[ $1 == ${expand}_* ]] ; then
 
				expand=""
 
				break
 
			fi
 
		done
 
		if [[ -n ${expand} ]] ; then
 
			if ! has $1 ${IUSE_BUILT[@]#[-+]} ; then
 
				case ${missing_action} in
 
					true)  return 0;;
 
					false) return 1;;
 
					die)   die "$PKG does not actually support the $1 USE flag!";;
 
				esac
 
			fi
 
		fi
 
	fi
 

	
 
	local USE_BUILT=$(<${USEFILE})
 
	while [[ $# -gt 0 ]] ; do
 
		if [[ ${opt} = "-o" ]] ; then
 
			has $1 ${USE_BUILT} && return 0
 
		else
 
			has $1 ${USE_BUILT} || return 1
 
		fi
 
		shift
 
	done
 
	[[ ${opt} = "-a" ]]
 
}
 

	
 
# @FUNCTION: epunt_cxx
 
# @USAGE: [dir to scan]
 
# @DESCRIPTION:
 
# Many configure scripts wrongly bail when a C++ compiler could not be
 
# detected.  If dir is not specified, then it defaults to ${S}.
 
#
 
# http://bugs.gentoo.org/73450
 
epunt_cxx() {
 
	local dir=$1
 
	[[ -z ${dir} ]] && dir=${S}
 
	ebegin "Removing useless C++ checks"
 
	local f
 
	find "${dir}" -name configure | while read f ; do
 
		patch --no-backup-if-mismatch -p0 "${f}" "${PORTDIR}/eclass/ELT-patches/nocxx/nocxx.patch" > /dev/null
 
	done
 
	eend 0
 
}
 

	
 
# @FUNCTION: make_wrapper
 
# @USAGE: <wrapper> <target> [chdir] [libpaths] [installpath]
 
# @DESCRIPTION:
 
# Create a shell wrapper script named wrapper in installpath
 
# (defaults to the bindir) to execute target (default of wrapper) by
 
# first optionally setting LD_LIBRARY_PATH to the colon-delimited
 
# libpaths followed by optionally changing directory to chdir.
 
make_wrapper() {
 
	local wrapper=$1 bin=$2 chdir=$3 libdir=$4 path=$5
 
	local tmpwrapper=$(emktemp)
 
	# We don't want to quote ${bin} so that people can pass complex
 
	# things as $bin ... "./someprog --args"
 
	cat << EOF > "${tmpwrapper}"
 
#!/bin/sh
 
cd "${chdir:-.}"
 
if [ -n "${libdir}" ] ; then
 
	if [ "\${LD_LIBRARY_PATH+set}" = "set" ] ; then
 
		export LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}:${libdir}"
 
	else
 
		export LD_LIBRARY_PATH="${libdir}"
 
	fi
 
fi
 
exec ${bin} "\$@"
 
EOF
 
	chmod go+rx "${tmpwrapper}"
 
	if [[ -n ${path} ]] ; then
 
		(
 
		exeinto "${path}"
 
		newexe "${tmpwrapper}" "${wrapper}"
 
		) || die
 
	else
 
		newbin "${tmpwrapper}" "${wrapper}" || die
 
	fi
 
}
eclass/pkgconfig.eclass
Show inline comments
 
new file 100644
 
# Originally written by Nathan Brink <ohnobinki@ohnopublishing.net>
 
# This is to assist with cross-compilation of win32 stuff (like sdl-image) into /usr/mingw32
 

	
 
PKG_CONFIG_SYSROOT_DIR="${ROOT}"
 
PKG_CONFIG_LIBDIR="${ROOT}/usr/lib/pkgconfig"
 
export PKG_CONFIG_SYSROOT_DIR
 
export PKG_CONFIG_LIBDIR
mail-client/squirrelmail/Manifest
Show inline comments
 
new file 100644
 
AUX ldapuserdata-0.4-gentoo.patch 709 RMD160 a7b5fe1aba60530c193919ecb6b213cdd57dddf8 SHA1 99f5dd6f4e9666d6d3915c3e52c2694d1dc06a9e SHA256 bff9cf8e7518df983b03b3f4e7f10fcf31fb75f6d73afb21c8923f2a8312b4a3
 
AUX postinstall-en.txt 698 RMD160 7f3b2cfad0cb7c0eef53ecd7ecb49553217d55e7 SHA1 550846016b3ae303e121f87d3cfae0a8ddc754cf SHA256 4e3702651bb5cce4cc517a2b2bed3e71b137167645138bc72c0cedab4ba98da3
 
AUX squirrelmail-1.5.1-CVE-2006-4019.patch 5700 RMD160 df10659c55104f8fe55cd95bcd8abd23dac35975 SHA1 c7690f5d73e9ae09eb2d6318fe592f09ee1c305d SHA256 aac26b5776eeca4b51145d77457846c868d6a1c7fabdea911c2644e04f0be764
 
AUX squirrelmail-1.5.1-CVE-2006-6142-draft_composesess.patch 958 RMD160 6288a1d80179dbdac203d1124ab250b1734d4442 SHA1 740114fd509c286a128696fd36a6e418030a9bc5 SHA256 c68d8ca47259b1a50bf5a3a07949e87141412026f74f7e1d27ca1665efc45b88
 
AUX squirrelmail-1.5.1-CVE-2006-6142-mailto.patch 5995 RMD160 a09d7c2e4f7e1f39902dbc940a485de2f39dc628 SHA1 8384078f17a17a86319205b7b1a183a4858ef810 SHA256 699277c6940c416a00ee0c8842ea48511d09ef5f6cb1186212d9655c44022045
 
AUX squirrelmail-1.5.1-CVE-2006-6142-mime.patch 8303 RMD160 148329799b4bd20c06cf6fcd00003b3a107c1991 SHA1 d3a2f94ee20ea52ed3063af496adb7db7d04ce70 SHA256 c63f8efc2da9877f8140e9aef71417b76207678b04152bd85bf41400aeb37700
 
AUX squirrelmail-1.5.1-CVE-2007-1262.patch 22044 RMD160 8928a6a3e6faa94c221c660667a31a5af15e4191 SHA1 4ac6c5bdeea499c141f3affd1a38987d244b3252 SHA256 cb5982199e420960504d20625cdbb569ca7877c8aabe61e3334b3d19ccc90ccb
 
AUX squirrelmail-1.5.1-ie-mime.patch 1832 RMD160 01ecbf3469c85704c4a6ea97eb938515b73d419e SHA1 f8d46fa43280b421521fde1e29108211a1eb2bd4 SHA256 cca4c684692dbf64f38afcfaabb0568a557f773eb7f52fc5f06a59d17722fa11
 
AUX squirrelmail-1.5.1-sqimap_get_message.patch 672 RMD160 ba2d4c3f03c08d173329511b5142874254cf7be4 SHA1 2b9f57074b56fd4821536fc6787c7c1576878d1e SHA256 f30957b4c3966e678fed5b86c6ecd2164f7b7ba45c92fb2552f5bb1636b5837b
 
AUX squirrelmail-gpg-2.1-CVE-2005-1924.patch 1484 RMD160 59f2fb52b9c72ff2556cc26fa97b877562e6785c SHA1 93fef3df6ec4319743a54d8e0ed01204bd3d772a SHA256 397f6c94bd4a3a7a42ff024af9f7ecc4c83576342f7db1998d290366c286cc90
 
DIST admin_add.0.1-1.4.0.tar.gz 2388 RMD160 6847934c59ae73119a796c6fef251de26a2ea531 SHA1 9265289ac5b67549590e82d10560d05295a8a5e6 SHA256 25ec999eea098a509f7d49cfe368b0557b64c698f86b2a2c951617f67735dabc
 
DIST all_locales-1.4.9-20070106.tar.bz2 2699569 RMD160 9da0e3df1bc5a89b861f7dd9ac244a3885a45417 SHA1 d187a9b77384b398a0945f51aaaf248379fdfa15 SHA256 04ad3e37042deb8c5668946c3364cd53d9c30b2486f24deee4d71c05fa584423
 
DIST amavisnewsql-0.8.0-1.4.tar.gz 101008 RMD160 72b796565f128354c51e8a04384e49621371cf16 SHA1 29bfa703c047cf5416e4062198ed7c267ef6bbfa SHA256 f9ef453f80e0a44a22c695712b44af935f6d1a505239bd0cb6470fc27608041c
 
DIST compatibility-2.0.8-1.0.tar.gz 32254 RMD160 14060c2f6a1d7f2fafc753a57a52d9dc0a333472 SHA1 0ad26d23ba4a0832f26414dafaa38bf3e63e3e05 SHA256 d3cde09dee0470091d651fdc907f80ff16f3189482beed822e421f2b3283d4f6
 
DIST gpg-2.1.tar.gz 539562 RMD160 aeecb1ae1d2021677c19923532e94f9d81794c57 SHA1 6d64a5d2de9ede7b5729a998982e83297f1cb274 SHA256 639aef199f9ccd96817f8c04b5d130f1206e5181204915923ee3d0d420459573
 
DIST ldapuserdata-0.4.tar.gz 67439 RMD160 6f7fa3eab6eb2877057fc4d9d360da2e10858ba6 SHA1 b2ad3425607be839e3e4b9cc212b9c8a40ff439b SHA256 ee10b97e99c35b0656e7e87f60785408f3d26a53ee2a0107d8aa04f7947c3ff7
 
DIST retrieveuserdata.0.9-1.4.0.tar.gz 10448 RMD160 942d073f86947295ed069ed04e4fc268857932af SHA1 f91b763293f7777799d46f161aace891ff6f612a SHA256 086796d858e781c518b538b37e9ec011d51a2aebd6d14aeba1aa330b58626b8d
 
DIST secure_login-1.3-1.2.8.tar.gz 16075 RMD160 1c8ef7f0f02846f59c9088f4703748d99bcd4c77 SHA1 c15f1b49810b2bb96086635e3f5c21d081a5a099 SHA256 0c44112114e1d3f2b8615b5b586631fb50fb1877037a438c37f4b890f46b0ccc
 
DIST show_ssl_link-2.2-1.2.8.tar.gz 13193 RMD160 8e0669c674453cab31b0493ab1404e0a0097ad8d SHA1 39073e417ce28080f9206d068cbfa4161284be3e SHA256 70ecefc01003fd5dddc13e6dd7bf4e6ab4663426a9990c894e353fb96ebb4a1a
 
DIST squirrelmail-1.4.10a.tar.bz2 484523 RMD160 4337f99575e1ada931cea461679b96acd5b4901d SHA1 b8a84e1fb69b6922c6bf817015201d57a82aa843 SHA256 b5e047c0a32b758b67e15772dc9c467d0ee830372858f7b9442a9a6aa6caf854
 
DIST squirrelmail-decode-1.2.tar.bz2 333942 RMD160 a217662f923a7e2129e293c6bf806dd0c21dab0b SHA1 90439c4644fd99b7ca4208b441ee0a2c2efa2308 SHA256 72750301b83ee23fffe32ae40a3dec33ad4f39abf81c5abdd38f235aab3fcb26
 
EBUILD squirrelmail-1.4.10a-r2.ebuild 6060 RMD160 c8941950f4e88f5f346e1444876b66ff94b01a00 SHA1 def4672136caadebf2e0a30ccf4b2a9944df8dbc SHA256 dcc64d677080b32767decec779c7705816a8f39bd4cdf2d89aa860c500bdf74a
mail-client/squirrelmail/files
Show inline comments
 
new file 120000
 
/usr/portage/mail-client/squirrelmail/files/
 
\ No newline at end of file
mail-client/squirrelmail/squirrelmail-1.4.10a-r2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/squirrelmail-1.4.10a-r2.ebuild,v 1.8 2008/01/10 17:06:36 alonbl Exp $
 

	
 
IUSE="crypt ldap spell ssl filter mysql postgres nls"
 

	
 
inherit webapp eutils
 

	
 
DESCRIPTION="Webmail for nuts!"
 

	
 
# Plugin Versions
 
COMPATIBILITY_VER=2.0.8-1.0
 
USERDATA_VER=0.9-1.4.0
 
ADMINADD_VER=0.1-1.4.0
 
AMAVIS_VER=0.8.0-1.4
 
GPG_VER=2.1
 
LDAP_USERDATA_VER=0.4
 
SECURELOGIN_VER=1.3-1.2.8
 
SHOWSSL_VER=2.2-1.2.8
 
LOCALES_VER=1.4.9-20070106
 
DECODING_VER=1.2
 

	
 
MY_P=${P/_rc/-RC}
 
S="${WORKDIR}/${MY_P}"
 

	
 
PLUGINS_LOC="http://www.squirrelmail.org/plugins"
 
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2
 
	mirror://sourceforge/${PN}/squirrelmail-decode-${DECODING_VER}.tar.bz2
 
	mirror://sourceforge/retruserdata/retrieveuserdata.${USERDATA_VER}.tar.gz
 
	${PLUGINS_LOC}/compatibility-${COMPATIBILITY_VER}.tar.gz
 
	ssl? ( ${PLUGINS_LOC}/secure_login-${SECURELOGIN_VER}.tar.gz )
 
	ssl? ( ${PLUGINS_LOC}/show_ssl_link-${SHOWSSL_VER}.tar.gz )
 
	${PLUGINS_LOC}/admin_add.${ADMINADD_VER}.tar.gz
 
	filter? ( ${PLUGINS_LOC}/amavisnewsql-0.8.0-1.4.tar.gz )
 
	crypt? ( ${PLUGINS_LOC}/gpg-${GPG_VER}.tar.gz )
 
	ldap? ( ${PLUGINS_LOC}/ldapuserdata-${LDAP_USERDATA_VER}.tar.gz )
 
	nls? ( mirror://sourceforge/${PN}/all_locales-${LOCALES_VER}.tar.bz2 )"
 

	
 
HOMEPAGE="http://www.squirrelmail.org/"
 

	
 
LICENSE="GPL-2"
 
KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
 

	
 
DEPEND=""
 

	
 
RDEPEND="virtual/php
 
	virtual/perl-DB_File
 
	crypt? ( app-crypt/gnupg )
 
	ldap? ( net-nds/openldap )
 
	spell? ( || ( app-text/aspell app-text/ispell ) )
 
	filter? ( mail-filter/amavisd-new dev-php/PEAR-Log dev-php/PEAR-DB dev-php/PEAR-Net_SMTP )
 
	postgres? ( dev-php/PEAR-DB )
 
	mysql? ( dev-php/PEAR-DB )"
 

	
 
src_unpack() {
 
	unpack ${MY_P}.tar.bz2
 
	unpack squirrelmail-decode-${DECODING_VER}.tar.bz2
 

	
 
	cd ${S}
 

	
 
	mv config/config_default.php config/config.php
 

	
 
	sed -i "s:'/var/local/squirrelmail/data/':SM_PATH . 'data/':" config/config.php
 

	
 
	# Now do the plugins
 
	cd ${S}/plugins
 

	
 
	sed -i 's:/usr/games/fortune:/usr/bin/fortune:g' fortune/setup.php || die "Unable to fix fortunes plugin."
 

	
 
	unpack compatibility-${COMPATIBILITY_VER}.tar.gz
 

	
 
	unpack admin_add.${ADMINADD_VER}.tar.gz
 

	
 
	unpack retrieveuserdata.${USERDATA_VER}.tar.gz
 

	
 
	use filter &&
 
		unpack amavisnewsql-${AMAVIS_VER}.tar.gz &&
 
		mv amavisnewsql/config.php.dist amavisnewsql/config.php
 

	
 
	use crypt &&
 
		unpack gpg-${GPG_VER}.tar.gz
 

	
 
	use ldap &&
 
		unpack ldapuserdata-${LDAP_USERDATA_VER}.tar.gz &&
 
		epatch ${FILESDIR}/ldapuserdata-${LDAP_USERDATA_VER}-gentoo.patch &&
 
		mv ldapuserdata/config_sample.php ldapuserdata/config.php
 

	
 
	use ssl &&
 
		unpack secure_login-${SECURELOGIN_VER}.tar.gz &&
 
		mv secure_login/config.sample.php secure_login/config.php &&
 
		unpack show_ssl_link-${SHOWSSL_VER}.tar.gz &&
 
		mv show_ssl_link/config.php.sample show_ssl_link/config.php
 

	
 
	use nls &&
 
		cd ${S} &&
 
		unpack all_locales-${LOCALES_VER}.tar.bz2
 

	
 
	cd ${S}
 
	use crypt && epatch ${FILESDIR}/squirrelmail-gpg-2.1-CVE-2005-1924.patch
 
}
 

	
 
src_compile() {
 
	#we need to have this empty function ... default compile hangs
 
	echo "Nothing to compile"
 
}
 

	
 
src_install() {
 
	webapp_src_preinst
 

	
 
	# handle documentation files
 
	#
 
	# NOTE that doc files go into /usr/share/doc as normal; they do NOT
 
	# get installed per vhost!
 

	
 
	for doc in AUTHORS COPYING ChangeLog INSTALL README ReleaseNotes UPGRADE; do
 
		dodoc ${doc}
 
		rm -f ${doc}
 
	done
 

	
 
	docinto compatibility
 
	for doc in plugins/compatibility/INSTALL plugins/compatibility/README; do
 
		dodoc ${doc}
 
		rm -f ${doc}
 
	done
 

	
 
	docinto admin_add
 
	for doc in plugins/admin_add/README; do
 
		dodoc ${doc}
 
		rm -f ${doc}
 
	done
 

	
 
	docinto retrieveuserdata
 
	for doc in plugins/retrieveuserdata/INSTALL plugins/retrieveuserdata/changelog plugins/retrieveuserdata/users_example.txt; do
 
		dodoc ${doc}
 
		rm -f ${doc}
 
	done
 

	
 
	if use filter; then
 
		docinto amavisnewsql
 
		for doc in plugins/amavisnewsql/{CHANGELOG,README,UPGRADE}; do
 
			dodoc ${doc}
 
			rm -f ${doc}
 
		done
 
	fi
 

	
 
	if use crypt; then
 
		docinto gpg
 
		for doc in plugins/gpg/README plugins/gpg/README.txt plugins/gpg/INSTALL plugins/gpg/INSTALL.txt plugins/gpg/TODO; do
 
			dodoc ${doc}
 
			rm -f ${doc}
 
		done
 
	fi
 

	
 
	if use ldap; then
 
		rm plugins/ldapuserdata/README
 
		docinto ldapuserdata
 
		for doc in plugins/ldapuserdata/doc/README; do
 
			dodoc ${doc}
 
			rm -f ${doc}
 
		done
 
	fi
 

	
 
	if use ssl; then
 
		docinto secure_login
 
		for doc in plugins/secure_login/INSTALL plugins/secure_login/README; do
 
			dodoc ${doc}
 
			rm -f ${doc}
 
		done
 

	
 
		docinto show_ssl_link
 
		for doc in plugins/show_ssl_link/INSTALL plugins/show_ssl_link/README; do
 
			dodoc ${doc}
 
			rm -f ${doc}
 
		done
 
	fi
 

	
 
	# Copy the app's main files
 
	einfo "Installing squirrelmail files."
 
	cp -r . ${D}${MY_HTDOCSDIR}
 

	
 
	cp ${WORKDIR}/squirrelmail-decode-${DECODING_VER}/*/*.php ${D}${MY_HTDOCSDIR}/functions/decode
 

	
 
	# Identify the configuration files that this app uses
 
	local configs="config/config.php config/config_local.php plugins/retrieveuserdata/config.php"
 
	use filter && configs="${configs} plugins/amavisnewsql/config.php"
 
	use crypt && configs="${configs} plugins/gpg/gpg_local_prefs.txt"
 
	use ldap && configs="${configs} plugins/ldapuserdata/config.php"
 
	use ssl && configs="${configs} plugins/show_ssl_link/config.php plugins/secure_login/config.php"
 

	
 
	for file in ${configs}; do
 
		webapp_configfile ${MY_HTDOCSDIR}/${file}
 
	done
 

	
 
	# Identify any script files that need #! headers adding to run under
 
	# a CGI script (such as PHP/CGI)
 
	#
 
	# for phpmyadmin, we *assume* that all .php files that don't end in
 
	# .inc.php need to have CGI/BIN support added
 

	
 
	#for x in `find . -name '*.php' -print | grep -v 'inc.php'` ; do
 
	#	webapp_runbycgibin php ${MY_HTDOCSDIR}/$x
 
	#done
 

	
 
	local server_owned="data index.php"
 
	for file in ${server_owned}; do
 
		webapp_serverowned ${MY_HTDOCSDIR}/${file}
 
	done
 

	
 
	# add the post-installation instructions
 
	webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
 

	
 
	# all done
 
	#
 
	# now we let the eclass strut its stuff ;-)
 

	
 
	webapp_src_install
 
}
mail-filter/spamass-milter/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for mail-filter/spamass-milter
 
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamass-milter/ChangeLog,v 1.19 2007/08/29 17:18:46 phreak Exp $
 

	
 
  29 Aug 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
 
  Removing gustavoz from metadata due to his retirement (see #36010 for
 
  reference).
 

	
 
  18 Mar 2007; Marius Mauch <genone@gentoo.org>
 
  spamass-milter-0.3.1-r1.ebuild:
 
  Replacing einfo with elog
 

	
 
  22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
 
  Transition to Manifest2.
 

	
 
  03 Jul 2006; Gustavo Zacarias <gustavoz@gentoo.org>
 
  -files/spamass-milter.conf, -files/spamass-milter.rc,
 
  -spamass-milter-0.3.0.ebuild, -spamass-milter-0.3.1.ebuild:
 
  Remove old
 

	
 
  12 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org>
 
  spamass-milter-0.3.1-r1.ebuild:
 
  Stable on x86 wrt bug #135829.
 

	
 
  06 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org>
 
  spamass-milter-0.3.1-r1.ebuild:
 
  Stable on sparc
 

	
 
*spamass-milter-0.3.1-r1 (29 May 2006)
 

	
 
  29 May 2006; Gustavo Zacarias <gustavoz@gentoo.org> files/README.gentoo,
 
  +files/spamass-milter.conf2, +files/spamass-milter.rc2,
 
  +spamass-milter-0.3.1-r1.ebuild:
 
  Revamped initscript and config with dropped privs and options, see #134258
 
  and #134118
 

	
 
*spamass-milter-0.3.1 (05 Apr 2006)
 

	
 
  05 Apr 2006; Gustavo Zacarias <gustavoz@gentoo.org>
 
  +spamass-milter-0.3.1.ebuild:
 
  New rev for SA 3.1.1
 

	
 
  22 Feb 2006; Gustavo Zacarias <gustavoz@gentoo.org>
 
  -spamass-milter-0.2.0.ebuild, spamass-milter-0.3.0.ebuild:
 
  Remove old and ebuild cleanup
 

	
 
  13 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org>
 
  spamass-milter-0.3.0.ebuild:
 
  Addded ~amd64 thanks to Burdeiny Michael
 

	
 
  18 Apr 2005; David Holm <dholm@gentoo.org> spamass-milter-0.3.0.ebuild:
 
  Who removed ~ppc?!
 

	
 
  07 Mar 2005; Gustavo Zacarias <gustavoz@gentoo.org>
 
  spamass-milter-0.3.0.ebuild:
 
  Stable on sparc, x86
 

	
 
*spamass-milter-0.3.0 (09 Feb 2005)
 

	
 
  09 Feb 2005; Gustavo Zacarias <gustavoz@gentoo.org> metadata.xml,
 
  +spamass-milter-0.3.0.ebuild:
 
  New upstream wrt #57275, taking over maintainership too
 

	
 
  27 Aug 2004; David Holm <dholm@gentoo.org> spamass-milter-0.2.0.ebuild:
 
  Added to ~ppc.
 

	
 
  26 Jun 2004; Jason Wever <weeve@gentoo.org> spamass-milter-0.2.0.ebuild:
 
  Stable on sparc.
 

	
 
  03 Jun 2004; Seemant Kulleen <seemant@gentoo.org>
 
  spamass-milter-0.2.0.ebuild:
 
  Change dev-perl/Mail-SpamAssassin to mail-filter/spamassassin in DEPEND strings
 

	
 
*spamass-milter-0.2.0 (03 Jun 2004)
 

	
 
  03 Jun 2004; Seemant Kulleen <seemant@gentoo.org> +metadata.xml,
 
  +files/README.gentoo, +files/spamass-milter.conf, +files/spamass-milter.rc,
 
  +spamass-milter-0.2.0.ebuild:
 
  Moved from net-mail/spamass-milter to mail-filter/spamass-milter.
 

	
 
*spamass-milter-0.2.0 (16 Jul 2003)
 

	
 
  16 Jul 2003; Nick Hadaway <raker@gentoo.org> spamass-milter-0.2.0.ebuild,
 
  files/README.gentoo, files/spamass-milter.conf, files/spamass-milter.rc:
 
  Original ebuild idea submitted by Vadim Kuznetsov on bug #23136.  I have
 
  added a proper README.gentoo for final configuration instructions.
mail-filter/spamass-milter/Manifest
Show inline comments
 
new file 100644
 
AUX README.gentoo 1680 RMD160 db0fa0f42f83626d9a62a6d3fdb9b69ff67b1967 SHA1 1241d8eb3be3d19cf2cecd572b58510a942ee652 SHA256 3ae980f0f8f6c82e2ae8a0677751275e0467e9c1f33b1a835a964a2ee3e80bbf
 
AUX spamass-milter.conf3 788 RMD160 6cfef6ac218dfb222f160ab7152756a4c841bb1f SHA1 afde8e6a8fd19f4307630d1a8dd859bd572f763a SHA256 7b5a377a6148a603e8aca5699badf957f7a4307b688da9295f80ba6355261ac7
 
AUX spamass-milter.rc3 926 RMD160 916351333d30f022814bcee7d25a3efe35ace105 SHA1 ec4d1da9a84aadb998f45cf76d8f6b0e9979e1cc SHA256 a0e7865f1dfb14a6f905253d9e3761b6cb5d8ed5a4ce5ab2edfae7f4f753111f
 
DIST spamass-milter-0.3.1.tar.bz2 116591 RMD160 49946c80ac99e04190981cd6c8de12ef54f0619d SHA1 71f8f2d56baf47058789c61e76c5cffd4046da5a SHA256 d7423835af7bb9cdf97bba7f31c5bea197dc86a600133d354aa6083bf1bbd24c
 
EBUILD spamass-milter-0.3.1-r2.ebuild 1147 RMD160 ef9f61d53d049083304ba20ee56b7ba8f2d74ec6 SHA1 30bcf1c8f612989373f0192a0d98dd63410b8e5e SHA256 5a27a7b815645078fc75197193436a72288e52a6a0f7aeec2f5e1458f2f175f1
 
MISC ChangeLog 3088 RMD160 00a920e287aadafbc36f23f0a1010e5cd522d8ce SHA1 99d6ea7e758fec8de9c1757006bf5c831bf7b135 SHA256 72c9cc86d2999d3b04370832cca9d09c71738a5c72a9e3f26882b3cf62484a44
 
MISC metadata.xml 162 RMD160 fd38b82541901b3c6df18b630d79fe7883ae3f01 SHA1 e6aecefcc2137d6047cedfe447686775ab59cb48 SHA256 569031668e39895fb20829fb17a49a91a83e8f41b2195b0f04825c4340d2af6b
mail-filter/spamass-milter/files/README.gentoo
Show inline comments
 
new file 100644
 
Simple install instructions by raker @ g.o
 
updates by gustavoz
 
updates by SteveB
 
---------------------------------------------------------------
 

	
 
For Sendmail:
 
-------------
 
Add these lines in /etc/mail/sendmail.mc before MAILER(local):
 
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl
 
define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl
 
define(`confMILTER_MACROS_ENVRCPT',`r, v, Z')
 

	
 
When that's done run this command:
 
	m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
 

	
 
Restart associated services:
 
	/etc/init.d/sendmail stop
 
	/etc/init.d/spamass-milter start
 
	/etc/init.d/sendmail start
 

	
 
OPTIONAL: To run it automatically after booting:
 
	rc-update add spamass-milter default
 
	rc-update add sendmail default
 

	
 

	
 
For Postfix >= 2.3.0 and < 2.4.0:
 
---------------------------------
 
Add those lines to /etc/postfix/main.cf:
 
smtpd_milters = unix:/var/run/milter/spamass-milter.sock
 
milter_end_of_data_macros = b i j _ {daemon_name} {if_name} {if_addr} {mail_addr}
 
milter_default_action = accept
 

	
 
Change in /etc/conf.d/spamass-milter the socket group owner to mail:
 
SOCKET_GROUP="mail"
 

	
 
Change in /etc/conf.d/spamass-milter the options for spamass-milter to include "-m":
 
OPTIONS="${OPTIONS} -m"
 

	
 
Restart associated services:
 
	/etc/init.d/postfix stop
 
	/etc/init.d/spamass-milter start
 
	/etc/init.d/postfix start
 

	
 
OPTIONAL: To run it automatically after booting:
 
	rc-update add spamass-milter default
 
	rc-update add postfix default
 

	
 

	
 
For Postfix >= 2.4.0:
 
---------------------
 
Same settings as for Postfix >= 2.3.0 (see above) but you can now use the option "-m"
 
in /etc/conf.d/spamass-milter.
mail-filter/spamass-milter/files/spamass-milter.conf3
Show inline comments
 
new file 100644
 
# Copyright 1999-2006 Gentoo Technologies, Inc.
 
# Distributed under the terms of the GNU General Public License, v2 or later
 
# $Header: Exp $
 

	
 
DAEMON=/usr/sbin/spamass-milter
 
SOCKET=/var/run/milter/spamass-milter.sock
 
PIDFILE=/var/run/milter/spamass-milter.pid
 

	
 
# User owning the socket
 
SOCKET_USER="milter"
 

	
 
# Group owning the socket
 
# Note: Change this to mail if you run Postfix
 
SOCKET_GROUP="milter"
 

	
 
# Permission for the socket
 
SOCKET_MODE="664"
 

	
 
# spamass-milter options
 
OPTIONS=""
 

	
 
# Example: Reject mails above score 20
 
#OPTIONS="${OPTIONS} -r 20"
 

	
 
# Example: Do not modify mail body
 
# NOTE: This needs to be enabled if you use Postfix >= 2.3.0 and < 2.4.0
 
#OPTIONS="${OPTIONS} -m"
 

	
 
# Example: Pass the remaining flags to spamc
 
#OPTIONS="${OPTIONS} -- --headers --username spamc"
mail-filter/spamass-milter/files/spamass-milter.rc3
Show inline comments
 
new file 100755
 
#!/sbin/runscript
 
# Copyright 1999-2006 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: Exp $
 

	
 
depend() {
 
	need net spamd
 
	use logger
 
	before mta
 
}
 

	
 
start() {
 
	ebegin "Starting spamass-milter"
 
	start-stop-daemon --start --quiet --pidfile ${PIDFILE} -c ${SOCKET_USER:-milter}:${SOCKET_GROUP:-milter} \
 
		--exec ${DAEMON} -- -P ${PIDFILE} -p ${SOCKET} -f ${OPTIONS}
 
	eend $? "Failed to start ${DAEMON}"
 
	for ((spamass_timeout=0 ; spamass_timeout <= 20 ; spamass_timeout++))
 
	do
 
		if [ ! -S "${SOCKET}" -o ! -r "${SOCKET}" ]
 
		then
 
			sleep 1
 
		else
 
			break
 
		fi
 
	done
 
	chown ${SOCKET_USER:-milter}:${SOCKET_GROUP:-milter} ${SOCKET} 1>/dev/null 2>&1
 
	chmod ${SOCKET_MODE:-664} ${SOCKET} 1>/dev/null 2>&1
 
}
 

	
 
stop() {
 
	ebegin "Stopping spamass-milter"
 
	start-stop-daemon --stop --quiet --pidfile ${PIDFILE} &&
 
	{
 
		sleep 5
 
		rm -f ${SOCKET}
 
	}
 
	eend $? "Failed to stop ${DAEMON}"
 
}
mail-filter/spamass-milter/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>net-mail</herd>
 
</pkgmetadata>
mail-filter/spamass-milter/spamass-milter-0.3.1-r2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: Exp $
 

	
 
inherit eutils
 

	
 
IUSE=""
 

	
 
DESCRIPTION="A milter for SpamAssassin"
 
HOMEPAGE="http://savannah.nongnu.org/projects/spamass-milt/"
 
SRC_URI="http://savannah.nongnu.org/download/spamass-milt/${P}.tar.bz2"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="amd64 ~ppc sparc x86"
 

	
 
DEPEND=">=sys-devel/autoconf-2.57
 
	>=sys-devel/automake-1.7.2"
 
RDEPEND="mail-filter/libmilter
 
	>=mail-filter/spamassassin-3.1.0"
 

	
 
pkg_setup() {
 
	enewgroup milter
 
	enewuser milter -1 -1 /var/milter milter
 
}
 

	
 
src_install() {
 
	make DESTDIR=${D} install || die
 

	
 
	newinitd ${FILESDIR}/spamass-milter.rc3 spamass-milter
 
	newconfd ${FILESDIR}/spamass-milter.conf3 spamass-milter
 
	dodir /var/run/milter
 
	keepdir /var/run/milter
 
	fowners milter:milter /var/run/milter
 
	dodir /var/milter
 
	keepdir /var/milter
 
	fowners milter:milter /var/milter
 

	
 
	dodoc AUTHORS NEWS README ChangeLog ${FILESDIR}/README.gentoo
 
}
 

	
 
pkg_postinst() {
 
	elog
 
	elog "Documentation is in /usr/share/doc/${P}"
 
	elog "Check README.gentoo.gz there for some basic gentoo installation instructions"
 
	elog
 
}
media-gfx/povray/Manifest
Show inline comments
 
new file 100644
 
AUX povray-3.7.0_beta28-betacode.patch 821 RMD160 8e3e38dd79ee145b6ff819c6aaedbd199fd0adf9 SHA1 2bfd0d6e73a04cd716cf84a1830effe62fbf1650 SHA256 1bfea3cafda7444184c2843308e78e2204b76d2267af5a4e6f71f655b3146f8c
 
DIST povray-src-3.7.0.beta.28.tar.bz2 6892500 RMD160 0d332fba6adfa9e1875d95da266f94646f2898c7 SHA1 4a4933f239157180eb19de6076bfc137f14d934f SHA256 b0483cf01685871020a0b7aa764831aa63aa0caffbc7839014f4468e698974fd
 
EBUILD povray-3.7.0_beta28.ebuild 3024 RMD160 160fa0ec63f23349eb0bd087ccbb2a74db024953 SHA1 d5be2770fb9a5dc8d1e2ad239b88a316db17b838 SHA256 5b13d773fd32e03b07e771c9c59c68918442c36cb254331d4b76d16642e85b07
media-gfx/povray/files/povray-3.7.0_beta28-betacode.patch
Show inline comments
 
new file 100644
 
This code allows POV-Ray to complain about "beta out of date", but stops it from exit(int)'ing
 
--- povray-3.7.0.beta.28/vfe/unix/unixconsole.cpp	2008-08-04 12:52:56.000000000 -0400
 
+++ /tmp/buffer-content-10089Ugl	2008-09-26 22:03:58.000000000 -0400
 
@@ -272,7 +272,7 @@
 
 				if (argv[i] != NULL && strcmp(argv[i], "--betacode") == 0)
 
 				{
 
 					fprintf(stderr, "%d\n", current_code);
 
-					exit(RETURN_OK);
 
+					//exit(RETURN_OK);
 
 				}
 
 			const char *beta_code = getenv("POVRAY_BETA");
 
 			if (beta_code != NULL)
 
@@ -285,7 +285,7 @@
 
 				PACKAGE,
 
 				current_week < 52 ? "has expired" : "is over twelve months old and is no longer usable"
 
 			);
 
-			exit(RETURN_ERROR);
 
+			//exit(RETURN_ERROR);
 
 		}
 
 		current_time = EXPIRE_AT + (current_week+1)*spw - current_time;
 
 	}
 

	
 
Diff finished.  Fri Sep 26 22:03:58 2008
media-gfx/povray/povray-3.7.0_beta28.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/povray-3.7.0_beta25-r1.ebuild,v 1.3 2008/09/12 05:17:50 lavajoe Exp $
 

	
 
inherit eutils autotools flag-o-matic versionator
 

	
 
MY_PV=$(get_version_component_range 1-3)
 
MY_MINOR_VER=$(get_version_component_range 4)
 
if [ -n "$MY_MINOR_VER" ]; then
 
	MY_MINOR_VER=${MY_MINOR_VER/beta/beta.}
 
	MY_PV="${MY_PV}.${MY_MINOR_VER}"
 
fi
 

	
 
DESCRIPTION="The Persistence of Vision Raytracer"
 
HOMEPAGE="http://www.povray.org/"
 
SRC_URI="http://www.povray.org/beta/source/${PN}-src-${MY_PV}.tar.bz2"
 

	
 
LICENSE="povlegal-3.6"
 
SLOT="0"
 
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
 
IUSE="svga tiff X"
 

	
 
DEPEND="media-libs/libpng
 
	tiff? ( >=media-libs/tiff-3.6.1 )
 
	media-libs/jpeg
 
	sys-libs/zlib
 
	X? ( x11-libs/libXaw )
 
	svga? ( media-libs/svgalib )
 
	>=dev-libs/boost-1.33"
 

	
 
S="${WORKDIR}/${PN}-${MY_PV}"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 

	
 
	epatch "${FILESDIR}"/${P}-betacode.patch
 

	
 
	# Change some destination directories that cannot be adjusted via configure
 
	cp configure.ac configure.ac.orig
 
	sed -i -e 's:${povsysconfdir}/$PACKAGE/$VERSION_BASE:${povsysconfdir}/'${PN}':g' configure.ac
 
	sed -i -e 's:${povdatadir}/$PACKAGE-$VERSION_BASE:${povdatadir}/'${PN}':g' configure.ac
 
	sed -i -e 's:${povdatadir}/doc/$PACKAGE-$VERSION_BASE:${povdatadir}/doc/'${PF}':g' configure.ac
 

	
 
	cp Makefile.am Makefile.am.orig
 
	sed -i -e "s:^povlibdir = .*:povlibdir = @datadir@/${PN}:" Makefile.am
 
	sed -i -e "s:^povdocdir = .*:povdocdir = @datadir@/doc/${PF}:" Makefile.am
 
	sed -i -e "s:^povconfdir = .*:povconfdir = @sysconfdir@/${PN}:" Makefile.am
 

	
 
	eautoreconf
 
}
 

	
 
src_compile() {
 
	# Fixes bug 71255
 
	if [[ $(get-flag march) == k6-2 ]]; then
 
		filter-flags -fomit-frame-pointer
 
	fi
 

	
 
	# The config files are installed correctly (e.g. povray.conf),
 
	# but the code compiles using incorrect [default] paths
 
	# (based on /usr/local...), so povray will not find the system
 
	# config files without the following fix:
 
	append-flags -DPOVLIBDIR=\\\"${ROOT}usr/share/${PN}\\\"
 
	append-flags -DPOVCONFDIR=\\\"${ROOT}etc/${PN}\\\"
 

	
 
	econf \
 
		COMPILED_BY="Portage (Gentoo `uname`) on `hostname -f`" \
 
		$(use_with svga) \
 
		$(use_with tiff) \
 
		$(use_with X) \
 
		|| die
 

	
 
	emake || die
 
}
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install || die
 
}
 

	
 
pkg_preinst() {
 
	# Copy the old config files if they are in the old location
 
	# but do not yet exist in the new location.
 
	# This way, they can be treated by CONFIG_PROTECT as normal.
 
	for conf_file in $(ls "${D}/etc/${PN}"); do
 
		if [ ! -e "${ROOT}etc/${PN}/${conf_file}" ]; then
 
			for version_dir in $(ls "${ROOT}etc/${PN}" | grep "^[0-9]" | sort -rn); do
 
				if [ -e "${ROOT}etc/${PN}/${version_dir}/${conf_file}" ]; then
 
					mv "${ROOT}etc/${PN}/${version_dir}/${conf_file}" "${ROOT}etc/${PN}"
 
					elog "Note: ${conf_file} moved from ${ROOT}etc/povray/${version_dir}/ to ${ROOT}etc/povray/"
 
					break
 
				fi
 
			done
 
		fi
 
	done
 
}
media-libs/audiofile/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for media-libs/audiofile
 
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/media-libs/audiofile/ChangeLog,v 1.61 2008/06/16 12:12:55 flameeyes Exp $
 

	
 
*audiofile-0.2.6-r4 (16 Jun 2008)
 

	
 
  16 Jun 2008; Diego Pettenò <flameeyes@gentoo.org>
 
  files/sfconvert-eradicator.patch, +audiofile-0.2.6-r4.ebuild:
 
  Don't build tests during compile, just during check (bug #226277). Also
 
  extend the constantise patch and load it on mirrors (it almost doubled its
 
  size).
 

	
 
  21 Sep 2007; Tom Gall <tgall@gentoo.org> audiofile-0.2.6-r3.ebuild:
 
  stable on ppc64
 

	
 
  07 Sep 2007; Jeroen Roovers <jer@gentoo.org> audiofile-0.2.6-r3.ebuild:
 
  Stable for HPPA too.
 

	
 
  10 Aug 2007; Christoph Mende <angelos@gentoo.org>
 
  audiofile-0.2.6-r3.ebuild:
 
  Stable on amd64 wrt bug #185823
 

	
 
  07 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org>
 
  audiofile-0.2.6-r3.ebuild:
 
  Stable on ppc wrt bug #185823.
 

	
 
  28 Jul 2007; Samuli Suominen <drac@gentoo.org>
 
  +files/audiofile-0.2.6-fmod.patch, audiofile-0.2.6-r3.ebuild:
 
  Apply patch from bug 175710 by Dustin Surawicz, implicit declaration of fmod.
 

	
 
  25 Jul 2007; Raúl Porcel <armin76@gentoo.org> audiofile-0.2.6-r3.ebuild:
 
  alpha stable
 

	
 
  25 Apr 2007; Alexander Færøy <eroyf@gentoo.org>
 
  audiofile-0.2.6-r3.ebuild:
 
  Stable on MIPS.
 

	
 
  24 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org>
 
  audiofile-0.2.6-r3.ebuild:
 
  Stable on sparc
 

	
 
  23 Apr 2007; Raúl Porcel <armin76@gentoo.org> audiofile-0.2.6-r3.ebuild:
 
  ia64 + x86 stable
 

	
 
  16 Apr 2007; Markus Rothe <corsair@gentoo.org> audiofile-0.2.6-r2.ebuild:
 
  Stable on ppc64
 

	
 
  19 Mar 2007; Fabian Groffen <grobian@gentoo.org>
 
  audiofile-0.2.6-r1.ebuild, audiofile-0.2.6-r2.ebuild,
 
  audiofile-0.2.6-r3.ebuild:
 
  Dropped ppc-macos, see you in prefix
 

	
 
  12 Mar 2007; Raúl Porcel <armin76@gentoo.org> audiofile-0.2.6-r2.ebuild:
 
  x86 stable
 

	
 
*audiofile-0.2.6-r3 (21 Feb 2007)
 

	
 
  21 Feb 2007; Joseph Jezak <josejx@gentoo.org>
 
  +files/audiofile-largefile.patch, +audiofile-0.2.6-r3.ebuild:
 
  Added largefile support patch for bug #118600.
 

	
 
  20 Oct 2006; Bryan Østergaard <kloeri@gentoo.org>
 
  audiofile-0.2.6-r2.ebuild:
 
  Stable on Alpha.
 

	
 
  17 Jul 2006; Daniel Gryniewicz <dang@gentoo.org>
 
  audiofile-0.2.6-r2.ebuild:
 
  Marked stable on amd64 for bug #139612
 

	
 
  16 Jul 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  audiofile-0.2.6-r2.ebuild:
 
  hppa stable, bug #139612
 

	
 
  14 Jul 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  audiofile-0.2.6-r2.ebuild:
 
  ppc stable, bug #139612
 

	
 
  13 Jul 2006; Aron Griffis <agriffis@gentoo.org> audiofile-0.2.6-r2.ebuild:
 
  Mark 0.2.6-r2 stable on ia64
 

	
 
  10 Jul 2006; Gustavo Zacarias <gustavoz@gentoo.org>
 
  audiofile-0.2.6-r2.ebuild:
 
  Stable on sparc wrt #139612
 

	
 
  27 Apr 2006; Marien Zwart <marienz@gentoo.org>
 
  files/digest-audiofile-0.2.6-r1, Manifest:
 
  Fixing SHA256 digest, pass four
 

	
 
  05 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
 
  audiofile-0.2.6-r2.ebuild:
 
  Add ~x86-fbsd keyword.
 

	
 
  23 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
 
  -audiofile-0.2.3-r1.ebuild, -audiofile-0.2.4.ebuild,
 
  -audiofile-0.2.5.ebuild, -audiofile-0.2.6.ebuild:
 
  Drop old versions.
 

	
 
*audiofile-0.2.6-r2 (23 Mar 2006)
 

	
 
  23 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
 
  +files/audiofile-0.2.6-constantise.patch, +audiofile-0.2.6-r2.ebuild:
 
  Add patch from Jason Allen to reduce the memory usage.
 

	
 
  06 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
 
  audiofile-0.2.3-r1.ebuild, audiofile-0.2.4.ebuild, audiofile-0.2.5.ebuild,
 
  audiofile-0.2.6.ebuild, audiofile-0.2.6-r1.ebuild:
 
  Drop virtual/libc dependency.
 

	
 
  29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
 
  Change encoding to UTF-8 for GLEP 31 compliance
 

	
 
  07 Aug 2004; Bryan Østergaard <kloeri@gentoo.org> audiofile-0.2.6-r1.ebuild:
 
  Stable on alpha.
 

	
 
  25 Jul 2004; Lina Pezzella <burgundy@gentoo.org> :
 
  Fixed Manifest.
 

	
 
  23 Jul 2004; Lina Pezzella <burgundy@gentoo.org> :
 
  audiofile-0.2.6-r1.ebuild:
 
  Stable macos.
 

	
 
  03 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
 
  audiofile-0.2.6-r1.ebuild:
 
  Stable sparc.
 

	
 
  01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
 
  audiofile-0.2.3-r1.ebuild, audiofile-0.2.4.ebuild, audiofile-0.2.5.ebuild,
 
  audiofile-0.2.6-r1.ebuild, audiofile-0.2.6.ebuild:
 
  virtual/glibc -> virtual/libc
 

	
 
  20 Jun 2004; Tom Gall <tgall@gentoo.org> audiofile-0.2.6-r1:
 
  stable on ppc64, bug #54143
 

	
 
  14 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org>
 
  audiofile-0.2.6-r1.ebuild:
 
  Stable x86 and amd64.
 

	
 
  28 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org>
 
  audiofile-0.2.6-r1.ebuild:
 
  Added IUSE.
 

	
 
  21 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org>
 
  audiofile-0.2.5.ebuild, audiofile-0.2.6.ebuild:
 
  IUSE added.
 

	
 
  17 Apr 2004; Travis Tilley <lv@gentoo.org> audiofile-0.2.5.ebuild,
 
  audiofile-0.2.6.ebuild:
 
  marked stable on amd64
 

	
 
  14 Apr 2004; Stephen P. Becker <geoman@gentoo.org> audiofile-0.2.6.ebuild:
 
  Marked stable on mips.
 

	
 
*audiofile-0.2.6-r1 (05 Apr 2004)
 

	
 
  05 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org>
 
  audiofile-0.2.6-r1.ebuild, files/sfconvert-eradicator.patch:
 
  Added functionality to sfconvert.  Patch sent upstream.
 

	
 
  09 Mar 2004; <agriffis@gentoo.org> audiofile-0.2.5.ebuild:
 
  stable on alpha and ia64
 

	
 
*audiofile-0.2.6 (07 Mar 2004)
 

	
 
  07 Mar 2004; foser <foser@gentoo.org> audiofile-0.2.6.ebuild :
 
  New release
 

	
 
  18 Feb 2004; Aron Griffis <agriffis@gentoo.org> audiofile-0.2.5.ebuild:
 
  add ~ia64
 

	
 
  10 Feb 2004; <gustavoz@gentoo.org> audiofile-0.2.5.ebuild:
 
  stable on hppa and sparc
 

	
 
  10 Feb 2004; Bartosch Pixa <darkspecter@gentoo.org> audiofile-0.2.5.ebuild:
 
  set ppc in keywords
 

	
 
  08 Feb 2004; <spider@gentoo.org> audiofile-0.2.5.ebuild:
 
  stable x86
 

	
 
  28 Jan 2004; Aron Griffis <agriffis@gentoo.org> audiofile-0.2.4.ebuild:
 
  stable on alpha and ia64
 

	
 
  18 Jan 2004; <gustavoz@gentoo.org> audiofile-0.2.4.ebuild:
 
  stable on hppa and sparc
 

	
 
  14 Jan 2004; Mike Gardiner <obz@gentoo.org> audiofile-0.2.4.ebuild:
 
  Stable on x86 as part of GNOME-2.4.1
 

	
 
*audiofile-0.2.5 (04 Jan 2004)
 

	
 
  04 Jan 2004; jje <jje@gentoo.org> audiofile-0.2.5.ebuild:
 
  Version bump.
 

	
 
  14 Nov 2003; Aron Griffis <agriffis@gentoo.org> audiofile-0.2.3-r1.ebuild:
 
  Stable on ia64
 

	
 
  01 Nov 2003; Seemant Kulleen <seemant@gentoo.org> audiofile-0.2.3-r1.ebuild:
 
  SRC_URI and HOMEPAGE fix, thanks to: Stony Yakovac <stonyy@tek.com> in bug
 
  #32425
 

	
 
*audiofile-0.2.4 (14 Oct 2003)
 

	
 
  14 Oct 2003; Martin Holzer <mholzer@gentoo.org> audiofile-0.2.4.ebuild:
 
  Version bumped. Closes #30068
 

	
 
*audiofile-0.2.3-r1 (21 March 2002)
 

	
 
  18 Aug 2003; Joshua Kinard <kumba@gentoo.org> audiofile-0.2.3-r1.ebuild:
 
  Added gnuconfig_update if 'use mips' returns true so configure can detect mipslinux 
 
  systems.
 

	
 
  18 Aug 2003; Joshua Kinard <kumba@gentoo.org> audiofile-0.2.3-r1.ebuild:
 
  Added ~mips to KEYWORDS
 
  Cleaned up Changelog
 

	
 
  01 Jul 2003; Guy Martin <gmsoft@gentoo.org> audiofile-0.2.3-r1.ebuild :
 
  Added hppa to KEYWORDS.
 

	
 
  06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
 
 
 
  03 April 2002; M.Schlemmer <azarah@gentoo.org> : audiofile-0.2.3-r1.ebuild
 
  Remove unneeded auto* tools.
 

	
 
  21 March 2002; M.Schlemmer <azarah@gentoo.org> :
 
  Libtoolize to fix the "relink bug".
 

	
 
*audiofile-0.2.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.
media-libs/audiofile/Manifest
Show inline comments
 
new file 100644
 
AUX audiofile-0.2.6-constantise.patch 11783 RMD160 7477baadd07b8e0b9ffad8f1274062626eb3310a SHA1 47e32f3a8122d3f7b460a477f04d63b29e9b17b3 SHA256 1c71b33ae0756a56e94f42996e01991fa2b9147d9b21f7ae706df9546a3bc7a4
 
AUX audiofile-0.2.6-fmod.patch 404 RMD160 8115847b6bdeb0aea1d87292ae330b50f439e08a SHA1 9a29eead0e2ace7f13c90329952ce91abb32c5fe SHA256 91f638dd3c84cf3a41533c976fe7dfe94b164ee490593cf5f2f22e57f0a10a29
 
AUX audiofile-0.2.6-m4.patch 273 RMD160 c9b99a3b3d7c5e9a62d3aec0cfa7ea6e7b3932f5 SHA1 f78b0d1573fc8e2c66e2d3e7a74dda8e504d806c SHA256 4e92a0e146dd4340c7e68e9f0bf301a4ee5c485d2d13cc3d2796b08c112ca74f
 
AUX audiofile-largefile.patch 656 RMD160 78eb79564da11e3d11c332a50b5fba1c32e5fa36 SHA1 1029444ba6eaed15c86af9663088548411b90a03 SHA256 6a01b2508fd9f25c6a870b4edda5bcc4edcef0d82c270a489372a3dcedd68909
 
AUX sfconvert-eradicator.patch 4387 RMD160 1dc67c79dd5f96e5f790c4da2556118a7d0465c1 SHA1 c2689fdce91f9aea489d86d167c5116b67bea0d6 SHA256 ccb469f70391331145f7f0bbb1d37f2ed3486cd2bf6a9ea38c45d87b1efde3a3
 
DIST audiofile-0.2.6-constantise.patch.bz2 4455 RMD160 4b52bf57f168930589d26d22f76a4e74bc44babd SHA1 82904fecdc6d24afd77abe56657e3b95e5d761f0 SHA256 82a7bfc145c014c27f24b88ecbae8e9c3814a5f38caa7f459298e4df22864185
 
DIST audiofile-0.2.6.tar.gz 374688 RMD160 b61fbc856768a5838ca5c0fad602f35205e8d037 SHA1 94a6ab8e5122bc1971cf186e5a52d032811c9bc5 SHA256 4b6167b56e21556fb07c9ef06962fe32817064c62181ba47afd3322e0d0f22a9
 
EBUILD audiofile-0.2.6-r3.ebuild 1030 RMD160 2d901fbecd2d2c491434dd4203b83151a34e736b SHA1 bce6be5704db2515c2d729f36cce41261f6038c8 SHA256 2e0aeec33475668eb4ec01c1f71939f5e6d0fddc652dcf434b315149876926dc
 
EBUILD audiofile-0.2.6-r4.ebuild 1191 RMD160 4a2894dab5200e7f56a05badbb441ca9e6aeb215 SHA1 be9cad9bea44eed08efdd63c56bca5464e2cb578 SHA256 13454641b111dd97a52dab86f5c061015da69f0f42a2c1af056b877bdfa8de28
 
MISC ChangeLog 7723 RMD160 ec1c9d29a15da5e176ec77301b550831a885e367 SHA1 21c9e065a8b3a40701f2adac8855f3948baccc71 SHA256 ab97a1580d1aa713424be7d4b8b5e6fd2d73f5de3a4ddfcdf4cdf462e9a01070
 
MISC metadata.xml 177 RMD160 c4ff678488aa3bd8f3e5e4cf6e52a56caba3dad9 SHA1 73b04fb757f8a6473a2c43b0807a95381da37afc SHA256 dfb196addaf8aa212436c53c3d47cda0d10c2850c59fa2dcb7554dfa10190af2
media-libs/audiofile/audiofile-0.2.6-r3.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/media-libs/audiofile/audiofile-0.2.6-r3.ebuild,v 1.12 2007/09/22 04:54:01 tgall Exp $
 

	
 
inherit libtool eutils
 

	
 
DESCRIPTION="An elegant API for accessing audio files"
 
HOMEPAGE="http://www.68k.org/~michael/audiofile/"
 
SRC_URI="http://www.68k.org/~michael/audiofile/${P}.tar.gz"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86 ~x86-fbsd"
 
IUSE=""
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"/sfcommands
 
	epatch "${FILESDIR}"/sfconvert-eradicator.patch
 
	cd "${S}"
 
	epatch "${FILESDIR}"/${P}-m4.patch
 
	epatch "${FILESDIR}"/${P}-constantise.patch
 
	epatch "${FILESDIR}"/${P}-fmod.patch
 

	
 
	### Patch for bug #118600
 
	epatch "${FILESDIR}"/${PN}-largefile.patch
 
	elibtoolize
 
}
 

	
 
src_compile() {
 
	econf --enable-largefile || die
 
	emake || die
 
}
 

	
 
src_install() {
 
	make DESTDIR="${D}" install || die
 
	dodoc ACKNOWLEDGEMENTS AUTHORS ChangeLog README TODO NEWS NOTES
 
}
media-libs/audiofile/audiofile-0.2.6-r4.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/media-libs/audiofile/audiofile-0.2.6-r4.ebuild,v 1.1 2008/06/16 12:12:55 flameeyes Exp $
 

	
 
inherit libtool autotools base
 

	
 
DESCRIPTION="An elegant API for accessing audio files"
 
HOMEPAGE="http://www.68k.org/~michael/audiofile/"
 
SRC_URI="http://www.68k.org/~michael/audiofile/${P}.tar.gz
 
	mirror://gentoo/${P}-constantise.patch.bz2"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
 
IUSE=""
 

	
 
PATCHES=(
 
	"${FILESDIR}"/sfconvert-eradicator.patch
 
	"${FILESDIR}"/${P}-m4.patch
 
	"${WORKDIR}"/${P}-constantise.patch
 
	"${FILESDIR}"/${P}-fmod.patch
 

	
 
	### Patch for bug #118600
 
	"${FILESDIR}"/${PN}-largefile.patch
 
)
 

	
 
src_unpack() {
 
	base_src_unpack
 
	cd "${S}"
 

	
 
	sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' \
 
		"${S}"/test/Makefile.am \
 
		|| die "unable to disable tests building"
 

	
 
	eautoreconf
 
	elibtoolize
 
}
 

	
 
src_compile() {
 
	econf --enable-largefile || die
 
	emake || die
 
}
 

	
 
src_install() {
 
	make DESTDIR="${D}" install || die
 
	dodoc ACKNOWLEDGEMENTS AUTHORS ChangeLog README TODO NEWS NOTES
 
}
media-libs/audiofile/files/audiofile-0.2.6-constantise.patch
Show inline comments
 
new file 100644
 
Patch from Jason Allen to minimise memory usage marking constant reference
 
tables.
 
See http://bmaurer.blogspot.com/2006/03/memory-usage-with-smaps.html .
 

	
 
diff -ur audiofile-0.2.6-orig/libaudiofile/aiff.c audiofile-0.2.6-mine/libaudiofile/aiff.c
 
--- audiofile-0.2.6-orig/libaudiofile/aiff.c	2004-03-06 01:39:23.000000000 -0500
 
+++ audiofile-0.2.6-mine/libaudiofile/aiff.c	2006-03-22 02:15:50.058306000 -0500
 
@@ -64,7 +64,7 @@
 
 static status ParseSSND (AFfilehandle file, AFvirtualfile *fh, u_int32_t type,
 
 	size_t size);
 
 
 
-_InstParamInfo _af_aiff_inst_params[_AF_AIFF_NUM_INSTPARAMS] =
 
+const _InstParamInfo _af_aiff_inst_params[_AF_AIFF_NUM_INSTPARAMS] =
 
 {
 
 	{ AF_INST_MIDI_BASENOTE, AU_PVTYPE_LONG, "MIDI base note", {60} },
 
 	{ AF_INST_NUMCENTS_DETUNE, AU_PVTYPE_LONG, "Detune in cents", {0} },
 
@@ -77,7 +77,7 @@
 
 	{ AF_INST_RELLOOPID, AU_PVTYPE_LONG, "Release loop id", {0} }
 
 };
 
 
 
-int _af_aiffc_compression_types[_AF_AIFF_NUM_COMPTYPES] =
 
+const int _af_aiffc_compression_types[_AF_AIFF_NUM_COMPTYPES] =
 
 {
 
 	AF_COMPRESSION_G711_ULAW,
 
 	AF_COMPRESSION_G711_ALAW
 
diff -ur audiofile-0.2.6-orig/libaudiofile/compression.c audiofile-0.2.6-mine/libaudiofile/compression.c
 
--- audiofile-0.2.6-orig/libaudiofile/compression.c	2004-03-06 01:39:23.000000000 -0500
 
+++ audiofile-0.2.6-mine/libaudiofile/compression.c	2006-03-22 02:04:44.948739250 -0500
 
@@ -37,7 +37,7 @@
 
 #include "units.h"
 
 #include "util.h"
 
 
 
-extern _CompressionUnit _af_compression[];
 
+extern const _CompressionUnit _af_compression[];
 
 
 
 int _af_compression_index_from_id (int compressionid)
 
 {
 
@@ -54,7 +54,7 @@
 
 	return -1;
 
 }
 
 
 
-static _CompressionUnit *findCompression (int compressionid)
 
+static const _CompressionUnit *findCompression (int compressionid)
 
 {
 
 	int	compressionno;
 
 
 
diff -ur audiofile-0.2.6-orig/libaudiofile/debug.c audiofile-0.2.6-mine/libaudiofile/debug.c
 
--- audiofile-0.2.6-orig/libaudiofile/debug.c	2004-03-06 01:39:23.000000000 -0500
 
+++ audiofile-0.2.6-mine/libaudiofile/debug.c	2006-03-22 01:56:31.187180000 -0500
 
@@ -49,7 +49,7 @@
 
 #include "print.h"
 
 #include "debug.h"
 
 
 
-extern _CompressionUnit _af_compression[];
 
+extern const _CompressionUnit _af_compression[];
 
 
 
 void _af_printid (u_int32_t id)
 
 {
 
diff -ur audiofile-0.2.6-orig/libaudiofile/format.c audiofile-0.2.6-mine/libaudiofile/format.c
 
--- audiofile-0.2.6-orig/libaudiofile/format.c	2004-03-06 01:39:23.000000000 -0500
 
+++ audiofile-0.2.6-mine/libaudiofile/format.c	2006-03-22 01:56:21.586580000 -0500
 
@@ -43,7 +43,7 @@
 
 #include "units.h"
 
 #include "modules.h"
 
 
 
-extern _Unit _af_units[];
 
+extern const _Unit _af_units[];
 
 
 
 AFfileoffset afGetDataOffset (AFfilehandle file, int trackid)
 
 {
 
diff -ur audiofile-0.2.6-orig/libaudiofile/g711.c audiofile-0.2.6-mine/libaudiofile/g711.c
 
--- audiofile-0.2.6-orig/libaudiofile/g711.c	2004-03-06 01:39:23.000000000 -0500
 
+++ audiofile-0.2.6-mine/libaudiofile/g711.c	2006-03-21 22:57:37.356130750 -0500
 
@@ -38,7 +38,7 @@
 
 #define	SEG_MASK	(0x70)		/* Segment field mask. */
 
 
 
 /* copy from CCITT G.711 specifications */
 
-static unsigned char _u2a[128] = {		/* u- to A-law conversions */
 
+static const unsigned char _u2a[128] = {		/* u- to A-law conversions */
 
 	1,	1,	2,	2,	3,	3,	4,	4,
 
 	5,	5,	6,	6,	7,	7,	8,	8,
 
 	9,	10,	11,	12,	13,	14,	15,	16,
 
@@ -56,7 +56,7 @@
 
 	113,	114,	115,	116,	117,	118,	119,	120,
 
 	121,	122,	123,	124,	125,	126,	127,	128};
 
 
 
-static unsigned char _a2u[128] = {		/* A- to u-law conversions */
 
+static const unsigned char _a2u[128] = {		/* A- to u-law conversions */
 
 	1,	3,	5,	7,	9,	11,	13,	15,
 
 	16,	17,	18,	19,	20,	21,	22,	23,
 
 	24,	25,	26,	27,	28,	29,	30,	31,
 
@@ -77,7 +77,7 @@
 
 /* see libst.h */
 
 #ifdef	SUPERCEDED
 
 
 
-static short seg_end[8] = {0xFF, 0x1FF, 0x3FF, 0x7FF,
 
+static const short seg_end[8] = {0xFF, 0x1FF, 0x3FF, 0x7FF,
 
 			    0xFFF, 0x1FFF, 0x3FFF, 0x7FFF};
 
 
 
 static int
 
diff -ur audiofile-0.2.6-orig/libaudiofile/instrument.c audiofile-0.2.6-mine/libaudiofile/instrument.c
 
--- audiofile-0.2.6-orig/libaudiofile/instrument.c	2004-03-06 01:39:23.000000000 -0500
 
+++ audiofile-0.2.6-mine/libaudiofile/instrument.c	2006-03-22 01:56:12.642021000 -0500
 
@@ -55,7 +55,7 @@
 
 
 
 #include <stdio.h>
 
 
 
-extern _Unit _af_units[];
 
+extern const _Unit _af_units[];
 
 
 
 /*
 
 	Initialize instrument id list for audio file.
 
diff -ur audiofile-0.2.6-orig/libaudiofile/modules.c audiofile-0.2.6-mine/libaudiofile/modules.c
 
--- audiofile-0.2.6-orig/libaudiofile/modules.c	2004-03-06 01:39:23.000000000 -0500
 
+++ audiofile-0.2.6-mine/libaudiofile/modules.c	2006-03-22 02:07:29.411017500 -0500
 
@@ -56,15 +56,15 @@
 
 
 
 #define NULLMODULEPARAM
 
 
 
-extern _PCMInfo _af_default_signed_integer_pcm_mappings[];
 
-extern _PCMInfo _af_default_unsigned_integer_pcm_mappings[];
 
-extern _PCMInfo _af_default_float_pcm_mapping;
 
-extern _PCMInfo _af_default_double_pcm_mapping;
 
+extern const _PCMInfo _af_default_signed_integer_pcm_mappings[];
 
+extern const _PCMInfo _af_default_unsigned_integer_pcm_mappings[];
 
+extern const _PCMInfo _af_default_float_pcm_mapping;
 
+extern const _PCMInfo _af_default_double_pcm_mapping;
 
 
 
 extern _CompressionUnit _af_compression[];
 
 
 
 /* Define rebuffering modules. */
 
-extern _AFmodule int2rebufferv2f, int2rebufferf2v;
 
+extern const _AFmodule int2rebufferv2f, int2rebufferf2v;
 
 
 
 /*
 
 	module utility routines
 
@@ -1511,7 +1511,7 @@
 
 	}
 
 };
 
 
 
-static _PCMInfo *intmappings[6] =
 
+static const _PCMInfo *intmappings[6] =
 
 {
 
 	&_af_default_signed_integer_pcm_mappings[1],
 
 	&_af_default_signed_integer_pcm_mappings[2],
 
diff -ur audiofile-0.2.6-orig/libaudiofile/next.c audiofile-0.2.6-mine/libaudiofile/next.c
 
--- audiofile-0.2.6-orig/libaudiofile/next.c	2004-03-06 01:39:23.000000000 -0500
 
+++ audiofile-0.2.6-mine/libaudiofile/next.c	2006-03-22 02:15:59.742911250 -0500
 
@@ -47,7 +47,7 @@
 
 #include "setup.h"
 
 #include "byteorder.h"
 
 
 
-int _af_next_compression_types[_AF_NEXT_NUM_COMPTYPES] =
 
+const int _af_next_compression_types[_AF_NEXT_NUM_COMPTYPES] =
 
 {
 
 	AF_COMPRESSION_G711_ULAW,
 
 	AF_COMPRESSION_G711_ALAW
 
diff -ur audiofile-0.2.6-orig/libaudiofile/openclose.c audiofile-0.2.6-mine/libaudiofile/openclose.c
 
--- audiofile-0.2.6-orig/libaudiofile/openclose.c	2004-03-06 01:39:23.000000000 -0500
 
+++ audiofile-0.2.6-mine/libaudiofile/openclose.c	2006-03-22 01:55:33.067547750 -0500
 
@@ -45,7 +45,7 @@
 
 #define SETBINARYMODE(x)
 
 #endif /* WIN32 || __CYGWIN__ */
 
 
 
-extern _Unit _af_units[];
 
+extern const _Unit _af_units[];
 
 
 
 static void freeFileHandle (AFfilehandle filehandle);
 
 static void freeInstParams (AFPVu *values, int fileFormat);
 
diff -ur audiofile-0.2.6-orig/libaudiofile/pcm.c audiofile-0.2.6-mine/libaudiofile/pcm.c
 
--- audiofile-0.2.6-orig/libaudiofile/pcm.c	2004-03-06 01:39:23.000000000 -0500
 
+++ audiofile-0.2.6-mine/libaudiofile/pcm.c	2006-03-21 22:56:53.581395000 -0500
 
@@ -33,7 +33,7 @@
 
 #include "pcm.h"
 
 #include "util.h"
 
 
 
-_PCMInfo _af_default_signed_integer_pcm_mappings[] =
 
+const _PCMInfo _af_default_signed_integer_pcm_mappings[] =
 
 {
 
 	{0, 0, 0, 0},
 
 	{SLOPE_INT8, 0, MIN_INT8, MAX_INT8},
 
@@ -42,7 +42,7 @@
 
 	{SLOPE_INT32, 0, MIN_INT32, MAX_INT32}
 
 };
 
 
 
-_PCMInfo _af_default_unsigned_integer_pcm_mappings[] =
 
+const _PCMInfo _af_default_unsigned_integer_pcm_mappings[] =
 
 {
 
 	{0, 0, 0, 0},
 
 	{SLOPE_INT8, INTERCEPT_U_INT8, 0, MAX_U_INT8},
 
@@ -51,10 +51,10 @@
 
 	{SLOPE_INT32, INTERCEPT_U_INT32, 0, MAX_U_INT32}
 
 };
 
 
 
-_PCMInfo _af_default_float_pcm_mapping =
 
+const _PCMInfo _af_default_float_pcm_mapping =
 
 {1, 0, 0, 0};
 
 
 
-_PCMInfo _af_default_double_pcm_mapping =
 
+const _PCMInfo _af_default_double_pcm_mapping =
 
 {1, 0, 0, 0};
 
 
 
 /*
 
diff -ur audiofile-0.2.6-orig/libaudiofile/query.c audiofile-0.2.6-mine/libaudiofile/query.c
 
--- audiofile-0.2.6-orig/libaudiofile/query.c	2004-03-06 01:39:23.000000000 -0500
 
+++ audiofile-0.2.6-mine/libaudiofile/query.c	2006-03-22 01:55:23.070923000 -0500
 
@@ -43,8 +43,8 @@
 
 #include "compression.h"
 
 #include "instrument.h"
 
 
 
-extern _Unit _af_units[];
 
-extern _CompressionUnit _af_compression[];
 
+extern const _Unit _af_units[];
 
+extern const _CompressionUnit _af_compression[];
 
 
 
 AUpvlist _afQueryFileFormat (int arg1, int arg2, int arg3, int arg4);
 
 AUpvlist _afQueryInstrument (int arg1, int arg2, int arg3, int arg4);
 
diff -ur audiofile-0.2.6-orig/libaudiofile/raw.c audiofile-0.2.6-mine/libaudiofile/raw.c
 
--- audiofile-0.2.6-orig/libaudiofile/raw.c	2004-03-06 01:39:23.000000000 -0500
 
+++ audiofile-0.2.6-mine/libaudiofile/raw.c	2006-03-22 02:16:08.563462500 -0500
 
@@ -50,7 +50,7 @@
 
 	NULL			/* miscellaneous */
 
 };
 
 
 
-int _af_raw_compression_types[_AF_RAW_NUM_COMPTYPES] =
 
+const int _af_raw_compression_types[_AF_RAW_NUM_COMPTYPES] =
 
 {
 
 	AF_COMPRESSION_G711_ULAW,
 
 	AF_COMPRESSION_G711_ALAW
 
diff -ur audiofile-0.2.6-orig/libaudiofile/setup.c audiofile-0.2.6-mine/libaudiofile/setup.c
 
--- audiofile-0.2.6-orig/libaudiofile/setup.c	2004-03-06 01:39:23.000000000 -0500
 
+++ audiofile-0.2.6-mine/libaudiofile/setup.c	2006-03-22 02:16:14.567837750 -0500
 
@@ -39,7 +39,7 @@
 
 
 
 extern _Unit _af_units[];
 
 
 
-_AFfilesetup _af_default_file_setup =
 
+const _AFfilesetup _af_default_file_setup =
 
 {
 
 	_AF_VALID_FILESETUP,	/* valid */
 
 #if WORDS_BIGENDIAN
 
@@ -58,7 +58,7 @@
 
 	NULL		/* miscellaneous */
 
 };
 
 
 
-_InstrumentSetup _af_default_instrumentsetup =
 
+const _InstrumentSetup _af_default_instrumentsetup =
 
 {
 
 	0,		/* id */
 
 	2,		/* loopCount */
 
@@ -66,7 +66,7 @@
 
 	AF_FALSE	/* loopSet */
 
 };
 
 
 
-_TrackSetup _af_default_tracksetup =
 
+const _TrackSetup _af_default_tracksetup =
 
 {
 
 	0,
 
 	{
 
diff -ur audiofile-0.2.6-orig/libaudiofile/units.c audiofile-0.2.6-mine/libaudiofile/units.c
 
--- audiofile-0.2.6-orig/libaudiofile/units.c	2004-03-06 01:39:23.000000000 -0500
 
+++ audiofile-0.2.6-mine/libaudiofile/units.c	2006-03-22 02:02:12.335201500 -0500
 
@@ -56,7 +56,7 @@
 
 extern int _af_next_compression_types[];
 
 extern int _af_wave_compression_types[];
 
 
 
-_Unit _af_units[_AF_NUM_UNITS] =
 
+const _Unit _af_units[_AF_NUM_UNITS] =
 
 {
 
 	{
 
 		AF_FILE_RAWDATA,
 
@@ -221,7 +221,7 @@
 
 	}
 
 };
 
 
 
-_CompressionUnit _af_compression[_AF_NUM_COMPRESSION] =
 
+const _CompressionUnit _af_compression[_AF_NUM_COMPRESSION] =
 
 {
 
 	{
 
 		AF_COMPRESSION_NONE,
 
diff -ur audiofile-0.2.6-orig/libaudiofile/util.c audiofile-0.2.6-mine/libaudiofile/util.c
 
--- audiofile-0.2.6-orig/libaudiofile/util.c	2004-03-06 01:39:23.000000000 -0500
 
+++ audiofile-0.2.6-mine/libaudiofile/util.c	2006-03-22 01:54:41.944352750 -0500
 
@@ -46,12 +46,12 @@
 
 #include "byteorder.h"
 
 #include "aupvinternal.h"
 
 
 
-extern _PCMInfo _af_default_signed_integer_pcm_mappings[];
 
-extern _PCMInfo _af_default_unsigned_integer_pcm_mappings[];
 
-extern _PCMInfo _af_default_float_pcm_mapping;
 
-extern _PCMInfo _af_default_double_pcm_mapping;
 
+extern const _PCMInfo _af_default_signed_integer_pcm_mappings[];
 
+extern const _PCMInfo _af_default_unsigned_integer_pcm_mappings[];
 
+extern const _PCMInfo _af_default_float_pcm_mapping;
 
+extern const _PCMInfo _af_default_double_pcm_mapping;
 
 
 
-extern _CompressionUnit _af_compression[];
 
+extern const _CompressionUnit _af_compression[];
 
 
 
 /*
 
 	_af_filesetup_ok and _af_filehandle_ok are sanity check routines
 
diff -ur audiofile-0.2.6-orig/libaudiofile/wave.c audiofile-0.2.6-mine/libaudiofile/wave.c
 
--- audiofile-0.2.6-orig/libaudiofile/wave.c	2004-03-06 01:39:23.000000000 -0500
 
+++ audiofile-0.2.6-mine/libaudiofile/wave.c	2006-03-22 02:16:29.568775250 -0500
 
@@ -49,13 +49,13 @@
 
 #include "setup.h"
 
 #include "marker.h"
 
 
 
-int _af_wave_compression_types[_AF_WAVE_NUM_COMPTYPES] =
 
+const int _af_wave_compression_types[_AF_WAVE_NUM_COMPTYPES] =
 
 {
 
 	AF_COMPRESSION_G711_ULAW,
 
 	AF_COMPRESSION_G711_ALAW
 
 };
 
 
 
-_InstParamInfo _af_wave_inst_params[_AF_WAVE_NUM_INSTPARAMS] =
 
+const _InstParamInfo _af_wave_inst_params[_AF_WAVE_NUM_INSTPARAMS] =
 
 {
 
 	{ AF_INST_MIDI_BASENOTE, AU_PVTYPE_LONG, "MIDI base note", {60} },
 
 	{ AF_INST_NUMCENTS_DETUNE, AU_PVTYPE_LONG, "Detune in cents", {0} },
media-libs/audiofile/files/audiofile-0.2.6-fmod.patch
Show inline comments
 
new file 100644
 
diff -ur audiofile-0.2.6.orig/test/printmarkers.c audiofile-0.2.6/test/printmarkers.c
 
--- audiofile-0.2.6.orig/test/printmarkers.c	2004-03-06 08:39:23.000000000 +0200
 
+++ audiofile-0.2.6/test/printmarkers.c	2007-07-28 12:23:04.000000000 +0300
 
@@ -33,6 +33,7 @@
 
 #include <stdlib.h>
 
 #include <assert.h>
 
 #include <audiofile.h>
 
+#include <math.h>
 
 
 
 void printtime (AFframecount position, double rate)
 
 {
media-libs/audiofile/files/audiofile-0.2.6-m4.patch
Show inline comments
 
new file 100644
 
Get rid of aclocal warning:
 
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
 
--- audiofile-0.2.6/audiofile.m4
 
+++ audiofile-0.2.6/audiofile.m4
 
@@ -11,3 +11,3 @@
 
 dnl
 
-AC_DEFUN(AM_PATH_AUDIOFILE,
 
+AC_DEFUN([AM_PATH_AUDIOFILE],
 
 [dnl 
media-libs/audiofile/files/audiofile-largefile.patch
Show inline comments
 
new file 100644
 
--- libaudiofile/audiofile.h	2006/10/05 22:05:50	1.1
 
+++ libaudiofile/audiofile.h	2006/10/05 22:06:00
 
@@ -29,6 +29,7 @@
 
 
 
 #include <sys/types.h>
 
 #include <aupvlist.h>
 
+#include <stdint.h>
 
 
 
 #define LIBAUDIOFILE_MAJOR_VERSION 0
 
 #define LIBAUDIOFILE_MINOR_VERSION 2
 
@@ -45,8 +45,8 @@ typedef struct _AFfilesetup *AFfilesetup
 
 typedef struct _AFfilehandle *AFfilehandle;
 
 typedef void (*AFerrfunc)(long, const char *);
 
 
 
-typedef off_t AFframecount;
 
-typedef off_t AFfileoffset;
 
+typedef int64_t AFframecount;
 
+typedef int64_t AFfileoffset;
 
 
 
 #define AF_NULL_FILESETUP	((struct _AFfilesetup *) 0)
 
 #define AF_NULL_FILEHANDLE	((struct _AFfilehandle *) 0)
media-libs/audiofile/files/sfconvert-eradicator.patch
Show inline comments
 
new file 100644
 
--- audiofile/sfcommands/sfconvert.c.orig	2004-04-04 23:39:56.000000000 -0700
 
+++ audiofile/sfcommands/sfconvert.c	2004-04-05 00:00:25.000000000 -0700
 
@@ -66,12 +66,14 @@
 
 
 
 	AFfilehandle	infile, outfile;
 
 	AFfilesetup	outfilesetup;
 
-	int		sampleFormat, sampleWidth, channelCount;
 
-	double		sampleRate;
 
+	int		sampleFormat, sampleWidth, channelCount, byteOrder;
 
+	double		sampleRate, outSampleRate;
 
+	int		outSampleRateInt = -1;
 
 	int		outSampleFormat = -1, outSampleWidth = -1,
 
-			outChannelCount = -1;
 
+			outChannelCount = -1, outByteOrder = -1;
 
 	double		outMaxAmp = 1.0;
 
 
 
+
 
 	AFframecount	totalFrames;
 
 
 
 	if (argc < 3)
 
@@ -88,7 +90,10 @@
 
 		{
 
 			if (i + 1 >= argc)
 
 				usageerror();
 
-			if (!strcmp(argv[i+1], "aiff"))
 
+
 
+			if (!strcmp(argv[i+1], "raw"))
 
+				outFileFormat = AF_FILE_RAWDATA;
 
+			else if (!strcmp(argv[i+1], "aiff"))
 
 				outFileFormat = AF_FILE_AIFF;
 
 			else if (!strcmp(argv[i+1], "aifc"))
 
 				outFileFormat = AF_FILE_AIFFC;
 
@@ -98,6 +103,12 @@
 
 				outFileFormat = AF_FILE_NEXTSND;
 
 			else if (!strcmp(argv[i+1], "bics"))
 
 				outFileFormat = AF_FILE_BICSF;
 
+			else if (!strcmp(argv[i+1], "avr"))
 
+				outFileFormat = AF_FILE_AVR;
 
+			else if (!strcmp(argv[i+1], "iff"))
 
+				outFileFormat = AF_FILE_IFF_8SVX;
 
+			else if (!strcmp(argv[i+1], "nist"))
 
+				outFileFormat = AF_FILE_NIST_SPHERE;
 
 			else
 
 			{
 
 				fprintf(stderr, "sfconvert: Unknown format %s.\n", argv[i+1]);
 
@@ -107,6 +118,22 @@
 
 			/* Increment for argument. */
 
 			i++;
 
 		}
 
+		else if (!strcmp(argv[i], "byteorder"))
 
+		{
 
+			if (i + 1 >= argc)
 
+				usageerror();
 
+
 
+			if(!strcmp("big", argv[i+1])) {
 
+				outByteOrder = AF_BYTEORDER_BIGENDIAN;
 
+			} else if(!strcmp("little", argv[i+1])) {
 
+				outByteOrder = AF_BYTEORDER_LITTLEENDIAN;
 
+			} else {
 
+				usageerror();
 
+			}
 
+
 
+			/* Increment for argument. */
 
+			i++;
 
+		}
 
 		else if (!strcmp(argv[i], "channels"))
 
 		{
 
 			if (i + 1 >= argc)
 
@@ -119,6 +146,20 @@
 
 			/* Increment for argument. */
 
 			i++;
 
 		}
 
+		else if (!strcmp(argv[i], "rate"))
 
+		{
 
+			if (i + 1 >= argc)
 
+				usageerror();
 
+
 
+			outSampleRateInt = atoi(argv[i+1]);
 
+			if (outSampleRateInt <= 0)
 
+				usageerror();
 
+
 
+			outSampleRate = (double)outSampleRateInt;
 
+
 
+			/* Increment for argument. */
 
+			i++;
 
+		}
 
 		else if (!strcmp(argv[i], "float"))
 
 		{
 
 			if (i + 1 >= argc)
 
@@ -170,6 +211,7 @@
 
 	totalFrames = afGetFrameCount(infile, AF_DEFAULT_TRACK);
 
 	channelCount = afGetChannels(infile, AF_DEFAULT_TRACK);
 
 	sampleRate = afGetRate(infile, AF_DEFAULT_TRACK);
 
+        byteOrder = afGetByteOrder(infile, AF_DEFAULT_TRACK);
 
 	afGetSampleFormat(infile, AF_DEFAULT_TRACK, &sampleFormat, &sampleWidth);
 
 
 
 	/* Initialize output audio format parameters. */
 
@@ -184,14 +226,21 @@
 
 		outSampleWidth = sampleWidth;
 
 	}
 
 
 
+	if (outByteOrder == -1)
 
+		outByteOrder = byteOrder;
 
+
 
 	if (outChannelCount == -1)
 
 		outChannelCount = channelCount;
 
 
 
+	if (outSampleRateInt == -1)
 
+		outSampleRate = sampleRate;
 
+
 
 	afInitFileFormat(outfilesetup, outFileFormat);
 
 	afInitSampleFormat(outfilesetup, AF_DEFAULT_TRACK, outSampleFormat,
 
 		outSampleWidth);
 
 	afInitChannels(outfilesetup, AF_DEFAULT_TRACK, outChannelCount);
 
-	afInitRate(outfilesetup, AF_DEFAULT_TRACK, sampleRate);
 
+	afInitRate(outfilesetup, AF_DEFAULT_TRACK, outSampleRate);
 
+        afInitByteOrder(outfilesetup, AF_DEFAULT_TRACK, outByteOrder);
 
 
 
 	outfile = afOpenFile(outfilename, "w", outfilesetup);
 
 	if (outfile == AF_NULL_FILEHANDLE)
 
@@ -228,6 +277,7 @@
 
 	printf("\n");
 
 
 
 	printf("Where keywords specify format of input or output soundfile:\n");
 
+	printf("    rate n         sample rate (22050, 44100, 48000, etc.)\n");
 
 	printf("    byteorder e    endian (e is big or little)\n");
 
 	printf("    channels n     n-channel file (1 or 2)\n");
 
 	printf("    format f       file format f (see below)\n");
 
@@ -239,11 +289,15 @@
 
 
 
 	printf("Currently supported formats are:\n");
 
 	printf("\n");
 
+	printf("    raw     \n");
 
 	printf("    aiff    Audio Interchange File Format\n");
 
 	printf("    aifc    AIFF-C File Format\n");
 
 	printf("    next    NeXT/Sun Format\n");
 
 	printf("    wave    MS RIFF WAVE Format\n");
 
 	printf("    bics    Berkeley/IRCAM/CARL Sound File Format\n");
 
+	printf("    avr     Audio Visual Research File Format\n");
 
+	printf("    iff     Amiga IFF/8SVX Sound File Format\n");
 
+	printf("    nist    NIST SPHERE File Format\n");
 
 	printf("\n");
 
 
 
 	exit(EXIT_FAILURE);
media-libs/audiofile/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>gnome</herd>
 
<herd>sound</herd>
 
</pkgmetadata>
media-libs/libdvdnav/Manifest
Show inline comments
 
new file 100644
 
AUX libdvdnav-4.1.2-mydebug.diff 1454 RMD160 b780b1b2c41d8ed1ef38453fcb2d8f1531bc4953 SHA1 34c2759b4fd2cbe3ae13cb3aa8b35de606e99de2 SHA256 18750ca500bf0cf1fddccc42cf1a4dfc851329d19aa688d8c8e1a0cea1b89d4c
 
AUX libdvdnav-4.1.2-nomake_libdvdread.diff 2262 RMD160 4485f1f8b0ee4f6ca1ad9dce1d81f35a3f33456d SHA1 52ac4cb7f15ea2ce7880f164bc09a537fcf5a149 SHA256 880768b0414ebf48f435d977a318c9b5053349de8c7abf646c06e4ce3ce3b597
 
DIST libdvdnav-4.1.2.tar.gz 196223 RMD160 d3473db02fe82a4b5e94bcff1acff90c0cc10946 SHA1 65e8f5aa01a60cf8fd013ef9e5d8c23b9fef21d6 SHA256 56bcb75113bb8091574c36590f84fb00d37711e8cda9f5f7152667b33b2d0cd1
 
EBUILD libdvdnav-4.1.2.ebuild 1568 RMD160 f9a47137a9569fc7b0c2d14b85aef63400ba7f1d SHA1 cc769a73b9b734d524da55d31984e846266df8d1 SHA256 110c987d96fcd6df2c2f413045206fe5729e936a2286ac7387fbfefa8acb40a9
 
EBUILD libdvdnav-9999.ebuild 989 RMD160 b8b2e6df5a522f3c7e54c4807ee3953bbb90e65a SHA1 43a11754bedb7f4b65a19c1cce717edd01419303 SHA256 0ab24f9448b24278c25c60b276caf14116e0715f3faa33739d4f675917f9d9a3
media-libs/libdvdnav/files/libdvdnav-4.1.2-mydebug.diff
Show inline comments
 
new file 100644
 
diff -u /mnt/satahd/portagetmp/portage/media-libs/libdvdnav-4.1.2/work/libdvdnav-4.1.2/src/highlight.c /tmp/buffer-content-24939WGo
 
*** /libdvdnav-4.1.2/src/highlight.c	2008-06-28 12:28:46.000000000 -0400
 
--- /tmp/buffer-content-24939WGo	2008-06-28 12:29:19.000000000 -0400
 
***************
 
*** 253,258 ****
 
--- 253,260 ----
 
  
 
  dvdnav_status_t dvdnav_upper_button_select(dvdnav_t *this, pci_t *pci) {
 
    btni_t *button_ptr;
 
+ 
 
+   printf(MSG_OUT, "upper button\n");
 
    
 
    if(!(button_ptr = get_current_button(this, pci)))
 
      return DVDNAV_STATUS_ERR;
 
***************
 
*** 263,268 ****
 
--- 265,272 ----
 
  
 
  dvdnav_status_t dvdnav_lower_button_select(dvdnav_t *this, pci_t *pci) {
 
    btni_t *button_ptr;
 
+ 
 
+   printf(MSG_OUT, "lower button\n");
 
    
 
    if(!(button_ptr = get_current_button(this, pci)))
 
      return DVDNAV_STATUS_ERR;
 
***************
 
*** 273,278 ****
 
--- 277,284 ----
 
  
 
  dvdnav_status_t dvdnav_right_button_select(dvdnav_t *this, pci_t *pci) {
 
    btni_t *button_ptr;
 
+ 
 
+   printf(MSG_OUT, "right button\n");
 
    
 
    if(!(button_ptr = get_current_button(this, pci)))
 
      return DVDNAV_STATUS_ERR;
 
***************
 
*** 283,288 ****
 
--- 289,296 ----
 
  
 
  dvdnav_status_t dvdnav_left_button_select(dvdnav_t *this, pci_t *pci) {
 
    btni_t *button_ptr;
 
+ 
 
+   printf(MSG_OUT, "left button\n");
 
    
 
    if(!(button_ptr = get_current_button(this, pci)))
 
      return DVDNAV_STATUS_ERR;
 

	
 
Diff finished.  Sat Jun 28 12:29:20 2008
media-libs/libdvdnav/files/libdvdnav-4.1.2-nomake_libdvdread.diff
Show inline comments
 
new file 100644
 
diff -u /mnt/satahd/portagetmp/portage/media-libs/libdvdnav-4.1.2/work/libdvdnav-4.1.2/src/Makefile.am /tmp/buffer-content-26498N6Q
 
--- /libdvdnav-4.1.2/src/Makefile.am	2008-06-25 16:12:16.000000000 -0400
 
+++ /libdvdnav-4.1.2/src/Makefile.am	2008-06-25 16:12:28.000000000 -0400
 
@@ -1,10 +1,10 @@
 
 include $(top_srcdir)/misc/Makefile.common
 
 
 
-SUBDIRS = dvdread vm
 
+SUBDIRS = vm
 
 
 
 includedir = ${prefix}/include/dvdnav
 
 
 
 AM_CPPFLAGS = -DDVDNAV_COMPILE $(THREAD_CFLAGS) \
 
-	-I$(top_srcdir)/src/dvdread -I$(top_srcdir)/src/vm
 
+	-I${prefix}/include/dvdread -I$(top_srcdir)/src/vm
 
 
 
 EXTRA_DIST = README.MAP FELLOWSHIP.map
 
@@ -17,7 +17,6 @@
 
 	dvdnav_internal.h read_cache.h remap.h
 
 
 
 libdvdnav_la_LIBADD = $(THREAD_LIBS) \
 
-	$(top_builddir)/src/dvdread/libdvdread.la \
 
 	$(top_builddir)/src/vm/libdvdvm.la
 
 
 
 libdvdnav_la_LDFLAGS = \
 

	
 
diff -u /mnt/satahd/portagetmp/portage/media-libs/libdvdnav-4.1.2/work/libdvdnav-4.1.2/configure.ac /tmp/buffer-content-26498nOd
 
--- /libdvdnav-4.1.2/configure.ac	2007-05-01 06:11:52.000000000 -0400
 
+++ /libdvdnav-4.1.2/configure.ac	2008-06-25 16:41:21.000000000 -0400
 
@@ -224,7 +224,6 @@
 
 AC_OUTPUT([
 
 Makefile 
 
 src/Makefile
 
-src/dvdread/Makefile
 
 src/vm/Makefile
 
 misc/Makefile
 
 misc/dvdnav-config
 
diff -u /libdvdnav-4.1.2/src/vm/Makefile.am /tmp/buffer-content-24939W_z
 
--- /libdvdnav-4.1.2/src/vm/Makefile.am	2008-06-27 10:42:33.000000000 -0400
 
+++ /libdvdnav-4.1.2/src/vm/Makefile.am	2008-06-27 10:43:03.000000000 -0400
 
@@ -3,6 +3,6 @@
 
 includedir = ${prefix}/include/dvdnav
 
 
 
 AM_CPPFLAGS = -DDVDNAV_COMPILE $(THREAD_CFLAGS) \
 
-	-I$(top_srcdir)/src -I$(top_srcdir)/src/dvdread
 
+	-I$(top_srcdir)/src -I${prefix}/include/dvdread
 
 
 
 noinst_LTLIBRARIES = libdvdvm.la
 

	
 

	
 
diff -u /mnt/satahd/portagetmp/portage/media-libs/libdvdnav-4.1.2/work/libdvdnav-4.1.2/examples/Makefile.am /tmp/buffer-content-24939IJD
 
--- /libdvdnav-4.1.2/examples/Makefile.am	2004-01-11 16:43:13.000000000 -0500
 
+++ /tmp/buffer-content-24939IJD	2008-06-27 11:33:00.000000000 -0400
 
@@ -1,6 +1,6 @@
 
 include $(top_srcdir)/misc/Makefile.common
 
 
 
-AM_CPPFLAGS = -DDVDNAV_COMPILE -I$(top_srcdir)/src -I$(top_srcdir)/src/dvdread
 
+AM_CPPFLAGS = -DDVDNAV_COMPILE -I$(top_srcdir)/src -I${prefix}/include/dvdread
 
 
 
 DVDNAV_LIB = $(top_builddir)/src/libdvdnav.la
 
 
media-libs/libdvdnav/libdvdnav-4.1.2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 

	
 
WANT_AUTOCONF="2.5"
 

	
 

	
 
inherit eutils autotools multilib base
 

	
 
DESCRIPTION="Library for DVD navigation tools"
 
HOMEPAGE="http://mplayerhq.hu/"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
 
IUSE="debug"
 
SRC_URI="http://www3.mplayerhq.hu/MPlayer/releases/dvdnav/libdvdnav-4.1.2.tar.gz"
 

	
 
PROVIDE="media-libs/libdvdread"
 

	
 
RDEPEND=">=media-libs/libdvdread-0.9.7"
 
DEPEND=">=media-libs/libdvdread-0.9.7"
 

	
 
src_unpack() {
 
	base_src_unpack
 
	cd "${S}"
 
	#remove it so that it can't be found and so that we get the errors we WANT :-) (like, "can't find nav_types.h" which should be in /usr/include/dvdread and is also in src/dvdread (which may have incompatible headers))
 
	mv src/dvdread src/notdvdread
 

	
 
	epatch "${FILESDIR}/${P}-nomake_libdvdread.diff"
 
	epatch "${FILESDIR}/${P}-mydebug.diff"
 

	
 
	eautoreconf
 
}
 

	
 
src_compile() {
 

	
 
	#there is probably a MUCH better fix than the following line, but I've heard rumors of dissent concerning configure scripts, so I won't waste my time in m4 :-)
 
	LDFLAGS="${LDFLAGS} -L/usr/$(get_libdir)/dvdread -ldvdread"
 
	./configure --prefix=/usr --libdir=/usr/$(get_libdir) \
 
		--enable-static --enable-shared \
 
		--disable-strip --disable-opts \
 
		$(use_enable debug) || die "configure died"
 

	
 
	emake || die "emake died"
 
}
 

	
 
src_install () {
 
	emake -j1 DESTDIR="${D}" install || die "emake install died"
 
	dodoc AUTHORS DEVELOPMENT-POLICY.txt ChangeLog TODO \
 
		doc/dvd_structures
 
}
media-libs/libdvdnav/libdvdnav-9999.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 

	
 
WANT_AUTOCONF="2.5"
 

	
 

	
 
inherit eutils autotools multilib subversion
 

	
 
DESCRIPTION="Library for DVD navigation tools"
 
HOMEPAGE="http://mplayerhq.hu/"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
 
IUSE="debug"
 

	
 
ESVN_REPO_URI="svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav"
 
ESVN_PROJECT="libdvdnav"
 

	
 
PROVIDE="media-libs/libdvdread"
 

	
 
src_compile() {
 
	./configure2 --prefix=/usr --libdir=/usr/$(get_libdir) \
 
		--shlibdir=/usr/$(get_libdir) --enable-static --enable-shared \
 
		--disable-strip --disable-opts \
 
		--extra-cflags=${CFLAGS} $(use_enable debug) || die "configure2 died"
 
	emake version.h && emake || die "emake version.h died"
 
	emake || die "emake died"
 
}
 

	
 
src_install () {
 
	emake -j1 DESTDIR="${D}" install || die "emake install died"
 
	dodoc AUTHORS DEVELOPMENT-POLICY.txt ChangeLog TODO \
 
		doc/dvd_structures
 
}
media-libs/sdl-image/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for media-libs/sdl-image
 
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/ChangeLog,v 1.42 2008/01/29 21:55:55 grobian Exp $
 

	
 
  29 Jan 2008; Fabian Groffen <grobian@gentoo.org>
 
  sdl-image-1.2.6-r1.ebuild:
 
  Dropped ppc-macos keyword, see you in prefix
 

	
 
*sdl-image-1.2.6-r1 (29 Jan 2008)
 

	
 
  29 Jan 2008; Michael Sterrett <mr_bones_@gentoo.org>
 
  +files/sdl-image-1.2.6-DOS.patch, -sdl-image-1.2.3-r1.ebuild,
 
  -sdl-image-1.2.4.ebuild, -sdl-image-1.2.5.ebuild,
 
  -sdl-image-1.2.5-r1.ebuild, -sdl-image-1.2.6.ebuild,
 
  +sdl-image-1.2.6-r1.ebuild:
 
  add patches from upstream to address security bug #207933; force stabilize all
 
  previously stable archs and remove older, vulnerable versions
 

	
 
*sdl-image-1.2.6 (21 Jul 2007)
 

	
 
  21 Jul 2007; Mike Frysinger <vapier@gentoo.org> +sdl-image-1.2.6.ebuild:
 
  Version bump.
 

	
 
  05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
 
  sdl-image-1.2.3-r1.ebuild:
 
  Remove gnuconfig_update usage, leave it to econf.
 

	
 
  31 Oct 2006; Tristan Heaven <nyhm@gentoo.org> sdl-image-1.2.5.ebuild,
 
  sdl-image-1.2.5-r1.ebuild:
 
  inherit eutils for epatch
 

	
 
  03 Oct 2006; Bryan Østergaard <kloeri@gentoo.org>
 
  sdl-image-1.2.5-r1.ebuild:
 
  Stable on Alpha.
 

	
 
  02 Oct 2006; Aron Griffis <agriffis@gentoo.org> sdl-image-1.2.5-r1.ebuild:
 
  Mark 1.2.5-r1 stable on ia64. #145470
 

	
 
  01 Oct 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  sdl-image-1.2.5-r1.ebuild:
 
  hppa stable, bug #145470
 

	
 
  18 Sep 2006; Chris Gianelloni <wolf31o2@gentoo.org>
 
  sdl-image-1.2.5-r1.ebuild:
 
  Stable on amd64 wrt bug #145470.
 

	
 
  10 Sep 2006; <ticho@gentoo.org> sdl-image-1.2.5-r1.ebuild:
 
  Stable on x86, bug #145470.
 

	
 
  06 Sep 2006; Joseph Jezak <josejx@gentoo.org> sdl-image-1.2.5-r1.ebuild:
 
  Marked ppc stable for bug #145470.
 

	
 
  05 Sep 2006; Joshua Kinard <kumba@gentoo.org> sdl-image-1.2.5-r1.ebuild:
 
  Marked stable on mips.
 

	
 
  04 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org>
 
  sdl-image-1.2.5-r1.ebuild:
 
  Stable on sparc wrt #145470
 

	
 
  04 Sep 2006; Fabian Groffen <grobian@gentoo.org>
 
  sdl-image-1.2.5-r1.ebuild:
 
  Marked ppc-macos stable (bug #145470)
 

	
 
  04 Sep 2006; Markus Rothe <corsair@gentoo.org> sdl-image-1.2.5-r1.ebuild:
 
  Stable on ppc64; bug #145470
 

	
 
*sdl-image-1.2.5-r1 (15 Aug 2006)
 

	
 
  15 Aug 2006; Michael Sterrett <mr_bones_@gentoo.org>
 
  +sdl-image-1.2.5-r1.ebuild:
 
  rev bump to force out patch
 

	
 
  15 Aug 2006; Michael Sterrett <mr_bones_@gentoo.org>
 
  sdl-image-1.2.5.ebuild:
 
  add Debian patch the fixes up the image loading in 1.2.5.  Fixes bug #143674
 
  and probably others.
 

	
 
*sdl-image-1.2.5 (19 May 2006)
 

	
 
  19 May 2006; Michael Sterrett <mr_bones_@gentoo.org>
 
  +sdl-image-1.2.5.ebuild:
 
  version bump
 

	
 
  11 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> sdl-image-1.2.4.ebuild:
 
  Add ~x86-fbsd keyword.
 

	
 
  07 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> +metadata.xml:
 
  Add maintainer-needed metadata.
 

	
 
  07 Mar 2006; Michael Sterrett <mr_bones_@gentoo.org>
 
  sdl-image-1.2.4.ebuild:
 
  filter out k6 flags for bug #120554
 

	
 
  04 Mar 2006; Fabian Groffen <grobian@gentoo.org> sdl-image-1.2.4.ebuild:
 
  Marked ~ppc-macos (bug #78781)
 

	
 
  26 Aug 2005; Aron Griffis <agriffis@gentoo.org> sdl-image-1.2.4.ebuild:
 
  add ~ia64
 

	
 
  07 Jan 2005; Mike Frysinger <vapier@gentoo.org> sdl-image-1.2.3-r1.ebuild,
 
  sdl-image-1.2.4.ebuild:
 
  Remove DEPEND on gif since it is an internal feature #77011 by P.L.Hayes.
 

	
 
*sdl-image-1.2.4 (16 Dec 2004)
 

	
 
  16 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org>
 
  +sdl-image-1.2.4.ebuild:
 
  version bump
 

	
 
  17 Oct 2004; Dylan Carlson <absinthe@gentoo.org> sdl-image-1.2.3.ebuild:
 
  stable on amd64.
 

	
 
  11 Aug 2004; Michael Sterrett <mr_bones_@gentoo.org>
 
  sdl-image-1.2.3-r1.ebuild:
 
  always gnuconfig_update; tidy
 

	
 
  08 Aug 2004; Tom Gall <tgall@gentoo.org> sdl-image-1.2.3-r1.ebuild:
 
  stable on ppc64, bug #57991
 

	
 
*sdl-image-1.2.3-r1 (02 Apr 2004)
 

	
 
  02 Apr 2004; Seemant Kulleen <seemant@gentoo.org> sdl-image-1.2.3-r1.ebuild:
 
  install the showimage binary, thanks to: Gerry <trick@icculus.org> in bug
 
  #46655. Also, use USE flag to determine what support to build
 

	
 
  19 Mar 2004; Gustavo Zacarias <gustavoz@gentoo.org> sdl-image-1.2.3.ebuild:
 
  stable on sparc
 

	
 
  14 Mar 2004; Stephen P. Becker <geoman@gentoo.org> sdl-image-1.2.3.ebuild:
 
  Added ~mips keyword.
 

	
 
  06 Oct 2003; Aron Griffis <agriffis@gentoo.org> sdl-image-1.2.3.ebuild:
 
  Stable on alpha
 

	
 
  15 Sep 2003; Michael Sterrett <msterret@gentoo.org> sdl-image-1.2.3.ebuild:
 
  mark stable for x86
 

	
 
*sdl-image-1.2.3 (09 Sep 2003)
 

	
 
  09 Sep 2003; Michael Sterrett <msterret@gentoo.org> sdl-image-1.2.3.ebuild:
 
  version bump
 

	
 
  06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
 
 
 
*sdl-image-1.2.2 (6 May 2002)
 

	
 
  06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
 
  Added ppc to keywords
 

	
 
  6 May 2002; Seemant Kulleen <seemant@gentoo.org> sdl-image-1.2.2.ebuild
 
  files/digest-sdl-image-1.2.2 :
 

	
 
  Version bump to keep up with the rest of the SDL applications.
 

	
 
*sdl-image-1.2.1-r1 (12 Apr 2002)
 
  12 Apr 2002; Spider <spider@gentoo.org>
 
  updating with new libpng version
 

	
 

	
 
*sdl-image-1.2.1 (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 target's 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.
media-libs/sdl-image/Manifest
Show inline comments
 
new file 100644
 
AUX #sdl-image-crosspkgconfig.patch# 1476 RMD160 1defeb64205fb452eb11c5aea302bd62a78eab47 SHA1 0a8c14f1a3b9596774a44753e4dc9b8f0a50eee4 SHA256 357d85534ea71191231412beb0b2de2aaa8e05194d07fdc736a71dbc65496af2
 
AUX sdl-image-1.2.6-DOS.patch 1405 RMD160 c79ebcd36e2a9e676e28e15c86729b96f68fef47 SHA1 517c0c2f6705bf86258fc6309fba4fa26d17b43d SHA256 bfea5f5b91d1f0c7560c8901ecd27f3c9ac3ab451e986c31ec0eb1e83c740dbd
 
AUX sdl-image-crosspkgconfig.patch 1989 RMD160 d9dbb3b96bd99e4a129e0775c7f2c68992855d76 SHA1 7235414504631c780b21924c27f65140ed62dac1 SHA256 58499e1f436db72d54494780bc920c4c43abbac76ad7d3bd77a763b93ad3713c
 
AUX sdl-image-crosspkgconfig_makefile.patch 1137 RMD160 45092522c57f28827bc09e9402966ea841d090d7 SHA1 a64ceb5e28746cd7b521960500c1d26934fc020f SHA256 5ffc9b66533e75b1fadf48ddccfab9ea46d38f3577775cf58bb99cbc042ba319
 
AUX sdl-image.pc.in 552 RMD160 e8e1765fa7dcbb2ba774aa2c7ba17278127b332f SHA1 7c746afed08304157ba68484e2998503ed98d3e4 SHA256 8b8d34cc2ae789f997b6c13171825e418a037d4be14c4df42ee28c26e526de4a
 
DIST SDL_image-1.2.6.tar.gz 1308812 RMD160 8aea5f07216eb887f599c0908f8ea2c2f9eeac93 SHA1 5045df31e4db29d8890110fd18024c9d08efca30 SHA256 88fcb1dbf934af33163667a6677312065c7d0a7f01cd764e3374c4c19b386ec4
 
EBUILD sdl-image-1.2.6-r1.ebuild 1579 RMD160 e762c28f2d538b408b1ceb6cacc56a7f94abb6da SHA1 8cf5dc4fa3af793e6d4fde1e0531d0c553dfc32d SHA256 e9e18115f9471d74059d4601efb0b4ef9ba66ac8f131b436bd8b9a4010416eb2
 
MISC ChangeLog 5587 RMD160 c8248041328ce83ec04072e1820eeaff2f5404f1 SHA1 ff6bce26d73acba2490a78f2b0406467801e0c54 SHA256 74c47f39a2d319198df3be7cdb4a76bc7487b5f70dbb5d3b723dbcf2fd657662
 
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
media-libs/sdl-image/files/#sdl-image-crosspkgconfig.patch#
Show inline comments
 
new file 100644
 
diff -c /mnt/bacup/portagetmp/portage/media-libs/sdl-image-1.2.6-r1/work/SDL_image-1.2.6/configure.in /var/tmp/portage/media-libs/sdl-image-1.2.6-r1/work/SDL_image-1.2.6/configure.in
 
--- /mnt/bacup/portagetmp/portage/media-libs/sdl-image-1.2.6-r1/work/SDL_image-1.2.6/configure.in	2007-07-21 01:26:26.000000000 -0400
 
+++ /var/tmp/portage/media-libs/sdl-image-1.2.6-r1/work/SDL_image-1.2.6/configure.in	2008-09-17 21:10:44.000000000 -0400
 
@@ -25,6 +25,9 @@
 
 AC_SUBST(BINARY_AGE)
 
 AC_SUBST(VERSION)
 
 
 
+#initialize pkgconfig
 
+PKG_PROG_PKG_CONFIG
 
+
 
 # libtool versioning
 
 LT_RELEASE=$MAJOR_VERSION.$MINOR_VERSION
 
 LT_CURRENT=`expr $MICRO_VERSION - $INTERFACE_AGE`
 
@@ -79,11 +82,10 @@
 
 AM_CONDITIONAL(USE_VERSION_RC, test x$use_version_rc = xtrue)
 
 
 
 dnl Check for SDL
 
-SDL_VERSION=1.2.10
 
-AM_PATH_SDL($SDL_VERSION,
 
-            :,
 
-           AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
 
-)
 
+dnl Versions newer than 1.2.11 have pkgconfig support. AND, it works better for cross-compiling. Thus, support for 1.2.10 is not in Binki's <ohnobinki@ohnopublishing.net>'s interest
 
+SDL_VERSION=1.2.11
 
+
 
+PKG_CHECK_MODULES([SDL],[sdl >= 1.2.11])
 
 CFLAGS="$CFLAGS $SDL_CFLAGS"
 
 LIBS="$LIBS $SDL_LIBS"
 
 saved_LIBS="$LIBS"
 
@@ -283,8 +285,8 @@
 
     fi
 
 fi
 
 
 
-LIBS="$saved_LIBS"
 
+IMG_LIBS="$saved_LIBS $IMG_LIBS"
 
 
 
 AC_SUBST([WINDRES])
 
 AC_SUBST([IMG_LIBS])
 
 
 

	
 
@@ -295,4 +295,5 @@
 
 Makefile
 
 SDL_image.spec
 
 SDL_image.qpg
 
+sdl-image.pc
 
 ])
 

	
 
Diff finished.  Sun Sep 17 21:11:06 2008
media-libs/sdl-image/files/sdl-image-1.2.6-DOS.patch
Show inline comments
 
new file 100644
 
--- trunk/SDL_image/IMG_gif.c	2007/02/13 10:09:17	2970
 
+++ trunk/SDL_image/IMG_gif.c	2007/12/28 16:43:56	3462
 
@@ -418,6 +418,10 @@
 
     static int stack[(1 << (MAX_LWZ_BITS)) * 2], *sp;
 
     register int i;
 
 
 
+    /* Fixed buffer overflow found by Michael Skladnikiewicz */
 
+    if (input_code_size > MAX_LWZ_BITS)
 
+        return -1;
 
+
 
     if (flag) {
 
 	set_code_size = input_code_size;
 
 	code_size = set_code_size + 1;
 
--- trunk/SDL_image/IMG_lbm.c	2007/07/20 04:37:11	3341
 
+++ trunk/SDL_image/IMG_lbm.c	2008/01/03 20:05:34	3521
 
@@ -28,6 +28,7 @@
 
    EHB and HAM (specific Amiga graphic chip modes) support added by Marc Le Douarain
 
    (http://www.multimania.com/mavati) in December 2003.
 
    Stencil and colorkey fixes by David Raulo (david.raulo AT free DOT fr) in February 2004.
 
+   Buffer overflow fix in RLE decompression by David Raulo in January 2008.
 
 */
 
 
 
 #include <stdio.h>
 
@@ -328,7 +329,7 @@
 
 						count ^= 0xFF;
 
 						count += 2; /* now it */
 
 
 
-						if ( !SDL_RWread( src, &color, 1, 1 ) )
 
+						if ( ( count > remainingbytes ) || !SDL_RWread( src, &color, 1, 1 ) )
 
 						{
 
 						   error="error reading BODY chunk";
 
 							goto done;
 
@@ -339,7 +340,7 @@
 
 					{
 
 						++count;
 
 
 
-						if ( !SDL_RWread( src, ptr, count, 1 ) )
 
+						if ( ( count > remainingbytes ) || !SDL_RWread( src, ptr, count, 1 ) )
 
 						{
 
 						   error="error reading BODY chunk";
 
 							goto done;
media-libs/sdl-image/files/sdl-image-crosspkgconfig.patch
Show inline comments
 
new file 100644
 
diff -c /mnt/satahd/portagetmp/portage/media-libs/sdl-image-1.2.6-r1/work/SDL_image-1.2.6/configure.in /var/tmp/portage/media-libs/sdl-image-1.2.6-r1/work/SDL_image-1.2.6/configure.in
 
*** /mnt/satahd/portagetmp/portage/media-libs/sdl-image-1.2.6-r1/work/SDL_image-1.2.6/configure.in	2007-07-21 01:26:26.000000000 -0400
 
--- /var/tmp/portage/media-libs/sdl-image-1.2.6-r1/work/SDL_image-1.2.6/configure.in	2008-09-17 21:28:36.000000000 -0400
 
***************
 
*** 25,30 ****
 
--- 25,33 ----
 
  AC_SUBST(BINARY_AGE)
 
  AC_SUBST(VERSION)
 
  
 
+ #initialize pkgconfig
 
+ PKG_PROG_PKG_CONFIG
 
+ 
 
  # libtool versioning
 
  LT_RELEASE=$MAJOR_VERSION.$MINOR_VERSION
 
  LT_CURRENT=`expr $MICRO_VERSION - $INTERFACE_AGE`
 
***************
 
*** 79,89 ****
 
  AM_CONDITIONAL(USE_VERSION_RC, test x$use_version_rc = xtrue)
 
  
 
  dnl Check for SDL
 
! SDL_VERSION=1.2.10
 
! AM_PATH_SDL($SDL_VERSION,
 
!             :,
 
!            AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
 
! )
 
  CFLAGS="$CFLAGS $SDL_CFLAGS"
 
  LIBS="$LIBS $SDL_LIBS"
 
  saved_LIBS="$LIBS"
 
--- 82,91 ----
 
  AM_CONDITIONAL(USE_VERSION_RC, test x$use_version_rc = xtrue)
 
  
 
  dnl Check for SDL
 
! dnl Versions newer than 1.2.11 have pkgconfig support. AND, it works better for cross-compiling. Thus, support for 1.2.10 is not in Binki's <ohnobinki@ohnopublishing.net>'s interest
 
! SDL_VERSION=1.2.11
 
! 
 
! PKG_CHECK_MODULES([SDL],[sdl >= 1.2.11])
 
  CFLAGS="$CFLAGS $SDL_CFLAGS"
 
  LIBS="$LIBS $SDL_LIBS"
 
  saved_LIBS="$LIBS"
 
***************
 
*** 283,296 ****
 
      fi
 
  fi
 
  
 
! LIBS="$saved_LIBS"
 
  
 
  AC_SUBST([WINDRES])
 
  AC_SUBST([IMG_LIBS])
 
  
 
  # Finally create all the generated files
 
  AC_OUTPUT([
 
  Makefile
 
  SDL_image.spec
 
  SDL_image.qpg
 
  ])
 
--- 285,300 ----
 
      fi
 
  fi
 
  
 
! LIBS="$saved_LIBS $IMG_LIBS"
 
  
 
  AC_SUBST([WINDRES])
 
  AC_SUBST([IMG_LIBS])
 
+ AC_SUBST([LIBS])
 
  
 
  # Finally create all the generated files
 
  AC_OUTPUT([
 
  Makefile
 
  SDL_image.spec
 
  SDL_image.qpg
 
+ sdl-image.pc
 
  ])
 

	
 
Diff finished.  Wed Sep 17 21:44:24 2008
media-libs/sdl-image/files/sdl-image-crosspkgconfig_makefile.patch
Show inline comments
 
new file 100644
 
diff -c /mnt/bacup/portagetmp/portage/media-libs/sdl-image-1.2.6-r1/work/SDL_image-1.2.6/Makefile.am /var/tmp/portage/media-libs/sdl-image-1.2.6-r1/work/SDL_image-1.2.6/Makefile.am
 
--- /mnt/bacup/portagetmp/portage/media-libs/sdl-image-1.2.6-r1/work/SDL_image-1.2.6/Makefile.am	2007-07-21 01:26:34.000000000 -0400
 
+++ /var/tmp/portage/media-libs/sdl-image-1.2.6-r1/work/SDL_image-1.2.6/Makefile.am	2008-09-17 21:29:38.000000000 -0400
 
@@ -39,14 +39,14 @@
 
 	-no-undefined		\
 
 	-release $(LT_RELEASE)	\
 
 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -Wl,version.o
 
-libSDL_image_la_LIBADD = $(IMG_LIBS)
 
+libSDL_image_la_LIBADD = $(LIBS)
 
 libSDL_image_la_DEPENDENCIES = version.o
 
 else
 
 libSDL_image_la_LDFLAGS = 	\
 
 	-no-undefined		\
 
 	-release $(LT_RELEASE)	\
 
 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
 
-libSDL_image_la_LIBADD = $(IMG_LIBS)
 
+libSDL_image_la_LIBADD = $(LIBS)
 
 endif
 
 
 
 %.o : %.rc
 
@@ -54,6 +54,6 @@
 
 
 
 noinst_PROGRAMS = showimage
 
 
 
-showimage_LDADD = libSDL_image.la
 
+showimage_LDADD = libSDL_image.la $(LIBS) 
 
 
 
 # Rule to build tar-gzipped distribution package
 

	
 
Diff finished.  Wed Sep 17 21:32:09 2008
media-libs/sdl-image/files/sdl-image.pc.in
Show inline comments
 
new file 100644
 
# sdl-image pkg-config source file, derived from sdl's pkg-config file
 

	
 
prefix=@prefix@
 
exec_prefix=@exec_prefix@
 
libdir=@libdir@
 
includedir=@includedir@
 

	
 
Name: sdl
 
Description: Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. SDL-Image provides support for loading a number of image file formats.
 
Version: @VERSION@
 
Requires: sdl-@SDL_VERSION@
 
Conflicts:
 
Libs: -L${libdir} @IMG_LIBS@
 
Cflags: -I${includedir}/SDL
media-libs/sdl-image/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>games</herd>
 
</pkgmetadata>
media-libs/sdl-image/sdl-image-1.2.6-r1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/sdl-image-1.2.6-r1.ebuild,v 1.2 2008/01/29 21:55:55 grobian Exp $
 

	
 
inherit eutils autotools libtool flag-o-matic pkgconfig
 

	
 
MY_P="${P/sdl-/SDL_}"
 
DESCRIPTION="image file loading library"
 
HOMEPAGE="http://www.libsdl.org/projects/SDL_image/index.html"
 
SRC_URI="http://www.libsdl.org/projects/SDL_image/release/${MY_P}.tar.gz"
 

	
 
LICENSE="LGPL-2.1"
 
SLOT="0"
 
KEYWORDS="alpha amd64 hppa ia64 mips ppc ppc64 sparc x86 ~x86-fbsd"
 
IUSE="gif jpeg tiff png"
 

	
 
DEPEND="sys-libs/zlib
 
	>=media-libs/libsdl-1.2.10
 
	png? ( >=media-libs/libpng-1.2.1 )
 
	jpeg? ( >=media-libs/jpeg-6b )
 
	tiff? ( media-libs/tiff )"
 

	
 
S=${WORKDIR}/${MY_P}
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 
	epatch "${FILESDIR}/${P}-DOS.patch"
 
	epatch "${FILESDIR}/${PN}-crosspkgconfig.patch"
 
	epatch "${FILESDIR}/${PN}-crosspkgconfig_makefile.patch"
 
	cp "${FILESDIR}/${PN}.pc.in" ./
 
	elibtoolize
 
	eautoreconf
 
}
 

	
 
src_compile() {
 
	myconf = ""
 
	if [ "${CHOST}" != "${CBUILD}" ]; then
 
		myconf="--with-sdl-prefix=/usr/${CHOST} \
 
"
 
	fi
 
		econf \
 
		$(use_enable gif) \
 
		$(use_enable jpeg jpg) \
 
		$(use_enable tiff tif) \
 
		$(use_enable png) \
 
		$(use_enable png pnm) \
 
		--enable-bmp \
 
		--enable-lbm \
 
		--enable-pcx \
 
		--enable-tga \
 
		--enable-xcf \
 
		--enable-xpm \
 
		${myconf} \
 
			|| die
 
	emake || die "emake failed"
 
}
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install || die "make install failed"
 
	dobin .libs/showimage || die "dobin failed"
 
	dodoc CHANGES README
 
}
media-sound/modplugplay/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for media-sound/modplugplay
 
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/media-sound/modplugplay/ChangeLog,v 1.7 2007/10/27 13:44:49 drac Exp $
 

	
 
  27 Oct 2007; Samuli Suominen <drac@gentoo.org> modplugplay-1.0.ebuild:
 
  Restrict test suite for bug 196941 because it's trying to play sounds using
 
  /dev/dsp.
 

	
 
  24 Oct 2007; Jeroen Roovers <jer@gentoo.org> modplugplay-1.0.ebuild:
 
  Marked ~hppa (media-libs/libmodplug, bug #196819).
 

	
 
  22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
 
  Transition to Manifest2.
 

	
 
  06 Feb 2006; Diego Pettenò <flameeyes@gentoo.org> modplugplay-1.0.ebuild:
 
  Use CFLAGS and LDFLAGS while building.
 

	
 
  25 Jul 2005; David Holm <dholm@gentoo.org> modplugplay-1.0.ebuild:
 
  Added to ~ppc.
 

	
 
  18 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org>
 
  modplugplay-1.0.ebuild:
 
  Stable amd64, x86.
 

	
 
*modplugplay-1.0 (11 Nov 2004)
 

	
 
  11 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org> +metadata.xml,
 
  +modplugplay-1.0.ebuild:
 
  Initial ebuild provided by me.
 

	
media-sound/modplugplay/Manifest
Show inline comments
 
new file 100644
 
DIST modplugplay-1.0.tar.gz 67703 RMD160 374e6326c064633498a85cfbaec4d0278de9626e SHA1 0a9b8905179f957edc620a6eb45f1e330094a14f SHA256 d78a39b4158901695c59d0757e8fe622e9b4cebcfb77eedfc20b937e5a0d521d
 
EBUILD modplugplay-1.0.ebuild 844 RMD160 db8c02b2b96702b0fdaedd8fce3999cf1365ac04 SHA1 4e463fcd170d318fa2169873e7946613dc8ec69c SHA256 57fd8ee42bfaf40f1c0638de0cbf5eb03d44f7e891005789726106906f9ec064
 
MISC ChangeLog 1074 RMD160 308304424ed9a87eabc24c180715400160958d0c SHA1 52e73643273cfa9b0218bd3826fed509071d4386 SHA256 d8d68263166aaca099d8555a41b342b4749e70a81276b5a9a7208c68d30b936f
 
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
media-sound/modplugplay/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>sound</herd>
 
</pkgmetadata>
media-sound/modplugplay/modplugplay-1.0.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/media-sound/modplugplay/modplugplay-1.0.ebuild,v 1.6 2007/10/27 13:44:49 drac Exp $
 

	
 
inherit toolchain-funcs
 

	
 
DESCRIPTION="A commandline player for mod music"
 
HOMEPAGE="http://www.linuks.mine.nu/modplugplay/"
 
SRC_URI="http://www.linuks.mine.nu/modplugplay/${P}.tar.gz"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
#-sparc: 1.0 - Bus Error on play
 
KEYWORDS="amd64 ~hppa ~ppc -sparc x86"
 
IUSE=""
 

	
 
RDEPEND=">=media-libs/libmodplug-0.7"
 
DEPEND="${RDEPEND}
 
	dev-util/pkgconfig"
 

	
 
RESTRICT="test"
 

	
 
src_compile() {
 
	$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o modplugplay modplugplay.c $(pkg-config libmodplug --cflags --libs)
 
}
 

	
 
src_install() {
 
	dobin modplugplay
 
	dodoc changelog readme
 
	dohtml modplugplay.html
 
	doman modplugplay.1
 
}
media-sound/sound-juicer/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for media-sound/sound-juicer
 
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/media-sound/sound-juicer/ChangeLog,v 1.137 2008/04/24 18:19:58 corsair Exp $
 

	
 
  24 Apr 2008; Markus Rothe <corsair@gentoo.org> sound-juicer-2.22.0.ebuild:
 
  Added ~ppc64; bug #218794
 

	
 
  22 Apr 2008; Raúl Porcel <armin76@gentoo.org> sound-juicer-2.22.0.ebuild:
 
  Add ~alpha/~ia64/~sparc wrt #218794
 

	
 
  15 Apr 2008; Daniel Gryniewicz <dang@gentoo.org>
 
  sound-juicer-2.22.0.ebuild:
 
  Can use either cdio or paranoia for CD audio; bug #216325
 

	
 
  26 Mar 2008; Gilles Dartiguelongue <eva@gentoo.org>
 
  sound-juicer-2.22.0.ebuild:
 
  drop most keywords because of gst-plugins-meta dependency
 

	
 
*sound-juicer-2.22.0 (26 Mar 2008)
 

	
 
  26 Mar 2008; Gilles Dartiguelongue <eva@gentoo.org>
 
  +sound-juicer-2.22.0.ebuild:
 
  New version for GNOME-2.22. Inhibit suspend when ripping, add some more
 
  fields in the main UI, fix bugs.
 

	
 
  09 Mar 2008; Mart Raudsepp <leio@gentoo.org> -sound-juicer-2.16.4.ebuild,
 
  -sound-juicer-2.20.0.ebuild, -sound-juicer-2.20.1.ebuild:
 
  Remove old versions
 

	
 
  04 Feb 2008; Jeroen Roovers <jer@gentoo.org>
 
  sound-juicer-2.20.1-r1.ebuild:
 
  Stable for HPPA (bug #208366).
 

	
 
  03 Feb 2008; Raúl Porcel <armin76@gentoo.org>
 
  sound-juicer-2.20.1-r1.ebuild:
 
  alpha/ia64/sparc stable wrt #208366
 

	
 
  02 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
 
  sound-juicer-2.20.1-r1.ebuild:
 
  Stable on amd64 wrt bug #208366.
 

	
 
  01 Feb 2008; Brent Baude <ranger@gentoo.org>
 
  sound-juicer-2.20.1-r1.ebuild:
 
  Marking sound-juicer-2.20.1-r1 ppc64 and ppc stable for bug 208366
 

	
 
  01 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
 
  sound-juicer-2.20.1-r1.ebuild:
 
  stable x86, bug 208366
 

	
 
*sound-juicer-2.20.1-r1 (02 Jan 2008)
 

	
 
  02 Jan 2008; Alexis Ballier <aballier@gentoo.org>
 
  sound-juicer-2.16.4.ebuild, sound-juicer-2.20.0.ebuild,
 
  sound-juicer-2.20.1.ebuild, +sound-juicer-2.20.1-r1.ebuild:
 
  Fix musicbrainz deps again... add a revbump in ~arch for the latest version
 
  for slot deps using eapi 1
 

	
 
  01 Jan 2008; Alexis Ballier <aballier@gentoo.org>
 
  sound-juicer-2.16.4.ebuild, sound-juicer-2.20.0.ebuild,
 
  sound-juicer-2.20.1.ebuild:
 
  stick musicbrainz deps to -2*, bug #203784
 

	
 
  29 Nov 2007; Jeroen Roovers <jer@gentoo.org> sound-juicer-2.20.1.ebuild:
 
  Stable for HPPA (bug #199740).
 

	
 
  26 Nov 2007; Markus Rothe <corsair@gentoo.org> sound-juicer-2.20.1.ebuild:
 
  Stable on ppc64; bug #199740
 

	
 
  24 Nov 2007; Brent Baude <ranger@gentoo.org> sound-juicer-2.20.1.ebuild:
 
  Marking sound-juicer-2.20.1 ppc stable for bug 199740
 

	
 
  22 Nov 2007; Raúl Porcel <armin76@gentoo.org> sound-juicer-2.20.1.ebuild:
 
  alpha/ia64/sparc stable wrt #199740
 

	
 
  21 Nov 2007; Dawid Węgliński <cla@gentoo.org>
 
  sound-juicer-2.20.1.ebuild:
 
  Stable on x86 (bug #199740)
 

	
 
  20 Nov 2007; Samuli Suominen <drac@gentoo.org> sound-juicer-2.20.1.ebuild:
 
  amd64 stable wrt #199740
 

	
 
  28 Oct 2007; Gilles Dartiguelongue <eva@gentoo.org>
 
  -sound-juicer-2.16.2.ebuild, sound-juicer-2.16.4.ebuild,
 
  sound-juicer-2.20.0.ebuild, sound-juicer-2.20.1.ebuild:
 
  fix DEPEND to pass tests and remove old version
 

	
 
  19 Oct 2007; Roy Marples <uberlord@gentoo.org> sound-juicer-2.20.1.ebuild:
 
  Keyworded ~x86-fbsd
 

	
 
*sound-juicer-2.20.1 (14 Oct 2007)
 

	
 
  14 Oct 2007; Gilles Dartiguelongue <eva@gentoo.org>
 
  +sound-juicer-2.20.1.ebuild:
 
  bump to 2.20.1
 

	
 
*sound-juicer-2.20.0 (13 Oct 2007)
 

	
 
  13 Oct 2007; Rémi Cardona <remi@gentoo.org> +sound-juicer-2.20.0.ebuild:
 
  new version for Gnome 2.20
 

	
 
  22 Aug 2007; Mart Raudsepp <leio@gentoo.org> -sound-juicer-2.14.4.ebuild,
 
  -sound-juicer-2.16.3.ebuild:
 
  Removing Gnome 2.14
 

	
 
  25 Jul 2007; Raúl Porcel <armin76@gentoo.org> sound-juicer-2.16.4.ebuild:
 
  alpha stable wrt #171107
 

	
 
  05 Jul 2007; Roy Marples <uberlord@gentoo.org> sound-juicer-2.16.4.ebuild:
 
  Keyworded ~x86-fbsd.
 

	
 
  19 Jun 2007; Raúl Porcel <armin76@gentoo.org> sound-juicer-2.16.4.ebuild:
 
  ia64 stable wrt #171107
 

	
 
  02 Jun 2007; Brent Baude <ranger@gentoo.org> sound-juicer-2.16.4.ebuild:
 
  Marking sound-juicer-2.16.4 ppc stable for bug #171107
 

	
 
  31 May 2007; Jeroen Roovers <jer@gentoo.org> sound-juicer-2.16.4.ebuild:
 
  Stable for HPPA (bug #171107).
 

	
 
  31 May 2007; Daniel Gryniewicz <dang@gentoo.org>
 
  sound-juicer-2.16.4.ebuild:
 
  Marked stable on amd64 for bug #171107
 

	
 
  31 May 2007; Brent Baude <ranger@gentoo.org> sound-juicer-2.16.4.ebuild:
 
  Marking sound-juicer-2.16.4 ppc64 stable for bug #171107
 

	
 
  29 May 2007; Andrej Kacian <ticho@gentoo.org> sound-juicer-2.16.4.ebuild:
 
  Stable on x86, bug #171107.
 

	
 
  29 May 2007; Gustavo Zacarias <gustavoz@gentoo.org>
 
  sound-juicer-2.16.4.ebuild:
 
  Stable on sparc wrt #171107
 

	
 
  28 May 2007; Mart Raudsepp <leio@gentoo.org> sound-juicer-2.16.4.ebuild:
 
  Fix tests
 

	
 
*sound-juicer-2.16.4 (27 Apr 2007)
 

	
 
  27 Apr 2007; Daniel Gryniewicz <dang@gentoo.org>
 
  +sound-juicer-2.16.4.ebuild:
 
  Bump to 2.16.4 * Follow the preferred sound device as set in control centre
 
  (Bastien Nocera) * Detect FreeDB albums better (thanks David Mandelberg) *
 
  Make path selector accessible (Rich Burridge) * Use xdg-data-dirs to set a
 
  nice default directory on systems that support it (BN) * Init threading
 
  earlier (Christian Kirbach) * Transcode errors to UTF-8 (Pascal Terjan) *
 
  Remove Application category from desktop file * Fix build in
 
  srcdir!=builddir (Loic Minier)
 

	
 
*sound-juicer-2.16.3 (26 Feb 2007)
 

	
 
  26 Feb 2007; Luis Medinas <metalgod@gentoo.org>
 
  -sound-juicer-2.16.1.ebuild, +sound-juicer-2.16.3.ebuild:
 
  Version Bump.
 

	
 
  21 Jan 2007; Bryan Østergaard <kloeri@gentoo.org>
 
  sound-juicer-2.16.2.ebuild:
 
  Stable on IA64, bug 156662.
 

	
 
  18 Jan 2007; Jeroen Roovers <jer@gentoo.org> sound-juicer-2.16.2.ebuild:
 
  Stable for HPPA (bug #147751).
 

	
 
  14 Jan 2007; Bryan Østergaard <kloeri@gentoo.org>
 
  sound-juicer-2.16.2.ebuild:
 
  Stable on Alpha.
 

	
 
  21 Dec 2006; Markus Rothe <corsair@gentoo.org> sound-juicer-2.16.2.ebuild:
 
  Stable on ppc64; bug #156662
 

	
 
  18 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org>
 
  sound-juicer-2.16.2.ebuild:
 
  Stable on sparc
 

	
 
  17 Dec 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  sound-juicer-2.16.2.ebuild:
 
  Stable on ppc wrt bug #156662.
 

	
 
  12 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
 
  sound-juicer-2.16.2.ebuild:
 
  Stable on amd64 wrt bug #156662.
 

	
 
  10 Dec 2006; Andrej Kacian <ticho@gentoo.org> sound-juicer-2.16.2.ebuild:
 
  Stable on x86, bug #156662.
 

	
 
*sound-juicer-2.16.2 (19 Nov 2006)
 

	
 
  19 Nov 2006; Mart Raudsepp <leio@gentoo.org>
 
  -files/sound-juicer-2.12.2-file-chooser-3.patch,
 
  -sound-juicer-2.10.1.ebuild, -sound-juicer-2.12.2-r1.ebuild,
 
  -sound-juicer-2.12.3.ebuild, -sound-juicer-2.14.0.ebuild,
 
  -sound-juicer-2.14.2.ebuild, -sound-juicer-2.16.0.ebuild,
 
  +sound-juicer-2.16.2.ebuild:
 
  Version bump. Clean up old.
 

	
 
  20 Oct 2006; Aron Griffis <agriffis@gentoo.org>
 
  sound-juicer-2.14.4.ebuild:
 
  Mark 2.14.4 stable on alpha
 

	
 
*sound-juicer-2.16.1 (12 Oct 2006)
 

	
 
  12 Oct 2006; Mart Raudsepp <leio@gentoo.org> +sound-juicer-2.16.1.ebuild:
 
  Version bump
 

	
 
  28 Sep 2006; Mart Raudsepp <leio@gentoo.org> sound-juicer-2.16.0.ebuild:
 
  Correct intltool dependency.
 

	
 
  19 Sep 2006; Aron Griffis <agriffis@gentoo.org>
 
  sound-juicer-2.14.4.ebuild:
 
  Mark 2.14.4 stable on ia64. #139612
 

	
 
  08 Sep 2006; Thomas Cort <tcort@gentoo.org> sound-juicer-2.14.4.ebuild:
 
  Added ~alpha keyword wrt Bug #131746.
 

	
 
*sound-juicer-2.16.0 (07 Sep 2006)
 

	
 
  07 Sep 2006; Daniel Gryniewicz <dang@gentoo.org>
 
  +sound-juicer-2.16.0.ebuild:
 
  New version for gnome 2.16
 

	
 
  19 Aug 2006; Bryan Østergaard <kloeri@gentoo.org>
 
  sound-juicer-2.14.4.ebuild:
 
  Add ~ia64 keyword.
 

	
 
  16 Aug 2006; Markus Rothe <corsair@gentoo.org> sound-juicer-2.14.4.ebuild:
 
  Stable on ppc64
 

	
 
  17 Jul 2006; Daniel Gryniewicz <dang@gentoo.org>
 
  sound-juicer-2.14.4.ebuild:
 
  Marked stable on amd64 for bug #139612
 

	
 
  16 Jul 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  sound-juicer-2.14.4.ebuild:
 
  hppa stable, bug #139612
 

	
 
  14 Jul 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  sound-juicer-2.14.4.ebuild:
 
  ppc stable, bug #139612
 

	
 
  12 Jul 2006; Chris Gianelloni <wolf31o2@gentoo.org>
 
  sound-juicer-2.14.4.ebuild:
 
  Stable on x86 wrt bug #139612.
 

	
 
  10 Jul 2006; Gustavo Zacarias <gustavoz@gentoo.org>
 
  sound-juicer-2.14.4.ebuild:
 
  Stable on sparc wrt #139612
 

	
 
  08 Jul 2006; John N. Laliberte <allanonjl@gentoo.org>
 
  sound-juicer-2.14.4.ebuild:
 
  set makeopts -j2 to avoid File is corrupt errors.
 

	
 
  01 Jul 2006; Daniel Gryniewicz <dang@gentoo.org>
 
  sound-juicer-2.14.4.ebuild:
 
  Fix parallel builds.  Bug #138729
 

	
 
*sound-juicer-2.14.4 (30 Jun 2006)
 

	
 
  30 Jun 2006; <dang@gentoo.org> +sound-juicer-2.14.4.ebuild:
 
  Bump for 2.14.2
 

	
 
  14 May 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  sound-juicer-2.14.2.ebuild:
 
  Added ~hppa, bug #131746
 

	
 
*sound-juicer-2.14.2 (06 May 2006)
 

	
 
  06 May 2006; <dang@gentoo.org> +sound-juicer-2.14.2.ebuild:
 
  Bump for 2.14.1
 

	
 
  06 May 2006; John N. Laliberte <allanonjl@gentoo.org>
 
  sound-juicer-2.14.0.ebuild:
 
  drop alpha,hppa,ia64, bug filed. prep for 2.14 unmask
 

	
 
  21 Apr 2006; John N. Laliberte <allanonjl@gentoo.org>
 
  sound-juicer-2.14.0.ebuild:
 
  add explicit dep on libcdio >0.70, fix submitted upstream.  fixes #129920
 

	
 
  19 Mar 2006; Marinus Schraal <foser@gentoo.org> sound-juicer-2.14.0.ebuild :
 
  Correct nautilus-cd-burner dep, also reported as (#126770)
 
  Add gst-plugins-gconf dep
 

	
 
*sound-juicer-2.14.0 (16 Mar 2006)
 

	
 
  16 Mar 2006; Joe McCann <joem@gentoo.org> +sound-juicer-2.14.0.ebuild:
 
  new release for gnome-2.14. Supports gstreamer-0.10
 

	
 
  10 Mar 2006; Aron Griffis <agriffis@gentoo.org>
 
  sound-juicer-2.12.3.ebuild:
 
  Mark 2.12.3 stable on ia64
 

	
 
  07 Feb 2006; Aron Griffis <agriffis@gentoo.org>
 
  sound-juicer-2.12.3.ebuild:
 
  Mark 2.12.3 stable on alpha
 

	
 
  03 Feb 2006; Guy Martin <gmsoft@gentoo.org> sound-juicer-2.12.3.ebuild:
 
  Stable on hppa.
 

	
 
  22 Jan 2006; Markus Rothe <corsair@gentoo.org> sound-juicer-2.12.3.ebuild:
 
  Stable on ppc64
 

	
 
  22 Jan 2006; <dang@gentoo.org> sound-juicer-2.12.3.ebuild:
 
  Marked stable on amd64 per bug #119634
 

	
 
  22 Jan 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  sound-juicer-2.12.3.ebuild:
 
  Marked ppc stable for bug #119634; Stabilize Gnome-2.12.2
 

	
 
  22 Jan 2006; Joshua Jackson <tsunam@gentoo.org>
 
  sound-juicer-2.12.3.ebuild:
 
  Stable on x86 for bug #119634; Stabilize Gnome-2.12.2
 

	
 
  20 Jan 2006; Gustavo Zacarias <gustavoz@gentoo.org>
 
  sound-juicer-2.12.3.ebuild:
 
  Stable on sparc wrt #119634
 

	
 
  14 Jan 2006; Leonardo Boshell <leonardop@gentoo.org>
 
  sound-juicer-2.10.1.ebuild, sound-juicer-2.12.2-r1.ebuild,
 
  sound-juicer-2.12.3.ebuild:
 
  Added docbook-xml-dtd to DEPEND, required to process help files (bug #104014)
 

	
 
  14 Jan 2006; Leonardo Boshell <leonardop@gentoo.org>
 
  sound-juicer-2.12.3.ebuild:
 
  Restrict the gnome-doc-utils version number (bug #118959).
 

	
 
*sound-juicer-2.12.3 (09 Jan 2006)
 

	
 
  09 Jan 2006; Joe McCann <joem@gentoo.org> +sound-juicer-2.12.3.ebuild:
 
  version bump, bugfix release
 

	
 
*sound-juicer-2.12.2-r1 (14 Oct 2005)
 

	
 
  14 Oct 2005; John N. Laliberte <allanonjl@gentoo.org>
 
  +files/sound-juicer-2.12.2-file-chooser-3.patch,
 
  +sound-juicer-2.12.2-r1.ebuild:
 
  apply patch to fix when going to edit->preferences, fixes #108895
 

	
 
*sound-juicer-2.12.2 (03 Oct 2005)
 

	
 
  03 Oct 2005; Leonardo Boshell <leonardop@gentoo.org>
 
  -sound-juicer-2.12.0.ebuild, +sound-juicer-2.12.2.ebuild:
 
  New version.
 

	
 
  19 Sep 2005; Saleem Abdulrasool <compnerd@gentoo.org>
 
  sound-juicer-2.12.0.ebuild:
 
  Adding dep on gnome-doc-utils; Resolves Bug#103322
 

	
 
  15 Sep 2005; Aron Griffis <agriffis@gentoo.org>
 
  sound-juicer-2.10.1.ebuild:
 
  Mark 2.10.1 stable on alpha
 

	
 
*sound-juicer-2.12.0 (11 Sep 2005)
 

	
 
  11 Sep 2005; John N. Laliberte <allanonjl@gentoo.org>
 
  -sound-juicer-2.11.92.ebuild, +sound-juicer-2.12.0.ebuild:
 
  2.12 release vbump
 

	
 
*sound-juicer-2.11.92 (29 Aug 2005)
 

	
 
  29 Aug 2005; John N. Laliberte <allanonjl@gentoo.org>
 
  -sound-juicer-2.11.91.ebuild, +sound-juicer-2.11.92.ebuild:
 
  new version
 

	
 
  24 Aug 2005; Aron Griffis <agriffis@gentoo.org>
 
  sound-juicer-2.10.1.ebuild:
 
  stable on ia64
 

	
 
*sound-juicer-2.10.1-r1 (24 Aug 2005)
 

	
 
  24 Aug 2005; Diego Pettenò <flameeyes@gentoo.org>
 
  +files/sound-juicer-2.10.1-fbsd.patch, +sound-juicer-2.10.1-r1.ebuild:
 
  Added patch to let sound-juicer build on Gentoo/FreeBSD.
 

	
 
*sound-juicer-2.11.91 (23 Aug 2005)
 

	
 
  23 Aug 2005; Leonardo Boshell <leonardop@gentoo.org>
 
  +sound-juicer-2.11.91.ebuild:
 
  New version.
 

	
 
  08 Aug 2005; Markus Rothe <corsair@gentoo.org> sound-juicer-2.10.1.ebuild:
 
  Stable on ppc64
 

	
 
  02 Aug 2005; Simon Stelling <blubb@gentoo.org> sound-juicer-2.10.1.ebuild:
 
  stable on amd64
 

	
 
  31 Jul 2005; Tobias Scherbaum <dertobi123@gentoo.org>
 
  sound-juicer-2.10.1.ebuild:
 
  ppc stable
 

	
 
  27 Jul 2005; Guy Martin <gmsoft@gentoo.org> sound-juicer-2.10.1.ebuild:
 
  Stable on hppa.
 

	
 
  27 Jul 2005; Gustavo Zacarias <gustavoz@gentoo.org>
 
  sound-juicer-2.10.1.ebuild:
 
  Stable on sparc
 

	
 
  26 Jul 2005; Leonardo Boshell <leonardop@gentoo.org>
 
  sound-juicer-2.10.1.ebuild:
 
  Stable on x86.
 

	
 
*sound-juicer-2.10.1 (06 Jul 2005)
 

	
 
  06 Jul 2005; Leonardo Boshell <leonardop@gentoo.org>
 
  sound-juicer-2.10.1.ebuild:
 
  New release.
 

	
 
  02 Jul 2005; Nathaniel McCallum <npmccallum@gentoo.org>
 
  sound-juicer-0.5.15.ebuild:
 
  Updated hal dependencies (to avoid future conflicts).
 

	
 
  02 Jul 2005; Bryan Østergaard <kloeri@gentoo.org>
 
  sound-juicer-2.10.0.ebuild:
 
  Stable on alpha.
 

	
 
  25 Jun 2005; Guy Martin <gmsoft@gentoo.org> sound-juicer-2.10.0.ebuild:
 
  Stable on hppa.
 

	
 
  13 Jun 2005; Bryan Østergaard <kloeri@gentoo.org>
 
  sound-juicer-2.10.0.ebuild:
 
  Add ~alpha keyword.
 

	
 
  12 Jun 2005; Olivier Crête <tester@gentoo.org>
 
  sound-juicer-2.10.0.ebuild:
 
  Stable on amd64
 

	
 
  12 Jun 2005; Tobias Scherbaum <dertobi123@gentoo.org>
 
  sound-juicer-2.10.0.ebuild:
 
  Stable on ppc.
 

	
 
  09 Jun 2005; Gustavo Zacarias <gustavoz@gentoo.org>
 
  sound-juicer-2.10.0.ebuild:
 
  Stable on sparc
 

	
 
  09 Jun 2005; Markus Rothe <corsair@gentoo.org> sound-juicer-2.10.0.ebuild:
 
  Stable on ppc64
 

	
 
  28 May 2005; Jan Brinkmann <luckyduck@gentoo.org>
 
  sound-juicer-0.5.15.ebuild, sound-juicer-2.10.0.ebuild:
 
  Dont make use of the deprecated oggvorbis useflag any longer, see #94254.
 
  Marked 0.5.15 stable on amd64.
 

	
 
  08 May 2005; Aron Griffis <agriffis@gentoo.org> sound-juicer-2.10.0.ebuild:
 
  add ~ia64
 

	
 
  06 May 2005; Markus Rothe <corsair@gentoo.org> sound-juicer-2.10.0.ebuild:
 
  Added ~ppc64 to KEYWORDS
 

	
 
  21 Mar 2005; foser <foser@gentoo.org> sound-juicer-2.10.0.ebuild :
 
  Add gnome-media dep (#86097)
 

	
 
*sound-juicer-2.10.0 (11 Mar 2005)
 

	
 
  11 Mar 2005; foser <foser@gentoo.org> sound-juicer-2.10.0.ebuild :
 
  Gnome 2.10 release, fixed deps
 
  fixed USE flags to be more inline with default functionality
 

	
 
  18 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org>
 
  sound-juicer-0.5.15.ebuild:
 
  Added to ~sparc.
 

	
 
*sound-juicer-0.5.15 (13 Dec 2004)
 

	
 
  13 Dec 2004; foser <foser@gentoo.org> sound-juicer-0.5.15.ebuild :
 
  New release 
 

	
 
*sound-juicer-0.5.14 (12 Oct 2004)
 

	
 
  12 Oct 2004; foser <foser@gentoo.org> sound-juicer-0.5.14.ebuild :
 
  New release, add hal USE & switch
 

	
 
  14 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org>
 
  -sound-juicer-0.5.10.1.ebuild, -sound-juicer-0.5.11.ebuild,
 
  -sound-juicer-0.5.12-r1.ebuild:
 
  Stable amd64, x86.  Removing old ebuilds.
 

	
 
*sound-juicer-0.5.12-r2 (01 Sep 2004)
 

	
 
  01 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org>
 
  +files/sound-juicer-0.5.12-div0.patch, +sound-juicer-0.5.12-r2.ebuild:
 
  Fix div0 bug #61681 thanks to James <James@superbug.demon.co.uk>.
 

	
 
*sound-juicer-0.5.12-r1 (20 Jul 2004)
 

	
 
  20 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
 
  +sound-juicer-0.5.12-r1.ebuild:
 
  Revision bump for lame encoding support. Thanks to Marc Heerdink
 
  <marc@koelkast.net>. Closes bug #57750.
 

	
 
*sound-juicer-0.5.12 (09 Jul 2004)
 

	
 
  09 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
 
  +sound-juicer-0.5.12.ebuild:
 
  Version bump closes bug #56501.
 

	
 
*sound-juicer-0.5.11 (24 Apr 2004)
 

	
 
  24 Apr 2004; foser <foser@gentoo.org> sound-juicer-0.5.11.ebuild :
 
  New release, update gstreamer deps to 0.8 only
 

	
 
  03 Apr 2004; foser <foser@gentoo.org> sound-juicer-*.ebuild :
 
  Fix gstreamer deps to 0.6
 

	
 
  12 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org>
 
  sound-juicer-0.5.9.ebuild:
 
  Removing broken version.  See bug #41290.
 

	
 
*sound-juicer-0.5.10.1 (06 Feb 2004)
 

	
 
  06 Feb 2004; foser <foser@gentoo.org> sound-juicer-0.5.10.1.ebuild :
 
  New release
 

	
 
*sound-juicer-0.5.9 (27 Jan 2004)
 

	
 
  27 jan 2004; foser <foser@gentoo.org> sound-juicer-0.5.9.ebuild :
 
  New release
 

	
 
*sound-juicer-0.5.8 (28 Nov 2003)
 

	
 
  28 nov 2003; foser <foser@gentoo.org> sound-juicer-0.5.8.ebuild :
 
  New release
 

	
 
  20 Nov 2003; Luca Barbato <lu_zero@gentoo.org> sound-juicer-0.5.7.ebuild:
 
  Marked ~ppc
 

	
 
*sound-juicer-0.5.7 (15 Nov 2003)
 

	
 
  15 Nov 2003; foser <foser@gentoo.org> sound-juicer-0.5.7.ebuild ;
 
  New release, removed explicit gst-plugins dep
 

	
 
*sound-juicer-0.5.6 (30 Oct 2003)
 

	
 
  30 Oct 2003; foser <foser@gentoo.org> sound-juicer-0.5.6.ebuild :
 
  New version
 

	
 
*sound-juicer-0.5.5 (04 Oct 2003)
 

	
 
  04 Oct 2003; foser <foser@gentoo.org> sound-juicer-0.5.5.ebuild :
 
  New version
 
  removed flac/lame deps, they're non-essential
 

	
 
  23 Sep 2003; Brad Laue <brad@gentoo.org> sound-juicer-0.5.4.ebuild:
 
  Add dependency on the newly imported lame/flac gstreamer plugins.
 

	
 
*sound-juicer-0.5.4 (22 Sep 2003)
 

	
 
  22 Sep 2003; <spider@gentoo.org> sound-juicer-0.5.4.ebuild:
 
  Updated build to avoid some crashes
 

	
 
*sound-juicer-0.5.2 (08 Sep 2003)
 

	
 
  12 Sep 2003; foser <foser@gentoo.org> sound-juicer-0.5.2.ebuild :
 
  Updated the moved gst-plugins-* deps
 

	
 
  08 Sep 2003; foser <foser@gentoo.org> sound-juicer-0.5.2.ebuild :
 
  New version, adapted to use the new gst-plugins layout 
 
  Add mad and oggvorbis USE flags
 

	
 
*sound-juicer-0.5.1 (16 Aug 2003)
 

	
 
  16 Aug 2003; Nick Hadaway <raker@gentoo.org> sound-juicer-0.5.1.ebuild:
 
  Version bump.  Thanks Jason Oliveira on bug #26704 for being quick on
 
  the draw with the new release.
 

	
 
*sound-juicer-0.4.1 (04 Jul 2003)
 

	
 
  04 Jul 2003; Alastair Tse <liquidx@gentoo.org> sound-juicer-0.4.1.ebuild:
 
  version bump
 

	
 
*sound-juicer-0.3-r5 (17 Jun 2003)
 

	
 
  17 Jun 2003; foser <foser@gentoo.org> sound-juicer-0.3-r5.ebuild :
 
  bump, using experimental gst-plugins eclass stuff
 

	
 
*sound-juicer-0.3 (28 May 2003)
 

	
 
  28 May 2003; foser <foser@gentoo.org> sound-juicer-0.3.ebuild :
 
  New version, added workaround for gst-inspect sandbox problems
 

	
 
*sound-juicer-0.2.1 (30 Apr 2003)
 

	
 
  30 Apr 2003; foser <foser@gentoo.org> sound-juicer-0.2.1.ebuild :
 
  New version
 

	
 
*sound-juicer-0.1-r1 (23 Apr 2003)
 

	
 
  23 Apr 2003; foser <foser@gentoo.org> sound-juicer-0.1-r1.ebuild :
 
  Added some patches
 

	
 
*sound-juicer-0.1 (19 Apr 2003)
 

	
 
  21 Apr 2003; foser <foser@gentoo.org> sound-juicer-0.1.ebuild :
 
  Fix possible compile time problem with certain plugins not existing (#19717)
 

	
 
  19 Apr 2003; foser <foser@gentoo.org> ChangeLog, sound-juicer-0.1.ebuild :
 
  Initial commit, added patch to be 'slightly more' paranoid
media-sound/sound-juicer/Manifest
Show inline comments
 
new file 100644
 
AUX help_es_fix.patch 476 RMD160 4c4ae2e6fb7ea6988db06a23a03b099b82176621 SHA1 52a82d134a53dc304c6c3dc32431cbe49e81c4ec SHA256 6d66808933ef74fdbb631bdc2ba175cacd9578db2cb3e8cd6fe5f552809103c8
 
DIST sound-juicer-2.20.1.tar.bz2 1412335 RMD160 519c20c1c3d23973d93ecd4978d2dbe90967f7aa SHA1 942e4e34b83b66e9b33496f38ff95674244e33e2 SHA256 6ac84544386ef7f690330d7f92f6c2f64da752c0f5cd60501a792b23f325a9ab
 
DIST sound-juicer-2.22.0.tar.bz2 1748273 RMD160 a71c8caa472d200ea8a199442f0728849ad71149 SHA1 d710d2041f4214a80387d6518056856c6401719a SHA256 cabd3c44a3354edab4f9e112b1cc90c23ef05000bd643596a826ce5d0cfc2551
 
EBUILD sound-juicer-2.20.1-r1.ebuild 1657 RMD160 6cb67924a2c1f534b930426c0a99a6704a6ca803 SHA1 356dbac3b10d9425e3ce048b566333c11c1f0325 SHA256 1a55e1cff7de3050e02baade585a0d11436411dfd96c94c798cf91b981b45a17
 
EBUILD sound-juicer-2.22.0.ebuild 1606 RMD160 54467a43d0bc3732caf8b16649506324df8c5355 SHA1 18b457edb158463a7bdf8e2bc7a92b9c35dd62f4 SHA256 feef8a3886e660a16a36ff57764cb962c131304a442717ccca535b0d8e5ecbae
 
MISC ChangeLog 19040 RMD160 f56e605b7b75df4c95f1aefb549b65a21d8b772c SHA1 e150cd05f750c8b2be72115c2e256f82b16254bc SHA256 76a596d658f1d76b8f7be69865e646faae512fdf4b81a08b1234141a0064487c
 
MISC metadata.xml 177 RMD160 c4ff678488aa3bd8f3e5e4cf6e52a56caba3dad9 SHA1 73b04fb757f8a6473a2c43b0807a95381da37afc SHA256 dfb196addaf8aa212436c53c3d47cda0d10c2850c59fa2dcb7554dfa10190af2
media-sound/sound-juicer/files/help_es_fix.patch
Show inline comments
 
new file 100644
 
--- help/sound-juicer/es/sound-juicer.xml	2007-10-14 10:26:48.000000000 -0400
 
+++ help/sound-juicer/es/sound-juicer.xml	2008-05-01 20:53:19.000000000 -0400
 
@@ -91,7 +91,7 @@
 
             <imagedata fileref="figures/startup.png" format="PNG"/>
 
           </imageobject>
 
           <textobject>
 
-            <phrase><placeholder-1> al inicio</placeholder-1></phrase>
 
+            <phrase> al inicio</phrase>
 
           </textobject>
 
         </mediaobject>
 
       </screenshot>
media-sound/sound-juicer/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>gnome</herd>
 
<herd>sound</herd>
 
</pkgmetadata>
media-sound/sound-juicer/sound-juicer-2.20.1-r1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/media-sound/sound-juicer/sound-juicer-2.20.1-r1.ebuild,v 1.7 2008/02/04 04:12:13 jer Exp $
 

	
 
inherit gnome2 eutils
 

	
 
EAPI="1"
 

	
 
DESCRIPTION="CD ripper for GNOME 2"
 
HOMEPAGE="http://www.burtonini.com/blog/computers/sound-juicer/"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
 
IUSE="flac ogg test"
 

	
 
RDEPEND=">=dev-libs/glib-2
 
	>=gnome-extra/nautilus-cd-burner-2.15.3
 
	>=x11-libs/gtk+-2.8
 
	>=gnome-base/libglade-2
 
	>=gnome-base/gconf-2
 
	>=gnome-base/libgnomeui-2.13
 
	>=gnome-base/gnome-vfs-2.9
 
	>=media-libs/gstreamer-0.10.5
 
	>=gnome-extra/gnome-media-2.11.91
 
	>=media-libs/musicbrainz-2.1.3:1
 
	>=dev-libs/libcdio-0.70
 
	media-libs/taglib
 
	>=media-libs/gst-plugins-base-0.10
 
	>=media-plugins/gst-plugins-gconf-0.10
 
	>=media-plugins/gst-plugins-gnomevfs-0.10
 
	>=media-plugins/gst-plugins-cdparanoia-0.10
 
	ogg? ( >=media-plugins/gst-plugins-ogg-0.10 )
 
	flac? ( >=media-plugins/gst-plugins-flac-0.10 )"
 

	
 
DEPEND="${RDEPEND}
 
	app-text/gnome-doc-utils
 
	>=dev-util/intltool-0.35
 
	>=app-text/scrollkeeper-0.3.5
 
	>=dev-util/pkgconfig-0.9
 
	test? ( ~app-text/docbook-xml-dtd-4.3 )"
 

	
 
DOCS="AUTHORS ChangeLog NEWS README TODO"
 

	
 
# needed to get around some sandboxing checks
 
export GST_INSPECT=/bin/true
 

	
 
src_unpack() {
 
	gnome2_src_unpack
 
	# Fix tests. Upstream SVN has this fixed so we can probably remove it for next version
 
	epatch "${FILESDIR}/help_es_fix.patch"
 
	echo "data/sound-juicer.desktop.in" >> "${S}/po/POTFILES.skip"
 
}
 

	
 
pkg_setup() {
 
	G2CONF="${G2CONF} --disable-scrollkeeper"
 
}
media-sound/sound-juicer/sound-juicer-2.22.0.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/media-sound/sound-juicer/sound-juicer-2.22.0.ebuild,v 1.5 2008/04/24 18:19:58 corsair Exp $
 

	
 
EAPI="1"
 

	
 
inherit gnome2
 

	
 
DESCRIPTION="CD ripper for GNOME 2"
 
HOMEPAGE="http://www.burtonini.com/blog/computers/sound-juicer/"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc64 ~sparc ~x86"
 
IUSE="test"
 

	
 
RDEPEND=">=dev-libs/glib-2.14
 
	>=gnome-extra/nautilus-cd-burner-2.15.3
 
	>=x11-libs/gtk+-2.8
 
	>=gnome-base/libglade-2
 
	>=gnome-base/gconf-2
 
	>=gnome-base/libgnomeui-2.13
 
	>=gnome-base/gnome-vfs-2.9
 
	dev-libs/dbus-glib
 
	>=media-libs/gstreamer-0.10.5
 
	>=gnome-extra/gnome-media-2.11.91
 
	>=media-libs/musicbrainz-2.1.3:1
 
	>=dev-libs/libcdio-0.70
 
	media-libs/taglib
 
	>=media-libs/gst-plugins-base-0.10
 
	>=media-plugins/gst-plugins-gconf-0.10
 
	>=media-plugins/gst-plugins-gnomevfs-0.10
 
	|| (
 
		>=media-plugins/gst-plugins-cdparanoia-0.10
 
		>=media-plugins/gst-plugins-cdio-0.10
 
	)
 

	
 
	>=media-plugins/gst-plugins-meta-0.10-r2:0.10"
 

	
 
DEPEND="${RDEPEND}
 
	>=dev-util/pkgconfig-0.9
 
	>=dev-util/intltool-0.35
 
	>=app-text/scrollkeeper-0.3.5
 
	  app-text/gnome-doc-utils
 
	test? ( ~app-text/docbook-xml-dtd-4.3 )"
 

	
 
DOCS="AUTHORS ChangeLog NEWS README TODO"
 

	
 
# needed to get around some sandboxing checks
 
export GST_INSPECT=/bin/true
 

	
 
pkg_setup() {
 
	G2CONF="${G2CONF} --disable-scrollkeeper"
 
}
 

	
 
pkg_postinst() {
 
	gnome2_pkg_postinst
 
	ewarn
 
	ewarn "If ${PN} does not rip to some music format, please check your"
 
	ewarn "USE flags on media-plugins/gst-plugins-meta"
 
	ewarn
 
}
net-fs/samba-tng/Manifest
Show inline comments
 
new file 100644
 
AUX 0.4.99/00_all_0.4.99-ldap-rebind-fix.diff 1414 RMD160 5761875cbcd9ca4490d8cc901e402374dcc1b30a SHA1 9bcb993570305e76a9b8ddf7e200c8adbd3ab7d0 SHA256 e881343ce507e685250fb2d5c4cfe76720e3cf8e466fc4578f866d23836ccaf2
 
AUX 0.4.99/01_all_0.4.99-domlist-fix.diff 2518 RMD160 d765a16e3e15ac841991d3269762c8da3ef4b084 SHA1 9ec87bddc4176b9bf27adb74405b0f43d9c2e0e9 SHA256 4c39da3339bc298adc84680cf5e475bbf5745593f2f63176d91bcd5b99ae2f24
 
AUX 0.4.99/02_all_0.4.99-reg-val-display.diff 1353 RMD160 abae83f9025be1eadcd64525a533279ee5a86eb5 SHA1 f48cd25f6c9bd3335510478132e0f9e7bcf02ec1 SHA256 8415e12199ba4d1151e411cc34c45d9fdfe297acf8561ac6013a3b756a9e13cd
 
AUX 0.4.99/03_all_0.4.99-regedit-longkeynames-1.diff 10391 RMD160 3c109e175383f7b9738bdccd361d1247f437de79 SHA1 f9134c9f98c2ae0787dc8dce3b754169aa526f3b SHA256 d2242f0b43920e49def7117022c3bbec19b4255fcf24086ab4a2f9f7b84d62d4
 
AUX 0.4.99/04_all_0.4.99-netlogon-more-groups.diff 4195 RMD160 f205460e35783479817cbfbb36218443d90d2aff SHA1 ae4ae8aa902232edeb9061a11a98434e288c852c SHA256 362e629927b3a44a88a5fc61edd58eaf9b34c48589c5daa3bed1681cea2f1744
 
AUX 0.4.99/05_all_CVE-2007-5398.diff 1217 RMD160 f3d82a3daa1f0e35b505f653433400804cc63d76 SHA1 8da4aa507ae879a1af3bee50414654e03893aa25 SHA256 ad8476048304cc2ed53b563fcf10d160f74d605375a71ccebc4e79cdc2bbad2a
 
AUX 0.4.99/06_all_CVE-2007-4572.diff 6311 RMD160 51183edcf1fd2a7caed539293a2cd72d35316b96 SHA1 d1879952fd705d0a2a812155ebea200bb44a280e SHA256 f5c64234f7f44058bca3106276c74e952c85859c1592888c0f7bd9386dca13d1
 
AUX 0.4.99/07_all_CVE-2007-6015.diff 3418 RMD160 cc1e419218d5a8388ef90abd362898ac7aa8298a SHA1 177b86e7d5156310c3dbad477946d8983f29d6a6 SHA256 2c7affb16ac417a1f417e1fca3964a4627aa9c37c71e4a4f6fa8ddb0b727f7c4
 
AUX 0.4.99/08_all_CVE-2007-2446-and-other.diff 6851 RMD160 fb25fc505a36479a70ba56b81a269e96890ad7c4 SHA1 9ad2ef42902ecd7d9f4ff2a1b5ba23d50f4e84e1 SHA256 21888e2354e55ecd471472ff513a817276319964c1036a485db6792f23a98644
 
DIST samba-tng-0.4.99.tar.gz 3336749 RMD160 1cd4f126229f0148c07de38335280fcb2ba0cf4b SHA1 dd753f9afed2245c69e7517145479027d1bba329 SHA256 b37c8b064812454374469e6b2ca243adb7c7d2f5d5abf18ba8bb68a86140c579
 
EBUILD samba-tng-0.4.99.ebuild 3704 RMD160 ea90f05463c282135364fffa983a37ef7941c7fe SHA1 0db135dcf147121b85d5ba0c14e26bc544e0f646 SHA256 4569a51f7492f69e5e4ccdb2fe6c2ac451a2de0590524db12ec2e81b88d277df
 
MISC samba-tng-0.4.99.ebuild~ 3722 RMD160 5096886aee30de22d2059e53db4f0186eafb06d7 SHA1 ee72697e67eed0867bf49f1a2397dd557dbeffd7 SHA256 6ea1fe5678498cbba40f0c0809c132d0b965273f1f7b974ec31f86324903bbec
net-fs/samba-tng/files/0.4.99/00_all_0.4.99-ldap-rebind-fix.diff
Show inline comments
 
new file 100644
 
Index: passdb/ldap.c
 
===================================================================
 
RCS file: /work/cvs/tng/source/passdb/ldap.c,v
 
retrieving revision 1.51
 
diff -u -p -r1.51 ldap.c
 
--- passdb/ldap.c	3 Sep 2005 18:01:10 -0000	1.51
 
+++ passdb/ldap.c	15 Sep 2005 21:17:06 -0000
 
@@ -72,6 +72,18 @@ static int rebindproc_with_state  (LDAP 
 
 	}
 
 	return 0;
 
 }
 
+
 
+/**
 
+ * ldap rebindproc for 1.* with two args
 
+ */
 
+#  if LDAP_SET_REBIND_PROC_ARGS == 2     
 
+static int rebindproc (LDAP *ld, char **whop, char **credp,
 
+		       int *method, int freeit )
 
+{
 
+	return rebindproc_with_state(ld, whop, credp,
 
+				   method, freeit, NULL);
 
+}
 
+#  endif
 
 #endif
 
 
 
 /*******************************************************************
 
@@ -93,17 +105,6 @@ static int rebindproc_connect_with_state
 
 }
 
 #endif /*defined(LDAP_API_FEATURE_X_OPENLDAP) && (LDAP_API_VERSION > 2000)*/
 
 
 
-/*******************************************************************
 
- Add a rebind function for authenticated referrals
 
-******************************************************************/
 
-#if LDAP_SET_REBIND_PROC_ARGS == 2     
 
-static int rebindproc (LDAP *ld, char **whop, char **credp,
 
-		       int *method, int freeit )
 
-{
 
-	return rebindproc_with_state(ld, whop, credp,
 
-				   method, freeit, NULL);
 
-}
 
-#endif
 
 
 
 /*******************************************************************
 
  a rebind function for authenticated referrals
net-fs/samba-tng/files/0.4.99/01_all_0.4.99-domlist-fix.diff
Show inline comments
 
new file 100644
 
--- netlogond/srv_netlogon_nt.c	9 Mar 2005 10:32:58 -0000	1.31
 
+++ netlogond/srv_netlogon_nt.c	19 Feb 2006 11:48:11 -0000
 
@@ -722,15 +722,10 @@ uint32 _net_trust_dom_list(PRS_HANDLE *c
 
 
 
 	enumtrustdoms(&doms, &num_doms);
 
 	for (i = 0; i < num_doms; i++)
 
 		strupper(doms[i]);
 
 	make_buffer2_multi(uni_trust_dom_name, doms, num_doms);
 
-	if (num_doms == 0)
 
-	{
 
-		uni_trust_dom_name->buf_max_len = 0x2;
 
-		uni_trust_dom_name->buf_len = 0x2;
 
-	}
 
 	uni_trust_dom_name->undoc = 0x1;
 
 	free_char_array(num_doms, doms);
 
 	return NT_STATUS_NOPROBLEMO;
 
 }
 
 
 
--- rpc_parse/parse_misc.c	23 Jan 2005 00:41:07 -0000	1.25
 
+++ rpc_parse/parse_misc.c	19 Feb 2006 13:45:13 -0000
 
@@ -588,18 +588,18 @@ RPC_IO_DECLARE(smb_io_buffer5, BUFFER5, 
 
 void free_buffer5(BUFFER5 *buf5)
 
 {
 
 	safe_free(buf5->buffer);
 
 }
 
 
 
-/*******************************************************************
 
-creates a BUFFER2 structure.
 
-********************************************************************/
 
+/**
 
+ * creates a BUFFER2 for a multi-string
 
+ */
 
 BOOL make_buffer2_multi(BUFFER2 *str, char *const* const buf, uint32 num)
 
 {
 
 	size_t i;
 
 	char *dest;
 
-	size_t max_len = 0;
 
+	size_t max_len = 4;
 
 
 
 	ZERO_STRUCTP(str);
 
 
 
 	str->buf_max_len = 0;
 
 	str->undoc       = 0;
 
@@ -609,33 +609,45 @@ BOOL make_buffer2_multi(BUFFER2 *str, ch
 
 		size_t len = buf[i] != NULL ? strlen(buf[i]) : 0;
 
 
 
 		max_len += len * 2 + 2;
 
 	}
 
 
 
-	str->buffer = g_malloc(max_len);
 
+	/* Just a bit of extra space for weird chars */
 
+	max_len += max_len / 4;
 
+
 
+	str->buffer = g_new0(char, max_len);
 
 	dest = str->buffer;
 
 
 
 	if (! dest)
 
 	{
 
 		DEBUG(0, ("make_buffer2_multi: no memory to allocate "
 
 			  "%u bytes\n", max_len));
 
 		return False;
 
 	}
 
 
 
+	/* str->buf_max_len = max_len; */
 
+
 
 	for (i = 0; i < num && max_len > 0; i++)
 
 	{
 
-		size_t len = buf[i] != NULL ? strlen(buf[i]) : 0;
 
+		size_t len;
 
+		const char *ascstr = (buf[i] != NULL ? buf[i] : "");
 
 
 
-		str->buf_max_len += len * 2;
 
-		str->buf_len     += len * 2;
 
+		len = push_ucs2(NULL, dest, ascstr, max_len, STR_TERMINATE | STR_NOALIGN);
 
 
 
-		ascii_to_unibuf(dest, buf[i], max_len);
 
-	
 
-		dest += len * 2 + 2;
 
-		max_len -= len * 2 + 2;
 
+		str->buf_len += len;
 
+		dest         += len;
 
+		max_len      -= len;
 
+	}
 
+
 
+	/* Add final U+00 */
 
+	if (max_len > 0)
 
+	{
 
+		str->buf_len += push_ucs2(NULL, dest, "", max_len, STR_TERMINATE | STR_NOALIGN);
 
 	}
 
 
 
+	str->buf_max_len = str->buf_len;
 
+
 
 	return True;
 
 }
 
 
 
 /*******************************************************************
 
 creates a BUFFER2 structure.
net-fs/samba-tng/files/0.4.99/02_all_0.4.99-reg-val-display.diff
Show inline comments
 
new file 100644
 
--- lib/util_unistr.c	15 Jan 2005 13:15:51 -0000	1.25
 
+++ lib/util_unistr.c	3 May 2006 22:11:36 -0000
 
@@ -131,6 +131,24 @@ void unistr_to_ascii(char *dest, const u
 
 }
 
 
 
 
 
+/**
 
+ * Convert UCS2 string to allocated unix cp
 
+ */
 
+char *tng_unibuflen_to_zunixcp(const void *src, size_t bytelen)
 
+{
 
+	char *retbuf;
 
+	size_t retval;
 
+	retval = convert_string_allocate(CH_UCS2, CH_UNIX, src, bytelen,
 
+					 (void **)&retbuf);
 
+	if (retval == (size_t)-1)
 
+		return NULL;
 
+	if (! g_xrenew(char, &retbuf, retval + 1))
 
+		retval--;
 
+	retbuf[retval] = '\0';
 
+	return retbuf;
 
+}
 
+
 
+
 
 /*******************************************************************
 
  Convert a UNISTR2 structure to an ASCII string
 
  ********************************************************************/
 
--- rpcclient/display_reg.c	1 Oct 2003 20:44:31 -0000	1.14
 
+++ rpcclient/display_reg.c	3 May 2006 22:09:29 -0000
 
@@ -78,9 +78,11 @@ static void print_reg_value(FILE *out_hn
 
 		case REGVAL_SZ:
 
 		case REGVAL_EXPAND_SZ:
 
 		{
 
-			unibuf_to_ascii(valstr, value->buffer,
 
-					MIN(value->buf_len, sizeof(valstr)-1));
 
-			report(out_hnd, "\t%s:\t%s:\t%s\n", val_name, type, valstr);
 
+			char *asciival;
 
+			asciival = tng_unibuflen_to_zunixcp(value->buffer,
 
+							    value->buf_len);
 
+			report(out_hnd, "\t%s:\t%s:\t%s\n", val_name, type, asciival);
 
+			safe_free(asciival);
 
 			break;
 
 		}
 
 
net-fs/samba-tng/files/0.4.99/03_all_0.4.99-regedit-longkeynames-1.diff
Show inline comments
 
new file 100644
 
Index: lib/util.c
 
===================================================================
 
RCS file: /home/cvsroot/dcerpc/tng/source/lib/util.c,v
 
retrieving revision 1.60
 
retrieving revision 1.61
 
diff -u -p -r1.60 -r1.61
 
--- lib/util.c	22 Jul 2005 21:30:06 -0000	1.60
 
+++ lib/util.c	6 May 2006 16:04:57 -0000	1.61
 
@@ -1396,7 +1396,8 @@ int set_maxfiles(int requested_max)
 
 /*****************************************************************
 
  splits out the start of the key (HKLM or HKU) and the rest of the key
 
  *****************************************************************/
 
-BOOL reg_split_key(const char *full_keyname, uint32 *reg_type, char *key_name)
 
+BOOL reg_split_key(const char *full_keyname, uint32 *reg_type,
 
+		   const char **key_name)
 
 {
 
 	/* STRIP_CONST is safe because next_token treats its argument
 
 	   as 'const char **' - see comment in util_str.c */
 
@@ -1428,16 +1429,13 @@ BOOL reg_split_key(const char *full_keyn
 
 
 
 	if (! (*reg_type = str_to_enum_field (tmp, well_known_hk, 0)))
 
 	{
 
-		DEBUG(10, ("reg_split_key: unrecognised hive key %s\n", tmp));
 
+		DEBUG(2, ("reg_split_key: unrecognised hive key %s\n", tmp));
 
 		return False;
 
 	}
 
 
 
-	if (!next_token(NULL, key_name, "\n\r", sizeof(fstring)))
 
-	{
 
-		key_name[0] = 0;
 
-	}
 
+	*key_name = full_key_tmp;
 
 
 
-	DEBUG(10, ("reg_split_key: name %s\n", key_name));
 
+	DEBUG(10, ("reg_split_key: name %s\n", *key_name));
 
 
 
 	return True;
 
 }
 
Index: rpc_client/cli_reg.c
 
===================================================================
 
RCS file: /home/cvsroot/dcerpc/tng/source/rpc_client/cli_reg.c,v
 
retrieving revision 1.29
 
retrieving revision 1.31
 
diff -u -p -r1.29 -r1.31
 
--- rpc_client/cli_reg.c	8 Jan 2005 16:47:16 -0000	1.29
 
+++ rpc_client/cli_reg.c	6 May 2006 19:11:09 -0000	1.31
 
@@ -94,30 +94,32 @@ static uint32 reg_open_hkXX_int(struct c
 
 /****************************************************************************
 
 do a REG Open Policy
 
 ****************************************************************************/
 
-BOOL reg_connect(const char *srv_name,
 
-				const char *full_keyname,
 
-				char *key_name,
 
-				uint32 access_mask,
 
-				POLICY_HND *reg_hnd)
 
+NTSTATUS reg_connect_ex(const char *srv_name,
 
+			const char *full_keyname,
 
+			const char **sub_key_name,
 
+			uint32 access_mask,
 
+			POLICY_HND *reg_hnd)
 
 {
 
 	NTSTATUS ret = NT_STATUS_UNSUCCESSFUL;
 
 	uint32 reg_type = 0;
 
+	const char *lkey_name;
 
 
 
 	struct cli_connection *con = NULL;
 
 
 
 	if (full_keyname == NULL)
 
-	{
 
-		return False;
 
-	}
 
-	if (!reg_split_key(full_keyname, &reg_type, key_name))
 
+		return STATUS_INVALID_PARAMETER;
 
+
 
+	if (!reg_split_key(full_keyname, &reg_type, &lkey_name))
 
 	{
 
 		DEBUG(0,("reg_connect: unrecognised key name %s\n",
 
 		          full_keyname));	
 
-		return False;
 
+		return STATUS_INVALID_PARAMETER;
 
 	}
 
+	if (sub_key_name)
 
+		*sub_key_name = lkey_name;
 
 	if (!cli_connection_init(srv_name, PIPE_WINREG, &con))
 
 	{
 
-		return False;
 
+		return STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED;
 
 	}
 
 
 
 	ZERO_STRUCTP(reg_hnd);
 
@@ -155,7 +157,7 @@ BOOL reg_connect(const char *srv_name,
 
 	else
 
 	{
 
 		DEBUG(0,("reg_connect: unrecognised hive key\n"));	
 
-		return False;
 
+		return STATUS_INVALID_PARAMETER;
 
 	}
 
 
 
 	if (NT_STATUS_IS_OK(ret))
 
@@ -171,9 +173,28 @@ BOOL reg_connect(const char *srv_name,
 
 		}
 
 	}
 
 
 
-	return NT_STATUS_IS_OK(ret);
 
+	return ret;
 
 }
 
 
 
+
 
+BOOL reg_connect(const char *srv_name,
 
+		 const char *full_keyname,
 
+		 char *fstr_sub_key_name,
 
+		 uint32 access_mask,
 
+		 POLICY_HND *reg_hnd)
 
+{
 
+	NTSTATUS status;
 
+	const char *subkeyname;
 
+
 
+	status = reg_connect_ex(srv_name, full_keyname, &subkeyname,
 
+				access_mask, reg_hnd);
 
+	if (! NT_STATUS_IS_OK(status))
 
+		return False;
 
+	fstrcpy(fstr_sub_key_name, subkeyname);
 
+	return True;
 
+}
 
+
 
+
 
 /****************************************************************************
 
 do a REG Unknown 0xB command.  sent after a create key or create value.
 
 this might be some sort of "sync" or "refresh" command, sent after
 
Index: rpcclient/cmd_reg.c
 
===================================================================
 
RCS file: /home/cvsroot/dcerpc/tng/source/rpcclient/cmd_reg.c,v
 
retrieving revision 1.29
 
diff -u -p -r1.29 cmd_reg.c
 
--- rpcclient/cmd_reg.c	3 Sep 2005 17:49:30 -0000	1.29
 
+++ rpcclient/cmd_reg.c	6 May 2006 19:20:06 -0000
 
@@ -338,16 +338,15 @@ NTSTATUS msrpc_reg_enum_keyname(const ch
 
 
 
 	POLICY_HND key_pol;
 
 	POLICY_HND pol_con;
 
-	fstring key_name;
 
+	const char *key_name;
 
 
 
 	DEBUG(5, ("msrpc_reg_enum_keyname: %s\n", full_keyname));
 
 
 
 	/* open registry receive a policy handle */
 
-	if (! reg_connect(srv_name, full_keyname, key_name,
 
-			  SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con))
 
-	{
 
-		return NT_STATUS_UNSUCCESSFUL;
 
-	}
 
+	status = reg_connect_ex(srv_name, full_keyname, &key_name,
 
+				SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con);
 
+	if (!NT_STATUS_IS_OK(status))
 
+		return status;
 
 
 
 	if (*key_name)
 
 	{
 
@@ -439,7 +438,7 @@ NTSTATUS cmd_reg_query_info(struct clien
 
 	POLICY_HND pol_con;
 
 	pstring full_keyname;
 
 	pstring keyname;
 
-	fstring key_name;
 
+	const char *key_name;
 
 	fstring val_name;
 
 
 
 	/*
 
@@ -473,9 +472,11 @@ NTSTATUS cmd_reg_query_info(struct clien
 
 	}
 
 
 
 	/* open registry receive a policy handle */
 
-	if (!reg_connect(srv_name, keyname, key_name,
 
-			 SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con))
 
+	ret = reg_connect_ex(srv_name, keyname, &key_name,
 
+			     SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con);
 
+	if (! NT_STATUS_IS_OK(ret))
 
 		goto out;
 
+	ret = STATUS_UNSUCCESSFUL;
 
 
 
 	if (*key_name)
 
 	{
 
@@ -521,7 +522,7 @@ NTSTATUS cmd_reg_query_key(struct client
 
 	POLICY_HND key_pol;
 
 	POLICY_HND pol_con;
 
 	pstring full_keyname;
 
-	fstring key_name;
 
+	const char *key_name;
 
 
 
 	/*
 
 	 * query key info
 
@@ -553,9 +554,11 @@ NTSTATUS cmd_reg_query_key(struct client
 
 	split_server_keyname(srv_name, full_keyname, argv[1]);
 
 
 
 	/* open registry receive a policy handle */
 
-	if (!reg_connect(srv_name, full_keyname, key_name,
 
-			 SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con))
 
+	ret = reg_connect_ex(srv_name, full_keyname, &key_name,
 
+			     SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con);
 
+	if (! NT_STATUS_IS_OK(ret))
 
 		goto out;
 
+	ret = STATUS_UNSUCCESSFUL;
 
 
 
 	if (*key_name)
 
 	{
 
@@ -613,7 +616,7 @@ NTSTATUS cmd_reg_create_val(struct clien
 
 	POLICY_HND parent_pol;
 
 	POLICY_HND pol_con;
 
 	pstring keyname;
 
-	fstring parent_name;
 
+	const char *parent_name;
 
 	fstring val_name;
 
 	uint32 val_type;
 
 	BUFFER3 value;
 
@@ -703,9 +706,11 @@ NTSTATUS cmd_reg_create_val(struct clien
 
 	dump_data(10, (char *)value.buffer, value.buf_len);
 
 
 
 	/* open registry receive a policy handle */
 
-	if (!reg_connect(srv_name, keyname, parent_name,
 
-			 SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con))
 
+	ret = reg_connect_ex(srv_name, keyname, &parent_name,
 
+			     SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con);
 
+	if (!NT_STATUS_IS_OK(ret))
 
 		goto out;
 
+	ret = STATUS_UNSUCCESSFUL;
 
 
 
 	if (*parent_name)
 
 	{
 
@@ -751,7 +756,7 @@ NTSTATUS cmd_reg_delete_val(struct clien
 
 	POLICY_HND parent_pol;
 
 	POLICY_HND pol_con;
 
 	pstring keyname;
 
-	fstring parent_name;
 
+	const char *parent_name;
 
 	fstring val_name;
 
 
 
 	fstring srv_name;
 
@@ -777,11 +782,13 @@ NTSTATUS cmd_reg_delete_val(struct clien
 
 	}
 
 
 
 	/* open registry receive a policy handle */
 
-	if (!reg_connect(srv_name, keyname, parent_name,
 
-			 SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con))
 
+	ret = reg_connect_ex(srv_name, keyname, &parent_name,
 
+			     SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con);
 
+	if (! NT_STATUS_IS_OK(ret))
 
 		goto out;
 
+	ret = STATUS_UNSUCCESSFUL;
 
 
 
-	if (*val_name)
 
+	if (*parent_name)
 
 	{
 
 		if (!reg_open_entry(&pol_con, parent_name,
 
 				    SEC_RIGHTS_MAXIMUM_ALLOWED, &parent_pol))
 
@@ -798,7 +805,7 @@ NTSTATUS cmd_reg_delete_val(struct clien
 
 		ret = NT_STATUS_OK;
 
 	}
 
 
 
-	if (*val_name)
 
+	if (*parent_name)
 
 		reg_close(&parent_pol);
 
 out1:
 
 	reg_close(&pol_con);
 
@@ -825,7 +832,7 @@ NTSTATUS cmd_reg_delete_key(struct clien
 
 	POLICY_HND parent_pol;
 
 	POLICY_HND pol_con;
 
 	pstring parent_name;
 
-	fstring key_name;
 
+	const char *key_name;
 
 	fstring subkey_name;
 
 
 
 	fstring srv_name;
 
@@ -851,9 +858,11 @@ NTSTATUS cmd_reg_delete_key(struct clien
 
 	}
 
 
 
 	/* open registry receive a policy handle */
 
-	if (!reg_connect(srv_name, parent_name, key_name,
 
-			 SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con))
 
+	ret = reg_connect_ex(srv_name, parent_name, &key_name,
 
+			     SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con);
 
+	if (! NT_STATUS_IS_OK(ret))
 
 		goto out;
 
+	ret = STATUS_UNSUCCESSFUL;
 
 
 
 	if (*key_name)
 
 	{
 
@@ -894,7 +903,7 @@ NTSTATUS cmd_reg_create_key(struct clien
 
 	POLICY_HND key_pol;
 
 	POLICY_HND pol_con;
 
 	pstring parent_key;
 
-	fstring parent_name;
 
+	const char *parent_name;
 
 	fstring key_name;
 
 	fstring key_class;
 
 	SEC_ACCESS sam_access;
 
@@ -934,9 +943,11 @@ NTSTATUS cmd_reg_create_key(struct clien
 
 	sam_access.mask = SEC_RIGHTS_READ;
 
 
 
 	/* open registry receive a policy handle */
 
-	if (!reg_connect(srv_name, parent_key, parent_name,
 
-			 SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con))
 
+	ret = reg_connect_ex(srv_name, parent_key, &parent_name,
 
+			     SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con);
 
+	if (! NT_STATUS_IS_OK(ret))
 
 		goto out;
 
+	ret = STATUS_UNSUCCESSFUL;
 
 
 
 	if (*parent_name)
 
 	{
 
@@ -985,7 +996,7 @@ NTSTATUS cmd_reg_test_key_sec(struct cli
 
 	POLICY_HND key_pol;
 
 	POLICY_HND pol_con;
 
 	pstring full_keyname;
 
-	fstring key_name;
 
+	const char *key_name;
 
 
 
 	/*
 
 	 * security info
 
@@ -1010,9 +1021,11 @@ NTSTATUS cmd_reg_test_key_sec(struct cli
 
 	split_server_keyname(srv_name, full_keyname, argv[1]);
 
 
 
 	/* open registry receive a policy handle */
 
-	if (!reg_connect(srv_name, full_keyname, key_name,
 
-			 SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con))
 
+	ret = reg_connect_ex(srv_name, full_keyname, &key_name,
 
+			     SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con);
 
+	if (! NT_STATUS_IS_OK(ret))
 
 		goto out;
 
+	ret = STATUS_UNSUCCESSFUL;
 
 
 
 	if (*key_name)
 
 	{
 
@@ -1076,7 +1089,7 @@ NTSTATUS cmd_reg_get_key_sec(struct clie
 
 	POLICY_HND key_pol;
 
 	POLICY_HND pol_con;
 
 	pstring full_keyname;
 
-	fstring key_name;
 
+	const char *key_name;
 
 
 
 	/*
 
 	 * security info
 
@@ -1101,9 +1114,11 @@ NTSTATUS cmd_reg_get_key_sec(struct clie
 
 	split_server_keyname(srv_name, full_keyname, argv[1]);
 
 
 
 	/* open registry receive a policy handle */
 
-	if (!reg_connect(srv_name, full_keyname, key_name,
 
-			 SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con))
 
+	ret = reg_connect_ex(srv_name, full_keyname, &key_name,
 
+			     SEC_RIGHTS_MAXIMUM_ALLOWED, &pol_con);
 
+	if (! NT_STATUS_IS_OK(ret))
 
 		goto out;
 
+	ret = STATUS_UNSUCCESSFUL;
 
 
 
 	if (*key_name)
 
 	{
net-fs/samba-tng/files/0.4.99/04_all_0.4.99-netlogon-more-groups.diff
Show inline comments
 
new file 100644
 
Index: include/rpc_netlogon.h
 
===================================================================
 
RCS file: /home/cvsroot/dcerpc/tng/source/include/rpc_netlogon.h,v
 
retrieving revision 1.10
 
diff -u -p -r1.10 rpc_netlogon.h
 
--- include/rpc_netlogon.h	19 Jul 2004 16:46:12 -0000	1.10
 
+++ include/rpc_netlogon.h	20 Aug 2006 17:01:21 -0000
 
@@ -217,7 +217,7 @@ typedef struct net_user_info_3
 
 	UNISTR2 uni_dir_drive;    /* home directory drive unicode string */
 
 
 
 	uint32 num_groups2;        /* num groups */
 
-	DOM_GID gids[LSA_MAX_GROUPS]; /* group info */
 
+	DOM_GID *gids;		  /* group info */
 
 
 
 	UNISTR2 uni_logon_srv; /* logon server unicode string */
 
 	UNISTR2 uni_logon_dom; /* logon domain unicode string */
 
Index: netlogond/srv_netlogon_nt.c
 
===================================================================
 
RCS file: /home/cvsroot/dcerpc/tng/source/netlogond/srv_netlogon_nt.c,v
 
retrieving revision 1.34
 
diff -u -p -r1.34 srv_netlogon_nt.c
 
--- netlogond/srv_netlogon_nt.c	12 Jul 2006 20:49:09 -0000	1.34
 
+++ netlogond/srv_netlogon_nt.c	20 Aug 2006 17:01:24 -0000
 
@@ -1284,6 +1284,7 @@ uint32 _net_sam_logon(PRS_HANDLE *con_hn
 
 				  validation_level));
 
 			return NT_STATUS_ACCESS_DENIED;
 
 		}
 
+		uctr->switch_value = 3;
 
 		uctr->usr.id3 = g_new(NET_USER_INFO_3, 1);
 
 		if (uctr->usr.id3 == NULL)
 
 		{
 
@@ -1585,6 +1586,7 @@ uint32 _net_sam_logon(PRS_HANDLE *con_hn
 
 	{
 
 		case 2:
 
 		{
 
+			uctr->switch_value = 2;
 
 			uctr->usr.id2 = g_new(NET_USER_INFO_2, 1);
 
 			if (uctr->usr.id2 == NULL)
 
 			{
 
@@ -1608,6 +1610,7 @@ uint32 _net_sam_logon(PRS_HANDLE *con_hn
 
 		}
 
 		case 3:
 
 		{
 
+			uctr->switch_value = 3;
 
 			uctr->usr.id3 = g_new(NET_USER_INFO_3, 1);
 
 			if (uctr->usr.id3 == NULL)
 
 			{
 
Index: rpc_parse/parse_net.c
 
===================================================================
 
RCS file: /home/cvsroot/dcerpc/tng/source/rpc_parse/parse_net.c,v
 
retrieving revision 1.27
 
diff -u -p -r1.27 parse_net.c
 
--- rpc_parse/parse_net.c	12 Jun 2005 21:34:57 -0000	1.27
 
+++ rpc_parse/parse_net.c	20 Aug 2006 17:01:30 -0000
 
@@ -1478,7 +1478,7 @@ BOOL make_net_user_info3W(NET_USER_INFO_
 
 			  num_groups));
 
 	}
 
 
 
-	SMB_ASSERT_ARRAY(usr->gids, num_groups);
 
+	usr->gids = g_new(DOM_GID, num_groups);
 
 
 
 	for (i = 0; i < num_groups; i++)
 
 	{
 
@@ -1556,7 +1556,13 @@ RPC_IO_DECLARE(net_io_user_info3, NET_US
 
 	prs_align(ps);
 
 
 
 	prs_uint32("num_groups2   ", ps, depth, &(usr->num_groups2));	/* num groups */
 
-	SMB_ASSERT_ARRAY(usr->gids, usr->num_groups2);
 
+
 
+	if (UNMARSHALLING(ps))
 
+		usr->gids = g_new(DOM_GID, usr->num_groups2);
 
+
 
+	if (! usr->gids)
 
+		return False;
 
+
 
 	for (i = 0; i < usr->num_groups2; i++)
 
 	{
 
 		RPC_MARSH_SUBCALL(smb_io_gid, usr, gids[i]);
 
@@ -1583,6 +1589,15 @@ RPC_IO_DECLARE(net_io_user_info3, NET_US
 
 	return True;
 
 }
 
 
 
+
 
+static void free_net_user_info_3(NET_USER_INFO_3 *lds)
 
+{
 
+	if (! lds)
 
+		return;
 
+	safe_free(lds->gids);
 
+	lds->gids = NULL;
 
+}
 
+
 
 /*******************************************************************
 
 reads or writes a structure.
 
 ********************************************************************/
 
@@ -1715,6 +1730,17 @@ void free_net_user_info_ctr(NET_USER_INF
 
 	if (ctr == NULL)
 
 		return;
 
 
 
+	switch (ctr->switch_value)
 
+	{
 
+		case 3:
 
+			free_net_user_info_3(ctr->usr.id3);
 
+			break;
 
+		default:
 
+			DEBUG(1, ("free_net_user_info_ctr: unknown level %u\n",
 
+				  ctr->switch_value));
 
+			break;
 
+	}
 
+
 
 	safe_free(ctr->usr.id);
 
 	ctr->usr.id = NULL;
 
 }
 
Index: rpcclient/cmd_netlogon.c
 
===================================================================
 
RCS file: /home/cvsroot/dcerpc/tng/source/rpcclient/cmd_netlogon.c,v
 
retrieving revision 1.19
 
diff -u -p -r1.19 cmd_netlogon.c
 
--- rpcclient/cmd_netlogon.c	1 May 2006 12:33:56 -0000	1.19
 
+++ rpcclient/cmd_netlogon.c	20 Aug 2006 17:01:43 -0000
 
@@ -256,7 +256,9 @@ static void display_net_user_info_3(cons
 
 	fprintf(out_hnd, "\tGroups:\n");
 
 	for (i = 0; i < usr->num_groups; i++)
 
 	{
 
-		fprintf(out_hnd, "\t\t%d (0x%x), 0x%x\n", usr->gids[i].g_rid, usr->gids[i].g_rid, usr->gids[i].attr);
 
+		fprintf(out_hnd, "\t\t%d (0x%x), 0x%x\n",
 
+			usr->gids[i].g_rid, usr->gids[i].g_rid,
 
+			usr->gids[i].attr);
 
 	}
 
 	fprintf(out_hnd, "\tNumber of other SIDs: %d\n", usr->num_other_sids);
 
 }
net-fs/samba-tng/files/0.4.99/05_all_CVE-2007-5398.diff
Show inline comments
 
new file 100644
 
Index: nmbd/nmbd_packets.c
 
===================================================================
 
RCS file: /work/cvs/tng/source/nmbd/nmbd_packets.c,v
 
retrieving revision 1.16
 
diff -u -p -r1.16 nmbd_packets.c
 
--- nmbd/nmbd_packets.c	8 Feb 2005 10:52:37 -0000	1.16
 
+++ nmbd/nmbd_packets.c	24 Nov 2007 00:44:08 -0000
 
@@ -101,7 +101,7 @@
 
 Dumps out the browse packet data.
 
 **************************************************************************/
 
 
 
-static void debug_browse_data(char *outbuf, int len)
 
+static void debug_browse_data(const char *outbuf, int len)
 
 {
 
   int i,j;
 
 
 
@@ -848,7 +848,7 @@
 
 
 
 void reply_netbios_packet(struct packet_struct *orig_packet,
 
                           int rcode, enum netbios_reply_type_code rcv_code, int opcode,
 
-                          int ttl, char *data,int len)
 
+                          int ttl, const char *data, size_t len)
 
 {
 
   struct packet_struct packet;
 
   struct nmb_packet *nmb = NULL;
 
@@ -964,6 +964,11 @@
 
   
 
   if (data && len)
 
   {
 
+    if ((len < 0) || (len > sizeof(nmb->answers->rdata)))
 
+    {
 
+      DEBUG(0, ("%s: len too large!\n", __func__));
 
+      return;
 
+    }
 
     nmb->answers->rdlength = len;
 
     memcpy(nmb->answers->rdata, data, len);
 
   }
net-fs/samba-tng/files/0.4.99/06_all_CVE-2007-4572.diff
Show inline comments
 
new file 100644
 
Index: nmbd/nmbd_packets.c
 
===================================================================
 
RCS file: /work/cvs/tng/source/nmbd/nmbd_packets.c,v
 
retrieving revision 1.17
 
diff -u -p -r1.17 nmbd_packets.c
 
--- nmbd/nmbd_packets.c	24 Nov 2007 20:45:55 -0000	1.17
 
+++ nmbd/nmbd_packets.c	2 Dec 2007 22:13:49 -0000
 
@@ -1916,7 +1916,8 @@ BOOL listen_for_packets(BOOL run_electio
 
 /****************************************************************************
 
   Construct and send a netbios DGRAM.
 
 **************************************************************************/
 
-BOOL send_mailslot(BOOL unique, char *mailslot,char *buf,int len,
 
+BOOL send_mailslot(BOOL unique, const char *mailslot,
 
+                   const char *buf, size_t len,
 
                    char *srcname, int src_type,
 
                    char *dstname, int dest_type,
 
                    struct in_addr dest_ip,struct in_addr src_ip,
 
@@ -1969,7 +1970,12 @@ BOOL send_mailslot(BOOL unique, char *ma
 
   pstrcpy(p2,mailslot);
 
   p2 = skip_string(p2,1);
 
 
 
-  memcpy(p2,buf,len);
 
+  if (len > (MAX_DGRAM_SIZE - PTR_DIFF(p2, dgram->data)))
 
+  {
 
+    DEBUG(0, ("%s: Possible bufferoverflow, erroring out\n", __func__));
 
+    return False;
 
+  }
 
+  memcpy(p2, buf, len);
 
   p2 += len;
 
 
 
   dgram->datasize = PTR_DIFF(p2,ptr+4); /* +4 for tcp length. */
 
Index: nmbd/nmbd_processlogon.c
 
===================================================================
 
RCS file: /work/cvs/tng/source/nmbd/nmbd_processlogon.c,v
 
retrieving revision 1.12
 
diff -u -p -r1.12 nmbd_processlogon.c
 
--- nmbd/nmbd_processlogon.c	8 Feb 2005 10:52:37 -0000	1.12
 
+++ nmbd/nmbd_processlogon.c	2 Dec 2007 22:18:05 -0000
 
@@ -28,9 +28,15 @@
 
 #include "includes.h"
 
 #include "libsamba.h"
 
 #include "byteorder.h"
 
+#include "tng_misc.h"
 
 #include "nmbd.h"
 
 
 
 
 
+#define SIZE_NOSPACELEFT(buffer, buffersize, pointer, needed) \
 
+	(((const char *) (pointer)) \
 
+	>= (((const char *) (buffer)) + buffersize - needed))
 
+
 
+
 
 /****************************************************************************
 
 Send a message to smbd to do a sam delta sync
 
 **************************************************************************/
 
@@ -46,8 +52,8 @@ static void send_repl_message(uint32 low
 
 Process a domain logon packet
 
 **************************************************************************/
 
 
 
-void process_logon_packet(struct packet_struct *p,char *buf,int len, 
 
-                          char *mailslot)
 
+void process_logon_packet(struct packet_struct *p, char *buf, size_t len,
 
+			  const char *mailslot)
 
 {
 
   struct dgram_packet *dgram = &p->packet.dgram;
 
   pstring my_name;
 
@@ -94,8 +100,6 @@ logons are not enabled.\n", inet_ntoa(p-
 
       q = skip_string(getdc,1);
 
       token = SVAL(q,3);
 
 
 
-      fstrcpy(reply_name,my_name); 
 
-
 
       DEBUG(3,("process_logon_packet: Domain login request from %s at IP %s user=%s token=%x\n",
 
              machine,inet_ntoa(p->ip),user,token));
 
 
 
@@ -105,7 +109,8 @@ logons are not enabled.\n", inet_ntoa(p-
 
 
 
       fstrcpy(reply_name, "\\\\");
 
       fstrcat(reply_name, my_name);
 
-      fstrcpy(q, reply_name); q = skip_string(q, 1); /* PDC name */
 
+      q += safe_strcpy(q, reply_name, sizeof(outbuf) - 2 - PTR_DIFF(q, outbuf))
 
+	     + 1;
 
 
 
       SSVAL(q, 0, token);
 
       q += 2;
 
@@ -154,7 +159,7 @@ logons are not enabled.\n", inet_ntoa(p-
 
 					   get additional data - a length specificed string
 
 					   containing the domain name, then 16 bytes of
 
 					   data (no idea what it is) */
 
-					int dom_len = CVAL(q, 0);
 
+					int dom_len = CVALCONST(q, 0);
 
 					q++;
 
 					if (dom_len != 0) {
 
 						q += dom_len + 1;
 
@@ -172,17 +177,21 @@ logons are not enabled.\n", inet_ntoa(p-
 
       q += 2;
 
 
 
       fstrcpy(reply_name,my_name);
 
-      fstrcpy(q, reply_name);
 
-      q = skip_string(q, 1); /* PDC name */
 
+      q += safe_strcpy(q, reply_name, sizeof(outbuf) - 2 - PTR_DIFF(q, outbuf))
 
+	      + 1;
 
 
 
       /* PDC and domain name */
 
       if (!short_request)  /* Make a full reply */
 
       {
 
         q = ALIGN2(q, outbuf);
 
 
 
-        q += dos_PutUniCode(q, my_name, sizeof(pstring), True); /* PDC name */
 
-        q += dos_PutUniCode(q, global_myworkgroup,sizeof(pstring), True); /* Domain name*/
 
+        q += dos_PutUniCode(q, my_name,
 
+                            sizeof(outbuf) - PTR_DIFF(q, outbuf), True); /* PDC name */
 
+        q += dos_PutUniCode(q, global_myworkgroup,
 
+                            sizeof(outbuf) - PTR_DIFF(q, outbuf), True); /* Domain name*/
 
 
 
+        if (SIZE_NOSPACELEFT(outbuf, sizeof(outbuf), q, 8))
 
+		return;
 
         SIVAL(q, 0, 1); /* our nt version */
 
         SSVAL(q, 4, 0xffff); /* our lmnttoken */
 
         SSVAL(q, 6, 0xffff); /* our lm20token */
 
@@ -236,11 +245,11 @@ reporting %s domain %s 0x%x ntversion=%x
 
 			   get additional data - a length specificed string
 
 			   containing the domain name, then 16 bytes of
 
 			   data (no idea what it is) */
 
-			int dom_len = CVAL(q, 0);
 
+			int dom_len = CVALCONST(q, 0);
 
 			q++;
 
-			if (dom_len < (len - PTR_DIFF(q, buf)) && (dom_len != 0)) {
 
+			if (dom_len < (len - PTR_DIFF(q, buf))
 
+			    && (dom_len != 0))
 
 				q += dom_len + 1;
 
-			}
 
 			q += 16;
 
 	      }
 
 
 
@@ -278,10 +287,15 @@ reporting %s domain %s 0x%x ntversion=%x
 
       }
 
       q += 2;
 
 
 
-      q += dos_PutUniCode(q, reply_name,sizeof(pstring), True);
 
-      q += dos_PutUniCode(q, ascuser, sizeof(pstring), True);
 
-      q += dos_PutUniCode(q, global_myworkgroup,sizeof(pstring), True);
 
+      q += dos_PutUniCode(q, reply_name,
 
+			  sizeof(outbuf) - PTR_DIFF(q, outbuf), True);
 
+      q += dos_PutUniCode(q, ascuser,
 
+			  sizeof(outbuf) - PTR_DIFF(q, outbuf), True);
 
+      q += dos_PutUniCode(q, global_myworkgroup,
 
+			  sizeof(outbuf) - PTR_DIFF(q, outbuf), True);
 
 
 
+        if (SIZE_NOSPACELEFT(outbuf, sizeof(outbuf), q, 8))
 
+		return;
 
       /* tell the client what version we are */
 
       SIVAL(q, 0, 1); /* our ntversion */
 
       SSVAL(q, 4, 0xffff); /* our lmnttoken */ 
 
@@ -302,8 +316,9 @@ reporting %s domain %s 0x%x ntversion=%x
 
     /* Announce change to UAS or SAM.  Send by the domain controller when a
 
        replication event is required. */
 
 
 
-  case SAM_UAS_CHANGE: {
 
-          char *q = buf + 2;
 
+  case SAM_UAS_CHANGE:
 
+  {
 
+          const char *q = buf + 2;
 
           uint32 low_serial;
 
           
 
           /* Header */
net-fs/samba-tng/files/0.4.99/07_all_CVE-2007-6015.diff
Show inline comments
 
new file 100644
 
Index: lib/util.c
 
===================================================================
 
RCS file: /work/cvs/tng/source/lib/util.c,v
 
retrieving revision 1.66
 
diff -u -p -r1.66 util.c
 
--- lib/util.c	3 Sep 2007 20:52:56 -0000	1.66
 
+++ lib/util.c	12 Dec 2007 23:02:28 -0000
 
@@ -364,10 +364,12 @@ void smb_setlen(char *buf, int len)
 
 	SCVAL(buf,7,'B');
 
 }
 
 
 
-/*******************************************************************
 
-  setup the word count and byte count for a smb message
 
-********************************************************************/
 
-int set_message(char *buf, int num_words, int num_bytes, BOOL zero)
 
+/**
 
+ * setup the word count and byte count for a smb message
 
+ *
 
+ * Returns: size of packet excluding size part itself
 
+ */
 
+size_t set_message(char *buf, unsigned char num_words, size_t num_bytes, BOOL zero)
 
 {
 
 	if (zero)
 
 		memset(buf + smb_size, '\0', num_words * 2 + num_bytes);
 
Index: libsmb/namequery.c
 
===================================================================
 
RCS file: /work/cvs/tng/source/libsmb/namequery.c,v
 
retrieving revision 1.19
 
diff -u -p -r1.19 namequery.c
 
--- libsmb/namequery.c	17 Jul 2006 20:24:01 -0000	1.19
 
+++ libsmb/namequery.c	12 Dec 2007 23:02:28 -0000
 
@@ -871,6 +871,7 @@ BOOL lookup_pdc_name(const char *srcname
 
 	char *ptr,*p2;
 
 	char tmp[4];
 
 	int len;
 
+	size_t full_len;
 
 	struct sockaddr_in sock_name;
 
 	socklen_t sock_len = sizeof(sock_name);
 
 	const char *mailslot = NET_LOGON_MAILSLOT;
 
@@ -933,9 +934,15 @@ BOOL lookup_pdc_name(const char *srcname
 
 	/* Setup the smb part. */
 
 	ptr -= 4; /* XXX Ugliness because of handling of tcp SMB length. */
 
 	memcpy(tmp,ptr,4);
 
-	set_message(ptr,17,17 + len,True);
 
+	full_len = set_message(ptr, 17, strlen(mailslot) + 1 + len, False);
 
 	memcpy(ptr,tmp,4);
 
 
 
+	if (full_len > MAX_DGRAM_SIZE)
 
+	{
 
+		DEBUG(0, ("%s: Possible bufferoverflow, erroring out\n", __func__));
 
+		return False;
 
+	}
 
+
 
 	CVAL(ptr,smb_com) = SMBtrans;
 
 	SSVAL(ptr,smb_vwv1,len);
 
 	SSVAL(ptr,smb_vwv11,len);
 
Index: nmbd/nmbd_packets.c
 
===================================================================
 
RCS file: /work/cvs/tng/source/nmbd/nmbd_packets.c,v
 
retrieving revision 1.18
 
diff -u -p -r1.18 nmbd_packets.c
 
--- nmbd/nmbd_packets.c	4 Dec 2007 12:57:32 -0000	1.18
 
+++ nmbd/nmbd_packets.c	12 Dec 2007 23:02:28 -0000
 
@@ -1926,6 +1926,7 @@ BOOL send_mailslot(BOOL unique, const ch
 
   BOOL loopback_this_packet = False;
 
   struct packet_struct p;
 
   struct dgram_packet *dgram = &p.packet.dgram;
 
+  size_t full_len;
 
   char *ptr,*p2;
 
   char tmp[4];
 
 
 
@@ -1955,9 +1956,15 @@ BOOL send_mailslot(BOOL unique, const ch
 
   /* Setup the smb part. */
 
   ptr -= 4; /* XXX Ugliness because of handling of tcp SMB length. */
 
   memcpy(tmp,ptr,4);
 
-  set_message(ptr,17,17 + len,True);
 
+  full_len = set_message(ptr, 17, strlen(mailslot) + 1 + len, False);
 
   memcpy(ptr,tmp,4);
 
 
 
+  if (full_len > MAX_DGRAM_SIZE)
 
+  {
 
+    DEBUG(0, ("%s: Possible bufferoverflow, erroring out\n", __func__));
 
+    return False;
 
+  }
 
+
 
   SCVAL(ptr,smb_com,SMBtrans);
 
   SSVAL(ptr,smb_vwv1,len);
 
   SSVAL(ptr,smb_vwv11,len);
 
@@ -1969,12 +1976,6 @@ BOOL send_mailslot(BOOL unique, const ch
 
   p2 = smb_buf(ptr);
 
   pstrcpy(p2,mailslot);
 
   p2 = skip_string(p2,1);
 
-
 
-  if (len > (MAX_DGRAM_SIZE - PTR_DIFF(p2, dgram->data)))
 
-  {
 
-    DEBUG(0, ("%s: Possible bufferoverflow, erroring out\n", __func__));
 
-    return False;
 
-  }
 
   memcpy(p2, buf, len);
 
   p2 += len;
 
 
net-fs/samba-tng/files/0.4.99/08_all_CVE-2007-2446-and-other.diff
Show inline comments
 
new file 100644
 
Index: groupdb/aliasldap.c
 
===================================================================
 
RCS file: /home/cvsroot/dcerpc/tng/source/groupdb/aliasldap.c,v
 
retrieving revision 1.20
 
diff -u -p -r1.20 aliasldap.c
 
--- groupdb/aliasldap.c	6 Aug 2006 16:02:14 -0000	1.20
 
+++ groupdb/aliasldap.c	18 Jan 2008 22:10:45 -0000
 
@@ -343,13 +343,13 @@ static BOOL ldapalias_getusergroups(cons
 
 			LOCAL_GRP **groups, size_t *num_grps)
 
 {
 
 	LOCAL_GRP *grouplist;
 
-	fstring filter;
 
+	pstring filter;
 
 	int i;
 
 
 
 	if(!ldap_connect())
 
 		return (False);
 
 
 
-	slprintf(filter, sizeof(pstring)-1,
 
+	snprintf(filter, sizeof(filter),
 
 #ifdef ENABLE_OLD_LDAP_SCHEMA
 
 		 "(&(member=%s,*)(objectclass=sambaAlias))", name);
 
 #else
 
Index: groupdb/builtinldap.c
 
===================================================================
 
RCS file: /home/cvsroot/dcerpc/tng/source/groupdb/builtinldap.c,v
 
retrieving revision 1.22
 
diff -u -p -r1.22 builtinldap.c
 
--- groupdb/builtinldap.c	6 Aug 2006 16:02:15 -0000	1.22
 
+++ groupdb/builtinldap.c	18 Jan 2008 22:10:45 -0000
 
@@ -343,13 +343,13 @@ static BOOL ldapbuiltin_getusergroups(co
 
 			LOCAL_GRP **groups, size_t *num_grps)
 
 {
 
 	LOCAL_GRP *grouplist;
 
-	fstring filter;
 
+	pstring filter;
 
 	int i;
 
 
 
 	if(!ldap_connect())
 
 		return (False);
 
 
 
-	slprintf(filter, sizeof(pstring)-1,
 
+	snprintf(filter, sizeof(filter),
 
 #ifdef ENABLE_OLD_LDAP_SCHEMA
 
 		 "(&(member=%s,*)(objectclass=sambaBuiltin))", name);
 
 #else
 
Index: rpc_parse/parse_lsa.c
 
===================================================================
 
RCS file: /home/cvsroot/dcerpc/tng/source/rpc_parse/parse_lsa.c,v
 
retrieving revision 1.23
 
diff -u -p -r1.23 parse_lsa.c
 
--- rpc_parse/parse_lsa.c	16 Aug 2006 18:23:56 -0000	1.23
 
+++ rpc_parse/parse_lsa.c	18 Jan 2008 22:10:49 -0000
 
@@ -174,7 +174,7 @@ static RPC_IO_DECLARE(lsa_io_dom_r_ref, 
 
 		prs_uint32("num_ref_doms_2", ps, depth, &(r_r->num_ref_doms_2));	/* 4 - num referenced domains? */
 
 		SMB_ASSERT_ARRAY(r_r->ref_dom, r_r->num_ref_doms_2);
 
 
 
-		for (i = 0; i < r_r->num_ref_doms_1; i++)
 
+		for (i = 0; i < r_r->num_ref_doms_2; i++)
 
 		{
 
 			fstring t;
 
 
 
@@ -1091,7 +1091,7 @@ static RPC_IO_DECLARE(lsa_io_trans_names
 
 	{
 
 		prs_uint32("num_entries2   ", ps, depth,
 
 			   &(trn->num_entries2));
 
-		SMB_ASSERT_ARRAY(trn->name, trn->num_entries);
 
+		SMB_ASSERT_ARRAY(trn->name, trn->num_entries2);
 
 
 
 		for (i = 0; i < trn->num_entries2; i++)
 
 		{
 
@@ -1216,7 +1216,7 @@ BOOL make_q_lookup_names(LSA_Q_LOOKUP_NA
 
 	q_l->num_entries = num_names;
 
 	q_l->num_entries2 = num_names;
 
 
 
-	SMB_ASSERT_ARRAY(q_l->uni_name, q_l->num_entries);
 
+	SMB_ASSERT_ARRAY(q_l->uni_name, num_names);
 
 
 
 	for (i = 0; i < num_names; i++)
 
 	{
 
@@ -1296,6 +1296,9 @@ RPC_IO_DECLARE(lsa_io_r_lookup_names, LS
 
 			return False;
 
 		}
 
 
 
+		if (PRS_IS_CLIENT(ps) && (r_r->num_entries2 > MAX_LOOKUP_SIDS))
 
+			return False;
 
+
 
 		for (i = 0; i < r_r->num_entries2; i++)
 
 		{
 
 			smb_io_dom_rid2("", &(r_r->dom_rid[i]), ps, depth);	/* domain RIDs being looked up */
 
Index: rpc_parse/parse_samr.c
 
===================================================================
 
RCS file: /home/cvsroot/dcerpc/tng/source/rpc_parse/parse_samr.c,v
 
retrieving revision 1.50
 
diff -u -p -r1.50 parse_samr.c
 
--- rpc_parse/parse_samr.c	11 Jul 2006 11:11:58 -0000	1.50
 
+++ rpc_parse/parse_samr.c	18 Jan 2008 22:11:00 -0000
 
@@ -3692,12 +3692,12 @@ RPC_IO_DECLARE(samr_io_r_query_aliasmem,
 
 
 
 	if (r_u->ptr != 0)
 
 	{
 
-		SMB_ASSERT_ARRAY(ptr_sid, r_u->num_sids);
 
-
 
 		if (r_u->num_sids != 0)
 
 		{
 
 			prs_uint32("num_sids1", ps, depth, &(r_u->num_sids1));
 
 
 
+			SMB_ASSERT_ARRAY(ptr_sid, r_u->num_sids1);
 
+
 
 			for (i = 0; i < r_u->num_sids1; i++)
 
 			{
 
 				ptr_sid[i] = 1;
 
@@ -3739,6 +3739,8 @@ BOOL make_samr_q_lookup_names(SAMR_Q_LOO
 
 	q_u->ptr = 0;
 
 	q_u->num_names2 = num_names;
 
 
 
+	SMB_ASSERT_ARRAY(q_u->hdr_name, num_names);
 
+
 
 	for (i = 0; i < num_names; i++)
 
 	{
 
 		int len_name = name[i] != NULL ? strlen(name[i]) : 0;
 
Index: rpc_parse/parse_spoolss.c
 
===================================================================
 
RCS file: /home/cvsroot/dcerpc/tng/source/rpc_parse/parse_spoolss.c,v
 
retrieving revision 1.23
 
diff -u -p -r1.23 parse_spoolss.c
 
--- rpc_parse/parse_spoolss.c	5 Jul 2006 12:13:36 -0000	1.23
 
+++ rpc_parse/parse_spoolss.c	18 Jan 2008 22:11:09 -0000
 
@@ -246,6 +246,8 @@ static RPC_IO_DECLARE(smb_io_notify_opti
 
 	if (type->count2 != type->count)
 
 		DEBUG(4,("What a mess, count was %x now is %x !\n", type->count, type->count2));
 
 
 
+	SMB_ASSERT_ARRAY(type->fields, type->count2);
 
+
 
 	/* parse the option type data */
 
 	for(i=0;i<type->count2;i++)
 
 		if(!prs_uint16("fields",ps,depth,&type->fields[i]))
 
@@ -409,6 +411,9 @@ static RPC_IO_DECLARE(smb_io_notify_info
 
 
 
 	RPC_MARSHALLER_INTRO(info);
 
 
 
+	if (UNMARSHALLING(ps))
 
+		return False;
 
+
 
 	if(!prs_uint32("count", ps, depth, &info->count))
 
 		return False;
 
 	if(!prs_uint32("version", ps, depth, &info->version))
 
Index: rpc_parse/parse_svc.c
 
===================================================================
 
RCS file: /home/cvsroot/dcerpc/tng/source/rpc_parse/parse_svc.c,v
 
retrieving revision 1.17
 
diff -u -p -r1.17 parse_svc.c
 
--- rpc_parse/parse_svc.c	31 Jan 2005 13:46:11 -0000	1.17
 
+++ rpc_parse/parse_svc.c	18 Jan 2008 22:11:10 -0000
 
@@ -25,7 +25,7 @@
 
 
 
 
 
 #include "includes.h"
 
-#include "debug.h"
 
+#include "libsamba.h"
 
 #include "tng_misc.h"
 
 #include "rpc_parse.h"
 
 
 
@@ -237,10 +237,13 @@ RPC_IO_DECLARE(svc_io_q_start_service, S
 
 			return False;
 
 		}
 
 
 
+		SMB_ASSERT_ARRAY(q_s->ptr_argv, q_s->argc2);
 
 		for (i = 0; i < q_s->argc2; i++)
 
 		{
 
 			prs_uint32("", ps, depth, &(q_s->ptr_argv[i]));
 
 		}
 
+
 
+		SMB_ASSERT_ARRAY(q_s->argv, q_s->argc2);
 
 		for (i = 0; i < q_s->argc2; i++)
 
 		{
 
 			smb_io_unistr2("", &(q_s->argv[i]), q_s->ptr_argv[i],
 
@@ -437,7 +440,7 @@ RPC_IO_DECLARE(svc_io_r_enum_svcs_status
 
 		new_offset = prs_offset(ps);
 
 		prs_set_offset(ps, buf_offset);
 
 
 
-		svc->svcs = g_new(ENUM_SRVC_STATUS, svc->num_svcs);
 
+		svc->svcs = g_new0(ENUM_SRVC_STATUS, svc->num_svcs);
 
 
 
 		if (svc->svcs == NULL)
 
 		{
 
@@ -446,9 +449,6 @@ RPC_IO_DECLARE(svc_io_r_enum_svcs_status
 
 			return False;
 
 		}
 
 
 
-		memset(svc->svcs, 0,
 
-		       svc->num_svcs * sizeof(ENUM_SRVC_STATUS));
 
-
 
 		for (i = 0; i < svc->num_svcs; i++)
 
 		{
 
 			fstring name;
 
Index: smbd/lanman.c
 
===================================================================
 
RCS file: /home/cvsroot/dcerpc/tng/source/smbd/lanman.c,v
 
retrieving revision 1.35
 
diff -u -p -r1.35 lanman.c
 
--- smbd/lanman.c	9 Aug 2005 13:00:25 -0000	1.35
 
+++ smbd/lanman.c	18 Jan 2008 22:11:15 -0000
 
@@ -372,7 +372,7 @@ static void PackDriverData(struct pack_d
 
 	SIVAL(drivdata, 0, sizeof drivdata);	/* cb */
 
 	SIVAL(drivdata, 4, 1000);	/* lVersion */
 
 	memset(drivdata + 8, 0, 32);	/* szDeviceName */
 
-	pstrcpy(drivdata + 8, "NULL");
 
+	safe_strcpy(drivdata + 8, "NULL", 32);
 
 	PACKl(desc, "l", drivdata, sizeof drivdata);	/* pDriverData */
 
 }
 
 
net-fs/samba-tng/samba-tng-0.4.99.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 
# ebuild by Nathan Brink <ohnobinki@ohnopublishing.homelinux.net>
 
# don't trust it
 
# most of the following junk is derived of /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.27.ebuild,v 1.11 and that is why I copied the header.txt file in also
 
# I need to get some smbspool program working...
 

	
 
inherit eutils pam libtool
 

	
 
SRC_URI="http://download.samba-tng.org/tng/${PV}/${P}.tar.gz"
 
SLOT="0"
 

	
 
#following line assumed :-(
 
LICENSE="GPL-2"
 

	
 
KEYWORDS="amd64 x86"
 

	
 
DESCRIPTION="A fork of samba emphasizing features over stability"
 
HOMEPAGE="http://www.samba-tng.org/"
 

	
 
#defaultedly use smbmount, defaultedly use --with-sam-pwdb=passdb, if nis will us nisplus-home, utempter activates utmp
 
IUSE="ldap msdfs afs dce-dfs krb4 kerberos automount pam nis syslog netatalk quotas utempter cups tcpwrapper"
 

	
 
ALLDEPEND="virtual/libiconv 
 
	ldap? ( net-nds/openldap )
 
        krb4? ( virtual/krb4 )
 
        kerberos? ( virtual/krb5 )
 
        pam? ( virtual/pam )
 
        syslog? ( virtual/logger )
 
        netatalk? ( net-fs/netatalk )
 
        cups? ( net-print/cups )
 
        tcpwrappers? ( sys-apps/tcp-wrappers )
 
        "
 
RDEPEND="${ALLDEPEND} !net-fs/samba"
 
#we can still build a binary package for it even if we have samba installed :-) :
 
DEPEND="${ALLDEPEND} "
 

	
 
PRIVATE_DST=/var/lib/samba-tng/private
 

	
 
src_unpack()
 
{
 
	unpack ${A}
 
	epatch "${FILESDIR}/${PV}"
 
}
 

	
 
add_to_list()
 
{
 
    LIST=$1
 
    TOADD=$2
 
    if ! [ -z "${LIST}" ]; then
 
	LIST="${LIST},"
 
    fi
 
    LIST="${LIST}${TOADD}"
 
    return ${LIST}
 
}
 

	
 
src_compile()
 
{
 
	cd "${S}/source"
 
	
 
	local WITH_PASSDB
 
	local WITH_SAMPWDB
 
	#local WITH_PASSDB_first
 
	#WITH_PASSDB_first=0
 
	WITH_PASSDB="smbpass"
 
	WITH_SAMPWDB="passdb,tdb"
 
	if use nis; then
 
	    #WITH_PASSDB="nisplus"
 
	    #WITH_PASSDB_first=1
 
	    #WITH_PASSDB=add_to_list "${WITH_PASSDB}" "nis,nisplus"
 
	    WITH_PASSDB="${PASSDB},nis,nisplus"
 
	fi
 
	if use ldap; then
 
	    #WITH_PASSDB=add_to_list "${WITH_PASSDB}" "ldap,nt5ldap"
 
	    WITH_PASSDB="${WITH_PASSDB},nt5ldap,ldap"
 
	    WITH_SMBPWDB="${WITH_SMBPWDB},nt5ldap"
 
	fi
 
	
 
	
 
	
 

	
 
	eautoreconf
 

	
 
	
 
	econf \
 
	    --program-suffix=-tng \
 
	    --sysconfdir=/etc/samba-tng \
 
	    --localstatedir=/var \
 
	    --libdir=/usr/$(get_libdir)/samba-tng \
 
	    --enable-shared=yes \
 
	    --enable-static=no \
 
	    --with-lockdir=/var/cache/samba-tng \
 
	    --with-logdir=/var/log/samba-tng \
 
            --with-privatedir=${PRIVATE_DST} \
 
	    --with-sambaconfdir=/etc/samba-tng \
 
	    --without-spinlocks \
 
	    $(use_with kernel_linux smbmount) \
 
            $(use_with ldap) \
 
	    $(use_with msdfs) \
 
	    --with-smbwrapper \
 
	    $(use_with afs) \
 
	    $(use_with dce-dfs) \
 
	    $(use_with krb4) \
 
	    $(use_with kerberos krb5) \
 
            $(use_with automount) \
 
	    $(use_with pam) \
 
	    $(use_with pam) \
 
	    $(use_with nis) \
 
	    --with-passdb=${WITH_PASSDB} \
 
	    --with-sam-pwdb=${WITH_SMBPWDB} \
 
	    $(use_with syslog) \
 
	    $(use_with quotas) \
 
            $(use_with utempter utmp) \
 
	    $(use_with cups) \
 
	    $(use_with tcpwrappers) || die "econf failed"
 

	
 

	
 
	emake clean proto all || die "unable to clean samba-tng"
 

	
 
	emake || die "emake failed"
 
}
 
src_install()
 
{
 
	cd "${S}/source"
 
	emake install DESTDIR="${D}" || die "emake install failed"
 

	
 
	diropts -m0700 ; keepdir ${PRIVATE_DST}
 

	
 
	#pam_ntdom doesn't build (but the pam use flag makes a passdb backend for pam?)
 
	if use pam ; then
 
            #dopammod pam_ntdom/pam_ntdom.so #this will soon work ?
 
	    #newpamd (put an example file so that samba's passdb backend works?)
 
 	    #no winbind support :-( use winbind && dopammod bin/pam_winbind.so
 
	    true;
 
 	fi
 
}
net-fs/samba-tng/samba-tng-0.4.99.ebuild~
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 
# ebuild by Nathan Brink <ohnobinki@ohnopublishing.homelinux.net>
 
# don't trust it
 
# most of the following junk is derived of /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.27.ebuild,v 1.11 and that is why I copied the header.txt file in also
 
# I need to get some smbspool program working...
 

	
 
inherit eutils pam libtool
 

	
 
SRC_URI="http://download.samba-tng.org/tng/${PV}/${P}.tar.gz"
 
SLOT="0"
 

	
 
#following line assumed :-(
 
LICENSE="GPL-2"
 

	
 
KEYWORDS="amd64 x86"
 

	
 
DESCRIPTION="A fork of samba emphasizing features over stability"
 
HOMEPAGE="http://www.samba-tng.org/"
 

	
 
#defaultedly use smbmount, defaultedly use --with-sam-pwdb=passdb, if nis will us nisplus-home, utempter activates utmp
 
IUSE="ldap msdfs afs dce-dfs krb4 kerberos automount pam nis syslog netatalk quotas utempter cups tcpwrapper"
 

	
 
ALLDEPEND="virtual/libiconv 
 
	ldap? ( net-nds/openldap )
 
        krb4? ( virtual/krb4 )
 
        kerberos? ( virtual/krb5 )
 
        pam? ( virtual/pam )
 
        syslog? ( virtual/logger )
 
        netatalk? ( net-fs/netatalk )
 
        cups? ( net-print/cups )
 
        tcpwrappers? ( sys-apps/tcp-wrappers )
 
        "
 
RDEPEND="${ALLDEPEND} !net-fs/samba"
 
#we can still build a binary package for it even if we have samba installed :-) :
 
DEPEND="${ALLDEPEND} "
 

	
 
PRIVATE_DST=/var/lib/samba-tng/private
 

	
 
src_unpack()
 
{
 
	unpack ${A}
 
	epatch "${FILESDIR}/${PV}"
 
	cd "${S}/source"
 
	emake clean proto all || die "unable to clean samba-tng"
 
}
 

	
 
add_to_list()
 
{
 
    LIST=$1
 
    TOADD=$2
 
    if ! [ -z "${LIST}" ]; then
 
	LIST="${LIST},"
 
    fi
 
    LIST="${LIST}${TOADD}"
 
    return ${LIST}
 
}
 

	
 
src_compile()
 
{
 
	cd "${S}/source"
 
	
 
	local WITH_PASSDB
 
	local WITH_SAMPWDB
 
	#local WITH_PASSDB_first
 
	#WITH_PASSDB_first=0
 
	WITH_PASSDB="smbpass"
 
	WITH_SAMPWDB="passdb,tdb"
 
	if use nis; then
 
	    #WITH_PASSDB="nisplus"
 
	    #WITH_PASSDB_first=1
 
	    #WITH_PASSDB=add_to_list "${WITH_PASSDB}" "nis,nisplus"
 
	    WITH_PASSDB="${PASSDB},nis,nisplus"
 
	fi
 
	if use ldap; then
 
	    #WITH_PASSDB=add_to_list "${WITH_PASSDB}" "ldap,nt5ldap"
 
	    WITH_PASSDB="${WITH_PASSDB},nt5ldap,ldap"
 
	    WITH_SMBPWDB="${WITH_SMBPWDB},nt5ldap"
 
	fi
 
	
 
	
 
	
 

	
 
	eautoreconf
 

	
 
	
 
	econf \
 
	    --program-suffix=-tng \
 
	    --sysconfdir=/etc/samba-tng \
 
	    --localstatedir=/var \
 
	    --libdir=/usr/$(get_libdir)/samba-tng \
 
	    --enable-shared=yes \
 
	    --enable-static=no \
 
	    --with-lockdir=/var/cache/samba-tng \
 
	    --with-logdir=/var/log/samba-tng \
 
            --with-privatedir=${PRIVATE_DST} \
 
	    --with-sambaconfdir=/etc/samba-tng \
 
	    --without-spinlocks \
 
	    $(use_with kernel_linux smbmount) \
 
            $(use_with ldap) \
 
	    $(use_with msdfs) \
 
	    --with-smbwrapper \
 
	    $(use_with afs) \
 
	    $(use_with dce-dfs) \
 
	    $(use_with krb4) \
 
	    $(use_with kerberos krb5) \
 
            $(use_with automount) \
 
	    $(use_with pam) \
 
	    $(use_with pam) \
 
	    $(use_with nis) \
 
	    --with-passdb=${WITH_PASSDB} \
 
	    --with-sam-pwdb=${WITH_SMBPWDB} \
 
	    $(use_with syslog) \
 
	    $(use_with quotas) \
 
            $(use_with utempter utmp) \
 
	    $(use_with cups) \
 
	    $(use_with tcpwrappers) || die "econf failed"
 
	
 
	emake || die "emake failed"
 
}
 
src_install()
 
{
 
	cd "${S}/source"
 
	emake install DESTDIR="${D}" || die "emake install failed"
 
	
 
	diropts -m0700 ; keepdir ${PRIVATE_DST}
 

	
 
	#pam_ntdom doesn't build (but the pam use flag makes a passdb backend for pam?)
 
	if use pam ; then
 
            #dopammod pam_ntdom/pam_ntdom.so #this will soon work ?
 
	    #newpamd (put an example file so that samba's passdb backend works?)
 
 	    #no winbind support :-( use winbind && dopammod bin/pam_winbind.so
 
	    true;
 
 	fi
 
}
net-libs/liblockfile/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for net-libs/liblockfile
 
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/net-libs/liblockfile/ChangeLog,v 1.52 2008/09/21 06:33:57 vapier Exp $
 

	
 
  21 Sep 2008; Mike Frysinger <vapier@gentoo.org>
 
  liblockfile-1.06-r2.ebuild:
 
  Drop bindnow-flags usage #227005.
 

	
 
  28 Dec 2007; <welp@gentoo.org> liblockfile-1.06-r2.ebuild:
 
  Keyworded ~sparc-fbsd; bug 203630
 

	
 
  03 Sep 2007; Roy Marples <uberlord@gentoo.org> liblockfile-1.06-r2.ebuild:
 
  Rename internal function eaccess to egidaccess so as not to conflict with
 
  libc's function.
 
  Keyworded ~x86-fbsd, #191101
 

	
 
  20 Jun 2007; Raúl Porcel <armin76@gentoo.org> liblockfile-1.06-r2.ebuild:
 
  alpha stable wrt #160759
 

	
 
  12 May 2007; Joshua Kinard <kumba@gentoo.org> liblockfile-1.06-r2.ebuild:
 
  Stable on mips.
 

	
 
  04 Feb 2007; Steve Dibb <beandog@gentoo.org> liblockfile-1.06-r2.ebuild:
 
  amd64 stable, bug 160759
 

	
 
  31 Jan 2007; Tobias Scherbaum <dertobi123@gentoo.org>
 
  liblockfile-1.06-r2.ebuild:
 
  Stable on ppc wrt bug #160759.
 

	
 
  19 Jan 2007; Jeroen Roovers <jer@gentoo.org> liblockfile-1.06-r2.ebuild:
 
  Stable for HPPA (bug #160759).
 

	
 
  09 Jan 2007; Markus Rothe <corsair@gentoo.org> liblockfile-1.06-r2.ebuild:
 
  Stable on ppc64; bug #160759
 

	
 
  09 Jan 2007; Andrej Kacian <ticho@gentoo.org> liblockfile-1.06-r2.ebuild:
 
  Stable on x86, bug #160759.
 

	
 
  08 Jan 2007; Gustavo Zacarias <gustavoz@gentoo.org>
 
  liblockfile-1.06-r2.ebuild:
 
  Stable on sparc wrt #160759
 

	
 
*liblockfile-1.06-r2 (20 Dec 2006)
 

	
 
  20 Dec 2006; Fernando J. Pereda <ferdy@gentoo.org>
 
  +files/liblockfile-orphan-file.patch, +liblockfile-1.06-r2.ebuild:
 
  Add patch from bug #145450
 

	
 
  21 Oct 2006; Bryan Østergaard <kloeri@gentoo.org>
 
  liblockfile-1.06-r1.ebuild:
 
  Stable on Alpha, bug 140793.
 

	
 
  17 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
 
  liblockfile-1.06-r1.ebuild:
 
  Add missing WANT_AUTOCONF/WANT_AUTOMAKE variables.
 

	
 
  22 Jul 2006; Daniel Gryniewicz <dang@gentoo.org>
 
  liblockfile-1.06-r1.ebuild:
 
  Marked stable on amd64 for bug #140793
 

	
 
  20 Jul 2006; Markus Rothe <corsair@gentoo.org> liblockfile-1.06-r1.ebuild:
 
  Stable on ppc64; bug #140793
 

	
 
  20 Jul 2006; Gustavo Zacarias <gustavoz@gentoo.org>
 
  liblockfile-1.06-r1.ebuild:
 
  Stable on sparc wrt #140793
 

	
 
  20 Jul 2006; Joshua Jackson <tsunam@gentoo.org>
 
  liblockfile-1.06-r1.ebuild:
 
  Stable x86; bug #140793
 

	
 
  18 Jul 2006; Jeroen Roovers <jer@gentoo.org> liblockfile-1.06-r1.ebuild:
 
  Stable on HPPA (bug #140793).
 

	
 
  13 Jul 2006; Aron Griffis <agriffis@gentoo.org>
 
  liblockfile-1.06-r1.ebuild:
 
  Mark 1.06-r1 stable on ia64
 

	
 
  08 Jul 2006; Lars Weiler <pylon@gentoo.org> liblockfile-1.06-r1.ebuild:
 
  Stable on ppc; glibc-2.4 related.
 

	
 
  27 Apr 2006; Alec Warner <antarus@gentoo.org>
 
  files/digest-liblockfile-1.06, Manifest:
 
  Fixing SHA256 digest, pass four
 

	
 
  06 Apr 2006; Tuấn Văn <langthang@gentoo.org>
 
  +files/liblockfile-1.06-respectflags.patch, liblockfile-1.06-r1.ebuild:
 
  respect LDFLAGS. Bug #126827 by Diego Pettenò <flameeyes@gentoo.org>
 

	
 
*liblockfile-1.06-r1 (14 Mar 2006)
 

	
 
  14 Mar 2006; Tuấn Văn <langthang@gentoo.org>
 
  +files/liblockfile-1.06-glibc24.patch, +liblockfile-1.06-r1.ebuild:
 
  glic-2.4 support. Bugs #126042 reported by Jose daLuz <jdaluz@gmail.com>.
 
  patch by Diego Pettenò <flameeyes@gentoo.org>.
 

	
 
  25 Dec 2005; Diego Pettenò <flameeyes@gentoo.org>
 
  liblockfile-1.06.ebuild:
 
  Use bindnow-flags function instead of -Wl,-z,now.
 

	
 
  10 Aug 2005; Aaron Walker <ka0ttic@gentoo.org> liblockfile-1.06.ebuild:
 
  Stable on mips.
 

	
 
  23 Jun 2005; Fernando J. Pereda <ferdy@gentoo.org>
 
  -files/liblockfile-1.03-gcc33.patch, -liblockfile-1.03-r1.ebuild,
 
  -liblockfile-1.03-r2.ebuild:
 
  remove older versions
 

	
 
  23 Jun 2005; <plasmaroo@gentoo.org> liblockfile-1.06.ebuild:
 
  Stable on IA64.
 

	
 
  19 Jun 2005; Simon Stelling <blubb@gentoo.org> liblockfile-1.06.ebuild:
 
  stable on amd64
 

	
 
  18 Jun 2005; Markus Rothe <corsair@gentoo.org> liblockfile-1.06.ebuild:
 
  Stable on ppc64
 

	
 
  18 Jun 2005; Markus Rothe <corsair@gentoo.org> liblockfile-1.06.ebuild:
 
  Stable on ppc64
 

	
 
  18 Jun 2005; Stephanie Lockwood-Childs <wormo@gentoo.org>
 
  liblockfile-1.06.ebuild:
 
  stable on ppc, bug #96349
 

	
 
  17 Jun 2005; Rene Nussbaumer <killerfox@gentoo.org>
 
  liblockfile-1.06.ebuild:
 
  Stable on hppa. bug #96349
 

	
 
  15 Jun 2005; Gustavo Zacarias <gustavoz@gentoo.org>
 
  liblockfile-1.06.ebuild:
 
  Stable on sparc
 

	
 
  10 Jun 2005; Fernando J. Pereda <ferdy@gentoo.org>
 
  liblockfile-1.06.ebuild:
 
  x86 and alpha stable
 

	
 
  30 May 2005; Sven Wegener <swegener@gentoo.org>
 
  liblockfile-1.03-r1.ebuild, liblockfile-1.03-r2.ebuild:
 
  Moved from gcc.eclass to toolchain-funcs.eclass, bug #92745.
 

	
 
  23 May 2005; Fernando J. Pereda <ferdy@gentoo.org>
 
  liblockfile-1.06.ebuild:
 
  Don't use lazy bindings on dotlockfile
 

	
 
*liblockfile-1.06 (18 May 2005)
 

	
 
  18 May 2005; Fernando J. Pereda <ferdy@gentoo.org> +metadata.xml,
 
  -liblockfile-1.03.ebuild, liblockfile-1.03-r2.ebuild,
 
  +liblockfile-1.06.ebuild:
 
  version bump wrt #66617. remove 1.03. Add missing metadata.
 

	
 
  01 Apr 2005; Aron Griffis <agriffis@gentoo.org> liblockfile-1.03-r2.ebuild:
 
  stable on ia64
 

	
 
  19 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org>
 
  liblockfile-1.03-r1.ebuild, liblockfile-1.03-r2.ebuild:
 
  Marking 1.03-r2 stable amd64.  See bug #82304.
 

	
 
*liblockfile-1.03-r2 (26 Jan 2005)
 

	
 
  26 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org>
 
  +liblockfile-1.03-r2.ebuild:
 
  Revbump for get_libdir fix and building shared lib.
 

	
 
  15 Jul 2004; Tom Gall <tgall@gentoo.org> liblockfile-1.03-r1.ebuild:
 
  stable on ppc64, bug #55668
 

	
 
  01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
 
  liblockfile-1.03-r1.ebuild, liblockfile-1.03.ebuild:
 
  virtual/glibc -> virtual/libc
 

	
 
  25 Mar 2004; Joshua Kinard <kumba@gentoo.org> liblockfile-1.03-r1.ebuild,
 
  liblockfile-1.03.ebuild:
 
  Added ~mips to KEYWORDS.
 

	
 
*liblockfile-1.03-r1 (28 Jul 2003)
 

	
 
  03 Jul 2003; Guy Martin <gmsoft@gentoo.org> liblockfile-1.03-r1.ebuild :
 
  Added hppa to KEYWORDS.
 

	
 
  28 Jul 2003; Martin Schlemmer <azarah@gentoo.org>
 
  liblockfile-1.03-r1.ebuild, files/liblockfile-1.03-gcc33.patch:
 
  Fix gcc-3.3 issues.
 

	
 
  06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
 
 
 
*liblockfile-1.03 (1 Feb 2002)
 

	
 
  14 Apr 2003; Aron Griffis <agriffis@gentoo.org> liblockfile-1.03.ebuild:
 
  Mark stable on alpha
 

	
 
  28 Sep 2002; Owen Stampflee <owen@gentoo.org> :
 
  Added PPC to KEYWORDS.
 

	
 
  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.
net-libs/liblockfile/Manifest
Show inline comments
 
new file 100644
 
AUX liblockfile-1.06-glibc24.patch 356 RMD160 43352a39091a5552501d93899f49cc12c6fea0c8 SHA1 8bdd7521f561bec2597ba377bb0ee7bd0c62b0ee SHA256 38886f3010cf2eb68c272296d1d3fcd4f7938f9a1ec73200d38218a48ec2dc66
 
AUX liblockfile-1.06-respectflags.patch 665 RMD160 586457f34e60bb66b74e1d041a6ba45ec537e250 SHA1 de1db2420da21dfea69a95b9172f96cda5f57cef SHA256 c1ef8e3baa31291d5ac32e9ab76c4fcdb669852b1b3a6502fef74ced9566b386
 
AUX liblockfile-orphan-file.patch 613 RMD160 424fd60b683919a0507959bfeb62831357674cea SHA1 affa5e3288be70975baed5ba6657bc734ad64fd6 SHA256 5e058b5c370a6256947ae664c9f44ba0eee59d0c80dd062a032fc9ec5a216859
 
DIST liblockfile_1.06.tar.gz 32007 RMD160 704222295720c1b07e7474b49de1098cc5e2c997 SHA1 2ca962ff913e190931a0a4941300c3d1ce04a508 SHA256 14f9690328318d11f9ba13a9356a2c008bdd169b7a817f38cb7f9eb32cf7240e
 
EBUILD liblockfile-1.06-r2.ebuild 1084 RMD160 fb6630a9fff4e941c23d65bd66fd86e2f4adc29a SHA1 05cc180a2ba928ac8941e045430534078983ec9b SHA256 b3d49249829b626cf72a360cb00b0ff569d5333c2780929e630fe77e38b613af
 
MISC ChangeLog 6880 RMD160 55451b5c6b53ee2a976fe07d07132545848c16df SHA1 94b7e5954c411a1c87be5ba75a06ab6a063886db SHA256 1a1aaf4c6fffc647143fadeb37165c00ab82b3154f32dba01c07a632e38fe434
 
MISC metadata.xml 161 RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 SHA1 a1fecd2f7b169d621b88c6ccab9d758209fc8f19 SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32
net-libs/liblockfile/files/liblockfile-1.06-glibc24.patch
Show inline comments
 
new file 100644
 
Index: liblockfile-1.06/configure.in
 
===================================================================
 
--- liblockfile-1.06.orig/configure.in
 
+++ liblockfile-1.06/configure.in
 
@@ -7,7 +7,7 @@ AC_PROG_CC
 
 
 
 dnl Set Default CFLAGS
 
 if test "$GCC" = "yes"; then
 
-    CFLAGS="$CFLAGS -Wall -D_GNU_SOURCE"
 
+    CFLAGS="$CFLAGS -Wall"
 
 fi
 
 
 
 TARGETS="static"
 

	
net-libs/liblockfile/files/liblockfile-1.06-respectflags.patch
Show inline comments
 
new file 100644
 
Index: liblockfile-1.06/Makefile.in
 
===================================================================
 
--- liblockfile-1.06.orig/Makefile.in
 
+++ liblockfile-1.06/Makefile.in
 
@@ -32,11 +32,11 @@ liblockfile.a:	lockfile.o
 
 		ar rv liblockfile.a lockfile.o
 
 
 
 liblockfile.so: liblockfile.a
 
-		$(CC) -fPIC -shared -Wl,-soname,liblockfile.so.1 \
 
+		$(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname,liblockfile.so.1 \
 
 			-o liblockfile.so lockfile.o -lc
 
 
 
 nfslock.so.$(VER):	nfslock.o
 
-		$(CC) -fPIC -shared -Wl,-soname,nfslock.so.0 \
 
+		$(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname,nfslock.so.0 \
 
 			-o nfslock.so.$(NVER) nfslock.o
 
 
 
 dotlockfile:	dotlockfile.o xlockfile.o
net-libs/liblockfile/files/liblockfile-orphan-file.patch
Show inline comments
 
new file 100644
 
diff -ur liblockfile-1.06-orig/Makefile.in liblockfile-1.06/Makefile.in
 
--- liblockfile-1.06-orig/Makefile.in	2006-11-28 06:19:09.000000000 +0100
 
+++ liblockfile-1.06/Makefile.in	2006-11-28 06:24:30.000000000 +0100
 
@@ -5,6 +5,7 @@
 
 #
 
 
 
 VER	= 1.0
 
+MVER	= 1
 
 NVER	= 0.1
 
 
 
 CFLAGS		= @CFLAGS@ -I.
 
@@ -55,6 +56,7 @@
 
 install_shared:	shared install_common
 
 		install -m 755 liblockfile.so \
 
 			$(ROOT)$(libdir)/liblockfile.so.$(VER)
 
+		ln -s liblockfile.so.$(VER) $(ROOT)$(libdir)/liblockfile.so.$(MVER)
 
 		ln -s liblockfile.so.$(VER) $(ROOT)$(libdir)/liblockfile.so
 
 		if test "$(ROOT)" = ""; then @LDCONFIG@; fi
 
 
net-libs/liblockfile/liblockfile-1.06-r2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/net-libs/liblockfile/liblockfile-1.06-r2.ebuild,v 1.13 2008/09/21 06:33:57 vapier Exp $
 

	
 
inherit eutils multilib autotools
 

	
 
DESCRIPTION="Implements functions designed to lock the standard mailboxes"
 
HOMEPAGE="http://www.debian.org/"
 
SRC_URI="mirror://debian/pool/main/libl/${PN}/${PN}_${PV}.tar.gz"
 

	
 
LICENSE="LGPL-2"
 
SLOT="0"
 
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
 
IUSE=""
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 

	
 
	epatch "${FILESDIR}"/${P}-glibc24.patch
 
	epatch "${FILESDIR}"/${P}-respectflags.patch
 
	epatch "${FILESDIR}"/${PN}-orphan-file.patch
 

	
 
	# Rename an internal function so it does not conflict with
 
	# libc's function.
 
	sed -i -e 's/eaccess/egidaccess/g' *.c
 

	
 
	eautoreconf
 
}
 

	
 
src_compile() {
 
	econf --with-mailgroup=mail --enable-shared || die
 
	emake || die
 
}
 

	
 
src_install() {
 
	dodir /usr/{bin,include,$(get_libdir)} /usr/share/man/{man1,man3}
 
	emake ROOT="${D}" install || die
 
}
net-libs/liblockfile/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>net-mail</herd>
 
</pkgmetadata>
net-proxy/squidclamav/Manifest
Show inline comments
 
new file 100644
 
AUX squidclamav-3.3-gentoo.patch 847 RMD160 e1d37e416afe5336d34deb1569e94c6a63de92bf SHA1 ac73fd56a2adda1ba086766c795d6c9e7f7913ff SHA256 18708ef04c57e7217e37e04da8850215bae72dd0d58aecb3c5dcd17f5b83c54a
 
AUX squidclamav-3.4-gentoo.patch 847 RMD160 1d9b8992a9b8ddaca5ecb52fd4bf4e414ce2ff5a SHA1 15020f7f02541ea50520a96b8f36b8c8005b21d9 SHA256 66c4730dfa33e7bdf730be07b5920f71b44ebb227a3db8a8f0290ed693a53cd6
 
AUX squidclamav-3.5-gentoo.patch 847 RMD160 ff2dc9aa19381d00e701a2c27dd179d5c08a2abf SHA1 41b00e75da3f60267424607cdf5c284ab4fd3d1b SHA256 fd3b74b4b487d609ee11c61a059b66416f95eaaf8489019387569cc812a729fc
 
DIST squidclamav-3.3.tar.gz 122467 RMD160 a7f99a26167cbd2232de1ebba51f52d81cd8122d SHA1 6e6894e571b770a817a5f1a0d0ec3941902d5fb7 SHA256 09a096ca0bd82cc0e28b56c616142db26f50b67c5b31416648f4d97a38fb1fe0
 
DIST squidclamav-3.4.tar.gz 100096 RMD160 40cec47d7aa2c1dd441e9efd53733611f8e0701d SHA1 2e10c72355757ef38f43d729889a15628fd2e4e9 SHA256 47e73b34d23ae6abffa6c75cc9002177a78ea22fe94c42d08a7a7c575717a42e
 
DIST squidclamav-3.5.tar.gz 100096 RMD160 40cec47d7aa2c1dd441e9efd53733611f8e0701d SHA1 2e10c72355757ef38f43d729889a15628fd2e4e9 SHA256 47e73b34d23ae6abffa6c75cc9002177a78ea22fe94c42d08a7a7c575717a42e
 
EBUILD squidclamav-3.3.ebuild 1239 RMD160 60beaf3b88042be2cd6e902db64df60007259b20 SHA1 9cb8fff32a74fee3efdd29c6e19271d4d1892045 SHA256 ba66ea937d2e7656232a6930807407f45eed535d1c5fb70ac06a066f350fbb70
 
EBUILD squidclamav-3.4.ebuild 1239 RMD160 60beaf3b88042be2cd6e902db64df60007259b20 SHA1 9cb8fff32a74fee3efdd29c6e19271d4d1892045 SHA256 ba66ea937d2e7656232a6930807407f45eed535d1c5fb70ac06a066f350fbb70
 
EBUILD squidclamav-3.5.ebuild 1239 RMD160 60beaf3b88042be2cd6e902db64df60007259b20 SHA1 9cb8fff32a74fee3efdd29c6e19271d4d1892045 SHA256 ba66ea937d2e7656232a6930807407f45eed535d1c5fb70ac06a066f350fbb70
net-proxy/squidclamav/files/squidclamav-3.3-gentoo.patch
Show inline comments
 
new file 100644
 
diff -Nru squidclamav-3.2.orig/squidclamav.conf.dist squidclamav-3.2/squidclamav.conf.dist
 
--- squidclamav-3.3.orig/squidclamav.conf.dist	2007-08-22 15:50:41.000000000 +0300
 
+++ squidclamav-3.3/squidclamav.conf.dist	2007-12-30 13:56:58.000000000 +0200
 
@@ -29,7 +29,7 @@
 
 #
 
 #	stat 0|1
 
 #
 
-#	squidguard /usr/local/squidGuard/bin/squidGuard
 
+#	squidguard /usr/bin/squidGuard
 
 #
 
 #	whitelist this.trustdomain.com
 
 #	whitelist .*\.domain\.*
 
@@ -39,12 +39,12 @@
 
 #proxy http://127.0.0.1:3128/
 
 #logfile /var/log/squidclamav.log
 
 #redirect http://proxy.domain.com/cgi-bin/clwarn.cgi
 
-#squidguard /usr/local/squidGuard/bin/squidGuard
 
+#squidguard /usr/bin/squidGuard
 
 #debug 0
 
 #force 1
 
 #stat 1
 
-#clamd_local /tmp/clamd
 
-#clamd_ip 192.168.1.5
 
+#clamd_local /var/run/clamav/clamd.sock
 
+#clamd_ip 127.0.0.1
 
 #clamd_port 3310
 
 #timeout 60
 
 #abort ^.*\.gz$
net-proxy/squidclamav/files/squidclamav-3.4-gentoo.patch
Show inline comments
 
new file 100644
 
diff -Nru squidclamav-3.2.orig/squidclamav.conf.dist squidclamav-3.2/squidclamav.conf.dist
 
--- squidclamav-3.4.orig/squidclamav.conf.dist	2007-08-22 15:50:41.000000000 +0300
 
+++ squidclamav-3.4/squidclamav.conf.dist	2007-12-30 13:56:58.000000000 +0200
 
@@ -29,7 +29,7 @@
 
 #
 
 #	stat 0|1
 
 #
 
-#	squidguard /usr/local/squidGuard/bin/squidGuard
 
+#	squidguard /usr/bin/squidGuard
 
 #
 
 #	whitelist this.trustdomain.com
 
 #	whitelist .*\.domain\.*
 
@@ -39,12 +39,12 @@
 
 #proxy http://127.0.0.1:3128/
 
 #logfile /var/log/squidclamav.log
 
 #redirect http://proxy.domain.com/cgi-bin/clwarn.cgi
 
-#squidguard /usr/local/squidGuard/bin/squidGuard
 
+#squidguard /usr/bin/squidGuard
 
 #debug 0
 
 #force 1
 
 #stat 1
 
-#clamd_local /tmp/clamd
 
-#clamd_ip 192.168.1.5
 
+#clamd_local /var/run/clamav/clamd.sock
 
+#clamd_ip 127.0.0.1
 
 #clamd_port 3310
 
 #timeout 60
 
 #abort ^.*\.gz$
net-proxy/squidclamav/files/squidclamav-3.5-gentoo.patch
Show inline comments
 
new file 100644
 
diff -Nru squidclamav-3.2.orig/squidclamav.conf.dist squidclamav-3.2/squidclamav.conf.dist
 
--- squidclamav-3.5.orig/squidclamav.conf.dist	2007-08-22 15:50:41.000000000 +0300
 
+++ squidclamav-3.5/squidclamav.conf.dist	2007-12-30 13:56:58.000000000 +0200
 
@@ -29,7 +29,7 @@
 
 #
 
 #	stat 0|1
 
 #
 
-#	squidguard /usr/local/squidGuard/bin/squidGuard
 
+#	squidguard /usr/bin/squidGuard
 
 #
 
 #	whitelist this.trustdomain.com
 
 #	whitelist .*\.domain\.*
 
@@ -39,12 +39,12 @@
 
 #proxy http://127.0.0.1:3128/
 
 #logfile /var/log/squidclamav.log
 
 #redirect http://proxy.domain.com/cgi-bin/clwarn.cgi
 
-#squidguard /usr/local/squidGuard/bin/squidGuard
 
+#squidguard /usr/bin/squidGuard
 
 #debug 0
 
 #force 1
 
 #stat 1
 
-#clamd_local /tmp/clamd
 
-#clamd_ip 192.168.1.5
 
+#clamd_local /var/run/clamav/clamd.sock
 
+#clamd_ip 127.0.0.1
 
 #clamd_port 3310
 
 #timeout 60
 
 #abort ^.*\.gz$
net-proxy/squidclamav/squidclamav-3.3.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/squidclamav-3.2.ebuild,v 1.1 2007/12/30 12:16:37 mrness Exp $
 

	
 
inherit eutils
 

	
 
DESCRIPTION="A Squid redirector to allow easy antivirus file scanning, using ClamAV"
 
HOMEPAGE="http://www.samse.fr/GPL/"
 
SRC_URI="http://www.samse.fr/GPL/${PN}/${P}.tar.gz"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="~amd64 ~x86"
 
IUSE=""
 

	
 
DEPEND="net-misc/curl
 
	dev-libs/openssl
 
	sys-libs/zlib
 
	app-arch/bzip2"
 
RDEPEND="${DEPEND}
 
	net-proxy/squid"
 

	
 
src_unpack() {
 
	unpack ${A}
 

	
 
	epatch "${FILESDIR}/${P}-gentoo.patch"
 
}
 

	
 
src_install() {
 
	dosbin squidclamav || die "dosbin failed"
 
	insinto /etc
 
	newins squidclamav.conf.dist squidclamav.conf
 
	keepdir /var/log/squidclamav
 
	fowners squid:squid /var/log/squidclamav
 
	dodoc ChangeLog README squidclamav.conf.dist clwarn.cgi*
 
}
 

	
 
pkg_postinst() {
 
	einfo "To enable squidclam, add the following lines to /etc/squid/squid.conf:"
 
	einfo "    url_rewrite_program /usr/sbin/squidclamav"
 
	einfo "    url_rewrite_children 15"
 
	einfo "    url_rewrite_access deny localhost # prevent loops"
 
	einfo "    url_rewrite_access deny SSL_ports # SSL URLs cannot be scanned"
 
}
net-proxy/squidclamav/squidclamav-3.4.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/squidclamav-3.2.ebuild,v 1.1 2007/12/30 12:16:37 mrness Exp $
 

	
 
inherit eutils
 

	
 
DESCRIPTION="A Squid redirector to allow easy antivirus file scanning, using ClamAV"
 
HOMEPAGE="http://www.samse.fr/GPL/"
 
SRC_URI="http://www.samse.fr/GPL/${PN}/${P}.tar.gz"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="~amd64 ~x86"
 
IUSE=""
 

	
 
DEPEND="net-misc/curl
 
	dev-libs/openssl
 
	sys-libs/zlib
 
	app-arch/bzip2"
 
RDEPEND="${DEPEND}
 
	net-proxy/squid"
 

	
 
src_unpack() {
 
	unpack ${A}
 

	
 
	epatch "${FILESDIR}/${P}-gentoo.patch"
 
}
 

	
 
src_install() {
 
	dosbin squidclamav || die "dosbin failed"
 
	insinto /etc
 
	newins squidclamav.conf.dist squidclamav.conf
 
	keepdir /var/log/squidclamav
 
	fowners squid:squid /var/log/squidclamav
 
	dodoc ChangeLog README squidclamav.conf.dist clwarn.cgi*
 
}
 

	
 
pkg_postinst() {
 
	einfo "To enable squidclam, add the following lines to /etc/squid/squid.conf:"
 
	einfo "    url_rewrite_program /usr/sbin/squidclamav"
 
	einfo "    url_rewrite_children 15"
 
	einfo "    url_rewrite_access deny localhost # prevent loops"
 
	einfo "    url_rewrite_access deny SSL_ports # SSL URLs cannot be scanned"
 
}
net-proxy/squidclamav/squidclamav-3.5.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/squidclamav-3.2.ebuild,v 1.1 2007/12/30 12:16:37 mrness Exp $
 

	
 
inherit eutils
 

	
 
DESCRIPTION="A Squid redirector to allow easy antivirus file scanning, using ClamAV"
 
HOMEPAGE="http://www.samse.fr/GPL/"
 
SRC_URI="http://www.samse.fr/GPL/${PN}/${P}.tar.gz"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="~amd64 ~x86"
 
IUSE=""
 

	
 
DEPEND="net-misc/curl
 
	dev-libs/openssl
 
	sys-libs/zlib
 
	app-arch/bzip2"
 
RDEPEND="${DEPEND}
 
	net-proxy/squid"
 

	
 
src_unpack() {
 
	unpack ${A}
 

	
 
	epatch "${FILESDIR}/${P}-gentoo.patch"
 
}
 

	
 
src_install() {
 
	dosbin squidclamav || die "dosbin failed"
 
	insinto /etc
 
	newins squidclamav.conf.dist squidclamav.conf
 
	keepdir /var/log/squidclamav
 
	fowners squid:squid /var/log/squidclamav
 
	dodoc ChangeLog README squidclamav.conf.dist clwarn.cgi*
 
}
 

	
 
pkg_postinst() {
 
	einfo "To enable squidclam, add the following lines to /etc/squid/squid.conf:"
 
	einfo "    url_rewrite_program /usr/sbin/squidclamav"
 
	einfo "    url_rewrite_children 15"
 
	einfo "    url_rewrite_access deny localhost # prevent loops"
 
	einfo "    url_rewrite_access deny SSL_ports # SSL URLs cannot be scanned"
 
}
net-wireless/atl2/Manifest
Show inline comments
 
new file 100644
 
DIST atl2-2.0.4.tar.bz2 29089 RMD160 013377747553c62d4105243d605ad5e6de796fcc SHA1 edcc12c0baecff03d5fd73dae16e42d35fd9d96b SHA256 d9e6cb60ea7c6cf019888e5af4845f3552f9b5bc0b2bad190f7ad9d7a29e33bc
 
EBUILD atl2-2.0.4.ebuild 463 RMD160 f0b75a193d4b713d333b2bcfba08c2611a1471e2 SHA1 d8c9482517f38b2c48dc068122c7dda6a4904428 SHA256 f83effad5b5f6227b9b29f103ad6dceec6d4493328c0fef68ee616e179c5e5e0
net-wireless/atl2/atl2-2.0.4.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 

	
 
inherit linux-mod
 

	
 
DESCRIPTION="Attansic/Atheros L2 Fast Ethernet adapter."
 
HOMEPAGE="http://atl2.sf.net/"
 
#SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
SRC_URI="http://people.redhat.com/csnook/${PN}/${P}.tar.bz2"
 
RESTRICT="mirror"
 
LICENSE="GPL2"
 
SLOT="0"
 
KEYWORDS="~x86"
 
IUSE=""
 

	
 
MODULE_NAMES="atl2(atl2:${S}:${S})"
 
BUILD_TARGETS="all"
net-wireless/madwifi-ng/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for net-wireless/madwifi-ng
 
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v 1.53 2008/06/18 07:17:38 opfer Exp $
 

	
 
  18 Jun 2008; Christian Faulhammer <opfer@gentoo.org>
 
  madwifi-ng-0.9.4.ebuild:
 
  stable x86, bug 225099
 

	
 
  06 Jun 2008; Peter Volkov <pva@gentoo.org> metadata.xml:
 
  Added myself as maintainer.
 

	
 
*madwifi-ng-0.9.4 (14 Feb 2008)
 

	
 
  14 Feb 2008; Steev Klimaszewski <steev@gentoo.org>
 
  +madwifi-ng-0.9.4.ebuild:
 
  New upstream release of madwifi-ng. This release is based off 0.9.3.3, not
 
  trunk so unfortunately, still no AR5007 or AR5008 support. There is a patch
 
  in upstreams ticket system for 5007 and 5008 support is in trunk.
 

	
 
  17 Jan 2008; Steev Klimaszewski <steev@gentoo.org>
 
  madwifi-ng-0.9.3.3.ebuild:
 
  Fix the KMOD check.  No need to specify CONFIG.
 

	
 
  16 Jan 2008; Steev Klimaszewski <steev@gentoo.org>
 
  madwifi-ng-0.9.3.3.ebuild:
 
  Add a check for CONFIG_KMOD and error if it is not set.  This should fix 
 
  bug #174168.  Thanks to David Brigada <brigad@rpi.edu> for reporting, 
 
  and Gordon Malm <bugs-gentoo-org-02@bumpin.org> for his work tracking it 
 
  down.
 

	
 
  26 Oct 2007; Steve Dibb <beandog@gentoo.org> madwifi-ng-0.9.3.3.ebuild:
 
  amd64 stable, security bug 195705
 

	
 
  24 Oct 2007; Tobias Scherbaum <dertobi123@gentoo.org>
 
  madwifi-ng-0.9.3.3.ebuild:
 
  ppc stable, bug #195705
 

	
 
  21 Oct 2007; Markus Meier <maekke@gentoo.org> madwifi-ng-0.9.3.3.ebuild:
 
  x86 stable, security bug #195705
 

	
 
  15 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org>
 
  madwifi-ng-0.9.3.2.ebuild:
 
  ppc stable, bug #188902
 

	
 
  15 Aug 2007; Christoph Mende <angelos@gentoo.org>
 
  madwifi-ng-0.9.3.2.ebuild:
 
  Stable on amd64 wrt security bug #188902
 

	
 
  14 Aug 2007; Andrej Kacian <ticho@gentoo.org> madwifi-ng-0.9.3.2.ebuild:
 
  Stable on x86, security bug #188902.
 

	
 
*madwifi-ng-0.9.3.2 (14 Aug 2007)
 

	
 
  14 Aug 2007; Steev Klimaszewski <steev@gentoo.org>
 
  +madwifi-ng-0.9.3.2.ebuild:
 
  New upstream release, various fixes, read the changelog :)
 

	
 
  13 Jul 2007; Stefan Schweizer <genstef@gentoo.org>
 
  files/madwifi-2.6.22.patch:
 
  Add new 2.6.22 patch that works for amd64 too thanks to Thomas S. Howard
 
  <thoward1120@sbcglobal.net> in bug 184804
 

	
 
  07 Jul 2007; Stefan Schweizer <genstef@gentoo.org>
 
  -files/madwifi-ng-0.9.2.1-linux-2.6.20.patch,
 
  -files/madwifi-ng-0.9.2-allow-cipher-none.diff,
 
  -files/madwifi-ng-0.9.2-ath_intr.diff,
 
  -files/madwifi-ng-0.9.2-config.h.diff,
 
  -files/madwifi-ng-0.9.2-crypto_cipher_encrypt_one.diff,
 
  -files/madwifi-association-fix.patch,
 
  -files/madwifi-ng-uudecode-gcda-fix.patch, -madwifi-ng-0.9.2.1.ebuild,
 
  -madwifi-ng-0.9.3-r2.ebuild, -madwifi-ng-0.9.3-r3.ebuild,
 
  madwifi-ng-0.9.3.1.ebuild:
 
  remove old vulnerable, fix help text variable
 

	
 
  02 Jun 2007; Peter Weller <welp@gentoo.org> madwifi-ng-0.9.3.1.ebuild:
 
  Stable on amd46 wrt security bug 179532
 

	
 
  29 May 2007; Tobias Scherbaum <dertobi123@gentoo.org>
 
  madwifi-ng-0.9.3.1.ebuild:
 
  ppc stable, bug #179532
 

	
 
  24 May 2007; Christian Faulhammer <opfer@gentoo.org>
 
  madwifi-ng-0.9.3.1.ebuild:
 
  stable x86, security bug 179532
 

	
 
*madwifi-ng-0.9.3.1 (23 May 2007)
 

	
 
  23 May 2007; Stefan Schweizer <genstef@gentoo.org>
 
  +madwifi-ng-0.9.3.1.ebuild:
 
  Version bump to fix security bug 179532 and to not contain the headers bug
 
  179348
 

	
 
  13 May 2007; Stefan Schweizer <genstef@gentoo.org>
 
  +files/madwifi-2.6.22.patch, madwifi-ng-0.9.3-r3.ebuild:
 
  Add 2.6.22 patch
 

	
 
*madwifi-ng-0.9.3-r3 (16 Apr 2007)
 

	
 
  16 Apr 2007; Steev Klimaszewski <steev@gentoo.org>
 
  +madwifi-ng-0.9.3-r3.ebuild:
 
  Add wireless-tools to RDEPEND and add back the injection useflag/patch.
 
  Closes bug #159006 and bug #174198.
 

	
 
  09 Apr 2007; Marcus D. Hanwell <cryos@gentoo.org>
 
  madwifi-ng-0.9.3-r2.ebuild:
 
  Stable on amd64, bug 173434.
 

	
 
  08 Apr 2007; Tobias Scherbaum <dertobi123@gentoo.org>
 
  madwifi-ng-0.9.3-r2.ebuild:
 
  ppc stable, bug #173434
 

	
 
  06 Apr 2007; Christian Faulhammer <opfer@gentoo.org>
 
  madwifi-ng-0.9.3-r2.ebuild:
 
  stable x86, security bug 173434
 

	
 
  21 Mar 2007; Steev Klimaszewski <steev@gentoo.org>
 
  madwifi-ng-0.9.3-r2.ebuild:
 
  Add IUSE, apparently it is a MUST/Required, though repoman doesn't complain
 
  about it.
 

	
 
*madwifi-ng-0.9.3-r2 (21 Mar 2007)
 

	
 
  21 Mar 2007; Steev Klimaszewski <steev@gentoo.org>
 
  -madwifi-ng-0.9.3-r1.ebuild, +madwifi-ng-0.9.3-r2.ebuild:
 
  Fixes the issues that dsd pointed out in bug 171529, thanks to Gordon for his
 
  faster responses than I.  Hopefully, shouldn't need to bump it anymore.
 

	
 
*madwifi-ng-0.9.3-r1 (21 Mar 2007)
 

	
 
  21 Mar 2007; Steev Klimaszewski <steev@gentoo.org>
 
  -madwifi-ng-0.9.3.ebuild, +madwifi-ng-0.9.3-r1.ebuild:
 
  Fix up the ebuild a bit (and revbump because of building all the rate control
 
  modules now) - thanks to the unknown person in bug #171529.
 

	
 
*madwifi-ng-0.9.3 (20 Mar 2007)
 

	
 
  20 Mar 2007; Steev Klimaszewski <steev@gentoo.org>
 
  +files/madwifi-ng-0.9.3-uudecode-gcda-fix.patch, +madwifi-ng-0.9.3.ebuild:
 
  New upstream release.  Tested on an AR5212 Cardbus card, and an AR5005G.
 
  Still no support for AR5008 :(
 

	
 
  20 Feb 2007; <genstef@gentoo.org> -madwifi-ng-0.9.2.ebuild,
 
  madwifi-ng-0.9.2.1.ebuild:
 
  Use atheros-hal license for truedfx bug 146319
 

	
 
  10 Feb 2007; Steev Klimaszewski <steev@gentoo.org>
 
  +files/madwifi-ng-0.9.2-allow-cipher-none.diff, madwifi-ng-0.9.2.1.ebuild:
 
  Add patch from bug #157677 to fix cipher none issues.  Thanks to Jon Howell
 
  for the patch.  Will be in upstream 0.9.3 release.
 

	
 
  10 Feb 2007; Mike Auty <ikelos@gentoo.org>
 
  files/madwifi-ng-0.9.2.1-linux-2.6.20.patch:
 
  Fix up 'unable to attach hardware' problem, bug 165477.
 

	
 
  05 Feb 2007; Daniel Drake <dsd@gentoo.org>
 
  +files/madwifi-ng-0.9.2.1-linux-2.6.20.patch, madwifi-ng-0.9.2.1.ebuild:
 
  Move patches into src_unpack, and add 2.6.20 compatibility patch
 

	
 
  29 Jan 2007; <genstef@gentoo.org> +files/madwifi-ng-r1886.patch,
 
  madwifi-ng-0.9.2.1.ebuild:
 
  Add injection useflag and patch thanks to jdettner
 

	
 
  10 Dec 2006; Mike Doty <kingtaco@gentoo.org> madwifi-ng-0.9.2.1.ebuild:
 
  amd64 stable, bug 157449
 

	
 
  08 Dec 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  madwifi-ng-0.9.2.1.ebuild:
 
  ppc stable, bug #157449
 

	
 
  08 Dec 2006; Christian Faulhammer <opfer@gentoo.org>
 
  madwifi-ng-0.9.2.1.ebuild:
 
  stable x86, security bug #157449
 

	
 
*madwifi-ng-0.9.2.1 (07 Dec 2006)
 

	
 
  07 Dec 2006; Stefan Schweizer <genstef@gentoo.org>
 
  -madwifi-ng-0.0.1443.20060207.ebuild,
 
  -madwifi-ng-0.0.1531.20060427.ebuild, +madwifi-ng-0.9.2.1.ebuild:
 
  Security version bump, bug 157449 also fixes 2.6.19 building
 

	
 
  17 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
 
  +files/madwifi-ng-0.9.2-ath_intr.diff,
 
  +files/madwifi-ng-0.9.2-config.h.diff,
 
  +files/madwifi-ng-0.9.2-crypto_cipher_encrypt_one.diff,
 
  madwifi-ng-0.9.2.ebuild:
 
  Add 2.6.19 support patches thanks to Horst Schirmeier
 
  <gentoo@schirmeier.com> and Martin Heimburger <vispillo@vispillo.org> in bug
 
  152595
 

	
 
  24 Sep 2006; Michael Hanselmann <hansmi@gentoo.org>
 
  madwifi-ng-0.9.2.ebuild:
 
  Stable on ppc.
 

	
 
  14 Sep 2006; Daniel Drake <dsd@gentoo.org> madwifi-ng-0.9.2.ebuild:
 
  Stable on amd64
 

	
 
  11 Sep 2006; <ticho@gentoo.org> madwifi-ng-0.9.2.ebuild:
 
  Stable on x86, security bug #144996.
 

	
 
  08 Sep 2006; Steev Klimaszewski <steev@gentoo.org>
 
  madwifi-ng-0.9.2.ebuild:
 
  Leaving the patch in the files dir, but removing it from the 0.9.2 ebuild.
 
  Closes/fixes bug #146459. Thanks to dsd for his work in finding, and
 
  reporting, this issue.
 

	
 
  04 Sep 2006; Stefan Schweizer <genstef@gentoo.org> metadata.xml,
 
  -madwifi-ng-0.9.1.ebuild, -madwifi-ng-0.9.2_rc1692.ebuild,
 
  madwifi-ng-0.9.2.ebuild:
 
  remove old, mention as-is in license, bug 146319, remove brix from metadata
 

	
 
  21 Aug 2006; Benjamin Schindler <config@gentoo.org>
 
  +files/madwifi-association-fix.patch, madwifi-ng-0.9.2.ebuild:
 
  Add patch to fix issue http://madwifi.org/ticket/776
 

	
 
  05 Aug 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  madwifi-ng-0.0.1531.20060427.ebuild:
 
  ppc stable, bug #139998
 

	
 
*madwifi-ng-0.9.2 (29 Jul 2006)
 

	
 
  29 Jul 2006; Stefan Schweizer <genstef@gentoo.org>
 
  +madwifi-ng-0.9.2.ebuild:
 
  version bump thanks to Conrad Kostecki <ConiKost@gmx.de> in bug 142043
 

	
 
*madwifi-ng-0.9.2_rc1692 (26 Jul 2006)
 

	
 
  26 Jul 2006; Stefan Schweizer <genstef@gentoo.org>
 
  +madwifi-ng-0.9.2_rc1692.ebuild:
 
  Add release candidate works with 2.6.18, closes bug 141631 thanks to Thomas
 
  Meyer <thomas.mey@web.de>
 

	
 
*madwifi-ng-0.9.1 (23 Jul 2006)
 

	
 
  23 Jul 2006; Steev Klimaszewski <steev@gentoo.org>
 
  +files/madwifi-ng-uudecode-gcda-fix.patch, +madwifi-ng-0.9.1.ebuild:
 
  New upstream release, committing because Brix is on vacation.  Thanks to Yang
 
  Zhao for the initial report, and everyone else in bug #134438. As well as
 
  Agent86 for testing before I commit.
 

	
 
*madwifi-ng-0.0.1531.20060427 (09 Jul 2006)
 
*madwifi-ng-0.0.1443.20060207 (09 Jul 2006)
 

	
 
  09 Jul 2006; Henrik Brix Andersen <brix@gentoo.org>
 
  +madwifi-ng-0.0.1443.20060207.ebuild,
 
  +madwifi-ng-0.0.1531.20060427.ebuild, -madwifi-ng-0.1443.20060207.ebuild,
 
  -madwifi-ng-0.1531.20060427.ebuild:
 
  New version scheme in preparation for version 0.9.x.
 

	
 
  25 Jun 2006; Henrik Brix Andersen <brix@gentoo.org>
 
  -madwifi-ng-0.1401.20060117.ebuild, -madwifi-ng-0.1420.20060201.ebuild,
 
  -madwifi-ng-0.1440.20060206.ebuild, -madwifi-ng-0.1473.20060312.ebuild,
 
  -madwifi-ng-0.1485.20060325.ebuild, -madwifi-ng-0.1502.20060414.ebuild:
 
  Pruned old versions.
 

	
 
  11 May 2006; Henrik Brix Andersen <brix@gentoo.org>
 
  madwifi-ng-0.1531.20060427.ebuild:
 
  Stable on x86. Fixes bug #132787.
 

	
 
  30 Apr 2006; Simon Stelling <blubb@gentoo.org>
 
  madwifi-ng-0.1443.20060207.ebuild:
 
  stable on amd64
 

	
 
*madwifi-ng-0.1531.20060427 (27 Apr 2006)
 

	
 
  27 Apr 2006; Henrik Brix Andersen <brix@gentoo.org>
 
  +madwifi-ng-0.1531.20060427.ebuild:
 
  New snapshot.
 

	
 
*madwifi-ng-0.1502.20060414 (14 Apr 2006)
 
*madwifi-ng-0.1485.20060325 (14 Apr 2006)
 
*madwifi-ng-0.1473.20060312 (14 Apr 2006)
 
*madwifi-ng-0.1443.20060207 (14 Apr 2006)
 
*madwifi-ng-0.1440.20060206 (14 Apr 2006)
 
*madwifi-ng-0.1420.20060201 (14 Apr 2006)
 
*madwifi-ng-0.1401.20060117 (14 Apr 2006)
 

	
 
  14 Apr 2006; Henrik Brix Andersen <brix@gentoo.org> +metadata.xml,
 
  +madwifi-ng-0.1401.20060117.ebuild, +madwifi-ng-0.1420.20060201.ebuild,
 
  +madwifi-ng-0.1440.20060206.ebuild, +madwifi-ng-0.1443.20060207.ebuild,
 
  +madwifi-ng-0.1473.20060312.ebuild, +madwifi-ng-0.1485.20060325.ebuild,
 
  +madwifi-ng-0.1502.20060414.ebuild:
 
  Renamed from net-wireless/madwifi-driver to net-wireless/madwifi-ng.
 

	
 
*madwifi-driver-0.1485.20060325 (27 Mar 2006)
 

	
 
  27 Mar 2006; Henrik Brix Andersen <brix@gentoo.org>
 
  +madwifi-driver-0.1485.20060325.ebuild:
 
  New madwifi-ng snapshot.
 

	
 
*madwifi-driver-0.1473.20060312 (12 Mar 2006)
 

	
 
  12 Mar 2006; Henrik Brix Andersen <brix@gentoo.org>
 
  +madwifi-driver-0.1473.20060312.ebuild:
 
  New snapshot, bug #125933.
 

	
 
  05 Mar 2006; Henrik Brix Andersen <brix@gentoo.org>
 
  madwifi-driver-0.1443.20060207.ebuild:
 
  Stable on x86.
 

	
 
  17 Feb 2006; Henrik Brix Andersen <brix@gentoo.org>
 
  madwifi-driver-0.1_pre20050420-r1.ebuild,
 
  madwifi-driver-0.1401.20060117.ebuild,
 
  madwifi-driver-0.1420.20060201.ebuild,
 
  madwifi-driver-0.1440.20060206.ebuild,
 
  madwifi-driver-0.1443.20060207.ebuild:
 
  Added note about remerging wpa_supplicant/hostapd after upgrading
 
  madwifi-driver. Thanks to Chris Bainbridge in bug #122553.
 

	
 
*madwifi-driver-0.1443.20060207 (07 Feb 2006)
 

	
 
  07 Feb 2006; Henrik Brix Andersen <brix@gentoo.org>
 
  +madwifi-driver-0.1443.20060207.ebuild:
 
  New snapshot. The udev rules are no longer needed, bug #121913.
 

	
 
*madwifi-driver-0.1440.20060206 (06 Feb 2006)
 

	
 
  06 Feb 2006; Henrik Brix Andersen <brix@gentoo.org>
 
  +madwifi-driver-0.1440.20060206.ebuild:
 
  Version bump, bug #121783.
 

	
 
  01 Feb 2006; Henrik Brix Andersen <brix@gentoo.org>
 
  -madwifi-driver-0.1_pre20051111.ebuild:
 
  Removed broken version.
 

	
 
*madwifi-driver-0.1420.20060201 (01 Feb 2006)
 

	
 
  01 Feb 2006; Henrik Brix Andersen <brix@gentoo.org>
 
  +madwifi-driver-0.1420.20060201.ebuild:
 
  New snapshot. Fixes bug #120290.
 

	
 
  17 Jan 2006; Roy Marples <uberlord@gentoo.org>
 
  madwifi-driver-0.1401.20060117.ebuild:
 
  Marked ~amd64.
 

	
 
*madwifi-driver-0.1401.20060117 (17 Jan 2006)
 

	
 
  17 Jan 2006; Henrik Brix Andersen <brix@gentoo.org>
 
  +madwifi-driver-0.1401.20060117.ebuild:
 
  New snapshot, changed naming scheme to match upstream. Fixes bug #112853 and
 
  bug #102104. Thank you to Sebastian Siewior, Uberlord and cryos for testing.
 

	
 
  16 Nov 2005; Stefan Schweizer <genstef@gentoo.org>
 
  madwifi-driver-0.1_pre20051111.ebuild:
 
  Remove ath_rate_amrr if it is leftover from an old installation, #112728
 

	
 
  15 Nov 2005; Marcus D. Hanwell <cryos@gentoo.org>
 
  madwifi-driver-0.1_pre20051111.ebuild:
 
  Marked -amd64, kernel oops caused by traffic over the interface.
 

	
 
*madwifi-driver-0.1_pre20051111 (13 Nov 2005)
 

	
 
  13 Nov 2005; Stefan Schweizer <genstef@gentoo.org>
 
  -files/madwifi-driver-0.1-arp-packets-33958.patch,
 
  -files/madwifi-driver-2.6.8-20040814-proc_dointvec.patch,
 
  -files/madwifi-multi-ssid-support.patch,
 
  -madwifi-driver-0.1_pre20050107.ebuild,
 
  -madwifi-driver-0.1_pre20050224.ebuild,
 
  -madwifi-driver-0.1_pre20050420.ebuild,
 
  -madwifi-driver-0.1_pre20050809.ebuild,
 
  -madwifi-driver-0.1_pre20050809-r1.ebuild,
 
  -madwifi-driver-0.1_pre20051031.ebuild,
 
  +madwifi-driver-0.1_pre20051111.ebuild:
 
  Version bump, remove old ebuilds
 

	
 
  12 Nov 2005; Stefan Schweizer <genstef@gentoo.org>
 
  madwifi-driver-0.1_pre20051031.ebuild:
 
  Add wlan_scan_sta, wlan_scan_ap, postinst einfo note, new homepage, extra
 
  docs, madwifi-tools DEPEND
 

	
 
*madwifi-driver-0.1_pre20051031 (09 Nov 2005)
 

	
 
  09 Nov 2005; Peter Johanson <latexer@gentoo.org>
 
  +madwifi-driver-0.1_pre20051031.ebuild:
 
  Bump with new CVS snapshot.
 

	
 
*madwifi-driver-0.1_pre20050809-r1 (22 Aug 2005)
 
*madwifi-driver-0.1_pre20050420-r1 (22 Aug 2005)
 

	
 
  22 Aug 2005; Henrik Brix Andersen <brix@gentoo.org>
 
  +madwifi-driver-0.1_pre20050420-r1.ebuild,
 
  +madwifi-driver-0.1_pre20050809-r1.ebuild:
 
  Install header files for use by net-wireless/hostapd and
 
  net-wireless/wpa_supplicant.
 

	
 
*madwifi-driver-0.1_pre20050809 (10 Aug 2005)
 

	
 
  10 Aug 2005; Stefan Schweizer <genstef@gentoo.org>
 
  +madwifi-driver-0.1_pre20050809.ebuild:
 
  Version bump thanks to Miles Lubin <miles@lubin.us> in bug 101872
 

	
 
  30 Jun 2005; Joseph Jezak <josejx@gentoo.org>
 
  madwifi-driver-0.1_pre20050420.ebuild:
 
  Added ~ppc and PPC target, bug #97001.
 

	
 
*madwifi-driver-0.1_pre20050420 (25 Apr 2005)
 

	
 
  25 Apr 2005; <solar@gentoo.org> -madwifi-driver-0.1_pre20041019.ebuild,
 
  -madwifi-driver-0.1_pre20050106.ebuild,
 
  +madwifi-driver-0.1_pre20050420.ebuild:
 
  - remove older snapshots that were using kernel-mod.eclass and updated snapshot
 

	
 
*madwifi-driver-0.1_pre20050224 (27 Feb 2005)
 

	
 
  27 Feb 2005; Stefan Schweizer <genstef@gentoo.org>
 
  +madwifi-driver-0.1_pre20050224.ebuild:
 
  New madwifi cvs-snapshot, bug 81766, and module build order restructure, bug
 
  82752
 

	
 
  09 Jan 2005; <solar@gentoo.org> madwifi-driver-0.1_pre20050107.ebuild:
 
  - removing masking and put ebuild in ~arch
 

	
 
  08 Jan 2005; Stefan Schweizer <genstef@gentoo.org>
 
  madwifi-driver-0.1_pre20050107.ebuild:
 
  S= --> S=/madwifi, thanks to Dominic Battre <dominic.battre@gmx.de> in bug
 
  75654 comment #22
 

	
 
*madwifi-driver-0.1_pre20050107 (07 Jan 2005)
 

	
 
  07 Jan 2005; <solar@gentoo.org> +madwifi-driver-0.1_pre20050107.ebuild:
 
  - linux-mod update from Stefan Schweizer
 

	
 
*madwifi-driver-0.1_pre20050106 (07 Jan 2005)
 

	
 
  07 Jan 2005; <solar@gentoo.org> -madwifi-driver-0.1_pre20040824-r1.ebuild,
 
  -madwifi-driver-0.1_pre20040906.ebuild,
 
  +madwifi-driver-0.1_pre20050106.ebuild:
 
  - version bump for 2.6.x kernels
 

	
 
  22 Oct 2004; <solar@gentoo.org> madwifi-driver-0.1_pre20041019.ebuild:
 
  added app-arch/sharutils to DEPEND
 

	
 
*madwifi-driver-0.1_pre20041019 (19 Oct 2004)
 

	
 
  19 Oct 2004; <solar@gentoo.org> -madwifi-driver-0.1_pre20031213-r1.ebuild,
 
  -madwifi-driver-0.1_pre20040108.ebuild,
 
  -madwifi-driver-0.1_pre20040212.ebuild,
 
  -madwifi-driver-0.1_pre20040514.ebuild,
 
  -madwifi-driver-0.1_pre20040726.ebuild,
 
  madwifi-driver-0.1_pre20040906.ebuild,
 
  +madwifi-driver-0.1_pre20041019.ebuild:
 
  Flushed a few of the older ebuilds and added a new 20041019 snapshot for
 
  kernel 2.6.9 - madwifi-multi-ssid.patch still appears to be needed
 

	
 
*madwifi-driver-0.1_pre20040906 (06 Sep 2004)
 

	
 
  06 Sep 2004; <solar@gentoo.org> -madwifi-driver-0.1_pre20040824.ebuild,
 
  +madwifi-driver-0.1_pre20040906.ebuild:
 
  updated the cvs snapshot of madwifi-driver. The WPA branch was merged back
 
  into HEAD
 

	
 
*madwifi-driver-0.1_pre20040824-r1 (29 Aug 2004)
 

	
 
  29 Aug 2004; <solar@gentoo.org>
 
  +files/madwifi-driver-2.6.8-20040814-proc_dointvec.patch,
 
  +files/madwifi-multi-ssid-support.patch,
 
  +madwifi-driver-0.1_pre20040824-r1.ebuild:
 
  update for 2.6.8 kernels
 

	
 
  24 Aug 2004; <solar@gentoo.org> :
 
  updated snapshot, pulling from the wpa branch
 

	
 
*madwifi-driver-0.1_pre20040726 (26 Jul 2004)
 

	
 
  26 Jul 2004; <solar@gentoo.org> madwifi-driver-0.1_pre20040726.ebuild,
 
  files/madwifi-driver-0.1-arp-packets-33958.patch:
 
  new snapshot and added patch from madwifi mailing list which resolves corrupt
 
  frames on wlan0 when ath0 and wlan0 are in the same bridge
 

	
 
  15 May 2004; Peter Johanson <latexer@gentoo.org>
 
  madwifi-driver-0.1_pre20040514.ebuild:
 
  Small fix for 2.6 kernels. Silly me.
 

	
 
*madwifi-driver-0.1_pre20040514 (14 May 2004)
 

	
 
  14 May 2004; Peter Johanson <latexer@gentoo.org>
 
  madwifi-driver-0.1_pre20040514.ebuild:
 
  Bump with new CVS snapshot. Includes small changes to handing of makefile variables.
 

	
 
*madwifi-driver-0.1_pre20040212 (12 Feb 2004)
 

	
 
  12 Feb 2004; Stephen Diener <sediener@gentoo.org>
 
  madwifi-driver-0.1_pre20030702.ebuild,
 
  madwifi-driver-0.1_pre20030802.ebuild,
 
  madwifi-driver-0.1_pre20031110.ebuild,
 
  madwifi-driver-0.1_pre20031213-r1.ebuild,
 
  madwifi-driver-0.1_pre20031213.ebuild,
 
  madwifi-driver-0.1_pre20040212.ebuild:
 
  Cleared out all but the last three monthly snapshots.  Added Febs snap.
 

	
 
*madwifi-driver-0.1_pre20040108 (08 Jan 2004)
 

	
 
  08 Jan 2004; Stephen Diener <sediener@gentoo.org>
 
  madwifi-driver-0.1_pre20040108.ebuild:
 
  monthly CVS snapshot for Jan
 

	
 
*madwifi-driver-0.1_pre20031213-r1 (19 Dec 2003)
 

	
 
  19 Dec 2003; Stephen Diener <sediener@gentoo.org>
 
  madwifi-driver-0.1_pre20031213-r1.ebuild:
 
  Modified to work with 2.6 kernels: thanks to flokno@gmx.net and Jani Vaarala
 
  <flame@pymgyprojects.com> for debugging
 

	
 
*madwifi-driver-0.1_pre20031213 (13 Dec 2003)
 

	
 
  13 Dec 2003; Stephen Diener <sediener@gentoo.org>
 
  madwifi-driver-0.1_pre20031213.ebuild:
 
  new monthly snapshot as promised
 

	
 
  11 Nov 2003; Peter Johanson <latexer@gentoo.org> metadata.xml:
 
  Now in the better "mobile" herd
 

	
 
*madwifi-driver-0.1_pre20030802 (03 Aug 2003)
 

	
 
  03 Aug 2003; Stephen Diener <sediener@gentoo.org>
 
  madwifi-driver-0.1_pre20030802.ebuild:
 
  New release
 

	
 
*madwifi-driver-0.1_pre20030702 (18 Jul 2003)
 

	
 
  18 Jul 2003; Peter Johanson <latexer@gentoo.org>
 
  madwifi-driver-0.1_pre20030702.ebuild:
 
  Initial import. Drivers for the Atheros chipset (a/b/g)
 

	
net-wireless/madwifi-ng/Manifest
Show inline comments
 
new file 100644
 
AUX madwifi-2.6.22.patch 3591 RMD160 f895c5766eb51369e376cf22674b08f8a6125972 SHA1 41c740a96e46d3c3c0934c1d6b668df4bca0a14f SHA256 a2755a11c630b53d6bb4f3eaf6a641e8edfa6585d86f3fd3c918e26397c20386
 
AUX madwifi-ng-0.9.3-uudecode-gcda-fix.patch 340 RMD160 2a18fc4f9e66aa131e901e7e46930e08e2ece7ea SHA1 3c84bf4e203ab3c810c734816dd1291ba19b0005 SHA256 be6e7a66acad56044c25ab56d9cbd7d5326c4ba21f5d9ed25caef56a9577bdc8
 
AUX madwifi-ng-r1886.patch 965 RMD160 86389659efbd846c12153c7e11043f0fb3c7fd8b SHA1 cda44aff6e99ade85b736cc2f31b13cfee6c3721 SHA256 e068fbfaf9c2f27ac9670b6fc43939ceade0e6c40df88d5e23006be640ca0fbe
 
AUX mydebug.patch 525 RMD160 3c4f50206a6dedc944af6b85025d9cb7d5b36eb6 SHA1 dca4deef1cff42af93c29e6629271ed3e491eaea SHA256 832f00677b40ec62a10ae482742fcf3d9f4eb55d64367200fd0bb15b7cae87a5
 
DIST madwifi-0.9.4.tar.bz2 3485142 RMD160 a493addc2f566e07f29033b671fea1b7143a90a4 SHA1 5de5842a662fbca17507003c3b09956c37fa4d79 SHA256 2356ea8a1a00454c31b8bb9a587a474744c022eca61eae01f37ab3f9ce3186a0
 
EBUILD madwifi-ng-0.9.4.ebuild 3157 RMD160 29460cf27552b131432f0aedbdccccaa2b29fd2d SHA1 7083dafea8809c04a0d17d3137a6d7c8f848bdf9 SHA256 47816b59c601a8f05c1a08c0ac6272a10380330ef3703e27fc0bd16aec19f12d
 
MISC ChangeLog 19094 RMD160 d4c424489c7d3cf1db7b5c7432c7e90f646901d0 SHA1 da559201fe523f91f9c21c5698a5b9d599616555 SHA256 558359ad2fe1bb9f5d7cea66090e1ca39308ea60616a7f7e0f7cc74c6f5aaa17
 
MISC metadata.xml 345 RMD160 0e4549bc60b20457d3a4bc8412a61e9dbe7cc755 SHA1 ba4c7181cf779a376bd47270a43762ed9ae0b2bf SHA256 9afd04ae9c6f0fbb33b4d8d6506e088f7172e86784f570ac7afc4cb950c2678b
net-wireless/madwifi-ng/files/madwifi-2.6.22.patch
Show inline comments
 
new file 100644
 
--- madwifi-0.9.3.1/ath/if_ath_pci.c.orig	2007-07-10 01:01:07.000000000 -0700
 
+++ madwifi-0.9.3.1/ath/if_ath_pci.c	2007-07-10 01:01:54.000000000 -0700
 
@@ -207,7 +207,7 @@
 
 
 
 	pci_set_drvdata(pdev, dev);
 
 
 
-	if (request_irq(dev->irq, ath_intr, SA_SHIRQ, dev->name, dev)) {
 
+	if (request_irq(dev->irq, ath_intr, IRQF_SHARED, dev->name, dev)) {
 
 		printk(KERN_WARNING "%s: request_irq failed\n", dev->name);
 
 		goto bad3;
 
 	}
 
--- madwifi-0.9.3.1/net80211/ieee80211_input.c.orig	2007-07-10 00:51:24.000000000 -0700
 
+++ madwifi-0.9.3.1/net80211/ieee80211_input.c	2007-07-10 00:51:29.000000000 -0700
 
@@ -1048,11 +1048,11 @@
 
 			 * incoming fragments
 
 			 * XXX 4-address/QoS frames?
 
 			 */
 
-			else if (skb->end - skb->head < ni->ni_vap->iv_dev->mtu +
 
+			else if (skb_end_pointer(skb) - skb->head < ni->ni_vap->iv_dev->mtu +
 
 				 hdrlen) {
 
 				ni->ni_rxfrag = skb_copy_expand(skb, 0,
 
 					(ni->ni_vap->iv_dev->mtu + hdrlen) -
 
-					(skb->end - skb->head), GFP_ATOMIC);
 
+					(skb_end_pointer(skb) - skb->head), GFP_ATOMIC);
 
 				dev_kfree_skb(skb);
 
 			}
 
 		}
 
@@ -1066,7 +1066,7 @@
 
 			 * we've verified that before
 
 			 */
 
 			/* Copy current fragment at end of previous one */
 
-			memcpy(ni->ni_rxfrag->tail,
 
+			memcpy(skb_tail_pointer(ni->ni_rxfrag),
 
 			       skb->data + hdrlen, skb->len - hdrlen);
 
 			/* Update tail and length */
 
 			skb_put(ni->ni_rxfrag, skb->len - hdrlen);
 
@@ -1136,8 +1136,8 @@
 
 		}
 
 		if (skb1 != NULL) {
 
 			skb1->dev = dev;
 
-			skb1->mac.raw = skb1->data;
 
-			skb1->nh.raw = skb1->data + sizeof(struct ether_header);
 
+			skb_reset_mac_header(skb1);
 
+			skb_set_network_header(skb1, sizeof(struct ether_header));
 
 			skb1->protocol = __constant_htons(ETH_P_802_2);
 
 			/* XXX insert vlan tag before queue it? */
 
 			dev_queue_xmit(skb1);
 
@@ -2259,7 +2259,7 @@
 
 		if (skb1 == NULL)
 
 			return;
 
 		skb1->dev = dev;
 
-		skb1->mac.raw = skb1->data;
 
+		skb_reset_mac_header(skb1);
 
 		skb1->ip_summed = CHECKSUM_NONE;
 
 		skb1->pkt_type = PACKET_OTHERHOST;
 
 		skb1->protocol = __constant_htons(0x0019);  /* ETH_P_80211_RAW */
 
@@ -2533,8 +2533,9 @@
 
 	l2uf->xid[2] = 0x00;
 
 	
 
 	skb->dev = dev;
 
-	skb->protocol = eth_type_trans(skb, dev);
 
-	skb->mac.raw = skb->data;
 
+	skb->pkt_type = PACKET_BROADCAST;
 
+	skb->protocol = htons(ETH_P_802_2);
 
+	skb_reset_mac_header(skb);
 
 	ieee80211_deliver_data(ni, skb);
 
 	return;
 
 }
 
@@ -3713,14 +3714,14 @@
 
 {
 
 	struct ethhdr *eth;
 
 	
 
-	skb->mac.raw=skb->data;
 
+	skb_reset_mac_header(skb);
 
 	skb_pull(skb, ETH_HLEN);
 
 	/*
 
 	 * NB: mac.ethernet is replaced in 2.6.9 by eth_hdr but
 
 	 *     since that's an inline and not a define there's
 
 	 *     no easy way to do this cleanly.
 
 	 */
 
-	eth = (struct ethhdr *)skb->mac.raw;
 
+	eth = (struct ethhdr *)skb_mac_header(skb);
 
 	
 
 	if (*eth->h_dest & 1)
 
 		if (memcmp(eth->h_dest, dev->broadcast, ETH_ALEN) == 0)
 
--- madwifi-0.9.3.1/net80211/ieee80211_monitor.c.orig	2007-07-10 00:52:51.000000000 -0700
 
+++ madwifi-0.9.3.1/net80211/ieee80211_monitor.c	2007-07-10 00:54:29.000000000 -0700
 
@@ -373,7 +373,7 @@
 
 		if (vap->iv_monitor_txf_len && tx) {
 
 			/* truncate transmit feedback packets */
 
 			skb_trim(skb1, vap->iv_monitor_txf_len);
 
-			skb1->nh.raw = skb1->data;
 
+			skb_reset_network_header(skb1);
 
 		}
 
 		switch (vap->iv_dev->type) {
 
 		case ARPHRD_IEEE80211:
 
@@ -555,7 +555,7 @@
 
 				skb_trim(skb1, skb1->len - IEEE80211_CRC_LEN);
 
 			}
 
 			skb1->dev = dev; /* NB: deliver to wlanX */
 
-			skb1->mac.raw = skb1->data;
 
+			skb_reset_mac_header(skb1);
 
 			skb1->ip_summed = CHECKSUM_NONE;
 
 			skb1->pkt_type = pkttype;
 
 			skb1->protocol = __constant_htons(0x0019); /* ETH_P_80211_RAW */
net-wireless/madwifi-ng/files/madwifi-ng-0.9.3-uudecode-gcda-fix.patch
Show inline comments
 
new file 100644
 
Index: ath_hal/Makefile
 
===================================================================
 
--- ath_hal/Makefile	(revision 1648)
 
+++ ath_hal/Makefile	(working copy)
 
@@ -61,6 +61,7 @@
 
 ath_hal-objs	:= ah_osdep.o ${TARGET}.hal.o
 
 
 
 hostprogs-y	:= uudecode
 
+uudecode-objs	:= uudecode.o
 
 
 
 # For older 2.6 kernels
 
 host-progs	:= $(hostprogs-y)
net-wireless/madwifi-ng/files/madwifi-ng-r1886.patch
Show inline comments
 
new file 100644
 
allow to inject packets with aircrack-ng
 

	
 
diff -ur ath/if_ath.c ath/if_ath.c
 
--- ath/if_ath.c	2007-01-07 21:22:55.312500000 +0100
 
+++ ath/if_ath.c	2007-01-07 21:17:09.875000000 +0100
 
@@ -2289,6 +2289,7 @@
 
 ath_tx_startraw(struct net_device *dev, struct ath_buf *bf, struct sk_buff *skb) 
 
 {
 
 	struct ath_softc *sc = dev->priv;
 
+	struct ieee80211com *ic = &sc->sc_ic;
 
 	struct ath_hal *ah = sc->sc_ah;
 
 	struct ieee80211_phy_params *ph = (struct ieee80211_phy_params *) (skb->cb + sizeof(struct ieee80211_cb));
 
 	const HAL_RATE_TABLE *rt;
 
@@ -2305,7 +2306,11 @@
 
 	struct ieee80211_frame *wh; 
 
 	
 
 	wh = (struct ieee80211_frame *) skb->data;
 
-	try0 = ph->try0;
 
+	try0 = (ic->ic_opmode == IEEE80211_M_MONITOR) ? 1 : ph->try0;
 
+	/*
 
+	 * The retry value has to be patched to 1 when injecting,
 
+	 * otherwise the sequence number will be overwritten
 
+	 */
 
 	rt = sc->sc_currates;
 
 	txrate = dot11_to_ratecode(sc, rt, ph->rate0);
 
 	power = ph->power > 60 ? 60 : ph->power;
net-wireless/madwifi-ng/files/mydebug.patch
Show inline comments
 
new file 100644
 
--- /madwifi-0.9.4/ath/if_ath_pci.c	2008-01-30 15:56:11.000000000 -0500
 
+++ /madwifi-0.9.4/ath/if_ath_pci.c	2008-06-23 20:44:49.000000000 -0400
 
@@ -169,6 +169,6 @@
 
 
 
 	phymem = pci_resource_start(pdev, 0);
 
 	if (!request_mem_region(phymem, pci_resource_len(pdev, 0), "ath")) {
 
-		printk(KERN_ERR "ath_pci: cannot reserve PCI memory region\n");
 
+		  printk(KERN_ERR "ath_pci: cannot reserve PCI memory region at %lx-%llx, length%llx\n", phymem, phymem + pci_resource_len(pdev, 0), pci_resource_len(pdev, 0));
 
 		goto bad;
 
 	}
net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild,v 1.2 2008/06/18 07:17:38 opfer Exp $
 

	
 
inherit linux-mod
 

	
 
MY_P=${PN/-ng/}-${PV}
 
S="${WORKDIR}"/${MY_P}
 

	
 
DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
 
HOMEPAGE="http://www.madwifi.org/"
 
SRC_URI="mirror://sourceforge/madwifi/madwifi-${PV}.tar.bz2"
 

	
 
LICENSE="atheros-hal
 
	|| ( BSD GPL-2 )"
 
SLOT="0"
 
KEYWORDS="~amd64 ~ppc x86"
 
IUSE="injection"
 

	
 
DEPEND="app-arch/sharutils"
 
RDEPEND="!net-wireless/madwifi-old
 
		net-wireless/wireless-tools
 
		~net-wireless/madwifi-ng-tools-${PV}"
 

	
 
CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL KMOD"
 
ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
 
ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN drivers (non-hamradio) & Wireless Extensions"
 
ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
 
ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
 
BUILD_TARGETS="all"
 
MODULESD_ATH_PCI_DOCS="README"
 

	
 
pkg_setup() {
 
	linux-mod_pkg_setup
 

	
 
	MODULE_NAMES='ath_hal(net:"${S}"/ath_hal)
 
				wlan(net:"${S}"/net80211)
 
				wlan_acl(net:"${S}"/net80211)
 
				wlan_ccmp(net:"${S}"/net80211)
 
				wlan_tkip(net:"${S}"/net80211)
 
				wlan_wep(net:"${S}"/net80211)
 
				wlan_xauth(net:"${S}"/net80211)
 
				wlan_scan_sta(net:"${S}"/net80211)
 
				wlan_scan_ap(net:"${S}"/net80211)
 
				ath_rate_amrr(net:"${S}"/ath_rate/amrr)
 
				ath_rate_onoe(net:"${S}"/ath_rate/onoe)
 
				ath_rate_sample(net:"${S}"/ath_rate/sample)
 
				ath_rate_minstrel(net:"${S}"/ath_rate/minstrel)
 
				ath_pci(net:"${S}"/ath)'
 

	
 
	BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
 
}
 

	
 
src_unpack() {
 
	unpack ${A}
 

	
 
	cd "${S}"
 
	epatch "${FILESDIR}"/${PN}-0.9.3-uudecode-gcda-fix.patch
 
	epatch "${FILESDIR}"/mydebug.patch
 
	if use injection; then epatch "${FILESDIR}"/${PN}-r1886.patch; fi
 
	for dir in ath ath_hal net80211 ath_rate ath_rate/amrr ath_rate/minstrel ath_rate/onoe ath_rate/sample; do
 
		convert_to_m "${S}"/${dir}/Makefile
 
	done
 
}
 

	
 
src_install() {
 
	linux-mod_src_install
 

	
 
	dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
 
}
 

	
 
pkg_postinst() {
 
	local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
 

	
 
	linux-mod_pkg_postinst
 

	
 
	einfo
 
	einfo "Interfaces (athX) are now automatically created upon loading the ath_pci"
 
	einfo "module."
 
	einfo
 
	einfo "The type of the created interface can be controlled through the 'autocreate'"
 
	einfo "module parameter."
 
	einfo
 
	einfo "As of net-wireless/madwifi-ng-0.9.3 rate control module selection is done at"
 
	einfo "module load time via the 'ratectl' module parameter. USE flags amrr and onoe"
 
	einfo "no longer serve any purpose."
 

	
 
	elog "Please note: This release is based off of 0.9.3.3 and NOT trunk."
 
	elog "# No AR5007 support in this release; experimental support is available
 
	for i386 (32bit) in #1679"
 
	elog "# No AR5008 support in this release; support is available in trunk "
 
	elog "No, we will not apply the patch from 1679, if you must, please do so
 
	in an overlay on your system. That is upstreams ticket 1679, not Gentoo's."
 
}
net-wireless/madwifi-ng/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>
 
	<maintainer>
 
		<email>steev@gentoo.org</email>
 
		<name>Steev Klimaszewski</name>
 
	</maintainer>
 
	<maintainer>
 
		<email>pva@gentoo.org</email>
 
		<name>Peter Volkov</name>
 
	</maintainer>
 
<herd>mobile</herd>
 
</pkgmetadata>
net-www/gnash/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for net-www/gnash
 
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/ChangeLog,v 1.55 2008/01/24 21:23:10 nyhm Exp $
 

	
 
  19 Jan 2008; Stefan Schweizer <genstef@gentoo.org>
 
  -files/gnash-0.8.0-ffmpeg.patch, -gnash-0.8.0.ebuild, -gnash-0.8.1.ebuild,
 
  gnash-0.8.1-r1.ebuild:
 
  remove old, dont offer fltk because we do not have fltk2, bug 205408
 

	
 
*gnash-0.8.1-r1 (12 Jan 2008)
 

	
 
  12 Jan 2008; Mike Frysinger <vapier@gentoo.org> +gnash-0.8.1-r1.ebuild:
 
  Add support for more USE flags and let the ebuild select between competing
 
  features rather than aborting #200759.
 

	
 
  21 Nov 2007; Stefan Schweizer <genstef@gentoo.org> gnash-9999.ebuild:
 
  change cvs ebuild to a stub to point to the cvs ebuild overlay made by
 
  Harley Peters <harley@thepetersclan.com> in bug 187444
 

	
 
*gnash-0.8.1 (21 Nov 2007)
 

	
 
  21 Nov 2007; Stefan Schweizer <genstef@gentoo.org> +gnash-0.8.1.ebuild:
 
  Version bump thanks to many contributions in bug 190753
 

	
 
  30 Aug 2007; Stefan Schweizer <genstef@gentoo.org> gnash-9999.ebuild:
 
  add depend, bug 187723 thanks Michael Zanetti <michael_zanetti@gmx.net>
 

	
 
  23 Jul 2007; Samuli Suominen <drac@gentoo.org>
 
  +files/gnash-0.8.0-ffmpeg.patch, gnash-0.8.0.ebuild:
 
  Fix building with --as-needed and swscaler enabled ffmpeg-20070616-r1 for
 
  bug 183714.
 

	
 
  22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; gnash-0.8.0.ebuild,
 
  gnash-9999.ebuild:
 
  Drop virtual/x11 references.
 

	
 
  10 Jul 2007; Stefan Schweizer <genstef@gentoo.org> -gnash-0.7.2.ebuild,
 
  -gnash-0.7.2_p20099999.ebuild, gnash-0.8.0.ebuild, gnash-9999.ebuild:
 
  Fix flawed media and sound setting logic thanks to Harley Peters
 
  <harley@thepetersclan.com> in bug 184105 also attempt to fix as-needed bug
 
  183714
 

	
 
*gnash-9999 (20 Jun 2007)
 

	
 
  20 Jun 2007; Hanno Boeck <hanno@gentoo.org> +gnash-9999.ebuild:
 
  Add up-to-date cvs ebuild.
 

	
 
  12 Jun 2007; Christian Faulhammer <opfer@gentoo.org> gnash-0.8.0.ebuild:
 
  fixed a typo and added two pairs of quotes
 

	
 
*gnash-0.8.0 (11 Jun 2007)
 

	
 
  11 Jun 2007; Stefan Schweizer <genstef@gentoo.org> +gnash-0.8.0.ebuild:
 
  version bump
 

	
 
  14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
 
  add <herd>no-herd</herd>
 

	
 
  13 May 2007; Stefan Schweizer <genstef@gentoo.org>
 
  gnash-0.7.2_p20099999.ebuild:
 
  Add proper quoting thanks expose
 

	
 
  03 May 2007; Stefan Schweizer <genstef@gentoo.org>
 
  gnash-0.7.2_p20099999.ebuild:
 
  Add boost thread check thanks to Chi-Thanh Christopher Nguyen
 
  <chithanh@cs.tu-berlin.de> in bug 176901
 

	
 
  16 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org> gnash-0.7.2.ebuild:
 
  Keyworded ~sparc wrt #171038
 

	
 
  04 Mar 2007; <genstef@gentoo.org> gnash-0.7.2_p20099999.ebuild:
 
  Add --disable-gnash thanks to g-ranquet <ranquet@imerir.com> in bug 169336
 

	
 
  23 Feb 2007; <genstef@gentoo.org> gnash-0.7.2_p20099999.ebuild:
 
  Improve qt3 detection thanks to Sarath Menon <sarathmenon@gmail.com> in bug
 
  168112
 

	
 
  05 Feb 2007; <genstef@gentoo.org> gnash-0.7.2.ebuild,
 
  gnash-0.7.2_p20099999.ebuild:
 
  use mirror gnu
 

	
 
  31 Jan 2007; <genstef@gentoo.org> gnash-0.7.2_p20099999.ebuild:
 
  KEYWORDS=-* -> KEYWORDS="", bug 160519
 

	
 
  26 Dec 2006; Timothy Redaelli <drizzt@gentoo.org> gnash-0.7.2.ebuild:
 
  Add ~x86-fbsd keyword.
 

	
 
  30 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
 
  gnash-0.7.2_p20099999.ebuild:
 
  Use ./autogen.sh instead of eautoreconf in the cvs ebuild because it works
 
  more reliable, thanks to expose
 

	
 
  23 Nov 2006; Stefan Schweizer <genstef@gentoo.org> gnash-0.7.2.ebuild,
 
  gnash-0.7.2_p20099999.ebuild:
 
  Die on kde and agg thanks to Marco Clocchiatti <ziapannocchia@gmail.com> and
 
  sanchan in bug 155888
 

	
 
  21 Nov 2006; Stefan Schweizer <genstef@gentoo.org> gnash-0.7.2.ebuild,
 
  gnash-0.7.2_p20099999.ebuild:
 
  Readd kde support on popular demand. Drizztbsd and others say that it is
 
  working
 

	
 
*gnash-0.7.2_p20099999 (18 Nov 2006)
 

	
 
  18 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
 
  -files/gnash-0.7.1_p20060704-opengl.diff,
 
  -files/gnash-fix-cxxflags-rpath.patch, -gnash-0.7.1_p20060704.ebuild,
 
  -gnash-0.7.1_p20060814.ebuild, -gnash-0.7.1_p20099999.ebuild,
 
  +gnash-0.7.2_p20099999.ebuild:
 
  Remove old ebuilds, add new cvs ebuild
 

	
 
  18 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
 
  files/digest-gnash-0.7.2, Manifest:
 
  fix digest, bug 155603
 

	
 
  18 Nov 2006; Tony Vroon <chainsaw@gentoo.org> gnash-0.7.2.ebuild:
 
  Add ~ppc keyword.
 

	
 
*gnash-0.7.2 (17 Nov 2006)
 

	
 
  17 Nov 2006; Stefan Schweizer <genstef@gentoo.org> +gnash-0.7.2.ebuild:
 
  version bump thanks go to Nihilus and the other gnash developers!
 

	
 
  08 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
 
  gnash-0.7.1_p20099999.ebuild:
 
  Fix WANT_AUTOMAKE
 

	
 
  07 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
 
  gnash-0.7.1_p20099999.ebuild:
 
  make cvs ebuild working again based on my prepared ebuild for 0.7.2
 

	
 
  07 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
 
  gnash-0.7.1_p20099999.ebuild:
 
  make cvs ebuild working again based on my prepared ebuild for 0.7.2
 

	
 
  20 Oct 2006; Stefan Schweizer <genstef@gentoo.org>
 
  gnash-0.7.1_p20099999.ebuild:
 
  Fix gnash cvs ebuild thanks to Hal Engel <hvengel@astound.net> in bug 151895
 

	
 
  07 Oct 2006; Stefan Schweizer <genstef@gentoo.org>
 
  gnash-0.7.1_p20099999.ebuild:
 
  Add DEPEND on boost thanks to Dennis Brendel <buddabrod@gmail.com>, Daniel
 
  Herzog <expose@luftgetrock.net> and Gustavo Michels
 
  <gustavo.michels@gmail.com>
 

	
 
  03 Oct 2006; Stefan Schweizer <genstef@gentoo.org>
 
  gnash-0.7.1_p20099999.ebuild:
 
  Do not use autodetect arch, thanks Nihilus and expose in #gnash
 

	
 
*gnash-0.7.1_p20099999 (01 Sep 2006)
 

	
 
  01 Sep 2006; Stefan Schweizer <genstef@gentoo.org>
 
  -gnash-0.7.1_p20090909.ebuild, +gnash-0.7.1_p20099999.ebuild:
 
  rename as per bug 143320
 

	
 
*gnash-0.7.1_p20060814 (14 Aug 2006)
 

	
 
  14 Aug 2006; Stefan Schweizer <genstef@gentoo.org>
 
  gnash-0.7.1_p20060704.ebuild, +gnash-0.7.1_p20060814.ebuild,
 
  gnash-0.7.1_p20090909.ebuild:
 
  new snapshot currently -* because clicking does not work for me, sed sound
 
  support to on again
 

	
 
  13 Aug 2006; Stefan Schweizer <genstef@gentoo.org> -files/do-sound.diff,
 
  -files/kdedir.diff, -files/klash-makefile.diff,
 
  gnash-0.7.1_p20090909.ebuild:
 
  remove some patches that got applied upstream
 

	
 
  12 Aug 2006; Stefan Schweizer <genstef@gentoo.org> +files/do-sound.diff,
 
  -files/gnash-as-needed.diff, -files/klash-int-not-external.diff,
 
  gnash-0.7.1_p20090909.ebuild:
 
  remove some patches that got applied from the live ebuild, fold sound sed
 
  into patch
 

	
 
*gnash-0.7.1_p20090909 (08 Aug 2006)
 

	
 
  08 Aug 2006; Stefan Schweizer <genstef@gentoo.org>
 
  -files/gnash-0.7.1_p20060528-confcache-gtkglext.patch,
 
  -files/gnash-0.7.1_p20060528-opengl.diff, files/gnash-as-needed.diff,
 
  +files/kdedir.diff, +files/klash-int-not-external.diff,
 
  +files/klash-makefile.diff, -gnash-0.7.1.ebuild,
 
  -gnash-0.7.1_p20060528.ebuild, gnash-0.7.1_p20060704.ebuild,
 
  +gnash-0.7.1_p20090909.ebuild:
 
  remove old ebuilds, remove dmalloc use flag thanks to Attila Stehr
 
  <as.gentoo@web.de> in bug 142939, add new live cvs ebuild thnaks to Markus
 
  Gothe <nietzsche@lysator.liu.se> in bug 143131 that compiles klash even
 
  without the nsplugin thanks to Simon Siemonsma <simon.gentoo@hccnet.nl> in
 
  bug 142190
 

	
 
  07 Jul 2006; Stefan Schweizer <genstef@gentoo.org>
 
  +files/gnash-fix-cxxflags-rpath.patch, gnash-0.7.1_p20060704.ebuild:
 
  Add patch for CXXFLAGS and RPATH thanks to vapier in bug 139457 and 139459
 

	
 
*gnash-0.7.1_p20060704 (04 Jul 2006)
 

	
 
  04 Jul 2006; Stefan Schweizer <genstef@gentoo.org>
 
  +files/gnash-0.7.1_p20060704-opengl.diff, +gnash-0.7.1_p20060704.ebuild:
 
  version bump: new cvs snapshot
 

	
 
  29 Jun 2006; Jason Wever <weeve@gentoo.org> gnash-0.7.1_p20060528.ebuild:
 
  Masking on SPARC as it makes the baby Xwindow crash.
 

	
 
  01 Jun 2006; Stefan Schweizer <genstef@gentoo.org>
 
  gnash-0.7.1_p20060528.ebuild:
 
  Gtkglext is always needed, remove gtk use flag thanks to Bård Sørngård
 
  <baard.sorngard@gmail.com> and Avuton Olrich <avuton@gmail.com> in bug
 
  135010
 

	
 
  29 May 2006; Stefan Schweizer <genstef@gentoo.org> gnash-0.7.1_p20060528.ebuild:
 
  gtkglext dep fix
 

	
 
  29 May 2006; Stefan Schweizer <genstef@gentoo.org>
 
  +files/gnash-0.7.1_p20060528-confcache-gtkglext.patch,
 
  gnash-0.7.1_p20060528.ebuild:
 
  Add confcache fix
 

	
 
*gnash-0.7.1_p20060528 (28 May 2006)
 

	
 
  28 May 2006; Jory A. Pratt <anarchy@gentoo.org>
 
  +files/gnash-0.7.1_p20060528-opengl.diff, +gnash-0.7.1_p20060528.ebuild:
 
  snapshot of cvs tree, many bug fixes including x86_64 fixes
 

	
 
  11 May 2006; Stefan Schweizer <genstef@gentoo.org> gnash-0.7.1.ebuild:
 
  Workaround install problem thanks to Roie Kerstein
 
  <sf_kersteinroie@bezeqint.net> in bug 132964, mp3->mad to support alt-arches
 
  with mad use.mask, enable sound, cleanup depends
 

	
 
*gnash-0.7.1 (09 May 2006)
 

	
 
  09 May 2006; Stefan Schweizer <genstef@gentoo.org>
 
  +files/gnash-as-needed.diff, -gnash-0.7_alpha20060331.ebuild,
 
  -gnash-0.7_alpha20060331-r1.ebuild, +gnash-0.7.1.ebuild:
 
  version bump
 

	
 
*gnash-0.7_alpha20060331-r1 (03 Apr 2006)
 

	
 
  03 Apr 2006; Stefan Schweizer <genstef@gentoo.org>
 
  +gnash-0.7_alpha20060331-r1.ebuild:
 
  revision bump, gtk use flag, fix plugin, add docs, fix .qt-error, bug 128680
 

	
 
*gnash-0.7_alpha20060331 (02 Apr 2006)
 

	
 
  02 Apr 2006; Stefan Schweizer <genstef@gentoo.org>
 
  -gnash-0.7_alpha20060110.ebuild, -gnash-0.7_alpha20060129.ebuild,
 
  +gnash-0.7_alpha20060331.ebuild:
 
  New ebuild including firefox plugin support, bug 122659, remove old
 

	
 
*gnash-0.7_alpha20060129 (29 Jan 2006)
 

	
 
  29 Jan 2006; Stefan Schweizer <genstef@gentoo.org>
 
  +gnash-0.7_alpha20060129.ebuild:
 
  version bump and DEPEND fix thanks to David Watzke <david@klenot.cz> in bug
 
  120314
 

	
 
  11 Jan 2006; David Holm <dholm@gentoo.org> gnash-0.7_alpha20060110.ebuild:
 
  Added to ~ppc.
 

	
 
*gnash-0.7_alpha20060110 (10 Jan 2006)
 

	
 
  10 Jan 2006; Stefan Schweizer <genstef@gentoo.org> +metadata.xml,
 
  +gnash-0.7_alpha20060110.ebuild:
 
  Alpha ebuild for gnash, closes bug 118527
 

	
net-www/gnash/Manifest
Show inline comments
 
new file 100644
 
AUX amd64fpic.patch 1507 RMD160 9719a7a2beef362c4385041225d773518232a4f0 SHA1 fc1634870fda3df40af78638b37bdb3dc87a73ba SHA256 f2b54b2f675536345ecca848ee0ec46eb2fd64c44202ef24b5c941137050b3de
 
AUX render_handler_ogl.h 3574 RMD160 fb188798712fd82f2186babae66d00ba422c7747 SHA1 d64709afa73ba5d3bac90ed4995398f9e1187d89 SHA256 cfc996dcb803fbcfafaf589d884b85643cda8dbc22220c8123a25fa8f6c3cee3
 
DIST gnash-0.8.1.tar.bz2 1983596 RMD160 8872e58fb1b2915edd62a2a48fc076a0cda3ed2d SHA1 d83280752d0cdf5c4bbeab1c2e8af3dd0113297f SHA256 30fb283e707bc209109ca313c83b069b1c482497b62f8c4cc37e9a23e0ba8993
 
DIST gnash-0.8.2.tar.bz2 2637636 RMD160 63466362edae138bc976f9c025f36703c7edce9f SHA1 1d524f9a5e96037db4159fe6142b0c228b6130be SHA256 4c81e71e6619b79da9641a90ed2c73c362603103bcdcc7b9cc5cc53739d06baa
 
EBUILD gnash-0.8.1-r1.ebuild 4373 RMD160 cdd0d3dbfcd938002072b9cd7badd00ee1ff484e SHA1 9b3942996402eb3f537b9abe9d71012fd7ed68ea SHA256 079ef951477e78cca9f70cccf54e95857afd2d895dcf3841f16e49c6c4aeb192
 
EBUILD gnash-0.8.2.ebuild 4754 RMD160 299bfce3b494bbeafc2087b56ea164f06edf8772 SHA1 6d196f1840d0ecdbb352cb72ef76f5210d65a9f5 SHA256 3520ccd7c6b86bddb98e214d4718c1cdd65307f134b3f8d5ab1b4b8730fec894
 
EBUILD gnash-9999.ebuild 505 RMD160 f7784d63cee65876d046e76d573e062cad927bee SHA1 627b71b89298059d5e3dd3872ff19de69913595a SHA256 f8d9aae6f4245160e80afbf8cebaf859a2834a715b295595fbd88e067ac034aa
 
MISC ChangeLog 9971 RMD160 3316b2161dd7162897e1637c448aa71ddddd0bfc SHA1 7de92ace2d101ddcc39fbea3afae604f3f4e1705 SHA256 a8cde2c6339d9a6a02d47cc233d5d642a1a9e0f3fc1c7440f41bfbee8dd37a08
 
MISC metadata.xml 263 RMD160 3a7c4caf761fd53690c78d1352c1f7c2858a2c3b SHA1 0a3e12eb5d6d1c8e869b12ce442e89791f96d1a9 SHA256 05cfd5d6b86ee3f8cfda20636cefb676c252d2f4410b610d4f189ea8bfdff37e
net-www/gnash/files/amd64fpic.patch
Show inline comments
 
new file 100644
 
--- configure	
 
+++ configure	
 
@@ -51684,7 +51684,8 @@
 
 fi
 
 
 
 
 
-    gnash_boost_version=""
 
+    gnash_
 
+boost_version=""
 
   gnash_boost_topdir=""
 
   gnash_boost_libdir=""
 
   missing_headers=""
 
@@ -51782,9 +51783,9 @@
 
         missing_libs=""
 
       fi
 
       for j in ${boost_libs}; do
 
-        dirs="`ls -dr $i/libboost_${j}*.${shlibext} $i/libboost_${j}*.a 2>/dev/null`"
 
+        dirs="`ls -dr $i/libboost_${j}*.${shlibext} $i/libboost_${j}*.so 2>/dev/null`"
 
         if test -n "${dirs}"; then
 
-          libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.${shlibext}::" -e "s:\.a::"`"
 
+          libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.${shlibext}::" -e "s:\.so::"`"
 
           if test x$dirname = x; then
 
             dirname="`echo ${dirs} | sed -e 's:/libboost.*$::'`"
 
            if test x"${dirname}" != "x/usr/lib"; then
 
@@ -51798,9 +51799,9 @@
 
       done
 
     done
 
     for j in ${extra_boost_libs}; do
 
-      dirs="`ls -dr ${dirname}/libboost_${j}*.${shlibext} ${dirname}/libboost_${j}*.a 2>/dev/null`"
 
+      dirs="`ls -dr ${dirname}/libboost_${j}*.${shlibext} ${dirname}/libboost_${j}*.so 2>/dev/null`"
 
       if test -n "${dirs}"; then
 
-          libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.${shlibext}::" -e "s:\.a::"`"
 
+          libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.${shlibext}::" -e "s:\.so::"`"
 
         ac_cv_path_boost_extra_lib="${ac_cv_path_boost_extra_lib} -l${libname}"
 
       else
 
         extra_missing_libs="${extra_missing_libs} $j"
net-www/gnash/files/render_handler_ogl.h
Show inline comments
 
new file 100644
 
// 
 
//   Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
// 
 
// This program is free software; you can redistribute it and/or modify
 
// it under the terms of the GNU General Public License as published by
 
// the Free Software Foundation; either version 3 of the License, or
 
// (at your option) any later version.
 
// 
 
// This program is distributed in the hope that it will be useful,
 
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
// GNU General Public License for more details.
 
// 
 
// You should have received a copy of the GNU General Public License
 
// along with this program; if not, write to the Free Software
 
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 

	
 
#ifndef __RENDER_HANDLER_OGL_H__
 
#define __RENDER_HANDLER_OGL_H__
 

	
 

	
 
#if defined(NOT_SGI_GL) || defined(__APPLE_CC__)
 
# ifdef __APPLE_CC__
 
# include <AGL/agl.h>
 
# endif
 
#include <OpenGL/gl.h>
 
#include <OpenGL/glu.h>
 
#include <OpenGL/glext.h>
 
# ifdef __APPLE_CC__
 
# define GLUCALLBACKTYPE GLvoid (*)()
 
# else
 
# define GLUCALLBACKTYPE GLvoid (*)(...)
 
# endif
 
#else
 
# define GLUCALLBACKTYPE void (*)()
 
# include <GL/gl.h>
 
# ifdef WIN32
 
#  define GL_CLAMP_TO_EDGE 0x812F
 
# else
 
# include <GL/glx.h>
 
# ifdef OSMESA_TESTING
 
#  include <GL/osmesa.h>
 
# endif // OSMESA_TESTING
 
# endif
 
# include <GL/glu.h>
 
# ifndef APIENTRY
 
#  define APIENTRY
 
# endif
 
#endif
 

	
 

	
 

	
 

	
 
namespace gnash {
 

	
 

	
 

	
 

	
 
typedef std::vector<const path*> PathRefs;
 

	
 

	
 

	
 
struct oglVertex {
 
  oglVertex(double x, double y, double z = 0.0)
 
    : _x(x), _y(y), _z(z)
 
  {
 
  }
 
  
 
  oglVertex(const point& p)
 
    : _x(p.x), _y(p.y), _z(0.0)
 
  {
 
  }
 

	
 
  GLdouble _x;
 
  GLdouble _y;
 
  GLdouble _z;
 
};
 

	
 
typedef std::map< const path*, std::vector<oglVertex> > PathPointMap;
 

	
 
class Tesselator
 
{
 
public:
 
  Tesselator();  
 
  ~Tesselator();
 
  
 
  void beginPolygon();
 
  
 
  void feed(std::vector<oglVertex>& vertices);
 
  
 
  void tesselate();
 
  
 
  void beginContour();
 
  void endContour();
 
  
 
  void rememberVertex(GLdouble* v);
 
  
 
  static void
 
  error(GLenum error);
 

	
 
  static void combine(GLdouble coords [3], void *vertex_data[4],
 
                      GLfloat weight[4], void **outData, void* userdata);
 
  
 

	
 
  
 
private:
 
  std::vector<GLdouble*> _vertices;
 
  GLUtesselator* _tessobj;
 
};
 

	
 
class WholeShape
 
{
 
public:
 
  void newPath(const path& new_path)
 
  {
 
    PathRefs refs;
 
    refs.push_back(&new_path);
 
    
 
    shape.push_back(refs);
 
  }
 
  
 
  void addPath(const path& add_path)
 
  {
 
    PathRefs& refs = shape.back();
 
    refs.push_back(&add_path);
 
  }
 
  
 
  void addPathRefs(const PathRefs& pathrefs)
 
  {
 
  
 
    PathRefs new_refs(pathrefs.begin(), pathrefs.end());
 
    
 
    shape.push_back(new_refs);
 
  }
 
  
 
  
 
  const std::vector<PathRefs>& get() const
 
  {
 
    return shape;
 
  }
 
  
 
private:
 
  std::vector<PathRefs> shape;
 

	
 
};
 

	
 

	
 
class bitmap_info_ogl : public bitmap_info
 
{
 
  public:
 
    bitmap_info_ogl(image::image_base* image, GLenum pixelformat,
 
                    bool ogl_accessible);
 
    ~bitmap_info_ogl();
 

	
 
    void apply(const gnash::matrix& bitmap_matrix,
 
               render_handler::bitmap_wrap_mode wrap_mode);
 
  private:
 
    inline bool ogl_accessible() const;
 
    void setup();    
 
    void upload(boost::uint8_t* data, size_t width, size_t height);
 
    
 
    std::auto_ptr<image::image_base> _img;
 
    GLenum _pixel_format;
 
    GLenum _ogl_img_type;
 
    bool _ogl_accessible;  
 
    GLuint _texture_id;
 
    size_t _orig_width;
 
    size_t _orig_height;
 
};
 

	
 

	
 

	
 

	
 

	
 

	
 
} // namespace gnash
 

	
 

	
 
#endif // __RENDER_HANDLER_OGL_H__
 

	
net-www/gnash/gnash-0.8.1-r1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-0.8.1-r1.ebuild,v 1.3 2008/01/20 04:04:33 vapier Exp $
 

	
 
inherit nsplugins kde-functions qt3 multilib
 
set-kdedir eutils
 

	
 
DESCRIPTION="Gnash is a GNU Flash movie player that supports many SWF v7 features"
 
HOMEPAGE="http://www.gnu.org/software/gnash"
 
SRC_URI="mirror://gnu/${PN}/${PV}/${P}.tar.bz2"
 

	
 
LICENSE="GPL-3"
 
SLOT="0"
 
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
 
IUSE="agg cairo fbcon ffmpeg gstreamer gtk kde mad nsplugin opengl qt3 sdl video_cards_i810"
 

	
 
RDEPEND="
 
	agg? ( >=x11-libs/agg-2.5 )
 
	cairo? ( x11-libs/cairo )
 
	opengl? (
 
		virtual/opengl
 
		gtk? ( x11-libs/gtkglext )
 
	)
 
	!agg? ( !cairo? ( !opengl? ( >=x11-libs/agg-2.5 ) ) )
 
	gtk? (
 
		>x11-libs/gtk+-2
 
		x11-libs/pango
 
		dev-libs/glib
 
		dev-libs/atk
 
	)
 
	kde? ( kde-base/kdelibs )
 
	qt3? ( x11-libs/qt )
 
	sdl? ( media-libs/libsdl )
 
	!gtk? ( !kde? ( !qt3? ( !sdl? ( ( !fbcon? (
 
		>x11-libs/gtk+-2
 
		x11-libs/pango
 
		dev-libs/glib
 
		dev-libs/atk
 
		kde-base/kdelibs
 
	) ) ) ) ) )
 
	dev-libs/libxml2
 
	sys-libs/zlib
 
	media-libs/jpeg
 
	media-libs/libpng
 
	net-misc/curl
 
	ffmpeg?	(
 
		media-libs/libsdl
 
		media-video/ffmpeg
 
	)
 
	gstreamer? (
 
		media-plugins/gst-plugins-ffmpeg
 
		media-plugins/gst-plugins-mad
 
	)
 
	mad? ( media-libs/libmad )
 
	dev-libs/boost
 
	x11-libs/libX11
 
	x11-libs/libXi
 
	x11-libs/libXmu
 
	x11-libs/libXt
 
	x11-proto/xproto
 
	"
 
DEPEND="${RDEPEND}
 
	dev-util/pkgconfig"
 

	
 
pkg_setup() {
 
	if ! use agg && ! use opengl && use cairo && use kde ; then
 
		eerror "The cairo renderer and the kde gui were selected"
 
		eerror "They are incompatible with each other"
 
		eerror "Disable one of them through the respective USE flag"
 
		die "cairo and kde USE flags enabled at the same time"
 
	fi
 

	
 
#( use fbcon || use fltk )
 
	if ! use agg && use opengl && use fbcon; then
 
		eerror "The opengl renderer and the fb/fltk guis were selected"
 
		eerror "They are incompatible with each other"
 
		eerror "Disable one of them through the respective USE flag"
 
		die "opengl and fbcon/fltk USE flags enabled at the same time"
 
	fi
 

	
 
	if use nsplugin && use !gtk ; then
 
		eerror "The Firefox plugin was selected but not the GTK frontend."
 
		eerror "Disable the nsplugin USE flag or enable the gtk USE flag"
 
		die "nsplugin USE flag enabled with required gtk USE flag disabled"
 
	fi
 

	
 
	if has_version '<dev-libs/boost-1.34' && ! built_with_use dev-libs/boost threads ; then
 
		eerror "dev-libs/boost must have been built with the 'threads' USE flag enabled"
 
		die "dev-libs/boost not built with threads USE flag enabled"
 
	fi
 
}
 

	
 
src_compile() {
 
	local myconf
 

	
 
	if use nsplugin ; then
 
		myconf="${myconf} --with-plugindir=/opt/netscape/plugins"
 
	else
 
		myconf="${myconf} --disable-nsapi"
 
	fi
 

	
 
	if use agg ; then
 
		myconf="${myconf} --enable-renderer=agg"
 
	elif use opengl ; then
 
		myconf="${myconf} --enable-renderer=ogl"
 
	elif use cairo ; then
 
		myconf="${myconf} --enable-renderer=cairo"
 
	else
 
		ewarn "You did not select a renderer from: agg cairo opengl"
 
		ewarn " - Default of agg has been selected for you"
 
		myconf="${myconf} --enable-renderer=agg"
 
	fi
 

	
 
	local gui=""
 
	use fbcon && gui="${gui},fb"
 
	#use fltk && gui="${gui},fltk"
 
	use gtk && gui="${gui},gtk"
 
	use kde && gui="${gui},kde"
 
	use qt3 && gui="${gui},qt"
 
	use sdl && gui="${gui},sdl"
 
	gui=${gui#,}
 
	if [[ -z ${gui} ]] ; then
 
		ewarn "You did not select a gui from: fbcon gtk kde qt3 sdl" #fltk
 
		ewarn " - Default of gtk,kde has been selected for you"
 
		gui="gtk,kde"
 
	fi
 

	
 
	if use ffmpeg ; then
 
		myconf="${myconf} --enable-media=ffmpeg"
 
	elif use gstreamer ; then
 
		myconf="${myconf} --enable-media=gst"
 
	elif use mad ; then
 
		myconf="${myconf} --enable-media=mad"
 
	else
 
		ewarn "You did not select media: ffmpeg gstreamer mad"
 
		ewarn " - You will not have sound"
 
		myconf="${myconf} --enable-media=ffmpeg"
 
	fi
 

	
 
	econf \
 
		$(use_enable video_cards_i810 i810-lod-bias) \
 
		--enable-gui=${gui} \
 
		${myconf} \
 
		|| die "econf failed"
 
	emake || die "emake failed"
 
}
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install || die "emake install failed"
 
	use nsplugin && inst_plugin /opt/netscape/plugins/libgnashplugin.so \
 
		|| rm -rf "${D}/opt"
 
	dodoc AUTHORS ChangeLog NEWS README
 
}
 

	
 
pkg_postinst() {
 
	ewarn "ALPHA"
 
	ewarn "gnash is still in heavy development"
 
	ewarn "please report gnash bugs upstream to the gnash devs"
 
}
net-www/gnash/gnash-0.8.2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-0.8.1-r1.ebuild,v 1.3 2008/01/20 04:04:33 vapier Exp $
 

	
 
inherit nsplugins kde-functions qt3 multilib
 
set-kdedir eutils
 

	
 
DESCRIPTION="Gnash is a GNU Flash movie player that supports many SWF v7 features"
 
HOMEPAGE="http://www.gnu.org/software/gnash"
 
SRC_URI="mirror://gnu/${PN}/${PV}/${P}.tar.bz2"
 

	
 
LICENSE="GPL-3"
 
SLOT="0"
 
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
 
IUSE="agg cairo fbcon ffmpeg gstreamer gtk kde mad nsplugin opengl qt3 sdl video_cards_i810"
 

	
 
RDEPEND="
 
	agg? ( >=x11-libs/agg-2.5 )
 
	cairo? ( x11-libs/cairo )
 
	opengl? (
 
		virtual/opengl
 
		gtk? ( x11-libs/gtkglext )
 
	)
 
	!agg? ( !cairo? ( !opengl? ( >=x11-libs/agg-2.5 ) ) )
 
	gtk? (
 
		>x11-libs/gtk+-2
 
		x11-libs/pango
 
		dev-libs/glib
 
		dev-libs/atk
 
	)
 
	kde? ( kde-base/kdelibs )
 
	qt3? ( x11-libs/qt )
 
	sdl? ( media-libs/libsdl )
 
	!gtk? ( !kde? ( !qt3? ( !sdl? ( ( !fbcon? (
 
		>x11-libs/gtk+-2
 
		x11-libs/pango
 
		dev-libs/glib
 
		dev-libs/atk
 
		kde-base/kdelibs
 
	) ) ) ) ) )
 
	dev-libs/libxml2
 
	sys-libs/zlib
 
	media-libs/jpeg
 
	media-libs/libpng
 
	net-misc/curl
 
	ffmpeg?	(
 
		media-libs/libsdl
 
		media-video/ffmpeg
 
	)
 
	gstreamer? (
 
		media-plugins/gst-plugins-ffmpeg
 
		media-plugins/gst-plugins-mad
 
	)
 
	mad? ( media-libs/libmad )
 
	dev-libs/boost
 
	x11-libs/libX11
 
	x11-libs/libXi
 
	x11-libs/libXmu
 
	x11-libs/libXt
 
	x11-proto/xproto
 
	media-video/swfmill
 
	media-gfx/swftools
 
	media-video/mtasc
 
	"
 
DEPEND="${RDEPEND}
 
	dev-util/pkgconfig"
 

	
 
pkg_setup() {
 
	if ! use agg && ! use opengl && use cairo && use kde ; then
 
		eerror "The cairo renderer and the kde gui were selected"
 
		eerror "They are incompatible with each other"
 
		eerror "Disable one of them through the respective USE flag"
 
		die "cairo and kde USE flags enabled at the same time"
 
	fi
 

	
 
#( use fbcon || use fltk )
 
	if ! use agg && use opengl && use fbcon; then
 
		eerror "The opengl renderer and the fb/fltk guis were selected"
 
		eerror "They are incompatible with each other"
 
		eerror "Disable one of them through the respective USE flag"
 
		die "opengl and fbcon/fltk USE flags enabled at the same time"
 
	fi
 

	
 
	if use nsplugin && use !gtk ; then
 
		eerror "The Firefox plugin was selected but not the GTK frontend."
 
		eerror "Disable the nsplugin USE flag or enable the gtk USE flag"
 
		die "nsplugin USE flag enabled with required gtk USE flag disabled"
 
	fi
 

	
 
	if has_version '<dev-libs/boost-1.34' && ! built_with_use dev-libs/boost threads ; then
 
		eerror "dev-libs/boost must have been built with the 'threads' USE flag enabled"
 
		die "dev-libs/boost not built with threads USE flag enabled"
 
	fi
 
}
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 
	epatch "${FILESDIR}"/amd64fpic.patch
 

	
 
	#Copy missing file
 
	cp -f ${FILESDIR}/render_handler_ogl.h \
 
		${S}/backend/render_handler_ogl.h \
 
		|| die "cp"
 
}
 

	
 
src_compile() {
 
	local myconf
 

	
 
	if use nsplugin ; then
 
		myconf="${myconf} --enable-plugin --enable-nsapi --with-plugindir=/opt/netscape/plugins"
 
	else
 
		myconf="${myconf} --disable-nsapi"
 
	fi
 

	
 
	if use agg ; then
 
		myconf="${myconf} --enable-renderer=agg"
 
	elif use opengl ; then
 
		myconf="${myconf} --enable-renderer=ogl"
 
	elif use cairo ; then
 
		myconf="${myconf} --enable-renderer=cairo"
 
	else
 
		ewarn "You did not select a renderer from: agg cairo opengl"
 
		ewarn " - Default of agg has been selected for you"
 
		myconf="${myconf} --enable-renderer=agg"
 
	fi
 

	
 
	local gui=""
 
	use fbcon && gui="${gui},fb"
 
	#use fltk && gui="${gui},fltk"
 
	use gtk && gui="${gui},gtk"
 
	use kde && gui="${gui},kde"
 
	use qt3 && gui="${gui},qt"
 
	use sdl && gui="${gui},sdl"
 
	gui=${gui#,}
 
	if [[ -z ${gui} ]] ; then
 
		ewarn "You did not select a gui from: fbcon gtk kde qt3 sdl" #fltk
 
		ewarn " - Default of gtk,kde has been selected for you"
 
		gui="gtk,kde"
 
	fi
 

	
 
	if use ffmpeg ; then
 
		myconf="${myconf} --enable-media=ffmpeg"
 
	elif use gstreamer ; then
 
		myconf="${myconf} --enable-media=gst"
 
	elif use mad ; then
 
		myconf="${myconf} --enable-media=mad"
 
	else
 
		ewarn "You did not select media: ffmpeg gstreamer mad"
 
		ewarn " - You will not have sound"
 
		myconf="${myconf} --enable-media=ffmpeg"
 
	fi
 

	
 
	econf \
 
		$(use_enable video_cards_i810 i810-lod-bias) \
 
		--enable-gui=${gui} \
 
		${myconf} \
 
		|| die "econf failed"
 
	emake || die "emake failed"
 
}
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install || die "emake install failed"
 

	
 
	if use nsplugin ; then
 
		emake DESTDIR="${D}" install-plugin \
 
			|| die "emake install-plugin failed"
 
		inst_plugin /opt/netscape/plugins/libgnashplugin.so
 
	else
 
		rm -rf "${D}/opt"
 
	fi
 

	
 
	dodoc AUTHORS ChangeLog NEWS README
 
}
 

	
 
pkg_postinst() {
 
	ewarn "BETA"
 
	ewarn "gnash is still in heavy development"
 
	ewarn "please report gnash bugs upstream to the gnash devs"
 
}
net-www/gnash/gnash-9999.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-9999.ebuild,v 1.6 2007/11/21 09:41:17 genstef Exp $
 

	
 
DESCRIPTION="Gnash is a GNU Flash movie player that supports many SWF v7 features"
 
HOMEPAGE="http://www.gnu.org/software/gnash"
 
SRC_URI=""
 

	
 
LICENSE="GPL-3"
 
SLOT="0"
 
KEYWORDS=""
 
IUSE=""
 

	
 
RDEPEND=""
 
DEPEND=""
 

	
 
pkg_setup() {
 
	die "Please get the current cvs ebuild from layman -a gnash-cvs"
 
}
net-www/gnash/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>no-herd</herd>
 
  <maintainer>
 
    <email>genstef@gentoo.org</email>
 
    <name>Stefan Schweizer</name>
 
  </maintainer>
 
</pkgmetadata>
sci-calculators/gfm/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for sci-calculators/gfm
 
# made by Nathan Brink <ohnobinki@ohnopublishing.homelinux.net>
 

	
 
	08 Feb 2008; Nathan Brink <ohnobinki@ohnopublishing.homelinux.net> +gfm-1.02.ebuild
 
	creation
 
\ No newline at end of file
sci-calculators/gfm/Manifest
Show inline comments
 
new file 100644
 
DIST gfm-1.02.tar.gz 575460 RMD160 7abda58dc4b23231f78f9968839c1e16f1c6e0a6 SHA1 a691504a6577d1997a7b74fe6e0f9537ce040831 SHA256 74dbc010a4812ccbe4a03a119f2a1d755bb7422c2eb08abee5dad95f3bcee3d2
 
EBUILD gfm-1.02.ebuild 826 RMD160 af5f57c6167efb6d8fe473256e4bde2733d83cdc SHA1 fe8b6bf47bfecf98bbd43864123a788e48645f4a SHA256 7df6dc257a690484247d2f4c4aeecace90d2243af2db5808b77e68549fcf4947
 
MISC ChangeLog 195 RMD160 27aaefd36c1c2fd026bf86d258605546174ba76c SHA1 7b2693c28727e2b37ab4a950c87aa91291fb4c10 SHA256 6bdbf94a4582fc23e5fed0b4cf1ac6a5e5826d9927d9ed79bc93cc450d6aab14
 
MISC metadata.xml 138 RMD160 2e3e5b39b3593b10f81571801a2e21966f098edd SHA1 6306ad7ed23b5d31a6511baa9f9abc741870b313 SHA256 224d288f16d926e3218a370ebd21303c54b500bbc70fd9cd3291c47d99623a84
sci-calculators/gfm/gfm-1.02.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 

	
 

	
 
inherit qt3
 

	
 
DESCRIPTION="Program allowing a PC to communicate with a TI calculator."
 
HOMEPAGE="http://lpg.ticalc.org/prj_tilp"
 
SRC_URI="ftp://ohnopublishing.homelinux.net/distfiles/${P}.tar.gz"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="amd64 ~x86"
 
IUSE="kde xinerama"
 

	
 
RDEPEND=">=sci-calculators/tilp2-1.10
 
	>=x11-libs/gtk+-2.6.0
 
	>=dev-libs/glib-2.6.0
 
	>=gnome-base/libglade-2
 
	kde? ( kde-base/kdelibs:3.5 )
 
	xinerama? ( x11-libs/libXinerama )"
 
	
 
DEPEND="${RDEPEND}
 
	xinerama? (x11-libs/xineramaproto)"
 

	
 
src_compile() {
 
	econf \
 
		$(use_with kde) \
 
		$(use_with xinerama) \
 
		|| die "econf failed"
 
	emake || die "emake failed"
 
}
 

	
 
src_install() {
 
	emake install DESTDIR="${D}" || die "emake install failed"
 
}
sci-calculators/gfm/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>
 
</pkgmetadata>
 
\ No newline at end of file
sys-apps/acl/Manifest
Show inline comments
 
new file 100644
 
AUX acl-2.2.29-nfs-glue.patch 709 RMD160 a7d2199a69cd045ebd094024e2e33ec752c0760a SHA1 cdb28eccefd61252b279eeb4b1fd21810e3c0b7f SHA256 ad9f47e7588f5791ad7327570758a233d79ca7ec2e09c91b03c2c838c51cff56
 
AUX acl-2.2.32-only-symlink-when-needed.patch 836 RMD160 5b36f392f12d2382dd051c9766ae128a71b659ec SHA1 79fefd16a84e51797165fc8438382382156a149b SHA256 fede0dc42499b8903e42ea976d2ebfe8965750a8b2b116433364e657fbc8189d
 
AUX acl-2.2.39-leave-las-to-libtool.patch 837 RMD160 624578f90057130ae11e887658340986d6f5e185 SHA1 0b9cff789fac0e2268f5a042de17708555cb6236 SHA256 dd9efc9084ed23f340dc01f811f46506c39ff6a825484afbefc109daf9c92daa
 
AUX acl-2.2.41-nfs-glue.patch 583 RMD160 cc8d8da93cbeb8e1de632bd4ce5db09111eabd96 SHA1 b70922c2fde82e835838f5ec78cb687b99ca82b5 SHA256 8981f1031150d605f5b922a7c970fb785acb052e210ea7ec76b88c6ddccc13a7
 
AUX acl-2.2.44-LDFLAGS.patch 350 RMD160 c2ce51a7041266d3693f0c9d9ad4104695d7ba4b SHA1 e4b73214d66485d4072af97b6746cd60f7ba24cf SHA256 3f22d171d3da057e7a5edc94955e4702f1a3d83eaa93e7740685022ea3fe3314
 
AUX attr-2.4.32-libtool.patch 1551 RMD160 136086d7bc55359bc706a24c50db9f50d52992b5 SHA1 42196df91fd04182efd6d5d4be38aa5d5270c487 SHA256 083c536a961ec34eafd13330326a347a9eda77513ab967ec2571c5c3f741ea25
 
DIST acl-2.2.29-CITI_NFS4_ALL-3.dif 172937 RMD160 3768f0a235b4f228e0e60f4a3b59d1920a6b0ae4 SHA1 e91139278326d8738e599e361f823f2ea099d867 SHA256 8458adb2d9ed83b5a643143a09e349722f90f98c6d09fc1f6e4c5d5969c3de64
 
DIST acl_2.2.39-1.tar.gz 122091 RMD160 5e6797b580c561a52d10b36d82587f8b80024a43 SHA1 596cfa3461e93d5ad402ba2c4f6e8f1d4118a635 SHA256 1c01909c1d293a8599b94f9bc75e41a07878067211f08c09c66b1070924b6066
 
EBUILD acl-2.2.39-r1.ebuild 1973 RMD160 a7c592a9a7b43bbdd78b5bb6727039f19a2e18e9 SHA1 c4e6fb1a8d61eb3f716ed45d5f825f065f454ba6 SHA256 5f1a24a7a16114acc4a6f3ad5652d0a2a87914574720df5748e3d178d3857d9f
 
MISC acl-2.2.39-r1.ebuild.orig 1747 RMD160 f5056aa2d139b334996b36d910f52f03bfea6825 SHA1 d6e185f2e1d9817b38acb06e2de6cf68b584dabb SHA256 5b62382cdb02f7682e6361998c67d9da2a8d35d54f2dc3f53fe51d754204219a
 
MISC acl-2.2.39-r1.ebuild.rej 746 RMD160 fe264570306f6f264bdb24e121119671718063e6 SHA1 1c2263c3e8521f0d09f8ec7554d430b6e0f5a536 SHA256 0dba1e522d5278993c1aa3c60602ee3a3bf4768e58b9520b93f882c42dce3b03
sys-apps/acl/acl-2.2.39-r1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.2.39-r1.ebuild,v 1.12 2007/01/31 20:47:08 dertobi123 Exp $
 

	
 
WANT_AUTOCONF="latest"
 
WANT_AUTOMAKE="latest"
 

	
 
inherit eutils autotools toolchain-funcs
 

	
 
MY_P="${PN}_${PV}-1"
 
DESCRIPTION="Access control list utilities, libraries and headers"
 
HOMEPAGE="http://oss.sgi.com/projects/xfs/"
 
SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${MY_P}.tar.gz
 
	ftp://xfs.org/mirror/SGI/cmd_tars/${MY_P}.tar.gz
 
	nfs? ( http://www.citi.umich.edu/projects/nfsv4/linux/acl-patches/2.2.29-3/acl-2.2.29-CITI_NFS4_ALL-3.dif )"
 

	
 
LICENSE="LGPL-2.1"
 
SLOT="0"
 
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
 
IUSE="nfs nls"
 

	
 
RDEPEND=">=sys-apps/attr-2.4
 
	nfs? ( net-libs/libnfsidmap )"
 

	
 
DEPEND="${RDEPEND}
 
	nls? ( sys-devel/gettext )"
 

	
 
src_unpack() {
 
	unpack ${MY_P}.tar.gz
 
	cd "${S}"
 
	if use nfs ; then
 
		cp "${DISTDIR}"/acl-2.2.29-CITI_NFS4_ALL-3.dif . || die
 
		epatch \
 
			"${FILESDIR}"/acl-2.2.29-nfs-glue.patch \
 
			acl-2.2.29-CITI_NFS4_ALL-3.dif
 
	fi
 
	epatch "${FILESDIR}"/${PN}-2.2.32-only-symlink-when-needed.patch
 
	epatch "${FILESDIR}"/attr-2.4.32-libtool.patch
 
	epatch "${FILESDIR}"/${P}-leave-las-to-libtool.patch
 

	
 
	sed -i \
 
		-e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
 
		-e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
 
		include/builddefs.in \
 
		|| die "failed to update builddefs"
 
	AT_M4DIR="m4" eaclocal
 
	_elibtoolize --copy --force
 
	AT_M4DIR="m4" eaclocal
 
	eautoconf
 
}
 

	
 
src_compile() {
 
	export OPTIMIZER=${CFLAGS}
 
	export DEBUG=-DNDEBUG
 

	
 
	econf \
 
		$(use_enable nls gettext) \
 
		--libexecdir=/usr/$(get_libdir) \
 
		--bindir=/bin \
 
		|| die
 
	emake || die
 
}
 

	
 
src_install() {
 
	emake DIST_ROOT="${D}" install install-dev install-lib || die
 
	prepalldocs
 

	
 
	# move shared libs to /
 
	dodir /$(get_libdir)
 
	mv "${D}"/usr/$(get_libdir)/libacl.so* "${D}"/$(get_libdir)/ || die
 
	gen_usr_ldscript libacl.so
 
}
sys-apps/acl/acl-2.2.39-r1.ebuild.orig
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.2.39-r1.ebuild,v 1.12 2007/01/31 20:47:08 dertobi123 Exp $
 

	
 
WANT_AUTOCONF="latest"
 
inherit eutils autotools toolchain-funcs
 

	
 
MY_P="${PN}_${PV}-1"
 
DESCRIPTION="Access control list utilities, libraries and headers"
 
HOMEPAGE="http://oss.sgi.com/projects/xfs/"
 
SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${MY_P}.tar.gz
 
	ftp://xfs.org/mirror/SGI/cmd_tars/${MY_P}.tar.gz
 
	nfs? ( http://www.citi.umich.edu/projects/nfsv4/linux/acl-patches/2.2.29-3/acl-2.2.29-CITI_NFS4_ALL-3.dif )"
 

	
 
LICENSE="LGPL-2.1"
 
SLOT="0"
 
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
 
IUSE="nfs nls"
 

	
 
DEPEND=">=sys-apps/attr-2.4
 
	nfs? ( net-libs/libnfsidmap )
 
	nls? ( sys-devel/gettext )"
 

	
 
src_unpack() {
 
	unpack ${MY_P}.tar.gz
 
	cd "${S}"
 
	if use nfs ; then
 
		cp "${DISTDIR}"/acl-2.2.29-CITI_NFS4_ALL-3.dif . || die
 
		epatch \
 
			"${FILESDIR}"/acl-2.2.29-nfs-glue.patch \
 
			acl-2.2.29-CITI_NFS4_ALL-3.dif
 
	fi
 
	epatch "${FILESDIR}"/${PN}-2.2.32-only-symlink-when-needed.patch
 
	sed -i \
 
		-e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
 
		-e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
 
		include/builddefs.in \
 
		|| die "failed to update builddefs"
 
	eautoconf
 
}
 

	
 
src_compile() {
 
	export OPTIMIZER=${CFLAGS}
 
	export DEBUG=-DNDEBUG
 

	
 
	econf \
 
		$(use_enable nls gettext) \
 
		--libexecdir=/usr/$(get_libdir) \
 
		--bindir=/bin \
 
		|| die
 
	emake || die
 
}
 

	
 
src_install() {
 
	emake DIST_ROOT="${D}" install install-dev install-lib || die
 
	prepalldocs
 

	
 
	# move shared libs to /
 
	dodir /$(get_libdir)
 
	mv "${D}"/usr/$(get_libdir)/libacl.so* "${D}"/$(get_libdir)/ || die
 
	gen_usr_ldscript libacl.so
 
}
sys-apps/acl/acl-2.2.39-r1.ebuild.rej
Show inline comments
 
new file 100644
 
***************
 
*** 31,40 ****
 
  			acl-2.2.29-CITI_NFS4_ALL-3.dif
 
  	fi
 
  	epatch "${FILESDIR}"/${PN}-2.2.32-only-symlink-when-needed.patch
 
  	sed -i \
 
  		-e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
 
  		include/builddefs.in \
 
  		|| die "failed to update builddefs"
 
  	eautoconf
 
  }
 
  
 
--- 35,50 ----
 
  			acl-2.2.29-CITI_NFS4_ALL-3.dif
 
  	fi
 
  	epatch "${FILESDIR}"/${PN}-2.2.32-only-symlink-when-needed.patch
 
+ 	epatch "${FILESDIR}"/attr-2.4.32-libtool.patch
 
+ 	epatch "${FILESDIR}"/${P}-leave-las-to-libtool.patch
 
  	sed -i \
 
  		-e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
 
  		include/builddefs.in \
 
  		|| die "failed to update builddefs"
 
+ 
 
+ 	AT_M4DIR="m4" eaclocal
 
+ 	_elibtoolize --copy --force
 
+ 	AT_M4DIR="m4" eaclocal
 
  	eautoconf
 
  }
 
  
sys-apps/acl/files/acl-2.2.29-nfs-glue.patch
Show inline comments
 
new file 100644
 
--- ../acl-2.2.29-CITI_NFS4_ALL-3.dif.orig	2006-09-23 11:34:45.000000000 -0400
 
+++ ../acl-2.2.29-CITI_NFS4_ALL-3.dif	2006-09-23 11:34:54.000000000 -0400
 
@@ -68,20 +68,6 @@
 
  
 
  default: $(CONFIGURE)
 
  ifeq ($(HAVE_BUILDDEFS), no)
 
-diff --git a/debian/changelog b/debian/changelog
 
-index 66e16b7..c431d66 100644
 
---- a/debian/changelog
 
-+++ b/debian/changelog
 
-@@ -1,3 +1,9 @@
 
-+acl (2.2.37.nfsv4-1) unstable; urgency=low
 
-+
 
-+  * Add support for NFSv4 ACLs
 
-+
 
-+ -- J. Bruce Fields <bfields@fieldses.org>  Tue,  9 May 2006 11:52:32 -0400
 
-+
 
- acl (2.2.37-1) unstable; urgency=low
 
- 
 
-   * New upstream release
 
 diff --git a/debian/control b/debian/control
 
 index 5ff00bc..1d0f356 100644
 
 --- a/debian/control
sys-apps/acl/files/acl-2.2.32-only-symlink-when-needed.patch
Show inline comments
 
new file 100644
 
We dont want to generate symlinks when the libdir is the same as the
 
devlibdir, otherwise we clobber the real files with broken symlinks
 

	
 
--- include/buildmacros
 
+++ include/buildmacros
 
@@ -102,9 +102,11 @@
 
 	../$(INSTALL) -m 644 $(LIBNAME).lai $(PKG_DEVLIB_DIR)/$(LIBNAME).la ; \
 
 	../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
 
 	../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \
 
+	if test "x$(PKG_DEVLIB_DIR)" != "x$(PKG_LIB_DIR)" ; then \
 
 	../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \
 
 	../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \
 
-	../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so
 
+	../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \
 
+	fi
 
 else
 
 INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC)
 
 endif
sys-apps/acl/files/acl-2.2.39-leave-las-to-libtool.patch
Show inline comments
 
new file 100644
 
Index: acl-2.2.39/m4/package_attrdev.m4
 
===================================================================
 
--- acl-2.2.39.orig/m4/package_attrdev.m4
 
+++ acl-2.2.39/m4/package_attrdev.m4
 
@@ -48,8 +48,6 @@ AC_DEFUN([AC_PACKAGE_NEED_GETXATTR_LIBAT
 
     libattr="-lattr"
 
     test -f `pwd`/../attr/libattr/libattr.la && \
 
         libattr="`pwd`/../attr/libattr/libattr.la"
 
-    test -f ${libexecdir}${libdirsuffix}/libattr.la && \
 
-	libattr="${libexecdir}${libdirsuffix}/libattr.la"
 
     AC_SUBST(libattr)
 
   ])
 
 
 
@@ -64,8 +62,6 @@ AC_DEFUN([AC_PACKAGE_NEED_ATTRGET_LIBATT
 
     libattr="-lattr"
 
     test -f `pwd`/../attr/libattr/libattr.la && \
 
         libattr="`pwd`/../attr/libattr/libattr.la"
 
-    test -f ${libexecdir}${libdirsuffix}/libattr.la && \
 
-	libattr="${libexecdir}${libdirsuffix}/libattr.la"
 
     AC_SUBST(libattr)
 
   ])
 
 
sys-apps/acl/files/acl-2.2.41-nfs-glue.patch
Show inline comments
 
new file 100644
 
--- acl-2.2.41-CITI_NFS4_ALL-3.dif
 
+++ acl-2.2.41-CITI_NFS4_ALL-3.dif
 
@@ -5,20 +5,6 @@
 
 	  ACLs.
 
 	- miscellaneous cleanup
 
 
 
-diff --git a/debian/changelog b/debian/changelog
 
-index 60ded06..089507e 100644
 
---- a/debian/changelog
 
-+++ b/debian/changelog
 
-@@ -1,3 +1,9 @@
 
-+acl (2.2.41.nfsv4-1) unstable; urgency=low
 
-+
 
-+  * Add support for NFSv4 ACLs
 
-+
 
-+ -- J. Bruce Fields <bfields@fieldses.org>  Fri, 02 Sep 2006 00:22:07 -0400
 
-+
 
- acl (2.2.41-1) unstable; urgency=low
 
- 
 
-   * New upstream release
 
 diff --git a/exports b/exports
 
 index 59c1311..2296b7d 100644
 
 --- a/exports
sys-apps/acl/files/acl-2.2.44-LDFLAGS.patch
Show inline comments
 
new file 100644
 
make sure the library link respects LDFLAGS
 

	
 
http://oss.sgi.com/bugzilla/show_bug.cgi?id=642
 

	
 
--- include/buildmacros
 
+++ include/buildmacros
 
@@ -10,6 +10,7 @@
 
 # during the "dist" phase (packaging).
 
 
 
 LDFLAGS += $(LOADERFLAGS) $(LLDFLAGS)
 
+LTLDFLAGS += $(LOADERFLAGS)
 
 LDLIBS = $(LLDLIBS) $(PLDLIBS) $(MALLOCLIB)
 
 
 
 MAKEOPTS = --no-print-directory
sys-apps/acl/files/attr-2.4.32-libtool.patch
Show inline comments
 
new file 100644
 
Index: attr-2.4.32/m4/package_utilies.m4
 
===================================================================
 
--- attr-2.4.32.orig/m4/package_utilies.m4
 
+++ attr-2.4.32/m4/package_utilies.m4
 
@@ -32,15 +32,7 @@ AC_DEFUN([AC_PACKAGE_UTILITIES],
 
     AC_SUBST(make)
 
     AC_PACKAGE_NEED_UTILITY($1, "$make", make, [GNU make])
 
 
 
-    if test -z "$LIBTOOL"; then
 
-	AC_PATH_PROG(LIBTOOL, glibtool,, /usr/bin)
 
-    fi
 
-    if test -z "$LIBTOOL"; then
 
-	AC_PATH_PROG(LIBTOOL, libtool,, /usr/bin:/usr/local/bin:/usr/freeware/bin)
 
-    fi
 
-    libtool=$LIBTOOL
 
-    AC_SUBST(libtool)
 
-    AC_PACKAGE_NEED_UTILITY($1, "$libtool", libtool, [GNU libtool])
 
+    AC_PROG_LIBTOOL
 
 
 
     if test -z "$TAR"; then
 
         AC_PATH_PROG(TAR, tar,, /usr/freeware/bin:/bin:/usr/local/bin:/usr/bin)
 
Index: attr-2.4.32/include/builddefs.in
 
===================================================================
 
--- attr-2.4.32.orig/include/builddefs.in
 
+++ attr-2.4.32/include/builddefs.in
 
@@ -17,6 +17,7 @@ LIBMISC = $(TOPDIR)/libmisc/libmisc.la
 
 
 
 prefix = @prefix@
 
 exec_prefix = @exec_prefix@
 
+top_builddir = @top_builddir@
 
 
 
 PKG_NAME	= @pkg_name@
 
 PKG_USER	= @pkg_user@
 
Index: attr-2.4.32/m4/package_globals.m4
 
===================================================================
 
--- attr-2.4.32.orig/m4/package_globals.m4
 
+++ attr-2.4.32/m4/package_globals.m4
 
@@ -8,6 +8,8 @@ AC_DEFUN([AC_PACKAGE_GLOBALS],
 
   [ pkg_name="$1"
 
     AC_SUBST(pkg_name)
 
 
 
+    AC_PROG_CC
 
+
 
     . ./VERSION
 
     pkg_version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION}
 
     AC_SUBST(pkg_version)
sys-apps/attr/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for sys-apps/attr
 
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.82 2007/06/13 23:34:07 vapier Exp $
 

	
 
  13 Jun 2007; Mike Frysinger <vapier@gentoo.org>
 
  +files/attr-2.4.38-LDFLAGS.patch, attr-2.4.38.ebuild:
 
  Respect LDFLAGS while linking the library.
 

	
 
*attr-2.4.38 (31 May 2007)
 

	
 
  31 May 2007; Mike Frysinger <vapier@gentoo.org> +attr-2.4.38.ebuild:
 
  Version bump.
 

	
 
  26 Mar 2007; Alec Warner <antarus@gentoo.org> attr-2.4.28-r1.ebuild,
 
  attr-2.4.32.ebuild:
 
  Remove dependency on portage: ref bug 162516
 

	
 
  31 Jan 2007; Tobias Scherbaum <dertobi123@gentoo.org> attr-2.4.32.ebuild:
 
  Stable on ppc wrt bug #161652.
 

	
 
  30 Jan 2007; Jeroen Roovers <jer@gentoo.org> attr-2.4.32.ebuild:
 
  Stable for HPPA (bug #161652).
 

	
 
  26 Jan 2007; Alexander H. Færøy <eroyf@gentoo.org> attr-2.4.32.ebuild:
 
  Stable on MIPS; bug #161652
 

	
 
  20 Jan 2007; Alexander H. Færøy <eroyf@gentoo.org> attr-2.4.32.ebuild:
 
  Stable on Alpha; bug #161652
 

	
 
  16 Jan 2007; Olivier Crête <tester@gentoo.org> attr-2.4.32.ebuild:
 
  Stable on amd64 per bug #161652
 

	
 
  12 Jan 2007; Markus Rothe <corsair@gentoo.org> attr-2.4.32.ebuild:
 
  Stable on ppc64; bug #161652
 

	
 
  12 Jan 2007; Christian Faulhammer <opfer@gentoo.org> attr-2.4.32.ebuild:
 
  stable x86, bug #161652
 

	
 
  12 Jan 2007; Gustavo Zacarias <gustavoz@gentoo.org> attr-2.4.32.ebuild:
 
  Stable on sparc wrt #161652
 

	
 
  27 Sep 2006; Fernando J. Pereda <ferdy@gentoo.org> attr-2.4.28-r1.ebuild:
 
  Stable on alpha as per bug #143411
 

	
 
  04 Sep 2006; Joshua Kinard <kumba@gentoo.org> attr-2.4.28-r1.ebuild:
 
  Marked stable on mips.
 

	
 
  18 Aug 2006; Luis Medinas <metalgod@gentoo.org> attr-2.4.28-r1.ebuild:
 
  Stable on amd64. Bug #143411.
 

	
 
  12 Aug 2006; Markus Rothe <corsair@gentoo.org> attr-2.4.28-r1.ebuild:
 
  Stable on ppc64; bug #143411
 

	
 
  11 Aug 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  attr-2.4.28-r1.ebuild:
 
  ppc stable, bug #143411
 

	
 
  11 Aug 2006; Gustavo Zacarias <gustavoz@gentoo.org> attr-2.4.28-r1.ebuild:
 
  Stable on sparc wrt #143411
 

	
 
  11 Aug 2006; Andrej Kacian <ticho@gentoo.org> attr-2.4.28-r1.ebuild:
 
  Stable on x86. Bug #143411.
 

	
 
*attr-2.4.32 (10 Aug 2006)
 

	
 
  10 Aug 2006; Mike Frysinger <vapier@gentoo.org> +attr-2.4.32.ebuild:
 
  Version bump.
 

	
 
  27 Apr 2006; Alec Warner <antarus@gentoo.org> Manifest:
 
  Fixing SHA256 digest, pass four
 

	
 
  20 Apr 2006; Mike Frysinger <vapier@gentoo.org>
 
  +files/attr-2.4.28-LDFLAGS.patch, attr-2.4.28-r1.ebuild:
 
  Respect user LDFLAGS #126825 by Diego Pettenò.
 

	
 
  01 Apr 2006; Mike Frysinger <vapier@gentoo.org>
 
  +files/attr-2.4.28-no-compress-docs.patch, attr-2.4.28-r1.ebuild:
 
  Dont compress CHANGES, let portage do it #127990 by Matteo Spreafico.
 

	
 
*attr-2.4.28-r1 (28 Mar 2006)
 

	
 
  28 Mar 2006; Mike Frysinger <vapier@gentoo.org>
 
  +files/attr-2.4.28-list-compat-segv.patch, +attr-2.4.28-r1.ebuild:
 
  Grab fix from upstream #127547 by TGL.
 

	
 
  19 Feb 2006; Joshua Kinard <kumba@gentoo.org> attr-2.4.24.ebuild:
 
  Marked stable on mips.
 

	
 
  29 Jan 2006; Simon Stelling <blubb@gentoo.org> attr-2.4.24.ebuild:
 
  stable on amd64
 

	
 
  28 Jan 2006; Mark Loeser <halcy0n@gentoo.org> attr-2.4.24.ebuild:
 
  Stable on x86; bug #120490
 

	
 
  28 Jan 2006; Markus Rothe <corsair@gentoo.org> attr-2.4.24.ebuild:
 
  Stable on ppc64; bug #120490
 

	
 
  27 Jan 2006; Gustavo Zacarias <gustavoz@gentoo.org> attr-2.4.24.ebuild:
 
  Stable on sparc wrt #120490
 

	
 
  27 Jan 2006; Luca Barbato <lu_zero@gentoo.org> attr-2.4.24.ebuild:
 
  Marked ppc
 

	
 
  27 Jan 2006; Aron Griffis <agriffis@gentoo.org> attr-2.4.24.ebuild:
 
  Mark 2.4.24 stable on alpha #120490
 

	
 
*attr-2.4.28 (27 Jan 2006)
 

	
 
  27 Jan 2006; Mike Frysinger <vapier@gentoo.org> +attr-2.4.28.ebuild:
 
  Version bump.
 

	
 
*attr-2.4.24 (29 Nov 2005)
 

	
 
  29 Nov 2005; Mike Frysinger <vapier@gentoo.org>
 
  +files/attr-2.4.24-only-symlink-when-needed.patch, +attr-2.4.24.ebuild:
 
  Version bump and build cleanup.
 

	
 
*attr-2.4.23 (02 Sep 2005)
 

	
 
  02 Sep 2005; Mike Frysinger <vapier@gentoo.org> +attr-2.4.23.ebuild:
 
  Version bump.
 

	
 
*attr-2.4.19-r1 (21 May 2005)
 

	
 
  21 May 2005; Mike Frysinger <vapier@gentoo.org>
 
  +files/attr-2.4.19-attr_copy_file-suppress-warning.patch,
 
  +attr-2.4.19-r1.ebuild:
 
  Tweak the warning message #93348 by Doug Goldstein.
 

	
 
  06 Feb 2005; Joshua Kinard <kumba@gentoo.org> attr-2.4.19.ebuild:
 
  Marked stable on mips.
 

	
 
  30 Dec 2004; Dylan Carlson <absinthe@gentoo.org> attr-2.4.19.ebuild:
 
  Fixed SRC_URI to close #76092.
 

	
 
  16 Dec 2004; Dylan Carlson <absinthe@gentoo.org> attr-2.4.19.ebuild:
 
  Stable on amd64.
 

	
 
  07 Dec 2004; Joseph Jezak <josejx@gentoo.org> attr-2.4.19.ebuild:
 
  Marked ppc stable for bug #73280.
 

	
 
  04 Dec 2004; Markus Rothe <corsair@gentoo.org> attr-2.4.19.ebuild:
 
  Stable on ppc64; bug #73279
 

	
 
  14 Nov 2004; Bryan Østergaard <kloeri@gentoo.org> attr-2.4.19.ebuild:
 
  Stable on alpha.
 

	
 
  12 Nov 2004; Gustavo Zacarias <gustavoz@gentoo.org> attr-2.4.19.ebuild:
 
  Stable on sparc
 

	
 
  12 Oct 2004; Gustavo Zacarias <gustavoz@gentoo.org> attr-2.4.16.ebuild:
 
  Stable on sparc
 

	
 
*attr-2.4.19 (09 Oct 2004)
 

	
 
  09 Oct 2004; Mike Frysinger <vapier@gentoo.org> attr-2.4.16.ebuild:
 
  Version bump.
 

	
 
  01 Sep 2004; Robin H. Johnson <robbat2@gentoo.org> attr-2.4.16.ebuild:
 
  One of the SRC_URI is bad.
 

	
 
*attr-2.4.16 (31 Aug 2004)
 

	
 
  31 Aug 2004; Robin H. Johnson <robbat2@gentoo.org> +attr-2.4.16.ebuild:
 
  Cleanup of XFS-related apps: dmapi, acl, xfsdump, attr.
 

	
 
  10 Aug 2004; Travis Tilley <lv@gentoo.org> attr-2.4.7-r1.ebuild,
 
  attr-2.4.8.ebuild:
 
  made attr ebuild lib64 aware
 

	
 
  02 Aug 2004; Jon Portnoy <avenj@gentoo.org> attr-2.4.7-r1.ebuild, 
 
  attr-2.4.8.ebuild :
 
  Quick description change to reflect the fact that this package is
 
  useful for filesystems other than XFS.
 

	
 
  01 Mar 2004; Tom Gall <tgall@gentoo.org> attr-2.4.7-r1.ebuild:
 
  stable on ppc64, unset PLATFORM as per bug #42937
 

	
 
  18 Jul 2004; Robin H. Johnson <robbat2@gentoo.org> attr-2.4.8.ebuild:
 
  stable on x86.
 

	
 
  25 Jun 2004; Aron Griffis <agriffis@gentoo.org> attr-2.4.8.ebuild:
 
  QA - fix use invocation
 

	
 
  15 Jun 2004; Martin Holzer <mholzer@gentoo.org> attr-2.4.7-r1.ebuild,
 
  attr-2.4.8.ebuild:
 
  removing gcc3 depend which breaks default-1.0 profile
 

	
 
  09 Jun 2004; Seemant Kulleen <seemant@gentoo.org> -attr-2.4.1.ebuild,
 
  attr-2.4.7-r1.ebuild, attr-2.4.8.ebuild:
 
  add libtool to DEPEND, closing bug #53030 by Stephen Ulmer <ulmer@ulmer.org>
 

	
 
  06 May 2004; Michael McCabe <randy@gentoo.org> attr-2.4.7-r1.ebuild:
 
  Unset platform variable for s390 to fix bug 50224
 

	
 
  17 Apr 2004; Travis Tilley <lv@gentoo.org> attr-2.4.7-r1.ebuild:
 
  marked stable on amd64
 

	
 
*attr-2.4.8 (27 Feb 2004)
 

	
 
  27 Feb 2004; Luca Barbato <lu_zero@gentoo.org> attr-2.4.7-r1.ebuild,
 
  attr-2.4.8.ebuild:
 
  Fixed a ppc issue unsetting the PLATFORM variable, solves bug #42937, version
 
  bump
 

	
 
  21 Feb 2004; Jason Wever <weeve@gentoo.org> attr-2.4.7-r1.ebuild:
 
  Changed sparc fix so now it's an actual fix rather than a workaround.
 

	
 
  10 Jan 2004; Aron Griffis <agriffis@gentoo.org> attr-2.4.7-r1.ebuild:
 
  stable on alpha
 

	
 
  28 Dec 2003; Joshua Kinard <kumba@gentoo.org> attr-2.4.7-r1.ebuild:
 
  Move to mips stable (~mips -> mips)
 

	
 
  09 Dec 2003; Seemant Kulleen <seemant@gentoo.org> attr-2.2.0.ebuild,
 
  attr-2.4.1.ebuild, attr-2.4.7-r1.ebuild, files/attr-no-man2pages.patch:
 
  Since the man-pages package provides much more extensive documentation in man2
 
  for this, the man2 manpages will not be generated in attr
 

	
 
  05 Dec 2003; Jason Wever <weeve@gentoo.org> attr-2.4.7-r1.ebuild:
 
  Marked stable on sparc because of acl dependency borkage.
 

	
 
  28 Nov 2003; Jason Wever <weeve@gentoo.org> attr-2.4.7-r1.ebuild:
 
  Added a fix for sparcs so attr will build. Not that we can use XFS yet, but
 
  acl wants it.
 

	
 
  22 Oct 2003; Bartosch Pixa <darkspecter@gentoo.org> attr-2.4.7-r1.ebuild:
 
  set ppc in keywords
 

	
 
  24 Sep 2003; Robin H. Johnson <robbat2@gentoo.org> attr-2.4.1.ebuild,
 
  attr-2.4.7-r1.ebuild:
 
  bump 2.4.1 to x86/mips, bump 2.4.7-r1 to x86
 

	
 
*attr-2.4.7-r1 (28 Aug 2003)
 

	
 
  28 Aug 2003; Robin H. Johnson <robbat2@gentoo.org> attr-2.4.7-r1.ebuild:
 
  migrate binaries and shared library to / filesystem for use when /usr is not
 
  available, as per bug #27064
 

	
 
*attr-2.4.7 (11 Aug 2003)
 

	
 
  11 Aug 2003; Robin H. Johnson <robbat2@gentoo.org> attr-2.4.7.ebuild:
 
  update to new version, doing nls properly, as well as proper debug support (we
 
  built debug code in before anyway!) and require gcc3 as the source is
 
  incompatible with gcc2. fixes bug #21347
 

	
 
  30 Jun 2003; Bartosch Pixa <darkspecter@gentoo.org> attr-2.4.1.ebuild:
 
  set ppc in keywords
 

	
 
*attr-2.4.1 (13 Apr 2003)
 

	
 
  13 Apr 2003; Seemant Kulleen <seemant@gentoo.org> Manifest,
 
  attr-2.4.1.ebuild:
 
  another version bump -- it's a snapshot that SuSE talk from xfs upstream
 

	
 
*attr-2.2.0 (13 Apr 2003)
 

	
 
  13 Apr 2003; Seemant Kulleen <seemant@gentoo.org> attr-2.2.0.ebuild:
 
  fixed ebuild so patch doesn't fail
 

	
 
  13 Apr 2003; Seemant Kulleen <seemant@gentoo.org> Manifest,
 
  attr-2.2.0.ebuild:
 
  version bump. The gettext patch in FILESDIR is to disable the "compulsory"
 
  gettext dependency.
 

	
 
  21 Dec 2002; Daniel Robbins <drobbins@gentoo.org>: 20020330 ->
 
  2.0.5_p20020330 version rename to fix policy violation for naming of CVS
 
  ebuilds.
 

	
 
*attr-2.1.1-r1 (16 Dec 2002)
 

	
 
  24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> attr-2.1.1-r1.ebuild :
 
  Marked as testing for mips.  Made ChangeLog compatible with echangelog.
 

	
 
  16 Dec 2002; Brad Cowan <bcowan@gentoo.org> attr-2.1.1-r1.ebuild,
 
  files/digest-attr-2.1.1-r1:
 
  
 
  Changed symlinks.
 

	
 
*attr-2.1.1 (09 Dec 2002)
 

	
 
  09 Dec 2002; Donny Davies <woodchip@gentoo.org> : Chase latest release.
 

	
 
  06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
 
 
 
*attr-2.0.9 (27 Sep 2002)
 

	
 
  27 Sep 2002; Brad Cowan <bcowan@gentoo.org> attr-2.0.9.ebuild
 
  files/digest-attr-2.0.9 : version bump thanks to <hanno@gentoo.org>
 

	
 
  05 Oct 2002; Brad Cowan <bcowan@gentoo.org> attr-2.0.9.ebuild :  
 
  Fixed symlinks and "modernized" ebuild.
 

	
 
*attr-20020330 (14 July 2002)
 

	
 
  21 Jul 2002; Mark Guertin <gerk@gentoo.org>:
 
  updated keywords (ppc)
 

	
 
  14 Jul 2002; phoen][x <phoenix@gentoo.org> attr-20020330.ebuild :
 
  Added KEYWORDS, SLOT.
 

	
 
*attr-1.1.3-r1 (14 July 2002)
 

	
 
  14 Jul 2002; phoen][x <phoenix@gentoo.org> attr-1.1.3.ebuild :
 
  Added KEYWORDS, SLOT.
 

	
 
  14 Jul 2002; phoen][x <phoenix@gentoo.org> attr-1.1.3-r1.ebuild :
 
  Added KEYWORDS, SLOT.
 

	
 
*attr-20020124 (1 Feb 2002)
 

	
 
  14 Jul 2002; phoen][x <phoenix@gentoo.org> attr-20020124.ebuild :
 
  Added KEYWORDS, SLOT.
 

	
 
  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.
sys-apps/attr/Manifest
Show inline comments
 
new file 100644
 
AUX attr-2.4.24-only-symlink-when-needed.patch 836 RMD160 5b36f392f12d2382dd051c9766ae128a71b659ec SHA1 79fefd16a84e51797165fc8438382382156a149b SHA256 fede0dc42499b8903e42ea976d2ebfe8965750a8b2b116433364e657fbc8189d
 
AUX attr-2.4.28-no-compress-docs.patch 576 RMD160 a46862403e55c22744bce8624896a38d62510186 SHA1 57cd70844461b8864a3e4aa770d8b7fa80a31ae3 SHA256 3e725b929c6aba571615ba7b8eb0a1c5452a0a3de99ea1bdef9dee6a13328064
 
AUX attr-2.4.32-libtool.patch 1551 RMD160 136086d7bc55359bc706a24c50db9f50d52992b5 SHA1 42196df91fd04182efd6d5d4be38aa5d5270c487 SHA256 083c536a961ec34eafd13330326a347a9eda77513ab967ec2571c5c3f741ea25
 
AUX attr-2.4.38-LDFLAGS.patch 350 RMD160 c2ce51a7041266d3693f0c9d9ad4104695d7ba4b SHA1 e4b73214d66485d4072af97b6746cd60f7ba24cf SHA256 3f22d171d3da057e7a5edc94955e4702f1a3d83eaa93e7740685022ea3fe3314
 
DIST attr_2.4.32-1.tar.gz 80646 RMD160 b1e8c3f845bdf75106d61ca8e2bb9aa6c9690af5 SHA1 416f3ce20531d3fbff40a8401487d66db4f7c194 SHA256 397f565e427e9237537d10345a3b1b09a5f988c4b4035e3bfc1ff5260f20a11d
 
DIST attr_2.4.38-1.tar.gz 113241 RMD160 aed10803429b33df6d6c95ebc31f3b0c426ac092 SHA1 64bb56dd8b761f8fdeb226ad2a739b45c4c0f0b4 SHA256 ac135e91a7c5b7c04a276fda57f34123a76d044cf7ab61e45404f57c24afcc2a
 
EBUILD attr-2.4.32.ebuild 1650 RMD160 476cfadd50d7f5a2c4b756f0656edb40cfec8b14 SHA1 e1ac2df9fe44f96243acc49d13e1dfc5bd098358 SHA256 306063fea7761c6d6ee99f755f49fddfae32049bef1287bf1897d34c8a0c8831
 
EBUILD attr-2.4.38.ebuild 1523 RMD160 9335197fa95ab1447f6e04e5ee293ebfbce3cabe SHA1 565b3b4270db4f7c3dc55d72584268f542b49398 SHA256 0bdc32bbe8f74cb75c043c5fdc163e1449c93e4792bf1547b095ffbd96974edd
 
MISC ChangeLog 10953 RMD160 6977d989fc2220ebe99c3381d89e8943a79a97b7 SHA1 f8bc4c10ef73a874f3343c48957cf7b9ab874b65 SHA256 1070f56d77b24d167cc183c75b1bd8164d7c233ae1c99afe968bba50bde97089
 
MISC attr-2.4.32.ebuild.orig 1521 RMD160 01b75583036416d63c867ea65b86eda099c8eaa3 SHA1 fa04a815a40594246d88fdb125193e2a84cb5337 SHA256 35e6782613f613c828c758154b985d3753e5c80799d78cc2b2350a0b51102dd7
 
MISC attr-2.4.32.ebuild.rej 1046 RMD160 8f00813a919f79094c61323fcd501a8486716046 SHA1 d68c8af35cba2eeb9d0d71b74b6c088f306b87a3 SHA256 dc93d1d966e89171e6b87b3022dfcc4d9690cdafeb525b71bc3885d6d4cd8069
 
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
sys-apps/attr/attr-2.4.32.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/attr-2.4.32.ebuild,v 1.13 2007/03/26 08:00:17 antarus Exp $
 

	
 
WANT_AUTOCONF="latest"
 
WANT_AUTOMAKE="latest"
 

	
 
inherit eutils autotools toolchain-funcs
 

	
 
MY_P="${PN}_${PV}-1"
 
DESCRIPTION="Extended attributes tools"
 
HOMEPAGE="http://oss.sgi.com/projects/xfs/"
 
SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${MY_P}.tar.gz
 
	ftp://xfs.org/mirror/SGI/cmd_tars/${MY_P}.tar.gz"
 

	
 
LICENSE="LGPL-2.1"
 
SLOT="0"
 
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
 
IUSE="nls"
 

	
 
DEPEND=">=sys-apps/portage-2.0.47-r10
 
	nls? ( sys-devel/gettext )"
 
	#sys-devel/autoconf"
 
RDEPEND=""
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 
	epatch "${FILESDIR}"/${PN}-2.4.24-only-symlink-when-needed.patch
 
	epatch "${FILESDIR}"/${PN}-2.4.28-no-compress-docs.patch
 
	epatch "${FILESDIR}"/${PN}-2.4.32-libtool.patch
 
	sed -i \
 
		-e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
 
		-e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
 
		include/builddefs.in \
 
		|| die "failed to update builddefs"
 
	eautoconf
 
}
 

	
 
src_compile() {
 
	export OPTIMIZER=${CFLAGS}
 
	export DEBUG=-DNDEBUG
 

	
 
	econf \
 
		$(use_enable nls gettext) \
 
		--libexecdir=/usr/$(get_libdir) \
 
		--bindir=/bin \
 
		|| die
 
	emake || die
 
}
 

	
 
src_install() {
 
	emake DIST_ROOT="${D}" install install-lib install-dev || die
 
	# the man-pages packages provides the man2 files
 
	rm -r "${D}"/usr/share/man/man2
 
	prepalldocs
 

	
 
	# move shared libs to /
 
	dodir /$(get_libdir)
 
	mv "${D}"/usr/$(get_libdir)/libattr.so* "${D}"/$(get_libdir)/ || die
 
	gen_usr_ldscript libattr.so
 
}
sys-apps/attr/attr-2.4.32.ebuild.orig
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/attr-2.4.32.ebuild,v 1.13 2007/03/26 08:00:17 antarus Exp $
 

	
 
inherit eutils autotools toolchain-funcs
 

	
 
MY_P="${PN}_${PV}-1"
 
DESCRIPTION="Extended attributes tools"
 
HOMEPAGE="http://oss.sgi.com/projects/xfs/"
 
SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${MY_P}.tar.gz
 
	ftp://xfs.org/mirror/SGI/cmd_tars/${MY_P}.tar.gz"
 

	
 
LICENSE="LGPL-2.1"
 
SLOT="0"
 
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
 
IUSE="nls"
 

	
 
DEPEND="nls? ( sys-devel/gettext )
 
	sys-devel/autoconf"
 
RDEPEND=""
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 
	epatch "${FILESDIR}"/${PN}-2.4.24-only-symlink-when-needed.patch
 
	epatch "${FILESDIR}"/${PN}-2.4.28-no-compress-docs.patch
 
	sed -i \
 
		-e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
 
		-e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
 
		include/builddefs.in \
 
		|| die "failed to update builddefs"
 
	eautoconf
 
}
 

	
 
src_compile() {
 
	export OPTIMIZER=${CFLAGS}
 
	export DEBUG=-DNDEBUG
 

	
 
	econf \
 
		$(use_enable nls gettext) \
 
		--libexecdir=/usr/$(get_libdir) \
 
		--bindir=/bin \
 
		|| die
 
	emake || die
 
}
 

	
 
src_install() {
 
	emake DIST_ROOT="${D}" install install-lib install-dev || die
 
	# the man-pages packages provides the man2 files
 
	rm -r "${D}"/usr/share/man/man2
 
	prepalldocs
 

	
 
	# move shared libs to /
 
	dodir /$(get_libdir)
 
	mv "${D}"/usr/$(get_libdir)/libattr.so* "${D}"/$(get_libdir)/ || die
 
	gen_usr_ldscript libattr.so
 
}
sys-apps/attr/attr-2.4.32.ebuild.rej
Show inline comments
 
new file 100644
 
***************
 
*** 16,23 ****
 
  IUSE="nls"
 
  
 
  DEPEND=">=sys-apps/portage-2.0.47-r10
 
- 	nls? ( sys-devel/gettext )
 
- 	sys-devel/autoconf"
 
  RDEPEND=""
 
  
 
  src_unpack() {
 
--- 19,25 ----
 
  IUSE="nls"
 
  
 
  DEPEND=">=sys-apps/portage-2.0.47-r10
 
+ 	nls? ( sys-devel/gettext )"
 
  RDEPEND=""
 
  
 
  src_unpack() {
 
***************
 
*** 25,34 ****
 
  	cd "${S}"
 
  	epatch "${FILESDIR}"/${PN}-2.4.24-only-symlink-when-needed.patch
 
  	epatch "${FILESDIR}"/${PN}-2.4.28-no-compress-docs.patch
 
  	sed -i \
 
  		-e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
 
  		include/builddefs.in \
 
  		|| die "failed to update builddefs"
 
  	eautoconf
 
  }
 
  
 
--- 27,41 ----
 
  	cd "${S}"
 
  	epatch "${FILESDIR}"/${PN}-2.4.24-only-symlink-when-needed.patch
 
  	epatch "${FILESDIR}"/${PN}-2.4.28-no-compress-docs.patch
 
+ 	epatch "${FILESDIR}"/${PN}-2.4.32-libtool.patch
 
  	sed -i \
 
  		-e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
 
  		include/builddefs.in \
 
  		|| die "failed to update builddefs"
 
+ 
 
+ 	AT_M4DIR="m4" eaclocal
 
+ 	_elibtoolize
 
+ 	AT_M4DIR="m4" eaclocal
 
  	eautoconf
 
  }
 
  
sys-apps/attr/attr-2.4.38.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/attr-2.4.38.ebuild,v 1.2 2007/06/13 23:34:07 vapier Exp $
 

	
 
inherit eutils autotools toolchain-funcs
 

	
 
MY_P="${PN}_${PV}-1"
 
DESCRIPTION="Extended attributes tools"
 
HOMEPAGE="http://oss.sgi.com/projects/xfs/"
 
SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${MY_P}.tar.gz
 
	ftp://xfs.org/mirror/SGI/cmd_tars/${MY_P}.tar.gz"
 

	
 
LICENSE="LGPL-2.1"
 
SLOT="0"
 
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
 
IUSE="nls"
 

	
 
DEPEND="nls? ( sys-devel/gettext )
 
	sys-devel/autoconf"
 
RDEPEND=""
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 
	epatch "${FILESDIR}"/${PN}-2.4.24-only-symlink-when-needed.patch
 
	epatch "${FILESDIR}"/${PN}-2.4.38-LDFLAGS.patch
 
	sed -i \
 
		-e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
 
		-e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
 
		include/builddefs.in \
 
		|| die "failed to update builddefs"
 
	eautoconf
 
}
 

	
 
src_compile() {
 
	export OPTIMIZER=${CFLAGS}
 
	export DEBUG=-DNDEBUG
 

	
 
	econf \
 
		$(use_enable nls gettext) \
 
		--libexecdir=/usr/$(get_libdir) \
 
		--bindir=/bin \
 
		|| die
 
	emake || die
 
}
 

	
 
src_install() {
 
	emake DIST_ROOT="${D}" install install-lib install-dev || die
 
	# the man-pages packages provides the man2 files
 
	rm -r "${D}"/usr/share/man/man2
 
	prepalldocs
 

	
 
	# move shared libs to /
 
	dodir /$(get_libdir)
 
	mv "${D}"/usr/$(get_libdir)/libattr.so* "${D}"/$(get_libdir)/ || die
 
	gen_usr_ldscript libattr.so
 
}
sys-apps/attr/files/attr-2.4.24-only-symlink-when-needed.patch
Show inline comments
 
new file 100644
 
We dont want to generate symlinks when the libdir is the same as the
 
devlibdir, otherwise we clobber the real files with broken symlinks
 

	
 
--- include/buildmacros
 
+++ include/buildmacros
 
@@ -102,9 +102,11 @@
 
 	../$(INSTALL) -m 644 $(LIBNAME).lai $(PKG_DEVLIB_DIR)/$(LIBNAME).la ; \
 
 	../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
 
 	../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \
 
+	if test "x$(PKG_DEVLIB_DIR)" != "x$(PKG_LIB_DIR)" ; then \
 
 	../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \
 
 	../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \
 
-	../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so
 
+	../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \
 
+	fi
 
 else
 
 INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC)
 
 endif
sys-apps/attr/files/attr-2.4.28-no-compress-docs.patch
Show inline comments
 
new file 100644
 
let portage compress CHANGES
 

	
 
--- doc/Makefile
 
+++ doc/Makefile
 
@@ -10,18 +10,15 @@
 
 LSRCFILES = INSTALL PORTING CHANGES COPYING
 
 LDIRT = *.gz
 
 
 
-default: $(SUBDIRS) CHANGES.gz
 
+default: $(SUBDIRS)
 
 	$(SUBDIRS_MAKERULE)
 
 
 
 include $(BUILDRULES)
 
 
 
-CHANGES.gz:
 
-	$(ZIP) --best -c < CHANGES > $@
 
-
 
 install: default
 
 	$(SUBDIRS_MAKERULE)
 
 	$(INSTALL) -m 755 -d $(PKG_DOC_DIR)
 
-	$(INSTALL) -m 644 PORTING CHANGES.gz $(PKG_DOC_DIR)
 
+	$(INSTALL) -m 644 PORTING CHANGES $(PKG_DOC_DIR)
 
 ifeq ($(PKG_DISTRIBUTION), debian)
 
 	$(INSTALL) -S CHANGES.gz $(PKG_DOC_DIR)/changelog.gz
 
 else
sys-apps/attr/files/attr-2.4.32-libtool.patch
Show inline comments
 
new file 100644
 
Index: attr-2.4.32/m4/package_utilies.m4
 
===================================================================
 
--- attr-2.4.32.orig/m4/package_utilies.m4
 
+++ attr-2.4.32/m4/package_utilies.m4
 
@@ -32,15 +32,7 @@ AC_DEFUN([AC_PACKAGE_UTILITIES],
 
     AC_SUBST(make)
 
     AC_PACKAGE_NEED_UTILITY($1, "$make", make, [GNU make])
 
 
 
-    if test -z "$LIBTOOL"; then
 
-	AC_PATH_PROG(LIBTOOL, glibtool,, /usr/bin)
 
-    fi
 
-    if test -z "$LIBTOOL"; then
 
-	AC_PATH_PROG(LIBTOOL, libtool,, /usr/bin:/usr/local/bin:/usr/freeware/bin)
 
-    fi
 
-    libtool=$LIBTOOL
 
-    AC_SUBST(libtool)
 
-    AC_PACKAGE_NEED_UTILITY($1, "$libtool", libtool, [GNU libtool])
 
+    AC_PROG_LIBTOOL
 
 
 
     if test -z "$TAR"; then
 
         AC_PATH_PROG(TAR, tar,, /usr/freeware/bin:/bin:/usr/local/bin:/usr/bin)
 
Index: attr-2.4.32/include/builddefs.in
 
===================================================================
 
--- attr-2.4.32.orig/include/builddefs.in
 
+++ attr-2.4.32/include/builddefs.in
 
@@ -17,6 +17,7 @@ LIBMISC = $(TOPDIR)/libmisc/libmisc.la
 
 
 
 prefix = @prefix@
 
 exec_prefix = @exec_prefix@
 
+top_builddir = @top_builddir@
 
 
 
 PKG_NAME	= @pkg_name@
 
 PKG_USER	= @pkg_user@
 
Index: attr-2.4.32/m4/package_globals.m4
 
===================================================================
 
--- attr-2.4.32.orig/m4/package_globals.m4
 
+++ attr-2.4.32/m4/package_globals.m4
 
@@ -8,6 +8,8 @@ AC_DEFUN([AC_PACKAGE_GLOBALS],
 
   [ pkg_name="$1"
 
     AC_SUBST(pkg_name)
 
 
 
+    AC_PROG_CC
 
+
 
     . ./VERSION
 
     pkg_version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION}
 
     AC_SUBST(pkg_version)
sys-apps/attr/files/attr-2.4.38-LDFLAGS.patch
Show inline comments
 
new file 100644
 
make sure the library link respects LDFLAGS
 

	
 
http://oss.sgi.com/bugzilla/show_bug.cgi?id=642
 

	
 
--- include/buildmacros
 
+++ include/buildmacros
 
@@ -10,6 +10,7 @@
 
 # during the "dist" phase (packaging).
 
 
 
 LDFLAGS += $(LOADERFLAGS) $(LLDFLAGS)
 
+LTLDFLAGS += $(LOADERFLAGS)
 
 LDLIBS = $(LLDLIBS) $(PLDLIBS) $(MALLOCLIB)
 
 
 
 MAKEOPTS = --no-print-directory
sys-apps/attr/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>base-system</herd>
 
</pkgmetadata>
sys-apps/baselayout/Manifest
Show inline comments
 
new file 100644
 
AUX baselayout-2.0.0-catalyst-noproc.patch 967 RMD160 58ef133fcae81d8b8b955daa3aaa516ed7944695 SHA1 09d37ded992dba47c51914ccf8fbc144630c71ee SHA256 917ab46fb977ca0ffd47b27ae82e7332a8c43d6726872fee565321888d587c77
 
DIST baselayout-2.0.0.tar.bz2 23073 RMD160 0ce706d975635dfd3901b2065677013f35f80082 SHA1 5eb389b4ad9be5fa170df243d07b9140de1c8224 SHA256 e976ce2f37f0ee79e7c65eb77e3331d8a369ca5d74003f886c3594c206ce6ca9
 
EBUILD baselayout-2.0.0.ebuild 7704 RMD160 ae987b64d1b0f6f30f025cfcfcbc5c0638bc95ed SHA1 e20b35a928aa03b873be3cae37350b3feae78fb1 SHA256 4e83242838055d3e73262499dd1646107d9f2b21ce7049bc20b4b75998f2d17f
sys-apps/baselayout/baselayout-2.0.0.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-2.0.0.ebuild,v 1.7 2008/08/19 17:51:19 zmedico Exp $
 

	
 
inherit multilib eutils
 
DESCRIPTION="Filesystem baselayout and init scripts"
 
HOMEPAGE="http://www.gentoo.org/"
 
SRC_URI="mirror://gentoo/${P}.tar.bz2
 
	http://dev.gentoo.org/~vapier/dist/${P}.tar.bz2"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
 
IUSE="build"
 

	
 
PDEPEND="sys-apps/openrc"
 

	
 
src_unpack(){
 
	   unpack ${A}
 
	   cd "${S}"
 
	   if use build; then
 
			   epatch "${FILESDIR}/${P}-catalyst-noproc.patch" || die "patching for compatibility with catalyst failed"
 
			   #einfo "sedding the Makefile";
 
			   #sed -e's:/proc::' Makefile || die "error sedding Makefile"
 
			   #sed -e's:/boot /home /mnt /root /proc /etc/profile.d:/boot /home /mnt /root /etc/profile.d:' Makefile
 
			   #sed -e's:/boot /home /mnt /root /proc /etc/profile.d:/boot /home /mnt /root /etc/profile.d:' Makefile
 
	   fi
 
}
 

	
 

	
 
pkg_preinst() {
 
	# Bug #217848 - Since the remap_dns_vars() called by pkg_preinst() of
 
	# the baselayout-1.x ebuild copies all the real configs from the user's
 
	# /etc/conf.d into ${D}, it makes them all appear to be the default
 
	# versions. In order to protect them from being unmerged after this
 
	# upgrade, modify their timestamps.
 
	touch "${ROOT}"/etc/conf.d/* 2>/dev/null
 

	
 
	# We need to install directories and maybe some dev nodes when building
 
	# stages, but they cannot be in CONTENTS.
 
	# Also, we cannot reference $S as binpkg will break so we do this.
 
	if use build ; then
 
		local libdirs="$(get_all_libdirs)" dir=
 
		# Create our multilib dirs - the Makefile has no knowledge of this
 
		: ${libdirs:=lib}	# it isn't that we don't trust multilib.eclass...
 
		for dir in ${libdirs}; do
 
			mkdir -p "${ROOT}${dir}"
 
			touch "${ROOT}${dir}"/.keep
 
			mkdir -p "${ROOT}usr/${dir}"
 
			touch "${ROOT}usr/${dir}"/.keep
 
			mkdir -p "${ROOT}usr/local/${dir}"
 
			touch "${ROOT}usr/local/${dir}"/.keep
 
		done
 

	
 
		# Create symlinks for /lib, /usr/lib, and /usr/local/lib and
 
		# merge contents of duplicate directories if necessary.
 
		# Only do this when $ROOT != / since it should only be necessary
 
		# when merging to an empty $ROOT, and it's not very safe to perform
 
		# this operation when $ROOT = /.
 
		if [ "${SYMLINK_LIB}" = yes ] && [ "$ROOT" != / ] ; then
 
			local prefix libabi=$(get_abi_LIBDIR $DEFAULT_ABI)
 
			for prefix in "$ROOT"{,usr/,usr/local/} ; do
 

	
 
				[ ! -d "${prefix}lib" ] && rm -f "${prefix}lib" && \
 
					mkdir -p "${prefix}lib"
 

	
 
				[ ! -d "$prefix$libabi" ] && ln -sf "${prefix}lib"
 

	
 
				[ -h "$prefix$libabi" ] && [ -d "${prefix}lib" ] && \
 
					[ "$prefix$libabi" -ef "${prefix}lib" ] && continue
 

	
 
				local destdir=$prefix$libabi/ srcdir=${prefix}lib/
 

	
 
				[ -d "$destdir" ] || die "unable to create '$destdir'"
 
				[ -d "$srcdir" ] || die "unable to create $srcdir"
 

	
 
				mv -f "$srcdir".keep "$destdir".keep 2>/dev/null
 
				if ! rmdir "$srcdir" 2>/dev/null ; then
 
					ewarn "merging contents of '$srcdir' into '$destdir':"
 

	
 
					# Move directories if the dest doesn't exist.
 
					find "$srcdir" -type d -print0 | \
 
					while read -d $'\0' src ; do
 

	
 
						# If a parent directory of $src has already
 
						# been merged then it will no longer exist.
 
						[ -d "$src" ] || continue
 

	
 
						dest=$destdir${src#${srcdir}}
 
						if [ ! -d "$dest" ] ; then
 
							if [ -e "$dest" ] ; then
 
								ewarn "  not overwriting file '$dest'" \
 
									"with directory '$src'"
 
								continue
 
							fi
 
							mv -f "$src" "$dest" && \
 
								ewarn "  /${src#${ROOT}} merged" || \
 
								ewarn "  /${src#${ROOT}} not merged"
 
						fi
 
					done
 

	
 
					# Move non-directories.
 
					find "$srcdir" ! -type d -print0 | \
 
					while read -d $'\0' src ; do
 
						dest=$destdir${src#${srcdir}}
 
						if [ -e "$dest" ] ; then
 
							if [ -d "$dest" ] ; then
 
								ewarn "  not overwriting directory '$dest'" \
 
									"with file '$src'"
 
							else
 
								if [ -f "$src" -a ! -s "$src" ] && \
 
									[ -f "$dest" -a ! -s "$dest" ] ; then
 
									# Ignore empty files such as '.keep'.
 
									true
 
								else
 
									ewarn "  not overwriting file '$dest'" \
 
										"with file '$src'"
 
								fi
 
							fi
 
							continue
 
						fi
 

	
 
						mv -f "$src" "$dest" && \
 
							ewarn "  /${src#${ROOT}} merged" || \
 
							ewarn "  /${src#${ROOT}} not merged"
 
					done
 
				fi
 

	
 
				rm -rf "${prefix}lib" || \
 
					die "unable to remove '${prefix}lib'"
 

	
 
				ln -s "$libabi" "${prefix}lib" || \
 
					die "unable to create '${prefix}lib' symlink"
 
			done
 
		fi
 

	
 
		emake -C "${D}/usr/share/${PN}" DESTDIR="${ROOT}" layout || die "failed to layout filesystem"
 
	fi
 
	rm -f "${D}"/usr/share/${PN}/Makefile
 
}
 

	
 
src_install() {
 
	local libdir="lib"
 
	[[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}")
 

	
 
	emake \
 
		OS=$(use kernel_FreeBSD && echo BSD || echo Linux) \
 
		LIB=${libdir} \
 
		DESTDIR="${D}" \
 
		install || die
 
	dodoc ChangeLog
 

	
 
	# need the makefile in pkg_preinst
 
	insinto /usr/share/${PN}
 
	doins Makefile || die
 

	
 
	# Should this belong in another ebuild? Like say binutils?
 
	# List all the multilib libdirs in /etc/env/04multilib (only if they're
 
	# actually different from the normal
 
	if has_multilib_profile || [ $(get_libdir) != "lib" -o -n "${CONF_MULTILIBDIR}" ]; then
 
		local libdirs="$(get_all_libdirs)" libdirs_env= dir=
 
		: ${libdirs:=lib}	# it isn't that we don't trust multilib.eclass...
 
		for dir in ${libdirs}; do
 
			libdirs_env=${libdirs_env:+$libdirs_env:}/${dir}:/usr/${dir}:/usr/local/${dir}
 
		done
 

	
 
		# Special-case uglyness... For people updating from lib32 -> lib amd64
 
		# profiles, keep lib32 in the search path while it's around
 
		if has_multilib_profile && [ -d "${ROOT}"lib32 -o -d "${ROOT}"lib32 ] && ! hasq lib32 ${libdirs}; then
 
			libdirs_env="${libdirs_env}:/lib32:/usr/lib32:/usr/local/lib32"
 
		fi
 
		echo "LDPATH=\"${libdirs_env}\"" > "${T}"/04multilib
 
		doenvd "${T}"/04multilib
 
	fi
 

	
 
	# rc-scripts version for testing of features that *should* be present
 
	echo "Gentoo Base System release ${PV}" > "${D}"/etc/gentoo-release
 
}
 

	
 
pkg_postinst() {
 
	# We installed some files to /usr/share/baselayout instead of /etc to stop
 
	# (1) overwriting the user's settings
 
	# (2) screwing things up when attempting to merge files
 
	# (3) accidentally packaging up personal files with quickpkg
 
	# If they don't exist then we install them
 
	for x in master.passwd passwd shadow group fstab ; do
 
		[ -e "${ROOT}etc/${x}" ] && continue
 
		[ -e "${ROOT}usr/share/baselayout/${x}" ] || continue
 
		cp -p "${ROOT}usr/share/baselayout/${x}" "${ROOT}"etc
 
	done
 

	
 
	# This is also written in src_install (so it's in CONTENTS), but
 
	# write it here so that the new version is immediately in the file
 
	# (without waiting for the user to do etc-update)
 
	rm -f "${ROOT}"/etc/._cfg????_gentoo-release
 
	local release="${PV}"
 
	[ "${PR}" != r0 ] && release="${release}-${PR}"
 
	echo "Gentoo Base System release ${release}" > "${ROOT}"/etc/gentoo-release
 

	
 
	# whine about users that lack passwords #193541
 
	if [[ -e ${ROOT}/etc/shadow ]] ; then
 
		local bad_users=$(sed -n '/^[^:]*::/s|^\([^:]*\)::.*|\1|p' "${ROOT}"/etc/shadow)
 
		if [[ -n ${bad_users} ]] ; then
 
			echo
 
			ewarn "The following users lack passwords!"
 
			ewarn ${bad_users}
 
		fi
 
	fi
 

	
 
	# whine about users with invalid shells #215698
 
	if [[ -e ${ROOT}/etc/passwd ]] ; then
 
		local bad_shells=$(awk -F: 'system("test -e " $7) { print $1 " - " $7}' /etc/passwd | sort)
 
		if [[ -n ${bad_shells} ]] ; then
 
			echo
 
			ewarn "The following users have non-existent shells!"
 
			ewarn "${bad_shells}"
 
		fi
 
	fi
 
}
sys-apps/baselayout/files/baselayout-2.0.0-catalyst-noproc.patch
Show inline comments
 
new file 100644
 
diff -c /mnt/bacup/portagetmp/portage/sys-apps/baselayout-2.0.0/work/baselayout-2.0.0/Makefile /tmp/buffer-content-532WZC
 
--- baselayout-2.0.0/Makefile	2008-03-22 21:40:55.000000000 -0400
 
+++ /tmp/buffer-content-532WZC	2008-10-18 11:36:17.000000000 -0400
 
@@ -26,7 +26,7 @@
 
 
 
 KEEP_DIRS-Linux += /dev /sys
 
 KEEP_DIRS = $(KEEP_DIRS-$(OS)) \
 
-	/boot /home /mnt /root /proc /etc/profile.d \
 
+	/boot /home /mnt /root /etc/profile.d \
 
 	/usr/local/bin /usr/local/sbin /usr/local/share/doc /usr/local/share/man \
 
 	/var/lock /var/run /var/empty
 
 
 
@@ -37,8 +37,10 @@
 
 install:
 
 	# These dirs may not exist from prior versions
 
 	for x in $(BASE_DIRS) ; do \
 
-		$(INSTALL_DIR) $(DESTDIR)$$x || exit $$? ; \
 
-		touch $(DESTDIR)$$x/.keep || exit $$? ; \
 
+		if test "x$$x" != "x/proc" ; then \
 
+			$(INSTALL_DIR) $(DESTDIR)$$x || exit $$? ; \
 
+			touch $(DESTDIR)$$x/.keep || exit $$? ; \
 
+		fi \
 
 	done
 
 
 
 	$(INSTALL_DIR) $(DESTDIR)/etc
 

	
 
Diff finished.  Sat Oct 18 11:36:18 2008
sys-auth/pam_krb5/Manifest
Show inline comments
 
new file 100644
 
AUX 3.9.patch 1964 RMD160 d8fc0bd9e26ef25d8e18503dd257292ed1afaf1e SHA1 0f7d8c76b61e990c0f52f4fb6c2179620d63d0b3 SHA256 8cfb379196b07a6a00d975b5488eb2ee06f745ae63dbc4733d61f2c178ddca0b
 
DIST pam-krb5-3.9.tar.gz 147458 RMD160 d2e0956d05f74ffb0789b82e3d37af7c61e71d3a SHA1 3025f95252ddd9203f71f326434f273728bfcb2f SHA256 94f2604f084db50c48786a96285c5f98ff867a134282f6b5f43e951c20ef8969
 
EBUILD pam_krb5-3.9.ebuild 570 RMD160 9d2bea73ef5271343a3988b84bc9d8fd8453c46a SHA1 e9e391726315c86273445cd027b5c6f212ef2d94 SHA256 5bf1cc8b9dbf529cefa867ee071279221c0fab1993adf2a9159f753c2b083296
sys-auth/pam_krb5/files/3.9.patch
Show inline comments
 
new file 100644
 
diff -ur pam-krb5-3.8.orig/auth.c pam-krb5-3.8/auth.c
 
--- pam-krb5-3.8.orig/auth.c	2007-10-17 19:37:11.000000000 +0200
 
+++ pam-krb5-3.8/auth.c	2007-10-17 20:34:11.000000000 +0200
 
@@ -322,7 +322,7 @@
 
  * krb5_error_code.  If successful, the credentials will be stored in creds.
 
  */
 
 static krb5_error_code
 
-pkinit_auth(struct pam_args *args, char *service, krb5_creds **creds)
 
+pkinit_auth(struct pam_args *args, const char *service, krb5_creds **creds)
 
 {
 
     struct context *ctx = args->ctx;
 
     krb5_get_init_creds_opt *opts = NULL;
 
@@ -410,7 +410,8 @@
 
 {
 
     krb5_verify_init_creds_opt opts;
 
     krb5_keytab keytab = NULL;
 
-    krb5_kt_cursor cursor = NULL;
 
+    krb5_kt_cursor cursor;
 
+    int cursor_valid = 0;
 
     krb5_keytab_entry entry;
 
     krb5_principal princ = NULL;
 
     const char *message;
 
@@ -430,8 +431,10 @@
 
         }
 
         if (retval == 0)
 
             retval = krb5_kt_start_seq_get(c, keytab, &cursor);
 
-        if (retval == 0)
 
+        if (retval == 0) {
 
+            cursor_valid = 1;
 
             retval = krb5_kt_next_entry(c, keytab, &entry, &cursor);
 
+        }
 
         if (retval == 0)
 
             retval = krb5_copy_principal(c, entry.principal, &princ);
 
         if (retval != 0) {
 
@@ -442,7 +445,7 @@
 
         }
 
         if (entry.principal != NULL)
 
             pamk5_compat_free_keytab_contents(c, &entry);
 
-        if (cursor != NULL)
 
+        if (cursor_valid)
 
             krb5_kt_end_seq_get(c, keytab, &cursor);
 
     }
 
     retval = krb5_verify_init_creds(c, creds, princ, keytab, NULL, &opts);
 
diff -ur pam-krb5-3.8.orig/compat.c pam-krb5-3.8/compat.c
 
--- pam-krb5-3.8.orig/compat.c	2007-10-17 19:37:11.000000000 +0200
 
+++ pam-krb5-3.8/compat.c	2007-10-17 20:23:35.000000000 +0200
 
@@ -14,6 +14,10 @@
 
 #ifdef HAVE_SECURITY_PAM_MODUTIL_H
 
 # include <security/pam_modutil.h>
 
 #endif
 
+#ifndef HAVE_PAM_MODUTIL_GETPWNAM
 
+# include <sys/types.h>
 
+# include <pwd.h>
 
+#endif
 
 #include <stdlib.h>
 
 
 
 #ifdef HAVE_KRB5_MIT
sys-auth/pam_krb5/pam_krb5-3.9.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 

	
 
inherit pam
 

	
 
MY_P="${P/_/-}"
 
DESCRIPTION="New PAM module for MIT Kerberos V"
 
HOMEPAGE="http://www.eyrie.org/~eagle/software/pam-krb5/"
 
SRC_URI="http://archives.eyrie.org/software/kerberos/${MY_P}.tar.gz"
 

	
 
LICENSE="BSD GPL-2 as-is"
 
SLOT="0"
 
KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86"
 
IUSE=""
 

	
 
DEPEND="virtual/krb5
 
	sys-libs/pam"
 

	
 
S="${WORKDIR}/${MY_P}"
 

	
 
src_install() {
 
	dopammod pam_krb5.so || die
 
	doman pam_krb5.5
 
	dodoc CHANGES* NEWS README TODO
 
}
sys-fs/e2fsprogs/Manifest
Show inline comments
 
new file 100644
 
AUX 10_all_tests-include-fix.patch.bz2 380 RMD160 58fa676275dfe035bf1df336d957c08f8e87cb91 SHA1 4e589a80383b4799f369a007f4b901aee436e873 SHA256 4228bbfaaef8a0ad300ed64789f1d9d5482b01a01939b08b54b783dcd9954394
 
AUX 10_all_tests-include-fix.patch.bz2~ 385 RMD160 f0086c647c91dce3878e9fdaa656cd86f3730727 SHA1 4dca69d4a1373367df5e978b10fd7b11e46a1fda SHA256 eca9e062508a3de7d8a731b2915f53dd3f34e9ab110bfd789b26d5c74e270856
 
AUX e2fsprogs-1.38-tests-locale.patch 656 RMD160 16c625c16144ed16942fa19988524b7b5727c583 SHA1 debd15eba41a392cf0336e694bebf0c2409b18e3 SHA256 7d12df7c4f00f1c1c81dcbd74cc0f8c1cffaa3b5089fbaa40222a7a9f2fbe598
 
AUX e2fsprogs-1.40-fbsd.patch 352 RMD160 2d3f0979522a29bdf5aae1af9c73b33e76b02f23 SHA1 b229990591965b454dfaa88bf47437cc8386343d SHA256 52865c6600fa0f601a89e4396797ae2d23a1ed895e64b098c36e8bcab1ac8505
 
AUX e2fsprogs-1.41.2-makefile.patch 2813 RMD160 11b20c97f58efe18850296aefe08a155084dc825 SHA1 37bb9fd7cd06e1d7f5f302c2e7c0ff24fbd3c448 SHA256 48192b8d38bc00c048489de92a7361a773df0b6c4bbbb5e22b0b5c91962864f4
 
DIST e2fsprogs-1.41.2.tar.gz 4365064 RMD160 debe0ee72e2e68fb773887fb60ef509ad7bf6d76 SHA1 8334f9eaea5f0001e3241ea71ea094f2d87298a9 SHA256 635d6d07e5a4d615e599c051166af965baa754f9ff7435e746de1a5d2a5c0d56
 
EBUILD e2fsprogs-1.41.2.ebuild 3477 RMD160 580234c47fe36c950e1acf5396466f8279305648 SHA1 364f3274d617a54df525442ac5b910d5dee9fd1f SHA256 fa46570e90f9963f4ac0717fe3f8f4ae2ea7381dd3442201dd280bde1770077c
sys-fs/e2fsprogs/e2fsprogs-1.41.2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.41.2.ebuild,v 1.4 2008/10/28 00:25:05 ranger Exp $
 

	
 
inherit eutils flag-o-matic toolchain-funcs multilib
 

	
 
DESCRIPTION="Standard EXT2 and EXT3 filesystem utilities"
 
HOMEPAGE="http://e2fsprogs.sourceforge.net/"
 
SRC_URI="mirror://sourceforge/e2fsprogs/${P}.tar.gz"
 

	
 
LICENSE="GPL-2 BSD"
 
SLOT="0"
 
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
 
IUSE="nls elibc_FreeBSD"
 

	
 
RDEPEND="~sys-libs/${PN}-libs-${PV}
 
	nls? ( virtual/libintl )"
 
DEPEND="${RDEPEND}
 
	nls? ( sys-devel/gettext )
 
	sys-apps/texinfo"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 
	epatch "${FILESDIR}"/${PN}-1.38-tests-locale.patch #99766
 
	epatch "${FILESDIR}"/${PN}-1.41.2-makefile.patch
 
	epatch "${FILESDIR}"/${PN}-1.40-fbsd.patch
 
	epatch "${FILESDIR}"
 
	# blargh ... trick e2fsprogs into using e2fsprogs-libs
 
	rm -rf doc
 
	sed -i -r \
 
		-e 's:@LIBINTL@:@LTLIBINTL@:' \
 
		-e '/^LIB(BLKID|COM_ERR|SS|UUID)/s:[$][(]LIB[)]/lib([^@]*)@LIB_EXT@:-l\1:' \
 
		-e '/^DEPLIB(BLKID|COM_ERR|SS|UUID)/s:=.*:=:' \
 
		MCONFIG.in || die "muck libs" #122368
 
	sed -i -r \
 
		-e '/^LIB_SUBDIRS/s:lib/(blkid|et|ss|uuid)::g' \
 
		Makefile.in || die "remove subdirs"
 
	touch lib/ss/ss_err.h
 
}
 

	
 
src_compile() {
 
	# Keep the package from doing silly things
 
	addwrite /var/cache/fonts
 
	export LDCONFIG=:
 
	export CC=$(tc-getCC)
 
	export STRIP=:
 

	
 
	# We want to use the "bsd" libraries while building on Darwin, but while
 
	# building on other Gentoo/*BSD we prefer elf-naming scheme.
 
	local libtype
 
	case ${CHOST} in
 
		*-darwin*) libtype=bsd;;
 
		*)         libtype=elf;;
 
	esac
 

	
 
	econf \
 
		--bindir=/bin \
 
		--sbindir=/sbin \
 
		--enable-${libtype}-shlibs \
 
		--with-ldopts="${LDFLAGS}" \
 
		$(use_enable !elibc_uclibc tls) \
 
		--without-included-gettext \
 
		$(use_enable nls) \
 
		$(use_enable userland_GNU fsck) \
 
		|| die
 
	if [[ ${CHOST} != *-uclibc ]] && grep -qs 'USE_INCLUDED_LIBINTL.*yes' config.{log,status} ; then
 
		eerror "INTL sanity check failed, aborting build."
 
		eerror "Please post your ${S}/config.log file as an"
 
		eerror "attachment to http://bugs.gentoo.org/show_bug.cgi?id=81096"
 
		die "Preventing included intl cruft from building"
 
	fi
 
	emake COMPILE_ET=compile_et MK_CMDS=mk_cmds || die
 

	
 
	# Build the FreeBSD helper
 
	if use elibc_FreeBSD ; then
 
		cp "${FILESDIR}"/fsck_ext2fs.c .
 
		emake fsck_ext2fs || die
 
	fi
 
}
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install || die
 
	emake DESTDIR="${D}" install-libs || die
 
	dodoc README RELEASE-NOTES
 

	
 
	# Move shared libraries to /lib/, install static libraries to /usr/lib/,
 
	# and install linker scripts to /usr/lib/.
 
	dodir /$(get_libdir)
 
	local lib slib
 
	for lib in "${D}"/usr/$(get_libdir)/*.a ; do
 
		slib=${lib##*/}
 
		mv "${lib%.a}"$(get_libname)* "${D}"/$(get_libdir)/ || die "moving lib ${slib}"
 
		gen_usr_ldscript ${slib%.a}$(get_libname)
 
	done
 

	
 
	# move 'useless' stuff to /usr/
 
	dosbin "${D}"/sbin/mklost+found
 
	rm -f "${D}"/sbin/mklost+found
 

	
 
	if use elibc_FreeBSD ; then
 
		# Install helpers for us
 
		into /
 
		dosbin "${S}"/fsck_ext2fs || die
 
		doman "${FILESDIR}"/fsck_ext2fs.8
 

	
 
		# these manpages are already provided by FreeBSD libc
 
		# and filefrag is linux only
 
		rm -f \
 
			"${D}"/sbin/filefrag \
 
			"${D}"/usr/share/man/man8/filefrag.8 \
 
			"${D}"/bin/uuidgen \
 
			"${D}"/usr/share/man/man3/{uuid,uuid_compare}.3 \
 
			"${D}"/usr/share/man/man1/uuidgen.1 || die
 
	fi
 
}
sys-fs/e2fsprogs/files/10_all_tests-include-fix.patch.bz2
Show inline comments
 
new file 100644
 
binary diff not shown
sys-fs/e2fsprogs/files/10_all_tests-include-fix.patch.bz2~
Show inline comments
 
new file 100644
 
binary diff not shown
sys-fs/e2fsprogs/files/e2fsprogs-1.38-tests-locale.patch
Show inline comments
 
new file 100644
 
Since the tests analyze the output messages, force the default locale.
 

	
 
http://bugs.gentoo.org/99766
 

	
 
--- tests/test_script.in
 
+++ tests/test_script.in
 
@@ -3,6 +3,19 @@
 
 # Test script for e2fsck
 
 #
 
 
 
+# NLS nuisances.
 
+for as_var in \
 
+  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
+  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
+  LC_TELEPHONE LC_TIME
 
+do
 
+  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
+    eval $as_var=C; export $as_var
 
+  else
 
+    unset $as_var
 
+  fi
 
+done
 
+
 
 if test "$1"x = x ; then
 
   TESTS=`ls -d $SRCDIR/[a-zA-Z]_* | $EGREP -v "\.failed|\.new"`
 
 else
sys-fs/e2fsprogs/files/e2fsprogs-1.40-fbsd.patch
Show inline comments
 
new file 100644
 
--- a/lib/ext2fs/ext2_fs.h
 
+++ b/lib/ext2fs/ext2_fs.h
 
@@ -414,7 +414,7 @@
 
 
 
 #define i_size_high	i_dir_acl
 
 
 
-#if defined(__KERNEL__) || defined(__linux__)
 
+#if defined(__KERNEL__) || defined(__linux__) || defined(__FreeBSD__)
 
 #define i_reserved1	osd1.linux1.l_i_reserved1
 
 #define i_frag		osd2.linux2.l_i_frag
 
 #define i_fsize		osd2.linux2.l_i_fsize
sys-fs/e2fsprogs/files/e2fsprogs-1.41.2-makefile.patch
Show inline comments
 
new file 100644
 
--- e2fsck/Makefile.in
 
+++ e2fsck/Makefile.in
 
@@ -199,12 +199,12 @@
 
 	@echo "	LINK $(root_sbindir)/fsck.ext2"
 
-	@$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
 
+	@$(LN_S) -f e2fsck \
 
 			$(DESTDIR)$(root_sbindir)/fsck.ext2
 
 	@echo "	LINK $(root_sbindir)/fsck.ext3"
 
-	@$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
 
+	@$(LN_S) -f e2fsck \
 
 			$(DESTDIR)$(root_sbindir)/fsck.ext3
 
 	@echo "	LINK $(root_sbindir)/fsck.ext4"
 
-	@$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
 
+	@$(LN_S) -f e2fsck \
 
 			$(DESTDIR)$(root_sbindir)/fsck.ext4
 
 	@echo "	LINK $(root_sbindir)/fsck.ext4dev"
 
-	@$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
 
+	@$(LN_S) -f e2fsck \
 
 			$(DESTDIR)$(root_sbindir)/fsck.ext4dev
 
@@ -225,12 +225,12 @@
 
 	@echo "	LINK $(man8dir)/fsck.ext2.8"
 
-	@$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
 
+	@$(LN_S) -f e2fsck.8 \
 
 		$(DESTDIR)$(man8dir)/fsck.ext2.8
 
 	@echo "	LINK $(man8dir)/fsck.ext3.8"
 
-	@$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
 
+	@$(LN_S) -f e2fsck.8 \
 
 		$(DESTDIR)$(man8dir)/fsck.ext3.8
 
 	@echo "	LINK $(man8dir)/fsck.ext4.8"
 
-	@$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
 
+	@$(LN_S) -f e2fsck.8 \
 
 		$(DESTDIR)$(man8dir)/fsck.ext4.8
 
 	@echo "	LINK $(man8dir)/fsck.ext4.8"
 
-	@$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
 
+	@$(LN_S) -f e2fsck.8 \
 
 		$(DESTDIR)$(man8dir)/fsck.ext4dev.8
 
--- misc/Makefile.in
 
+++ misc/Makefile.in
 
@@ -279,18 +279,18 @@
 
 	@echo "	LINK $(root_sbindir)/mkfs.ext2"
 
-	@$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
 
+	@$(LN_S) -f mke2fs \
 
 		$(DESTDIR)$(root_sbindir)/mkfs.ext2
 
 	@echo "	LINK $(root_sbindir)/mkfs.ext3"
 
-	@$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
 
+	@$(LN_S) -f mke2fs \
 
 		$(DESTDIR)$(root_sbindir)/mkfs.ext3
 
 	@echo "	LINK $(root_sbindir)/mkfs.ext4"
 
-	@$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
 
+	@$(LN_S) -f mke2fs \
 
 		$(DESTDIR)$(root_sbindir)/mkfs.ext4
 
 	@echo "	LINK $(root_sbindir)/mkfs.ext4dev"
 
-	@$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
 
+	@$(LN_S) -f mke2fs \
 
 		$(DESTDIR)$(root_sbindir)/mkfs.ext4dev
 
 	@echo "	LINK $(root_sbindir)/e2label"
 
-	@$(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \
 
+	@$(LN_S) -f tune2fs \
 
 		$(DESTDIR)$(root_sbindir)/e2label
 
 	@echo "	LINK $(root_sbindir)/findfs"
 
-	@$(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \
 
+	@$(LN_S) -f tune2fs \
 
 		$(DESTDIR)$(root_sbindir)/findfs
 
@@ -314,12 +314,12 @@
 
 	@echo "	LINK mkfs.ext2.8"
 
-	@$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
 
+	@$(LN_S) -f mke2fs.8 \
 
 		$(DESTDIR)$(man8dir)/mkfs.ext2.8
 
 	@echo "	LINK mkfs.ext3.8"
 
-	@$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
 
+	@$(LN_S) -f mke2fs.8 \
 
 		$(DESTDIR)$(man8dir)/mkfs.ext3.8
 
 	@echo "	LINK mkfs.ext4.8"
 
-	@$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
 
+	@$(LN_S) -f mke2fs.8 \
 
 		$(DESTDIR)$(man8dir)/mkfs.ext4.8
 
 	@echo "	LINK mkfs.ext4dev.8"
 
-	@$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
 
+	@$(LN_S) -f mke2fs.8 \
 
 		$(DESTDIR)$(man8dir)/mkfs.ext4dev.8
sys-libs/pthreads-win32/Manifest
Show inline comments
 
new file 100644
 
DIST pthreads-w32-2-8-0-release.tar.gz 331327 RMD160 f9a6cb987df5e3e6ca236b4ad5d0ae298a64e8f0 SHA1 da8371cb20e8e238f96a1d0651212f154d84a9ac SHA256 ff7a2874b04581ed344f7d3bb0548d7798891216eebcee830887b37c85ab48fd
 
EBUILD pthreads-win32-2.8.0.ebuild 1278 RMD160 349f8fa997cec9c6f5a01d7e9d669523473400fc SHA1 7f97c57550e747748e87df4723213df1401e26aa SHA256 1ee2abf6267c66715ef6de93909c2dc0d1c11f8e7fec2e6babc8a2804ca898fd
sys-libs/pthreads-win32/pthreads-win32-2.8.0.ebuild
Show inline comments
 
new file 100644
 

	
 
# Originally by Nathan Brink <ohnobinki@ohnopublishing.net>, 2008
 
# Distributed under the terms of the GNU General Public License v2
 

	
 
inherit eutils
 

	
 
DESCRIPTION="Provides the pthreads API on windows"
 
HOMEPAGE="http://sourceware.org/pthreads-win32/"
 
SRC_URI="ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-8-0-release.tar.gz"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="x86"
 
IUSE=""
 

	
 
#This is commented because, even w32api is installed into my /usr/mingw32 sysroot, crossdev didn't automatically add the package to /usr/mingw32/etc/portage/profile/package.provided
 
#RDEPEND="dev-util/w32api"
 
DEPEND=""
 
PDEPEND=""
 

	
 
src_compile() {
 
	#cd "pthreads-w32-${PV}-release"
 
	#cd "pthreads-w32-2-8-0-release"
 
	cd pthreads-w32-*-release
 
	emake CROSS="${CHOST}-" clean GC-inlined || die "emake failed"
 
}
 

	
 
src_install() {
 
	mkdir -p "${D}"usr/include "${D}"usr/bin "${D}"usr/lib && \
 
		cd pthreads-w32-*-release && \
 
		cp pthread.h sched.h semaphore.h "${D}"usr/include/ && \
 
		cp pthreadGC2.dll "${D}"usr/bin/ && \
 
		cp libpthreadGC2.a "${D}"usr/lib/ && \
 
		dosym pthreadGC2.dll /usr/bin/pthread.dll && \
 
		dosym libpthreadGC2.a /usr/lib/libpthread.a || \
 
		die "install failed"
 
	dodoc COPYING COPYING.LIB PROGRESS MAINTAINERS NEWS ANNOUNCE BUGS ChangeLog CONTRIBUTORS WinCE-PORT README*
 
}
sys-libs/uclibc/Manifest
Show inline comments
 
new file 100644
 
DIST uClibc-0.9.28.3-patches-1.8.tar.bz2 27909 RMD160 7c936749075162939c76489aa5a88278f235b48f SHA1 5bb582cb8f95407bd9fa938a9dd09027dcf0db0b SHA256 9496394de9de241551497c496b7fb8ece32b23536485bd81bd20128c2e104790
 
DIST uClibc-0.9.28.3.tar.bz2 1795383 RMD160 61591281f4193d4dcd0fa3252fb3286028d4cb63 SHA1 77c5220697a1772d0d9da4bda0d866e4f4b68540 SHA256 1d86d5dad6060e7057cfe023ffc7b7661bdc7fe95112b37447851c0a75b547a1
 
DIST uClibc-locale-030818.tgz 236073 RMD160 8e3f4b20b94e07e535cbbbe81287186014c5f151 SHA1 78f901e6ed228ed84106bd034c1b97eee1eecb50 SHA256 c4362be318a38f18d98dccf462d22d95bab92f05548bb93f65298fe9afaebd57
 
EBUILD uclibc-0.9.28.3-r7.ebuild 14643 RMD160 a2ac4de22214863019850ff0600de4970be4bf3e SHA1 68745e5aee87237167d113cb63e0a1208c5ac85b SHA256 5ea48c8b675556d8ab9be5dbd42a52a3fc578ec1e6d75b517825054aac0c8331
sys-libs/uclibc/uclibc-0.9.28.3-r7.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28.3-r7.ebuild,v 1.2 2008/10/27 06:53:14 vapier Exp $
 

	
 
#ESVN_REPO_URI="svn://uclibc.org/trunk/uClibc"
 
#inherit subversion
 
inherit eutils flag-o-matic toolchain-funcs
 

	
 
export CBUILD=${CBUILD:-${CHOST}}
 
export CTARGET=${CTARGET:-${CHOST}}
 
if [[ ${CTARGET} == ${CHOST} ]] ; then
 
	if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
 
		export CTARGET=${CATEGORY/cross-}
 
	fi
 
fi
 
# Handle the case where we want uclibc on glibc ...
 
if [[ ${CTARGET} == ${CHOST} ]] && [[ ${CHOST} != *-uclibc ]] ; then
 
	export UCLIBC_AND_GLIBC="sitting in a tree"
 
	export CTARGET=${CHOST%%-*}-pc-linux-uclibc
 
fi
 

	
 
MY_P=uClibc-${PV}
 
SVN_VER=""
 
PATCH_VER="1.8"
 
DESCRIPTION="C library for developing embedded Linux systems"
 
HOMEPAGE="http://www.uclibc.org/"
 
SRC_URI="mirror://kernel/linux/libs/uclibc/${MY_P}.tar.bz2
 
	http://uclibc.org/downloads/${MY_P}.tar.bz2
 
	nls? ( !userlocales? ( pregen? (
 
		x86? ( http://www.uclibc.org/downloads/uClibc-locale-030818.tgz )
 
	) ) )"
 
[[ -z ${SVN_VER} ]] || \
 
	SRC_URI="${SRC_URI} mirror://gentoo/${MY_P}-svn-update-${SVN_VER}.patch.bz2"
 
[[ -z ${PATCH_VER} ]] || \
 
	SRC_URI="${SRC_URI} mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.bz2"
 

	
 
LICENSE="LGPL-2"
 
[[ ${CTARGET} != ${CHOST} ]] \
 
	&& SLOT="${CTARGET}" \
 
	|| SLOT="0"
 
KEYWORDS="-* ~arm ~m68k -mips ~ppc ~sh ~sparc ~x86"
 
IUSE="build uclibc-compat debug hardened iconv ipv6 minimal nls pregen savedconfig userlocales wordexp crosscompile_opts_headers-only"
 
RESTRICT="strip"
 

	
 
RDEPEND=""
 
if [[ ${CTARGET} == ${CHOST} ]] ; then
 
	DEPEND="virtual/os-headers app-misc/pax-utils"
 
	PROVIDE="virtual/libc"
 
else
 
	DEPEND=""
 
fi
 

	
 
S=${WORKDIR}/${MY_P}
 

	
 
alt_build_kprefix() {
 
	if [[ ${CBUILD} == ${CHOST} && ${CTARGET} == ${CHOST} ]] \
 
	   || [[ -n ${UCLIBC_AND_GLIBC} ]]
 
	then
 
		echo /usr
 
	else
 
		echo /usr/${CTARGET}/usr
 
	fi
 
}
 
just_headers() {
 
	use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
 
}
 

	
 
uclibc_endian() {
 
	# XXX: this wont work for a toolchain which is bi-endian, but we
 
	#      dont have any such thing at the moment, so not a big deal
 
	touch "${T}"/endian.s
 
	$(tc-getAS ${CTARGET}) "${T}"/endian.s -o "${T}"/endian.o
 
	case $(file "${T}"/endian.o) in
 
		*" MSB "*) echo "big";;
 
		*" LSB "*) echo "little";;
 
		*)         echo "NFC";;
 
	esac
 
	rm -f "${T}"/endian.{s,o}
 
}
 

	
 
pkg_setup() {
 
	just_headers && return 0
 
	has_version ${CATEGORY}/uclibc || return 0
 
	[[ -n ${UCLIBC_AND_GLIBC} ]] && return 0
 
	[[ ${ROOT} != "/" ]] && return 0
 
	[[ ${CATEGORY} == cross-* ]] && return 0
 

	
 
	if ! built_with_use --missing false ${CATEGORY}/uclibc nls && use nls && ! use pregen ; then
 
		eerror "You previously built uclibc with USE=-nls."
 
		eerror "You cannot generate locale data with this"
 
		eerror "system.  Please rerun emerge with USE=pregen."
 
		die "host cannot support locales"
 
	elif built_with_use --missing false ${CATEGORY}/uclibc nls && ! use nls ; then
 
		eerror "You previously built uclibc with USE=nls."
 
		eerror "Rebuilding uClibc with USE=-nls will prob"
 
		eerror "destroy your system."
 
		die "switching from nls is baaaad"
 
	fi
 
}
 

	
 
PIE_STABLE="arm mips ppc x86"
 

	
 
CPU_ALPHA=""
 
CPU_AMD64=""
 
CPU_ARM="GENERIC_ARM ARM{610,710,720T,920T,922T,926T,_{SA110,SA1100,XSCALE}}"
 
CPU_IA64=""
 
CPU_M68K=""
 
CPU_MIPS="MIPS_ISA_{1,2,3,4,MIPS{32,64}}"
 
CPU_PPC=""
 
CPU_SH="SH{2,3,4,5}"
 
CPU_SPARC=""
 
CPU_X86="GENERIC_386 {3,4,5,6}86 586MMX PENTIUM{II,III,4} K{6,7} ELAN CRUSOE WINCHIP{C6,2} CYRIXIII NEHEMIAH"
 
IUSE_UCLIBC_CPU="${CPU_ARM} ${CPU_MIPS} ${CPU_PPC} ${CPU_SH} ${CPU_SPARC} ${CPU_X86}"
 

	
 
check_cpu_opts() {
 
	local cpu_var="CPU_$(echo $(tc-arch) | tr [a-z] [A-Z])"
 
	[[ -z ${!cpu_var} ]] && return 0
 

	
 
	if [[ -z ${UCLIBC_CPU} ]] ; then
 
		ewarn "You really should consider setting UCLIBC_CPU"
 
		ewarn "Otherwise, the build will be generic (read: slow)."
 
		ewarn "Available CPU options:"
 
		UCLIBC_CPU=$(eval echo ${!cpu_var})
 
		echo ${UCLIBC_CPU}
 
		case ${CTARGET} in
 
			mips[1234]*) export UCLIBC_CPU="MIPS_ISA_${CTARGET:4:1}";;
 
			sh[2345]*)   export UCLIBC_CPU="SH${CTARGET:2:1}";;
 
			i[456]86*)   export UCLIBC_CPU="${CTARGET:1:1}86";;
 
			*)           export UCLIBC_CPU=${UCLIBC_CPU%% *};;
 
		esac
 
	else
 
		local cpu found=0
 
		for cpu in $(eval echo ${!cpu_var}) ; do
 
			[[ ${UCLIBC_CPU} == "${cpu}" ]] && found=1 && break
 
		done
 
		if [[ ${found} -eq 0 ]] ; then
 
			ewarn "UCLIBC_CPU choice '${UCLIBC_CPU}' not supported"
 
			ewarn "Valid choices:"
 
			eval echo ${!cpu_var}
 
			die "pick a supported cpu type"
 
		fi
 
	fi
 
}
 

	
 
src_unpack() {
 
	[[ -n ${ESVN_REPO_URI} ]] \
 
		&& subversion_src_unpack \
 
		|| unpack ${A}
 
	cd "${S}"
 

	
 
	check_cpu_opts
 

	
 
	echo
 
	einfo "Runtime Prefix: /"
 
	einfo "Devel Prefix:   /usr"
 
	einfo "Kernel Prefix:  $(alt_build_kprefix)"
 
	einfo "CBUILD:         ${CBUILD}"
 
	einfo "CHOST:          ${CHOST}"
 
	einfo "CTARGET:        ${CTARGET}"
 
	einfo "CPU:            ${UCLIBC_CPU:-default}"
 
	einfo "ENDIAN:         $(uclibc_endian)"
 
	echo
 

	
 
	########## PATCHES ##########
 

	
 
	[[ -n ${SVN_VER} ]] && \
 
		epatch "${WORKDIR}"/${MY_P}-cvs-update-${SVN_VER}.patch
 

	
 
	if [[ -n ${PATCH_VER} ]] ; then
 
		unpack ${MY_P}-patches-${PATCH_VER}.tar.bz2
 
		EPATCH_SUFFIX="patch"
 
		epatch "${WORKDIR}"/patch
 
		# math functions (sinf,cosf,tanf,atan2f,powf,fabsf,copysignf,scalbnf,rem_pio2f)
 
		cp "${WORKDIR}"/patch/math/libm/* "${S}"/libm/ || die
 
		epatch "${WORKDIR}"/patch/math
 
	fi
 

	
 
	########## CPU SELECTION ##########
 

	
 
	local target config_target
 
	case $(tc-arch) in
 
		alpha) target="alpha";   config_target="no cpu-specific options";;
 
		amd64) target="x86_64";  config_target="no cpu-specific options";;
 
		arm)   target="arm";     config_target="GENERIC_ARM";;
 
		ia64)  target="ia64";    config_target="no cpu-specific options";;
 
		m68k)  target="m68k";    config_target="no cpu-specific options";;
 
		mips)  target="mips";    config_target="MIPS_ISA_1";;
 
		ppc)   target="powerpc"; config_target="no cpu-specific options";;
 
		sh)    target="sh";      config_target="SH4";;
 
		sparc) target="sparc";   config_target="no cpu-specific options";;
 
		x86)   target="i386";    config_target="GENERIC_386";;
 
		*)     die "$(tc-arch) lists no defaults :/";;
 
	esac
 
	sed -i -e "s:default TARGET_i386:default TARGET_${target}:" \
 
		extra/Configs/Config.in
 
	sed -i -e "s:default CONFIG_${config_target}:default CONFIG_${UCLIBC_CPU:-${config_target}}:" \
 
		extra/Configs/Config.${target}
 

	
 
	########## CONFIG SETUP ##########
 

	
 
	make defconfig >/dev/null || die "could not config"
 

	
 
	for def in DO{DEBUG{,_PT},ASSERTS} SUPPORT_LD_DEBUG{,_EARLY} ; do
 
		sed -i -e "s:${def}=y:# ${def} is not set:" .config
 
	done
 
	if use debug ; then
 
		#echo "SUPPORT_LD_DEBUG_EARLY=y" >> .config
 
		echo "SUPPORT_LD_DEBUG=y" >> .config
 
		echo "DODEBUG=y" >> .config
 
		#echo "DODEBUG_PT=y" >> .config
 
	fi
 

	
 
	sed -i -e '/ARCH_.*_ENDIAN/d' .config
 
	echo "ARCH_$(uclibc_endian | tr [a-z] [A-Z])_ENDIAN=y" >> .config
 

	
 
	if [[ $(tc-is-softfloat) != "no" ]] ; then
 
		sed -i -e '/^HAS_FPU=y$/d' .config
 
		echo 'HAS_FPU=n' >> .config
 
	fi
 

	
 
	local moredefs="DL_FINI_CRT_COMPAT"
 
	# We need todo this for a few months. .28 is a major upgrade.
 
	# Don't do it from cross-compiling case though
 
	if ! use uclibc-compat ; then
 
		if [[ -z ${UCLIBC_AND_GLIBC} ]] && [[ -z ${UCLIBC_SCANNED_COMPAT} ]] && \
 
		   ! just_headers && [[ ${CHOST} == ${CTARGET} ]] ; then
 
			local fnames=""
 
			einfo "Doing a scanelf in paths for bins containing the __uClibc_start_main symbol"
 
			fnames=$(scanelf -pyqs__uClibc_start_main -F%F#s)
 
			if [[ -z ${fnames} ]] ; then
 
				einfo "This system is clean."
 
				einfo "To prevent the scanning of files again in the future you can export UCLIBC_SCANNED_COMPAT=1"
 
				moredefs=""
 
			else
 
				ewarn "You need to remerge the packages that contain the following files before you can remerge ${P} without USE=uclibc-compat enabled."
 
				ewarn "qfile ${fnames}"
 
				echo
 
				ewarn "Leaving on ${moredefs}"
 
			fi
 
		else
 
			moredefs=""
 
		fi
 
	fi
 
	for def in ${moredefs} MALLOC_GLIBC_COMPAT DO_C99_MATH UCLIBC_HAS_{RPC,CTYPE_CHECKED,WCHAR,HEXADECIMAL_FLOATS,GLIBC_CUSTOM_PRINTF,FOPEN_EXCLUSIVE_MODE,GLIBC_CUSTOM_STREAMS,PRINTF_M_SPEC,FTW} ; do
 
		sed -i -e "s:# ${def} is not set:${def}=y:" .config
 
	done
 
	echo "UCLIBC_HAS_FULL_RPC=y" >> .config
 
	echo "PTHREADS_DEBUG_SUPPORT=y" >> .config
 
	echo "UCLIBC_HAS_TZ_FILE_READ_MANY=n" >> .config
 

	
 
	if use iconv ; then
 
		sed -i -e "s:# UCLIBC_HAS_LOCALE is not set:UCLIBC_HAS_LOCALE=y:" .config
 
		echo "UCLIBC_HAS_XLOCALE=n" >> .config
 
		echo "UCLIBC_HAS_GLIBC_DIGIT_GROUPING=y" >> .config
 
		echo "UCLIBC_HAS_SCANF_LENIENT_DIGIT_GROUPING=y" >> .config
 

	
 
		if use nls ; then
 
			echo "UCLIBC_HAS_GETTEXT_AWARENESS=y" >> .config
 
		else
 
			echo "UCLIBC_HAS_GETTEXT_AWARENESS=n" >> .config
 
		fi
 

	
 
		if use pregen ; then
 
			echo "UCLIBC_PREGENERATED_LOCALE_DATA=y" >> .config
 
			echo "UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y" >> .config
 
			if use userlocales ; then
 
				cp "${DISTDIR}"/${MY_P}-user-locale.tar.gz \
 
					extra/locale/uClibc-locale-030818.tgz \
 
					|| die "could not copy ${MY_P}-user-locale.tar.gz"
 
			else
 
				cp "${DISTDIR}"/${MY_P}-$(tc-arch)-full-locale.tar.gz \
 
					extra/locale/uClibc-locale-030818.tgz \
 
					|| die "could not copy locale"
 
			fi
 
		else
 
			echo "UCLIBC_PREGENERATED_LOCALE_DATA=n" >> .config
 
		fi
 
	else
 
		echo "UCLIBC_HAS_LOCALE=n" >> .config
 
	fi
 

	
 
	use ipv6 && sed -i -e "s:# UCLIBC_HAS_IPV6 is not set:UCLIBC_HAS_IPV6=y:" .config
 

	
 
	# uncomment if you miss wordexp (alsa-lib)
 
	use wordexp && sed -i -e "s:# UCLIBC_HAS_WORDEXP is not set:UCLIBC_HAS_WORDEXP=y:" .config
 

	
 
	# we need to do it independently of hardened to get ssp.c built into libc
 
	sed -i -e "s:# UCLIBC_SECURITY.*:UCLIBC_SECURITY=y:" .config
 
	echo "UCLIBC_HAS_SSP=y" >> .config
 
	echo "SSP_USE_ERANDOM=n" >> .config
 
	echo "PROPOLICE_BLOCK_ABRT=n" >> .config
 
	if use debug ; then
 
		echo "PROPOLICE_BLOCK_SEGV=y" >> .config
 
		echo "PROPOLICE_BLOCK_KILL=n" >> .config
 
	else
 
		echo "PROPOLICE_BLOCK_SEGV=n" >> .config
 
		echo "PROPOLICE_BLOCK_KILL=y" >> .config
 
	fi
 

	
 
	# arm/mips do not emit PT_GNU_STACK, but if we enable this here
 
	# it will be emitted as RWE, ppc has to be checked, x86 needs it
 
	# this option should be used independently of hardened
 
	# relro could be also moved out of hardened
 
	if has $(tc-arch) x86 ; then
 
		echo "UCLIBC_BUILD_NOEXECSTACK=y" >> .config
 
	else
 
		echo "UCLIBC_BUILD_NOEXECSTACK=n" >> .config
 
	fi
 
	echo "UCLIBC_BUILD_RELRO=y" >> .config
 
	if use hardened ; then
 
		if has $(tc-arch) ${PIE_STABLE} ; then
 
			echo "UCLIBC_BUILD_PIE=y" >> .config
 
		else
 
			echo "UCLIBC_BUILD_PIE=n" >> .config
 
		fi
 
		echo "SSP_QUICK_CANARY=n" >> .config
 
		echo "UCLIBC_BUILD_SSP=y" >> .config
 
		echo "UCLIBC_BUILD_NOW=y" >> .config
 
	else
 
		echo "UCLIBC_BUILD_PIE=n" >> .config
 
		echo "SSP_QUICK_CANARY=y" >> .config
 
		echo "UCLIBC_BUILD_SSP=n" >> .config
 
		echo "UCLIBC_BUILD_NOW=n" >> .config
 
	fi
 

	
 
	# Allow users some custom control over the config
 
	if use savedconfig ; then
 
		for conf in ${PN}-${PV}-${PR} ${PN}-${PV} ${PN}; do
 
			configfile=${ROOT}/etc/${PN}/${CTARGET}/${conf}.config
 
			einfo "Checking existence of ${configfile} ..."
 
			[[ -r ${configfile} ]] || configfile=/etc/${PN}/${CHOST}/${conf}.config
 
			if [[ -r ${configfile} ]] ; then
 
				cp "${configfile}" "${S}"/.config
 
				einfo "Found your ${configfile} and using it."
 
				einfo "Note that this feature is *totally unsupported*."
 
				break
 
			fi
 
		done
 
	fi
 

	
 
	# setup build and run paths
 
	local cross=${CTARGET}-
 
	type -p ${cross}ar > /dev/null || cross=""
 
	sed -i \
 
		-e "/^CROSS_COMPILER_PREFIX/s:=.*:=\"${cross}\":" \
 
		-e "/^KERNEL_SOURCE/s:=.*:=\"$(alt_build_kprefix)\":" \
 
		-e "/^SHARED_LIB_LOADER_PREFIX/s:=.*:=\"/$(get_libdir)\":" \
 
		-e "/^DEVEL_PREFIX/s:=.*:=\"/usr\":" \
 
		-e "/^RUNTIME_PREFIX/s:=.*:=\"/\":" \
 
		.config || die
 

	
 
	yes "" 2> /dev/null | make -s oldconfig > /dev/null || die "could not make oldconfig"
 

	
 
	cp .config myconfig
 

	
 
	emake -s clean > /dev/null || die "could not clean"
 
}
 

	
 
setup_locales() {
 
	cd "${S}"/extra/locale
 
	if use userlocales && [[ -f ${ROOT}/etc/locales.build ]] ; then
 
		:;
 
	elif use minimal ; then
 
		find ./charmaps -name ASCII.pairs > codesets.txt
 
		find ./charmaps -name ISO-8859-1.pairs >> codesets.txt
 
		cat <<-EOF > locales.txt
 
		@euro e
 
		UTF-8 yes
 
		8-bit yes
 
		en_US ISO-8859-1
 
		en_US.UTF-8 UTF-8
 
		EOF
 
	else
 
		find ./charmaps -name '*.pairs' > codesets.txt
 
		cp LOCALES locales.txt
 
	fi
 
	cd -
 
}
 

	
 
src_compile() {
 
	cp myconfig .config
 

	
 
	emake headers || die "make headers failed"
 
	just_headers && return 0
 

	
 
	if use iconv && ! use pregen ; then
 
		cd extra/locale
 
		make clean || die "make locale clean failed"
 
		setup_locales
 
		emake || die "make locales failed"
 
		cd ../..
 
	fi
 

	
 
	emake || die "make failed"
 
	if [[ ${CTARGET} != ${CHOST} ]] ; then
 
		emake -C utils hostutils || die "make hostutils failed"
 
	elif [[ ${CHOST} == *-uclibc ]] ; then
 
		emake utils || die "make utils failed"
 
	fi
 
}
 

	
 
src_test() {
 
	[[ ${CHOST} != ${CTARGET} ]] && return 0
 
	[[ ${CBUILD} != ${CHOST} ]] && return 0
 

	
 
	# assert test fails on pax/grsec enabled kernels - normal
 
	# vfork test fails in sandbox (both glibc/uclibc)
 
	make UCLIBC_ONLY=1 check || die "test failed"
 
}
 

	
 
src_install() {
 
	local sysroot=${D}
 
	[[ ${CHOST} != ${CTARGET} ]] && sysroot="${sysroot}/usr/${CTARGET}"
 

	
 
	local target="install"
 
	just_headers && target="install_dev"
 
	emake DESTDIR="${sysroot}" ${target} || die "install failed"
 

	
 
	# remove files coming from kernel-headers
 
	rm -rf "${sysroot}"/usr/include/{linux,asm*}
 

	
 
	# This prevents furthur parts of src_install from trying to
 
	# access binaries which weren't built.
 
	just_headers && return 0;
 

	
 
	# Make sure we install the sys-include symlink so that when
 
	# we build a 2nd stage cross-compiler, gcc finds the target
 
	# system headers correctly.  See gcc/doc/gccinstall.info
 
	if [[ ${CTARGET} != ${CHOST} ]] ; then
 
		dosym usr/include /usr/${CTARGET}/sys-include
 
		newbin utils/ldconfig.host ${CTARGET}-ldconfig || die
 
		newbin utils/ldd.host ${CTARGET}-ldd || die
 
		return 0
 
	fi
 

	
 
	if [[ ${CHOST} == *-uclibc ]] ; then
 
		make DESTDIR="${D}" install_utils || die "install-utils failed"
 
		dobin extra/scripts/getent
 
	fi
 

	
 
	if ! use build ; then
 
		dodoc Changelog* README TODO docs/*.txt DEDICATION.mjn3
 
		doman docs/man/*.[1-9]
 
	fi
 
}
 

	
 
pkg_postinst() {
 
	[[ ${CTARGET} != ${CHOST} ]] && return 0
 
	[[ ${CHOST} != *-uclibc ]] && return 0
 

	
 
	if [[ ! -e ${ROOT}/etc/TZ ]] ; then
 
		ewarn "Please remember to set your timezone in /etc/TZ"
 
		[[ ! -d ${ROOT}/etc ]] && mkdir -p "${ROOT}"/etc
 
		echo "UTC" > "${ROOT}"/etc/TZ
 
	fi
 

	
 
	if [[ ${ROOT} == "/" ]] ; then
 
		# update cache before reloading init
 
		/sbin/ldconfig
 
		# reload init ...
 
		[[ -x /sbin/telinit ]] && /sbin/telinit U &> /dev/null
 
	fi
 
}
www-apache/mod_auth_kerb/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for www-apache/mod_auth_kerb
 
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_kerb/ChangeLog,v 1.3 2007/09/21 20:59:36 hollow Exp $
 

	
 
  21 Sep 2007; Benedikt Böhm <hollow@gentoo.org> mod_auth_kerb-5.3.ebuild:
 
  remove apache-1 cruft
 

	
 
  29 Jul 2007; Christian Heim <phreak@gentoo.org>
 
  +files/11_mod_auth_kerb.conf, +metadata.xml, +mod_auth_kerb-5.3.ebuild:
 
  Moving net-www/mod_auth_kerb to www-apache/mod_auth_kerb (#81244).
 

	
 
  15 Jan 2007; Luca Longinotti <chtekk@gentoo.org>
 
  -files/mod_auth_kerb-5.0-CVE-2006-5989.patch,
 
  -files/mod_auth_kerb-5.0-axps1.patch,
 
  -files/mod_auth_kerb-5.0-cache.patch,
 
  -files/mod_auth_kerb-5.0-exports.patch,
 
  -files/mod_auth_kerb-5.0-gcc4.patch, metadata.xml,
 
  -mod_auth_kerb-5.0_rc6.ebuild, -mod_auth_kerb-5.0_rc6-r1.ebuild,
 
  -mod_auth_kerb-5.0_rc7.ebuild, -mod_auth_kerb-5.0_rc7-r1.ebuild,
 
  mod_auth_kerb-5.3.ebuild:
 
  Cleanup.
 

	
 
  15 Jan 2007; Torsten Veller <tove@gentoo.org> mod_auth_kerb-5.3.ebuild:
 
  Marked stable on x86 for Ticho (#155782)
 

	
 
  14 Jan 2007; Christian Heim <phreak@gentoo.org>
 
  mod_auth_kerb-5.0_rc7-r1.ebuild:
 
  Also removing the exports patch from 5.0rc7-r1, breaks the compilation
 
  (thanks to Ticho for reporting).
 

	
 
  13 Jan 2007; Christian Heim <phreak@gentoo.org>
 
  mod_auth_kerb-5.0_rc7-r1.ebuild:
 
  Removing mod_auth_kerb-5.0-cache.patch and mod_auth_kerb-5.0-axps1.patch
 
  from the patchlist for mod_auth_kerb-5.0-rc7-r1 (thanks to Andrej Kacian for
 
  reporting it), as UPSTREAM already included these fixes.
 

	
 
  10 Jan 2007; Christian Heim <phreak@gentoo.org>
 
  mod_auth_kerb-5.0_rc6-r1.ebuild, mod_auth_kerb-5.0_rc7-r1.ebuild:
 
  Making mod_auth_kerb-5.0-axps1.patch, mod_auth_kerb-5.0-cache.patch and
 
  mod_auth_kerb-5.0-exports.patch conditional on USE=apache2, allowing
 
  mod_auth_kerb to still work and compile w/ =net-www/apache-1.3*.
 

	
 
*mod_auth_kerb-5.0_rc7-r1 (10 Jan 2007)
 
*mod_auth_kerb-5.0_rc6-r1 (10 Jan 2007)
 

	
 
  10 Jan 2007; Christian Heim <phreak@gentoo.org>
 
  +files/mod_auth_kerb-5.0-CVE-2006-5989.patch,
 
  +files/mod_auth_kerb-5.0-axps1.patch,
 
  +files/mod_auth_kerb-5.0-cache.patch,
 
  +files/mod_auth_kerb-5.0-exports.patch,
 
  +files/mod_auth_kerb-5.0-gcc4.patch, +mod_auth_kerb-5.0_rc6-r1.ebuild,
 
  +mod_auth_kerb-5.0_rc7-r1.ebuild:
 
  Revision bump for bug 155782 (CVE-2006-5989), also fixing compilation with
 
  gcc4.
 

	
 
*mod_auth_kerb-5.3 (07 Jan 2007)
 

	
 
  07 Jan 2007; Bryan Østergaard <kloeri@gentoo.org>
 
  +mod_auth_kerb-5.3.ebuild:
 
  Version bump, fixes bug 148158.
 

	
 
  05 Jun 2006; Luca Longinotti <chtekk@gentoo.org>
 
  -files/4.11-r1/11_mod_auth_kerb.conf, files/11_mod_auth_kerb.conf,
 
  -files/mod_auth_kerb_register.patch, metadata.xml,
 
  mod_auth_kerb-5.0_rc6.ebuild, mod_auth_kerb-5.0_rc7.ebuild:
 
  Cleanup and fix bug #103889.
 

	
 
  04 Jun 2006; Michael Stewart <vericgar@gentoo.org>
 
  -mod_auth_kerb-4.11.ebuild, -mod_auth_kerb-4.11-r1.ebuild:
 
  Remove old-style ebuilds
 

	
 
  13 May 2006; Mark Loeser <halcy0n@gentoo.org>
 
  mod_auth_kerb-5.0_rc6.ebuild:
 
  Stable on x86; bug #128189
 

	
 
  27 Apr 2006; Alec Warner <antarus@gentoo.org>
 
  files/digest-mod_auth_kerb-4.11, files/digest-mod_auth_kerb-4.11-r1,
 
  files/digest-mod_auth_kerb-5.0_rc6, Manifest:
 
  Fixing SHA256 digest, pass four
 

	
 
*mod_auth_kerb-5.0_rc7 (18 Apr 2006)
 

	
 
  18 Apr 2006; Michael Stewart <vericgar@gentoo.org>
 
  +mod_auth_kerb-5.0_rc7.ebuild:
 
  Version bump
 

	
 
  04 Mar 2005; Benedikt Boehm <hollow@gentoo.org>
 
  files/4.11-r1/11_mod_auth_kerb.conf:
 
  added default module config
 

	
 
  17 Feb 2005; Benedikt Boehm <hollow@gentoo.org>
 
  mod_auth_kerb-5.0_rc6.ebuild:
 
  added apache 1.3 support + clean up
 

	
 
*mod_auth_kerb-5.0_rc6 (30 Jan 2005)
 

	
 
  30 Jan 2005; Benedikt Boehm <hollow@gentoo.org>
 
  files/4.11-r1/11_mod_auth_kerb.conf, +mod_auth_kerb-5.0_rc6.ebuild:
 
  Bump to 5.0_rc6. Uses new apache.module.eclass
 

	
 
*mod_auth_kerb-4.11-r1 (09 Jan 2005)
 

	
 
  09 Jan 2005; Benedikt Boehm <hollow@gentoo.org> metadata.xml,
 
  +files/4.11-r1/11_mod_auth_kerb.conf, +mod_auth_kerb-4.11-r1.ebuild:
 
  Apache herd package refresh
 

	
 
  20 Jun 2004; Chuck Short <zul@gentoo.org> mod_auth_kerb-4.11.ebuild:
 
  Ebuild cleanups.
 

	
 
  04 Apr 2004; Chuck Short <zul@gentoo.org> mod_auth_kerb-4.11.ebuild:
 
  Added metadata.xml.
 

	
 
*mod_auth_kerb-4.11 (28 Nov 2002)
 

	
 
  28 Nov 2002; Donny Davies <woodchip@gentoo.org> :
 
  Initial import; created by me.
www-apache/mod_auth_kerb/Manifest
Show inline comments
 
new file 100644
 
AUX 11_mod_auth_kerb.conf 360 RMD160 927b4d9efe81bbe6af2584d542b747d15891703a SHA1 1e0ed18e598ecc5ee920c20f7e5dee90bd231130 SHA256 e4da65c33b031724778df016c21eab6dd6a191eb63bebdbd4c49c50411466be9
 
DIST mod_auth_kerb-5.3.tar.gz 73530 RMD160 c1ba0dc27470ad4b355d795ba51374726ce57f03 SHA1 934e8afbd4e13e208ee0f1cf9e7498d7b6f7acd5 SHA256 89cd779a94405521770cbcb169af5af61e7f2aad91c4f4b82efaae35df7595ec
 
EBUILD mod_auth_kerb-5.3.ebuild 752 RMD160 5cd46f98e51262dfd626605e7b021b2416e846b5 SHA1 c3531e9f86ed5df8c1ce9dbe0a865ae07cea1934 SHA256 5d9933a1e2af11a2a3b033004ef662e2b95573a45b04a25b3b1792b592d25dde
 
MISC ChangeLog 4372 RMD160 8c0229ad067d0cfecd84b09ab877652e189f2714 SHA1 4893f4eec075e6af3940feb81fa5b06c2541d63a SHA256 6f425b170c596410d59dac7f748a0792e5253592d448828634ec88d35fd3aab3
 
MISC metadata.xml 229 RMD160 bb816bd761846ad578f8c1521a1f1ec6297410f4 SHA1 92fdbcb6a85ece96506733ad67a5e4e74a58a529 SHA256 8e1aafc5385805d45759406a60df79f0ce88aa1df1a58d44b596405d64c9226d
www-apache/mod_auth_kerb/files/11_mod_auth_kerb.conf
Show inline comments
 
new file 100644
 
<IfDefine AUTH_KERB>
 
	LoadModule auth_kerb_module    modules/mod_auth_kerb.so
 
</IfDefine>
 

	
 
<IfModule mod_auth_kerb.c>
 
	<Directory "/var/www/private">
 
		AuthType Kerberos
 
		AuthName "Kerberos Login"
 
		# See the INSTALL file about howto create the keytab
 
		Krb5Keytab conf/apache.keytab
 
		KrbAuthRealms EXAMPLE.COM
 
		Require valid-user
 
	</Directory>
 
</IfModule>
www-apache/mod_auth_kerb/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>apache</herd>
 
	<maintainer>
 
		<email>apache-bugs@gentoo.org</email>
 
	</maintainer>
 
</pkgmetadata>
www-apache/mod_auth_kerb/mod_auth_kerb-5.3.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_kerb/mod_auth_kerb-5.3.ebuild,v 1.2 2007/09/21 20:59:36 hollow Exp $
 

	
 
inherit apache-module
 

	
 
DESCRIPTION="An Apache authentication module using Kerberos."
 
HOMEPAGE="http://modauthkerb.sourceforge.net/"
 
SRC_URI="mirror://sourceforge/modauthkerb/${P}.tar.gz"
 

	
 
LICENSE="as-is"
 
SLOT="0"
 
KEYWORDS="x86 amd64"
 
IUSE=""
 

	
 
DEPEND="virtual/krb5"
 
RDEPEND="${DEPEND}"
 

	
 
APACHE2_MOD_CONF="11_${PN}"
 
APACHE2_MOD_DEFINE="AUTH_KERB"
 

	
 
DOCFILES="INSTALL README"
 

	
 
need_apache
 

	
 
src_compile() {
 
	CFLAGS="" APXS="${APXS2}" econf --with-krb5=/usr --without-krb4 || die "econf failed"
 
	emake || die "emake failed"
 
}
x11-drivers/.xf86-video-ati/Manifest
Show inline comments
 
new file 100644
 
AUX ati.xinf 2028 RMD160 0f57c7452bbf9d2d8d0a96f6f480b98e8a5c6d5f SHA1 51dc48aba9d3e2613d230837d369ebcab86b4c5c SHA256 79540e91ab1baf462ded22a5ef0f3cff0d95bef22db4ec13ea7101dbff29aa74
 
AUX r128.xinf 2491 RMD160 02f5ae030596643bdc2ce4982ee47fdbdf656f95 SHA1 cee72fd687711845f4fc435cac00b715fc19b1d3 SHA256 d8f50f12b291d526353aa5d76c95137dafbff22bf47cbb751b686252d104279b
 
AUX radeon.xinf 12504 RMD160 48b32c2d4acc1edff0e814a173ecce1b6026ba7c SHA1 1f4d98536d013d3ac6999781578d381bbd94023f SHA256 f23555826bfce07dfaafba60957e347e36fdb694c71bc3ad39d172e3863e7c96
 
DIST xf86-video-ati-6.9.0.tar.bz2 777455 RMD160 7c990dc8c770865d6c8a45e4861207c1dda07a13 SHA1 558f94b76e1b4c3c4429ab1fdc3e3c8523e414dc SHA256 682cd1916c386c192dd83d22d07529a247e72a1052c4a008c5466a155413d7c2
 
EBUILD xf86-video-ati-6.9.0.ebuild 1295 RMD160 2e968aad455ad588dfdf9b14e9d4f98707b160d8 SHA1 14333c736592c727962d11504e4f8481bf34ca6d SHA256 929656208c28cbabe536422580b45ed42ed8a03f15ccfb1e8225de8127d5dc5a
x11-drivers/.xf86-video-ati/files/ati.xinf
Show inline comments
 
new file 100644
 
alias pcivideo:v00001002d00004158sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004354sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004358sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004554sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004654sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004742sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004744sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004747sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004749sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d0000474Csv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d0000474Dsv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d0000474Esv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d0000474Fsv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004750sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004751sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004752sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004753sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004754sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004755sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004756sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004757sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004758sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004759sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d0000475Asv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004C42sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004C44sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004C47sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004C49sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004C4Dsv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004C4Esv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004C50sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004C51sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004C52sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004C53sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00004C54sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00005354sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00005654sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00005655sv*sd*bc*sc*i* ati
 
alias pcivideo:v00001002d00005656sv*sd*bc*sc*i* ati
x11-drivers/.xf86-video-ati/files/r128.xinf
Show inline comments
 
new file 100644
 
alias pcivideo:v00001002d00004C45sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00004C46sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00004D46sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00004D4Csv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005041sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005042sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005043sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005044sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005045sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005046sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005047sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005048sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005049sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d0000504Asv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d0000504Bsv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d0000504Csv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d0000504Dsv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d0000504Esv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d0000504Fsv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005050sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005051sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005052sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005053sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005054sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005055sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005056sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005057sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005058sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005245sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005246sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005247sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d0000524Bsv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d0000524Csv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005345sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005346sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005347sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005348sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d0000534Bsv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d0000534Csv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d0000534Dsv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d0000534Esv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005446sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d0000544Csv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005452sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005453sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005454sv*sd*bc*sc*i* r128
 
alias pcivideo:v00001002d00005455sv*sd*bc*sc*i* r128
x11-drivers/.xf86-video-ati/files/radeon.xinf
Show inline comments
 
new file 100644
 
# Secret decoder ring:
 
# R100: Original radeon through 7500 (rv200 counts as R100)
 
# R200: 8500 through 9250
 
# R300: 9500 through X600
 
# R400: X700 through X850
 
# R500: X1xxx
 
#
 
# TODO: add mobility series info
 
#
 
# There are lots of "secondary" PCI IDs for that other OS; we don't list
 
# them here and the driver ignores them anyway.
 

	
 
alias pcivideo:v00001002d00003150sv*sd*bc*sc*i* radeon # M24
 
alias pcivideo:v00001002d00003151sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00003152sv*sd*bc*sc*i* radeon # M22
 
alias pcivideo:v00001002d00003153sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00003154sv*sd*bc*sc*i* radeon # M24
 
alias pcivideo:v00001002d00003156sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00003E50sv*sd*bc*sc*i* radeon # rv380
 
alias pcivideo:v00001002d00003E51sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00003E52sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00003E53sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00003E54sv*sd*bc*sc*i* radeon # rv380
 
alias pcivideo:v00001002d00003E56sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00004136sv*sd*bc*sc*i* radeon # IGP 320M
 
alias pcivideo:v00001002d00004137sv*sd*bc*sc*i* radeon # IGP 3[345]0
 
alias pcivideo:v00001002d00004144sv*sd*bc*sc*i* radeon # R300 AD
 
alias pcivideo:v00001002d00004145sv*sd*bc*sc*i* radeon # R300 AE
 
alias pcivideo:v00001002d00004146sv*sd*bc*sc*i* radeon # R300 AF
 
alias pcivideo:v00001002d00004147sv*sd*bc*sc*i* radeon # R300 AG
 
alias pcivideo:v00001002d00004148sv*sd*bc*sc*i* radeon # R350 AH
 
alias pcivideo:v00001002d00004149sv*sd*bc*sc*i* radeon # R350 AI
 
alias pcivideo:v00001002d0000414Asv*sd*bc*sc*i* radeon # R350 AJ
 
alias pcivideo:v00001002d0000414Bsv*sd*bc*sc*i* radeon # R350 AK
 
alias pcivideo:v00001002d00004150sv*sd*bc*sc*i* radeon # RV350 AP
 
alias pcivideo:v00001002d00004151sv*sd*bc*sc*i* radeon # RV350 AQ
 
alias pcivideo:v00001002d00004152sv*sd*bc*sc*i* radeon # RV350 AR
 
alias pcivideo:v00001002d00004153sv*sd*bc*sc*i* radeon # RV350 AS
 
alias pcivideo:v00001002d00004154sv*sd*bc*sc*i* radeon # RV350 AT
 
alias pcivideo:v00001002d00004155sv*sd*bc*sc*i* radeon # RV350 AU
 
alias pcivideo:v00001002d00004156sv*sd*bc*sc*i* radeon # RV350 AV
 
alias pcivideo:v00001002d00004157sv*sd*bc*sc*i* radeon # RV350 AW
 
alias pcivideo:v00001002d00004237sv*sd*bc*sc*i* radeon # 7000 IGP
 
alias pcivideo:v00001002d00004242sv*sd*bc*sc*i* radeon # R200 BB
 
alias pcivideo:v00001002d00004243sv*sd*bc*sc*i* radeon # R200 DC
 
alias pcivideo:v00001002d00004336sv*sd*bc*sc*i* radeon # Mobility U1
 
alias pcivideo:v00001002d00004337sv*sd*bc*sc*i* radeon # IGP 3[345]0M
 
alias pcivideo:v00001002d00004437sv*sd*bc*sc*i* radeon # Mobility 7000 IGP
 
alias pcivideo:v00001002d00004964sv*sd*bc*sc*i* radeon # RV250 Id
 
alias pcivideo:v00001002d00004965sv*sd*bc*sc*i* radeon # RV250 Ie
 
alias pcivideo:v00001002d00004966sv*sd*bc*sc*i* radeon # RV250 If
 
alias pcivideo:v00001002d00004967sv*sd*bc*sc*i* radeon # RV250 Ig
 
alias pcivideo:v00001002d00004A48sv*sd*bc*sc*i* radeon # R420 JH
 
alias pcivideo:v00001002d00004A49sv*sd*bc*sc*i* radeon # R420 JI
 
alias pcivideo:v00001002d00004A4Asv*sd*bc*sc*i* radeon # R420 JJ
 
alias pcivideo:v00001002d00004A4Bsv*sd*bc*sc*i* radeon # R420 JK
 
alias pcivideo:v00001002d00004A4Csv*sd*bc*sc*i* radeon # R420 JL
 
alias pcivideo:v00001002d00004A4Dsv*sd*bc*sc*i* radeon # R420 JM
 
alias pcivideo:v00001002d00004A4Esv*sd*bc*sc*i* radeon # M18 JN
 
alias pcivideo:v00001002d00004A50sv*sd*bc*sc*i* radeon # R420 JP
 
alias pcivideo:v00001002d00004A54sv*sd*bc*sc*i* radeon # R420 JT
 
alias pcivideo:v00001002d00004B49sv*sd*bc*sc*i* radeon # R480
 
alias pcivideo:v00001002d00004B4Asv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00004B4Bsv*sd*bc*sc*i* radeon # R480
 
alias pcivideo:v00001002d00004B4Csv*sd*bc*sc*i* radeon # R481
 
alias pcivideo:v00001002d00004C57sv*sd*bc*sc*i* radeon # M7 LW
 
alias pcivideo:v00001002d00004C58sv*sd*bc*sc*i* radeon # M7 LX
 
alias pcivideo:v00001002d00004C59sv*sd*bc*sc*i* radeon # M6 LY
 
alias pcivideo:v00001002d00004C5Asv*sd*bc*sc*i* radeon # M6 LZ
 
alias pcivideo:v00001002d00004C64sv*sd*bc*sc*i* radeon # M9 Ld
 
alias pcivideo:v00001002d00004C65sv*sd*bc*sc*i* radeon # M9 Le
 
alias pcivideo:v00001002d00004C66sv*sd*bc*sc*i* radeon # R250 Lf
 
alias pcivideo:v00001002d00004C67sv*sd*bc*sc*i* radeon # R250 Lg
 
# alias pcivideo:v00001002d00004C6Esv*sd*bc*sc*i* radeon # secondary
 
alias pcivideo:v00001002d00004E44sv*sd*bc*sc*i* radeon # R300 ND
 
alias pcivideo:v00001002d00004E45sv*sd*bc*sc*i* radeon # R300 NE
 
alias pcivideo:v00001002d00004E46sv*sd*bc*sc*i* radeon # RV350 NF
 
alias pcivideo:v00001002d00004E47sv*sd*bc*sc*i* radeon # R300 NG
 
alias pcivideo:v00001002d00004E48sv*sd*bc*sc*i* radeon # R350 NH
 
alias pcivideo:v00001002d00004E49sv*sd*bc*sc*i* radeon # R350 NI
 
alias pcivideo:v00001002d00004E4Asv*sd*bc*sc*i* radeon # RV350 NJ
 
alias pcivideo:v00001002d00004E4Bsv*sd*bc*sc*i* radeon # R350 NK
 
alias pcivideo:v00001002d00004E50sv*sd*bc*sc*i* radeon # RV350 NP
 
alias pcivideo:v00001002d00004E51sv*sd*bc*sc*i* radeon # M10 NQ
 
alias pcivideo:v00001002d00004E52sv*sd*bc*sc*i* radeon # RV350 NR
 
alias pcivideo:v00001002d00004E53sv*sd*bc*sc*i* radeon # M10 NS
 
alias pcivideo:v00001002d00004E54sv*sd*bc*sc*i* radeon # M10 NT
 
alias pcivideo:v00001002d00004E56sv*sd*bc*sc*i* radeon # M10 NV
 
# 4F72?  seems unlikely, in a secondary range.
 
alias pcivideo:v00001002d00005144sv*sd*bc*sc*i* radeon # R100 QD
 
alias pcivideo:v00001002d00005145sv*sd*bc*sc*i* radeon # R100 QE
 
alias pcivideo:v00001002d00005146sv*sd*bc*sc*i* radeon # R100 QF
 
alias pcivideo:v00001002d00005147sv*sd*bc*sc*i* radeon # R100 QG
 
# old school method of doing magic names for subdevices
 
# alias pcivideo:v00001002d00005148sv00001002sd0000010Abc*sc*i* radeon
 
# alias pcivideo:v00001002d00005148sv00001002sd00000152bc*sc*i* radeon
 
# alias pcivideo:v00001002d00005148sv00001002sd00000162bc*sc*i* radeon
 
# alias pcivideo:v00001002d00005148sv00001002sd00000172bc*sc*i* radeon
 
alias pcivideo:v00001002d00005148sv*sd*bc*sc*i* radeon # R200 QH
 
alias pcivideo:v00001002d00005149sv*sd*bc*sc*i* radeon # R200 QI
 
alias pcivideo:v00001002d0000514Asv*sd*bc*sc*i* radeon # R200 QJ
 
alias pcivideo:v00001002d0000514Bsv*sd*bc*sc*i* radeon # R200 QK
 
alias pcivideo:v00001002d0000514Csv*sd*bc*sc*i* radeon # R200 QL
 
alias pcivideo:v00001002d0000514Dsv*sd*bc*sc*i* radeon # R200 QM
 
alias pcivideo:v00001002d0000514Esv*sd*bc*sc*i* radeon # R200 QN
 
alias pcivideo:v00001002d0000514Fsv*sd*bc*sc*i* radeon # R200 QO
 
alias pcivideo:v00001002d00005154sv*sd*bc*sc*i* radeon # R200 QT
 
alias pcivideo:v00001002d00005155sv*sd*bc*sc*i* radeon # R200 QU
 
alias pcivideo:v00001002d00005157sv*sd*bc*sc*i* radeon # RV200 QW
 
alias pcivideo:v00001002d00005158sv*sd*bc*sc*i* radeon # RV200 QX
 
# alias pcivideo:v00001002d00005159sv00001002sd0000000Bbc*sc*i* radeon
 
# alias pcivideo:v00001002d00005159sv00001002sd0000013Abc*sc*i* radeon
 
alias pcivideo:v00001002d00005159sv*sd*bc*sc*i* radeon # RV200 QY
 
alias pcivideo:v00001002d0000515Asv*sd*bc*sc*i* radeon # RV200 QZ
 
alias pcivideo:v00001002d0000515Esv*sd*bc*sc*i* radeon # ES1000
 
alias pcivideo:v00001002d0000515Fsv*sd*bc*sc*i* radeon # ES1000 (?)
 
alias pcivideo:v00001002d00005168sv*sd*bc*sc*i* radeon # R200 Qh
 
alias pcivideo:v00001002d00005169sv*sd*bc*sc*i* radeon # R200 Qi
 
alias pcivideo:v00001002d0000516Asv*sd*bc*sc*i* radeon # R200 Qj
 
alias pcivideo:v00001002d0000516Bsv*sd*bc*sc*i* radeon # R200 Qk
 
alias pcivideo:v00001002d0000516Csv*sd*bc*sc*i* radeon # R200 Ql
 
alias pcivideo:v00001002d00005460sv*sd*bc*sc*i* radeon # M22
 
alias pcivideo:v00001002d00005461sv*sd*bc*sc*i* radeon # M24
 
alias pcivideo:v00001002d00005462sv*sd*bc*sc*i* radeon # M22
 
alias pcivideo:v00001002d00005463sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00005464sv*sd*bc*sc*i* radeon # M22
 
alias pcivideo:v00001002d00005465sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00005466sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00005467sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00005548sv*sd*bc*sc*i* radeon # R423 UH
 
alias pcivideo:v00001002d00005549sv*sd*bc*sc*i* radeon # R423 UI
 
alias pcivideo:v00001002d0000554Asv*sd*bc*sc*i* radeon # R423 UJ
 
alias pcivideo:v00001002d0000554Bsv*sd*bc*sc*i* radeon # R423 UK
 
alias pcivideo:v00001002d0000554Csv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d0000554Dsv*sd*bc*sc*i* radeon # R430 UM
 
alias pcivideo:v00001002d0000554Esv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d0000554Fsv*sd*bc*sc*i* radeon # R430 UO
 
alias pcivideo:v00001002d00005550sv*sd*bc*sc*i* radeon # R423 UP
 
alias pcivideo:v00001002d00005551sv*sd*bc*sc*i* radeon # R423 UQ
 
alias pcivideo:v00001002d00005552sv*sd*bc*sc*i* radeon # R423 UR
 
alias pcivideo:v00001002d00005554sv*sd*bc*sc*i* radeon # R423 UT
 
alias pcivideo:v00001002d0000564Asv*sd*bc*sc*i* radeon # M26
 
alias pcivideo:v00001002d0000564Bsv*sd*bc*sc*i* radeon # M26
 
alias pcivideo:v00001002d0000564Fsv*sd*bc*sc*i* radeon # M26
 
alias pcivideo:v00001002d00005652sv*sd*bc*sc*i* radeon # M26
 
alias pcivideo:v00001002d00005653sv*sd*bc*sc*i* radeon # M26
 
alias pcivideo:v00001002d00005834sv*sd*bc*sc*i* radeon # RS300M
 
alias pcivideo:v00001002d00005835sv*sd*bc*sc*i* radeon # RS300M
 
alias pcivideo:v00001002d00005836sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00005837sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00005944sv*sd*bc*sc*i* radeon # RV280
 
alias pcivideo:v00001002d00005954sv*sd*bc*sc*i* radeon # RS480
 
alias pcivideo:v00001002d00005955sv*sd*bc*sc*i* radeon # RS482
 
alias pcivideo:v00001002d00005960sv*sd*bc*sc*i* radeon # RV280
 
alias pcivideo:v00001002d00005961sv*sd*bc*sc*i* radeon # RV280
 
alias pcivideo:v00001002d00005962sv*sd*bc*sc*i* radeon # RV280
 
alias pcivideo:v00001002d00005964sv*sd*bc*sc*i* radeon # RV280
 
alias pcivideo:v00001002d00005965sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00005969sv*sd*bc*sc*i* radeon # ES1000
 
alias pcivideo:v00001002d00005974sv*sd*bc*sc*i* radeon # RS482
 
alias pcivideo:v00001002d00005975sv*sd*bc*sc*i* radeon # RS482
 
alias pcivideo:v00001002d00005A41sv*sd*bc*sc*i* radeon # RS400
 
alias pcivideo:v00001002d00005A42sv*sd*bc*sc*i* radeon # RS400
 
alias pcivideo:v00001002d00005A61sv*sd*bc*sc*i* radeon # RC410
 
alias pcivideo:v00001002d00005A62sv*sd*bc*sc*i* radeon # RC410
 
alias pcivideo:v00001002d00005B60sv*sd*bc*sc*i* radeon # RV370
 
alias pcivideo:v00001002d00005B61sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00005B62sv*sd*bc*sc*i* radeon # RV380
 
alias pcivideo:v00001002d00005B63sv*sd*bc*sc*i* radeon # RV370
 
alias pcivideo:v00001002d00005B64sv*sd*bc*sc*i* radeon # RV370
 
alias pcivideo:v00001002d00005B65sv*sd*bc*sc*i* radeon # RV370
 
alias pcivideo:v00001002d00005B66sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00005B67sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00005B70sv*sd*bc*sc*i* radeon # RV370
 
alias pcivideo:v00001002d00005B72sv*sd*bc*sc*i* radeon # RV380
 
alias pcivideo:v00001002d00005C61sv*sd*bc*sc*i* radeon # M9+
 
alias pcivideo:v00001002d00005C63sv*sd*bc*sc*i* radeon # M9+
 
alias pcivideo:v00001002d00005D48sv*sd*bc*sc*i* radeon # M28
 
alias pcivideo:v00001002d00005D49sv*sd*bc*sc*i* radeon # M28
 
alias pcivideo:v00001002d00005D4Asv*sd*bc*sc*i* radeon # M28
 
alias pcivideo:v00001002d00005D4Csv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00005D4Dsv*sd*bc*sc*i* radeon # R480
 
alias pcivideo:v00001002d00005D4Esv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00005D4Fsv*sd*bc*sc*i* radeon # R480
 
alias pcivideo:v00001002d00005D50sv*sd*bc*sc*i* radeon # XXX not in pci.ids
 
alias pcivideo:v00001002d00005D52sv*sd*bc*sc*i* radeon # R480
 
alias pcivideo:v00001002d00005D57sv*sd*bc*sc*i* radeon # R423
 
alias pcivideo:v00001002d00005E48sv*sd*bc*sc*i* radeon # RV410
 
alias pcivideo:v00001002d00005E49sv*sd*bc*sc*i* radeon # RV410
 
alias pcivideo:v00001002d00005E4Asv*sd*bc*sc*i* radeon # RV410
 
alias pcivideo:v00001002d00005E4Bsv*sd*bc*sc*i* radeon # RV410
 
alias pcivideo:v00001002d00005E4Csv*sd*bc*sc*i* radeon # RV410
 
alias pcivideo:v00001002d00005E4Dsv*sd*bc*sc*i* radeon # RV410
 
alias pcivideo:v00001002d00005F57sv*sd*bc*sc*i* radeon # R423
 
alias pcivideo:v00001002d00007834sv*sd*bc*sc*i* radeon # 9100 IGP
 
alias pcivideo:v00001002d00007835sv*sd*bc*sc*i* radeon # 9200 IGP
 
alias pcivideo:v00001002d00007C37sv*sd*bc*sc*i* radeon # RV350
x11-drivers/.xf86-video-ati/xf86-video-ati-6.9.0.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-ati/xf86-video-ati-6.9.0.ebuild,v 1.1 2008/06/27 05:20:55 dberkholz Exp $
 

	
 
# Must be before x-modular eclass is inherited
 
#SNAPSHOT="yes"
 

	
 
inherit x-modular eutils
 

	
 
DESCRIPTION="ATI video driver"
 

	
 
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
 
IUSE="dri"
 

	
 
RDEPEND=">=x11-base/xorg-server-1.2"
 
DEPEND="${RDEPEND}
 
	x11-proto/fontsproto
 
	x11-proto/randrproto
 
	x11-proto/videoproto
 
	x11-proto/xextproto
 
	x11-proto/xineramaproto
 
	x11-proto/xf86miscproto
 
	x11-proto/xproto
 
	dri? ( x11-proto/glproto
 
			x11-proto/xf86driproto
 
			>=x11-libs/libdrm-2 )"
 

	
 
CONFIGURE_OPTIONS="$(use_enable dri)"
 

	
 
PATCHES=""
 

	
 
pkg_setup() {
 
	if use dri && ! built_with_use x11-base/xorg-server dri; then
 
		die "Build x11-base/xorg-server with USE=dri."
 
	fi
 
}
 

	
 
pkg_postinst() {
 
	x-modular_pkg_postinst
 

	
 
	ewarn "If you have a mach64 or r128 video card, read this"
 
	ewarn "The mach64 and r128 drivers moved to their own packages,"
 
	ewarn "xf86-video-mach64 and xf86-video-r128. If these weren't installed"
 
	ewarn "automatically by xorg-server and you have one of these cards,"
 
	ewarn "check your VIDEO_CARDS settings."
 
	ebeep
 
	epause
 
}
x11-libs/wxX11/Manifest
Show inline comments
 
new file 100644
 
DIST wxX11-2.8.8.tar.bz2 9344682 RMD160 38ff3f37fe87787ea26bc1a508464fba905092a7 SHA1 6750d0e275a78c582a9de50379a02dac66216648 SHA256 9915e1e482eea64d219a328530730df7255dd89680205a9a954da369b453919c
 
EBUILD wxX11-2.8.8.ebuild 1212 RMD160 75e5ee15a804687374d3d926c947c929c1bd2896 SHA1 e3f9dee3b7368568d86d874f9b52645e63a8f9ba SHA256 c5d542c29d1e911d00b585eddb4111ac593c2540800ac0f7c6afb04b983fe18e
x11-libs/wxX11/wxX11-2.8.8.ebuild
Show inline comments
 
new file 100644
 
#derived of:
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.8.0.ebuild,v 1.1 2008/06/29 05:22:00 dirtyepic Exp $
 

	
 

	
 

	
 
inherit eutils
 

	
 
DESCRIPTION="X11 version of the wxWidgets, a cross-platform C++ GUI toolkit."
 

	
 
SRC_URI="mirror://sourceforge/wxwindows/${P}.tar.bz2"
 

	
 
KEYWORDS="amd64"
 

	
 
SLOT="0"
 
LICENSE="wxWinLL-3
 
		GPL-2"
 

	
 
RDEPEND="
 
jpeg? ( media-libs/jpeg )
 
png? ( media-libs/png )
 
tiff? ( media-libs/tiff )
 
xpm? ( x11-libs/Xpm )
 
sdl? media-libs/libsdl
 
gnome? (
 
		gnome-base/libgnomeprint
 
		)
 
zlib? sys-libs/zlib
 
odbc?   ( dev-db/unixODBC )
 
expat? ( dev-libs/expat )
 
gstreamer? ( media-libs/gstreamer )"
 
DEPEND="${RDEPEND}
 
		dev-util/pkgconfig
 
		x11-proto/xproto
 
		x11-proto/xineramaproto
 
		x11-proto/xf86vidmodeproto"
 

	
 
src_unpack()
 
{
 
	unpack ${A}
 
}
 

	
 
src_compile()
 
{
 
	mkdir "${S}"/wxx11_build
 
	cd "${S}"/wxx11_build
 

	
 
	ECONF_SOURCE="${S}" econf || die "configure failed."
 

	
 
	emake || die "make failed."
 
}
 

	
 
src_install()
 
{
 
	cd "${S}"/wxx11_build
 

	
 
	emake DESTDIR="${D}" install || die "install failed."
 
}
 

	
 
pkg_postrm() {
 
	has_version app-admin/eselect-wxwidgets \
 
		&& eselect wxwidgets update
 
}
0 comments (0 inline, 0 general)