[MacPorts] #18270: port distfiles shouldn't require root
#18270: port distfiles shouldn't require root -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.0 Keywords: | Port: -------------------------------------+-------------------------------------- `port distfiles` shouldn't require root access to run, since it's only displaying information: {{{ $ port distfiles apache2 Error: Unable to execute port: /opt/local/var/macports/build/_Users_rschmidt_macports_dports_www_apache2/work/.macports.apache2.state is not writable - check permission on port directory $ }}} -- Ticket URL: <http://trac.macports.org/ticket/18270> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18270: port distfiles shouldn't require root -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.0 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by dluke@…): It looks like it just wants root to write the statefile (which it probably shouldn't need to do), so if you've been building things as non-root, it wouldn't need root. -- Ticket URL: <http://trac.macports.org/ticket/18270#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18270: port distfiles shouldn't require root -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.0 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Right, but does it really need to write a statefile? `port lint` and `port livecheck` were recently enhanced to not require root; I figured a similar change could be made to `port distfiles`. -- Ticket URL: <http://trac.macports.org/ticket/18270#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18270: port distfiles shouldn't require root -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.0 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by afb@…): Same goes for `port distcheck`, it uses an (outdated) hard-coded list of targets rather than checking target_state -- Ticket URL: <http://trac.macports.org/ticket/18270#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18270: port distfiles shouldn't require root --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.0 Resolution: fixed | Keywords: Port: | --------------------------------------+------------------------------------- Changes (by raimue@…): * status: new => closed * resolution: => fixed Comment: Fixed in r48483. dlist_search is maybe not the fastest option to implement this, I copied this from eval_targets. -- Ticket URL: <http://trac.macports.org/ticket/18270#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18270: port distfiles shouldn't require root --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.8.0 Component: base | Version: 1.7.0 Resolution: fixed | Keywords: Port: | --------------------------------------+------------------------------------- Changes (by raimue@…): * milestone: MacPorts Future => MacPorts 1.8.0 -- Ticket URL: <http://trac.macports.org/ticket/18270#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts