We use our own local (and slightly modified) package site for use with puppet, and setting the PACKAGEROOT env for pkg_add works alot cleaner for us than PACKAGESITE. We get to push off to pkg_add the work of choosing arch and version. The patch lets you set source in a module to something like: http://packages.mydomain.com/ and pkg_add will automatically append, for example: /pub/FreeBSD/ports/amd64/packages-8.2-release/Latest/zsh.tbz to the source. This patch does not work if you leave the default PACKAGE_ORIGIN option enabled. How-To-Repeat: I thought about patching the existing files/optpatch-package_origin to use pkg_add -r instead of pkg_add -f, but this seemed like a lower impact approach.
Maintainer of sysutils/puppet, Please note that PR ports/156629 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/156629 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
State Changed From-To: feedback->open maintainer timeout
Responsible Changed From-To: freebsd-ports-bugs->swills I'm maintainer now, so I'll take it.
swills 2011-12-05 03:23:43 UTC FreeBSD ports repository Modified files: sysutils/puppet Makefile Added files: sysutils/puppet/files optpatch-package_root Log: - Add patch to support using PACKAGEROOT instead of PACKAGESITE PR: ports/156629 Submitted by: "Douglas K. Rand" <rand@meridian-enviro.com> Feature safe: yes Revision Changes Path 1.31 +10 -1 ports/sysutils/puppet/Makefile 1.1 +11 -0 ports/sysutils/puppet/files/optpatch-package_root (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!