comparison Makefile.am @ 174:da0c41b9f672

don't whitelist addresses with embedded spaces
author carl
date Sun, 23 Sep 2007 11:20:12 -0700
parents 5809bcdc325b
children a4d313c2460b
comparison
equal deleted inserted replaced
173:83fe0be032c1 174:da0c41b9f672
9 cat dnsbl.rc | \ 9 cat dnsbl.rc | \
10 sed -e "s,SBINDIR,$(sbindir),g" | \ 10 sed -e "s,SBINDIR,$(sbindir),g" | \
11 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >dnsbl 11 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >dnsbl
12 12
13 chkconfig: dnsbl 13 chkconfig: dnsbl
14 /usr/bin/getent passwd dnsbl >/dev/null || /usr/sbin/useradd -r -d /etc/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl 14 /usr/bin/getent passwd dnsbl >/dev/null || /usr/sbin/useradd -r -d $(sysconfdir)/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl >/dev/null
15 mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d 15 mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d
16 mkdir $(sysconfdir)/dnsbl/autowhite 16 mkdir $(sysconfdir)/dnsbl/autowhite
17 chown dnsbl:root $(sysconfdir)/dnsbl/autowhite 17 chown dnsbl:root $(sysconfdir)/dnsbl/autowhite
18 mkdir $(sysconfdir)/dnsbl/.spamassassin 18 mkdir $(sysconfdir)/dnsbl/.spamassassin
19 chown dnsbl:root $(sysconfdir)/dnsbl/.spamassassin 19 chown dnsbl:root $(sysconfdir)/dnsbl/.spamassassin