Subject: setting RCD_SCRIPTS_EGDIR in PLIST for openssh
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 03/17/2003 17:19:56
My mk.conf has:
LOCALBASE=/usr
PKG_SYSCONFBASE=/etc
PKG_RCD_SCRIPTS= YES
RCD_SCRIPTS_EXAMPLEDIR= /usr/share/examples/rc.d
openssh has:
RCD_SCRIPTS_EGDIR= etc/rc.d
PLIST_SUBST+= RCD_SCRIPTS_EGDIR=${RCD_SCRIPTS_EGDIR}
RCD_SCRIPTS= sshd
The PLIST has:
${RCD_SCRIPTS_EGDIR}/sshd
The installer properly puts it at /etc/rc.d/sshd
but the +CONTENTS has wrong /usr/etc/rc.d/sshd.
Shouldn't it use the RCD_SCRIPTS_EXAMPLEDIR setting?
Jeremy C. Reed
http://bsd.reedmedia.net/