From: Ivan Rako Date: Tue, 18 Dec 2018 19:59:21 +0000 (+0100) Subject: novi kljuc i sa-update zbog problema opisanih na stranici: https://sysportal.carnet... X-Git-Tag: debian/2%3.4.0-5^0 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=1d812cb8d0340b99ab6a1f8e00f5a7a542609795;p=spamassassin-cn.git novi kljuc i sa-update zbog problema opisanih na stranici: https://sysportal.carnet.hr/node/1793 --- diff --git a/debian/changelog b/debian/changelog index 0ff0a2f..5f76747 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +spamassassin-cn (2:3.4.0-5) stable; urgency=low + + * novi kljuc i sa-update zbog problema opisanih na stranici: + https://sysportal.carnet.hr/node/1793 + + -- Ivan Rako Tue, 18 Dec 2018 20:53:18 +0100 + spamassassin-cn (2:3.4.0-4) stable; urgency=low * Ispravak greske u postinstu diff --git a/debian/postinst b/debian/postinst index fb6e041..f11ad79 100755 --- a/debian/postinst +++ b/debian/postinst @@ -395,6 +395,14 @@ sa-update \ --gpgkey 6C6191E3 \ --gpgkey 24F434CE \ --gpgkey BDE9DC10 >>/var/log/sa-update.log 2>&1 & + +# get rules https://sysportal.carnet.hr/node/1793 +echo "CN: Downloading new GPG key for SpamAssassin from http://spamassassin.apache.org/updates/GPG.KEY" +echo "$(date +'%d-%m-%Y %T'): Downloading new GPG key from http://spamassassin.apache.org/updates/GPG.KEY ..." >> \ + /var/log/sa-update.log +wget -O - http://spamassassin.apache.org/updates/GPG.KEY 2> /dev/null | sa-update --import - +sa-update -v +restart=yes echo "CN: SpamAssassin updates are now logged at /var/log/sa-update.log" # restart the spamasassin