void-packages/srcpkgs/glibc/nscd.template
Juan RP 5aa2f34f73 Update packages that use $openrc_services with the third argument.
Packages that can be started without modifications are enabled,
well some of them, otherwise disabled.

--HG--
extra : convert_revision : 42105adabbc02b0f07a5d7173664778a5001c739
2010-04-16 22:09:33 +02:00

24 lines
596 B
Plaintext

# Template file for 'nscd'.
#
short_desc="Name Service Cache Daemon"
long_desc="
This package contains nscd, a daemon that provides a cache for the
most common name service requests."
revision=2
openrc_services="nscd default false"
conf_files="/etc/nscd.conf"
Add_dependency run glibc
do_install()
{
install -d ${DESTDIR}/usr/sbin
mv ${SRCPKGDESTDIR}/usr/sbin/nscd ${DESTDIR}/usr/sbin
install -D -m755 ${FILESDIR}/nscd.rc ${DESTDIR}/etc/init.d/nscd
install -D -m644 ${FILESDIR}/nscd.conf ${DESTDIR}/etc
install -D -m644 ${FILESDIR}/nscd.logrotate \
${DESTDIR}/etc/logrotate.d/nscd
}