Subject: pkg_tarup: pkging a already installed package
To: None <email@example.com>
From: Hubert Feyrer <firstname.lastname@example.org>
Date: 02/14/2000 03:09:46
FYI, I've just committed the pkg_tarup package to
pkgsrc/pkgtools/pkg_tarup. This shell script can generate a binary package
from a package installed on the system, e.g.:
miyu# pkg_info -e xteddy
miyu# pkg_tarup xteddy
Taring up xteddy-1.1 as /tmp/xteddy-1.1.tgz
Creating package /tmp/xteddy-1.1.tgz
Creating gzip'd tar ball in '/tmp/xteddy-1.1.tgz'
Please note that the generated binary package does not contain a mtree
file, even if the pkg was installed via a binary package and a mtree file
was present then. Also, no INSTALL file is packet up. For these things,
changes to pkg_add (mostly) need to be made, see my other posting about
this a few weeks ago.
As usual, use at your own risk (you've been warned :)!
NetBSD - Better for your uptime than Viagra