apticron-1.1.55/0000755000000000000000000000000011757035407010321 5ustar apticron-1.1.55/apticron.10000644000000000000000000000261111757035407012222 0ustar .TH apticron 1 .SH NAME apticron \- Generate a mail listing packages which are pending an upgrade .SH SYNOPSIS .B apticron [--cron] .br .SH DESCRIPTION .B apticron is a shell script which generates a mail with a list of all packages currently pending an upgrade, as well as summary of changes - using apt-listchanges - to a configurable Email address. .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 necessary. The \fB--cron\fR option is only meant to be used when invoked by cron in order to run no more than once a day. .SH FILES .TP \fI/etc/apticron/apticron\&.conf\fR Configuration file, Email address to mail and profile for use with apt-listchanges are configurable. .TP \fI/etc/cron\&.d/apticron\fR Cron job for executing apticron daily. .TP \fI/etc/cron\&.daily/apticron\fR Fallback cron script for executing apticron (if no crond running or system down at designated time). .TP \fI/var/lib/misc/apticron\&.cron\fR Time stamp file used by apticron when invoked with \-\-cron option. .SH SEE ALSO .BR apt-get (8), .BR apt-listchanges (1), .BR cron (8) .br .SH AUTHOR Apticron was initially developed by Colm MacCarthaigh with contributions from Marc Sherman . Since 2006 it is maintained and improved by Tiago Bortoletto Vaz . apticron-1.1.55/debian/0000755000000000000000000000000011757035604011542 5ustar apticron-1.1.55/debian/postinst0000755000000000000000000001271511757035407013362 0ustar #! /bin/sh set -e isDigit() { test -n "$1" || return 1 string="$1" while [ "${string#[[:digit:]]}" != "$string" ]; do string="${string#[[:digit:]]}" done [ -z "$string" ] || return 1 } # Remove cron.daily file which has been installed by old (and bugged) # apticron versions. (see #587597) DPKG_MAINTSCRIPT_NAME=${DPKG_MAINTSCRIPT_NAME:-postinst} \ dpkg-maintscript-helper rm_conffile /etc/cron.daily/apticron "1.1.44" apticron -- "$@" case "$1" in configure) . /usr/share/debconf/confmodule db_get apticron/notification EMAIL="$RET" if [ ! -d /etc/apticron/ ] ; then mkdir /etc/apticron fi # Move the old timestamp file tsfile_new='/var/lib/apticron/cron_run' tsfile_old='/var/lib/misc/apticron.cron' if [ -f "$tsfile_old" ] ; then if [ ! -e "$tsfile_new" ] ; then mv "$tsfile_old" "$tsfile_new" else rm -f "$tsfile_old" fi fi tmpfile="$( mktemp -t apticron.conf.XXXXXXXXXX )" chmod 0644 "$tmpfile" cat < "$tmpfile" # apticron.conf # # set EMAIL to a space separated list of addresses which will be notified of # impending updates # EMAIL="$EMAIL" # # Set DIFF_ONLY to "1" to only output the difference of the current run # compared to the last run (ie. only new upgrades since the last run). If there # are no differences, no output/email will be generated. By default, apticron # will output everything that needs to be upgraded. # # DIFF_ONLY="1" # # Set LISTCHANGES_PROFILE if you would like apticron to invoke apt-listchanges # with the --profile option. You should add a corresponding profile to # /etc/apt/listchanges.conf # # LISTCHANGES_PROFILE="apticron" # # From hostname manpage: "Displays all FQDNs of the machine. This option # enumerates all configured network addresses on all configured network inter‐ # faces, and translates them to DNS domain names. Addresses that cannot be # translated (i.e. because they do not have an appro‐ priate reverse DNS # entry) are skipped. Note that different addresses may resolve to the same # name, therefore the output may contain duplicate entries. Do not make any # assumptions about the order of the output." # # ALL_FQDNS="1" # # Set SYSTEM if you would like apticron to use something other than the output # of "hostname -f" for the system name in the mails it generates. This option # overrides the ALL_FQDNS above. # # SYSTEM="foobar.example.com" # # Set IPADDRESSNUM if you would like to configure the maximal number of IP # addresses apticron displays. The default is to display 1 address of each # family type (inet, inet6), if available. # # IPADDRESSNUM="1" # # Set IPADDRESSES to a whitespace separated list of reachable addresses for # this system. By default, apticron will try to work these out using the # "ip" command # # IPADDRESSES="192.0.2.1 2001:db8:1:2:3::1" # # Set NOTIFY_HOLDS="0" if you don't want to be notified about new versions of # packages on hold in your system. The default behavior is downloading and # listing them as any other package. # # NOTIFY_HOLDS="0" # # Set NOTIFY_NEW="0" if you don't want to be notified about packages which # are not installed in your system. Yes, it's possible! There are some issues # related to systems which have mixed stable/unstable sources. In these cases # apt-get will consider for example that packages with "Priority: # required"/"Essential: yes" in unstable but not in stable should be installed, # so they will be listed in dist-upgrade output. Please take a look at # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531002#44 # # NOTIFY_NEW="0" # # Set NOTIFY_NO_UPDATES="0" if you don't want to be notified when there is no # new versions. Set to 1 could assure you that apticron works well. # # NOTIFY_NO_UPDATES="0" # # Set CUSTOM_SUBJECT if you want to replace the default subject used in # the notification e-mails. This may help filtering/sorting client-side e-mail. # If you want to use internal vars please use single quotes here. Ex: # \$CUSTOM_SUBJECT='[apticron] \$SYSTEM: \$NUM_PACKAGES package update(s)' # # CUSTOM_SUBJECT="" # Set CUSTOM_NO_UPDATES_SUBJECT if you want to replace the default subject used # in the no update notification e-mails. This may help filtering/sorting # client-side e-mail. # If you want to use internal vars please use single quotes here. Ex: # \$CUSTOM_NO_UPDATES_SUBJECT='[apticron] \$SYSTEM: no updates' # # CUSTOM_NO_UPDATES_SUBJECT="" # # Set CUSTOM_FROM if you want to replace the default sender by changing the # 'From:' field used in the notification e-mails. Your default sender will # be something like `id -un`@`hostname --long`. # # CUSTOM_FROM="" EOF ucf --debconf-ok --three-way "$tmpfile" /etc/apticron/apticron.conf rm -f "$tmpfile" # read time from cron.d job, if any if [ -f /etc/cron.d/apticron ] ; then min=$( grep -v '^[[:space:]]*\(\#\|$\)' /etc/cron.d/apticron \ 2>/dev/null | { read min null isDigit "$min" && echo "$min" } ) || true fi # get random time if cron.d snippet doesn't exist or is malformed if ! isDigit "$min" ; then min=$(( $( od -vAn -N2 -tu4 < /dev/urandom ) % 60 )) fi tmpfile="$( mktemp -t apticron.crond.XXXXXXXXXX )" chmod 0644 "$tmpfile" cat <"$tmpfile" # cron entry for apticron $min * * * * root if test -x /usr/sbin/apticron; then /usr/sbin/apticron --cron; else true; fi EOF ucf --debconf-ok --three-way "$tmpfile" /etc/cron.d/apticron rm -f "$tmpfile" ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 apticron-1.1.55/debian/rules0000755000000000000000000000157511757035407012633 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 build: build-stamp build-stamp: dh_testdir touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp debconf-updatepo dh_clean install: build mkdir -p $(CURDIR)/debian/apticron/usr/sbin/ cp apticron ${CURDIR}/debian/apticron/usr/sbin/ chmod 0755 ${CURDIR}/debian/apticron/usr/sbin/apticron dh_testroot dh_installdirs dh_installdebconf # Build architecture-independent files here. binary-indep: build install dh_installcron dh_installman apticron.1 dh_installchangelogs dh_installdocs dh_lintian dh_installdeb dh_compress dh_fixperms dh_gencontrol dh_md5sums dh_builddeb # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install apticron-1.1.55/debian/lintian-overrides0000644000000000000000000000006511757035407015125 0ustar virtual-package-depends-without-real-package-depends apticron-1.1.55/debian/dirs0000644000000000000000000000002111757035407012420 0ustar var/lib/apticron apticron-1.1.55/debian/source/0000755000000000000000000000000011757035407013043 5ustar apticron-1.1.55/debian/source/format0000644000000000000000000000001511757035407014252 0ustar 3.0 (native) apticron-1.1.55/debian/copyright0000644000000000000000000000337411757035407013505 0ustar This package was debianized by Colm MacCarthaigh on Fri, 9 Aug 2002 11:53:26 +0100. The current maintainers are Tiago Bortoletto Vaz and Tassia Camoes Araujo Copyright: Copyright (C) 2002-2005 HEAnet Ltd. Copyright (C) 2006-2008 Tiago Bortoletto Vaz and Tassia Camoes Araujo All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the author nor the names of the contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. apticron-1.1.55/debian/po/0000755000000000000000000000000011757035604012160 5ustar apticron-1.1.55/debian/po/vi.po0000644000000000000000000000215111757035407013136 0ustar # Vietnamese Translation for apticron_1.1.12. # Copyright © 2005 Free Software Foundation, Inc. # Clytie Siddall , 2005. # msgid "" msgstr "" "Project-Id-Version: apticron 1.1.12\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2005-05-13 20:18+0930\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" "Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "Địa chỉ thư cần thông báo:" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "Hãy ghi rõ các địa chỉ thư điện tử, định giới bằng dấu cách, cần nhận thông " "in về việc cập nhật sắp." #~ msgid "root" #~ msgstr "người chủ" apticron-1.1.55/debian/po/pt.po0000644000000000000000000000207111757035407013144 0ustar # Portuguese translation of apticron's debconf messages. # 2005, Rui Branco # # 2005-09-23 - Rui Branco - initial translation # 2006-08-06 - Rui Branco - 1f msgid "" msgstr "" "Project-Id-Version: apticron 1.1.17\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Rui Branco \n" "Language-Team: Portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "Endereço(s) de E-Mail para notificação" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "Especifique os endereços de e-mail separados por um espaço que deverão ser " "notificados sobre actualizações pendentes." apticron-1.1.55/debian/po/fr.po0000644000000000000000000000306411757035407013133 0ustar # translation of fr.po to # translation of fr.po to # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans# # Developers do not need to manually edit POT or PO files. # Guilhelm Panaget , 2005. # msgid "" msgstr "" "Project-Id-Version: apticron\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2005-03-25 20:03+0100\n" "Last-Translator: Guilhelm Panaget \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.9.1\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "Adresse(s) lectronique(s) des personnes prvenir:" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "Veuillez indiquer les adresses lectroniques, spares par des espaces, des " "personnes qui doivent tre prvenues des mises jour en attente." #~ msgid "root" #~ msgstr "root" apticron-1.1.55/debian/po/da.po0000644000000000000000000000201211757035407013100 0ustar # Danish translation apticron. # Copyright (C) 2011 apticron & nedenstående oversættere. # This file is distributed under the same license as the apticron package. # Joe Hansen , 2011. # msgid "" msgstr "" "Project-Id-Version: apticron\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2011-04-17 17:30+01:00\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "E-post-adresser at underrette:" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "Angiv e-post-adresser, mellemrumsadskilt, som skal underrettes om afventende " "opdateringer." apticron-1.1.55/debian/po/POTFILES.in0000644000000000000000000000004411757035407013734 0ustar [type: gettext/rfc822deb] templates apticron-1.1.55/debian/po/nl.po0000644000000000000000000000332711757035407013137 0ustar # Translation of apticron_1.1.16_templates.po to Debian l10n Dutch # This file is distributed under the same license as the apticron package. # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans# # Developers do not need to manually edit POT or PO files. # # Kurt De Bree , 2006 # This is an unofficial translation # msgid "" msgstr "" "Project-Id-Version: apticron_1.1.16_templates\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2006-07-23 18:46+0200\n" "Last-Translator: Kurt De Bree \n" "Language-Team: Debian l10n Dutch \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.10.2\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "E-mailadres(sen) van de te verwittigen personen:" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "Specificeer de e-mailadressen, door een spatie gescheiden, die verwittigd " "moeten worden van de hangende opwaarderingen." #~ msgid "root" #~ msgstr "root" apticron-1.1.55/debian/po/ja.po0000644000000000000000000000251311757035407013114 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: apticron\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2005-04-29 23:54+0900\n" "Last-Translator: Kenshi Muto \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=EUC-JP\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "Τ᡼륢ɥ쥹:" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "αƤ빹Τ뤿Żҥ᡼륢ɥ쥹򥹥ڡǶڤäƻꤷ" "Ƥ" #~ msgid "root" #~ msgstr "root" apticron-1.1.55/debian/po/cs.po0000644000000000000000000000256111757035407013132 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: apticron\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2005-06-26 10:41+0200\n" "Last-Translator: Miroslav Kure \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "Emailová adresa(y) pro upozorňování:" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "Zadejte emailové adresy oddělené mezerami, na které se budou zasílat " "oznámení o nových aktualizacích." #~ msgid "root" #~ msgstr "root" apticron-1.1.55/debian/po/fi.po0000644000000000000000000000207211757035407013120 0ustar # Copyright (C) 2009 # This file is distributed under the same license as the apticron package. # # Esko Arajärvi , 2009. msgid "" msgstr "" "Project-Id-Version: apticron\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2009-07-10 20:49+0300\n" "Last-Translator: Esko Arajärvi \n" "Language-Team: Finnish \n" "Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 0.3\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "Sähköpostiosoitteet, joihin lähetetään huomautus:" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "Anna välilyönnein eroteltuina sähköpostiosoitteet, joihin tulisi lähettää " "tieto odottavista päivityksistä." apticron-1.1.55/debian/po/ru.po0000644000000000000000000000247111757035407013153 0ustar # translation of ru.po to Russian # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Yuri Kozlov , 2007. msgid "" msgstr "" "Project-Id-Version: 1.1.20\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2007-11-15 21:37+0300\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "E-Mail адрес(а) для уведомления:" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "Введите, разделяя пробелом, адреса электронной почты, на которые нужно " "отправлять уведомления об ожидающих обновлениях." apticron-1.1.55/debian/po/es.po0000644000000000000000000000401211757035407013125 0ustar # apticron po-debconf translation to Spanish # Copyright (C) 2005 Software in the Public Interest # This file is distributed under the same license as the apticron package. # # Changes: # - Initial translation # César Gómez Martín # # # Traductores, si no conoce el formato PO, merece la pena leer la # documentación de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # Equipo de traducción al español, por favor, lean antes de traducir # los siguientes documentos: # # - El proyecto de traducción de Debian al español # http://www.debian.org/intl/spanish/ # especialmente las notas de traducción en # http://www.debian.org/intl/spanish/notas # # - La guía de traducción de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # msgid "" msgstr "" "Project-Id-Version: apticron\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2005-10-04 17:43+0100\n" "Last-Translator: César Gómez Martín \n" "Language-Team: Debian l10n spanish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Spanish\n" "X-Poedit-Country: SPAIN\n" "X-Poedit-SourceCharset: utf-8\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "Dirección/es de correo electrónico a las que mandar notificaciones:" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "Introduzca las direcciones de correo electrónico a las que desea mandar las " "notificaciones de actualizaciones pendientes separándolas con espacios." #~ msgid "root" #~ msgstr "root" apticron-1.1.55/debian/po/templates.pot0000644000000000000000000000153411757035407014706 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" apticron-1.1.55/debian/po/sk.po0000644000000000000000000000224211757035407013136 0ustar # Slovak translations for apticron package # Slovenské preklady pre balík apticron. # Copyright (C) 2011 THE apticron'S COPYRIGHT HOLDER # This file is distributed under the same license as the apticron package. # Automatically generated, 2011. # Slavko , 2011. # msgid "" msgstr "" "Project-Id-Version: apticron 1.1.45\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2011-01-30 18:34+0100\n" "Last-Translator: Slavko \n" "Language-Team: Slovak \n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "Emailová adresa(y) na upozornenia:" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "Zadajte emailové adresy, oddelené medzerami, na ktoré budú zasielané " "upozornenia o čakajúcich aktualizáciách." apticron-1.1.55/debian/po/pt_BR.po0000644000000000000000000000262311757035407013532 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: 1.1.5\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2005-01-06 15:58-0200\n" "Last-Translator: Otavio Salvador \n" "Language-Team: Brazilian Portuguese \n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "Endereo(s) de e-mail para notificao:" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "Especifique os endereos de e-mail, separados por espao, que devem ser " "notificados sobre atualizaes pendentes." #~ msgid "root" #~ msgstr "root" apticron-1.1.55/debian/po/it.po0000644000000000000000000000221011757035407013130 0ustar # Italian (it) translation of po-debconf templates for apticron. # Copyright (C) 2006 Free Software Foundation, Inc. # This file is distributed under the same license as the apticron package. # Luca Monducci , 2006. # msgid "" msgstr "" "Project-Id-Version: apticron 1.1.12 debconf templates\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2006-01-01 17:14+0100\n" "Last-Translator: Luca Monducci \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "Indirizzo/i e-mail a cui inviare le notifiche:" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "Specificare gli indirizzi e-mail, separandoli con uno spazio, a cui verr " "notificata la presenza di aggiornamenti pendenti." #~ msgid "root" #~ msgstr "root" apticron-1.1.55/debian/po/gl.po0000644000000000000000000000176311757035407013132 0ustar # Galician translation of apticron's debconf templates # This file is distributed under the same license as the apticron package. # Jacobo Tarrio , 2008. # msgid "" msgstr "" "Project-Id-Version: apticron\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2008-05-24 11:16+0100\n" "Last-Translator: Jacobo Tarrio \n" "Language-Team: Galician \n" "Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "Enderezo(s) de email aos que avisar:" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "Indique os enderezos de email, separados por espazos, aos que se debe avisar " "das actualizacións pendentes." apticron-1.1.55/debian/po/sv.po0000644000000000000000000000252711757035407013157 0ustar # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # Developers do not need to manually edit POT or PO files. # , fuzzy # # msgid "" msgstr "" "Project-Id-Version: apticron 1.1.12\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2005-10-03 23:23+0200\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "E-postaddressen (kan vara flera) fr notifieringar:" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "Specificera e-postaddresser som ska bli notfierade om mjliga uppdateringar " "(separera multipla addresser med mellanslag)." #~ msgid "root" #~ msgstr "root" apticron-1.1.55/debian/po/eu.po0000644000000000000000000000212411757035407013131 0ustar # translation of apticron-eu.po to Euskara # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Piarres Beobide , 2008. msgid "" msgstr "" "Project-Id-Version: apticron-eu\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2008-08-14 09:28+0200\n" "Last-Translator: Piarres Beobide \n" "Language-Team: Euskara \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "Berri emateko eposta helbidea(k):" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "Zehaztu egiteko dauden bertsio-berritzeei buruzko berri emateko erabiliko " "diren eposta helbideak zehaztu zuriunez bereizirik." apticron-1.1.55/debian/po/id.po0000644000000000000000000000206511757035407013120 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: apticron 1.1.52\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2012-02-03 19:28+0700\n" "Last-Translator: Kurniawan Haikal \n" "Language-Team: Debian Indonesia Translators \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "Alamat email untuk notifikasi:" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" "Tentukan alamat email, dipisahkan tanda spasi, yang akan digunakan untuk " "notifikasi pembaharuan yang tertunda." apticron-1.1.55/debian/po/de.po0000644000000000000000000000264611757035407013121 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: apticron 1.1.13\n" "Report-Msgid-Bugs-To: apticron@packages.debian.org\n" "POT-Creation-Date: 2009-08-14 21:50-0300\n" "PO-Revision-Date: 2006-08-12 15:00+0200\n" "Last-Translator: Johannes Starosta \n" "Language-Team:German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:1001 msgid "E-Mail address(es) to notify:" msgstr "Zu benachrichtigende E-Mail-Adresse(n):" #. Type: string #. Description #: ../templates:1001 msgid "" "Specify e-mail addresses, space separated, that should be notified of " "pending updates." msgstr "" " Geben Sie die E-Mail-Adressen der Benutzer an, die von bevorstehenden " "Updates informiert werden sollen. Trennen Sie mehrere E-Mail-Adressen mit " "einen Leerzeichen." apticron-1.1.55/debian/postrm0000755000000000000000000000120311757035407013011 0ustar #!/bin/sh -e case "$1" in purge) if which ucf >/dev/null; then ucf --purge /etc/cron.d/apticron ucf --purge /etc/apticron/apticron.conf fi rm -f /etc/cron.d/apticron /etc/cron.d/apticron.ucf-* rm -f /var/lib/misc/apticron.cron rm -f /etc/apticron/apticron.conf* if [ -d /etc/apticron ] ; then rmdir /etc/apticron || true fi rm -rf /var/lib/apticron ;; esac # Remove cron.daily file which has been installed by old (and bugged) # apticron versions. (see #587597) DPKG_MAINTSCRIPT_NAME=${DPKG_MAINTSCRIPT_NAME:-postrm} \ dpkg-maintscript-helper rm_conffile /etc/cron.daily/apticron "1.1.44" apticron -- "$@" #DEBHELPER# apticron-1.1.55/debian/preinst0000644000000000000000000000043211757035407013151 0ustar #!/bin/sh set -e # Remove cron.daily file which has been installed by old (and bugged) # apticron versions. (see #587597) DPKG_MAINTSCRIPT_NAME=${DPKG_MAINTSCRIPT_NAME:=preinst} \ dpkg-maintscript-helper rm_conffile /etc/cron.daily/apticron "1.1.44" apticron -- "$@" #DEBHELPER# apticron-1.1.55/debian/config0000755000000000000000000000037411757035407012742 0ustar #!/bin/sh -e . /usr/share/debconf/confmodule if [ -e /etc/apticron/apticron.conf ]; then . /etc/apticron/apticron.conf || true if [ "$EMAIL" ]; then db_set apticron/notification $EMAIL fi fi db_input medium apticron/notification || true db_go apticron-1.1.55/debian/control0000644000000000000000000000140611757035407013147 0ustar Source: apticron Section: admin Priority: extra Maintainer: Tiago Bortoletto Vaz Uploaders: Tássia Camões Araújo Build-Depends: debhelper (>= 6.0.7~), po-debconf Standards-Version: 3.9.2 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 Pre-Depends: dpkg (>= 1.15.7.2) Depends: mailx, apt (>= 0.6.8), ucf (>= 0.28), cron, bzip2, ${misc:Depends} Recommends: apt-listchanges, iproute 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, properly handling packages on hold both by dselect and aptitude. apticron-1.1.55/debian/changelog0000644000000000000000000005132111757035407013417 0ustar apticron (1.1.55) unstable; urgency=low * Add an option to send report even there is no updates. Thanks to Luc Didry. (Closes: #657126) * Depends on bzip2. Thanks to Erik Braun. (Closes: #673985) -- Tiago Bortoletto Vaz Tue, 22 May 2012 21:12:39 -0400 apticron (1.1.54) unstable; urgency=low * New Indonesian translation for debconf template. Thanks to Kurniawan Haikal. (Closes: #658480) -- Tiago Bortoletto Vaz Sun, 11 Mar 2012 13:12:48 -0400 apticron (1.1.53) unstable; urgency=low * Add an option to (not) use --all-fqdns from hostname command. (Closes: #645988) -- Tiago Bortoletto Vaz Fri, 02 Mar 2012 21:50:53 +0000 apticron (1.1.52) unstable; urgency=low * Fix number of packages no longer being reported in subject. Thanks to Dermot O'Dwyer. (Closes: #652370) -- Tiago Bortoletto Vaz Wed, 28 Dec 2011 18:22:36 -0500 apticron (1.1.51) unstable; urgency=low * Fix typo in manpage. Thanks to Matt Kraai. (Closes: #632841) * Fix CUSTOM_SUBJECT section in config file. * Add new config option CUSTOM_FROM which allows setting a custom sender by replacing the default 'From:' in the notification emails. (Closes: #632743) -- Tiago Bortoletto Vaz Mon, 29 Aug 2011 00:00:23 -0300 apticron (1.1.50) unstable; urgency=low * Fix typo s/deselect/dselect/ in long description and apticron code comments. Thanks to Uwe Kleine-König. (Closes: #627759) -- Tiago Bortoletto Vaz Wed, 25 May 2011 08:48:41 -0300 apticron (1.1.49) unstable; urgency=low * Set locale to C rather than en to avoid warning messages in systems which have no English locales installed. Thanks to gregor herrmann. (Closes: #624288) -- Tiago Bortoletto Vaz Wed, 27 Apr 2011 08:17:50 -0300 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) -- Tiago Bortoletto Vaz Thu, 21 Apr 2011 14:10:47 -0300 apticron (1.1.47) unstable; urgency=low [ patches by Gian Piero Carrubba ] * Run every hour via cron.d snippet just exiting if fully executed in the past 24h. (Closes: #587597) * Reword the '--cron' parameter help message. * Move the timestamp file to /var/lib/apticron as it now exists. * cron.d snippet: cleanly exit if apticron has been removed. * Supposedly trap all errors when parsing existent cron.d snippet. [ Tiago Bortoletto Vaz] * Add Danish translation. Thanks to Joe Dalton. (Closes: #623093) * Add hostname options suggested by hostname manpage to avoid warnings. Thanks to Simon Waters. (Closes: #613504) -- Tiago Bortoletto Vaz Wed, 20 Apr 2011 23:32:32 -0300 apticron (1.1.46) unstable; urgency=low * Add Slovak po-debconf translation. Thanks to Slavko. (Closes: #611557) -- Tiago Bortoletto Vaz Sun, 30 Jan 2011 15:40:07 -0200 apticron (1.1.45) unstable; urgency=low * Improve re for matching hold packages. Thanks to Slavko. (Closes: #607826) * Remove cron.daily from old apticron installations. Thanks to Salvatore Bonaccorso. (Closes: #587597) -- Tiago Bortoletto Vaz Mon, 03 Jan 2011 12:02:43 -0200 apticron (1.1.44) unstable; urgency=low * Fix DIFF_ONLY issue which was reporting wrong number of previously reported packages. Thanks to Dermot O'Dwyer. (Closes: #596919) -- Tiago Bortoletto Vaz Tue, 28 Sep 2010 00:32:48 -0300 apticron (1.1.43) unstable; urgency=low * Remove deprecated cron.daily file. Thanks to Piotr Lewandowski. (Closes: #587597) -- Tássia Camões Araújo Sun, 29 Aug 2010 23:19:02 -0300 apticron (1.1.42) unstable; urgency=low * Avoid exiting with error when testing if a package is installed. Thanks to Alexander Galanin for the patch. (Closes: #584600) -- Tiago Bortoletto Vaz Mon, 14 Jun 2010 02:18:43 -0300 apticron (1.1.41) unstable; urgency=low * Fix return value in cronjob. Thanks to Holger Levsen. (Closes: #574461) -- Tiago Bortoletto Vaz Wed, 26 May 2010 22:30:34 -0300 apticron (1.1.40) unstable; urgency=low * Add new option NOTIFY_NEW. Thanks to Teodor. (Closes: #531002, #557209) * Add number of pending updates to mail subject. Thanks to Michel. (Closes: #581241) -- Tiago Bortoletto Vaz Sat, 15 May 2010 02:24:15 +0000 apticron (1.1.39) unstable; urgency=low * Fix missing dependency on cron. Thanks to Evan Broder. (Closes: #572421) * Update Policy version to 3.8.4. -- Tiago Bortoletto Vaz Fri, 05 Mar 2010 00:15:45 -0300 apticron (1.1.38) unstable; urgency=low * New src format: 3.0 (native) * Improve description -- Tiago Bortoletto Vaz Sun, 22 Nov 2009 20:39:17 -0200 apticron (1.1.37) unstable; urgency=low * Don't send STDERR to /dev/null in order to give to the user basic debug info when apt-get fails. Thanks to Leandro Lucarella. (Closes: #552129) * Now using my @d.o email for this package. -- Tiago Bortoletto Vaz Sun, 25 Oct 2009 09:39:29 -0200 apticron (1.1.36) unstable; urgency=low * apticron.conf now states that multiple address are space-separated. Thanks to Paul Nijjar. (Closes: #544143) -- Tiago Bortoletto Vaz Sat, 29 Aug 2009 08:27:07 -0300 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) -- Tiago Bortoletto Vaz Fri, 14 Aug 2009 22:02:10 -0300 apticron (1.1.34) unstable; urgency=low * Remove useless debian/doc dir. * debian/control: + update Policy version to 3.8.2. -- Tiago Bortoletto Vaz Mon, 06 Jul 2009 11:46:17 -0300 apticron (1.1.33) unstable; urgency=low * uncomment line which sends the daily email. Thanks to Alexander Galanin. (Closes: #535800) -- Tiago Bortoletto Vaz Sun, 05 Jul 2009 08:56:30 -0300 apticron (1.1.32) unstable; urgency=low * Use specific mailx parameters for heirloom-mailx. Thanks to Nis Martensen for the patch. (Closes: #530347) * debian/control: + remove inactive uploaders. + remove heirloom-mailx from Conflicts due to the fix in #530347. * Support listing packages on hold by both dselect/apt-get and aptitude. This can be chosen through the new config var NOTIFY_HOLDS. Thanks to Daniel B. for reporting this. (Closes: #530655) -- Tiago Bortoletto Vaz Tue, 26 May 2009 16:40:56 -0300 apticron (1.1.31) unstable; urgency=low * debian/control: + heirloom-mailx placed into Conflicts section due to its incompatibility with some standard mailx parameters. * Using mailx command back in apticron instead of bsd-mailx in order to support mailutils. Thanks to Alexander Galanin. (Closes: #526773) * Return 'true' when calling date command to avoid to break apticron when it touches an invalid date (ex. during transitions to daylight saving). Thanks to Simon Waters. (Closes: #522961) -- Tiago Bortoletto Vaz Sun, 03 May 2009 17:14:49 -0300 apticron (1.1.30) unstable; urgency=low * Call /usr/bin/bsd-mailx instead of /usr/bin/mailx in order to avoid using an incompatible mailx packages such as heirloom-mailx. Note that it will work considering heirloom-mailx will not provide bsd-mailx - which I guess so. Thanks to Frédéric Perrin. (Closes: 524169) * debian/control: + Update Policy version to 3.8.1; -- Tiago Bortoletto Vaz Tue, 21 Apr 2009 22:40:46 -0400 apticron (1.1.29) unstable; urgency=low * Fix the unneeded strict permission in cronjob and conf files. Thanks to Gian Piero Carrubba. (Closes: #518102) -- Tiago Bortoletto Vaz Mon, 09 Mar 2009 15:31:08 -0400 apticron (1.1.28) unstable; urgency=low * debian/postinst: + avoid read error when it receives a null value from grep on creating the cronjob file. Thanks to Patrick Schoenfeld. (Closes: #514780) -- Tiago Bortoletto Vaz Thu, 26 Feb 2009 00:31:49 -0500 apticron (1.1.27) unstable; urgency=low * Improve README.Debian and package description. Thanks to Osamu Aoki. (Closes: #512825) -- Tiago Bortoletto Vaz 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 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; (Closes: #497175) * Suggest the user a full-upgrade rather than dist-upgrade aptitude's option, once the second one is deprecated. Thanks to Dietmar Winkler; (Closes: #500110) * debian/postrm: + add conditional to run ucf. -- Tiago Bortoletto Vaz Tue, 30 Sep 2008 21:12:34 -0300 apticron (1.1.24) unstable; urgency=low * Add -f option in hostname command in order to show the user the FQDN. Thanks to Sylvain de Tilly ; (Closes: #497025) * moving from svn to git in collab-main; * debian/control: + add Vcs-Browser: and Vcs-Git: fields; * Fix sed syntax in order to escape regex symbols when comparing packages names; * debian/postrm: + fix lintian warning regarding prepended paths in maintainer scripts. -- Tiago Bortoletto Vaz Thu, 18 Sep 2008 09:13:11 -0300 apticron (1.1.23) unstable; urgency=low * Redirecting error to /dev/null when the system has no aptitude installed. Thanks to Carsten Hey . (Closes: #497175). -- Tiago Bortoletto Vaz Sun, 31 Aug 2008 04:42:04 -0300 apticron (1.1.22) unstable; urgency=low * Using /etc/lsb-release in order to get the right distribuion on the message - useful for Debian derivatives. Thanks to Daniel Hahler . (Closes: #493296) * Removing annoying tabs and spaces from apticron file. * Add workaround in order to no longer sending upgrade notices about packages that are on hold by aptitude - these that are unfortunately ignored by apt-get. (Closes: #431869) * List packages that will not be upgraded for being on hold on dselect database. Also lists those on hold by aptitude, giving the user a warning message recommending them not to use apt-get in that case. (Closes: #314646) * Update Standards-Version to 3.8.0. * Giving the user an option to receive only the diff pendings between current and last apticron run. (Closes: #344115) * Fix minor lintian warnings. -- Tiago Bortoletto Vaz Tue, 26 Aug 2008 17:42:05 -0300 apticron (1.1.21+nmu1) unstable; urgency=low * Non-maintainer upload to fix pending l10n issues. * Debconf translations: - Galician. Closes: #482665 - Basque. Closes: #495037 -- Christian Perrier Tue, 19 Aug 2008 07:11:02 +0200 apticron (1.1.21) unstable; urgency=low [ Tiago Bortoletto Vaz ] * Downgrade iputils and apt-listchanges from depends to recommends; only use these tools when available. Thanks to Thijs Kinkhorst. (Closes: #410404) * Add --force-yes to apt-get in order to avoid errors when apt-get has to do some tasks like downgrading a package. Thanks to Jö Fahlke. (Closes: #439349) * Add russian po-debconf translation. Thanks to Yuri Kozlov. (Closes: #451408) * Add UTF-8 enconding to email header. Thanks to Damyan Ivanov. (Closes: #426682) [ Gian Piero Carrubba ] * Randomized cron job execution via cron.d file. * New --cron option to ensure to run only once a day through cron/anacron. * Removed random sleep from cron.daily script. (Closes: #440626, #456341) * Manage conffiles via ucf. [ Tassia Camoes Araujo ] * Disconsider RTNETLINK error when Address family is not supported. Thanks to Bernard Boudet. (Closes: #463585) * Fix lintian warnings. -- Tassia Camoes Araujo Wed, 16 Apr 2008 11:44:55 -0300 apticron (1.1.20) unstable; urgency=low * Fix problem with debconf pt translation. Thanks to Christian Perrier. (Closes: #403494) -- Tiago Bortoletto Vaz Mon, 1 Jan 2007 21:37:03 -0300 apticron (1.1.19) unstable; urgency=low * Removed capitalized subject in apticron file. Thanks to martin f krafft. (Closes: #383154) * Added new portuguese translation for debconf. Thanks to Rui Branco. (Closes: #330052) * Added new german translation for debconf. Thanks to Johannes Starosta. (Closes: #349539) * Fix broken conditional. Thanks to Nis Martensen. (Closes: #370674) * Put po-debconf in Build-depends (policy 7.6) * Fix no encode declaration in pt.po -- Tiago Bortoletto Vaz Wed, 25 Oct 2006 19:44:15 -0300 apticron (1.1.18) unstable; urgency=low * Removed bashism in cron.daily. Thanks to Klaus Ethgen and Rodrigo Campos. (Closes: #381122) * Added new dutch po-debconf translation. Thanks to Kurt De Bree. (Closes: #381852) -- Tiago Bortoletto Vaz Mon, 7 Aug 2006 18:55:28 -0400 apticron (1.1.17) unstable; urgency=low * put "Default: root" as non-translatable in templates file. Thanks to Thomas Huriaux. (Closes: #378098). * add a little sentence in package description about cron-apt, recommending it for more complex APT tasks. Thanks to Marc Haber. (Closes: #341246) -- Tiago Bortoletto Vaz Sun, 23 Jul 2006 20:39:55 -0400 apticron (1.1.16) unstable; urgency=low * Added apt (>= 0.6.8) as dependency because apticron uses the --allow-unauthenticated feature wich was started in that apt version. * Fixed problem generating changelog output in the email body. Thanks to Michael Kaaden. (Closes: #370674) * Fixed minor lintian warnings. * Fixed simple fuzzy messages in all languages. -- Tiago Bortoletto Vaz Fri, 16 Jun 2006 07:14:07 -0400 apticron (1.1.15) unstable; urgency=low * Fixed Tassia's name in control file. * Added Colm MacCarthaigh as uploader. -- Tassia Camoes Araujo Fri, 19 May 2006 21:54:00 -0500 apticron (1.1.14) unstable; urgency=low [ Tiago Bortoletto Vaz ] * Added Vietnamese po translation. Thanks to Clytie Siddall. (Closes: #308928) * Added German po translation. Thanks to Johannes Starosta. (Closes: #349539) * Added Japanese po translation. Thanks to Kenshi Muto. (Closes: #306945) * Added Czech po translation. Thanks to Miroslav Kure. (Closes: #315818) * Added Swedish po translation. Thanks to Daniel Nylander. (Closes: #331301) * Added Italian po translation. Thanks to Luca Monducci. (Closes: #345531) * Added Spanhish po translation. Thanks to . César Gómez Martín. (Closes: #333873) [ Tassia Camoes Araujo ] * Rewrote the code that handles the debconf e-mail configuration. (Closes: #316074) * Cleaned-up the rules file. * Changed debonf compatibility level to 5. * Updated standard version to 3.7.2 (no changes) * Fixed error in manpage removing a character with accent. [ Tiago Bortoletto Vaz ] * Removed .svn dirs by using svn-buildpackage. Thanks to Marc Haber. (Closes: #341245) * Fixed locales problem. Thanks to Ondra Kudlik. (Closes: #330685). * Fixed typo problem in pot file. Thanks to Clytie Siddall. (Closes: #308929). * Added 3600 range random to cron running. Thanks to Anders Henke. (Closes: #316101) [ Tassia Camoes Araujo ] * Fixed problems to deal with file repositories. (Closes: #340272) [ Tiago Bortoletto Vaz ] * Close NMU bug that fixes LANG problem. Thanks to Alessandro Iurlano. (Closes: #301395) [ Tassia Camoes Araujo ] * Switch to aptitude instead of apt-get in apticron's notifications. Thanks to Filippo Giunchedi (Closes: #325394) -- Tassia Camoes Araujo Thu, 18 May 2006 16:30:41 -0500 apticron (1.1.13) unstable; urgency=low * Add PT translation courtesty of . (Closes: #330052) * No longer exit on apt-get update failure. (Closes: #328989) * Sort the list of packages. (Closes: #323723) * No longer depend on coreutils. (Closes: #316416) -- Colm MacCarthaigh Wed, 28 Sep 2005 14:04:34 +0100 apticron (1.1.12) unstable; urgency=low * Added a dependency for iproute -- Colm MacCarthaigh Tue, 19 Apr 2005 16:00:47 +0100 apticron (1.1.11) unstable; urgency=low * Modified to use apt-config to detect archive cache directory. Also made this configurable. (Closes: #305026) * Added a test -x to the cron-script. (Closes: #304892) * Corrected the apt-listchanges dependency. (Closes: #304884) * Added some logic to include IP addresses of system in the output. * Made the system name, IP addresses and number of IP addresses to show configurable. -- Colm MacCarthaigh Tue, 19 Apr 2005 11:03:13 +0100 apticron (1.1.10) unstable; urgency=low * Added FR translation courtesy of and (Closes: #302418) * Corrected the signature seperator, courtesy of (Closes: #304725) * Corrected a typo in the long descrip;tion, courtesy of (Closes: #304724) -- Colm MacCarthaigh Fri, 15 Apr 2005 09:41:56 +0100 apticron (1.1.9) unstable; urgency=low * section/priority from utils/optional to admin/extra * Use LANG=en for apt-cache policy (Closes: #301395) -- Colm MacCarthaigh Fri, 25 Mar 2005 16:57:58 +0000 apticron (1.1.8) unstable; urgency=low * Removed the autoclean command, (Closes: #301027) * Retain apt-listchanges stderr output. (Closes: #300920) * Changed default invokation of apt-listchanges to include both news and changes, aswell as output headers. Also added LISTCHANGES_PROFILE configuration directive. (Closes: #300919) * Made some cosmetic changes to mail format. All levels of indentation should now be consistent. * Migrated to using /etc/bash instead of /etc/sh, due to presence of bash-isms. -- Colm MacCarthaigh Wed, 23 Mar 2005 14:45:46 +0000 apticron (1.1.7) unstable; urgency=low * Mostly costly cosmetic changes to the language used * Added logic to avoid unneccessary repeated downloads of packages, courtesy of Marc Sherman -- Colm MacCarthaigh Wed, 19 Jan 2005 20:02:10 +0000 apticron (1.1.6) unstable; urgency=low * Added pt_BR translation courtesy of Otavio Salvador -- Colm MacCarthaigh Thu, 6 Jan 2005 20:17:39 +0000 apticron (1.1.5) unstable; urgency=low * Updated to use po-debconf -- Colm MacCarthaigh Thu, 6 Jan 2005 16:17:28 +0000 apticron (1.1.4) unstable; urgency=low * Migrated to a binary in /usr/sbin * Added manpage -- Colm MacCarthaigh Thu, 6 Jan 2005 15:01:10 +0000 apticron (1.1.3) unstable; urgency=low * Corrected some of the english in the script -- Colm MacCarthaigh Thu, 6 Jan 2005 12:20:18 +0000 apticron (1.1.2) unstable; urgency=low * Added date to start of report and other cosmetic fixes. -- Cillian Sharkey Wed, 6 Aug 2003 11:14:13 +0100 apticron (1.1.1) unstable; urgency=low * Fixes to debconf -- Colm MacCarthaigh Fri, 9 Aug 2002 11:53:26 +0100 apticron (1.0.1) unstable; urgency=low * Initial Release. -- Colm MacCarthaigh Fri, 9 Aug 2002 11:53:26 +0100 apticron-1.1.55/debian/NEWS0000644000000000000000000000424211757035407012244 0ustar apticron (1.1.51) unstable; urgency=low New config option CUSTOM_FROM allows setting a custom sender by replacing the default 'From:' field in the notification emails. -- Tiago Bortoletto Vaz Mon, 29 Aug 2011 00:00:23 -0300 apticron (1.1.40) unstable; urgency=low New config option added: NOTIFY_NEW.# Set NOTIFY_NEW="0" if you don't want to be notified about packages which are not installed in your system. Yes, it's possible! There are some issues related to systems which have mixed stable/unstable sources. In these cases apt-get will consider for example that packages with "Priority: required"/"Essential: yes" in unstable but not in stable should be installed, so they will be listed in dist-upgrade output. Please take a look at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531002#44 -- Tiago Bortoletto Vaz Sat, 15 May 2010 01:57:05 +0000 apticron (1.1.32) unstable; urgency=low New config option added: NOTIFY_HOLDS. This determines whether apticron will download/list packages on hold or not. The default behavior is notifying these packages. If you don't want to be mailed about new versions of packages on hold in your system, please set NOTIFY_HOLDS="0" in your apticron config file. -- Tiago Bortoletto Vaz Tue, 26 May 2009 16:40:56 -0300 apticron (1.1.21) unstable; urgency=low This release introduces a new option (--cron) and a cron.d snippet to run apticron once a day at a time randomly generated during postinst. The cron.daily script still remains mainly for those systems that aren't up 24h a day. Note however that the random sleep has been removed, so not to delay execution of following jobs. If you wish, you can modify the time in the cron.d file, but be advised that the first execution could be triggered by the cron.daily script (as also the first execution after the installation of this release). Subsequent runs should go fine. Note however that execution time has been randomized in order not to DOS Debian servers, so please don't modify it unless strongly needed. -- Gian Piero Carrubba Sun, 18 Nov 2007 16:07:32 +0100 apticron-1.1.55/debian/README.Debian0000644000000000000000000000210211757035407013577 0ustar 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 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. -- Tiago Bortoletto Vaz, Sex Jan 30 14:14:59 BRT 2009 apticron-1.1.55/debian/templates0000644000000000000000000000030011757035407013455 0ustar Template: apticron/notification Type: string Default: root _Description: E-Mail address(es) to notify: Specify e-mail addresses, space separated, that should be notified of pending updates. apticron-1.1.55/debian/compat0000644000000000000000000000000211757035407012741 0ustar 5 apticron-1.1.55/apticron0000755000000000000000000002007611757035407012073 0ustar #!/bin/bash -e # Character set handling differs between the different mailx # implementations in Debian. Make sure we send proper headers, and a # text/plain content type. Mailx() { if [ "x`readlink -e /usr/bin/mailx`" = "x/usr/bin/heirloom-mailx" ] then # heirloom-mailx creates correct headers, but needs help # if the terminal charset (LC_CTYPE) is no UTF-8 locale if [ -n "$CUSTOM_FROM" ] ; then /usr/bin/mailx -S ttycharset=utf-8 -r "$CUSTOM_FROM" "$@" else /usr/bin/mailx -S ttycharset=utf-8 "$@" fi else # bsd-mailx/mailutils' mailx don't do character set # conversion, but do not support MIME either. if [ -n "$CUSTOM_FROM" ] ; then /usr/bin/mailx -a "MIME-Version: 1.0" \ -a "Content-type: text/plain; charset=UTF-8" \ -a "Content-transfer-encoding: 8bit" \ -a "From: $CUSTOM_FROM" \ "$@" else /usr/bin/mailx -a "MIME-Version: 1.0" \ -a "Content-type: text/plain; charset=UTF-8" \ -a "Content-transfer-encoding: 8bit" \ "$@" fi fi } if [ "x$1" = "x--cron" ] ; then shift tsfile='/var/lib/apticron/cron_run' # Run only once a day ( grant 59 mins allowance ) test "x$( find $tsfile -mmin -1381 2>/dev/null )" = "x$tsfile" && exit 0 # Update the time-stamp file LC_TIME=C touch -d "$( date +%H:%M )" "$tsfile" || true fi if [ -n "$1" ]; then echo "Usage: apticron [--cron]" echo "Mails a list of packages that are pending-upgrade to the" echo "email address specified in /etc/apticron/apticron.conf" echo "--cron: used when invoked by cron in order to run no" echo " more than once a day." exit 1 fi # a sane default for email EMAIL=root # By default we have no profile LISTCHANGES_PROFILE="" # Set $DIRCACHE eval `/usr/bin/apt-config shell DIRCACHE Dir::Cache` # Set the SYSTEM SYSTEM=`/bin/hostname` # Set the IPADDRESSNUM IPADDRESSNUM="1" # Source lsb-release so we know what distribution we are DISTRIB_ID="Debian" # Default to Debian [ -e /etc/lsb-release ] && . /etc/lsb-release # Source the config file [ -e /etc/apticron/apticron.conf ] && . /etc/apticron/apticron.conf # Force resolving and showing all FQDNs if [ -n "$ALL_FQDNS" ] ; then SYSTEM=`/bin/hostname --all-fqdns` fi if [ -z "$IPADDRESSES" ] && [ -x /sbin/ip ]; then # Set the IPv4 addresses IPADDRESSES=`(echo $( /bin/hostname --all-ip-addresses ) ; /sbin/ip -f inet addr show scope global 2> /dev/null | \ /bin/grep "scope global" |\ /usr/bin/head -$IPADDRESSNUM |\ /usr/bin/awk '{ print $2 }' |\ /usr/bin/cut -d/ -f1) |\ /usr/bin/uniq || true` # Set the IPv6 addresses 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 }' |\ /usr/bin/cut -d/ -f1`" fi # Turn our list of addresses into nicely formatted output ADDRESSES="" if [ -n "$IPADDRESSES" ] ; then for address in $IPADDRESSES; do # Add the Address ADDRESSES="${ADDRESSES} ${address}" done ADDRESSES=`echo $ADDRESSES | /usr/bin/fmt -w68 |\ /bin/sed 's/^/\t[ /;s/\$/ ]/'` ADDRESSES=`echo -e "\n$ADDRESSES"` fi # update the package lists /usr/bin/apt-get -qq update || true # get the list of packages which are pending an upgrade PKGNAMES=`/usr/bin/apt-get -q -y --ignore-hold --allow-unauthenticated -s dist-upgrade | \ /bin/grep ^Inst | /usr/bin/cut -d\ -f2 | /usr/bin/sort` # creating the future last_run file TMPFILE="$(mktemp -t apticron.XXXXXXXXXX)" for p in $PKGNAMES; do echo $p >> $TMPFILE done # workaround to handle apt-get installing packages hold by aptitude. See #137771. APTITUDE_HOLDS=`grep "^State: 2" -B 2 /var/lib/aptitude/pkgstates 2>/dev/null |grep "^Package: .*$" |cut -d" " -f 2` DSELECT_HOLDS=`dpkg --get-selections |grep "hold$" |cut -f1` if [ "$NOTIFY_HOLDS" = "0" ]; then # packages hold by aptitude don't go to the upgrading candidates list for p in $APTITUDE_HOLDS; do PKGNAMES=`echo $PKGNAMES |sed "s/\(^\| \)$p\( \|$\)/ /g;s/^ //g"` done # packages hold by dselect don't go to the upgrading candidates list for p in $DSELECT_HOLDS; do PKGNAMES=`echo $PKGNAMES |sed "s/\(^\| \)$p\( \|$\)/ /g;s/^ //g"` done fi if [ "$NOTIFY_NEW" = "0" ]; then # new packages don't go to the upgrading candidates list (see #531002) for p in $PKGNAMES; do if [ -z "`dpkg -s $p 2>/dev/null| grep '^Status: install ok installed'`" ] ; then PKGNAMES=`echo $PKGNAMES |sed "s/\(^\| \)$p\( \|$\)/ /g;s/^ //g"` fi done fi NUM_PACKAGES=`echo $PKGNAMES |wc -w` # Custom subject if [ -n "$CUSTOM_SUBJECT" ] ; then MAILX_SUBJECT=$(eval "echo \"${CUSTOM_SUBJECT}\"") else MAILX_SUBJECT="$NUM_PACKAGES $DISTRIB_ID package update(s) for $SYSTEM" fi # Custom no update subject if [ -n "$CUSTOM_NO_UPDATES_SUBJECT" ] ; then MAILX_NO_UPDATE_SUBJECT=$(eval "echo \"${CUSTOM_NO_UPDATES_SUBJECT}\"") else MAILX_NO_UPDATE_SUBJECT="No updates 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 EXTRA_REPORT=" since the last run" for p in `cat $LAST_RUN_FILE`; do PKGNAMES=`echo $PKGNAMES |sed "s/\(^\| \)$p\( \|$\)/ /g;s/^ //g"` done fi if [ -n "$PKGNAMES" ] ; then # do the upgrade downloads /usr/bin/apt-get --ignore-hold -qq -d --allow-unauthenticated --force-yes dist-upgrade > /dev/null ( /bin/cat <& /dev/null ; then DEBS="$DEBS ${PKGPATH}${PKG}_${VERFILE}_*.deb" fi echo -e "\t"$PKG $VER done if [ "$DIFF_ONLY" = "1" ] && [ -e "$LAST_RUN_FILE" ]; then echo -e "\n(there are $(grep -xf $LAST_RUN_FILE $TMPFILE |wc -l) other packages previously reported to you pending an upgrade!)" fi MISSING_DEBS=`apt-get -y --ignore-hold --allow-unauthenticated --print-uris dist-upgrade \ | grep "file:" \ | sed "s/'file:\(.*\)' .*/\1/g"` DEBS=`echo $MISSING_DEBS $DEBS | /usr/bin/sort` /bin/cat <&1 | Mailx -s "$MAILX_SUBJECT" $EMAIL elif [ "$NOTIFY_NO_UPDATES" = "1" ] ; then ( /bin/cat <&1 | Mailx -s "$MAILX_NO_UPDATE_SUBJECT" $EMAIL fi # updating the last_run file mv $TMPFILE $LAST_RUN_FILE exit 0