diff dnsbl.spec.in @ 113:a893afee4b80 stable-5-11

move to autoconf/automake/docbook
author carl
date Tue, 20 Dec 2005 17:35:16 -0800
parents 96b2eb7f25f5
children aa07452e641b
line wrap: on
line diff
--- a/dnsbl.spec.in	Sun Dec 18 16:56:38 2005 -0800
+++ b/dnsbl.spec.in	Tue Dec 20 17:35:16 2005 -0800
@@ -11,16 +11,17 @@
 URL:                http://www.five-ten-sg.com/@PACKAGE@/
 Vendor:             510 Software Group
 Packager:           510 Software Group
+AutoReqProv:        no
 
-Requires(pre):          /usr/sbin/groupadd
 Requires(pre):          /usr/sbin/useradd
 Requires(pre):          /usr/bin/getent
 Requires(postun):       /usr/sbin/userdel
-Requires(postun):       /usr/sbin/groupdel
 Requires(post,preun):   /sbin/chkconfig
+Requires(post,preun):   /sbin/service
 BuildRequires:          sendmail-devel >= 8.12.1
 Requires:               sendmail >= 8.12.1
 Requires:               sendmail-cf
+Requires:               libc.so.6, libgcc_s.so.1, libm.so.6, libpthread.so.0, libstdc++.so.6
 
 
 %description
@@ -66,17 +67,15 @@
 
 
 %pre
-/usr/bin/getent passwd dnsbl ||
+/usr/bin/getent passwd dnsbl >/dev/null ||
   useradd -r -d /etc/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl
 
 
 %post
 /sbin/chkconfig --add @PACKAGE@
-/sbin/chkconfig dnsbl on
-/sbin/service dnsbl start
 
 echo Remember to edit %{_sysconfdir}/@PACKAGE@/@PACKAGE@.conf and add the following line to your sendmail.mc:
-echo "INPUT_MAIL_FILTER(\`dnsbl\', \`S=local:/var/run/dnsbl/dnsbl.sock, F=T, T=C:30s;S:5m;R:5m;E:5m\')"
+echo "INPUT_MAIL_FILTER(\`dnsbl', \`S=local:/var/run/dnsbl/dnsbl.sock, F=T, T=C:30s;S:5m;R:5m;E:5m')"
 echo