pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/mgetty+sendfax Actually, the security patch was ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d342ae329b58
branches: trunk
changeset: 399830:d342ae329b58
user: is <is%pkgsrc.org@localhost>
date: Sat Oct 03 11:43:49 2009 +0000
description:
Actually, the security patch was missing from my last commit. PKGREVISION
increased to distinguish.
diffstat:
comms/mgetty+sendfax/Makefile | 4 ++--
comms/mgetty+sendfax/distinfo | 4 ++--
comms/mgetty+sendfax/patches/patch-aa | 34 +++++++++++++++++++++++++++++++++-
3 files changed, 37 insertions(+), 5 deletions(-)
diffs (74 lines):
diff -r c9efc4be85c1 -r d342ae329b58 comms/mgetty+sendfax/Makefile
--- a/comms/mgetty+sendfax/Makefile Sat Oct 03 10:14:18 2009 +0000
+++ b/comms/mgetty+sendfax/Makefile Sat Oct 03 11:43:49 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.65 2009/10/02 19:21:58 is Exp $
+# $NetBSD: Makefile,v 1.66 2009/10/03 11:43:49 is Exp $
DISTNAME= mgetty1.1.36-Jun15
PKGNAME= mgetty-1.1.36
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= comms
MASTER_SITES= ftp://alpha.greenie.net/pub/mgetty/source/1.1/
diff -r c9efc4be85c1 -r d342ae329b58 comms/mgetty+sendfax/distinfo
--- a/comms/mgetty+sendfax/distinfo Sat Oct 03 10:14:18 2009 +0000
+++ b/comms/mgetty+sendfax/distinfo Sat Oct 03 11:43:49 2009 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.29 2009/10/02 19:21:59 is Exp $
+$NetBSD: distinfo,v 1.30 2009/10/03 11:43:49 is Exp $
SHA1 (mgetty1.1.36-Jun15.tar.gz) = a9627e241502c505465a9c8ffadc09dd7d90fc02
RMD160 (mgetty1.1.36-Jun15.tar.gz) = 421c72b8534c6665c46033d5fe1018ba1300fd50
Size (mgetty1.1.36-Jun15.tar.gz) = 1046324 bytes
-SHA1 (patch-aa) = 2b0432d9d65347d4a5d7a4a442b747e16fc4d54a
+SHA1 (patch-aa) = f80c4e7f7eb23eac7ee23c2144612b82c122d45f
SHA1 (patch-ab) = 67c666573ac6aa5a9554e169e81991a6226ea122
SHA1 (patch-ac) = bdc69ccc3430634bb74742fd105ee8f3fcde4d21
SHA1 (patch-ad) = a24776252e36cfe84b10b7a1b03a43b15d7049d0
diff -r c9efc4be85c1 -r d342ae329b58 comms/mgetty+sendfax/patches/patch-aa
--- a/comms/mgetty+sendfax/patches/patch-aa Sat Oct 03 10:14:18 2009 +0000
+++ b/comms/mgetty+sendfax/patches/patch-aa Sat Oct 03 11:43:49 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2009/10/02 19:21:59 is Exp $
+$NetBSD: patch-aa,v 1.5 2009/10/03 11:43:49 is Exp $
--- fax/faxspool.in.orig 2007-01-19 08:38:22.000000000 +0100
+++ fax/faxspool.in
@@ -17,3 +17,35 @@
fi
test -z "$user" && user=$LOGNAME
test -z "$user" && user=$USER
+@@ -653,12 +653,14 @@ fi
+ #
+ # mkdir a directory in $TMP (or /tmp), convert input to G3 in there
+ #
+-spooldir=${TMP:-/tmp}/$new_seq.$$.`date +%S`
++spooldirprefix=$new_seq.$$.`date +%S`
++spooldir=`mktemp -d -t $spooldirprefix`
+
+-if ( umask 077 ; mkdir $spooldir ) ; then
+- $echo "spooling to $spooldir (->$new_seq)..."
+-else
++if [ $? -ne 0 ]
++then
+ $echo "ERROR: can't create work dir '$spooldir', giving up" >&2 ; exit 6
++else
++ $echo "spooling to $spooldir (->$new_seq)..."
+ fi
+
+ #
+@@ -675,9 +677,9 @@ do
+ if [ x$file = x- ]
+ then
+ $echo "spooling $file (stdin)..."
+- trap "rm /tmp/faxsp.$$" 0
+- cat - >/tmp/faxsp.$$
+- file=/tmp/faxsp.$$
++ file=`mktemp -t faxsp.$$`
++ trap "rm $file" 0
++ cat - > $file
+ else
+ $echo "spooling $file..."
+ fi
Home |
Main Index |
Thread Index |
Old Index