Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=3f58a6442edcc595f99146b141232c8e521fc9c7

commit 3f58a6442edcc595f99146b141232c8e521fc9c7
Author: James Buren <[email protected]>
Date:   Thu Jan 31 14:50:30 2013 -0600

postfix-2.9.5-2-x86_64
* fix issue where permissions modified by scriptlet at lost on upgrade

diff --git a/source/network/postfix/FrugalBuild 
b/source/network/postfix/FrugalBuild
index 0add684..a05abe5 100644
--- a/source/network/postfix/FrugalBuild
+++ b/source/network/postfix/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=postfix
pkgver=2.9.5
-pkgrel=1
+pkgrel=2
vdaver=2.9.1
pkgdesc="A fast, easy to administer, and secure MTA"
url="http://www.postfix.org/";
diff --git a/source/network/postfix/postfix.install 
b/source/network/postfix/postfix.install
index fd4d781..76fc816 100644
--- a/source/network/postfix/postfix.install
+++ b/source/network/postfix/postfix.install
@@ -29,6 +29,10 @@ post_install()

post_upgrade()
{
+       chown postfix 
/var/spool/postfix/{active,bounce,corrupt,defer,deferred,flush,hold,incoming,private,public,trace,maildrop,saved}
+       chgrp postdrop /var/spool/postfix/{public,maildrop,trace} 
/usr/sbin/{postqueue,postdrop}
+       chmod g+s /usr/sbin/{postqueue,postdrop}
+
systemctl daemon-reload >/dev/null 2>&1
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to