From owner-freebsd-bugs@freebsd.org Fri Mar 31 15:07:09 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD7CBD27420 for ; Fri, 31 Mar 2017 15:07:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 934E9805 for ; Fri, 31 Mar 2017 15:07:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v2VF79IR099075 for ; Fri, 31 Mar 2017 15:07:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 218257] pkg.conf and pkg.conf.sample - too many old syntax styles (for BSD newbies) Date: Fri, 31 Mar 2017 15:07:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gwbr0601@yahoo.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2017 15:07:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218257 Bug ID: 218257 Summary: pkg.conf and pkg.conf.sample - too many old syntax styles (for BSD newbies) Product: Base System Version: 11.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: conf Assignee: freebsd-bugs@FreeBSD.org Reporter: gwbr0601@yahoo.de Hello, persuaded to try FreeBSD i'd like to use my existing proxy for repea= tiv VM installations. I found configuration examples but proxing the repo didn't work. I had troubles with both sides, my proxy system and the pkg configs. In man pkg i learned that there is a man pkg.conf. In man pkg.conf i learned that there is a /usr/local/etc/pkg.conf file, and that all keywords are followed with a colon (:). But nearly the complete pkg.conf and pkg.conf.sample do not follow the manp= age. paste from pkg.conf.sample: #ALIAS { #} #CUDF_SOLVER =3D ""; # Sample alias settings <- and only occurrence of keyword colon usage ALIAS : { all-depends: query %dn-%dv, annotations: info -A, [...] } end paste I found in the FreeBSD handbook that there was a change in the pkg system to pkgng. Maybe there was a change of the config syntax too? I was completely confused what is correct. It took me days and the help of a more experienced FreeBSD user to find out that the relevant information was hidden in man pkg.conf: "The file is in U= CL format. For more information on the syntax of UCL, please visit the official UCL website" In the end i had to run around 4 corners just to find out that i was in fro= nt off the correct door already. So i would like to kindly ask you to make life for newbies a little bit eas= ier by adjusting the config and sample to one syntax style. --=20 You are receiving this mail because: You are the assignee for the bug.=