summaryrefslogtreecommitdiffstats
path: root/rules/cvs.in
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2006-11-06 17:46:26 +0000
committerJuergen Beisert <j.beisert@pengutronix.de>2006-11-06 17:46:26 +0000
commit7c983ba932297bb130c2dd55fa21c9e78ea8404e (patch)
tree4cd281006ad60d0afba65151b7cee0f0804b03dd /rules/cvs.in
parent7d40e7d6a056c66febf3e6f4de7854a2bd644df2 (diff)
downloadptxdist-7c983ba932297bb130c2dd55fa21c9e78ea8404e.tar.gz
ptxdist-7c983ba932297bb130c2dd55fa21c9e78ea8404e.tar.xz
* cvs updated
- startup script/method is configured in packet's menu - link for standalone start method will be configured in rootfs menu to handle all links in one place git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6285 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/cvs.in')
-rw-r--r--rules/cvs.in67
1 files changed, 47 insertions, 20 deletions
diff --git a/rules/cvs.in b/rules/cvs.in
index ef40fd069..329560198 100644
--- a/rules/cvs.in
+++ b/rules/cvs.in
@@ -75,30 +75,43 @@ config CVS_ROOTCOMMIT
help
Allow the root user to commit files
-comment "cvs runtime options ---"
+comment "runtime options ---"
depends on CVS
config CVS_SERVER_REPOSITORY
string
depends on CVS
depends on CVS_SERVER
- prompt "cvs server's repository"
+ prompt "cvs' repository"
default "/srv/cvsroot"
help
This will be cvs server's root repository (given to cvs as --allow-root=...)
-config CVS_INETD_SERVER
- bool
- default y
+choice
+ prompt "Kind of startup"
depends on CVS
depends on CVS_SERVER
- prompt "Start from inetd"
- help
- This installs a startup configuration for cvs from inetd. It adds to
- the /etc/inetd.conf a line like this:
- cvs stream tcp nowait root /usr/bin/cvs cvsd -f --allow-root=/srv/cvsroot pserver
- Note: You must enable one of the two possible inet daemons: There is
- one embedded in busybox and one in packet inetutils.
+
+ config CVS_INETD_SERVER
+ bool
+ prompt "inetd driven"
+ help
+ cvs server will be started on demand from inetd. This installs
+ a startup configuration for cvs from inetd. It adds to the
+ /etc/inetd.conf a line like this:
+ cvs stream tcp nowait root /usr/bin/cvs cvsd -f --allow-root=/srv/cvsroot pserver
+ Note: You must enable one of the two possible inet daemons:
+ There is one embedded in busybox and one in packet inetutils.
+
+ config CVS_STARTUP_TYPE_STANDALONE
+ bool
+ prompt "standalone"
+ help
+ This installs cvs startup script /etc/init.d/cvs. With this
+ script the cvs server will be started at system startup and
+ waits for connections
+
+endchoice
config CVS_INETD_STRING
string
@@ -109,13 +122,27 @@ config CVS_INETD_STRING
default "cvs stream tcp nowait root /usr/bin/cvs cvsd -f @ROOT@ pserver"
help
This string is added to inetd's configuration /etc/inetd.conf. @ROOT@
- in this string will be replaced by repositorie's root
+ in this string will be replaced by repository's root
-config CVS_STANDALONE_SERVER
- bool
- default n
+choice
+ prompt "Kind of startup script"
+ default ROOTFS_ETC_INITD_CVS_DEFAULT
depends on CVS
- depends on CVS_SERVER
- prompt "Start standalone"
- help
- This installs a startup script to run cvs standalone
+ depends on CVS_STARTUP_TYPE_STANDALONE
+
+ config ROOTFS_ETC_INITD_CVS_DEFAULT
+ bool
+ prompt "Use generic"
+ help
+ Installs a generic /etc/init.d/cvs startup script.
+ See <ptxdist-install>/generic/etc/init.d/cvs
+
+ config ROOTFS_ETC_INITD_CVS_USER
+ bool
+ prompt "User defined"
+ help
+ This uses a user defined cvs startup script. PTXdist
+ uses files projectroot/etc/init.d/cvs in your local
+ project
+
+endchoice