Page MenuHomeFreeBSD

Fix "need root" logic for PORT_DBDIR.
ClosedPublic

Authored by jonathan on May 13 2016, 4:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 30 2024, 6:54 PM
Unknown Object (File)
Sep 26 2024, 2:41 AM
Unknown Object (File)
Sep 25 2024, 2:41 PM
Unknown Object (File)
Sep 22 2024, 9:35 AM
Unknown Object (File)
Sep 21 2024, 10:05 AM
Unknown Object (File)
Sep 20 2024, 9:29 PM
Unknown Object (File)
Sep 19 2024, 12:43 PM
Unknown Object (File)
Sep 8 2024, 1:39 PM
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