From owner-freebsd-stable@FreeBSD.ORG Sun Sep 16 20:49:22 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C56B6106566C for ; Sun, 16 Sep 2012 20:49:22 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 43AEC8FC0C for ; Sun, 16 Sep 2012 20:49:22 +0000 (UTC) Received: from seedling.local (host109-150-6-11.range109-150.btcentralplus.com [109.150.6.11]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q8GKnD05018009 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 16 Sep 2012 21:49:13 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q8GKnD05018009 Authentication-Results: smtp.infracaninophile.co.uk/q8GKnD05018009; dkim=none (no signature); dkim-adsp=none X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host host109-150-6-11.range109-150.btcentralplus.com [109.150.6.11] claimed to be seedling.local Message-ID: <50563B42.3060705@FreeBSD.org> Date: Sun, 16 Sep 2012 21:49:06 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-stable@FreeBSD.org References: <505406DF.6080205@gmx.us> <50546AF9.4060505@bsdinfo.com.br> <20120916204204.30718a10@laptop> <5056322C.7060804@bsdinfo.com.br> In-Reply-To: <5056322C.7060804@bsdinfo.com.br> X-Enigmail-Version: 1.4.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig967C6CE099E4876C0FD0B5F7" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: Subject: Re: how to update ports while using pkgng? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2012 20:49:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig967C6CE099E4876C0FD0B5F7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 16/09/2012 21:10, Marcelo Gondim wrote: > Em 16/09/2012 14:42, Sergey V. Dyatko escreveu: >> On Sat, 15 Sep 2012 08:48:09 -0300 >> Marcelo Gondim wrote: >> >>> Em 15/09/2012 01:41, Mike Manilone escreveu: >>>> Hi, >>>> >>>> I'm using ports with pkgng enabled. But I found that portmaster >>>> won't work. Is there any way to update ports? Thanks! >>> Hi, >>> >>> I use "portsnap fetch update" and "portmaster" to update my ports. >>> >> with pkgng ? :/ >=20 > Nope, because pkgng update only binary packages. A pkg is what you get by compiling and installing a port. So even if you never download anything other than source code which you religiously compile yourself using the ports, your system will still end up full of pkgs. pkgng is not just about binary pkg distribution systems: it's also about managing the software installed on your system. It changes the package registry completely -- using sqlite, rather than a bunch of files and directories under /var/db/pkg -- and all the Makefile bits under /usr/ports/Mk that deal with registering new packages and so forth. This means that any software designed to interact with the ports tree will quite likely need to be modified to operate correctly in a pkgng-enabled system. portmaster is no exception, except that unlike most other ports-related software, the author of portmaster has not accepted patches for pkgng support to be incorporated directly into his code or into the portmaster port, so it is necessary to download and apply a patch from github separately: https://github.com/pkgng/pkgng/blob/master/ports/patch-portmaster-pkgng See the FAQ for instructions: https://github.com/pkgng/pkgng/blob/master/FAQ.md#15 With the patch applied you can used portmaster as usual and (almost) everything will work exactly as before. Some of the output will change, since pkgng produces different output while working compared to pkg_tools. Also pkgng-enabled portmaster doesn't support creating a cache of pre-compiled packages yet. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig967C6CE099E4876C0FD0B5F7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBWO0kACgkQ8Mjk52CukIzkMgCglPSiEiITk17IofML06z6N7UT C7EAn0ptKeTYf6vcD1fbl0lxv/FoA/D8 =75WT -----END PGP SIGNATURE----- --------------enig967C6CE099E4876C0FD0B5F7--