Page MenuHomeFreeBSD

Fix "need root" logic for PORT_DBDIR.
ClosedPublic

Authored by jonathan on May 13 2016, 4:11 PM.
Tags
None
Referenced Files
F95536845: D6349.diff
Sat, Sep 21, 10:05 AM
Unknown Object (File)
Fri, Sep 20, 9:29 PM
Unknown Object (File)
Thu, Sep 19, 12:43 PM
Unknown Object (File)
Sun, Sep 8, 1:39 PM
Unknown Object (File)
Sun, Sep 1, 11:22 PM
Unknown Object (File)
Aug 18 2024, 4:50 PM
Unknown Object (File)
Aug 6 2024, 7:02 AM
Unknown Object (File)
Aug 6 2024, 6:59 AM
Subscribers
None

Details

Summary

When PORT_DBDIR is set to a user directory, we shouldn't need su to
manipulate options. This also shouldn't depend on INSTALL_BY_USER, as
building != installing.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jonathan retitled this revision from to Fix "need root" logic for PORT_DBDIR..
jonathan updated this object.
jonathan edited the test plan for this revision. (Show Details)
jonathan added reviewers: bapt, bdrewery, mat.
bapt edited edge metadata.
This revision is now accepted and ready to land.May 13 2016, 7:53 PM
This revision was automatically updated to reflect the committed changes.
head/Mk/bsd.port.mk
5249–5250

It would have been nice to not change the sh style, in the ports/Mk/* we write:

if [ foo ]; then

not

if [ foo ];
then