[MacPorts] #20759: py25-denyhosts port broken (doesn't start)
MacPorts
noreply at macports.org
Fri Aug 21 13:06:31 PDT 2009
#20759: py25-denyhosts port broken (doesn't start)
--------------------------------+-------------------------------------------
Reporter: razzfazz@… | Owner: snc@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port: py25-denyhosts
--------------------------------+-------------------------------------------
Comment(by razzfazz@…):
Replying to [comment:2 snc@…]:
>
> I'm also attaching my own launchd startup script to be used instead of
MacPorts generating one. It is disabled by default (activation
instructions are in the ui_msg above).
I think I liked the MacPorts-generated LaunchDaemon better, as that
properly handled stop and restart as well. Looking at other Portfiles, it
looks like the problem with the auto-generated LaunchDaemon was that the
{{{startupitem.start}}} and {{{startupitem.stop}}} lines weren't quoted
properly.
So my suggestion would be to revert to using the auto-generated
LaunchDaemon, and restore the {{{startupitem.*}}} entries in the Portfile
with the following modifications:
{{{
startupitem.start "${prefix}/share/denyhosts/daemon-control start"
startupitem.stop "${prefix}/share/denyhosts/daemon-control stop"
}}}
(Added quoting, removed {{{-dist}}}.)
Does that sound reasonable?
--
Ticket URL: <http://trac.macports.org/ticket/20759#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list