diff options
author | root <root@rshg054.dnsready.net> | 2013-02-20 00:04:38 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-20 00:04:38 -0800 |
commit | 1bd47d3e04c409582486ea3ec915d3b7899f6841 (patch) | |
tree | f09c9d0e2af9846a6fe61c07c3d7973c979f103c /community/dbmail | |
parent | ba105c9a82cf668f973a140c1792a3c02589980d (diff) |
Wed Feb 20 00:04:38 PST 2013
Diffstat (limited to 'community/dbmail')
-rw-r--r-- | community/dbmail/PKGBUILD | 36 | ||||
-rw-r--r-- | community/dbmail/dbmail-imapd.xinetd | 11 | ||||
-rw-r--r-- | community/dbmail/dbmail-lmtpd.xinetd | 13 | ||||
-rw-r--r-- | community/dbmail/dbmail-pop3d.xinetd | 11 | ||||
-rw-r--r-- | community/dbmail/dbmail-timsieved.xinetd | 11 |
5 files changed, 69 insertions, 13 deletions
diff --git a/community/dbmail/PKGBUILD b/community/dbmail/PKGBUILD index 8f914ec9e..f41aead36 100644 --- a/community/dbmail/PKGBUILD +++ b/community/dbmail/PKGBUILD @@ -1,24 +1,25 @@ -# $Id: PKGBUILD 82595 2013-01-21 11:20:22Z spupykin $ +# $Id: PKGBUILD 84536 2013-02-19 15:03:09Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sebastian Faltoni <sebastian.faltoni@gmail.com> pkgname=dbmail pkgver=3.0.2 -pkgrel=8 +pkgrel=9 pkgdesc="Fast and scalable sql based mail services" arch=('i686' 'x86_64') depends=('gmime24' 'libzdb' 'mhash' 'libevent') makedepends=('asciidoc' 'xmlto' 'docbook-xsl' 'docbook-xml' 'postgresql-libs>=8.4.1' 'sqlite' 'libmysqlclient' 'libldap>=2.4.18' 'libsieve') -optdepends=('postgresql-libs: for PostgreSQL storage backend' - 'sqlite: for SQLite storage backend' - 'libmysqlclient: for MySQL storage backend' - 'libldap: for LDAP authentication' +optdepends=('libldap: for LDAP authentication' 'libsieve: for dbmail-sieve') url="http://www.dbmail.org" license=('GPL') options=('!libtool' 'zipman') -backup=(etc/conf.d/dbmail) +backup=(etc/conf.d/dbmail + 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 @@ -26,7 +27,11 @@ source=(http://www.dbmail.org/download/3.0/dbmail-${pkgver/_/-}.tar.gz dbmail-imapd.service dbmail-lmtpd.service dbmail-pop3d.service - dbmail-timsieved.service) + dbmail-timsieved.service + dbmail-imapd.xinetd + dbmail-lmtpd.xinetd + dbmail-pop3d.xinetd + dbmail-timsieved.xinetd) md5sums=('eb32235abffdf967253ee9d004e0e4a9' 'e7f72bc360decdb2475266391ad12329' '30774513fb016b9da08e9cf6f2a0b8e7' @@ -34,7 +39,11 @@ md5sums=('eb32235abffdf967253ee9d004e0e4a9' '84efa46eaac66057c4eb131d9bc27fa8' '19560277f6a56d1f3f2fdb02315dcf0f' '89a0f793737eaf36291409f8c840891e' - 'dd1b5b2c542f55d9d934a58a36d0513d') + 'dd1b5b2c542f55d9d934a58a36d0513d' + '8fa791f2e4d107ba461453c054359477' + '069cd4285c4b2ec95dfdcebc2cfee387' + '44f87ce81e786fcee501daa17e55412a' + 'a66927cb94d4f26428211e3ad2d540c8') build() { cd $srcdir/dbmail-${pkgver/_/-}/ @@ -56,9 +65,10 @@ package() { 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 + for i in dbmail-imapd dbmail-lmtpd dbmail-pop3d dbmail-timsieved; do + install -Dm0644 $srcdir/$i.service $pkgdir/usr/lib/systemd/system/$i.service + install -Dm0644 $srcdir/$i.xinetd $pkgdir/etc/xinetd.d/$i + done + install -Dm0644 $srcdir/dbmail.tmpfiles $pkgdir/usr/lib/tmpfiles.d/dbmail.conf } diff --git a/community/dbmail/dbmail-imapd.xinetd b/community/dbmail/dbmail-imapd.xinetd new file mode 100644 index 000000000..eee3635df --- /dev/null +++ b/community/dbmail/dbmail-imapd.xinetd @@ -0,0 +1,11 @@ +service imap +{ + socket_type = stream + wait = no + user = nobody + server = /usr/sbin/dbmail-imapd + protocol = tcp + server_args = -n + log_on_failure += USERID + disable = yes +} diff --git a/community/dbmail/dbmail-lmtpd.xinetd b/community/dbmail/dbmail-lmtpd.xinetd new file mode 100644 index 000000000..63365fee4 --- /dev/null +++ b/community/dbmail/dbmail-lmtpd.xinetd @@ -0,0 +1,13 @@ +service lmtp +{ + port = 24 + type = UNLISTED + socket_type = stream + wait = no + user = nobody + server = /usr/sbin/dbmail-lmtpd + protocol = tcp + server_args = -n + log_on_failure += USERID + disable = yes +} diff --git a/community/dbmail/dbmail-pop3d.xinetd b/community/dbmail/dbmail-pop3d.xinetd new file mode 100644 index 000000000..6c5b06735 --- /dev/null +++ b/community/dbmail/dbmail-pop3d.xinetd @@ -0,0 +1,11 @@ +service pop3 +{ + socket_type = stream + wait = no + user = nobody + server = /usr/sbin/dbmail-pop3d + protocol = tcp + server_args = -n + log_on_failure += USERID + disable = yes +} diff --git a/community/dbmail/dbmail-timsieved.xinetd b/community/dbmail/dbmail-timsieved.xinetd new file mode 100644 index 000000000..77ed27c31 --- /dev/null +++ b/community/dbmail/dbmail-timsieved.xinetd @@ -0,0 +1,11 @@ +service sieve +{ + socket_type = stream + wait = no + user = nobody + server = /usr/sbin/dbmail-timsieved + protocol = tcp + server_args = -n + log_on_failure += USERID + disable = yes +} |