]> git.decadent.org.uk Git - dak.git/commitdiff
cron.dinstall
authorJoerg Jaspert <joerg@debian.org>
Sun, 30 Aug 2009 09:10:42 +0000 (11:10 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sun, 30 Aug 2009 09:10:42 +0000 (11:10 +0200)
also import changes to the debian-maintainers keyring in
fingerprints(), as it is now properly maintained.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian/cron.dinstall

index a7d901af09e47b4030c6ca79a7613bc4407be508..bb327041a30b697408d52f9eb6039f889ee451c0 100755 (executable)
@@ -210,6 +210,28 @@ function msfl() {
 function fingerprints() {
     log "Updating fingerprints"
     dak import-keyring -L /srv/keyring.debian.org/keyrings/debian-keyring.gpg
+
+    OUTFILE=$(mktemp)
+    dak import-keyring --generate-users /srv/keyring.debian.org/keyrings/debian-maintainers.gpg >"${OUTFILE}"
+
+    if [ -s "${OUTFILE}" ]; then
+        /usr/sbin/sendmail -odq -oi -t -f envelope@ftp-master.debian.org <<EOF
+From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
+To: <debian-project@lists.debian.org>
+Subject: Debian Maintainers Keyring changes
+Content-Type: text/plain; charset=utf-8
+MIME-Version: 1.0
+
+The following changes to the debian-maintainers keyring have just been activated:
+
+$(cat $OUTFILE)
+
+Debian distribution maintenance software,
+on behalf of the Keyring maintainers
+
+EOF
+    fi
+    rm -f "$OUTFILE"
 }
 
 function overrides() {