diff options
author | hrs <hrs@FreeBSD.org> | 2004-08-20 01:36:19 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2004-08-20 01:36:19 +0800 |
commit | c1f874d190b7dd0511098a885841544e0c810096 (patch) | |
tree | 53f90d8e0835daf4ac7368eac0d35d7828e45faf /net/cvsync | |
parent | f774284c769d1e05a0390bc8b03c35e17920336a (diff) | |
download | freebsd-ports-gnome-c1f874d190b7dd0511098a885841544e0c810096.tar.gz freebsd-ports-gnome-c1f874d190b7dd0511098a885841544e0c810096.tar.zst freebsd-ports-gnome-c1f874d190b7dd0511098a885841544e0c810096.zip |
Fix variable initialization in the rc.d startup script.
Obtained from: mtm
Approved by: linimon (mentor)
Diffstat (limited to 'net/cvsync')
-rw-r--r-- | net/cvsync/Makefile | 2 | ||||
-rw-r--r-- | net/cvsync/files/cvsyncd.sh | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/net/cvsync/Makefile b/net/cvsync/Makefile index 11f822d2e628..ff2bb66f827d 100644 --- a/net/cvsync/Makefile +++ b/net/cvsync/Makefile @@ -7,7 +7,7 @@ PORTNAME= cvsync PORTVERSION= 0.24.16 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= ftp://ftp.cvsync.org/pub/cvsync/ \ ftp://ftp.allbsd.org/pub/cvsync/ diff --git a/net/cvsync/files/cvsyncd.sh b/net/cvsync/files/cvsyncd.sh index e90e52fd55c0..360a5c344b7a 100644 --- a/net/cvsync/files/cvsyncd.sh +++ b/net/cvsync/files/cvsyncd.sh @@ -6,10 +6,9 @@ # REQUIRE: LOGIN # KEYWORD: FreeBSD # -cvsyncd_enable="NO" -cvsyncd_pidfile="/var/run/cvsyncd.pid" -cvsyncd_conffile="%%PREFIX%%/etc/cvsyncd.conf" -cvsyncd_flags="" +cvsyncd_enable=${cvsyncd_enable-"NO"} +cvsyncd_pidfile=${cvsyncd_pidfile-"/var/run/cvsyncd.pid"} +cvsyncd_conffile=${cvsyncd_conffile-"%%PREFIX%%/etc/cvsyncd.conf"} . %%RC_SUBR%% |