From owner-freebsd-ports@FreeBSD.ORG Thu Dec 22 08:15:25 2005 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B36B16A41F for ; Thu, 22 Dec 2005 08:15:25 +0000 (GMT) (envelope-from steve@ion.lu) Received: from nasion.ion.lu (vodsl-8021.vo.lu [85.93.198.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BB3843D5C for ; Thu, 22 Dec 2005 08:15:23 +0000 (GMT) (envelope-from steve@ion.lu) Received: (qmail 78306 invoked from network); 22 Dec 2005 09:15:21 +0100 Received: from unknown (HELO ?192.168.0.27?) (192.168.0.27) by nasion.ion.lu with SMTP; 22 Dec 2005 09:15:21 +0100 Message-ID: <43AA607B.70202@ion.lu> Date: Thu, 22 Dec 2005 09:14:51 +0100 From: Steve Clement Organization: ION Network Solutions User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: green@FreeBSD.org, ports@FreeBSD.org X-Enigmail-Version: 0.91.0.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enigAB1F5F272E17E47BD6116980" Cc: Subject: security/cfs rc-change X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 08:15:25 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAB1F5F272E17E47BD6116980 Content-Type: multipart/mixed; boundary="------------010300030103050201060303" This is a multi-part message in MIME format. --------------010300030103050201060303 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, a while back I sent you this and it isn't in ports yet, so I will send again... Some people need flags to mount, eg: mount -o port=blabla,noinet6 ..... so in rc.conf: cfsd_nfs_flags="noinet6" mount -o port="$cfsd_port",nfsv2,"$cfsd_nfs_flags" localhost:/usr/local/cfsd-bootstrap "$cfsd_mountpoint" Patch to cfsd.sh attached. Thanks, Steve C -- ION Network Solutions Steve Clement Unix System Administrator 209, rue des Romains L-8041 Bertrange Tel: +352 261 276-2 Fax: +352 261 276-9 mailto:steve@ion.lu http://www.ion.lu --------------010300030103050201060303 Content-Type: text/plain; name="cfsd.sh-ports.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cfsd.sh-ports.diff" --- cfsd.sh-pristine Thu Dec 22 09:11:44 2005 +++ cfsd.sh Thu Dec 22 09:11:23 2005 @@ -15,6 +15,7 @@ # # cfsd_port="3049" # the port to listen to # cfsd_mountpoint="/crypt" # the CFS mountpoint +# cfsd_nfs_flags="noinet6" # nfs options # . /etc/rc.subr @@ -29,7 +30,7 @@ cfsd_poststart() { if [ -n "$cfsd_mountpoint" ]; then - mount -o port="$cfsd_port",nfsv2 localhost:/usr/local/cfsd-bootstrap "$cfsd_mountpoint" + mount -o port="$cfsd_port",nfsv2,"$cfsd_nfs_flags" localhost:/usr/local/cfsd-bootstrap "$cfsd_mountpoint" fi } --------------010300030103050201060303-- --------------enigAB1F5F272E17E47BD6116980 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDqmB7MH8DIBsiCrgRAzZOAJ4nsqKh3oJdpei5mYSzjNaTmhfp/wCeNhrC OhfEXbjNfI/gcUxng6EbyME= =g6IM -----END PGP SIGNATURE----- --------------enigAB1F5F272E17E47BD6116980--