From owner-freebsd-pkg@FreeBSD.ORG Mon Sep 8 23:25:48 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6C5ABF22 for ; Mon, 8 Sep 2014 23:25:48 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1170F5EE for ; Mon, 8 Sep 2014 23:25:47 +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.9/8.14.9) with ESMTP id s88MY59d065351 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 8 Sep 2014 23:34:05 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk s88MY59d065351 Authentication-Results: smtp.infracaninophile.co.uk/s88MY59d065351; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral Message-ID: <540E2EDC.2040803@FreeBSD.org> Date: Mon, 08 Sep 2014 23:34:04 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: upgrading ports/packages: mixing portupgrade/portmaster with binary dependencies References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="q0JGJMbxd2rDPc4xhGpuXcaSlJfXa4GRs" X-Virus-Scanned: clamav-milter 0.98.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2014 23:25:48 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --q0JGJMbxd2rDPc4xhGpuXcaSlJfXa4GRs Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/09/2014 21:53, Dmitry Morozovsky wrote: > (and, yes, I know I should plan, prepare and deploy poudriere server fo= r the=20 > most correct answer to my question ;-P) >=20 > is there a shortcut way to source-upgrade ports which configured differ= ently=20 > comparing to the master default, having install dependencies (which are= usually=20 > needed only for building, not for running) from default pkg repository?= =20 >=20 > something like old (pre-pkg era) portupgrade -a -PP ; portupgrade -a >=20 > And, after all of this dance, it would be great to run ``pkg autoremove= '' and=20 > see installed package list much shorter ;) Not yet. This sort of thing is definitely on the drawing board though. At the moment I guess it would be a small matter of writing some scripts to work out what build deps are needed, use pkg to install them from the repo and mark them for automatic removal while doing so, and then do a build from ports of the software you want to apply special options to. Or you could take the easy way out and run a poudriere instance to build just the ports you want custom options on. Well, except that will also build everything those ports depend on as well. But you should be able to use your custom repo in parallel with the official repos. Just be a bit careful to match the revision of the ports tree you build your custom stuff with to the revision used to build the latest official package set. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --q0JGJMbxd2rDPc4xhGpuXcaSlJfXa4GRs 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.20 (Darwin) iQJ8BAEBCgBmBQJUDi7cXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATKGcP/ieMmy225w0U07KIzlbiaiuG pbOUoNN2llumncm+pLgmIargo0X9Tp/g2ErqSBRuLEctb92ZEZ57z6poak7w+/4v O+uihCMysDje50tXvVWEU1tjDNnN3iNtiX/VDgtiZNnNM00ArJDoDBaTb/br/vyh esJ8ywihajWO0oiRjN7/y5nSfCWD832GGgWa0jtghDvL7KG/VLM81eb7ck2PIybQ VeI1KAuW1cIeEt9EXN6tIajLMoUuQVUBqWyZO+yiYpvW65+o/h16n3Fuuc9vprnL fdVrE2t+0tQbhg1yvaE6Beo/TV1aYilmxqDU1WZrOJq1AkV5ToOgrzaKO7sAk3SF dB0j90h/xrkrJv86dJhl0VaT1CIpMH+kIxpmcE6W27300hbNz38FnsBOQlR3cTWg MbDQnWDK2IhtyJjZfZ6sV2TRJvuSe6Bn3sEAuARcqUELuxv/ShVgOynkY/rO4HR7 dUXpivrG1uEv2pU7Mgjmx9hC+mp9UItnQqYvqiIb7VRJ/oGpOS7Uj3jc7UX/zTuJ q1QCDmepXtFzm3/X5uvcsV6DM7hwgeyL+vRjKNjH3kWBgZTD/DlVYr+3e2/8OLwx 0nVmZfF9uSqrUbNpP/Z/YxxtLOWP6fYIsarylTXOaykXJS8RkPyXuuIk2dvZlIfe 52UwdtXwJInAYx5tLk2J =9UKD -----END PGP SIGNATURE----- --q0JGJMbxd2rDPc4xhGpuXcaSlJfXa4GRs--