add ud-zoneupdate from klecker's /usr/local/bin
authorrmurray <>
Wed, 7 Aug 2002 03:38:53 +0000 (03:38 +0000)
committerrmurray <>
Wed, 7 Aug 2002 03:38:53 +0000 (03:38 +0000)
debian/rules
ud-zoneupdate [new file with mode: 0755]

index f82e1e6..cac28fb 100755 (executable)
@@ -40,7 +40,7 @@ binary-indep: build
        echo "userdir_gpg" >> $(i)/$(pysite)/userdir_ldap.pth
        install -m 644 userdir_ldap.py userdir_gpg.py \
                $(i)/$(pysite)/userdir_ldap/
-       install -m 755 {ud-forwardlist,ud-gpgimport,ud-info,ud-ldapshow,ud-userimport,ud-mailgate,ud-generate,ud-passchk,ud-useradd,ud-replicate,ud-xearth,ud-fingerserv,ud-echelon,ud-groupadd,ud-host} $(i)/usr/bin/
+       install -m 755 {ud-forwardlist,ud-gpgimport,ud-info,ud-ldapshow,ud-userimport,ud-mailgate,ud-generate,ud-passchk,ud-useradd,ud-replicate,ud-xearth,ud-fingerserv,ud-echelon,ud-groupadd,ud-host,ud-zoneupdate} $(i)/usr/bin/
        install -m 644 debian/ud-replicate.cron.d $(i)/etc/cron.d/ud-replicate
        install -m 644 web/*.tab $(i)/var/www/userdir-ldap/
        install -m 644 web/*.html $(i)/var/www/userdir-ldap/
diff --git a/ud-zoneupdate b/ud-zoneupdate
new file mode 100755 (executable)
index 0000000..904dd80
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+sed -e "s/[1-9].*; Serial.*$/`date +%Y%m%d%H` ; Serial/" < $1 > $1.new
+mv -f $1.new $1
+/usr/sbin/ndc reload > /dev/null 2>&1
+
+cp $2 /etc/exim/bsmtp