summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2005-06-07 17:21:24 +0000
committerHeinrich Wendel <lanius@gentoo.org>2005-06-07 17:21:24 +0000
commit4501dbd0f4cddf1ad4c6dc5ab8f35125cd3c41f3 (patch)
tree70a8d0708527aa254e123197fe941560739fb589 /app-text/a2ps
parentadd info (diff)
downloadhistorical-4501dbd0f4cddf1ad4c6dc5ab8f35125cd3c41f3.tar.gz
historical-4501dbd0f4cddf1ad4c6dc5ab8f35125cd3c41f3.tar.bz2
historical-4501dbd0f4cddf1ad4c6dc5ab8f35125cd3c41f3.zip
fix sandbox violation, bug #79012
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'app-text/a2ps')
-rw-r--r--app-text/a2ps/ChangeLog6
-rw-r--r--app-text/a2ps/Manifest17
-rw-r--r--app-text/a2ps/a2ps-4.13c-r2.ebuild4
-rw-r--r--app-text/a2ps/files/a2ps-4.13-acroread.patch26
-rw-r--r--app-text/a2ps/files/digest-a2ps-4.13c-r21
5 files changed, 48 insertions, 6 deletions
diff --git a/app-text/a2ps/ChangeLog b/app-text/a2ps/ChangeLog
index 024c6f471f67..8bb4dd76c7a1 100644
--- a/app-text/a2ps/ChangeLog
+++ b/app-text/a2ps/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/a2ps
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/ChangeLog,v 1.39 2005/02/22 12:57:17 tigger Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/ChangeLog,v 1.40 2005/06/07 17:21:24 lanius Exp $
+
+ 07 Jun 2005; Heinrich Wendel <lanius@gentoo.org>
+ +files/a2ps-4.13-acroread.patch, a2ps-4.13c-r2.ebuild:
+ fix sandbox violation, bug #79012
22 Feb 2005; Rob Holland <tigger@gentoo.org> a2ps-4.13c-r2.ebuild:
fix typo
diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest
index d583081aa647..fd5c05d34f49 100644
--- a/app-text/a2ps/Manifest
+++ b/app-text/a2ps/Manifest
@@ -1,10 +1,21 @@
-MD5 5ac78babfdd7021e6de8c940b3fbed11 a2ps-4.13c-r2.ebuild 1907
-MD5 b1d48f1947093f9c34ebc95eb269d27c ChangeLog 5714
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 583ed8052964e0feef7256bb345b0272 a2ps-4.13c-r2.ebuild 1981
+MD5 11fd1053faff66872b3c10e654ab7db5 ChangeLog 5859
MD5 26dba0307103de2d599fe832e219de72 metadata.xml 178
MD5 5a02e00e2362711886e28f0d28b299dd files/a2ps-4.13-stdout.diff 462
MD5 df6bc895cc6fb0fd47f22fd1c36d1ed3 files/a2ps-4.13c-fixps.patch 549
+MD5 6c1c740ece8cc9fd18458c9902e52be6 files/a2ps-4.13-acroread.patch 893
MD5 43277fd40996b817e369f9851aad66f5 files/a2ps-4.13c-locale-gentoo.diff 981
-MD5 b4a7c4e217ab8f2fa45b3282ea68069a files/digest-a2ps-4.13c-r2 133
+MD5 adde8c4bf7673c1b4a07aa8aa62cb273 files/digest-a2ps-4.13c-r2 63
MD5 b62538dbd828d995bdc3ce36188b0768 files/a2ps-4.13-select-freebsd.patch 1582
MD5 d68d0bfab547ef1ce70576c7a5570f13 files/a2ps-4.13c-psmandup.diff 569
MD5 449b2445dc0949a990a2b29cab89dc59 files/4.13c-gcc34.patch 348
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCpde5evY57Fted3ERArxKAKCLKqEkFs9iQFv3cag1oYCORkhmLACglfBl
+764qKSmL3c9jaYmILwHCntk=
+=YxUp
+-----END PGP SIGNATURE-----
diff --git a/app-text/a2ps/a2ps-4.13c-r2.ebuild b/app-text/a2ps/a2ps-4.13c-r2.ebuild
index b534314f24f0..4004a16d4cbc 100644
--- a/app-text/a2ps/a2ps-4.13c-r2.ebuild
+++ b/app-text/a2ps/a2ps-4.13c-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/a2ps-4.13c-r2.ebuild,v 1.3 2005/02/22 12:57:17 tigger Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/a2ps-4.13c-r2.ebuild,v 1.4 2005/06/07 17:21:24 lanius Exp $
inherit gnuconfig eutils
@@ -41,6 +41,8 @@ src_unpack() {
epatch ${FILESDIR}/${P}-fixps.patch
epatch ${FILESDIR}/${P}-psmandup.diff
+ has_version app-text/acroread && epatch ${FILESDIR}/${P}-acroread.patch
+
gnuconfig_update || die "gnuconfig_update failed"
libtoolize --copy --force || die "libtoolize failed"
}
diff --git a/app-text/a2ps/files/a2ps-4.13-acroread.patch b/app-text/a2ps/files/a2ps-4.13-acroread.patch
new file mode 100644
index 000000000000..5c12361ce3f7
--- /dev/null
+++ b/app-text/a2ps/files/a2ps-4.13-acroread.patch
@@ -0,0 +1,26 @@
+diff -urN a2ps-4.13.ORIG/configure a2ps-4.13/configure
+--- a2ps-4.13.ORIG/configure 2005-05-26 15:57:02.000000000 +0100
++++ a2ps-4.13/configure 2005-06-01 18:50:55.000000000 +0100
+@@ -31713,14 +31713,15 @@
+ if test "${a2_cv_com_acroread4+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+- $acroread -helpall >conftest.help
+- if fgrep -e -size conftest.help >/dev/null &&
+- fgrep -e -shrink conftest.help >/dev/null; then
++# For Gentoo, assume acroread 4 or later.
++# $acroread -helpall >conftest.help
++# if fgrep -e -size conftest.help >/dev/null &&
++# fgrep -e -shrink conftest.help >/dev/null; then
+ a2_cv_com_acroread4=yes
+- else
+- a2_cv_com_acroread4=no
+- fi
+- rm -f conftest.help
++# else
++# a2_cv_com_acroread4=no
++# fi
++# rm -f conftest.help
+ fi
+ echo "$as_me:$LINENO: result: $a2_cv_com_acroread4" >&5
+ echo "${ECHO_T}$a2_cv_com_acroread4" >&6
diff --git a/app-text/a2ps/files/digest-a2ps-4.13c-r2 b/app-text/a2ps/files/digest-a2ps-4.13c-r2
index 4abfd89450cb..cf77c579c407 100644
--- a/app-text/a2ps/files/digest-a2ps-4.13c-r2
+++ b/app-text/a2ps/files/digest-a2ps-4.13c-r2
@@ -1,2 +1 @@
MD5 97164e84ba911e4604155507e0893669 a2ps-4.13c.tar.gz 2395885
-MD5 e315466f75d99c0c1ca563d82f2ace2e a2ps-4.13c-ja_nls.patch.gz 38189