[MacPorts] #21276: dnsmasq launch script missing

MacPorts noreply at macports.org
Thu Sep 10 05:59:39 PDT 2009


#21276: dnsmasq launch script missing
---------------------------------+------------------------------------------
 Reporter:  perette@…            |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.8.0                                
 Keywords:                       |        Port:                                       
---------------------------------+------------------------------------------
 dnsmasq is delivered apparently missing a shell script needed to launch
 it.  As I'm reading it, the way it's supposed to work is:

 - The launch file org.macports.dnsmasq.plist runs daemondo.

 - Parameters tell daemondo to invoke
 /opt/local/etc/LaunchDaemons/org.macports.dnsmasq/dnsmasq.wrapper

 - dnsmasq.wrapper is presumably what's supposed to launch dnsmasq, but it
 doesn't exist.

 I'm unclear why the triple helping of launch abstraction; my workaround
 was to rewrite org.macports.dnsmasq.plist as follows:

 {{{
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
          "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
         <key>Label</key>
         <string>uk.org.thekelleys.dnsmasq</string>
         <key>ProgramArguments</key>
         <array>
                 <string>/opt/local/sbin/dnsmasq</string>
                 <string>-k</string>
         </array>
         <key>RunAtLoad</key><false/>
        <key>AbandonProcessGroup</key><false/>
        <key>KeepAlive</key>
        <dict>
                <key>NetworkState</key><true/>
        </dict>
 </dict>
 </plist>
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21276>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list