Bug#992733: marked as done (discover: mktemp vs. tempfile)
Your message dated Sun, 31 Oct 2021 22:48:33 +0000
with message-id <E1mhJcv-0009Sn-Ln@fasolo.debian.org>
and subject line Bug#992733: fixed in discover 2.1.2-9
has caused the Debian Bug report #992733,
regarding discover: mktemp vs. 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.)
--
992733: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992733
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: discover: mktemp vs. tempfile
- From: Clint Adams <clint@debian.org>
- Date: Sun, 22 Aug 2021 21:39:08 +0000
- Message-id: <YSLD/N772qtUuPYt@scru.org>
Package: discover
Version: 2.1.2-8
Tags: patch
Please use mktemp instead of tempfile.
>From cb2d2896a73b934126ca2a3026114cf855ecd5b6 Mon Sep 17 00:00:00 2001
From: Clint Adams <clint@debian.org>
Date: Sun, 22 Aug 2021 17:37:33 -0400
Subject: [PATCH] scripts/discover-pkginstall: use mktemp instead of tempfile
---
scripts/discover-pkginstall | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/discover-pkginstall b/scripts/discover-pkginstall
index 6f9bb58..a3324da 100755
--- a/scripts/discover-pkginstall
+++ b/scripts/discover-pkginstall
@@ -164,7 +164,7 @@ if [ "$packages" ] ; then
# Trick to avoid locking the debconf database when installing
# packages. The redirects are gross hacks to work around
# debconf file descriptor handling
- tempfile=$(tempfile)
+ tempfile=$(mktemp)
DISCOVER_PKGINSTALL_ASKING=true $0 $packages 8>$tempfile
packages=$(cat $tempfile)
rm $tempfile
--
2.32.0
--- End Message ---
--- Begin Message ---
Source: discover
Source-Version: 2.1.2-9
Done: Samuel Thibault <sthibault@debian.org>
We believe that the bug you reported is fixed in the latest version of
discover, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 992733@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Samuel Thibault <sthibault@debian.org> (supplier of updated discover package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 31 Oct 2021 23:24:01 +0100
Source: discover
Architecture: source
Version: 2.1.2-9
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Samuel Thibault <sthibault@debian.org>
Closes: 810408 931153 992733
Changes:
discover (2.1.2-9) unstable; urgency=medium
.
* Team upload.
.
[ Petter Reinholdtsen ]
* Add vcs links in control file.
.
[ Samuel Thibault ]
* control: Update vcs links to git salsa.
* source/format: Set format to 1.0.
* rules: Do not pass -g -O2 by hand.
* rules: Take build flags from dpkg-buildflags.
* Convert to 3.0 (quilt) format.
* rules: Use dh_autoreconf.
* discover.lintian-overrides: Add debconf warning override.
.
[ Clint Adams ]
* Use mktemp instead of tempfile (Closes: 992733).
.
[ Nguyen Hoang Tung ]
* Use dh_auto_configure instead of ./configure (Closes: #931153).
.
[ Laurent Bigonville ]
* debian/patches/usb.patch: Switch to libusb 1.0 (Closes: #810408).
Checksums-Sha1:
b3cb021ee9f34f8711484ab24df7d9249a149cc8 2092 discover_2.1.2-9.dsc
b1a3b8444a9a84a19b2944bc7cc82a13e3443b46 62432 discover_2.1.2-9.debian.tar.xz
9c9a1e06dc3b8b63ae108f22ba8f15f9618dbd7d 6867 discover_2.1.2-9_amd64.buildinfo
Checksums-Sha256:
4c58d8be4fd980dd3674c3a99ca9dd433aaa4c634f139bde14f6cbc1e4ba690a 2092 discover_2.1.2-9.dsc
e08a7170492dc94a79f002eccc5d4e8e0a8eab500a77786806078422ab4dae32 62432 discover_2.1.2-9.debian.tar.xz
504bd30535c8fa48029ae1f9549ff73f6ffcec151fa244084257df6f288e6b16 6867 discover_2.1.2-9_amd64.buildinfo
Files:
aeff8467af3c02137dbe4dc6dd9b794f 2092 admin optional discover_2.1.2-9.dsc
883a07108b470e1687e4d586e2db46a3 62432 admin optional discover_2.1.2-9.debian.tar.xz
9048dd50b1618352d052575decf2cab8 6867 admin optional discover_2.1.2-9_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE59DSENomQIYa2nfqRdTszGSEm3kFAmF/GfsACgkQRdTszGSE
m3mwvQ//V1TcZwdjryuZAZWZRB5ZYeKE0ZWPWY0T9CiYHesPVOcAtF1qLBm3DAPO
lucRKeS541Eb5ZAI44eYE9Gmy5GBGRUnLTW5od70pXhTecsad6QKth/x5OLFtps0
zwRZCYthvLh6J5NiJws/D2on/xhhPCee1Ot39iLFKesO5DU06PZZWbpgSPiJf/xD
ic279gXiuXUoMePrhPHBJ7Gq6ND0N2VGXQPl3RVHuZf99Ko1M/MinIcRPH82s9OU
A+fAe738zy9mjVrjTNLpN5JtSpcru+SxpPBpbKcSHKyxzOh4TAM2t32h2LrqIZI3
7AYnRsizAspH3CaSZVk0Q2k1mHhjfLC43S4hFoSMuYYNkhdjv2WjdH7j5QwYMlzt
tG+UXHOmt3FQcE23ILPeLsVQNbASgQk82D5qddh9NQcXiSiPv8cITBuAOvDiVg5Y
av6hXlsBKrIIO475mQc4CBYt0mv2j+s5DE6DcBNzKHVFHaNwSusqtEU0avnLJVGd
aJnEKN1//38Dz073lF2fPBh94Si/NUyFlWZiFEPyR8i7eOQTOIAt9ueWLoncuC91
M9UxAyTjwA6BcWckbjnWAM2W8mWN4zwEXHN0BexTG1w1lXN5tgbriDvhQcW+0Qtf
4I3qUSo+gY5voSPMer74w0/T4Gu1f3Zybrf4eC1FLDyMm6gr/o8=
=gZOm
-----END PGP SIGNATURE-----
--- End Message ---
Reply to: