dovecot: added runit service.
This commit is contained in:
parent
3bea592d6b
commit
1d29236574
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
install -d -m 0755 -o root -g root /var/run/dovecot
|
||||
exec dovecot -F
|
|
@ -1,14 +1,14 @@
|
|||
# Template file for 'dovecot'
|
||||
pkgname=dovecot
|
||||
version=2.2.13
|
||||
revision=5
|
||||
revision=6
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-moduledir=/usr/lib/dovecot/modules --with-sql=plugin
|
||||
--disable-static --with-nss --with-pam --with-mysql --with-pgsql
|
||||
--with-sqlite --with-ssl=openssl --with-ssldir=/etc/dovecot/ssl
|
||||
--with-gssapi --with-ldap=plugin --with-zlib --with-bzlib --with-lzma
|
||||
--with-libcap --with-solr --with-docs
|
||||
--with-systemdsystemunitdir=/usr/lib/systemd/system"
|
||||
$(vopt_if systemd --with-systemdsystemunitdir=/usr/lib/systemd/system)"
|
||||
short_desc="IMAP and POP3 server written with security primarily in mind"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="LGPL-2.1"
|
||||
|
@ -46,7 +46,8 @@ fi
|
|||
|
||||
# For SSL support.
|
||||
depends="virtual?openssl"
|
||||
systemd_services="dovecot.service true"
|
||||
replaces="runit-void<20141013_2"
|
||||
build_options="systemd"
|
||||
system_accounts="dovecot dovenull"
|
||||
dovecot_homedir="/var/chroot"
|
||||
dovenull_homedir="/var/chroot"
|
||||
|
@ -93,6 +94,8 @@ post_install() {
|
|||
# Remove development stuff.
|
||||
rm -rf ${DESTDIR}/usr/include
|
||||
rm -rf ${DESTDIR}/usr/share/aclocal
|
||||
|
||||
vsv dovecot
|
||||
}
|
||||
|
||||
dovecot-plugin-ldap_package() {
|
||||
|
@ -105,7 +108,6 @@ dovecot-plugin-ldap_package() {
|
|||
vmove etc/dovecot/conf.d/auth-ldap.conf.ext
|
||||
}
|
||||
}
|
||||
|
||||
dovecot-plugin-lucene_package() {
|
||||
depends="dovecot>=${version}"
|
||||
short_desc+=" - Full Text Search plugin (Lucene)"
|
||||
|
@ -114,7 +116,6 @@ dovecot-plugin-lucene_package() {
|
|||
vmove usr/lib/dovecot/modules/lib21_fts_lucene_plugin.so
|
||||
}
|
||||
}
|
||||
|
||||
dovecot-plugin-mysql_package() {
|
||||
depends="dovecot>=${version}"
|
||||
short_desc+=" - MySQL plugin"
|
||||
|
@ -124,7 +125,6 @@ dovecot-plugin-mysql_package() {
|
|||
vmove usr/lib/dovecot/modules/libdriver_mysql.so
|
||||
}
|
||||
}
|
||||
|
||||
dovecot-plugin-pgsql_package() {
|
||||
depends="dovecot>=${version}"
|
||||
short_desc+=" - PostgreSQL plugin"
|
||||
|
@ -134,7 +134,6 @@ dovecot-plugin-pgsql_package() {
|
|||
vmove usr/lib/dovecot/modules/libdriver_pgsql.so
|
||||
}
|
||||
}
|
||||
|
||||
dovecot-plugin-sqlite_package() {
|
||||
depends="dovecot>=${version}"
|
||||
short_desc+=" - SQLite plugin"
|
||||
|
|
Loading…
Reference in New Issue