diff options
author | piernov <piernov@piernov.org> | 2012-05-13 21:25:08 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-05-13 21:25:08 +0200 |
commit | f35fb119bf993d3454668f50a17334e09b77160b (patch) | |
tree | 9f1d840f10e24848f8b94eb9c5c4e811e0984232 /nfs-utils-server | |
parent | 2814457a550d6a14e6134ac4c06b1f96a92d2061 (diff) | |
parent | 933ac25d27eb5fa5f8f983ab8ac8d507e773c044 (diff) | |
download | nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.gz nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.bz2 nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.xz nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.zip |
Merge branch 'master' of http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe
Diffstat (limited to 'nfs-utils-server')
-rw-r--r-- | nfs-utils-server/.footprint.i686 | 50 | ||||
-rw-r--r-- | nfs-utils-server/.footprint.x86_64 | 50 | ||||
-rw-r--r-- | nfs-utils-server/.md5sum.i686 | 2 | ||||
-rw-r--r-- | nfs-utils-server/.md5sum.x86_64 | 2 | ||||
-rwxr-xr-x | nfs-utils-server/Pkgfile | 43 | ||||
-rw-r--r-- | nfs-utils-server/nfs-server | 4 | ||||
-rw-r--r-- | nfs-utils-server/pre-install | 3 |
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 |