Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 2020 18:59:13 -0500
From:      Mason Loring Bliss <mason@blisses.org>
To:        Tatsuki Makino <tatsuki_makino@hotmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Donation to Foundation for Poudriere /opt builds! (Bounty?)
Message-ID:  <20201108235913.GP31104@blisses.org>
In-Reply-To: <TY2PR02MB40130B63CDCE0C2AAC0E515FFAEB0@TY2PR02MB4013.apcprd02.prod.outlook.com>
References:  <20201101233032.GC6041@blisses.org> <20201108205008.GO31104@blisses.org> <TY2PR02MB40130B63CDCE0C2AAC0E515FFAEB0@TY2PR02MB4013.apcprd02.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--qYrsQHciA3Wqs7Iv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 09, 2020 at 08:40:38AM +0900, Tatsuki Makino wrote:

> I think you need to rewrite all the files under /etc that have
> /usr/local in them.
> For example, ldconfig_paths in /etc/rc.conf.

Yes - these are what I've gotten so far:

local_startup=3D"/opt/etc/rc.d"
ike_program=3D"/opt/sbin/isakmpd"   # Path to IKE daemon
ldconfig_paths=3D"/usr/lib/compat /opt/lib /opt/lib/compat/pkg"
ldconfigsoft_paths=3D"/usr/libsoft /usr/libsoft/compat /opt/libsoft"
ldconfig_paths_aout=3D"/usr/lib/compat/aout /opt/lib/aout"
ldconfig_local_dirs=3D"/opt/libdata/ldconfig"
ldconfig_local32_dirs=3D"/opt/libdata/ldconfig32"
ldconfig_localsoft_dirs=3D"/opt/libdata/ldconfigsoft"

The SHELL in the environment shows CSH, so I don't think .profile matters.
I changed .cshrc in both the jail extant and in the @clean snapshot, and
that didn't do it, surprisingly. I'll set some sort of canary value and see
if it makes it into the environment in case PATH is being manipulated after
the fact.


> However, when you do all that, it's already a different OS distribution
> than FreeBSD, isn't it :) ?

Relocating optional software doesn't seem like that big a change. Again,
this appears to be advertised functionality. What I'm curious about is if
it was ever tested - are we seeing bitrot, an incomplete design, or some
other factor that's making it painful to make use of PREFIX in builds? I've
used GNU Stow often enough that I expect software to be somewhat flexible
with regard to where it expects to find components.

--=20
Mason Loring Bliss             mason@blisses.org            Ewige Blumenkra=
ft!
(if awake 'sleep (aref #(sleep dream) (random 2))) -- Hamlet, Act III, Scen=
e I

--qYrsQHciA3Wqs7Iv
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEEXtBZz1axB5rEDCEnrJXcHbvJVUFAl+ohk0ACgkQnrJXcHbv
JVWcfw//Uf/tKOGnCpdlvShGfi+AlnDP5GpoeiT9xXqr01+jTi0kDaPXUcgQrxzN
pD/LoEgqxkxCFyfcAGUp251AXUXfN9f8yCek7X9gpSpzKw32bk17klLabbIUlwd+
GRhDBXfn0t2t6kfOZ94xLHz0U3B7FyMfxMj1ESrLVsEVMIho0xwwvOAtMtQ1odtO
4z7EStlwXe4R0AnNmfxqY5r9pQS7FyV8OvtHX/VnzKIrU8OzZuVay3RXYOXGK6lB
7LSgDZNq4VwnXjG8ZWNYUyJW3RT6ric1dwyj23+OxXYTpO0NOfaNtqW108XM05Za
tO7vq3bmyNFJTDdIYXEaMNqhlO2a0jdmQxVRQhYGieA8Ui+i8YQ63D+li5DmYCbq
MM+gKo2FzjbtRLufVd4G/FejCmg/pD7yrrxVef0iwzFagZ4iGjo4RBJJyBwC6Pp8
1kFoj5S4rMfgWbZ0if1gVwV8Zx4jJQFGRLc/w7Z98fmcJsPvMHNxRIfef4iuBOlO
Q9ThrUsoR5Hoinv6I4pHdcTAVNorpcfD+QclFkSmo+IzBLt4bwBo+sYB98I6haCY
wGzW+ppk50WMQqB26woNhpJ68ZEWs5Zv/8MTvXyCkCpZG73ULOc9z3vzr8BKZMUZ
0LWxKC8LhEMVWIbZia+zBzRSvj+Zs3Lzk4JSSyjkhXffhXOczTE=
=5N68
-----END PGP SIGNATURE-----

--qYrsQHciA3Wqs7Iv--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201108235913.GP31104>