tech-pkg archive

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

Re: changing the default pkgdbdir used in bootstrap script

On Sun, Nov 13, 2016 at 05:28:58PM -0500, Greg Troxel wrote:
> "Sevan / Venture37" <> writes:
> > On the other BSDs in the family where pkgsrc is not the primary /
> > native packaging system there is a conflict over the usage of the pkg
> > directory.
> > Rather than trying to deal with these platforms on a case by case
> > basis to override this setting & use an alternative directory, any
> > objection to using a different name by default??
> > -[ -z "$pkgdbdir" ] && pkgdbdir=${varbase}/db/pkg
> > +[ -z "$pkgdbdir" ] && pkgdbdir=${varbase}/db/pkgsrc
> I think Hubert's suggestion of LOCALBASE has merit.
> Also, if /var/db/pkg is going to be avoided by changing to
> /var/db/pkgsrc, then /usr/pkg should also be avoided.  If the db is in
> LOCALBASE, then this is moot.
> What are the downsides of using a db under LOCALBASE on platforms where
> pkgsrc is not native?

Please keep in mind that we already put varbase and by extendion
pkgdbdir under prefix for anything except /usr/pkg. That was done
intentionally to avoid breaking the expectations of long term users.
I don't think anything really changed about this.


Home | Main Index | Thread Index | Old Index