pkg-register question

doug doug at fledge.watson.org
Sat Aug 9 20:46:59 UTC 2014


On Sat, 9 Aug 2014, Matthew Seaman wrote:
[cut]
> That's not really the intended use for pkg-register.  It takes a
> previously written +MANIFEST which describes some software that has
> already been installed on a system and inserts the data from the
> +MANIFEST plus checksums etc it calculates from the installed files into
> the package database.  The +MANIFEST is the 'metadatafile' the man page
> is talking about.
>
> Before staging, this was the way the ports operated.  Now, with staging,
> you use the very similar pkg-create to build a package from the staging
> area, and then simply install that package.  Not sure what the long term
> plans are for 'pkg register' but making it obsolete in the future
> probably should not be discounted.

Thank you that was exactly the information I was seeking

> What you probably wanted was 'pkg convert' -- or in fact, the pkg2ng
> script which is basically a wrapper around pkg convert.

Excellent - thanks again


More information about the freebsd-questions mailing list