Your message dated Sat, 20 Mar 2021 16:33:26 +0000
with message-id <e1lnexw-000djx...@fasolo.debian.org>
and subject line Bug#962921: fixed in apticron 1.2.4
has caused the Debian Bug report #962921,
regarding apticron: Use of tempfile(1) produces a warning message
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 ow...@bugs.debian.org
immediately.)


-- 
962921: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962921
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: apticron
Version: 1.2.3+nmu1
Severity: normal
Tags: patch

Dear Maintainer,

Starting with debianutils version 4.10 the tempfile(1) program displays
a run-time deprecation warning; this causes cron to send the output via
email separate from any message that would be sent by apticron.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apticron depends on:
ii  apt                 2.1.6
ii  bsd-mailx [mailx]   8.1.2-0.20180807cvs-1+b1
ii  bzip2               1.0.8-3
ii  cron [cron-daemon]  3.0pl1-136
ii  dpkg                1.19.7
ii  mailutils [mailx]   1:3.9-2
ii  ucf                 3.0042

Versions of packages apticron recommends:
ii  apt-listchanges  3.22
ii  gpg              2.2.20-1
ii  iproute2         5.7.0-1

apticron suggests no packages.

-- debconf information:
  apticron/notification: root
From 8f1206539aa08487c5729830e7c7da17f0fb8bb3 Mon Sep 17 00:00:00 2001
From: Aaron Schrab <aa...@schrab.com>
Date: Mon, 15 Jun 2020 19:52:18 -0400
Subject: [PATCH] Use mktemp(1) rather than tempfile(1)

Starting with debianutils version 4.10 the tempfile(1) program displays
a run-time deprecation warning; this causes cron to send the output via
email separate from any message that would be sent by apticron. Switch
to using mktemp(1) instead.
---
 apticron | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apticron b/apticron
index fceb182..dcce1f6 100755
--- a/apticron
+++ b/apticron
@@ -4,10 +4,10 @@
 # implementations in Debian. Make sure we send proper headers, and a
 # text/plain content type.
 Mailx() {
-    MAIL_BODY_FILE=$(tempfile)
+    MAIL_BODY_FILE=$(mktemp)
     cat > "$MAIL_BODY_FILE"
     if [ "x$GPG_ENCRYPT" = "x1" ] && gpg --list-public-keys "$EMAIL" > /dev/null 2>&1; then
-        MAIL_ENC_FILE=$(tempfile)
+        MAIL_ENC_FILE=$(mktemp)
         gpg --trust-model always --batch --armor --encrypt --recipient "$EMAIL" < "$MAIL_BODY_FILE" > "$MAIL_ENC_FILE"
         mv "$MAIL_ENC_FILE" "$MAIL_BODY_FILE"
     fi
-- 
2.27.0


--- End Message ---
--- Begin Message ---
Source: apticron
Source-Version: 1.2.4
Done: Tiago Bortoletto Vaz <ti...@debian.org>

We believe that the bug you reported is fixed in the latest version of
apticron, 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 962...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tiago Bortoletto Vaz <ti...@debian.org> (supplier of updated apticron 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 20 Mar 2021 11:45:39 -0400
Source: apticron
Binary: apticron apticron-systemd
Architecture: source all
Version: 1.2.4
Distribution: unstable
Urgency: medium
Maintainer: Tiago Bortoletto Vaz <ti...@debian.org>
Changed-By: Tiago Bortoletto Vaz <ti...@debian.org>
Description:
 apticron   - Simple tool to mail about pending package updates - cron version
 apticron-systemd - Simple tool to mail about pending package updates - systemd 
versi
Closes: 962921
Changes:
 apticron (1.2.4) unstable; urgency=medium
 .
   * Fix tempfile warning message. (Closes: #962921)
Checksums-Sha1:
 077f10ec322f47e3015cd058e7f9014d1bb18f9f 1627 apticron_1.2.4.dsc
 edc7cdcafe9397bf7b8f32252966214e6233ce0e 20404 apticron_1.2.4.tar.xz
 d78427d5de4b22e451d5caf7c40b701a57bdc305 18644 apticron-systemd_1.2.4_all.deb
 e4209a79db9add7281d94639ea34433354477ad4 19132 apticron_1.2.4_all.deb
 eeba89fb5ac1469ae1e3d5a176c9dd81c2a48b8f 5739 apticron_1.2.4_amd64.buildinfo
Checksums-Sha256:
 1d3c4a549ab8e8a1a2085e575b6f69057a98605838f863b218f7383b3dc40872 1627 
apticron_1.2.4.dsc
 42f2a447b5f97673a1d3338129e218edfdd7d83fdbe90efce81d4572ede35cc9 20404 
apticron_1.2.4.tar.xz
 b6cec6dad3f930190ebf8691778e3422479167da46c22574573813f00611324d 18644 
apticron-systemd_1.2.4_all.deb
 830dd6d5daf78733a5e657d25a0c165dcffd5455477d37055300c5138cdfac18 19132 
apticron_1.2.4_all.deb
 3fef02f4883c87e05dbbeb08972baf84b915ec060c9edcee584646d778322a26 5739 
apticron_1.2.4_amd64.buildinfo
Files:
 8c03c727f629a472a5eda5376e7500d2 1627 admin optional apticron_1.2.4.dsc
 f2bff578111752540bd7e3ad88dc299f 20404 admin optional apticron_1.2.4.tar.xz
 b54afe58f1d44c2af920dbb0427346c8 18644 admin optional 
apticron-systemd_1.2.4_all.deb
 ade535dace29161f452670c64c60f813 19132 admin optional apticron_1.2.4_all.deb
 ae7c311f6e6596f99861cfa3481cd8dc 5739 admin optional 
apticron_1.2.4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCAAvFiEEYsAXsSqWkZu7etRd2EdHrOS2gT0FAmBWHs8RHHRpYWdvQGRl
Ymlhbi5vcmcACgkQ2EdHrOS2gT1gpRAArIcxp8CRd+LcHoktS17ex81HngYhbasS
IoCG7Te3w6X20cvRU4Y9WIGxEF7g83oyRWPti8iLZQYLjTYq8NXMc95tiKLFdgn0
EwH2a89v4w70U22taKbUAJuFcIsLbsILD/ydr1zUL/D/waVFsmxhtOSiXpUYDq7n
9a3Y91uHT45vowiJMqkJqu0cNZRlrOxhfUWFddxJwoljaaccFvUn2PbFOSUJM/x+
n+DzKiHaGs2DoZ3II25DDCX+v7LlmgCzUrmcB3o2C6U6uF8bBu0SZKJYPrAkyFNN
4sBTdqEctBy2xaR7SCpdrDJTtmJdLiRx+krDwXOe/PI9TDWERqHS2t9u3XVcT488
cr2VPMQcIsSavmKII1HQOkxsR/YVPGrzfc0CHNujoeLK2gKd6E3asy0Lm/ic7anF
WAEz6bj2qjqMRhVFhG5QlMTD9lenHSEU/7cYYQtTiG2iWdyXtyh8ZbC7prHDxpSd
QFAW/6sIpZN5fEdfYItGUKYdFEufT4ofRDGF3NVd7Nimf2HzmH2F26MNc3Y4Of0x
qC2NKeo91yzJ2sCNsGV64ytKXCIuhVpCdVB8A/aSOUCmlw/a4zNjG1hSax3ufwfF
JNWmOinfA8EhzM+98TftGbQrLB1cZ+9z74/7etiMslt4P5bc/Ee03cv2XX6Mjf5w
JE/EPoFQcd0=
=tzvF
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to