cyrus-sasl: needs coreutils to build, use vinstall.

This commit is contained in:
Juan RP 2011-07-06 15:03:46 +02:00
parent c3f27c7ce5
commit 774d662a13

View file

@ -31,6 +31,7 @@ Add_dependency run pam
Add_dependency run libssl
Add_dependency run cyrus-sasl-modules
Add_dependency build coreutils
Add_dependency build libsasl-devel
Add_dependency build libldap-devel
Add_dependency build mit-krb5-devel
@ -49,9 +50,6 @@ post_install()
rm -rf ${DESTDIR}/usr/lib/sasl2/libsasldb*
# Install OpenRC service.
install -d ${DESTDIR}/var/run/saslauthd
install -D -m755 ${FILESDIR}/saslauthd.rc \
${DESTDIR}/etc/init.d/saslauthd
install -D -m755 ${FILESDIR}/saslauthd.confd \
${DESTDIR}/etc/conf.d/saslauthd
vinstall ${FILESDIR}/saslauthd.rc 755 etc/init.d saslauthd
vinstall ${FILESDIR}/saslauthd.confd 644 etc/conf.d saslauthd
}