mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-09 21:43:13 +02:00
dovecot: added runit service.
This commit is contained in:
parent
3bea592d6b
commit
1d29236574
2 changed files with 9 additions and 7 deletions
3
srcpkgs/dovecot/files/dovecot/run
Executable file
3
srcpkgs/dovecot/files/dovecot/run
Executable file
|
@ -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'
|
# Template file for 'dovecot'
|
||||||
pkgname=dovecot
|
pkgname=dovecot
|
||||||
version=2.2.13
|
version=2.2.13
|
||||||
revision=5
|
revision=6
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-moduledir=/usr/lib/dovecot/modules --with-sql=plugin
|
configure_args="--with-moduledir=/usr/lib/dovecot/modules --with-sql=plugin
|
||||||
--disable-static --with-nss --with-pam --with-mysql --with-pgsql
|
--disable-static --with-nss --with-pam --with-mysql --with-pgsql
|
||||||
--with-sqlite --with-ssl=openssl --with-ssldir=/etc/dovecot/ssl
|
--with-sqlite --with-ssl=openssl --with-ssldir=/etc/dovecot/ssl
|
||||||
--with-gssapi --with-ldap=plugin --with-zlib --with-bzlib --with-lzma
|
--with-gssapi --with-ldap=plugin --with-zlib --with-bzlib --with-lzma
|
||||||
--with-libcap --with-solr --with-docs
|
--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"
|
short_desc="IMAP and POP3 server written with security primarily in mind"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
|
@ -46,7 +46,8 @@ fi
|
||||||
|
|
||||||
# For SSL support.
|
# For SSL support.
|
||||||
depends="virtual?openssl"
|
depends="virtual?openssl"
|
||||||
systemd_services="dovecot.service true"
|
replaces="runit-void<20141013_2"
|
||||||
|
build_options="systemd"
|
||||||
system_accounts="dovecot dovenull"
|
system_accounts="dovecot dovenull"
|
||||||
dovecot_homedir="/var/chroot"
|
dovecot_homedir="/var/chroot"
|
||||||
dovenull_homedir="/var/chroot"
|
dovenull_homedir="/var/chroot"
|
||||||
|
@ -93,6 +94,8 @@ post_install() {
|
||||||
# Remove development stuff.
|
# Remove development stuff.
|
||||||
rm -rf ${DESTDIR}/usr/include
|
rm -rf ${DESTDIR}/usr/include
|
||||||
rm -rf ${DESTDIR}/usr/share/aclocal
|
rm -rf ${DESTDIR}/usr/share/aclocal
|
||||||
|
|
||||||
|
vsv dovecot
|
||||||
}
|
}
|
||||||
|
|
||||||
dovecot-plugin-ldap_package() {
|
dovecot-plugin-ldap_package() {
|
||||||
|
@ -105,7 +108,6 @@ dovecot-plugin-ldap_package() {
|
||||||
vmove etc/dovecot/conf.d/auth-ldap.conf.ext
|
vmove etc/dovecot/conf.d/auth-ldap.conf.ext
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dovecot-plugin-lucene_package() {
|
dovecot-plugin-lucene_package() {
|
||||||
depends="dovecot>=${version}"
|
depends="dovecot>=${version}"
|
||||||
short_desc+=" - Full Text Search plugin (Lucene)"
|
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
|
vmove usr/lib/dovecot/modules/lib21_fts_lucene_plugin.so
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dovecot-plugin-mysql_package() {
|
dovecot-plugin-mysql_package() {
|
||||||
depends="dovecot>=${version}"
|
depends="dovecot>=${version}"
|
||||||
short_desc+=" - MySQL plugin"
|
short_desc+=" - MySQL plugin"
|
||||||
|
@ -124,7 +125,6 @@ dovecot-plugin-mysql_package() {
|
||||||
vmove usr/lib/dovecot/modules/libdriver_mysql.so
|
vmove usr/lib/dovecot/modules/libdriver_mysql.so
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dovecot-plugin-pgsql_package() {
|
dovecot-plugin-pgsql_package() {
|
||||||
depends="dovecot>=${version}"
|
depends="dovecot>=${version}"
|
||||||
short_desc+=" - PostgreSQL plugin"
|
short_desc+=" - PostgreSQL plugin"
|
||||||
|
@ -134,7 +134,6 @@ dovecot-plugin-pgsql_package() {
|
||||||
vmove usr/lib/dovecot/modules/libdriver_pgsql.so
|
vmove usr/lib/dovecot/modules/libdriver_pgsql.so
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dovecot-plugin-sqlite_package() {
|
dovecot-plugin-sqlite_package() {
|
||||||
depends="dovecot>=${version}"
|
depends="dovecot>=${version}"
|
||||||
short_desc+=" - SQLite plugin"
|
short_desc+=" - SQLite plugin"
|
||||||
|
|
Loading…
Add table
Reference in a new issue