Page MenuHomeFreeBSD

Fix "need root" logic for PORT_DBDIR.
ClosedPublic

Authored by jonathan on May 13 2016, 4:11 PM.
Tags
None
Referenced Files
F111385845: D6349.id16295.diff
Mon, Mar 3, 3:19 AM
Unknown Object (File)
Jan 16 2025, 11:26 AM
Unknown Object (File)
Dec 13 2024, 9:42 PM
Unknown Object (File)
Dec 11 2024, 7:19 PM
Unknown Object (File)
Dec 8 2024, 2:17 PM
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
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