Donation to Foundation for Poudriere /opt builds! (Bounty?)

Mason Loring Bliss mason at blisses.org
Sun Nov 8 23:59:17 UTC 2020


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="/opt/etc/rc.d"
ike_program="/opt/sbin/isakmpd"   # Path to IKE daemon
ldconfig_paths="/usr/lib/compat /opt/lib /opt/lib/compat/pkg"
ldconfigsoft_paths="/usr/libsoft /usr/libsoft/compat /opt/libsoft"
ldconfig_paths_aout="/usr/lib/compat/aout /opt/lib/aout"
ldconfig_local_dirs="/opt/libdata/ldconfig"
ldconfig_local32_dirs="/opt/libdata/ldconfig32"
ldconfig_localsoft_dirs="/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.

-- 
Mason Loring Bliss             mason at blisses.org            Ewige Blumenkraft!
(if awake 'sleep (aref #(sleep dream) (random 2))) -- Hamlet, Act III, Scene I
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20201108/e0cbbd53/attachment.sig>


More information about the freebsd-ports mailing list