From owner-freebsd-ports@freebsd.org Sat Feb 27 16:11:42 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 85C21AB6F05 for ; Sat, 27 Feb 2016 16:11:42 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4AECFF7B for ; Sat, 27 Feb 2016 16:11:41 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [93.104.12.202] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1aZhT0-00018j-L9 for freebsd-ports@freebsd.org; Sat, 27 Feb 2016 17:11:38 +0100 Received: from localhost.my.domain (c720-r292778-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id u1RGBaI8002471 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 27 Feb 2016 17:11:37 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id u1RGBarW002470 for freebsd-ports@freebsd.org; Sat, 27 Feb 2016 17:11:36 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 27 Feb 2016 17:11:31 +0100 From: Matthias Apitz To: freebsd-ports@freebsd.org Subject: Re: synth package for 11-CURRENT amd64 Message-ID: <20160227161131.GA2407@c720-r292778-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-ports@freebsd.org References: <20160227095019.GA2362@c720-r292778-amd64> <4551a7b31a8bb05526d5008187367ff0@secure.marino.st> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4551a7b31a8bb05526d5008187367ff0@secure.marino.st> X-Operating-System: FreeBSD 11.0-CURRENT r292778 (amd64) User-Agent: Mutt/1.5.24 (2015-08-30) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.12.202 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:11:42 -0000 El día Saturday, February 27, 2016 a las 05:00:06PM +0100, John Marino escribió: ... > > > > $ 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? I see. The above 1794 ports are result of a file of some ~300 ports which I passed to poudriere to build them. I should just use the same file as input. Does 'synth prepare-system' expect a file? I did not saw this in the git pages and have no manual until now. Btw: I'm already building lang/gcc-6-aux, ... on my poudriere box. Thanks for the pointer to the pkg in any case. matthias -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 Bundeswehr: Wir.Dienen.Deutschland. - Wir.Machen.Krieg. (We.Serve.Germany. - We.Make.War.)