[Frugalware-darcs] frugalware-current: nfs-utils-1.1.0-2-i686

CSECSY Laszlo boobaa at frugalware.org
Mon Jun 25 16:47:39 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-current;a=darcs_commitdiff;h=20070625153153-60d9d-29820224ef0a05a59bdb9d03a5d86ab107d4e317.gz;

[nfs-utils-1.1.0-2-i686
CSECSY Laszlo <boobaa at frugalware.org>**20070625153153
   support for easier firewalling (by pinning rpc.mountd to any specific port)
   configurable in /etc/sysconfig/nfs
   ok by vmiklos@
] {
hunk ./source/network/nfs-utils/FrugalBuild 6
-pkgrel=1
+pkgrel=2
hunk ./source/network/nfs-utils/FrugalBuild 10
-backup=(etc/exports etc/conf.d/nfsd)
+backup=(etc/exports etc/conf.d/nfsd etc/sysconfig/nfs)
hunk ./source/network/nfs-utils/FrugalBuild 16
-source=($source exports rc.nfsd rc.nfsd-hu.po)
+source=($source exports rc.nfsd rc.nfsd-hu.po nfs)
hunk ./source/network/nfs-utils/FrugalBuild 24
+	Ffile /etc/sysconfig/nfs
hunk ./source/network/nfs-utils/FrugalBuild 30
-          '6f1b2cb3afeb268839aacc02bae30b4d9ffcabca'\
-          'b28e6e7575dc08c3ee4a1b738e25c2f92daa4a62')
+          '3cd64a99856e431ea71a9f436be3a79f027925b3'\
+          'b28e6e7575dc08c3ee4a1b738e25c2f92daa4a62'\
+	  'c2753a21b4ddc5afadd958a0f36aee6320ff8b5a')
addfile ./source/network/nfs-utils/nfs
hunk ./source/network/nfs-utils/nfs 1
+#
+# /etc/sysconfig/nfs
+#
+# confiugation file for nfs-utils
+#
+
+# port to pin rpc.mountd to (leave it commented to let portmapper decide the port in run-time)
+#MOUNTDPORT=32777
+
+# vim: ft=sh
hunk ./source/network/nfs-utils/rc.nfsd 3
-# (c) 2003-2006 Miklos Vajna <vmiklos at frugalware.org>
+# (c) 2003-2007 Miklos Vajna <vmiklos at frugalware.org>,
+#		CSECSY Laszlo <boobaa at frugalware.org>
hunk ./source/network/nfs-utils/rc.nfsd 16
+source /etc/sysconfig/nfs
hunk ./source/network/nfs-utils/rc.nfsd 37
-	/usr/sbin/rpc.mountd >/dev/null
+	if [ ! -z "$MOUNTDPORT" ]; then
+		MOUNTDPORT="-p $MOUNTDPORT"
+	fi
+	/usr/sbin/rpc.mountd $MOUNTDPORT >/dev/null
}


More information about the Frugalware-darcs mailing list