summaryrefslogtreecommitdiff
path: root/community/dbmail
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-06 00:25:32 -0700
committerroot <root@rshg054.dnsready.net>2012-10-06 00:25:32 -0700
commite7552010f531ef1b114352f0ce71a307360bf1d4 (patch)
treed37bd67211f2dc084113f36b80f2b4b5b9622aa5 /community/dbmail
parent777466db27694f0cad10a7159ba66f2a2b39a516 (diff)
Sat Oct 6 00:25:32 PDT 2012
Diffstat (limited to 'community/dbmail')
-rw-r--r--community/dbmail/PKGBUILD21
-rw-r--r--community/dbmail/dbmail-imapd.service10
-rw-r--r--community/dbmail/dbmail-lmtpd.service10
-rw-r--r--community/dbmail/dbmail-pop3d.service10
-rw-r--r--community/dbmail/dbmail-timsieved.service10
5 files changed, 57 insertions, 4 deletions
diff --git a/community/dbmail/PKGBUILD b/community/dbmail/PKGBUILD
index 82c044c67..390e6f6f5 100644
--- a/community/dbmail/PKGBUILD
+++ b/community/dbmail/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 72451 2012-06-14 19:06:58Z spupykin $
+# $Id: PKGBUILD 77106 2012-10-05 10:14:22Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sebastian Faltoni <sebastian.faltoni@gmail.com>
pkgname=dbmail
pkgver=3.0.2
-pkgrel=4
+pkgrel=5
pkgdesc="Fast and scalable sql based mail services"
arch=('i686' 'x86_64')
depends=('gmime24' 'libzdb' 'mhash' 'libevent')
@@ -23,10 +23,18 @@ conflicts=('dbmail')
provides=('dbmail')
source=(http://www.dbmail.org/download/3.0/dbmail-${pkgver/_/-}.tar.gz
dbmail.conf.d
- dbmail.rc.d)
+ dbmail.rc.d
+ dbmail-imapd.service
+ dbmail-lmtpd.service
+ dbmail-pop3d.service
+ dbmail-timsieved.service)
md5sums=('eb32235abffdf967253ee9d004e0e4a9'
'e7f72bc360decdb2475266391ad12329'
- '30774513fb016b9da08e9cf6f2a0b8e7')
+ '30774513fb016b9da08e9cf6f2a0b8e7'
+ '845b8bfe40864c366f7ab69768d1faa2'
+ '81a59222a43ae89f59299fe798b8e072'
+ '2e9a9a56ae56218142a115bff3f9a272'
+ 'd1fb94edb272d2a717af1944ecfd7fce')
build() {
cd $srcdir/dbmail-${pkgver/_/-}/
@@ -47,4 +55,9 @@ package() {
mkdir $pkgdir/usr/share/dbmail
cp -r sql/* $pkgdir/usr/share/dbmail/
cp dbmail.schema $pkgdir/usr/share/dbmail/
+
+ install -Dm0644 $srcdir/dbmail-imapd.service $pkgdir/usr/lib/systemd/system/dbmail-imapd.service
+ install -Dm0644 $srcdir/dbmail-lmtpd.service $pkgdir/usr/lib/systemd/system/dbmail-lmtpd.service
+ install -Dm0644 $srcdir/dbmail-pop3d.service $pkgdir/usr/lib/systemd/system/dbmail-pop3d.service
+ install -Dm0644 $srcdir/dbmail-timsieved.service $pkgdir/usr/lib/systemd/system/dbmail-timsieved.service
}
diff --git a/community/dbmail/dbmail-imapd.service b/community/dbmail/dbmail-imapd.service
new file mode 100644
index 000000000..110bbbdc4
--- /dev/null
+++ b/community/dbmail/dbmail-imapd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=DBMail Imap Server
+After=syslog.target network.target mysqld.service postgresql.service
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/dbmail-imapd
+
+[Install]
+WantedBy=multi-user.target
diff --git a/community/dbmail/dbmail-lmtpd.service b/community/dbmail/dbmail-lmtpd.service
new file mode 100644
index 000000000..e531b2e3e
--- /dev/null
+++ b/community/dbmail/dbmail-lmtpd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=DBMail LMTP Server
+After=syslog.target network.target mysqld.service postgresql.service
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/dbmail-lmtpd
+
+[Install]
+WantedBy=multi-user.target
diff --git a/community/dbmail/dbmail-pop3d.service b/community/dbmail/dbmail-pop3d.service
new file mode 100644
index 000000000..eacef4459
--- /dev/null
+++ b/community/dbmail/dbmail-pop3d.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=DBMail pop3 Server
+After=syslog.target network.target mysqld.service postgresql.service
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/dbmail-pop3d
+
+[Install]
+WantedBy=multi-user.target
diff --git a/community/dbmail/dbmail-timsieved.service b/community/dbmail/dbmail-timsieved.service
new file mode 100644
index 000000000..847b69580
--- /dev/null
+++ b/community/dbmail/dbmail-timsieved.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=DBMail Sieve Server
+After=syslog.target network.target mysqld.service postgresql.service
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/dbmail-timsieved
+
+[Install]
+WantedBy=multi-user.target