Hi, I've fixed some annoying issues in apticron. Note that most of them are related to the documentation/description/packaging improvements. For the code itself, I just added a /dev/null redirect in order to avoid #500955. Actually pushing it to lenny would close 4 bugs. They are not really grave, however I consider the fixes very simple, giving the users a package in a much better shape. Please consider this exception. Diff from current version is attached. Thanks, -- Tiago Bortoletto Vaz http://tiagovaz.org 0xA504FECA - http://pgp.mit.edu GNU/Linux user #188687
diff -u -r apticron-1.1.25/apticron apticron-1.1.27/apticron
--- apticron-1.1.25/apticron 2008-09-25 12:05:26.000000000 -0300
+++ apticron-1.1.27/apticron 2008-10-17 10:43:16.000000000 -0300
@@ -87,7 +87,7 @@
/usr/bin/uniq || true`
# Set the IPv6 addresses
- IPADDRESSES="$IPADDRESSES `/sbin/ip -f inet6 addr show scope global |\
+ IPADDRESSES="$IPADDRESSES `/sbin/ip -f inet6 addr show scope global 2> /dev/null | \
/bin/grep "scope global" | \
/usr/bin/head -$IPADDRESSNUM |\
/usr/bin/awk '{ print $2 }' |\
diff -u -r apticron-1.1.25/apticron.1 apticron-1.1.27/apticron.1
--- apticron-1.1.25/apticron.1 2008-08-31 08:06:16.000000000 -0300
+++ apticron-1.1.27/apticron.1 2009-01-30 14:55:33.000000000 -0300
@@ -13,7 +13,7 @@
.B apticron
is mainly intended for automatic notification of pending security
updates but can also be used in many other situations where timely
-updates are neccessary.
+updates are necessary.
The \fB--cron\fR option is only meant to be used when invoked by
cron/anacron in order to run no more than once a day.
@@ -40,5 +40,5 @@
.SH AUTHOR
Apticron was initially developed by Colm MacCarthaigh
<colm.maccarthaigh@heanet.ie> with contributions from Marc Sherman
-<msherman@projectile.ca>. Since 2006 it is maintained by Tiago Bortoletto Vaz
-<tiago@debian-ba.org>.
+<msherman@projectile.ca>. Since 2006 it is maintained and improved by Tiago
+Bortoletto Vaz <tiago@debian-ba.org>.
diff -u -r apticron-1.1.25/debian/changelog apticron-1.1.27/debian/changelog
--- apticron-1.1.25/debian/changelog 2008-09-30 21:13:04.000000000 -0300
+++ apticron-1.1.27/debian/changelog 2009-01-30 15:07:10.000000000 -0300
@@ -1,3 +1,28 @@
+apticron (1.1.27) unstable; urgency=low
+
+ * Improve README.Debian and package description. Thanks to Osamu Aoki.
+ (Closes: #512825)
+
+ -- Tiago Bortoletto Vaz <tiago@debian-ba.org> Fri, 30 Jan 2009 15:04:10 -0300
+
+apticron (1.1.26) unstable; urgency=low
+
+ * Fix annoying error message when using ipv6. Thanks to pilotinternet;
+ (Closes: #500955)
+ * debian/control:
+ + replace mailx to bsd-mailx | mailutils, since heirloom-mailx provides
+ mailx and is not compatible with our command line used to add UTF-8
+ charset in mail header. Thanks to John Eikenberry; (Closes: #502790)
+ + improve package description. Thanks to Filipus Klutiero;
+ (Closes: #507534)
+ + add Dm-Upload-Allowed field;
+ + use ${misc:Depends};
+ + point Vcs-Browser to gitweb;
+ * apticron.1:
+ + fix minor typo issue.
+
+ -- Tiago Bortoletto Vaz <tiago@debian-ba.org> Sun, 21 Dec 2008 19:36:23 -0300
+
apticron (1.1.25) unstable; urgency=low
* Real fix for #497175 which was not actually fixed in 1.1.23;
diff -u -r apticron-1.1.25/debian/control apticron-1.1.27/debian/control
--- apticron-1.1.25/debian/control 2008-08-31 21:25:29.000000000 -0300
+++ apticron-1.1.27/debian/control 2009-01-30 15:07:33.000000000 -0300
@@ -5,14 +5,14 @@
Uploaders: Tassia Camoes Araujo <tassia@debian-ba.org>, Colm MacCarthaigh <colm.maccarthaigh@heanet.ie>
Build-Depends: debhelper (>= 5), po-debconf
Standards-Version: 3.8.0
-Vcs-Browser: http://git.debian.org/git/collab-maint/apticron.git
+Dm-Upload-Allowed: yes
+Vcs-Browser: http://git.debian.org/?p=collab-maint/apticron.git
Vcs-Git: git://git.debian.org/git/collab-maint/apticron.git
Package: apticron
Architecture: all
-Depends: mailx, debconf | debconf-2.0, apt (>= 0.6.8), ucf (>= 0.28)
+Depends: bsd-mailx | mailutils, apt (>= 0.6.8), ucf (>= 0.28), ${misc:Depends}
Recommends: apt-listchanges, iproute
-Description: cron-script to mail impending apt updates
- apticron is a simple script to mail about impending apt updates such as
- security updates. If you need to schedule more complex APT tasks we recommend
- you use the (more complex) cron-apt tool.
+Description: simple tool to mail about pending package updates
+ apticron is a simple script which sends daily emails about pending package
+ updates such as security updates.
diff -u -r apticron-1.1.25/debian/README.Debian apticron-1.1.27/debian/README.Debian
--- apticron-1.1.25/debian/README.Debian 2008-08-31 08:06:16.000000000 -0300
+++ apticron-1.1.27/debian/README.Debian 2009-01-31 11:02:02.000000000 -0300
@@ -1,7 +1,25 @@
apticron for Debian
-------------------
+apticron gives you an easy way to have upgrade notifications of your system by
+email.
+
+apticron has the capability to:
+
+ * send daily emails about pending upgrades in your system;
+ * give you the choice of receiving only those upgrades not previously notified;
+ * automatically integrate to apt-listchanges in order to give you by email the
+ new changes of the pending upgrade packages;
+ * handle and warn you about packages put on hold via aptitude/dselect,
+ avoiding unexpected package upgrades (see #137771);
+ * give you all these stuff in a simple default installation;
+
You can configure the e-mail address apticron will use for mailing changes
-to from /etc/apticron/apticron.conf
+to and other software options from /etc/apticron/apticron.conf.
+
+Actually, apticron performs something you can partially do via cron script
+provided either by the apt package itself or by the apt-cron package. I
+suggest you to check the cron script located in /etc/cron.daily/apt first. For
+a more complex setup, go to cron-apt package.
- -- Colm MacCarthaigh <colm.maccarthaigh@heanet.ie>, Fri, 9 Aug 2002 11:53:26 +0100
+ -- Tiago Bortoletto Vaz, Sex Jan 30 14:14:59 BRT 2009
Attachment:
signature.asc
Description: Digital signature