Use sync_keyrings from config instead of hardcoded list
authorJoerg Jaspert <joerg@debian.org>
Sun, 18 May 2008 11:32:27 +0000 (13:32 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sun, 18 May 2008 11:32:27 +0000 (13:32 +0200)
debian/changelog
ud-generate
userdir-ldap.conf

index ea940a4..6c12898 100644 (file)
@@ -6,7 +6,11 @@ userdir-ldap (0.3.25+common1) unstable; urgency=low
   [ Andreas Barth ]
   * Disable GSSAPIAuthentication in ud-replicate (safes time)
 
- -- Andreas Barth <aba@ayous.org>  Sun, 18 May 2008 11:25:31 +0000
+  [ Joerg Jaspert ]
+  * User sync_keyrings from config file in ud-generate instead of a
+  hardcoded list
+
+ -- Joerg Jaspert <joerg@debian.org>  Sun, 18 May 2008 13:32:01 +0200
 
 userdir-ldap (0.3.25) unstable; urgency=low
 
index 6103fa8..10a124d 100755 (executable)
@@ -38,8 +38,7 @@ CurrentHost = "";
 EmailCheck = re.compile("^([^ <>@]+@[^ ,<>@]+)?$");
 BSMTPCheck = re.compile(".*mx 0 (gluck)\.debian\.org\..*",re.DOTALL);
 DNSZone = ".debian.net"
-Keyrings = [ "/org/keyring.debian.org/keyrings/debian-keyring.gpg",
-             "/org/keyring.debian.org/keyrings/debian-keyring.pgp" ]
+Keyrings = ConfModule.sync_keyrings.split(":")
 
 def safe_makedirs(dir):
     try:
index 98a4c28..d54ddc7 100644 (file)
@@ -43,6 +43,7 @@ passdir = "/etc/userdir-ldap/";
 # GPG Things
 gpg = "/usr/bin/gpg";
 keyrings = "/org/keyring.debian.org/keyrings/debian-keyring.gpg:/org/keyring.debian.org/keyrings/debian-keyring.pgp:/org/keyring.debian.org/keyrings/removed-keys.gpg:/org/keyring.debian.org/keyrings/removed-keys.pgp:/home/jgg/keys/extrakeys.gpg:/home/jgg/keys/guest-keys.gpg";
+sync_keyrings = "/org/keyring.debian.org/keyrings/debian-keyring.gpg:/org/keyring.debian.org/keyrings/debian-keyring.pgp";
 
 # For the WEB interface
 webloginhtml = "login.html";