BSD Ports

pkgtools/pkg_tarup 1.9.1 NetBSD

Generates binary package(s) from installed pkg(s)

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Categories
pkgtools
Package size
5.5 KiB, 8.8 KiB installed

Description

Script to tar up an already installed package.

Now my question is, how can we include this? I'd prefer to have it available from pkg_admin, but that is C, and the other is a script - rewrite in C?

The Script has still a problem, as the MTREE file is removed after a pkg_add/make install. As leaving the MTREE file will lead to a ~10% increase in space needed for /var/db/pkg which I'm not sure we should do, esp. as the files are almost always the same again. (On my notebook with ~250 installed pkgs, the size increasement would be from 8.8MB to 10MB).

Send your thoughts to me <[email protected]> !

Install

Binary package:

pkgin install pkg_tarup

From pkgsrc:

cd /usr/pkgsrc/pkgtools/pkg_tarup && make install clean

Dependencies