From e07de89f89d40fd6221657bef704de7a72deefb4 Mon Sep 17 00:00:00 2001 From: rmurray <> Date: Sat, 30 Aug 2003 22:09:56 +0000 Subject: [PATCH 1/1] add sdbm creation for postfix using systems add depends on rsync --- debian/changelog | 7 +++++++ debian/control | 2 +- ud-replicate | 6 +++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2c35f86..ed4e766 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +userdir-ldap (0.3.5) unstable; urgency=low + + * Add depends on rsync + * Generate sdbm of debian.org on postfix systems + + -- Ryan Murray Sat, 30 Aug 2003 18:02:01 -0600 + userdir-ldap (0.3.4) unstable; urgency=low * Use the right python version in the maintainer scripts diff --git a/debian/control b/debian/control index 7f666fa..b194676 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Standards-Version: 3.5.8.0 Package: userdir-ldap Architecture: all -Depends: ${python:Depends}, python-ldap, perl5, procmail +Depends: ${python:Depends}, python-ldap, perl5, procmail, rsync Suggests: libnet-ldap-perl, libcrypt-blowfish-perl, gnupg (>= 1.0.3), python-net, python-gdbm, libdate-manip-perl, liburi-perl Description: Login User Directory in LDAP support scripts These scripts simplifiy the creation and management of a LDAP based user diff --git a/ud-replicate b/ud-replicate index 2df3980..42934c4 100755 --- a/ud-replicate +++ b/ud-replicate @@ -34,8 +34,12 @@ mv -f group.db.t group.db #fi ln -sf "$HOST/ssh-rsa-shadow" . ln -sf "$HOST/ssh_known_hosts" . -if [ -e "$HOST/bsmtp" ]; then +if [ -d "/etc/exim" -a -e "$HOST/bsmtp" ]; then if perl -e 'exit !((stat "/etc/exim/bsmtp")[9] < time()-3600)'; then cp "$HOST/bsmtp" /etc/exim/bsmtp fi fi +if [ -d "/etc/postfix" -a -f "$HOST/forward-alias" ]; then + sed -e 's/:/@debian.org/' $HOST/forward-alias > /etc/postfix/debian + postmap sdbm:/etc/postfix/debian < /etc/postfix/debian &> /dev/null || true +fi -- 2.20.1