diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-06-16 12:30:02 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-06-16 12:30:02 +0200 |
commit | fb62b6371fdc9ffe50d30c698f13ea1fb39c215b (patch) | |
tree | b65df8847849e9c0e61f6dbec966948b102e14fa /community/dbmail | |
parent | 17816ffb0849295b8a1ee5fecb008f3a26bf0545 (diff) | |
parent | f186b4cb8562b60dd4e1f5331f248caf547c8839 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/perl-params-util/PKGBUILD
extra/xfce4-mixer/PKGBUILD
kde-unstable/libkcddb/PKGBUILD
staging/xine-lib/PKGBUILD
Diffstat (limited to 'community/dbmail')
-rw-r--r-- | community/dbmail/PKGBUILD | 6 | ||||
-rw-r--r-- | community/dbmail/dbmail.rc.d | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/community/dbmail/PKGBUILD b/community/dbmail/PKGBUILD index 3da79f488..711b3ab11 100644 --- a/community/dbmail/PKGBUILD +++ b/community/dbmail/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 69418 2012-04-16 09:39:14Z spupykin $ +# $Id: PKGBUILD 72451 2012-06-14 19:06:58Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sebastian Faltoni <sebastian.faltoni@gmail.com> pkgname=dbmail pkgver=3.0.2 -pkgrel=2 +pkgrel=4 pkgdesc="Fast and scalable sql based mail services" arch=('i686' 'x86_64' 'mips64el') depends=('gmime24' 'libzdb' 'mhash' 'libevent') @@ -26,7 +26,7 @@ source=(http://www.dbmail.org/download/3.0/dbmail-${pkgver/_/-}.tar.gz dbmail.rc.d) md5sums=('eb32235abffdf967253ee9d004e0e4a9' 'e7f72bc360decdb2475266391ad12329' - '6e287912650675011169b2dff42822cc') + '30774513fb016b9da08e9cf6f2a0b8e7') build() { cd $srcdir/dbmail-${pkgver/_/-}/ diff --git a/community/dbmail/dbmail.rc.d b/community/dbmail/dbmail.rc.d index 9286809df..f849b1679 100644 --- a/community/dbmail/dbmail.rc.d +++ b/community/dbmail/dbmail.rc.d @@ -23,9 +23,11 @@ case "$1" in stop) for daemon in $DBMAIL_DAEMONS; do stat_busy "Stopping DbMail ${daemon}" - pid=$(cat /var/run/dbmail/${daemon}.pid) - kill $pid - sleep 4 + pid=$(cat /var/run/dbmail/${daemon}.pid 2>/dev/null) + kill $pid 2>/dev/null + while kill -0 "$pid" 2>/dev/null; do + sleep 0.2 + done stat_done done rm_daemon dbmail |