Mercurial > dnsbl
changeset 155:a76a6af7ed8b
add auto whitelisting
author | carl |
---|---|
date | Sat, 07 Jul 2007 21:39:45 -0700 |
parents | 89ce226e5383 |
children | a220bfb9211f |
files | Makefile.am dnsbl.spec.in |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.am Sat Jul 07 21:24:38 2007 -0700 +++ b/Makefile.am Sat Jul 07 21:39:45 2007 -0700 @@ -13,7 +13,7 @@ sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>dnsbl chkconfig: dnsbl - /usr/bin/getent passwd dnsbl || /usr/sbin/useradd -r -d /etc/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl + /usr/bin/getent passwd dnsbl >/dev/null || /usr/sbin/useradd -r -d /etc/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d mkdir $(sysconfdir)/dnsbl/autowhite chown dnsbl:root $(sysconfdir)/dnsbl/autowhite
--- a/dnsbl.spec.in Sat Jul 07 21:24:38 2007 -0700 +++ b/dnsbl.spec.in Sat Jul 07 21:39:45 2007 -0700 @@ -64,7 +64,7 @@ mv -f $RPM_BUILD_ROOT%{_sysconfdir}/@PACKAGE@/@PACKAGE@ $RPM_BUILD_ROOT/etc/rc.d/init.d mv AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%{_datadir}/doc/@PACKAGE@-@VERSION@ mkdir -p %{buildroot}/var/run/@PACKAGE@ - +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/@PACKAGE@/autowhite %pre