]> git.pld-linux.org Git - packages/amavisd-new.git/commitdiff
- moved sockets to /var/run/amavisd (FHS 2.3 compliance),
authorTomasz Pala <gotar@pld-linux.org>
Thu, 31 Mar 2005 08:01:10 +0000 (08:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- patch1 was %{name}-bin.patch a long time ago, removed bogus TODO entry

Changed files:
    amavisd-new.spec -> 1.83

amavisd-new.spec

index 1e5b18167e5ce7fa0636dfa028fe5b7e76f6f160..75c8dd43a9352d14ca92ef4b8501dfdb394c6884 100644 (file)
@@ -1,6 +1,5 @@
 # TODO:
 # - Add polish info mail templates
-# - Some perl master check what Patch1 did 
 %include       /usr/lib/rpm/macros.perl
 Summary:       A Mail Virus Scanner with SpamAssassin support - daemon
 Summary(pl):   Antywirusowy skaner poczty elektronicznej z obs³ug± SpamAssasina - demon
@@ -100,7 +99,7 @@ cd helper-progs
 ./configure \
        --with-sendmail=/usr/lib/sendmail \
        --with-runtime-dir=/var/spool/amavis/runtime \
-       --with-sockname=/var/spool/amavis/runtime/amavisd.sock
+       --with-sockname=/var/run/amavisd/amavisd.sock
 %{__make}
 
 %install
@@ -154,7 +153,7 @@ else
 fi
 
 %preun
-if [ "$1" = "0" ];then
+if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/amavisd ]; then
                /etc/rc.d/init.d/amavisd stop >&2
        fi
@@ -177,8 +176,6 @@ if [ "$1" = "0" ];then
        /sbin/chkconfig --del amavis-milter
 fi
 
-
-
 %files
 %defattr(644,root,root,755)
 %doc AAAREADME.first INSTALL RELEASE_NOTES README_FILES/* test-messages
@@ -186,7 +183,7 @@ fi
 %attr(754,root,root) /etc/rc.d/init.d/amavisd
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/amavisd.conf
 %attr(750,amavis,amavis) %{_var}/spool/amavis
-%attr(755,amavis,root) %{_var}/run/amavisd
+%attr(750,amavis,amavis) %{_var}/run/amavisd
 
 %files sendmail
 %defattr(644,root,root,755)
This page took 0.073822 seconds and 4 git commands to generate.