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

Bug#961356: marked as done (src:dnprogs: use mktemp instead of tempfile)



Your message dated Wed, 30 Nov 2022 17:57:14 +0000
with message-id <[🔎] E1p0RKc-00DrmR-NT@fasolo.debian.org>
and subject line Bug#1021094: Removed package(s) from unstable
has caused the Debian Bug report #961356,
regarding src:dnprogs: use mktemp instead of tempfile
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
961356: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961356
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:dnprogs
Version: 2.65
Severity: normal
Tags: patch

tempfile has been deprecated for years and mktemp is guaranteed
to exist on a Debian system.

diff --git a/scripts/setup.sh b/scripts/setup.sh
index a0a162f..b4be03e 100644
--- a/scripts/setup.sh
+++ b/scripts/setup.sh
@@ -3,13 +3,7 @@
 # Configure /etc/decnet.conf
 #
 
-# Use a temp file
-if [ -x /bin/tempfile ]
-then
-  CONFFILE="`tempfile`"
-else
-  CONFFILE="/tmp/decnet.conf$$"
-fi
+CONFFILE="$(mktemp)"
 REALFILE=/etc/decnet.conf
 
 if [ -f "$REALFILE" ]

--- End Message ---
--- Begin Message ---
Version: 2.65+rm

Dear submitter,

as the package dnprogs has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1021094

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: