PKGDIR ambiguous (was: cvs commit: src/usr.sbin/pkg_install/info info.h main.c perform.c pkg_info.1 src/usr.sbin/pkg_install/add add.h main.c perform.c pkg_add.1 src/usr.sbin/pkg_install/lib lib.h url.c)

Florent Thoumie flz at FreeBSD.org
Tue Aug 22 11:00:18 UTC 2006


On Tue, 2006-08-22 at 06:37 -0400, Kris Kennaway wrote:
> On Tue, Aug 22, 2006 at 10:54:41AM +0100, Florent Thoumie wrote:
> 
> > Hum, actually you can have PACKAGES=/blah/packages/homebrewed/ in
> > make.conf and PACKAGES=/blah/packages/freebsd/ in your environment, so I
> > guess it's fine.
> > 
> > I'll commit the s/PKG_DBDIR/PACKAGES/ change in a few minutes.
> 
> Cool, thanks!

I forgot I had to do the post-processing thing, so it will have to wait
a bit.

Also, the default for PKG_DBDIR was ".". Because you don't want your
system to be cluttered by ./All and ./Latest directories, I think we
should remove any default value to force people to set PACKAGES to some
path with included dynamic branch version, like:

export PACKAGES=/var/cache/pkg/packages-`sysctl -n kern.osreldate | cut
-c1`

I'm a bit confused about what policy we should have with this, so I'm
moving the discussion to -ports.

-- 
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060822/3ea5715b/attachment.pgp


More information about the freebsd-ports mailing list