From owner-freebsd-ports@freebsd.org Sun Nov 1 23:30:36 2020 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 0F45E45E40B for ; Sun, 1 Nov 2020 23:30:36 +0000 (UTC) (envelope-from mason@blisses.org) Received: from yangtze.blisses.org (yangtze.blisses.org [144.202.50.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPXNC28Dfz3Wr6 for ; Sun, 1 Nov 2020 23:30:35 +0000 (UTC) (envelope-from mason@blisses.org) Received: from cocytus.blisses.org (cocytus.blisses.org [64.223.129.151]) by yangtze.blisses.org (Postfix) with ESMTP id 631BC17A009 for ; Sun, 1 Nov 2020 18:30:34 -0500 (EST) Date: Sun, 1 Nov 2020 18:30:32 -0500 From: Mason Loring Bliss To: freebsd-ports@freebsd.org Subject: Donation to Foundation for Poudriere /opt builds! (Bounty?) Message-ID: <20201101233032.GC6041@blisses.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 4CPXNC28Dfz3Wr6 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mason@blisses.org designates 144.202.50.44 as permitted sender) smtp.mailfrom=mason@blisses.org X-Spamd-Result: default: False [-4.83 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.06)[-1.061]; RCVD_TLS_LAST(0.00)[]; SUBJECT_HAS_EXCLAIM(0.00)[]; NEURAL_HAM_SHORT(-0.37)[-0.374]; DMARC_NA(0.00)[blisses.org]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20473, ipnet:144.202.48.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; SUBJECT_HAS_QUESTION(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ports] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2020 23:30:36 -0000 --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey all. I want to have Poudriere build packages that build and install to /opt instead of /usr/local. I'm not managing to do it on my own, so I've thought of a creative solution. If folks on this list can help me get it to work, I'll promise three things: 1. I'll make a $50 donation to the FreeBSD Foundation in exchange for the help, and, related, 2. I'll get my employer to match it, so that'll be a total of $100 going to the Foundation for helping me to get this working, and then, 3. I'll organize what we come up with and write up comprehensive, usable docs in the FreeBSD wiki about what it takes to get it going. Thanks in advance! A couple notes: I don't care if as a bootstrap the Poudriere server itself has to use /usr/local, but I should be able to build a second Poudriere box using packages built on the first that doesn't have access to /usr/local. Also, I want this to properly build with /opt or whatever set in PREFIX or wherever it needs to be, so tricks with symlinks or similar, while cute, are right out. I find that even after reading the docs, I'm still a little fuzzy on how PREFIX, DESTDIR, and LOCALBASE are related: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/port= ing-prefix.html Here's where I left things after my last attempt, although there were a bunch of iterations and variations before this. $ cat /usr/local/etc/poudriere.d/make.conf=20 PREFIX=3D/opt LOCALBASE=3D/usr/local LICENSES_ACCEPTED+=3DHPLIP_PLUGIN PATH:=3D$PATH:/opt/bin:/opt/sbin:/testmarker --=20 Mason Loring Bliss mason@blisses.org Ewige Blumenkra= ft! (if awake 'sleep (aref #(sleep dream) (random 2))) -- Hamlet, Act III, Scen= e I --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEEXtBZz1axB5rEDCEnrJXcHbvJVUFAl+fRRYACgkQnrJXcHbv JVWhShAAj9A8pmaqPFriSx11XURXDFUvDs+r6+7NofUIzvqsEy2F/tn++G/lrd3k laQDYNVkHLo70paZBVa06YUNV6oGhNycp4SPhGZZoy42wh4wKvLIBLijfvUdML4p baHJc0BIFpSNi5v0QVnGGB9IhHlLGqsfNfSaAfgtSansMry06bjEZytzf949yqDR eE6BmDt0WZRELUsQFcZp3ZDrjZ9KG+xXkRih9/58rtASz8/z5gNaW6GhN65L0ENl VQKv4qQx37bPu9ZylNqo5IQ5IPe4JmW+utdG6g80/xvNZAbMsD/qDGyRbbW1UyNq JrAwQKoetXTsNw5TIDS0hVrpGloU+8ur4rYuRFNJO9Dcf2+v6HWaT5qYy+xwYllt /1/k4zRcrAItcX7S7q3M6KUV93J7huPB4OsEOISLQObZuu6XWWxF0x9FeE3dM1Xe NxEM1GS4QcitiWYqNoBhFl6txoIKv4zV064ABJcUTSroTysIMZxE+IsHSSY1C7cb h8BtAMb8IwksfL928U3mIbt2TaqWiK3tJ206/Zva3fArT9e27k6lKCCx9XHgH0EQ qC8sUNQZgTGt4HTGTISGvx2uKLnAfPkfIFPKex5gb4o3eFvhJHhXJtOaYEZkEM5e k1Pjsae3XAPbeHMAD34XitoPnoHfnHiCeWJGxabGncpvmDSfeMY= =Qlt7 -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--