Mercurial > dnsbl
comparison Makefile.am @ 163:97d7da45fe2a
spamassassin changes
author | carl |
---|---|
date | Sun, 26 Aug 2007 19:03:17 -0700 |
parents | a76a6af7ed8b |
children | 5809bcdc325b |
comparison
equal
deleted
inserted
replaced
162:c4bce911c276 | 163:97d7da45fe2a |
---|---|
3 hack_SCRIPTS = dnsbl | 3 hack_SCRIPTS = dnsbl |
4 hack_DATA = dnsbl.conf hosts-ignore.conf html-tags.conf tld.conf cctld.conf | 4 hack_DATA = dnsbl.conf hosts-ignore.conf html-tags.conf tld.conf cctld.conf |
5 CLEANFILES = dnsbl xml/dnsbl xml/Makefile | 5 CLEANFILES = dnsbl xml/dnsbl xml/Makefile |
6 EXTRA_DIST = dnsbl.rc $(hack_DATA) dnsbl.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/d*) | 6 EXTRA_DIST = dnsbl.rc $(hack_DATA) dnsbl.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/d*) |
7 | 7 |
8 dnsbl: $(srcdir)/dnsbl.rc | 8 dnsbl: dnsbl.rc |
9 rm -f dnsbl | 9 cat dnsbl.rc | \ |
10 echo "#!" $(BASH) >dnsbl | |
11 cat $(srcdir)/dnsbl.rc | \ | |
12 sed -e "s,SBINDIR,$(sbindir),g" | \ | 10 sed -e "s,SBINDIR,$(sbindir),g" | \ |
13 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>dnsbl | 11 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >dnsbl |
14 | 12 |
15 chkconfig: dnsbl | 13 chkconfig: dnsbl |
16 /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 /etc/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl |
17 mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d | 15 mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d |
18 mkdir $(sysconfdir)/dnsbl/autowhite | 16 mkdir $(sysconfdir)/dnsbl/autowhite |