summaryrefslogtreecommitdiffstats
path: root/nfs-utils-server
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-04-30 16:45:22 +0200
committerpiernov <piernov@piernov.org>2012-04-30 16:45:22 +0200
commitc17d06ca908b4f874bbb56458bdae978de1ab77a (patch)
treeec291cd99463f6c0f0cd3f9de6f9d14f3bba6d6d /nfs-utils-server
parent5b209a6b384fb05540ce4325af32c4cc265a5ffb (diff)
downloadnutyx-extra-c17d06ca908b4f874bbb56458bdae978de1ab77a.tar.gz
nutyx-extra-c17d06ca908b4f874bbb56458bdae978de1ab77a.tar.bz2
nutyx-extra-c17d06ca908b4f874bbb56458bdae978de1ab77a.tar.xz
nutyx-extra-c17d06ca908b4f874bbb56458bdae978de1ab77a.zip
Revert "nfs dans base"
This reverts commit 85e9d7fd285a0192b3868c034234f2d076ae3860.
Diffstat (limited to 'nfs-utils-server')
-rw-r--r--nfs-utils-server/.footprint.i68650
-rw-r--r--nfs-utils-server/.footprint.x86_6450
-rw-r--r--nfs-utils-server/.md5sum.i6862
-rw-r--r--nfs-utils-server/.md5sum.x86_642
-rwxr-xr-xnfs-utils-server/Pkgfile43
-rw-r--r--nfs-utils-server/nfs-server4
-rw-r--r--nfs-utils-server/pre-install3
7 files changed, 154 insertions, 0 deletions
diff --git a/nfs-utils-server/.footprint.i686 b/nfs-utils-server/.footprint.i686
new file mode 100644
index 000000000..02aff602a
--- /dev/null
+++ b/nfs-utils-server/.footprint.i686
@@ -0,0 +1,50 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-- root/root etc/rc.d/init.d/nfs-server
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K48nfs-server -> ../init.d/nfs-server
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K48nfs-server -> ../init.d/nfs-server
+drwxr-xr-x root/root etc/rc.d/rc2.d/
+lrwxrwxrwx root/root etc/rc.d/rc2.d/K48nfs-server -> ../init.d/nfs-server
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S24nfs-server -> ../init.d/nfs-server
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S24nfs-server -> ../init.d/nfs-server
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S24nfs-server -> ../init.d/nfs-server
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K48nfs-server -> ../init.d/nfs-server
+drwxr-xr-x root/root etc/rc.d/rcsysinit.d/
+drwxr-xr-x root/root etc/sysconfig/
+-rw-r--r-- root/root etc/sysconfig/nfs-server
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man7/
+-rw-r--r-- root/root usr/share/man/man7/nfsd.7.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/exportfs.8.gz
+-rw-r--r-- root/root usr/share/man/man8/mount.nfs.8.gz
+-rw-r--r-- root/root usr/share/man/man8/mountd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/nfsd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/nfsstat.8.gz
+lrwxrwxrwx root/root usr/share/man/man8/rpc.mountd.8.gz -> mountd.8.gz
+lrwxrwxrwx root/root usr/share/man/man8/rpc.nfsd.8.gz -> nfsd.8.gz
+lrwxrwxrwx root/root usr/share/man/man8/rpc.sm-notify.8.gz -> sm-notify.8.gz
+lrwxrwxrwx root/root usr/share/man/man8/rpc.statd.8.gz -> statd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/rpcdebug.8.gz
+-rw-r--r-- root/root usr/share/man/man8/showmount.8.gz
+-rw-r--r-- root/root usr/share/man/man8/sm-notify.8.gz
+-rw-r--r-- root/root usr/share/man/man8/statd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/umount.nfs.8.gz
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/nfs/
+-rw-r--r-- root/root var/lib/nfs/etab (EMPTY)
+-rw-r--r-- root/root var/lib/nfs/rmtab (EMPTY)
+drwx------ nobody/root var/lib/nfs/sm.bak/
+drwx------ nobody/root var/lib/nfs/sm/
+-rw------- nobody/root var/lib/nfs/state (EMPTY)
+-rw-r--r-- root/root var/lib/nfs/xtab (EMPTY)
diff --git a/nfs-utils-server/.footprint.x86_64 b/nfs-utils-server/.footprint.x86_64
new file mode 100644
index 000000000..02aff602a
--- /dev/null
+++ b/nfs-utils-server/.footprint.x86_64
@@ -0,0 +1,50 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-- root/root etc/rc.d/init.d/nfs-server
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K48nfs-server -> ../init.d/nfs-server
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K48nfs-server -> ../init.d/nfs-server
+drwxr-xr-x root/root etc/rc.d/rc2.d/
+lrwxrwxrwx root/root etc/rc.d/rc2.d/K48nfs-server -> ../init.d/nfs-server
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S24nfs-server -> ../init.d/nfs-server
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S24nfs-server -> ../init.d/nfs-server
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S24nfs-server -> ../init.d/nfs-server
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K48nfs-server -> ../init.d/nfs-server
+drwxr-xr-x root/root etc/rc.d/rcsysinit.d/
+drwxr-xr-x root/root etc/sysconfig/
+-rw-r--r-- root/root etc/sysconfig/nfs-server
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man7/
+-rw-r--r-- root/root usr/share/man/man7/nfsd.7.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/exportfs.8.gz
+-rw-r--r-- root/root usr/share/man/man8/mount.nfs.8.gz
+-rw-r--r-- root/root usr/share/man/man8/mountd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/nfsd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/nfsstat.8.gz
+lrwxrwxrwx root/root usr/share/man/man8/rpc.mountd.8.gz -> mountd.8.gz
+lrwxrwxrwx root/root usr/share/man/man8/rpc.nfsd.8.gz -> nfsd.8.gz
+lrwxrwxrwx root/root usr/share/man/man8/rpc.sm-notify.8.gz -> sm-notify.8.gz
+lrwxrwxrwx root/root usr/share/man/man8/rpc.statd.8.gz -> statd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/rpcdebug.8.gz
+-rw-r--r-- root/root usr/share/man/man8/showmount.8.gz
+-rw-r--r-- root/root usr/share/man/man8/sm-notify.8.gz
+-rw-r--r-- root/root usr/share/man/man8/statd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/umount.nfs.8.gz
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/nfs/
+-rw-r--r-- root/root var/lib/nfs/etab (EMPTY)
+-rw-r--r-- root/root var/lib/nfs/rmtab (EMPTY)
+drwx------ nobody/root var/lib/nfs/sm.bak/
+drwx------ nobody/root var/lib/nfs/sm/
+-rw------- nobody/root var/lib/nfs/state (EMPTY)
+-rw-r--r-- root/root var/lib/nfs/xtab (EMPTY)
diff --git a/nfs-utils-server/.md5sum.i686 b/nfs-utils-server/.md5sum.i686
new file mode 100644
index 000000000..6197c9a76
--- /dev/null
+++ b/nfs-utils-server/.md5sum.i686
@@ -0,0 +1,2 @@
+da9a8cfaba0905f0de06eada1edceffc nfs-server
+4ab250f35979794de3d185e3c864e4d0 nfs-utils-1.2.0.tar.gz
diff --git a/nfs-utils-server/.md5sum.x86_64 b/nfs-utils-server/.md5sum.x86_64
new file mode 100644
index 000000000..6197c9a76
--- /dev/null
+++ b/nfs-utils-server/.md5sum.x86_64
@@ -0,0 +1,2 @@
+da9a8cfaba0905f0de06eada1edceffc nfs-server
+4ab250f35979794de3d185e3c864e4d0 nfs-utils-1.2.0.tar.gz
diff --git a/nfs-utils-server/Pkgfile b/nfs-utils-server/Pkgfile
new file mode 100755
index 000000000..d50907b0f
--- /dev/null
+++ b/nfs-utils-server/Pkgfile
@@ -0,0 +1,43 @@
+# Description: Service pour le partage de fichiers nfs
+# URL: http://nfs.sourceforge.net
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: nfs-utils, libevent
+# Run on: nfs-utils
+
+name=nfs-utils-server
+version=1.2.0
+release=4
+source=(http://ftp.kernel.org/pub/linux/utils/nfs/nfs-utils-$version.tar.gz\
+ nfs-server )
+build() {
+source /etc/blfs-bootscripts
+#wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
+wget http://nutyx.meticul.eu/files/patchs/aaabasicfs/blfs-bootscripts-$scriptsversion.tar.bz2
+tar xvf $scripts-$scriptsversion.tar.bz2
+ # build package
+cd nfs-utils-$version
+sed -i "1i\#include <sys/stat.h>\n" utils/exportfs/exportfs.c
+sed -i "1i\#include <sys/stat.h>\n" utils/mount/mount.c
+sed -i "1i\#include <sys/stat.h>\n" utils/mount/network.c
+
+sed -i 's/getkversion//' tools/Makefile.in
+
+./configure --prefix=/usr\
+ --sysconfdir=/etc\
+ --mandir=/usr/share/man\
+ --infodir=/usr/share/info\
+ --enable-nfsv3 \
+ --disable-nfsv4 \
+ --disable-gss
+
+unset LDFLAGS
+make
+make DESTDIR=$PKG install
+cd ../$scripts-$scriptsversion
+make DESTDIR=$PKG install-nfs-server
+mkdir -p $PKG/etc/sysconfig
+install -m 644 ../nfs-server $PKG/etc/sysconfig/
+rm -r $PKG/{sbin,usr/{sbin,share/man/man5}}
+}
+
diff --git a/nfs-utils-server/nfs-server b/nfs-utils-server/nfs-server
new file mode 100644
index 000000000..c13747175
--- /dev/null
+++ b/nfs-utils-server/nfs-server
@@ -0,0 +1,4 @@
+PORT="2049"
+PROCESSES="8"
+QUOTAS="no"
+KILLDELAY="10"
diff --git a/nfs-utils-server/pre-install b/nfs-utils-server/pre-install
new file mode 100644
index 000000000..07fd11a51
--- /dev/null
+++ b/nfs-utils-server/pre-install
@@ -0,0 +1,3 @@
+if [ -f /var/lib/nfs/state ]; then
+ rm -rf /var/lib/nfs/state
+fi