pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/gsharutils Fix mktemp usage.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/daff12be8117
branches:  trunk
changeset: 491882:daff12be8117
user:      salo <salo%pkgsrc.org@localhost>
date:      Thu Mar 31 14:41:48 2005 +0000

description:
Fix mktemp usage.

diffstat:

 archivers/gsharutils/distinfo         |  4 ++--
 archivers/gsharutils/patches/patch-aj |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 7db12b6c5056 -r daff12be8117 archivers/gsharutils/distinfo
--- a/archivers/gsharutils/distinfo     Thu Mar 31 14:17:05 2005 +0000
+++ b/archivers/gsharutils/distinfo     Thu Mar 31 14:41:48 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2005/03/31 14:17:05 salo Exp $
+$NetBSD: distinfo,v 1.12 2005/03/31 14:41:48 salo Exp $
 
 SHA1 (sharutils-4.2.1.tar.gz) = 3f0c0af31bd429cee1e088eb74867f20f8d399ef
 RMD160 (sharutils-4.2.1.tar.gz) = 06e1629aa8a1c982e6032f194df6f5fe85f85b43
@@ -12,4 +12,4 @@
 SHA1 (patch-ag) = af78d21124b33f0d8bdc27969119222e4d79008e
 SHA1 (patch-ah) = 1540064ef3a21a4486950ca24432f471bf1366a9
 SHA1 (patch-ai) = a95e116d517e5fe536a31d12db1c33daaf2609af
-SHA1 (patch-aj) = ee4dbff6419932244d277f79b34c93cea97f3a90
+SHA1 (patch-aj) = 56ee560455a206c6fa5c106f1c759d0a0296dfd7
diff -r 7db12b6c5056 -r daff12be8117 archivers/gsharutils/patches/patch-aj
--- a/archivers/gsharutils/patches/patch-aj     Thu Mar 31 14:17:05 2005 +0000
+++ b/archivers/gsharutils/patches/patch-aj     Thu Mar 31 14:41:48 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aj,v 1.4 2005/03/31 14:17:05 salo Exp $
+$NetBSD: patch-aj,v 1.5 2005/03/31 14:41:48 salo Exp $
 
 --- src/mailshar.in.orig       1995-11-26 00:42:47.000000000 +0100
 +++ src/mailshar.in    2005-03-31 15:51:27.000000000 +0200
@@ -7,7 +7,7 @@
  of the FILEs have an .arc, .exz, .gif, .z, .gz, .Z, .zip or .zoo suffix."
  
 -temp=/usr/tmp/$$.shar
-+temp=`mktemp -q /tmp/$0.XXXXXX`
++temp=`mktemp -q /tmp/${0##*/}.XXXXXX`
 +if [ $? -ne 0 ]; then
 +    echo "$0: Can't create temp file, exiting..."
 +    exit 1



Home | Main Index | Thread Index | Old Index