You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Chris Gehlker <ca...@mac.com> on 2005/09/05 02:31:30 UTC

Starting svnserve under OS X Tiger

I downloaded and built Subversion 1.2.3 from source with no problems.  
I tested it from the command line and from XCode and it was all good.  
Then I went to turn on svnserve so my fellow students could work on  
our project and I got in trouble. The book talks about inetd but when  
I look at /etc/inetd.conf it is all commented out and tells me that  
OS X now uses xinetd.  I suppose I could figure that out though the  
man pages are pretty obscure. The thing is, I noticed that there was  
a directory called xinetd.d-migrated to launchd next to that folder  
and that got me looking into launchd. I could figure that out by  
example, I think, but there is no launchd.conf in /etc (where the man  
pages say it's supposed to be). I have turned on Apache and FTP with  
the GUI and it didn't make any difference with the *d.conf files.


I would appreciate any guidance from here. If I'm going to have an  
easier time giving up on svnserve and building the DAV stuff for  
Apache, jsut let me know.

TIA
-chris

--
Egotism is the anesthetic that dulls the pain of stupidity.
-Frank William Leahy, football coach (1908-1973)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Starting svnserve under OS X Tiger

Posted by Chris Gehlker <ca...@mac.com>.
On Sep 4, 2005, at 7:43 PM, Jim Correia wrote:

> On Sep 4, 2005, at 10:31 PM, Chris Gehlker wrote:
>
>
>> I would appreciate any guidance from here.
>>
>
> The easiest way on 10.4 is to use launchd.
>
> This should get you started:
>
> http://developer.apple.com/macosx/launchd.html
>
> My svn.plist file reads:
> ...

Thanks so much, Jim. It works like a charm.


--
The folly of mistaking a paradox for a discovery, a metaphor for a  
proof, a torrent of verbiage for a spring of capital truths, and  
oneself for an oracle, is inborn in us.
-Paul Valery, poet and philosopher (1871-1945)



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Starting svnserve under OS X Tiger

Posted by Jim Correia <ji...@pobox.com>.
On Sep 4, 2005, at 10:31 PM, Chris Gehlker wrote:

> I would appreciate any guidance from here.

The easiest way on 10.4 is to use launchd.

This should get you started:

http://developer.apple.com/macosx/launchd.html

My svn.plist file reads:

<?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>svn</string>
         <key>Program</key>
         <string>/usr/local/bin/svnserve</string>
         <key>ProgramArguments</key>
         <array>
                 <string>/usr/local/bin/svnserve</string>
                 <string>--inetd</string>
         </array>
         <key>SessionCreate</key>
         <true/>
         <key>Sockets</key>
         <dict>
                 <key>Listeners</key>
                 <dict>
                         <key>SockServiceName</key>
                         <string>svn</string>
                 </dict>
         </dict>
         <key>StandardErrorPath</key>
         <string>/dev/null</string>
         <key>inetdCompatibility</key>
         <dict>
                 <key>Wait</key>
                 <false/>
         </dict>
</dict>
</plist>

Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Starting svnserve under OS X Tiger

Posted by Chris Gehlker <ca...@mac.com>.
On Sep 4, 2005, at 7:43 PM, Ben Collins-Sussman wrote:

>
> On Sep 4, 2005, at 9:31 PM, Chris Gehlker wrote:
>
>
>> I downloaded and built Subversion 1.2.3 from source with no  
>> problems. I tested it from the command line and from XCode and it  
>> was all good. Then I went to turn on svnserve so my fellow  
>> students could work on our project and I got in trouble. The book  
>> talks about inetd but when I look at /etc/inetd.conf it is all  
>> commented out and tells me that OS X now uses xinetd.
>>
>
> Why use (x)inetd at all?  Just start svnserve as a standalone daemon:
>
>    $ svnserve -d
>
> Make sure you start it as the appropriate user, of course;   
> whatever that user may be, that user should own all the  
> repositories it exports.

That works as well. Thank you for the great book!


--
No matter how far you have gone on the wrong road, turn back.
  -Turkish proverb


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Starting svnserve under OS X Tiger

Posted by Ben Collins-Sussman <su...@collab.net>.
On Sep 4, 2005, at 9:31 PM, Chris Gehlker wrote:

> I downloaded and built Subversion 1.2.3 from source with no  
> problems. I tested it from the command line and from XCode and it  
> was all good. Then I went to turn on svnserve so my fellow students  
> could work on our project and I got in trouble. The book talks  
> about inetd but when I look at /etc/inetd.conf it is all commented  
> out and tells me that OS X now uses xinetd.

Why use (x)inetd at all?  Just start svnserve as a standalone daemon:

    $ svnserve -d

Make sure you start it as the appropriate user, of course;  whatever  
that user may be, that user should own all the repositories it exports.



-- 
www.collab.net  <>  CollabNet  |  Distributed Development On Demand




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org