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!
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.