Bug 245554 - ports-mgmt/pkg: man 5 pkg.conf example has defunct option
Summary: ports-mgmt/pkg: man 5 pkg.conf example has defunct option
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mateusz Piotrowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-12 03:07 UTC by tigersharke
Modified: 2020-11-02 08:56 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tigersharke 2020-04-12 03:07:19 UTC
The pkg.conf manpage from FreeBSD 10.2 and ports includes an option in its EXAMPLES under REPOSITORY CONFIGURATION, which is no longer listed. If AUTODEPS option is defunct after FreeBSD 10.1, it ought not be used in examples for those manpage versions. 

Example for pkg.conf:

	   pkg_dbdir: "/var/db/pkg"
	   pkg_cachedir: "/var/cache/pkg"
	   portsdir: "/usr/ports"
	   handle_rc_scripts: false
	   assume_always_yes: false
	   repos_dir: [
		"/etc/pkg",
		"/usr/local/etc/pkg/repos",
	   ]
	   syslog: true
	   autodeps: true
	   developer_mode: false
	   pkg_env: {
	       http_proxy: "http://myproxy:3128",
	   }
	   alias: {
	       origin: "info -qo",
	       nonauto:	"query -e '%a == 0' '%n-%v'"
	   }
Comment 1 tigersharke 2020-11-01 15:54:09 UTC
Fix: revise to more accurate Product and Component.
Comment 2 Mateusz Piotrowski freebsd_committer freebsd_triage 2020-11-01 18:28:27 UTC
https://github.com/freebsd/pkg/pull/1894
Comment 3 Mateusz Piotrowski freebsd_committer freebsd_triage 2020-11-02 08:56:47 UTC
The patch has been committed upstream. Thanks a lot!