Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=873fd60fc2248c2a993188fda6a6ad42d956cc37
commit 873fd60fc2248c2a993188fda6a6ad42d956cc37 Author: Miklos Vajna <vmik...@frugalware.org> Date: Sun Dec 19 01:19:42 2010 +0100 postfix-2.7.0-3-i686 - fix rc.postfix description - install: silence warning diff --git a/source/network/postfix/FrugalBuild b/source/network/postfix/FrugalBuild index e38e7d9..51d0e19 100644 --- a/source/network/postfix/FrugalBuild +++ b/source/network/postfix/FrugalBuild @@ -4,7 +4,7 @@ pkgname=postfix pkgver=2.7.0 -pkgrel=2 +pkgrel=3 vdaver=2.7.0 pkgdesc="A fast, easy to administer, and secure MTA" url="http://www.postfix.org/" @@ -26,7 +26,7 @@ source=($mirror/official/$pkgname-$pkgver.tar.gz \ http://vda.sourceforge.net/VDA/postfix-vda-$vdaver.patch) sha1sums=('1ef2633c2e531d9d60db53ca0e26d4b1d95bc949' \ - '2cc54da13d2a73e3027061fd8c4c4ce4ae44a361' \ + '8c660979e9e4571df8ec6361f46ce84b6fc8a41d' \ 'b05736300a01bc6d4d0ca7bb92704de29b68651d' \ 'd6d1eb1456e84468a3718770502b5228f2596c4a') diff --git a/source/network/postfix/postfix.install b/source/network/postfix/postfix.install index fa846fb..f728e18 100644 --- a/source/network/postfix/postfix.install +++ b/source/network/postfix/postfix.install @@ -15,18 +15,18 @@ post_install() pre_upgrade() { - /sbin/service postfix stop + [ -e /etc/rc.d/rc.functions ] && /sbin/service postfix stop } post_upgrade() { post_install $1 - /sbin/service postfix start + [ -e /etc/rc.d/rc.functions ] && /sbin/service postfix start } pre_remove() { - /sbin/service postfix stop + [ -e /etc/rc.d/rc.functions ] && /sbin/service postfix stop userdel postfix &> /dev/null groupdel postfix &> /dev/null groupdel postdrop &> /dev/null @@ -37,5 +37,3 @@ op=$1 shift $op $* - -# vim: ft=sh diff --git a/source/network/postfix/rc.postfix b/source/network/postfix/rc.postfix index 75179b5..b55e6e0 100644 --- a/source/network/postfix/rc.postfix +++ b/source/network/postfix/rc.postfix @@ -1,14 +1,13 @@ #!/bin/sh -# (c) 2003, 2007 Miklos Vajna <vmik...@frugalware.org> +# (c) 2003, 2007, 2010 Miklos Vajna <vmik...@frugalware.org> # rc.postfix for Frugalware # distributed under GPL License . /etc/rc.d/rc.functions # chkconfig: 2345 80 30 -# description: Postfix is a Mail Transport Agent, which is the program \ -# that moves mail from one machine to another. +# description: Postfix if [ "$1" = "stop" ]; then stop "$stoppostfix" _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git