View previous topic :: View next topic |
Author |
Message |
codejnki n00b
Joined: 08 Aug 2002 Posts: 36
|
Posted: Fri Aug 09, 2002 1:43 pm Post subject: setting up cvspserver |
|
|
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 |
|
|
Ferdy Retired Dev
Joined: 04 May 2002 Posts: 483 Location: España
|
Posted: Fri Aug 09, 2002 6:38 pm Post subject: |
|
|
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 |
|
|
zORN n00b
Joined: 26 Aug 2002 Posts: 55 Location: Bei Wolfsburg:)
|
Posted: Wed Sep 11, 2002 6:54 am Post subject: |
|
|
do you realy need xnetd?? ... what about inetd ?? but with my current inetd settings the cvs pserver isn´t running ... |
|
Back to top |
|
|
carmiac n00b
Joined: 25 Aug 2002 Posts: 46
|
Posted: Wed Jan 22, 2003 5:56 am Post subject: |
|
|
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 |
|
|
fyerk Apprentice
Joined: 17 Sep 2002 Posts: 212 Location: Atlanta, GA
|
Posted: Wed Jan 22, 2003 9:50 pm Post subject: |
|
|
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 |
|
|
carmiac n00b
Joined: 25 Aug 2002 Posts: 46
|
Posted: Thu Jan 23, 2003 3:16 am Post subject: |
|
|
That seems to have worked, thanks! _________________ A watched emerge never compiles. |
|
Back to top |
|
|
green_buddy Tux's lil' helper
Joined: 08 Jan 2003 Posts: 115 Location: Bay Area, CA
|
Posted: Wed Feb 19, 2003 6:53 pm Post subject: |
|
|
Does anything have to be placed in my /etc/services file? Something like...
Code: | cvspserver 2401/tcp |
Thanks,
-green |
|
Back to top |
|
|
|