Bug 156629 - [patch] sysutils/puppet patch to use PACKAGEROOT instead of PACKAGESITE
Summary: [patch] sysutils/puppet patch to use PACKAGEROOT instead of PACKAGESITE
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-25 02:30 UTC by rand
Modified: 2011-12-05 03:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1.51 KB, patch)
2011-04-25 02:30 UTC, rand
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rand 2011-04-25 02:30:10 UTC
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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-04-25 02:30:27 UTC
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
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2011-04-25 02:30:31 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Tilman Keskinoz freebsd_committer freebsd_triage 2011-08-08 20:22:29 UTC
State Changed
From-To: feedback->open

maintainer timeout
Comment 4 Steve Wills freebsd_committer freebsd_triage 2011-11-01 01:34:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

I'm maintainer now, so I'll take it.
Comment 5 dfilter service freebsd_committer freebsd_triage 2011-12-05 03:23:51 UTC
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"
Comment 6 Steve Wills freebsd_committer freebsd_triage 2011-12-05 03:23:54 UTC
State Changed
From-To: open->closed

Committed. Thanks!