void-packages/srcpkgs/glibc/nscd.template
2010-05-20 18:05:49 +02:00

21 lines
584 B
Text

# 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."
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
}