diff -Nru apticron-1.1.62ubuntu1/apticron apticron-1.2.0/apticron --- apticron-1.1.62ubuntu1/apticron 2017-09-01 04:53:52.000000000 +0000 +++ apticron-1.2.0/apticron 2018-02-14 20:25:56.000000000 +0000 @@ -4,15 +4,23 @@ # implementations in Debian. Make sure we send proper headers, and a # text/plain content type. Mailx() { + MAIL_BODY_FILE=$(tempfile) + cat > "$MAIL_BODY_FILE" + if [ "x$GPG_ENCRYPT" = "x1" ] && gpg --list-public-keys "$EMAIL" > /dev/null 2>&1; then + MAIL_ENC_FILE=$(tempfile) + gpg --trust-model always --batch --armor --encrypt --recipient "$EMAIL" < "$MAIL_BODY_FILE" > "$MAIL_ENC_FILE" + mv "$MAIL_ENC_FILE" "$MAIL_BODY_FILE" + fi + local MAILER="`readlink -e /usr/bin/mailx`" if [ x$MAILER = "x/usr/bin/heirloom-mailx" -o x$MAILER = "x/usr/bin/s-nail" ] 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" "$@" + /usr/bin/mailx -S ttycharset=utf-8 -r "$CUSTOM_FROM" "$@" < "$MAIL_BODY_FILE" else - /usr/bin/mailx -S ttycharset=utf-8 "$@" + /usr/bin/mailx -S ttycharset=utf-8 "$@" < "$MAIL_BODY_FILE" fi else # bsd-mailx/mailutils' mailx don't do character set @@ -22,14 +30,15 @@ -a "Content-type: text/plain; charset=UTF-8" \ -a "Content-transfer-encoding: 8bit" \ -a "From: $CUSTOM_FROM" \ - "$@" + "$@" < "$MAIL_BODY_FILE" else /usr/bin/mailx -a "MIME-Version: 1.0" \ -a "Content-type: text/plain; charset=UTF-8" \ -a "Content-transfer-encoding: 8bit" \ - "$@" + "$@" < "$MAIL_BODY_FILE" fi fi + rm "$MAIL_BODY_FILE" } if [ "x$1" = "x--cron" ] ; then @@ -60,9 +69,6 @@ DISTRIB_ID="Debian" # Default to Debian [ -e /etc/lsb-release ] && . /etc/lsb-release -# Source the default config file -. /usr/lib/apticron/apticron.conf - # Source the config file [ -e /etc/apticron/apticron.conf ] && . /etc/apticron/apticron.conf diff -Nru apticron-1.1.62ubuntu1/apticron.conf apticron-1.2.0/apticron.conf --- apticron-1.1.62ubuntu1/apticron.conf 2017-08-31 23:04:10.000000000 +0000 +++ apticron-1.2.0/apticron.conf 2018-02-14 20:28:35.000000000 +0000 @@ -122,3 +122,11 @@ # 'From:' field used in the notification e-mails. # # CUSTOM_FROM="" + +# Set GPG_ENCRYPT="1" if you want to encrypt the mail being send to +# $EMAIL. apticron will use gpg and the public key of the recipient to encrypt +# the mail. Please note that the $EMAIL value above can't be an alias, since +# gpg will trust it to encrypt the message. +# +GPG_ENCRYPT="0" + diff -Nru apticron-1.1.62ubuntu1/apticron.service apticron-1.2.0/apticron.service --- apticron-1.1.62ubuntu1/apticron.service 1970-01-01 00:00:00.000000000 +0000 +++ apticron-1.2.0/apticron.service 2017-10-09 16:46:05.000000000 +0000 @@ -0,0 +1,6 @@ +[Unit] +Description=Launch apticron to notify of packages pending an update + +[Service] +Type=oneshot +ExecStart=/usr/sbin/apticron diff -Nru apticron-1.1.62ubuntu1/apticron.timer apticron-1.2.0/apticron.timer --- apticron-1.1.62ubuntu1/apticron.timer 1970-01-01 00:00:00.000000000 +0000 +++ apticron-1.2.0/apticron.timer 2017-10-09 16:46:05.000000000 +0000 @@ -0,0 +1,10 @@ +[Unit] +Description=Run apticron daily + +[Timer] +OnCalendar=daily +RandomizedDelaySec=3600 +Persistent=true + +[Install] +WantedBy=timers.target diff -Nru apticron-1.1.62ubuntu1/debian/apticron.config apticron-1.2.0/debian/apticron.config --- apticron-1.1.62ubuntu1/debian/apticron.config 1970-01-01 00:00:00.000000000 +0000 +++ apticron-1.2.0/debian/apticron.config 2017-10-09 16:46:05.000000000 +0000 @@ -0,0 +1,14 @@ +#!/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 diff -Nru apticron-1.1.62ubuntu1/debian/apticron.dirs apticron-1.2.0/debian/apticron.dirs --- apticron-1.1.62ubuntu1/debian/apticron.dirs 1970-01-01 00:00:00.000000000 +0000 +++ apticron-1.2.0/debian/apticron.dirs 2018-02-14 19:10:51.000000000 +0000 @@ -0,0 +1,2 @@ +etc/apticron +var/lib/apticron diff -Nru apticron-1.1.62ubuntu1/debian/apticron.install apticron-1.2.0/debian/apticron.install --- apticron-1.1.62ubuntu1/debian/apticron.install 1970-01-01 00:00:00.000000000 +0000 +++ apticron-1.2.0/debian/apticron.install 2017-10-09 16:59:48.000000000 +0000 @@ -0,0 +1,2 @@ +apticron usr/sbin/ +apticron.conf etc/apticron/ diff -Nru apticron-1.1.62ubuntu1/debian/apticron.lintian-overrides apticron-1.2.0/debian/apticron.lintian-overrides --- apticron-1.1.62ubuntu1/debian/apticron.lintian-overrides 1970-01-01 00:00:00.000000000 +0000 +++ apticron-1.2.0/debian/apticron.lintian-overrides 2017-10-09 16:46:05.000000000 +0000 @@ -0,0 +1 @@ +virtual-package-depends-without-real-package-depends diff -Nru apticron-1.1.62ubuntu1/debian/apticron.manpages apticron-1.2.0/debian/apticron.manpages --- apticron-1.1.62ubuntu1/debian/apticron.manpages 1970-01-01 00:00:00.000000000 +0000 +++ apticron-1.2.0/debian/apticron.manpages 2017-10-09 16:46:05.000000000 +0000 @@ -0,0 +1 @@ +apticron.1 diff -Nru apticron-1.1.62ubuntu1/debian/apticron.postinst apticron-1.2.0/debian/apticron.postinst --- apticron-1.1.62ubuntu1/debian/apticron.postinst 1970-01-01 00:00:00.000000000 +0000 +++ apticron-1.2.0/debian/apticron.postinst 2017-10-09 16:46:05.000000000 +0000 @@ -0,0 +1,77 @@ +#! /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" + + # 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 + + # 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 diff -Nru apticron-1.1.62ubuntu1/debian/apticron.postrm apticron-1.2.0/debian/apticron.postrm --- apticron-1.1.62ubuntu1/debian/apticron.postrm 1970-01-01 00:00:00.000000000 +0000 +++ apticron-1.2.0/debian/apticron.postrm 2017-10-09 16:46:05.000000000 +0000 @@ -0,0 +1,22 @@ +#!/bin/sh -e + +case "$1" in + purge) + if which ucf >/dev/null; then + ucf --purge /etc/cron.d/apticron + fi + rm -f /etc/cron.d/apticron /etc/cron.d/apticron.ucf-* + rm -f /var/lib/misc/apticron.cron + 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# diff -Nru apticron-1.1.62ubuntu1/debian/apticron.preinst apticron-1.2.0/debian/apticron.preinst --- apticron-1.1.62ubuntu1/debian/apticron.preinst 1970-01-01 00:00:00.000000000 +0000 +++ apticron-1.2.0/debian/apticron.preinst 2017-10-09 16:46:05.000000000 +0000 @@ -0,0 +1,10 @@ +#!/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# diff -Nru apticron-1.1.62ubuntu1/debian/apticron-systemd.dirs apticron-1.2.0/debian/apticron-systemd.dirs --- apticron-1.1.62ubuntu1/debian/apticron-systemd.dirs 1970-01-01 00:00:00.000000000 +0000 +++ apticron-1.2.0/debian/apticron-systemd.dirs 2017-10-09 16:46:05.000000000 +0000 @@ -0,0 +1 @@ +var/lib/apticron diff -Nru apticron-1.1.62ubuntu1/debian/apticron-systemd.install apticron-1.2.0/debian/apticron-systemd.install --- apticron-1.1.62ubuntu1/debian/apticron-systemd.install 1970-01-01 00:00:00.000000000 +0000 +++ apticron-1.2.0/debian/apticron-systemd.install 2017-10-09 17:00:29.000000000 +0000 @@ -0,0 +1,4 @@ +apticron usr/sbin/ +apticron.conf etc/apticron/ +apticron.service lib/systemd/system +apticron.timer lib/systemd/system diff -Nru apticron-1.1.62ubuntu1/debian/apticron-systemd.manpages apticron-1.2.0/debian/apticron-systemd.manpages --- apticron-1.1.62ubuntu1/debian/apticron-systemd.manpages 1970-01-01 00:00:00.000000000 +0000 +++ apticron-1.2.0/debian/apticron-systemd.manpages 2017-10-09 16:46:05.000000000 +0000 @@ -0,0 +1 @@ +apticron.1 diff -Nru apticron-1.1.62ubuntu1/debian/apticron.templates apticron-1.2.0/debian/apticron.templates --- apticron-1.1.62ubuntu1/debian/apticron.templates 1970-01-01 00:00:00.000000000 +0000 +++ apticron-1.2.0/debian/apticron.templates 2017-10-09 16:46:05.000000000 +0000 @@ -0,0 +1,6 @@ +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. diff -Nru apticron-1.1.62ubuntu1/debian/changelog apticron-1.2.0/debian/changelog --- apticron-1.1.62ubuntu1/debian/changelog 2017-11-04 19:04:59.000000000 +0000 +++ apticron-1.2.0/debian/changelog 2018-02-14 20:33:08.000000000 +0000 @@ -1,15 +1,17 @@ -apticron (1.1.62ubuntu1) bionic; urgency=medium +apticron (1.2.0) unstable; urgency=medium - * Merge from Debian unstable. Remaining changes: - + Keep packaging tweaks for now. - - debian/compat: Bump to 9. - + debian/control: - - Build-depend on debhelper (>= 9). - - Use a secure URL for VCS - + debian/rules: - - Add recommended build-arch and build-indep targets. + * Remove Tassia from Uploaders. + * Build-depends on debhelper >= 9 + * Simplify debian/rules + * Add apticron-systemd package. Thanks to Gioele Barabucci for the patch. + (Closes: #850853) + * Fix Vcs-Browser. Now it points to salsa.debian.org. (Closes: #877634) + * Add an option to send encrypted emails with gpg. Thanks to Matthias + Baumgarten. (Closes: #877894) + * Dependn on bsd-mailx | mailx rather than mailx only. Thanks to Santiago + Vila. (Closes: #882212) - -- Bhavani Shankar Sun, 05 Nov 2017 00:33:46 +0530 + -- Tiago Bortoletto Vaz Wed, 14 Feb 2018 15:33:08 -0500 apticron (1.1.62) unstable; urgency=medium @@ -26,21 +28,6 @@ -- Tiago Bortoletto Vaz Thu, 31 Aug 2017 19:04:10 -0400 -apticron (1.1.61ubuntu1) artful; urgency=medium - - * Merge from Debian unstable. Remaining changes: - + Keep packaging tweaks for now. - - debian/compat: Bump to 9. - + debian/control: - - Build-depend on debhelper (>= 9). - - Use a secure URL for VCS - + debian/rules: - - Add recommended build-arch and build-indep targets. - * Dropped change: - + Treat s-nail the same as heirloom-mailx. - - -- Bhavani Shankar Tue, 23 May 2017 20:29:15 +0530 - apticron (1.1.61) unstable; urgency=medium * Fix duplicate IP in mail report. @@ -60,23 +47,6 @@ -- Tiago Bortoletto Vaz Tue, 13 Sep 2016 12:25:39 -0400 -apticron (1.1.58ubuntu2) zesty; urgency=medium - - * debian/compat: Bump to 9. - * debian/control: - - Build-depend on debhelper (>= 9). - - Use a secure URL for VCS - * debian/rules: - - Add recommended build-arch and build-indep targets. - - -- Bhavani Shankar Fri, 03 Feb 2017 09:28:26 +0530 - -apticron (1.1.58ubuntu1) xenial; urgency=medium - - * Treat s-nail the same as heirloom-mailx (Closes: #812719, LP: #1562229) - - -- Adam Conrad Sun, 10 Apr 2016 11:52:35 -0600 - apticron (1.1.58) unstable; urgency=medium * Remove deprecated "--force-yes" option. Now "-qq" no longer depends on @@ -674,4 +644,3 @@ * Initial Release. -- Colm MacCarthaigh Fri, 9 Aug 2002 11:53:26 +0100 - diff -Nru apticron-1.1.62ubuntu1/debian/config apticron-1.2.0/debian/config --- apticron-1.1.62ubuntu1/debian/config 2017-09-01 04:53:53.000000000 +0000 +++ apticron-1.2.0/debian/config 1970-01-01 00:00:00.000000000 +0000 @@ -1,14 +0,0 @@ -#!/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 diff -Nru apticron-1.1.62ubuntu1/debian/control apticron-1.2.0/debian/control --- apticron-1.1.62ubuntu1/debian/control 2017-11-04 19:03:41.000000000 +0000 +++ apticron-1.2.0/debian/control 2018-02-14 20:33:08.000000000 +0000 @@ -1,20 +1,31 @@ Source: apticron Section: admin -Priority: extra -Maintainer: Ubuntu Developers -XSBC-Original-Maintainer: Tiago Bortoletto Vaz -Build-Depends: debhelper (>= 9), po-debconf -Vcs-Browser: https://git.debian.org/?p=collab-maint/apticron.git -Uploaders: Tássia Camões Araújo -Standards-Version: 3.9.8 -Vcs-Git: https://git.debian.org/git/collab-maint/apticron.git +Priority: optional +Maintainer: Tiago Bortoletto Vaz +Build-Depends: po-debconf, debhelper (>= 9.20160709~) +Standards-Version: 4.1.3 +Vcs-Browser: https://salsa.debian.org/debian/apticron +Vcs-Git: https://salsa.debian.org/debian/apticron.git Package: apticron Architecture: all Pre-Depends: dpkg (>= 1.15.7.2) -Depends: mailx, apt (>= 1.1~exp9), ucf (>= 0.28), cron | cron-daemon, bzip2, ${misc:Depends} -Recommends: apt-listchanges, iproute2 -Description: Simple tool to mail about pending package updates +Depends: bsd-mailx | mailx, apt (>= 1.1~exp9), ucf (>= 0.28), cron | cron-daemon, bzip2, ${misc:Depends} +Recommends: apt-listchanges, iproute2, gpg +Description: Simple tool to mail about pending package updates - cron version 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. + +Package: apticron-systemd +Architecture: all +Pre-Depends: dpkg (>= 1.15.7.2) +Depends: bsd-mailx | mailx, apt (>= 1.1~exp9), systemd, bzip2, ${misc:Depends} +Conflicts: apticron +Recommends: apt-listchanges, iproute2, gpg +Description: Simple tool to mail about pending package updates - systemd version + 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. + . + This package uses a systemd timer instead of a cron job to run apticron. diff -Nru apticron-1.1.62ubuntu1/debian/dirs apticron-1.2.0/debian/dirs --- apticron-1.1.62ubuntu1/debian/dirs 2017-09-01 04:53:53.000000000 +0000 +++ apticron-1.2.0/debian/dirs 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -var/lib/apticron diff -Nru apticron-1.1.62ubuntu1/debian/lintian-overrides apticron-1.2.0/debian/lintian-overrides --- apticron-1.1.62ubuntu1/debian/lintian-overrides 2017-09-01 04:53:53.000000000 +0000 +++ apticron-1.2.0/debian/lintian-overrides 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -virtual-package-depends-without-real-package-depends diff -Nru apticron-1.1.62ubuntu1/debian/postinst apticron-1.2.0/debian/postinst --- apticron-1.1.62ubuntu1/debian/postinst 2017-09-01 04:53:53.000000000 +0000 +++ apticron-1.2.0/debian/postinst 1970-01-01 00:00:00.000000000 +0000 @@ -1,77 +0,0 @@ -#! /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" - - # 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 - - # 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 diff -Nru apticron-1.1.62ubuntu1/debian/postrm apticron-1.2.0/debian/postrm --- apticron-1.1.62ubuntu1/debian/postrm 2017-09-01 04:53:53.000000000 +0000 +++ apticron-1.2.0/debian/postrm 1970-01-01 00:00:00.000000000 +0000 @@ -1,22 +0,0 @@ -#!/bin/sh -e - -case "$1" in - purge) - if which ucf >/dev/null; then - ucf --purge /etc/cron.d/apticron - fi - rm -f /etc/cron.d/apticron /etc/cron.d/apticron.ucf-* - rm -f /var/lib/misc/apticron.cron - 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# diff -Nru apticron-1.1.62ubuntu1/debian/preinst apticron-1.2.0/debian/preinst --- apticron-1.1.62ubuntu1/debian/preinst 2017-09-01 04:53:53.000000000 +0000 +++ apticron-1.2.0/debian/preinst 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -#!/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# diff -Nru apticron-1.1.62ubuntu1/debian/rules apticron-1.2.0/debian/rules --- apticron-1.1.62ubuntu1/debian/rules 2017-09-01 04:53:53.000000000 +0000 +++ apticron-1.2.0/debian/rules 2017-10-09 16:46:05.000000000 +0000 @@ -1,51 +1,4 @@ #!/usr/bin/make -f -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -build: build-stamp -build-arch: build-stamp -build-indep: 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 - mkdir -p $(CURDIR)/debian/apticron/usr/lib/apticron/ - cp apticron.conf $(CURDIR)/debian/apticron/usr/lib/apticron/ - chmod 0755 $(CURDIR)/debian/apticron/usr/lib/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 build-arch build-indep binary-indep binary-arch binary install +%: + dh $@ --with=systemd diff -Nru apticron-1.1.62ubuntu1/debian/templates apticron-1.2.0/debian/templates --- apticron-1.1.62ubuntu1/debian/templates 2017-09-01 04:53:53.000000000 +0000 +++ apticron-1.2.0/debian/templates 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -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.