8 export ASSUME_ALWAYS_YES="YES"
9 export PKG_DBDIR="/tmp/pkg"
10 export PERMISSIVE="YES"
11 export REPO_AUTOUPDATE="NO"
12 export PKGCMD="/usr/sbin/pkg -d"
14 DVD_PACKAGES="archivers/unzip
16 devel/subversion-static
17 emulators/linux_base-f10
29 x11-drivers/xf86-video-vmware
34 # If NOPORTS is set for the release, do not attempt to build pkg(8).
35 if [ ! -f /usr/ports/Makefile ]; then
39 if [ ! -x /usr/local/sbin/pkg ]; then
40 /usr/bin/make -C /usr/ports/ports-mgmt/pkg install clean
43 PKG_ABI=$(pkg -vv | grep ^ABI | awk '{print $3}')
44 PKG_ABI="${PKG_ABI%\";}"
45 PKG_ABI="${PKG_ABI#\"}"
47 export PKG_CACHEDIR="dvd/packages/${PKG_ABI}"
49 /bin/mkdir -p ${PKG_CACHEDIR}
51 # Print pkg(8) information to make debugging easier.
54 ${PKGCMD} fetch -d ${DVD_PACKAGES}
56 ${PKGCMD} repo ${PKG_CACHEDIR}
58 # Always exit '0', even if pkg(8) complains about conflicts.