New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28854 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

lua: destroot phase asks for admin password as it uses sudo

Reported by: raphael@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: lua

Description

The destroot phase of the lua port calls sudo. This is bad for non-root MacPorts installations.

I suggest to remove the call to sudo in the following two lines of patch-dlopen.diff:

+       cd $(INSTALL_LIB) && sudo ln -s liblua.%VERSION%.dylib liblua.dylib
+       cd $(INSTALL_LIB) && sudo ln -s liblua.%VERSION%.dylib liblua.%COMPAT_VERSION%.dylib

Change History

comment:1 Changed 2 years ago by ryandesign@…

  • Owner changed from pmq@… to ryandesign@…
  • Status changed from new to assigned

Good idea.

comment:2 Changed 2 years ago by ryandesign@…

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.