Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
setting up cvspserver
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
codejnki
n00b
n00b


Joined: 08 Aug 2002
Posts: 36

PostPosted: Fri Aug 09, 2002 1:43 pm    Post subject: setting up cvspserver Reply with quote

I've emerged the cvs package but it doesn't seem to include the cvspserver. Is there an alternate package to merge to run a cvs server?

Patrick
Back to top
View user's profile Send private message
Ferdy
Retired Dev
Retired Dev


Joined: 04 May 2002
Posts: 483
Location: España

PostPosted: Fri Aug 09, 2002 6:38 pm    Post subject: Reply with quote

It's simple..... you now need the xnetd packpage. And add an entry like this (note that this is in inetd sintax) (I don't have the xinetd documentation here...)
Code:

cvspserver  stream  tcp  nowait  root /usr/bin/cvs cvs -f --allow-root=/var/cvs pserver


HTH
_________________
Paludis, the next generation in package mangling.
Back to top
View user's profile Send private message
zORN
n00b
n00b


Joined: 26 Aug 2002
Posts: 55
Location: Bei Wolfsburg:)

PostPosted: Wed Sep 11, 2002 6:54 am    Post subject: Reply with quote

do you realy need xnetd?? ... what about inetd ?? but with my current inetd settings the cvs pserver isn´t running ...
Back to top
View user's profile Send private message
carmiac
n00b
n00b


Joined: 25 Aug 2002
Posts: 46

PostPosted: Wed Jan 22, 2003 5:56 am    Post subject: Reply with quote

bump

I have the same question, more or less.
I don't have a /etc/inetd.conf, just /etc/xinitd.d

So how would I go about this?

Thanks!
_________________
A watched emerge never compiles.
Back to top
View user's profile Send private message
fyerk
Apprentice
Apprentice


Joined: 17 Sep 2002
Posts: 212
Location: Atlanta, GA

PostPosted: Wed Jan 22, 2003 9:50 pm    Post subject: Reply with quote

Your /etc/xinetd.conf should look like this:
Code:

defaults
{
    instances      = 60
    log_type       = SYSLOG authpriv info
    log_on_success = HOST PID
    log_on_failure = HOST
    cps            = 25 30
}

includedir /etc/xinetd.d


Inside /etc/xinetd.d create a file called cvspserver that looks like this:

Code:

service cvspserver
{
    disable             = no
    socket_type         = stream
    protocol            = tcp
    wait                = no
    user                = root
    server              = /usr/bin/cvs -f --allow-root=/var/cvs pserver
    log_on_success     += HOST DURATION
    log_on_failure     += HOST
}


Then, just start xinetd with:
Code:

# /etc/init.d/xinetd start


Also make sure you add xinetd to the default runlevel if you want it to start on boot.
Code:

# rc-update add xinetd default

_________________
-David
Back to top
View user's profile Send private message
carmiac
n00b
n00b


Joined: 25 Aug 2002
Posts: 46

PostPosted: Thu Jan 23, 2003 3:16 am    Post subject: Reply with quote

That seems to have worked, thanks!
_________________
A watched emerge never compiles.
Back to top
View user's profile Send private message
green_buddy
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 115
Location: Bay Area, CA

PostPosted: Wed Feb 19, 2003 6:53 pm    Post subject: Reply with quote

Does anything have to be placed in my /etc/services file? Something like...

Code:
cvspserver 2401/tcp


Thanks,
-green
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum