Update script for pkgsrc
WARNING - experimental
Prerequisites
- pkg_chk
- pkg_comp
- lintpkgsrc
- NetBSD distribution sets corresponding to the installed system
Setup
- Install prerequisites
- Set up pkg_comp
- pkg_comp maketemplate
- Set the following options in the pkg_comp configuration file:
- AUTO_TARGET="bin-install"
- BUILD_TARGET="bin-install"
- MKCONF_VARS="$MKCONF_VARS DEPENDS_TARGET BINPKG_SITES"
- DEPENDS_TARGET="bin-install"
- BINPKG_SITES="#defined"
- Set up the rest of the pkg_comp configuration as appropriate to your system
- Set up pkgchk.conf to list all the packages that you care about
- Edit the variables at the top of the update script to reflect the locations of pkgsrc and the pkg database
Download the script here