[arch-commits] Commit in dbmail/trunk (PKGBUILD dbmail.conf.d dbmail.rc.d)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon May 13 14:19:24 UTC 2013
Date: Monday, May 13, 2013 @ 16:19:24
Author: spupykin
Revision: 90652
upgpkg: dbmail 3.0.2-10
upd
Modified:
dbmail/trunk/PKGBUILD
Deleted:
dbmail/trunk/dbmail.conf.d
dbmail/trunk/dbmail.rc.d
---------------+
PKGBUILD | 11 ++---------
dbmail.conf.d | 9 ---------
dbmail.rc.d | 45 ---------------------------------------------
3 files changed, 2 insertions(+), 63 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-13 14:19:19 UTC (rev 90651)
+++ PKGBUILD 2013-05-13 14:19:24 UTC (rev 90652)
@@ -4,7 +4,7 @@
pkgname=dbmail
pkgver=3.0.2
-pkgrel=9
+pkgrel=10
pkgdesc="Fast and scalable sql based mail services"
arch=('i686' 'x86_64')
depends=('gmime24' 'libzdb' 'mhash' 'libevent')
@@ -15,14 +15,11 @@
url="http://www.dbmail.org"
license=('GPL')
options=('!libtool' 'zipman')
-backup=(etc/conf.d/dbmail
- etc/xinetd.d/dbmail-imapd
+backup=(etc/xinetd.d/dbmail-imapd
etc/xinetd.d/dbmail-pop3d
etc/xinetd.d/dbmail-lmtpd
etc/xinetd.d/dbmail-timsieved)
source=(http://www.dbmail.org/download/3.0/dbmail-${pkgver/_/-}.tar.gz
- dbmail.conf.d
- dbmail.rc.d
dbmail.tmpfiles
dbmail-imapd.service
dbmail-lmtpd.service
@@ -33,8 +30,6 @@
dbmail-pop3d.xinetd
dbmail-timsieved.xinetd)
md5sums=('eb32235abffdf967253ee9d004e0e4a9'
- 'e7f72bc360decdb2475266391ad12329'
- '30774513fb016b9da08e9cf6f2a0b8e7'
'c4b5793c5422b62a675d4c66ff7e9300'
'84efa46eaac66057c4eb131d9bc27fa8'
'19560277f6a56d1f3f2fdb02315dcf0f'
@@ -59,8 +54,6 @@
mkdir $pkgdir/etc
install -Dm644 dbmail.conf $pkgdir/etc/dbmail.conf.sample
- install -Dm644 ../dbmail.conf.d $pkgdir/etc/conf.d/dbmail
- install -Dm755 ../dbmail.rc.d $pkgdir/etc/rc.d/dbmail
mkdir $pkgdir/usr/share/dbmail
cp -r sql/* $pkgdir/usr/share/dbmail/
cp dbmail.schema $pkgdir/usr/share/dbmail/
Deleted: dbmail.conf.d
===================================================================
--- dbmail.conf.d 2013-05-13 14:19:19 UTC (rev 90651)
+++ dbmail.conf.d 2013-05-13 14:19:24 UTC (rev 90652)
@@ -1,9 +0,0 @@
-# Parameters to be passed to dbmail
-#
-#
-# Select the service you want started with dbmail
-#
-# Available options :
-# dbmail-imapd dbmail-pop3d dbmail-lmtpd dbmail-timsieved
-#
-DBMAIL_DAEMONS="dbmail-imapd"
Deleted: dbmail.rc.d
===================================================================
--- dbmail.rc.d 2013-05-13 14:19:19 UTC (rev 90651)
+++ dbmail.rc.d 2013-05-13 14:19:24 UTC (rev 90652)
@@ -1,45 +0,0 @@
-#!/bin/bash
-
-[ -f /etc/conf.d/dbmail ] && . /etc/conf.d/dbmail
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- mkdir -p /var/run/dbmail
- chown -R nobody:nobody /var/run/dbmail
- for daemon in $DBMAIL_DAEMONS; do
- stat_busy "Starting DbMail ${daemon}"
- /usr/sbin/${daemon} -p /var/run/dbmail/${daemon}.pid
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- done
- add_daemon dbmail
- ;;
- stop)
- for daemon in $DBMAIL_DAEMONS; do
- stat_busy "Stopping DbMail ${daemon}"
- 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
- ;;
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
- ;;
-esac
-
-exit 0
More information about the arch-commits
mailing list