Subject: Re: setting RCD_SCRIPTS_EGDIR in PLIST for openssh
To: Jeremy C. Reed <reed@reedmedia.net>
From: Johnny C. Lam <jlam@netbsd.org>
List: tech-pkg
Date: 03/17/2003 18:46:03
On Mon, Mar 17, 2003 at 05:19:56PM -0800, Jeremy C. Reed wrote:
> 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?
You have two different variables names RCD_SCRIPTS_{EXAMPLE,EG}DIR. Is
this intended?
Cheers,
-- Johnny Lam <jlam@netbsd.org>