From owner-freebsd-ports@freebsd.org Fri Oct 25 13:33:05 2019 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6DAA2170FE5 for ; Fri, 25 Oct 2019 13:33:05 +0000 (UTC) (envelope-from SRS0=50RM=YS=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4704mw311Xz4Vwp for ; Fri, 25 Oct 2019 13:33:04 +0000 (UTC) (envelope-from SRS0=50RM=YS=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 869912842B; Fri, 25 Oct 2019 15:33:01 +0200 (CEST) Received: from illbsd.quip.test (ip-62-24-92-232.net.upcbroadband.cz [62.24.92.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 6670728428; Fri, 25 Oct 2019 15:32:59 +0200 (CEST) Subject: Re: poudriere and ports overlay support To: Andrea Venturoli , freebsd-ports@freebsd.org References: From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <537d9683-43e2-2f55-d819-aab39d96fde1@quip.cz> Date: Fri, 25 Oct 2019 15:32:58 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4704mw311Xz4Vwp X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of SRS0=50RM=YS=quip.cz=000.fbsd@elsa.codelab.cz has no SPF policy when checking 94.124.105.4) smtp.mailfrom=SRS0=50RM=YS=quip.cz=000.fbsd@elsa.codelab.cz X-Spamd-Result: default: False [4.00 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(0.91)[ip: (0.44), ipnet: 94.124.104.0/21(0.22), asn: 42000(3.78), country: CZ(0.09)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[quip.cz]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.92)[0.923,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[4.105.124.94.list.dnswl.org : 127.0.10.0]; NEURAL_SPAM_LONG(0.97)[0.973,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=50RM=YS=quip.cz=000.fbsd@elsa.codelab.cz]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=50RM=YS=quip.cz=000.fbsd@elsa.codelab.cz]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2019 13:33:05 -0000 Andrea Venturoli wrote on 2019/10/25 11:54: > On 2019-10-25 11:35, Miroslav Lachman wrote: >> I would like to try Overlay support in ports tree (announced few weeks >> ago in 2019Q4 branch). >> The question is will it work with Poudriere or not? We are building >> all our packages with poudriere. >> >> I tried adding OVERLAYS= /vol0/poudriere/ports/myports in to >> myports-make.conf but "poudriere options -z myports -p default -f >> /usr/local/etc/poudriere.d/pkglists/myports" failed when it reaches >> the / existing only in myports and not in default >> ports tree. >> >> Am I doing something wrong or Poudriere does not support Overlays? > > Sorry, I might have missed the original announcement. > What is this Overlay support? > I obviosly tried searching, but came up empty. > > Is that something which should achieve what ports-mgmt/portshaker (which > I'm using) does? Yes, it should be something like portshaker but implemented directly in the ports tree Mk files. I didn't dig deep in it yet. Original announcement https://lists.freebsd.org/pipermail/freebsd-ports/2019-October/117066.html and in ports/CHANGES 20190903: AUTHOR: bapt@FreeBSD.org The ports tree now supports overlays overlays are a way to help users to integrate their own ports tree with the official ports tree without having to maintain clone of the official tree and remerge on regular basis. The ports tree will lookup in the overlays (in the order the are listed in OVERLAY variable) for the dependencies and the USES. It will use the first found. in order to use it the user have to declare his overlays that way in their make.conf: OVERLAYS= overlay1 overlay2 overlay3 As I understand it should be possible to have default ports tree synchronised by SVN or Git with official tree and the second tree with private ports only, called for example "myports" (/usr/myports) Then in make.conf define OVERLAYS= /usr/myports and the ports framework should lookup first at the /usr/myports then /usr/ports. If /usr/myports contains some changes in Mk/Uses files, they should be applied too. But it didn't work with poudriere. Miroslav Lachman