diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2008-03-13 21:31:02 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2008-03-13 21:31:02 +0000 |
commit | cd30e40d024546158dfa11ce5c0de4b1163c64b2 (patch) | |
tree | eae0cea28d089b800e6926443cd6f139dca22427 /net/cvsup-mirror | |
parent | 5d0f33121bdf73b00a0092c654179c22ab7e578c (diff) | |
download | ports-cd30e40d024546158dfa11ce5c0de4b1163c64b2.tar.gz ports-cd30e40d024546158dfa11ce5c0de4b1163c64b2.zip |
Notes
Diffstat (limited to 'net/cvsup-mirror')
-rw-r--r-- | net/cvsup-mirror/Makefile | 4 | ||||
-rw-r--r-- | net/cvsup-mirror/files/cvsupd.sh.in | 19 |
2 files changed, 19 insertions, 4 deletions
diff --git a/net/cvsup-mirror/Makefile b/net/cvsup-mirror/Makefile index 585f80a785c3..7b1c6b294f80 100644 --- a/net/cvsup-mirror/Makefile +++ b/net/cvsup-mirror/Makefile @@ -7,11 +7,11 @@ PORTNAME= cvsup-mirror PORTVERSION= 1.3 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= net DISTFILES= -MAINTAINER= ports@FreeBSD.org +MAINTAINER= wxs@FreeBSD.org COMMENT= A kit for easily setting up a FreeBSD mirror site using CVSup RUN_DEPENDS= ${LOCALBASE}/sbin/cvsupd:${PORTSDIR}/net/cvsup-without-gui diff --git a/net/cvsup-mirror/files/cvsupd.sh.in b/net/cvsup-mirror/files/cvsupd.sh.in index b780f80d514c..1b4a2b731609 100644 --- a/net/cvsup-mirror/files/cvsupd.sh.in +++ b/net/cvsup-mirror/files/cvsupd.sh.in @@ -12,6 +12,21 @@ # #cvsupd_enable="YES" +# +# Flag settings are now able to be overridden in /etc/rc.conf. The order +# of priority is: +# +# Settings found in /etc/rc.conf are used (cvsupd_flags) +# If nothing is found in /etc/rc.conf then settings found in +# %%PREFIX%%/etc/cvsup/config.sh are used. +# If nothing is found in %%PREFIX%%/etc/cvsup/config.sh +# then the hardcoded values below are used. +# +#cvsupd_flags="-e -C 8 -l @daemon -b /home/ncvs -s sup.client" +# +# Note that answering the questions during the install will setup +# %%PREFIX%%/etc/cvsup/config.sh for you. + . %%RC_SUBR%% name="cvsupd" @@ -30,10 +45,10 @@ fi : ${cvsupd_enable:=NO} : ${cvsupd_outfile=/var/run/${name}.out} : ${cvsupd_user:=${user:-cvsup}} +: ${cvsupd_flags:="-e -C ${maxclients:-8} -l @${facility:-daemon} \ + -b ${base:-/home/ncvs} -s sup.client"} command="%%PREFIX%%/sbin/cvsupd" -command_args="-e -C ${maxclients:-8} -l @${facility:-daemon} \ - -b ${base:-/home/ncvs} -s sup.client" stop_cmd="cvsupd_stop" cvsupd_stop() { |