cyrus-sasl: switch to /usr.
This commit is contained in:
parent
239d18a991
commit
fe94d74447
1 changed files with 5 additions and 7 deletions
|
@ -2,9 +2,10 @@
|
||||||
. ${XBPS_SRCPKGDIR}/libsasl/template
|
. ${XBPS_SRCPKGDIR}/libsasl/template
|
||||||
|
|
||||||
# Unset some unneeded stuff.
|
# Unset some unneeded stuff.
|
||||||
unset run_depends build_depends
|
unset depends makedepends
|
||||||
|
|
||||||
pkgname=cyrus-sasl
|
pkgname=cyrus-sasl
|
||||||
|
revision=7
|
||||||
configure_args="--with-saslauthd=/run/saslauthd
|
configure_args="--with-saslauthd=/run/saslauthd
|
||||||
--enable-login --enable-plain --enable-sql --disable-sqlite
|
--enable-login --enable-plain --enable-sql --disable-sqlite
|
||||||
--enable-postgresql --enable-mysql --enable-ldapdb --with-ldap=/usr"
|
--enable-postgresql --enable-mysql --enable-ldapdb --with-ldap=/usr"
|
||||||
|
@ -17,15 +18,11 @@ long_desc="${long_desc}
|
||||||
programs for the SASL users database and common binary files for plugin
|
programs for the SASL users database and common binary files for plugin
|
||||||
modules."
|
modules."
|
||||||
|
|
||||||
revision=6
|
|
||||||
subpackages="${pkgname}-modules-ldap ${pkgname}-modules-sql ${pkgname}-modules"
|
subpackages="${pkgname}-modules-ldap ${pkgname}-modules-sql ${pkgname}-modules"
|
||||||
systemd_services="saslauthd.service on"
|
systemd_services="saslauthd.service on"
|
||||||
conf_files="/etc/conf.d/saslauthd"
|
conf_files="/etc/conf.d/saslauthd"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
|
||||||
post_install()
|
|
||||||
{
|
|
||||||
# Remove stuff in libsasl{,-devel} pkgs.
|
# Remove stuff in libsasl{,-devel} pkgs.
|
||||||
rm -rf ${DESTDIR}/usr/share/man/man3
|
rm -rf ${DESTDIR}/usr/share/man/man3
|
||||||
rm -rf ${DESTDIR}/usr/include
|
rm -rf ${DESTDIR}/usr/include
|
||||||
|
@ -33,7 +30,8 @@ post_install()
|
||||||
rm -rf ${DESTDIR}/usr/lib/sasl2/libsasldb*
|
rm -rf ${DESTDIR}/usr/lib/sasl2/libsasldb*
|
||||||
|
|
||||||
# systemd
|
# systemd
|
||||||
vinstall ${FILESDIR}/saslauthd.service 644 lib/systemd/system
|
vinstall ${FILESDIR}/saslauthd.service 644 \
|
||||||
|
usr/lib/systemd/system
|
||||||
vinstall ${FILESDIR}/saslauthd.tmpfiles.d 644 \
|
vinstall ${FILESDIR}/saslauthd.tmpfiles.d 644 \
|
||||||
usr/lib/tmpfiles.d saslauthd.conf
|
usr/lib/tmpfiles.d saslauthd.conf
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue