Given a central machine which fetch sources for all other machines for caching (the others do not have internet access) Since most ports are using CONFLICTS instead CONFLICTES_(BUILD|INSTALL), I use on this machine the follwing command to fetch fresh sources after every portstree update. $> env -i PKG_DBDIR=/var/empty LOCALBASE=/var/empty make fetch -C /usr/ports/mail/postfix ===> Found saved configuration for postfix-2.9.0,1 ===> postfix-2.9.4,1 depends on file: /var/empty/sbin/pkg - not found ===> Verifying install for /var/empty/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Extracting for pkg-1.0.r6 => SHA256 Checksum OK for pkg-1.0-rc6.tar.xz. ===> Patching for pkg-1.0.r6 ===> Configuring for pkg-1.0.r6 ===> Building for pkg-1.0.r6 ===> external (all) ===> external/sqlite (all) .... If pkgng is used, then this simple fetch command does not work. It tries to build `pkg' as fetch dependency. As workaround a condition in bsd.port.mk will be nice (patch b). The params -DBATCH -DDISABLE_VULNERABILITIES -DDISABLE_CONFLICTS \ -DDEFER_CONFLICTS_CHECK -DDISABLE_LICENSES -DDISABLE_SECURITY_CHECK \ -DAP_IGNORE_VERSION_CHECK do not work in any case, therfore I use additional the `env' command. Fix: a) b) workaround instead a) How-To-Repeat: $> env -i PKG_DBDIR=/var/empty LOCALBASE=/var/empty make fetch -C /usr/ports/mail/postfix
Responsible Changed From-To: freebsd-ports-bugs->portmgr bsd.port.mk is portmgr territory (via the GNATS Auto Assign Tool)
Responsible Changed From-To: portmgr->beat Take for exp-run.
State Changed From-To: open->closed Committed. Thanks!