void-packages/srcpkgs/glibc/nscd.template
Juan RP 9904b03465 glibc: some fixes to improve nscd and nsswitch.conf.
* nsswitch.conf: enable nss_mdns by default. Won't do any harm if
  it's not installed.
* Moved info files to -devel subpkgs, where they belong.
* nscd.conf: removed debug-level that made a lot of spam.

Bump revision for involved pkgs.

--HG--
extra : convert_revision : ac0615ffd29ca5e8712ca456db76f5f0c542f89c
2010-01-18 19:56:17 +01:00

23 lines
590 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."
revision=1
openrc_services="nscd default"
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
}