FreeBSD Bugzilla – Attachment 191380 Details for
Bug 226506
ports-mgmt/portmaster: [patch] FETCH_ONLY fails for "Insufficient privileges to install ports"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to portmaster to allow FETCH_ONLY without requiring "install" privelege
pm_diff (text/plain), 589 bytes, created by
david
on 2018-03-10 21:55:51 UTC
(
hide
)
Description:
Patch to portmaster to allow FETCH_ONLY without requiring "install" privelege
Filename:
MIME Type:
Creator:
david
Created:
2018-03-10 21:55:51 UTC
Size:
589 bytes
patch
obsolete
>--- /usr/local/sbin/portmaster 2018-02-18 05:51:18.602136000 -0800 >+++ /tmp/portmaster 2018-03-10 13:33:02.873383000 -0800 >@@ -3250,7 +3250,7 @@ > fi > > # Test for necessary privileges to actually install ports >-[ "$($PM_SU_CMD id -u)" = 0 ] || fail "Insufficient privileges to install ports (run as root or set PM_SU_CMD)" >+[ -n "$FETCH_ONLY" -o "$($PM_SU_CMD id -u)" = 0 ] || fail "Insufficient privileges to install ports (run as root or set PM_SU_CMD)" > > # Do these things first time through > if [ -z "$PM_INDEX_ONLY" -a -z "$PM_BUILDING" -a -z "$SHOW_WORK" -a -z "$NO_ACTION" ]; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 226506
: 191380