From owner-freebsd-questions@freebsd.org Thu Dec 17 10:24:37 2015 Return-Path: Delivered-To: freebsd-questions@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 C35ADA4A6E4 for ; Thu, 17 Dec 2015 10:24:37 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5CEEB177D for ; Thu, 17 Dec 2015 10:24:36 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from curlew.milibyte.co.uk ([80.229.31.82]) by avasout07 with smtp id uaKa1r00B1mJoLY01aKcB0; Thu, 17 Dec 2015 10:19:36 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=CZH1n+fl c=1 sm=1 tr=0 a=cd0K7rcWwnZFf6xQxRobyA==:117 a=cd0K7rcWwnZFf6xQxRobyA==:17 a=D7rCoLxHAAAA:8 a=0Bzu9jTXAAAA:8 a=kj9zAlcOel0A:10 a=wUQvQvOEmiQA:10 a=n999FUABAAAA:8 a=NEAV23lmAAAA:8 a=PN8M5cWEP9hgVCwbM8YA:9 a=ttKzVss4MGASuY_x:21 a=AAHpkURp7K8_SeVp:21 a=CjuIK1q_8ugA:10 Received: from curlew.lan ([192.168.1.13]) by curlew.milibyte.co.uk with esmtp (Exim 4.86) (envelope-from ) id 1a9Veo-00019J-7j for freebsd-questions@freebsd.org; Thu, 17 Dec 2015 10:19:34 +0000 Date: Thu, 17 Dec 2015 10:19:33 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Message-ID: <20151217101933.3ca571b2@curlew.lan> In-Reply-To: <20151216204758.527efa26316df1e337fb136b@sohara.org> References: <5670B7C8.5000603@columbus.rr.com> <56711F73.1020606@FreeBSD.org> <20151216204758.527efa26316df1e337fb136b@sohara.org> X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.1) MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Subject: Re: Migrating from ports to pkg Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2015 10:24:37 -0000 On Wed, 16 Dec 2015 20:47:58 +0000 Steve O'Hara-Smith wrote: > When there are only a small number of ports with special options > it's quite easy to just build the essential ports using make missing to get > a list of packages to install before building each port. Just don't forget > to pkg lock all the customised packages so they don't get replaced by > standard ones during an upgrade. This normally works well for me but be aware that if your ports tree isn't in sync with the package repository you can run into dependency problems, I use the sync-ports script from https://gist.github.com/xzhavilla/61dedc55c33cb32c1546 though it needs a little hacking to work on 10.2. The ideal solution would be if there were an option within pkg to update /usr/ports to sync it with the version used for building the current repository or even to just supply the revision number of the ports tree. -- Mike Clarke