Date: Mon, 23 Feb 2004 10:49:01 -0800 (PST) From: "Freddie Cash" <fcash-ml@sd73.bc.ca> To: ports@freebsd.org Subject: Re: OPTIONS, LATEST_LINK, and RCng Message-ID: <49778.192.168.0.185.1077562141.squirrel@mailtest.sd73.bc.ca> In-Reply-To: <4039C206.9020804@fillmore-labs.com> References: <2107.24.71.130.94.1077515696.squirrel@mailtest.sd73.bc.ca> <50589.24.71.131.139.1077518340.squirrel@mailtest.sd73.bc.ca> <4039C206.9020804@fillmore-labs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Freddie Cash wrote: >> While updating the www/dansguardian* ports to use the new OPTIONS >> and LATEST_LINK variables, I noticed that the www/squid port now >> uses RCng for the startup script. This is good news, because it >> means I can rename the dansguardian startup script back to >> dansguardian.sh and just use RCng to make sure it's started after >> squid. > This will work only if you move your start/stop scripts > to /etc/rc.d, see PR 56736: > <http://www.freebsd.org/cgi/query-pr.cgi?pr=conf/56736> Hmmmm, okay, I'll have a look at that and see if it's worth the effort right now. >> One quick question: Should "squid" be added to the REQUIRE line, >> or is that only for system services? > Since you have a RUN_DEPENDS of squid, yes. Check. > You should just USE_RC_SUBR=yes with > post-build: > ${SED} -e 's,%%RC_SUBR%%,${RC_SUBR},g' ${FILESDIR}/dansguardian.sh \ > >${WRKDIR}/dansguardian.sh > in the Makefile and . %%RC_SUBR%% in the start/stop script Something else to chew over. Thanks. -- Freddie Cash fcash-ml@sd73.bc.ca
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49778.192.168.0.185.1077562141.squirrel>