From owner-freebsd-ports@freebsd.org Sat Feb 27 16:00:14 2016 Return-Path: Delivered-To: freebsd-ports@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 8D109AB6A70 for ; Sat, 27 Feb 2016 16:00:14 +0000 (UTC) (envelope-from freebsdml@marino.st) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6C5B5AB6 for ; Sat, 27 Feb 2016 16:00:13 +0000 (UTC) (envelope-from freebsdml@marino.st) Received: by shepard.synsport.net (Postfix, from userid 80) id 3865243BD0; Sat, 27 Feb 2016 10:00:06 -0600 (CST) To: Matthias Apitz , John Marino , freebsd-ports@freebsd.org Subject: Re: synth package for 11-CURRENT amd64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 27 Feb 2016 17:00:06 +0100 From: John Marino In-Reply-To: <20160227095019.GA2362@c720-r292778-amd64> References: <20160227095019.GA2362@c720-r292778-amd64> Message-ID: <4551a7b31a8bb05526d5008187367ff0@secure.marino.st> X-Sender: freebsdml@marino.st User-Agent: Roundcube Webmail/0.9.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 16:00:14 -0000 On 2016-02-27 10:50, Matthias Apitz wrote: >> From where could I fetch a pre-build package of synth for my > 11.0-CURRENT r292778 (amd64)? Thanks in advance. > I'm used to poudriere for my ~1800 packages and want to give it a try > without building ada before. According to portsmon, synth package is available on amd64-head: /portsmon.freebsd.org/portoverview.py?category=ports-mgmt&portname=synth You should be able to install it like any other package. It's a small package. > If I understand the documentation right, a run of 'synth > prepare-system' > would build all packages which are *installed* on the host. Can I build > all which are in my local repository: > > $ ls /usr/PKGDIR.20151230 | wc -l > 1794 Let me answer this way: you can pass a text file to Synth that lists one port origin per line and it will build that port (along with any ports it depends on). So however you generate that input file is valid. However, it's bad form to just generate that list from an existing directory because you are manually specifying dependency ports. All you need to do is define the leaf ports. For example, you only need to define "editors/libreoffice", not the entire dependency tree of libreoffice. So maybe you should start with a generated input file and manually extract the leaf ports to create the final input file. Does that make sense? John