6a4cd0d9be
- Install all configuration files under the examples directory. - Copy configuration files to PKG_SYSCONFDIR using CONF_FILES. - Honour PKG_SYSCONFDIR. - Use OWN_DIRS to handle the /var/run/radiusd status directory. - Use RCD_SCRIPTS to handle the rc.d script automatically. As a result, bump PKGREVISION to 3.
12 lines
273 B
Text
12 lines
273 B
Text
# $NetBSD: HEADER,v 1.1 2003/07/30 14:50:07 jmmv Exp $
|
|
|
|
EGDIR="${PKG_PREFIX}/share/examples/freeradius"
|
|
|
|
case ${STAGE} in
|
|
POST-INSTALL|DEINSTALL)
|
|
for fp in ${EGDIR}/*; do
|
|
f="`${BASENAME} $fp`"
|
|
CONF_FILES="${CONF_FILES} ${EGDIR}/$f ${PKG_SYSCONFDIR}/$f"
|
|
done
|
|
;;
|
|
esac
|