diff options
author | crees <crees@FreeBSD.org> | 2011-08-17 18:52:12 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2011-08-17 18:52:12 +0800 |
commit | 11490b2db414f8d0a03b6ebf4e82a8cb0e9a9555 (patch) | |
tree | 0ca65d414ed845af558b619bbd34370b182ad140 /security/cfs | |
parent | 5dd7bfa493301afedf5b57a0e43a561abc644aad (diff) | |
download | freebsd-ports-gnome-11490b2db414f8d0a03b6ebf4e82a8cb0e9a9555.tar.gz freebsd-ports-gnome-11490b2db414f8d0a03b6ebf4e82a8cb0e9a9555.tar.zst freebsd-ports-gnome-11490b2db414f8d0a03b6ebf4e82a8cb0e9a9555.zip |
Fix rc script to stop nfs hangs
PR: ports/133563
Submitted by: Thiemo Nordenholz <list@thiemo.net>, yar
Diffstat (limited to 'security/cfs')
-rw-r--r-- | security/cfs/Makefile | 2 | ||||
-rw-r--r-- | security/cfs/files/cfsd.sh.in | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/security/cfs/Makefile b/security/cfs/Makefile index 92c20784c748..15b0c8999709 100644 --- a/security/cfs/Makefile +++ b/security/cfs/Makefile @@ -7,7 +7,7 @@ PORTNAME= cfs PORTVERSION= 1.4.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= security MASTER_SITES= http://www.crypto.com/software/ diff --git a/security/cfs/files/cfsd.sh.in b/security/cfs/files/cfsd.sh.in index f344bde4b468..c8030c9a886c 100644 --- a/security/cfs/files/cfsd.sh.in +++ b/security/cfs/files/cfsd.sh.in @@ -13,7 +13,9 @@ # # Additional options: # -# cfsd_port="3049" # the port to listen to +# cfsd_port="3049,udp" # the port to listen to +# XXX ports/133593 yar suggested that the ,udp suffix be used to avoid +# hangs of mount_nfs -- it's ignored by cfsd so shouldn't cause any problems # cfsd_mountpoint="/crypt" # the CFS mountpoint # @@ -42,7 +44,7 @@ cfsd_prestop() load_rc_config $name : ${cfsd_enable="NO"} -: ${cfsd_port="3049"} +: ${cfsd_port="3049,udp"} : ${cfsd_mountpoint="/crypt"} command_args="$cfsd_port >/dev/null 2>&1" |