[Tor-BSD] FreeBSD permissions issues

Pete Wright pete at nomadlogic.org
Tue Nov 17 18:22:16 EST 2015



On 11/17/15 14:41, N.J. Thomas wrote:
> * Pete Wright <pete at nomadlogic.org> [2015-11-17 14:23:13-0800]:
>>> Has anyone else noticed the same? Am I doing something wrong with my
>>> install, or does this need to be fixed?
>>>
>>
>> on my end this info is already included in the pkg-message.in file which
>> should get printed to stdout when installing the pkg.
> 
> Ugh, serves me right for ignoring this during installation.
> 
> I guess my next question is, if is this something that can be automated?
> Is there any particular reason this is a manual step?
> 
> 

hrm - this is usually something i offload to my configuration mgmt tool
of choice but it got me thinking.  i re-read the porter's handbook for
freebsd and sure enough it looks like this could be scripted.  i think
if we drop a file named "post-install" in
/usr/ports/security/tor-devel/files/ we could script this stuff.  i am
thinking this is akin to %post directives in RPM spec files (if you've
ever had the misfortune of working with RPM's).

the question though is this something that is frowned upon or not.  i
don't see too many instances of post-* scripts in the ports tree, so
either this isn't a common requirement or is something that is avoided
for other reasons.  would love to have the time to dig into this myself
but unfortunately i'm oversubscribed as-is already :/

cheers,
-pete

-- 
Pete Wright
pete at nomadlogic.org
twitter => @nomadlogicLA



More information about the Tor-BSD mailing list