[MacPorts] Notification: pmagrath modified
MacPorts
noreply at macports.org
Wed Jul 16 12:49:16 PDT 2008
Changed page "pmagrath" by pmagrath at macports.org from 79.97.238.254*
Page URL: <http://trac.macports.org/wiki/pmagrath>
Diff URL: <http://trac.macports.org/wiki/pmagrath?action=diff&version=13>
Revision 13
Comment: Update on Portfile format.
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: pmagrath
=========================================================================
--- pmagrath (version: 12)
+++ pmagrath (version: 13)
@@ -27,6 +27,8 @@
==== Portfile Format ====
The portfile format shall be extended with an additional attribute to mark those ports that can not be installed without root privileges, such as those requiring StartupItems.
+
+''I've added the following new options to the Portfile format: patch.asroot, build.asroot, configure.asroot, destroot.asroot, and install.asroot. These take a boolean (yes/no) value. The default for all but install.asroot is no. install.asroot's default value is yes.''
==== Privilege Escaltion ====
I would feel that the best behavior for if MacPorts is requested to perform a privileged operation for a port, if it currently has no privileged access would be for the user to be given the choice of elevating privileges (by evoking sudo), installing in a fakeroot or aborting. The complications are that there is currently no way of knowing whether a port needs privileges, creating a fakeroot mechanism, cleanly elevating and de-elevating privileges.
-------8<------8<------8<------8<------8<------8<------8<------8<--------
* The IP shown here might not mean anything if the user is behind a proxy.
--
MacPorts <http://www.macports.org/>
Ports system for Mac OS
This is an automated message. Someone at http://www.macports.org/
added your email address to be notified of changes on MacPorts.
If it was not you, please report to http://www.macports.org/.
More information about the macports-changes
mailing list