From 00711dbe923a848c29656fa52c6b9c345e2c3e26 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sat, 15 Jan 2000 07:38:56 +0000 Subject: Secure tempfile generation Obtained from: OpenBSD No Response From: Maintainer --- devel/autoconf261/files/patch-af | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 devel/autoconf261/files/patch-af (limited to 'devel/autoconf261/files/patch-af') diff --git a/devel/autoconf261/files/patch-af b/devel/autoconf261/files/patch-af new file mode 100644 index 000000000000..d40bc0ee9e7a --- /dev/null +++ b/devel/autoconf261/files/patch-af @@ -0,0 +1,20 @@ +--- autoupdate.sh.orig Mon Nov 22 21:52:26 1999 ++++ autoupdate.sh Mon Nov 22 21:54:30 1999 +@@ -26,7 +26,7 @@ + Usage: autoupdate [-h] [--help] [-m dir] [--macrodir=dir] + [--version] [template-file]" + +-sedtmp=/tmp/acups.$$ ++sedtmp=`mktemp ${TMPDIR-/tmp}/acups.XXXXXXXXXX` || exit 1 + # For debugging. + #sedtmp=/tmp/acups + show_version=no +@@ -66,7 +66,7 @@ + + : ${SIMPLE_BACKUP_SUFFIX='~'} + +-tmpout=acupo.$$ ++tmpout=`mktemp acupo.XXXXXXXXXX` || { rm -f $sedtmp; exit 1; } + trap 'rm -f $sedtmp $tmpout; exit 1' 1 2 15 + case $# in + 0) infile=configure.in; out="> $tmpout" -- cgit v1.2.3