Bug 245554

Summary: ports-mgmt/pkg: man 5 pkg.conf example has defunct option
Product: Documentation Reporter: tigersharke
Component: Manual PagesAssignee: Mateusz Piotrowski <0mp>
Status: Closed FIXED    
Severity: Affects Only Me CC: 0mp, doc
Priority: --- Flags: bugzilla: maintainer-feedback? (pkg)
Version: Latest   
Hardware: Any   
OS: Any   

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!