Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a53b4d853355c7509e47bc9c8461bc4157d3346b
commit a53b4d853355c7509e47bc9c8461bc4157d3346b Author: Miklos Vajna <vmik...@frugalware.org> Date: Thu Mar 7 08:08:43 2013 +0100 postgrey-1.34-4-x86_64 - drop sysv compat diff --git a/source/network-extra/postgrey/FrugalBuild b/source/network-extra/postgrey/FrugalBuild index 3c9efa9..716dbf4 100644 --- a/source/network-extra/postgrey/FrugalBuild +++ b/source/network-extra/postgrey/FrugalBuild @@ -3,7 +3,7 @@ pkgname=postgrey pkgver=1.34 -pkgrel=3 +pkgrel=4 pkgdesc="a Postfix policy server implementing greylisting" url="http://postgrey.schweikert.ch/" depends=('perl>=5.6.0' 'perl-net-server' 'perl-io-multiplex' 'perl-berkeleydb' 'db>=4.7.25' 'postfix>=2.1') @@ -11,10 +11,9 @@ groups=('network-extra') archs=('i686' 'x86_64') up2date="Flasttar $url/pub/" source=(http://postgrey.schweikert.ch/pub/postgrey-$pkgver.tar.gz \ - rc.$pkgname rc.$pkgname-hu.po README.Frugalware $pkgname $pkgname.service) + README.Frugalware $pkgname $pkgname.service) backup=(/etc/postfix/${pkgname}_whitelist_clients /etc/postfix/${pkgname}_whitelist_recipients /etc/sysconfig/postgrey) _F_systemd_scriptlet="$pkgname.install" -_F_sysvinit_units=($pkgname) _F_systemd_units=($pkgname=) Finclude systemd @@ -32,14 +31,11 @@ build() # Fexerel /usr/sbin/policy-test Fexerel contrib/${pkgname}report usr/bin/ Ffile /etc/sysconfig/postgrey - Frcd2 $pkgname Ffile /lib/systemd/system/$pkgname.service Fgenscriptlet } sha1sums=('62529cd6232dc68c724548b476b89cda863b75ea' \ - '74b36884ccc3935dc84e662500e72efbe0748d81' \ - 'b078a79443d0807456483f33f64c2ee86bf7367a' \ '3d5691e5021265ac1667b2254558ca0388e61d9d' \ '86f3c5c775bda976657b7851c1c35e4ac6711da0' \ '81570e86cbd32405bca0091a2c9b87d73ca3d7fb') diff --git a/source/network-extra/postgrey/postgrey.install b/source/network-extra/postgrey/postgrey.install index 5fe30da..3a6c28c 100644 --- a/source/network-extra/postgrey/postgrey.install +++ b/source/network-extra/postgrey/postgrey.install @@ -1,4 +1,3 @@ -sysvinit_units=(@_F_sysvinit_units@) systemd_units=(@_F_systemd_units@) post_install() @@ -10,10 +9,6 @@ post_install() local unit local op - for i in ${sysvinit_units[@]}; do - chkconfig --del rc.$i >/dev/null 2>&1 - done - for i in ${systemd_units[@]}; do unit=$(echo $i | cut -f 1 -d '=') op=$(echo $i | cut -f 2 -d '=') @@ -28,10 +23,6 @@ post_install() post_upgrade() { - for i in ${sysvinit_units[@]}; do - chkconfig --del rc.$i >/dev/null 2>&1 - done - systemctl daemon-reload >/dev/null 2>&1 } @@ -39,10 +30,6 @@ pre_remove() { local unit - for i in ${sysvinit_units[@]}; do - chkconfig --del rc.$i >/dev/null 2>&1 - done - for i in ${systemd_units[@]}; do unit=$(echo $i | cut -f 1 -d '=') systemctl --no-reload disable $unit.service >/dev/null 2>&1 diff --git a/source/network-extra/postgrey/rc.postgrey b/source/network-extra/postgrey/rc.postgrey deleted file mode 100644 index 7afa88f..0000000 --- a/source/network-extra/postgrey/rc.postgrey +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash - -# (c) 2007 CSÉCSY László <boo...@frugalware.org> -# (c) 2003 Vajna Miklos <vmik...@frugalware.org> -# rc.postgrey for FrugalWare -# distributed under GPL License - -# chkconfig: 2345 85 15 -# description: Postgrey is a Postfix policy server implementing \ -# greylisting. - -source /lib/initscripts/functions -TEXTDOMAIN=postgrey -TEXTDOMAINDIR=/lib/initscripts/messages - -actions=(restart start status stop) -daemon=$"Postgrey greylisting daemon" -. /etc/sysconfig/postgrey || exit 1 - -pid="pidof postgrey 2> /dev/null" - -rc_start() -{ - start_msg - if [ -z "$(eval $pid)" ]; then - /usr/sbin/postgrey --daemonize $POSTGREY_ARGS 2>/dev/null 1>/dev/null - pidof postgrey >/var/run/postgrey.pid - ok $? - else - ok 999 - fi -} - -rc_stop() -{ - stop_msg - if [ ! -z "$(eval $pid)" ] ;then - killall postgrey 2>/dev/null 1>/dev/null - rm -f /var/run/postgrey.pid - ok $? - else - ok 999 - fi -} - -rc_exec $1 - -# vim: ft=sh diff --git a/source/network-extra/postgrey/rc.postgrey-hu.po b/source/network-extra/postgrey/rc.postgrey-hu.po deleted file mode 100644 index 7a1e86e..0000000 --- a/source/network-extra/postgrey/rc.postgrey-hu.po +++ /dev/null @@ -1,21 +0,0 @@ -# rc.postgrey -# Copyright (C) YEAR THE rc.postgrey'S COPYRIGHT HOLDER -# This file is distributed under the same license as the rc.postgrey package. -# CSÉCSY László <boo...@frugalware.org>, 2007. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: rc.postgrey\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-03-03 18:09+0100\n" -"PO-Revision-Date: 2007-03-03 18:10+0100\n" -"Last-Translator: CSÉCSY László <boo...@frugalware.org>\n" -"Language-Team: Hungarian <translation-team...@lists.sourceforge.net>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-2\n" -"Content-Transfer-Encoding: 8bit\n" - -#: rc.postgrey:17 -msgid "Postgrey greylisting daemon" -msgstr "Postgrey szürkelistázó démon" diff --git a/source/network-extra/postgrey/rc.postgrey.pot b/source/network-extra/postgrey/rc.postgrey.pot deleted file mode 100644 index 7a8865b..0000000 --- a/source/network-extra/postgrey/rc.postgrey.pot +++ /dev/null @@ -1,21 +0,0 @@ -# rc.postgrey -# Copyright (C) YEAR THE rc.postgrey'S COPYRIGHT HOLDER -# This file is distributed under the same license as the rc.postgrey package. -# CSÉCSY László <boo...@frugalware.org>, 2007. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: rc.postgrey\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-03-03 18:09+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <l...@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" - -#: rc.postgrey:17 -msgid "Postgrey greylisting daemon" -msgstr ""
_______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git