[debsums] 61/184: Make it possible to run the cronjob weekly or monthly
Axel Beckert
abe at deuxchevaux.org
Mon Mar 2 21:21:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository debsums.
commit f6999aa4964eb45a6a1c413f9be76b0f1433e213
Author: Francois Marier <francois at debian.org>
Date: Fri Oct 10 12:12:48 2008 +1300
Make it possible to run the cronjob weekly or monthly
---
debian/changelog | 5 ++--
debian/config | 2 +-
debian/cron.daily | 2 +-
debian/{cron.daily => cron.monthly} | 2 +-
debian/{cron.daily => cron.weekly} | 2 +-
debian/default | 5 ++--
debian/po/cs.po | 28 +++++++++++--------
debian/po/da.po | 28 +++++++++++--------
debian/po/de.po | 35 ++++++++++++++++--------
debian/po/es.po | 28 +++++++++++--------
debian/po/fi.po | 35 ++++++++++++++++--------
debian/po/fr.po | 35 ++++++++++++++++--------
debian/po/gl.po | 28 +++++++++++--------
debian/po/it.po | 35 ++++++++++++++++--------
debian/po/ja.po | 54 +++++++++++++++++++++++--------------
debian/po/nl.po | 35 ++++++++++++++++--------
debian/po/pt.po | 42 +++++++++++++++++++----------
debian/po/pt_BR.po | 35 ++++++++++++++++--------
debian/po/ru.po | 35 ++++++++++++++++--------
debian/po/sv.po | 35 ++++++++++++++++--------
debian/po/templates.pot | 28 +++++++++++--------
debian/po/uk.po | 53 +++++++++++++++++++++++-------------
debian/po/vi.po | 35 ++++++++++++++++--------
debian/po/zh_TW.po | 45 ++++++++++++++++++++-----------
debian/postinst | 24 +++++------------
debian/templates | 13 ++++-----
26 files changed, 450 insertions(+), 254 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e69f09e..5eff92b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,12 @@
-debsums (2.0.39) UNRELEASED; urgency=low
+debsums (2.0.39) unstable; urgency=low
+ * Allow to also run the cronjob weekly or monthly (closes: #501331)
* Use the append syntax of apt's PostInvoke (closes: #501542)
* Updated Dutch debconf translation (closes: #501376)
* Updated French debconf translation (closes: #501478)
* Updated Finnish debconf translation (closes: #501706)
- -- Francois Marier <francois at debian.org> Fri, 10 Oct 2008 09:34:19 +1300
+ -- Francois Marier <francois at debian.org> Fri, 10 Oct 2008 12:10:55 +1300
debsums (2.0.38) unstable; urgency=low
diff --git a/debian/config b/debian/config
index 3b5bafc..c697de7 100755
--- a/debian/config
+++ b/debian/config
@@ -4,5 +4,5 @@
db_input low debsums/apt-autogen || true
db_go || true
-db_input medium debsums/dailycron || true
+db_input medium debsums/croncheck || true
db_go || true
diff --git a/debian/cron.daily b/debian/cron.daily
index 53a600b..8d50305 100755
--- a/debian/cron.daily
+++ b/debian/cron.daily
@@ -7,7 +7,7 @@ ignorefile="/etc/debsums-ignore"
# source our config
. /etc/default/debsums
-[ "z$DAILY_CHECK" = "zyes" ] || exit 0
+[ "z$CRON_CHECK" = "zdaily" ] || exit 0
# See ionice(1)
if [ -x /usr/bin/ionice ] &&
diff --git a/debian/cron.daily b/debian/cron.monthly
similarity index 90%
copy from debian/cron.daily
copy to debian/cron.monthly
index 53a600b..85b60dd 100755
--- a/debian/cron.daily
+++ b/debian/cron.monthly
@@ -7,7 +7,7 @@ ignorefile="/etc/debsums-ignore"
# source our config
. /etc/default/debsums
-[ "z$DAILY_CHECK" = "zyes" ] || exit 0
+[ "z$CRON_CHECK" = "zmonthly" ] || exit 0
# See ionice(1)
if [ -x /usr/bin/ionice ] &&
diff --git a/debian/cron.daily b/debian/cron.weekly
similarity index 91%
copy from debian/cron.daily
copy to debian/cron.weekly
index 53a600b..3883ab9 100755
--- a/debian/cron.daily
+++ b/debian/cron.weekly
@@ -7,7 +7,7 @@ ignorefile="/etc/debsums-ignore"
# source our config
. /etc/default/debsums
-[ "z$DAILY_CHECK" = "zyes" ] || exit 0
+[ "z$CRON_CHECK" = "zweekly" ] || exit 0
# See ionice(1)
if [ -x /usr/bin/ionice ] &&
diff --git a/debian/default b/debian/default
index 5decabc..26c636a 100644
--- a/debian/default
+++ b/debian/default
@@ -5,5 +5,6 @@
# This is a POSIX shell fragment
#
-# Set this to no to disable the daily checksum verification
-DAILY_CHECK=yes
+# Set this to never to disable the checksum verification or
+# one of "daily", "weekly", "monthly" to enable it
+CRON_CHECK=never
diff --git a/debian/po/cs.po b/debian/po/cs.po
index bea21b4..3a5e5dc 100644
--- a/debian/po/cs.po
+++ b/debian/po/cs.po
@@ -15,7 +15,7 @@ msgid ""
msgstr ""
"Project-Id-Version: debsums\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: 2004-08-13 15:45+0200\n"
"Last-Translator: Jan Outrata <outrataj at upcase.inf.upol.cz>\n"
"Language-Team: Czech <provoz at debian.cz>\n"
@@ -53,23 +53,29 @@ msgstr ""
"kontrolu integrity syst�mu, i kdy� by se na to nem�lo spol�hat jako na m�ru "
"bezpe�nosti."
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
msgstr ""
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+msgid "Run scheduled debsums security check?"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
msgstr ""
diff --git a/debian/po/da.po b/debian/po/da.po
index 1c744ba..a3c10c5 100644
--- a/debian/po/da.po
+++ b/debian/po/da.po
@@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: debsums\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: 2004-08-02 16:45+0200\n"
"Last-Translator: Claus Hindsgaul <claus_h at image.dk>\n"
"Language-Team: Danish <dansk at klid.dk>\n"
@@ -52,23 +52,29 @@ msgstr ""
"De kan v�re nyttige til senere at tjekke systemets integritet, selvom man "
"ikke b�r stole p� dem som en sikkerhedsforanstaltning."
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
msgstr ""
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+msgid "Run scheduled debsums security check?"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
msgstr ""
diff --git a/debian/po/de.po b/debian/po/de.po
index 2b66d64..f3f05bd 100644
--- a/debian/po/de.po
+++ b/debian/po/de.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: debsums 2.0.38\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: 2008-09-28 17:17+0200\n"
"Last-Translator: Sven Joachim <svenjoac at gmx.de>\n"
"Language-Team: German <debian-l10n-german at lists.debian.org>\n"
@@ -35,27 +35,40 @@ msgstr ""
"Integrität des Systems zu prüfen, obwohl man sich als Sicherheitsmaßnahme "
"nicht darauf verlassen sollte."
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
+#, fuzzy
+#| msgid "Run daily debsums security check?"
+msgid "Run scheduled debsums security check?"
msgstr "Täglich eine debsums-Sicherheitsüberprüfung durchführen?"
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+#, fuzzy
+#| msgid ""
+#| "By default, a cronjob will verify every package's checksum information "
+#| "every night to make sure that none of the files have changed since the "
+#| "package was installed."
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
"Standardmäßig wird ein Cronjob die Prüfsummen aller Pakete jede Nacht "
"abgleichen, um sicherzustellen, dass seit der Installation der Pakete keine "
"Dateien verändert wurden."
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
msgstr ""
"Diese Sicherheitsüberprüfung benötigt einige Zeit, wird aber sehr empfohlen."
diff --git a/debian/po/es.po b/debian/po/es.po
index e0ce32f..b16eed7 100644
--- a/debian/po/es.po
+++ b/debian/po/es.po
@@ -27,7 +27,7 @@ msgid ""
msgstr ""
"Project-Id-Version: debsums\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: 2005-09-14 19:23+0100\n"
"Last-Translator: César Gómez Martín <cesar.gomez at gmail.com>\n"
"Language-Team: Debian l10n spanish <debian-l10n-spanish at lists.debian.org>\n"
@@ -68,23 +68,29 @@ msgstr ""
"integridad del sistema, pero no se debe considerar como una medida de "
"seguridad."
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
msgstr ""
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+msgid "Run scheduled debsums security check?"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
msgstr ""
diff --git a/debian/po/fi.po b/debian/po/fi.po
index bc9b588..423de7c 100644
--- a/debian/po/fi.po
+++ b/debian/po/fi.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: debsums\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: 2008-10-09 20:18+0200\n"
"Last-Translator: Esko Arajärvi <edu at iki.fi>\n"
"Language-Team: Finnish <debian-l10n-finnish at lists.debian.org>\n"
@@ -32,27 +32,40 @@ msgstr ""
"asennetuille paketeille. Tästä voi olla hyötyä tarkistettaessa järjestelmän "
"eheyttä myöhemmin. Tätä ei kuitenkaan tulisi käyttää tietoturvatarkistuksena."
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
+#, fuzzy
+#| msgid "Run daily debsums security check?"
+msgid "Run scheduled debsums security check?"
msgstr "Ajetaanko päivittäinen debsums-tietoturvatarkistus?"
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+#, fuzzy
+#| msgid ""
+#| "By default, a cronjob will verify every package's checksum information "
+#| "every night to make sure that none of the files have changed since the "
+#| "package was installed."
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
"Oletuksena kaikkien pakettien tarkistussummat tarkistetaan joka yö cron-työn "
"avulla. Näin varmistetaan ettei mikään tiedosto ole muuttunut paketin "
"asennuksen jälkeen."
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
msgstr ""
"Tämä tietoturvatarkistus vie jonkin aikaa, mutta se ajaminen on erittäin "
diff --git a/debian/po/fr.po b/debian/po/fr.po
index 6b3fd97..6cdebae 100644
--- a/debian/po/fr.po
+++ b/debian/po/fr.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: debsums\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: 2008-10-07 07:13+0200\n"
"Last-Translator: Christian Perrier <bubulle at debian.org>\n"
"Language-Team: French <debian-l10n-french at lists.debian.org>\n"
@@ -40,27 +40,40 @@ msgstr ""
"l'intégrité du système mais le paquet debsums ne constitue pas par lui-même "
"un outil de sécurité."
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
+#, fuzzy
+#| msgid "Run daily debsums security check?"
+msgid "Run scheduled debsums security check?"
msgstr ""
"Faut-il vérifier les sommes de contrôle Debian (debsums) quotidiennement ?"
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+#, fuzzy
+#| msgid ""
+#| "By default, a cronjob will verify every package's checksum information "
+#| "every night to make sure that none of the files have changed since the "
+#| "package was installed."
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
"Par défaut, une tâche quotidienne de cron vérifie les sommes de contrôle de "
"chaque paquet pour s'assurer qu'aucun des fichiers n'a été modifié depuis "
"l'installation du paquet."
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
msgstr "Ce contrôle prend du temps mais est fortement recommandé."
diff --git a/debian/po/gl.po b/debian/po/gl.po
index b8b24d8..d5cbba9 100644
--- a/debian/po/gl.po
+++ b/debian/po/gl.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: debsums\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: 2007-02-26 12:53+0100\n"
"Last-Translator: Jacobo Tarrio <jtarrio at debian.org>\n"
"Language-Team: Galician <proxecto at trasno.net>\n"
@@ -42,23 +42,29 @@ msgstr ""
"paquetes instalados. Isto pode ser útil para comprobar despois a integridade "
"do sistema, aínda que non debería depender disto coma medida de seguridade."
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
msgstr ""
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+msgid "Run scheduled debsums security check?"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
msgstr ""
diff --git a/debian/po/it.po b/debian/po/it.po
index 1213d0d..9da94ba 100644
--- a/debian/po/it.po
+++ b/debian/po/it.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: debsums 2.0.38 debconf templates\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: 2008-10-01 20:04+0200\n"
"Last-Translator: Luca Monducci <luca.mo at tiscali.it>\n"
"Language-Team: Italian <debian-l10n-italian at lists.debian.org>\n"
@@ -36,27 +36,40 @@ msgstr ""
"l'integrità del sistema, ma non devono essere scambiati per una misura di "
"sicurezza."
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
+#, fuzzy
+#| msgid "Run daily debsums security check?"
+msgid "Run scheduled debsums security check?"
msgstr "Eseguire quotidianamente il controllo di sicurezza?"
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+#, fuzzy
+#| msgid ""
+#| "By default, a cronjob will verify every package's checksum information "
+#| "every night to make sure that none of the files have changed since the "
+#| "package was installed."
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
"Ogni notte un job di cron verificherà la somma di controllo di tutti i "
"pacchetti in modo da garantire che nessun file sia stato modificato da "
"quando il pacchetto è stato installato."
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
msgstr ""
"Questi controlli sulla sicurezza richiedono un po' di tempo ma sono "
diff --git a/debian/po/ja.po b/debian/po/ja.po
index 49f20b3..676b48c 100644
--- a/debian/po/ja.po
+++ b/debian/po/ja.po
@@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: debsums 2.0.8\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: 2008-09-25 17:38+0900\n"
"Last-Translator: Hideki Yamane (Debian-JP) <henrich at debian.or.jp>\n"
"Language-Team: Japanese <debian-japanese at lists.debian.org>\n"
@@ -27,7 +27,6 @@ msgstr ""
#. Type: boolean
#. Description
#: ../templates:1001
-
msgid "Should md5sum files be automatically generated by apt-get?"
msgstr "apt-get によって md5sum ファイルが自動的に生成されるようにしますか?"
@@ -40,31 +39,46 @@ msgid ""
"packages. This may be useful for checking system integrity later, though it "
"should not be relied on as a security measure."
msgstr ""
-"全てのパッケージがそのまま md5sum 情報を含んでいるとは限りません。しかし、debsums "
-"をインストールすれば、apt が自動的にインストールしたパッケージの md5sum ファイルを"
-"生成します。これは、後ほどシステムの完全性をチェックするのには役立つかもしれませんが、"
-"セキュリティ対策として当てにしてはいけません。"
+"全てのパッケージがそのまま md5sum 情報を含んでいるとは限りません。しかし、"
+"debsums をインストールすれば、apt が自動的にインストールしたパッケージの "
+"md5sum ファイルを生成します。これは、後ほどシステムの完全性をチェックするのに"
+"は役立つかもしれませんが、セキュリティ対策として当てにしてはいけません。"
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
+#, fuzzy
+#| msgid "Run daily debsums security check?"
+msgid "Run scheduled debsums security check?"
msgstr "毎日 debsums のセキュリティチェックを実行しますか?"
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+#, fuzzy
+#| msgid ""
+#| "By default, a cronjob will verify every package's checksum information "
+#| "every night to make sure that none of the files have changed since the "
+#| "package was installed."
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
-"デフォルトでは、パッケージがインストールされてからどのファイルも変更されていないのを"
-"確認するため、cron ジョブがすべてのパッケージのチェックサム情報を毎晩照合します。"
+"デフォルトでは、パッケージがインストールされてからどのファイルも変更されてい"
+"ないのを確認するため、cron ジョブがすべてのパッケージのチェックサム情報を毎晩"
+"照合します。"
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
-msgstr "このセキュリティチェックには時間がかかりますが、実行するのを強くお勧めします。"
-
+msgstr ""
+"このセキュリティチェックには時間がかかりますが、実行するのを強くお勧めしま"
+"す。"
diff --git a/debian/po/nl.po b/debian/po/nl.po
index 10aff7d..51718be 100644
--- a/debian/po/nl.po
+++ b/debian/po/nl.po
@@ -17,7 +17,7 @@ msgid ""
msgstr ""
"Project-Id-Version: debsums_2.0.38_nl\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: 2008-10-02 21:31-0500\n"
"Last-Translator: Paul Gevers <paul at climbing.nl>\n"
"Language-Team: Dutch <debian-l10n-dutch at lists.debian.org>\n"
@@ -48,27 +48,40 @@ msgstr ""
"integriteitscontrole van het systeem, mag dit niet beschouwd worden als een "
"veiligheidsmaatregel."
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
+#, fuzzy
+#| msgid "Run daily debsums security check?"
+msgid "Run scheduled debsums security check?"
msgstr "Wilt u dat 'debsums' dagelijks een veiligheidscontrole uitvoert?"
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+#, fuzzy
+#| msgid ""
+#| "By default, a cronjob will verify every package's checksum information "
+#| "every night to make sure that none of the files have changed since the "
+#| "package was installed."
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
"Zonder wijzigingen zal de controlesom van alle pakketen iedere nacht door "
"een cronjob worden gecontroleerd. Zo bent u er zeker van dat bestanden niet "
"zijn gewijzigd sinds de installatie van het pakket waartoe ze behoren."
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
msgstr ""
"Ondanks dat deze veiligheidscontrole enige tijd kost, wordt hij sterk "
diff --git a/debian/po/pt.po b/debian/po/pt.po
index eb372df..c6eef0f 100644
--- a/debian/po/pt.po
+++ b/debian/po/pt.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: debsums 2.0.38\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: 2008-10-02 20:50+0100\n"
"Last-Translator: Carlos Lisboa <carloslisboa at gmail.com>\n"
"Language-Team: Portuguese <traduz at debianpt.org>\n"
@@ -32,30 +32,44 @@ msgstr ""
"Nem todos os pacotes contêm informação md5sum. No entanto, o pacote debsums "
"pode ser instalado para que o apt automaticamente gere ficheiros md5sum dos "
"pacotes instalados. Isto pode ser útil para verificar mais tarde a "
-"integridade do sistema, apesar disso não deve ser confiado como uma medida de "
-"segurança."
+"integridade do sistema, apesar disso não deve ser confiado como uma medida "
+"de segurança."
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
+#, fuzzy
+#| msgid "Run daily debsums security check?"
+msgid "Run scheduled debsums security check?"
msgstr "Correr, diariamente, a verificação de segurança dos debsums?"
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+#, fuzzy
+#| msgid ""
+#| "By default, a cronjob will verify every package's checksum information "
+#| "every night to make sure that none of the files have changed since the "
+#| "package was installed."
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
"Por omissão, o 'cronjob' irá verificar a informação de checksum de cada "
"pacote todas as noites para se ter a certeza que nenhum dos ficheiros foi "
"alterado desde que o pacote foi instalado."
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
-msgstr "Esta verificação de segurança deverá levar algum tempo a correr, mas é "
+msgstr ""
+"Esta verificação de segurança deverá levar algum tempo a correr, mas é "
"recomendada."
diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po
index 505ec60..07f7ba4 100644
--- a/debian/po/pt_BR.po
+++ b/debian/po/pt_BR.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: debsums_2.0.28\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: 2008-10-03 02:23-0300\n"
"Last-Translator: Felipe Augusto van de Wiel (faw) <faw at debian.org>\n"
"Language-Team: Brazilian Portuguese <debian-l10n-portuguese at lists.debian."
@@ -39,27 +39,40 @@ msgstr ""
"integridade do sistema posteriormente, no entanto, isso não deveria ser "
"considerado como uma medida de segurança."
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
+#, fuzzy
+#| msgid "Run daily debsums security check?"
+msgid "Run scheduled debsums security check?"
msgstr "Executar a checagem de segurança do debsums diariamente?"
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+#, fuzzy
+#| msgid ""
+#| "By default, a cronjob will verify every package's checksum information "
+#| "every night to make sure that none of the files have changed since the "
+#| "package was installed."
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
"Por padrão, uma tarefa cron verificará toda noite a informação de \"checksum"
"\" de cada pacote para ter certeza de que nenhum dos arquivos foi modificado "
"desde que o pacote foi instalado."
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
msgstr ""
"Esta checagem de segurança leva algum tempo para ser executada mas é "
diff --git a/debian/po/ru.po b/debian/po/ru.po
index e703a9f..215f925 100644
--- a/debian/po/ru.po
+++ b/debian/po/ru.po
@@ -15,7 +15,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ru\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: 2008-10-01 23:17+0400\n"
"Last-Translator: Yuri Kozlov <kozlov.y at gmail.com>\n"
"Language-Team: Russian <debian-l10n-russian at lists.debian.org>\n"
@@ -47,27 +47,40 @@ msgstr ""
"последующей проверки целостности системы, хотя вы не должны полагаться на "
"такую оценку безопасности."
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
+#, fuzzy
+#| msgid "Run daily debsums security check?"
+msgid "Run scheduled debsums security check?"
msgstr "Выполнять ежедневную проверку безопасности с помощью debsums?"
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+#, fuzzy
+#| msgid ""
+#| "By default, a cronjob will verify every package's checksum information "
+#| "every night to make sure that none of the files have changed since the "
+#| "package was installed."
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
"По умолчанию, каждую ночь запускается задание cron, которое проверяет, что "
"ни один из файлов установленных пакетов не изменился с момента установки "
"(используется информация о контрольных суммах)."
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
msgstr ""
"Данная проверка безопасности займёт некоторое время, но её выполнение "
diff --git a/debian/po/sv.po b/debian/po/sv.po
index 3b0efff..e58bb7a 100644
--- a/debian/po/sv.po
+++ b/debian/po/sv.po
@@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: debsums 2.0.18\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: 2008-09-25 12:58+0100\n"
"Last-Translator: Daniel Nylander <po at danielnylander.se>\n"
"Language-Team: Swedish <debian-l10n-swedish at lists.debian.org>\n"
@@ -42,27 +42,40 @@ msgstr ""
"paket. Detta kan vara användbart för att kontrollera systemets integritet "
"senare men det ska inte anses vara en metod för att mäta säkerheten."
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
+#, fuzzy
+#| msgid "Run daily debsums security check?"
+msgid "Run scheduled debsums security check?"
msgstr "Kör daglig säkerhetskontroll för debsums?"
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+#, fuzzy
+#| msgid ""
+#| "By default, a cronjob will verify every package's checksum information "
+#| "every night to make sure that none of the files have changed since the "
+#| "package was installed."
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
"Som standard kommer ett cronjobb att validera kontrollsumman för varje paket "
"varje natt för att kontrollera att ingen av filerna har ändrats sedan "
"paketet installerades. "
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
msgstr ""
"Denna säkerhetskontroll tar lite tid att köra men det rekommenderas starkt."
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
index 599f96d..6079498 100644
--- a/debian/po/templates.pot
+++ b/debian/po/templates.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at li.org>\n"
@@ -32,23 +32,29 @@ msgid ""
"should not be relied on as a security measure."
msgstr ""
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
msgstr ""
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+msgid "Run scheduled debsums security check?"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
msgstr ""
diff --git a/debian/po/uk.po b/debian/po/uk.po
index 2472486..79b2292 100644
--- a/debian/po/uk.po
+++ b/debian/po/uk.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Olexandr Kravchuk <sashko.kravchuk at gmail.com>\n"
"Language-Team: UK <uk at li.org>\n"
@@ -31,31 +31,46 @@ msgid ""
"packages. This may be useful for checking system integrity later, though it "
"should not be relied on as a security measure."
msgstr ""
-"Не усі пакунки містять коректну інформацію про md5sum. Однак, після встановлення "
-"debsums, apt автоматично зґенерує файли md5sum для усіх встановлених у системі "
-"пакунків. Це може бути дуже корисним для пізнішої перевірки цілісності системи, "
-"однак, на її результати не можна полягатись, як на гарантію безпеки системи."
+"Не усі пакунки містять коректну інформацію про md5sum. Однак, після "
+"встановлення debsums, apt автоматично зґенерує файли md5sum для усіх "
+"встановлених у системі пакунків. Це може бути дуже корисним для пізнішої "
+"перевірки цілісності системи, однак, на її результати не можна полягатись, "
+"як на гарантію безпеки системи."
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
+#, fuzzy
+#| msgid "Run daily debsums security check?"
+msgid "Run scheduled debsums security check?"
msgstr "Запускати щоденну перевірку безпеки debsums?"
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+#, fuzzy
+#| msgid ""
+#| "By default, a cronjob will verify every package's checksum information "
+#| "every night to make sure that none of the files have changed since the "
+#| "package was installed."
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
-"За замовчуванням, завдання cron щоночі перевірятиме checksum кожного пакунка, "
-"щоб упевнитись у тім, що жоден файл не було змінено після того, як пакунок "
-"встановили у системі."
+"За замовчуванням, завдання cron щоночі перевірятиме checksum кожного "
+"пакунка, щоб упевнитись у тім, що жоден файл не було змінено після того, як "
+"пакунок встановили у системі."
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
-msgstr "Дана перевірки безпеки займає деякий час, однак, є вельми рекомендованою."
+msgstr ""
+"Дана перевірки безпеки займає деякий час, однак, є вельми рекомендованою."
diff --git a/debian/po/vi.po b/debian/po/vi.po
index f399891..ed47d54 100644
--- a/debian/po/vi.po
+++ b/debian/po/vi.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: debsums 2.0.38\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: 2008-09-30 18:44+0930\n"
"Last-Translator: Clytie Siddall <clytie at riverland.net.au>\n"
"Language-Team: Vietnamese <vi-VN at googlegroups.com>\n"
@@ -36,27 +36,40 @@ msgstr ""
"cài đặt. Chức năng này có thể hữu ích để kiểm tra về sau tình trạng nguyên "
"vẹn của hệ thống, dù không nên nhờ nó bảo mật hệ thống."
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
+#, fuzzy
+#| msgid "Run daily debsums security check?"
+msgid "Run scheduled debsums security check?"
msgstr "Chạy hàm kiểm tra bảo mật debsums hàng ngày không?"
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+#, fuzzy
+#| msgid ""
+#| "By default, a cronjob will verify every package's checksum information "
+#| "every night to make sure that none of the files have changed since the "
+#| "package was installed."
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
"Mặc định là một công việc định kỳ (cron) sẽ thẩm tra thông tin tổng kiểm của "
"mọi gói trong mỗi đêm, để chắc chắn rằng không có tập tin bị thay đổi kể từ "
"gói đó được cài đặt."
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
msgstr ""
"Tiến trình kiểm tra bảo mật này kéo dài một lát, nhưng cũng rất khuyến khích."
diff --git a/debian/po/zh_TW.po b/debian/po/zh_TW.po
index bd3f4b1..86ffe2a 100644
--- a/debian/po/zh_TW.po
+++ b/debian/po/zh_TW.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: debsums 2.0.38\n"
"Report-Msgid-Bugs-To: debsums at packages.debian.org\n"
-"POT-Creation-Date: 2008-09-25 21:05+1200\n"
+"POT-Creation-Date: 2008-10-10 12:15+1300\n"
"PO-Revision-Date: 2008-10-05 08:40+0800\n"
"Last-Translator: Kanru Chen <koster at debian.org.tw>\n"
"Language-Team: Chinese/Traditional <zh-l10n at linux.org.tw>\n"
@@ -30,29 +30,42 @@ msgid ""
"packages. This may be useful for checking system integrity later, though it "
"should not be relied on as a security measure."
msgstr ""
-"不是所有的套件都包含 md5sum 資訊。但是,debsums 可以被設定"
-"為自動替這些安裝好的套件產生 md5sum 資訊。這對於檢查系統的"
-"完整性可能很有幫助,但是不應該作為評估系統安全的指標。"
+"不是所有的套件都包含 md5sum 資訊。但是,debsums 可以被設定為自動替這些安裝好"
+"的套件產生 md5sum 資訊。這對於檢查系統的完整性可能很有幫助,但是不應該作為評"
+"估系統安全的指標。"
-#. Type: boolean
-#. Description
+#. Type: select
+#. Choices
#: ../templates:2001
-msgid "Run daily debsums security check?"
+msgid "never, daily, weekly, monthly"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:2002
+#, fuzzy
+#| msgid "Run daily debsums security check?"
+msgid "Run scheduled debsums security check?"
msgstr "每天自動執行 debsums 安全檢查?"
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
+#, fuzzy
+#| msgid ""
+#| "By default, a cronjob will verify every package's checksum information "
+#| "every night to make sure that none of the files have changed since the "
+#| "package was installed."
msgid ""
-"By default, a cronjob will verify every package's checksum information every "
-"night to make sure that none of the files have changed since the package was "
-"installed."
+"A cronjob can be set to regularly verify every package's checksum "
+"information to make sure that none of the files have changed since the "
+"package was installed."
msgstr ""
-"預設安裝的 cronjob 每天晚上會檢查每一個套件的 checksum 資訊,以確保沒有套件"
-"附帶的檔案在安裝之後被改變。"
+"預設安裝的 cronjob 每天晚上會檢查每一個套件的 checksum 資訊,以確保沒有套件附"
+"帶的檔案在安裝之後被改變。"
-#. Type: boolean
+#. Type: select
#. Description
-#: ../templates:2001
+#: ../templates:2002
msgid "This security check takes some time to run but is highly recommended."
msgstr "這項安全檢查要花一點時間,但是非常建議執行他。"
diff --git a/debian/postinst b/debian/postinst
index 98a1819..150ece1 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -12,23 +12,13 @@ else
rm -f $APT_CONF
fi
-db_get debsums/dailycron || true
-if [ "$RET" = true ]; then
- if [ -f $DF ]; then
- TEMPFILE=`mktemp` || exit 1
- sed $DF -e "s,^ *DAILY_CHECK=.*,DAILY_CHECK=\"yes\"," > $TEMPFILE
- mv -f $TEMPFILE $DF
- chmod 644 $DF
- rm -f $TEMPFILE
- fi
-else
- if [ -f $DF ]; then
- TEMPFILE=`mktemp` || exit 1
- sed $DF -e "s,^ *DAILY_CHECK=.*,DAILY_CHECK=\"no\"," > $TEMPFILE
- mv -f $TEMPFILE $DF
- chmod 644 $DF
- rm -f $TEMPFILE
- fi
+db_get debsums/croncheck || true
+if [ -f $DF ]; then
+ TEMPFILE=`mktemp` || exit 1
+ sed $DF -e "s,^ *CRON_CHECK=.*,CRON_CHECK=\"$RET\"," > $TEMPFILE
+ mv -f $TEMPFILE $DF
+ chmod 644 $DF
+ rm -f $TEMPFILE
fi
# dh_installdeb will replace this with shell code automatically
diff --git a/debian/templates b/debian/templates
index e8f9bb4..ab725f3 100644
--- a/debian/templates
+++ b/debian/templates
@@ -7,12 +7,13 @@ _Description: Should md5sum files be automatically generated by apt-get?
installed packages. This may be useful for checking system integrity
later, though it should not be relied on as a security measure.
-Template: debsums/dailycron
-Type: boolean
-Default: true
-_Description: Run daily debsums security check?
- By default, a cronjob will verify every package's checksum information
- every night to make sure that none of the files have changed since the
+Template: debsums/croncheck
+Type: select
+_Choices: never, daily, weekly, monthly
+Default: never
+_Description: Run scheduled debsums security check?
+ A cronjob can be set to regularly verify every package's checksum
+ information to make sure that none of the files have changed since the
package was installed.
.
This security check takes some time to run but is highly recommended.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/debsums.git
More information about the Pkg-perl-cvs-commits
mailing list