nfs-utils: moved to opt
This commit is contained in:
parent
a3f1f4676a
commit
573c4ce186
@ -1,49 +0,0 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
-rw-r--r-- root/root etc/exports
|
||||
drwxr-xr-x root/root etc/rc.d/
|
||||
-rwxr-xr-x root/root etc/rc.d/nfs
|
||||
-rwxr-xr-x root/root etc/rc.d/nfsserver
|
||||
drwxr-xr-x root/root sbin/
|
||||
-r-s--x--x root/root sbin/mount.nfs
|
||||
lrwxrwxrwx root/root sbin/umount.nfs -> mount.nfs
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man5/
|
||||
-rw-r--r-- root/root usr/man/man5/exports.5.gz
|
||||
-rw-r--r-- root/root usr/man/man5/nfs.5.gz
|
||||
drwxr-xr-x root/root usr/man/man7/
|
||||
-rw-r--r-- root/root usr/man/man7/nfsd.7.gz
|
||||
drwxr-xr-x root/root usr/man/man8/
|
||||
-rw-r--r-- root/root usr/man/man8/exportfs.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/mount.nfs.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/mountd.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/nfsd.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/nfsstat.8.gz
|
||||
lrwxrwxrwx root/root usr/man/man8/rpc.mountd.8.gz -> mountd.8.gz
|
||||
lrwxrwxrwx root/root usr/man/man8/rpc.nfsd.8.gz -> nfsd.8.gz
|
||||
lrwxrwxrwx root/root usr/man/man8/rpc.sm-notify.8.gz -> sm-notify.8.gz
|
||||
lrwxrwxrwx root/root usr/man/man8/rpc.statd.8.gz -> statd.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/rpcdebug.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/showmount.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/sm-notify.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/statd.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/umount.nfs.8.gz
|
||||
drwxr-xr-x root/root usr/sbin/
|
||||
-rwxr-xr-x root/root usr/sbin/exportfs
|
||||
-rwxr-xr-x root/root usr/sbin/nfsstat
|
||||
-rwxr-xr-x root/root usr/sbin/rpc.mountd
|
||||
-rwxr-xr-x root/root usr/sbin/rpc.nfsd
|
||||
-rwxr-xr-x root/root usr/sbin/rpc.statd
|
||||
-rwxr-xr-x root/root usr/sbin/rpcdebug
|
||||
-rwxr-xr-x root/root usr/sbin/showmount
|
||||
-rwxr-xr-x root/root usr/sbin/sm-notify
|
||||
-rwxr-xr-x root/root usr/sbin/start-statd
|
||||
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)
|
@ -1,4 +0,0 @@
|
||||
c5ccf58f5f9f57aba75c8b72219eb6e6 exports
|
||||
3aaf176fc070285923e89b30df970b4a nfs
|
||||
dad92f64db3266c7757f71bb53ee8f35 nfs-utils-1.2.2.tar.bz2
|
||||
7bce7bc5cb40a18ae76c6c1328382119 nfsserver
|
@ -1,31 +0,0 @@
|
||||
# Description: NFS utilities
|
||||
# URL: http://nfs.sourceforge.net/
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Depends on: util-linux-ng
|
||||
|
||||
name=nfs-utils
|
||||
version=1.2.2
|
||||
release=1
|
||||
source=(http://dl.sourceforge.net/nfs/$name-$version.tar.bz2 \
|
||||
exports nfs nfsserver)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--enable-nfsv3 \
|
||||
--disable-nfsv4 \
|
||||
--disable-gss \
|
||||
--disable-tirpc \
|
||||
--with-statedir=/var/lib/nfs \
|
||||
--sysconfdir=/etc
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
rm $PKG/sbin/{mount,umount}.nfs4
|
||||
|
||||
install -D -m 755 $SRC/nfs $PKG/etc/rc.d/nfs
|
||||
install -D -m 755 $SRC/nfsserver $PKG/etc/rc.d/nfsserver
|
||||
install -D -m 644 $SRC/exports $PKG/etc/exports
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
#
|
||||
# /etc/exports: access control list for exported filesystems. See exports(5).
|
||||
#
|
||||
|
||||
# End of file
|
@ -1,26 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# /etc/rc.d/nfs: start/stop nfs client
|
||||
#
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
/usr/sbin/sm-notify
|
||||
/usr/sbin/rpc.statd
|
||||
/bin/mount -a -t nfs
|
||||
;;
|
||||
stop)
|
||||
/bin/umount -a -t nfs
|
||||
killall -q /usr/sbin/rpc.statd
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 2
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 [start|stop|restart]"
|
||||
;;
|
||||
esac
|
||||
|
||||
# End of file
|
@ -1,32 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# /etc/rc.d/nfsserver: start/stop nfs server
|
||||
#
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
/bin/mount -t nfsd nfsd /proc/fs/nfsd
|
||||
/usr/sbin/exportfs -r
|
||||
/usr/sbin/rpc.mountd
|
||||
/usr/sbin/rpc.statd --no-notify
|
||||
/usr/sbin/rpc.nfsd 8
|
||||
/usr/sbin/sm-notify
|
||||
;;
|
||||
stop)
|
||||
killall -q -2 nfsd
|
||||
killall -q /usr/sbin/rpc.statd
|
||||
killall -q /usr/sbin/rpc.mountd
|
||||
/usr/sbin/exportfs -au
|
||||
/bin/umount /proc/fs/nfsd
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 2
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 [start|stop|restart]"
|
||||
;;
|
||||
esac
|
||||
|
||||
# End of
|
Loading…
x
Reference in New Issue
Block a user