summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Jones <carpaski@gentoo.org>2003-02-24 10:11:26 +0000
committerNicholas Jones <carpaski@gentoo.org>2003-02-24 10:11:26 +0000
commitdc1310d1404b4ff05a7a67ffa76ad6e3ab3acd92 (patch)
tree83a896f4de7b252792bf0be59165cd295077275d /sys-devel/m4
parenttemporary homepage -- package is really dead, I think (diff)
downloadgentoo-2-dc1310d1404b4ff05a7a67ffa76ad6e3ab3acd92.tar.gz
gentoo-2-dc1310d1404b4ff05a7a67ffa76ad6e3ab3acd92.tar.bz2
gentoo-2-dc1310d1404b4ff05a7a67ffa76ad6e3ab3acd92.zip
fix for bug 15673 -- /tmp/env file created in the ebuild.
Diffstat (limited to 'sys-devel/m4')
-rw-r--r--sys-devel/m4/ChangeLog6
-rw-r--r--sys-devel/m4/m4-1.4p-r1.ebuild10
-rw-r--r--sys-devel/m4/m4-1.4p.ebuild10
3 files changed, 23 insertions, 3 deletions
diff --git a/sys-devel/m4/ChangeLog b/sys-devel/m4/ChangeLog
index 12b191d9c135..64a6eba6b273 100644
--- a/sys-devel/m4/ChangeLog
+++ b/sys-devel/m4/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-devel/m4
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/ChangeLog,v 1.9 2003/02/19 21:46:47 zwelch Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/ChangeLog,v 1.10 2003/02/24 10:11:26 carpaski Exp $
+
+ 24 Feb 2003; Nicholas Jones <carpaski@gentoo.org> :
+ Fixed the 1.4p ebuilds for the 'env' call that was putting root's
+ environment into /tmp world readable.
18 Feb 2003; Zach Welch <zwelch@gentoo.org> :
Added arm to keywords.
diff --git a/sys-devel/m4/m4-1.4p-r1.ebuild b/sys-devel/m4/m4-1.4p-r1.ebuild
index 153eb0db1c37..cf53ffaef5e0 100644
--- a/sys-devel/m4/m4-1.4p-r1.ebuild
+++ b/sys-devel/m4/m4-1.4p-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4p-r1.ebuild,v 1.4 2003/02/19 21:46:47 zwelch Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4p-r1.ebuild,v 1.5 2003/02/24 10:11:26 carpaski Exp $
inherit gnuconfig
@@ -25,6 +25,10 @@ RDEPEND="virtual/glibc"
src_unpack() {
unpack ${A}
+
+ cp ${S}/tests/mkconfig.sh ${S}/tests/mkconfig.sh.orig
+ sed '2s:^:#:' < ${S}/tests/mkconfig.sh.orig > ${S}/tests/mkconfig.sh
+
use alpha && gnuconfig_update
}
@@ -58,5 +62,9 @@ src_install() {
dodoc modules/README modules/TODO
docinto html
dohtml examples/WWW/*.htm
+
+ # mkconfig.sh creates this file in other revisions...
+ # It shouldn't be there, so we delete it.
+ rm -f /tmp/env
}
diff --git a/sys-devel/m4/m4-1.4p.ebuild b/sys-devel/m4/m4-1.4p.ebuild
index 5be866a17adc..49849fa42129 100644
--- a/sys-devel/m4/m4-1.4p.ebuild
+++ b/sys-devel/m4/m4-1.4p.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4p.ebuild,v 1.14 2003/02/13 16:33:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4p.ebuild,v 1.15 2003/02/24 10:11:26 carpaski Exp $
inherit gnuconfig
@@ -23,6 +23,10 @@ RDEPEND="virtual/glibc"
src_unpack() {
unpack ${A}
+
+ cp ${S}/tests/mkconfig.sh ${S}/tests/mkconfig.sh.orig
+ sed '2s:^:#:' < ${S}/tests/mkconfig.sh.orig > ${S}/tests/mkconfig.sh
+
use alpha && gnuconfig_update
}
@@ -58,5 +62,9 @@ src_install() {
dodoc modules/README modules/TODO
docinto html
dohtml examples/WWW/*.htm
+
+ # mkconfig.sh creates this file in other revisions...
+ # It shouldn't be there, so we delete it.
+ rm -f /tmp/env
}