Your message dated Thu, 21 Apr 2011 17:32:08 +0000
with message-id <[email protected]>
and subject line Bug#621730: fixed in apticron 1.1.48
has caused the Debian Bug report #621730,
regarding apticron: NUM_PACKAGES not in MAILX_SUBJECT
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 [email protected]
immediately.)


-- 
621730: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621730
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apticron
Version: 1.1.45
Severity: minor

hi
this patch avoids NUM_PACKAGES to be displayed at the beginning of the custom 
subject 

sylvain

-- System Information:
Debian Release: 5.0.8
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff --git a/apticron b/apticron
index fdb9e5a..6313ba6 100755
--- a/apticron
+++ b/apticron
@@ -94,12 +94,6 @@ DISTRIB_ID="Debian"    # Default to Debian
 # Source the config file
 [ -e /etc/apticron/apticron.conf ] && . /etc/apticron/apticron.conf
 
-if [ -n "$CUSTOM_SUBJECT" ] ; then
-	MAILX_SUBJECT="$CUSTOM_SUBJECT"
-else
-	MAILX_SUBJECT="$DISTRIB_ID package update(s) for $SYSTEM"
-fi
-
 if [ -z "$IPADDRESSES" ] && [ -x /sbin/ip ]; then
 	# Set the IPv4 addresses
 	IPADDRESSES=`(echo $( /bin/hostname -i ) ;
@@ -170,6 +164,13 @@ fi
 
 NUM_PACKAGES=`echo $PKGNAMES |wc -w`
 
+if [ -n "$CUSTOM_SUBJECT" ] ; then
+	MAILX_SUBJECT="$CUSTOM_SUBJECT"
+else
+	MAILX_SUBJECT="$NUM_PACKAGES $DISTRIB_ID package update(s) for $SYSTEM"
+fi
+
+
 # packages already reported won't be reported again if DIFF_ONLY option is marked
 LAST_RUN_FILE="/var/lib/apticron/last_run"
 if [ "$DIFF_ONLY" = "1" ] && [ -e "$LAST_RUN_FILE" ]; then
@@ -279,7 +280,7 @@ EOF
 apticron
 EOF
 
-   ) 2>&1 | Mailx -s "$NUM_PACKAGES $MAILX_SUBJECT" $EMAIL
+   ) 2>&1 | Mailx -s "$MAILX_SUBJECT" $EMAIL
 
 fi
 

--- End Message ---
--- Begin Message ---
Source: apticron
Source-Version: 1.1.48

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:

apticron_1.1.48.dsc
  to main/a/apticron/apticron_1.1.48.dsc
apticron_1.1.48.tar.gz
  to main/a/apticron/apticron_1.1.48.tar.gz
apticron_1.1.48_all.deb
  to main/a/apticron/apticron_1.1.48_all.deb



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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tiago Bortoletto Vaz <[email protected]> (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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 21 Apr 2011 14:10:47 -0300
Source: apticron
Binary: apticron
Architecture: source all
Version: 1.1.48
Distribution: unstable
Urgency: low
Maintainer: Tiago Bortoletto Vaz <[email protected]>
Changed-By: Tiago Bortoletto Vaz <[email protected]>
Description: 
 apticron   - Simple tool to mail about pending package updates
Closes: 609059 621730
Changes: 
 apticron (1.1.48) unstable; urgency=low
 .
   * Suggesting apt-get dist-upgrade instead of aptitude, once apticron's
     behavior comes from a list of packages generated by apt-get, which can
     point some upgrades not considered by aptitude. Thanks to Philip Hands.
     (Closes: #609059)
   * Fixing NUM_PACKAGES which was not appearing in MAILX_SUBJECT. Thanks to
     Sylvain Ferriol. (Closes: #621730)
Checksums-Sha1: 
 3c4f22e36a32fded00b2130b555eddac6692ff4b 912 apticron_1.1.48.dsc
 fb6f399d89115d21036858afea435ca1b6d36c47 20783 apticron_1.1.48.tar.gz
 148f87dfd79f415b77128046665f4458bc989acb 18900 apticron_1.1.48_all.deb
Checksums-Sha256: 
 f92745234b181b8fb6d502b543da62b4af94b41287f1c53dde325c9eb565594a 912 
apticron_1.1.48.dsc
 86e42621e86db416fc1874aa87ec70355add901432549e41be794d25cdc82797 20783 
apticron_1.1.48.tar.gz
 09f760eeb58b396f3d2ae314d007d05352adc060e54a1b87e1a72a7bb85b9f06 18900 
apticron_1.1.48_all.deb
Files: 
 da726e5f8c16b3b7bd78c95993c635ea 912 admin extra apticron_1.1.48.dsc
 7c12313cbe743c91906f001f441284ca 20783 admin extra apticron_1.1.48.tar.gz
 1a6220a65d56b336180e520b103737fd 18900 admin extra apticron_1.1.48_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk2wZocACgkQaQ1iFKUE/spGfACeNuNcy9+YQwngavLPv/nSw/6O
vRcAnRZC9/tHEb2IBYojvMpc8eG69FKx
=nY7E
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to