tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc RC scripts



On Tue, 20 Oct 2009, Joerg Sonnenberger wrote:

> On Mon, Oct 19, 2009 at 04:37:01PM +0200, Joerg Sonnenberger wrote:
> > > I've noted that some of the script templates in pkgsrc/mk/pkginstall are 
> > > already setup to use varialbles passed to them, i.e.:
> > > PKG_CREATE_USERGROUP, PKG_CONFIG, PKG_CONFIG_PERMS, PKG_RCD_SCRIPTS,
> > > PKG_UPDATE_FONTS_DB, FONTS_VERBOSE, INFO_FILES_VERBOSE, 
> > > PKG_REGISTER_SHELLS.
> > 
> > Exactly, as that is the way it gets the data from mk.conf too. If
> > anything, it should query the variables explicitly, IMO.
> 
> Attached is a simple patch to allow just that.

Ok i see where your going, it brings in the generic-ness i was talking 
about (in my earler email) but it requires making changes to the script
templates!

-- 
Steven


Home | Main Index | Thread Index | Old Index