[HEADSUP] pkg(8) is now the only package management tool

Tomoaki AOKI junchoon at dec.sakura.ne.jp
Tue Sep 2 13:23:46 UTC 2014


You can generate old style (pkg_* style) database by

  pkg convert -r -d somewhere_you_like

at least pkg-1.3.7 for now. ;-)
The default output directory is /var/db/pkg.

Are they insufficient for your purpose (your tool)?

But please beware. The data generated by pkg are POSSIBLY NOT 100%
match the ones generated by pkg_add, as they are generated from
existing pkg database (by default: /var/db/pkg/local.sqlite).

Regards.

On Mon, 01 Sep 2014 19:20:49 -0700
Julian Elischer <julian at freebsd.org> wrote:

> On 9/1/14, 6:39 PM, Sam Fourman Jr. wrote:
> >> And for the portsnap users?
> >>
> >>
> > In short, this change doesn't directly effect portsnap users.
> >
> > Portsnap is a tool that used to obtain a copy of the ports tree.
> >
> > Portsnap is only one way, another way to get a copy of the ports tree is by
> > using subversion and checking it out by using the svn command.
> >
> > pkg(8) is a package management tool, and to make use of most packages
> > having a copy of the ports tree is not required.
> But it is if you don't want the options that a pkg is built with.
> We need to do a lot of pkg munging for that reason, generating
> our own versions (which is ok, that's not a complaint, just a fact of 
> life).
> 
> I've warmed to pkg after using it a bit, and many of its initial
> shortcomings have been fixed.
> But one thing I'd like to request (a very minor thing)..
> Could the packing list have some newlines inserted into it to make it 
> more humanly readable? Our old tools for auditing and controlling (old 
> style) packages would print out that information.
> The new tools we need to write will need to do similar.
> We did an experiment at work here and wrote a small script that parsed
> it and then rewrote it back to the package with newlines added and
> pkg handled it just fine, so it should be a very minor thing to add
> some newlines when generating it in the first place.
> I don't think anything else needs to be changed.
> >
> >>
> >> --
> >> Michelle Sullivan
> >> http://www.mhix.org/
> >>
> >> _______________________________________________
> >> freebsd-ports at freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> >>
> >
> >
> 
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
> 


-- 
青木 知明  [Tomoaki AOKI]
    junchoon at dec.sakura.ne.jp
    MXE02273 at nifty.com


More information about the freebsd-stable mailing list