2009-12-07 15:40:29 +01:00
|
|
|
# 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."
|
|
|
|
|
2010-04-16 22:09:33 +02:00
|
|
|
revision=2
|
2010-01-18 19:56:17 +01:00
|
|
|
|
2010-04-16 22:09:33 +02:00
|
|
|
openrc_services="nscd default false"
|
2009-12-07 15:40:29 +01:00
|
|
|
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
|
|
|
|
}
|