Bug 204570 - pkg(8) needs an option to prevent fetching packages via the network
Summary: pkg(8) needs an option to prevent fetching packages via the network
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-pkg (Nobody)
URL:
Keywords: feature, needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2015-11-15 20:54 UTC by Ian Lepore
Modified: 2016-04-20 08:48 UTC (History)
2 users (show)

See Also:
koobs: maintainer-feedback? (pkg)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Lepore freebsd_committer freebsd_triage 2015-11-15 20:54:48 UTC
When creating products or distributions that include packages, it can be important to ensure that everything that ends up in the product image came from a version-controlled source.  A pkg(8) option to allow installation only from file:// URLs can help ensure that uncontrolled packages don't accidentally end up getting installed due to accidental oversights such as forgetting to commit runtime dependency packages.

This was discussed briefly with bapt@ on irc, and he requested that I open a PR so it doesn't get forgotten.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2015-11-16 16:43:08 UTC
Thanks Ian :) For future reference, prefixing category/port: to the issue Summary will ensure that specific ports MAINTAINER is Assigned/CC'd automatically.

Also CC bapt as per comment 0
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2015-11-24 10:44:55 UTC
Implemented in git