Your message dated Sat, 15 Aug 2009 04:02:29 +0000
with message-id <[email protected]>
and subject line Bug#533400: fixed in apticron 1.1.35
has caused the Debian Bug report #533400,
regarding Change/add "From: " mail header and/or add [apticron] to subject line.
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.)


-- 
533400: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533400
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apticron
Version: 1.1.27
Severity: wishlist
Tags: patch


Hello,

please consider the attached patchset. It adds an APTICRON_IN_SUBJECT option
in apticron.conf and changes the From field of the generated e-mails.



-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686-bigmem (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apticron depends on:
ii  apt                0.7.20.2+lenny1       Advanced front-end for dpkg
ii  bsd-mailx          8.1.2-0.20071201cvs-3 A simple mail user agent
ii  debconf [debconf-2 1.5.24                Debian configuration management sy
ii  ucf                3.0016                Update Configuration File: preserv

Versions of packages apticron recommends:
ii  apt-listchanges               2.83       package change history notificatio
ii  iproute                       20080725-2 networking and traffic control too

apticron suggests no packages.

-- debconf information excluded

*** /tmp/apticron-patch
--- apticron-orig       2009-01-31 17:18:46.000000000 +0200
+++ apticron    2009-06-17 10:54:25.000000000 +0300
@@ -138,6 +138,16 @@
        done
 fi
 
+if [ -z "$APTICRON_IN_SUBJECT" ]; then
+
+       MAILX_SUBJECT="$DISTRIB_ID package updates on $SYSTEM"
+
+elif [ "$APTICRON_IN_SUBJECT" = "1" ]; then
+
+       MAILX_SUBJECT="[apticron] $DISTRIB_ID package updates on $SYSTEM"
+
+fi
+
 if [ -n "$PKGNAMES" ] ; then
 
        # do the upgrade downloads
@@ -236,8 +246,8 @@
 --
 apticron
 EOF
-
-   ) 2>&1 | /usr/bin/mailx -a "Content-type: text/plain; charset=UTF-8" -s 
"$DISTRIB_ID package updates on $SYSTEM" $EMAIL
+       
+   ) 2>&1 | /usr/bin/mailx -a "Content-type: text/plain; charset=UTF-8" -a 
"From: apticron <aptic...@$system>" -s "$MAILX_SUBJECT" $EMAIL
 
 fi
 

*** /tmp/apticron.conf-patch
--- apticron.conf-orig  2009-06-17 09:46:10.000000000 +0300
+++ apticron.conf       2009-06-17 10:57:18.000000000 +0300
@@ -38,3 +38,9 @@
 # "ip" command
 #
 # IPADDRESSES="192.0.2.1 2001:db8:1:2:3::1"
+
+#
+# Set APTICRON_IN_SUBJECT if you like apticron to add "[apticron]" in the 
subject of
+# the notification e-mails. This helps filtering/sorting client-side e-mail.
+#
+# APTICRON_IN_SUBJECT="1"



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

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.35.dsc
  to pool/main/a/apticron/apticron_1.1.35.dsc
apticron_1.1.35.tar.gz
  to pool/main/a/apticron/apticron_1.1.35.tar.gz
apticron_1.1.35_all.deb
  to pool/main/a/apticron/apticron_1.1.35_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: Fri, 14 Aug 2009 22:02:10 -0300
Source: apticron
Binary: apticron
Architecture: source all
Version: 1.1.35
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: 533400 536197 536515
Changes: 
 apticron (1.1.35) unstable; urgency=low
 .
   * Add a new option for custom email subject. Thanks to Georgi Alexandrov.
     (Closes: #533400)
   * Add Finish translation for debconf. Thanks to Esko Arajärvi.
     (Closes: #536515)
   * Fix a minor typographic issue in the potfile template for debconf.
   * debian/control:
     + depends on mailx, once we (hopefully) support all current mailx packages.
       Thanks to Tuomas Jormola. (Closes: #536197)
Checksums-Sha1: 
 d7c6e2ce4121fa35d89152fce3b6640fc412667a 869 apticron_1.1.35.dsc
 10de9192b47d689b8ce9a279c1aab5d86ae6bdb4 17476 apticron_1.1.35.tar.gz
 b567bebb2a4620b46c2c9ae824e6b3b5cf1ace9c 16868 apticron_1.1.35_all.deb
Checksums-Sha256: 
 58246bc90a041d5613ab2146068bd453566b9d7ce9f363b2c943581427f63185 869 
apticron_1.1.35.dsc
 afd3333e105486a6a5699955aa09b60cbace49dcd6d52f2abf3405f67e478cbd 17476 
apticron_1.1.35.tar.gz
 83e3b9188ab900073b8f77815485a45a131024ed3d0bef4388791539e5824cc4 16868 
apticron_1.1.35_all.deb
Files: 
 fa447ff45d209e8e130e7d978d09471f 869 admin extra apticron_1.1.35.dsc
 2014f4f28ff78184c00e295324557778 17476 admin extra apticron_1.1.35.tar.gz
 5015c9acf8e76ce113c72d3578a9578c 16868 admin extra apticron_1.1.35_all.deb

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

iEYEARECAAYFAkqGGUoACgkQaQ1iFKUE/spJOwCbBZMqwaFmNUcErR5bijCezzZ0
W2MAnRgho2Ig8foYcjQD96nu27OmBGwR
=UNXy
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to