commit:     b227c9abbc251cf16bb874bae1abefb1daef2b51
Author:     layman <layman <AT> localhost>
AuthorDate: Thu Apr  3 11:59:58 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Apr  3 12:33:35 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=b227c9ab

app-text/po4a: remove --nonet from xsltproc

Package-Manager: portage-2.2.10

---
 app-text/po4a/ChangeLog                          | 280 +++++++++++++++++++++++
 app-text/po4a/files/po4a-0.45-remove-nonet.patch |  68 ++++++
 app-text/po4a/metadata.xml                       |   5 +
 app-text/po4a/po4a-0.45-r99.ebuild               |  35 +++
 4 files changed, 388 insertions(+)

diff --git a/app-text/po4a/ChangeLog b/app-text/po4a/ChangeLog
new file mode 100644
index 0000000..5357169
--- /dev/null
+++ b/app-text/po4a/ChangeLog
@@ -0,0 +1,280 @@
+# ChangeLog for app-text/po4a
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/ChangeLog,v 1.72 2014/02/15 
12:07:18 hwoarang Exp $
+
+  15 Feb 2014; Markos Chandras <[email protected]> po4a-0.45.ebuild:
+  Add ~mips
+
+  11 Jan 2014;  <[email protected]> -po4a-0.38.ebuild, -po4a-0.39.ebuild,
+  -po4a-0.40.1.ebuild, -po4a-0.41.ebuild:
+  Drop old
+
+  05 Jan 2014; Naohiro Aota <[email protected]> po4a-0.45.ebuild:
+  Add ~x86-fbsd
+
+*po4a-0.45 (29 Oct 2013)
+
+  29 Oct 2013; Patrick Lauer <[email protected]> +po4a-0.45.ebuild:
+  Bump
+
+  24 Feb 2013; Agostino Sarubbo <[email protected]> po4a-0.42.ebuild:
+  Stable for sh, wrt bug #453122
+
+  19 Feb 2013; Agostino Sarubbo <[email protected]> po4a-0.42.ebuild:
+  Stable for s390, wrt bug #453122
+
+  06 Feb 2013; Agostino Sarubbo <[email protected]> po4a-0.42.ebuild:
+  Stable for sparc, wrt bug #453122
+
+  05 Feb 2013; Jeroen Roovers <[email protected]> po4a-0.42.ebuild:
+  Stable for HPPA (bug #453122).
+
+  04 Feb 2013; Agostino Sarubbo <[email protected]> po4a-0.42.ebuild:
+  Stable for alpha, wrt bug #453122
+
+  29 Jan 2013; Agostino Sarubbo <[email protected]> po4a-0.42.ebuild:
+  Stable for ia64, wrt bug #453122
+
+  26 Jan 2013; Agostino Sarubbo <[email protected]> po4a-0.42.ebuild:
+  Stable for ppc64, wrt bug #453122
+
+  26 Jan 2013; Agostino Sarubbo <[email protected]> po4a-0.42.ebuild:
+  Stable for ppc, wrt bug #453122
+
+  26 Jan 2013; Markus Meier <[email protected]> po4a-0.42.ebuild:
+  arm stable, bug #453122
+
+  24 Jan 2013; Agostino Sarubbo <[email protected]> po4a-0.42.ebuild:
+  Stable for x86, wrt bug #453122
+
+  24 Jan 2013; Agostino Sarubbo <[email protected]> po4a-0.42.ebuild:
+  Stable for amd64, wrt bug #453122
+
+  20 Sep 2012; Tim Harder <[email protected]> metadata.xml:
+  Remove redundant maintainer from metadata.
+
+*po4a-0.42 (02 Sep 2012)
+
+  02 Sep 2012; Tim Harder <[email protected]> +po4a-0.42.ebuild:
+  Version bump.
+
+  24 Mar 2012; Fabian Groffen <[email protected]> po4a-0.41.ebuild:
+  Marked ~x64-macos
+
+  29 May 2011; Torsten Veller <[email protected]> +files/0.41-po4a-build.patch,
+  po4a-0.41.ebuild:
+  Depend on dev-libs/libxslt, app-text/docbook-xsl-stylesheets (#368909),
+  app-text/docbook-xml-dtd:4.1.2. Work around the endless waiting if output is
+  redirected (#369011)
+
+*po4a-0.41 (22 May 2011)
+
+  22 May 2011; Torsten Veller <[email protected]> +po4a-0.41.ebuild:
+  Version bump. Thanks to Tim Harder (#368303)
+
+  07 Jan 2011; Kacper Kowalik <[email protected]> po4a-0.38.ebuild:
+  ppc64 stable wrt #350877
+
+  19 Oct 2010; Torsten Veller <[email protected]>
+  -files/0.36-3-debian.patches, -files/po4a-fix-io-capture.patch:
+  Cleanup
+
+  19 Oct 2010; Torsten Veller <[email protected]> -po4a-0.32-r1.ebuild,
+  -po4a-0.34.ebuild, -po4a-0.36.ebuild, -po4a-0.36.4.ebuild,
+  -po4a-0.37.1.ebuild, po4a-0.38.ebuild, po4a-0.39.ebuild:
+  Disable tests because they fail with gettext-0.18.1.1. Cleanup
+
+*po4a-0.40.1 (19 Oct 2010)
+
+  19 Oct 2010; Torsten Veller <[email protected]> +po4a-0.40.1.ebuild,
+  +files/compare-po.pl:
+  Version bump (#338520). Tests work with gettext-0.18.1.1 (#341073)
+
+  08 May 2010; Raúl Porcel <[email protected]> po4a-0.38.ebuild:
+  alpha/ia64/m68k/s390/sh/sparc stable wrt #312979
+
+  22 Apr 2010; Jeroen Roovers <[email protected]> po4a-0.38.ebuild:
+  Stable for HPPA (bug #312979).
+
+  18 Apr 2010; Markus Meier <[email protected]> po4a-0.38.ebuild:
+  arm stable, bug #312979
+
+  18 Apr 2010; <[email protected]> po4a-0.38.ebuild:
+  ppc stable #312979
+
+  16 Apr 2010; Markos Chandras <[email protected]> po4a-0.38.ebuild:
+  Stable on amd64 wrt bug #312979
+
+*po4a-0.39 (13 Apr 2010)
+
+  13 Apr 2010; Torsten Veller <[email protected]> +po4a-0.39.ebuild:
+  Version bump. Thanks to Tim Harder (#314917)
+
+  12 Apr 2010; Pawel Hajdan jr <[email protected]> po4a-0.38.ebuild:
+  x86 stable wrt bug #312979
+
+*po4a-0.38 (18 Jan 2010)
+
+  18 Jan 2010; Torsten Veller <[email protected]> +po4a-0.38.ebuild:
+  Version bump
+
+  02 Jan 2010; Christian Faulhammer <[email protected]> po4a-0.37.1.ebuild:
+  Transfer Prefix keywords
+
+*po4a-0.37.1 (30 Nov 2009)
+
+  30 Nov 2009; Torsten Veller <[email protected]> +po4a-0.37.1.ebuild:
+  Version bump
+
+*po4a-0.36.4 (05 Sep 2009)
+
+  05 Sep 2009; Torsten Veller <[email protected]>
+  +files/po4a-fix-io-capture.patch, +po4a-0.36.4.ebuild:
+  Version bump. Workaround for the perl hangs bug (#275268). Thanks to Kent
+  Fredric
+
+  31 May 2009; Brent Baude <[email protected]> po4a-0.36.ebuild:
+  Marking po4a-0.36 ~ppc64 for bug 267987
+
+*po4a-0.36 (03 Apr 2009)
+
+  03 Apr 2009; Torsten Veller <[email protected]>
+  +files/0.36-3-debian.patches, +po4a-0.36.ebuild:
+  Version bump (#264474)
+
+  19 Nov 2008; Torsten Veller <[email protected]> -po4a-0.21.ebuild,
+  -po4a-0.25.ebuild, -po4a-0.29.ebuild, -po4a-0.30.ebuild,
+  -po4a-0.32.ebuild, -po4a-0.33.3.ebuild:
+  Cleanup
+
+  18 Nov 2008; Torsten Veller <[email protected]> po4a-0.21.ebuild,
+  po4a-0.25.ebuild, po4a-0.29.ebuild, po4a-0.30.ebuild, po4a-0.32.ebuild,
+  po4a-0.32-r1.ebuild, po4a-0.33.3.ebuild, po4a-0.34.ebuild:
+  New virtuals: module-build
+
+*po4a-0.34 (31 Jul 2008)
+
+  31 Jul 2008; Torsten Veller <[email protected]> +po4a-0.34.ebuild:
+  Version bump (#233474)
+
+*po4a-0.33.3 (30 Apr 2008)
+
+  30 Apr 2008; Torsten Veller <[email protected]> +po4a-0.33.3.ebuild:
+  Version bump.
+
+  24 Dec 2007; Brent Baude <[email protected]> po4a-0.32-r1.ebuild:
+  Marking po4a-0.32-r1 ppc for deb to bug 203220
+
+  11 Sep 2007; Raúl Porcel <[email protected]> po4a-0.32-r1.ebuild:
+  alpha/ia64 stable
+
+  27 Aug 2007; Markus Ullmann <[email protected]> po4a-0.32-r1.ebuild:
+  Stable on x86 wrt bug #189440
+
+  27 Aug 2007; Jeroen Roovers <[email protected]> po4a-0.32-r1.ebuild:
+  Stable for HPPA (bug #189440).
+
+  27 Aug 2007; Ferris McCormick <[email protected]> po4a-0.32-r1.ebuild:
+  Sparc stable --- security Bug #189440 --- Builds itself and runs test suite.
+
+  25 Aug 2007; Christoph Mende <[email protected]> po4a-0.32-r1.ebuild:
+  Stable on amd64 wrt security bug #189440
+
+*po4a-0.32-r1 (25 Aug 2007)
+
+  25 Aug 2007; Christian Hartmann <[email protected]> +po4a-0.32-r1.ebuild:
+  Fix test failures on sgml test mentioned in bug #189440 - many thanks go to
+  upstream (nekral in #po4a on oftc) for helping me fix this one!
+
+  19 Aug 2007; Ferris McCormick <[email protected]> po4a-0.32.ebuild:
+  Sparc stable --- Security Bug #189440 --- builds itself and passes all 134
+  tests.
+
+  19 Aug 2007; Jeroen Roovers <[email protected]> po4a-0.32.ebuild:
+  Stable for HPPA (bug #189440).
+
+*po4a-0.32 (19 Aug 2007)
+
+  19 Aug 2007; Christian Hartmann <[email protected]> +po4a-0.32.ebuild:
+  Version bump; bug #189101
+
+  19 Jul 2007; Jeroen Roovers <[email protected]> po4a-0.30.ebuild:
+  Stable for HPPA too.
+
+  21 Jun 2007; Gustavo Zacarias <[email protected]> po4a-0.30.ebuild:
+  Stable on sparc
+
+  24 May 2007; Bryan Østergaard <[email protected]> po4a-0.30.ebuild:
+  Stable on IA64.
+
+  14 Apr 2007; Michael Cummings <[email protected]> po4a-0.30.ebuild:
+  amd64 stable
+
+  12 Mar 2007; Raúl Porcel <[email protected]> po4a-0.25.ebuild:
+  x86 stable
+
+*po4a-0.30 (23 Jan 2007)
+
+  23 Jan 2007; Michael Cummings <[email protected]> +po4a-0.30.ebuild:
+  Bug 160531, version bump
+
+*po4a-0.29 (02 Jan 2007)
+
+  02 Jan 2007; Michael Cummings <[email protected]> +po4a-0.29.ebuild:
+  Version bump, bug 158201, thanks to Nils Kneuper
+
+  21 Oct 2006; Michael Cummings <[email protected]> po4a-0.25.ebuild:
+  sparc stable
+
+  20 Oct 2006; Michael Cummings <[email protected]> po4a-0.21.ebuild,
+  po4a-0.25.ebuild:
+  Marking amd64 stable
+
+  11 Oct 2006; Jeroen Roovers <[email protected]> po4a-0.25.ebuild:
+  Marked ~hppa (bug #144414).
+
+  29 Aug 2006; Bryan Østergaard <[email protected]> po4a-0.25.ebuild:
+  Add ~alpha keyword, bug 144414.
+
+  19 Aug 2006; Jason Wever <[email protected]> po4a-0.25.ebuild:
+  Added ~sparc keyword wrt bug #144414.
+
+  19 Aug 2006; Tobias Scherbaum <[email protected]> po4a-0.25.ebuild:
+  Added ~ppc, bug #144414
+
+  14 Jul 2006; Michael Cummings <[email protected]> po4a-0.21.ebuild,
+  po4a-0.25.ebuild:
+  Forcing mb version
+
+*po4a-0.25 (28 Jun 2006)
+
+  28 Jun 2006; Michael Cummings <[email protected]> +po4a-0.25.ebuild:
+  Version bump
+
+  28 Jun 2006; Michael Cummings <[email protected]> po4a-0.21.ebuild:
+  Bug 138332, the Makefile being distributed was causing sandbox problems.
+  Also, keyworded ~amd64.
+
+  13 Jan 2006; Michael Cummings <[email protected]> po4a-0.21.ebuild:
+  Marking stable x86
+
+  28 Nov 2005; <[email protected]> po4a-0.21.ebuild:
+  Switched from perl-module to perl-app eclass
+
+*po4a-0.21 (14 May 2005)
+
+  14 May 2005; Michael Cummings <[email protected]> -po4a-0.19.ebuild,
+  -po4a-0.20.ebuild, +po4a-0.21.ebuild:
+  New version, bug fixes, submitted by Jordi Vilalta <[email protected]> in
+  bug 84286.
+
+*po4a-0.20 (16 Apr 2005)
+
+  16 Apr 2005; Michael Cummings <[email protected]> +po4a-0.20.ebuild:
+  Version bump, courtesty of Jordi Vilalta <[email protected]>, bug 84286
+
+*po4a-0.19 (18 Jan 2005)
+
+  18 Jan 2005; Michael Cummings <[email protected]> +metadata.xml,
+  +po4a-0.19.ebuild:
+  Bug 55156; ebuild provided by Jordi Vilalta <[email protected]>;

diff --git a/app-text/po4a/files/po4a-0.45-remove-nonet.patch 
b/app-text/po4a/files/po4a-0.45-remove-nonet.patch
new file mode 100644
index 0000000..348d9af
--- /dev/null
+++ b/app-text/po4a/files/po4a-0.45-remove-nonet.patch
@@ -0,0 +1,68 @@
+diff -Naur po4a-0.45.orig/Po4aBuilder.pm po4a-0.45/Po4aBuilder.pm
+--- po4a-0.45.orig/Po4aBuilder.pm      2013-08-21 20:11:04.000000000 +0000
++++ po4a-0.45/Po4aBuilder.pm   2014-04-03 11:09:20.000000000 +0000
+@@ -264,7 +264,7 @@
+     foreach $file (@{$self->rscan_dir($manpath, qr{\.xml$})}) {
+         if ($file =~ m,(.*/man(.))/([^/]*)\.xml$,) {
+             my ($outdir, $section, $outfile) = ($1, $2, $3);
+-            system("xsltproc -o $outdir/$outfile.$section --nonet 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $file") 
and die;
++            system("xsltproc -o $outdir/$outfile.$section 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $file") 
and die;
+             system ("gzip -9 -f $outdir/$outfile.$section") and die;
+         }
+         unlink "$file" || die;
+diff -Naur po4a-0.45.orig/share/po4a-build po4a-0.45/share/po4a-build
+--- po4a-0.45.orig/share/po4a-build    2013-08-21 20:11:04.000000000 +0000
++++ po4a-0.45/share/po4a-build 2014-04-03 11:09:43.000000000 +0000
+@@ -258,14 +258,14 @@
+                               eval_gettext "Processing untranslated files for 
\$X (1). . ."; echo
+                               MANDIR=$BASEDIR/$P/man/man1/
+                               XML_CATALOG_FILES="/etc/xml/catalog" \
+-                              xsltproc -o $MANDIR --nonet $XSLFILE $XMLDIR/$X
++                              xsltproc -o $MANDIR $XSLFILE $XMLDIR/$X
+                       done
+                       for X3 in $XMLMAN3; do
+                               # TRANSLATORS: $X3 contains the name of the 
manual page
+                               eval_gettext "Processing untranslated files for 
\$X3 (3). . ."; echo
+                               MANDIR=$BASEDIR/$P/man/man3/
+                               XML_CATALOG_FILES="/etc/xml/catalog" \
+-                              xsltproc -o $MANDIR --nonet $XSLFILE $XMLDIR/$X3
++                              xsltproc -o $MANDIR $XSLFILE $XMLDIR/$X3
+                       done
+               fi
+       done
+@@ -317,7 +317,7 @@
+               fi
+       done
+       if [ -n "$HTMLDIR" ]; then
+-              xsltproc -o $BASEDIR/$d/$HTMLDIR/ --nonet $HTMLXSL 
$XMLDIR/$HTMLFILE
++              xsltproc -o $BASEDIR/$d/$HTMLDIR/ $HTMLXSL $XMLDIR/$HTMLFILE
+       fi
+       for l in $LANGS; do
+               for P in $XMLPACKAGES; do
+@@ -328,7 +328,7 @@
+                                               eval_gettext "Processing \$l 
translations for \$X (1). . ."; echo
+                                               MANDIR=$BASEDIR/$P/man/$l/man1/
+                                               
XML_CATALOG_FILES="/etc/xml/catalog" \
+-                                              xsltproc -o $MANDIR --nonet 
$XSLFILE $XMLDIR/$l/$X
++                                              xsltproc -o $MANDIR $XSLFILE 
$XMLDIR/$l/$X
+                                       fi
+                               done
+                               for X3 in $XMLMAN3; do
+@@ -337,7 +337,7 @@
+                                               eval_gettext "Processing \$l 
translations for \$X3 (3). . ."; echo
+                                               MANDIR=$BASEDIR/$P/man/$l/man3/
+                                               
XML_CATALOG_FILES="/etc/xml/catalog" \
+-                                              xsltproc -o $MANDIR --nonet 
$XSLFILE $XMLDIR/$l/$X3
++                                              xsltproc -o $MANDIR $XSLFILE 
$XMLDIR/$l/$X3
+                                       fi
+                               done
+                       fi
+@@ -399,7 +399,7 @@
+               done
+               if [ -n "$HTMLDIR" ]; then
+                       mkdir -p $BASEDIR/$d/$HTMLDIR/$l/
+-                      xsltproc -o $BASEDIR/$d/$HTMLDIR/$l/ --nonet $HTMLXSL 
$XMLDIR/$l/$HTMLFILE
++                      xsltproc -o $BASEDIR/$d/$HTMLDIR/$l/ $HTMLXSL 
$XMLDIR/$l/$HTMLFILE
+               fi
+               done
+               if [ -n "$HTMLDIR" ]; then

diff --git a/app-text/po4a/metadata.xml b/app-text/po4a/metadata.xml
new file mode 100644
index 0000000..708bcbd
--- /dev/null
+++ b/app-text/po4a/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+<herd>perl</herd>
+</pkgmetadata>

diff --git a/app-text/po4a/po4a-0.45-r99.ebuild 
b/app-text/po4a/po4a-0.45-r99.ebuild
new file mode 100644
index 0000000..3a0abe2
--- /dev/null
+++ b/app-text/po4a/po4a-0.45-r99.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/po4a-0.45.ebuild,v 1.3 
2014/02/15 12:07:18 hwoarang Exp $
+
+EAPI=4
+
+inherit perl-app eutils
+
+DESCRIPTION="Tools for helping translation of documentation"
+HOMEPAGE="http://po4a.alioth.debian.org";
+SRC_URI="mirror://debian/pool/main/p/po4a/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~x86"
+IUSE="test"
+
+PATCHES=( "$FILESDIR"/po4a-0.45-remove-nonet.patch )
+
+RDEPEND="dev-perl/SGMLSpm
+       >=sys-devel/gettext-0.13
+       app-text/openjade
+       dev-libs/libxslt
+       dev-perl/Locale-gettext
+       dev-perl/TermReadKey
+       dev-perl/Text-WrapI18N"
+DEPEND="${RDEPEND}
+       >=virtual/perl-Module-Build-0.380.0
+       app-text/docbook-xsl-stylesheets
+       app-text/docbook-xml-dtd:4.1.2
+       test? ( app-text/docbook-sgml-dtd
+               app-text/docbook-sgml-utils
+               virtual/tex-base )"
+
+SRC_TEST="do"

Reply via email to