Re: New startupitem keyword for xinetd type stuff?

"Mark Duling" <[email protected]> Mon, 14 Aug 2006 22:52:40 -0700
Newsgroups gmane.os.opendarwin.darwinports
Message-ID <[email protected]>
Shantonu Sen <[email protected]> writes:
>Why add xinetd support when there's already launchd support in {DM}P?  
>xinetd doesn't even run on Tiger by default...

There is launchd support in DP, but it does not include support for
listeners and such.  In other words, the support provided in launchd by
apple that supports listeners is not supported in DP.  I'm not quite sure
of the correct terminology to use here.  But there is no keyword to get
Socket arguments into a .plist file.  Maybe not enough people need that to
bother, I'm just asking in case others see a need also.

For the single port I did that needed it I made a .plist file manually and
copied it over the one made by DP startupitems after destroot phase to get
what I wanted.  I noticed because my hack broke with 1.3 when directory
names within ${prefix}/etc/LaunchDaemons/ changed from darwinports to
macports.  What DP won't do is insert something like this into a .plist
file.

<key>Sockets</key>
        <dict>
                <key>Listeners</key>
                <dict>
                        <key>SockServiceName</key>
                        <string>nmicmp</string>
                </dict>
        </dict>
        <key>inetdCompatibility</key>
        <dict>


Mark