From owner-freebsd-questions@FreeBSD.ORG Fri May 3 20:43:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 002A79DE for ; Fri, 3 May 2013 20:43:26 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) 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 898221322 for ; Fri, 3 May 2013 20:43:26 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r43KhMEE055950 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 3 May 2013 21:43:23 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.8.2 smtp.infracaninophile.co.uk r43KhMEE055950 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1367613803; bh=8jNKNTpVjTt1UQ9RNvzCYidnzX6mjrK04oKUNQpyNW8=; h=Date:From:To:CC:Subject:References:In-Reply-To; z=Date:=20Fri,=2003=20May=202013=2021:43:04=20+0100|From:=20Matthew =20Seaman=20|To:=20Walter=20Hurry =20|CC:=20freebsd-questions@freebsd.org|Sub ject:=20Re:=20pkg=20question|References:=20|In-Reply-To:=20; b=wRLKK4pJ3kvqyjqnnJlAU6s9zLi8W5P+SwgY2L8v5+DU8VSALGyX8QOqAE7io5gna QNxMNGiabkUEe/iu/ZYlBZ8bRH2fTU1oQ2+Ve9unnDAeUVToN3mQwCyHtUyRPMwGpF RTOGjXZo4CTnWmSBY7cbtHM0kGrXBWhm8WLhECh0= Message-ID: <51842158.1080505@infracaninophile.co.uk> Date: Fri, 03 May 2013 21:43:04 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Walter Hurry Subject: Re: pkg question References: In-Reply-To: X-Enigmail-Version: 1.5.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2LXGFBGSJUUTTWVURGUIL" X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 May 2013 20:43:27 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2LXGFBGSJUUTTWVURGUIL Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/05/2013 21:26, Walter Hurry wrote: > Quoting from /usr/ports/UPDATING: > -------------------------------------------------------------------- > 20130502: > AFFECTS: users of ports-mgmt/pkg, ports-mgmt/poudriere, ports-mgmt/ > tinderbox > AUTHOR: bdrewery@FreeBSD.org >=20 > This only affects people who are _building_ binary packages for pkgng. = If=20 > you are building from ports please ignore this. This step is optional. >=20 > It is recommended to rebuild all packages and then have your users run = > 'pkg check -Ba' and 'pkg upgrade' on their servers once. This will allo= w=20 > the new shlib tracking to reinstall packages that have changed shlib=20 > requirements. > -------------------------------------------------------------------- > Does 'rebuild all packages' mean we have to recompile from scratch, or = > merely do a 'pkg create' for each? If you have packages installed, but without shlib info in the database, then you can: pkg upgrade or whatever, to get pkg-1.0.12 installed pkg check -Ba -- scans everything you have installed and adds the SHLIB info to your local database pkg create -a -o /usr/ports/packages/ -- create pkg tarballs (including shlib info) out of everything known in your local database. pkg repo -f /usr/ports/packages -- build a repo out of those package tarballs. However, this only works for what you have installed on that one machine, which is generally a sub-set of what you'ld like to have in a pkg repo. To build a more comprehensive set of packages as you'ld normally find in a repo, it's cleanest to just tell poudriere or tinderbox to build everything again from scratch. Timeconsuming, but you end up with a consistent repository fully populated with all the SHLIBS info you could want. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk ------enig2LXGFBGSJUUTTWVURGUIL 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 Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlGEIWoACgkQ8Mjk52CukIySkwCdEQgJgRTBkl529rMX1O4N6rVk S4sAn2YX9g+1rPzqCMHnbhyZx47Yc6tT =cl0D -----END PGP SIGNATURE----- ------enig2LXGFBGSJUUTTWVURGUIL--