2009-12-07 14:40:29 +00:00
|
|
|
# Template file for 'nscd'.
|
|
|
|
#
|
2012-05-24 12:47:47 +00:00
|
|
|
systemd_services="nscd.service on"
|
2012-07-14 21:38:50 +00:00
|
|
|
make_dirs="/var/db/nscd 0755 root root"
|
2012-05-24 12:47:47 +00:00
|
|
|
conf_files="/etc/nscd.conf"
|
2009-12-07 14:40:29 +00:00
|
|
|
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."
|
|
|
|
|
2012-05-24 12:47:47 +00:00
|
|
|
do_install() {
|
2011-10-11 00:57:48 +00:00
|
|
|
vmove usr/sbin/nscd usr/sbin
|
2012-07-09 14:13:38 +00:00
|
|
|
vinstall ${FILESDIR}/nscd.service 644 usr/lib/systemd/system
|
|
|
|
vinstall ${FILESDIR}/nscd.socket 644 usr/lib/systemd/system
|
2011-10-11 00:57:48 +00:00
|
|
|
vinstall ${FILESDIR}/nscd.tmpfiles.d 644 usr/lib/tmpfiles.d nscd.conf
|
|
|
|
vinstall ${FILESDIR}/nscd.conf 644 etc
|
|
|
|
vinstall ${FILESDIR}/nscd.logrotate 644 etc/logrotate.d nscd
|
2009-12-07 14:40:29 +00:00
|
|
|
}
|