From: Joerg Jaspert Date: Sun, 23 Nov 2008 20:25:51 +0000 (+0100) Subject: Add valid-until fields on security X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a48be40684dfecd87ff8b55e678b79dd746dd8b7;p=dak Add valid-until fields on security Signed-off-by: Joerg Jaspert --- diff --git a/ChangeLog b/ChangeLog index 060b51a1..bc89250e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-11-23 Joerg Jaspert + + * config/debian-security/dak.conf: Set ValidTime + + * config/debian-security/cron.weekly: Added + 2008-11-17 Joerg Jaspert * dak/security-install.py: Removed, no longer in use. diff --git a/config/debian-security/cron.weekly b/config/debian-security/cron.weekly new file mode 100755 index 00000000..fc813ecf --- /dev/null +++ b/config/debian-security/cron.weekly @@ -0,0 +1,19 @@ +#!/bin/sh +# +# Executed weekly via cron, out of dak's crontab. + +set -e +export SCRIPTVARS=/org/security.debian.org/dak/config/debian-security/vars +. $SCRIPTVARS + +################################################################################ + +# Weekly generation of release files, then pushing mirrors. +# Used as we have a "Valid-until" field in our release files of 10 days. In case +# we dont have a security update in that time... +cd $masterdir +dak generate-releases +sudo -u archvsync -H /home/archvsync/signal_security + + +################################################################################ diff --git a/config/debian-security/dak.conf b/config/debian-security/dak.conf index 68216d57..e3155f48 100644 --- a/config/debian-security/dak.conf +++ b/config/debian-security/dak.conf @@ -140,6 +140,7 @@ Suite Origin "Debian"; Label "Debian-Security"; Description "Debian 4.0 Security Updates"; + ValidTime 864000; // 10 days CodeName "etch"; OverrideCodeName "etch"; CopyDotDak "/org/security.debian.org/queue/done/"; @@ -175,6 +176,7 @@ Suite Origin "Debian"; Label "Debian-Security"; Description "Debian testing Security Updates"; + ValidTime 864000; // 10 days CodeName "lenny"; OverrideCodeName "lenny"; CopyDotDak "/org/security.debian.org/queue/done/";