diff options
Diffstat (limited to 'network')
-rw-r--r-- | network/unfs3/README | 21 | ||||
-rw-r--r-- | network/unfs3/doinst.sh | 22 | ||||
-rw-r--r-- | network/unfs3/slack-desc | 19 | ||||
-rw-r--r-- | network/unfs3/unfs3.SlackBuild | 94 | ||||
-rw-r--r-- | network/unfs3/unfs3.info | 10 |
5 files changed, 0 insertions, 166 deletions
diff --git a/network/unfs3/README b/network/unfs3/README deleted file mode 100644 index 05cfd761d6..0000000000 --- a/network/unfs3/README +++ /dev/null @@ -1,21 +0,0 @@ -UNFS3 is a user-space implementation of the NFSv3 server specification. -It provides a daemon for the MOUNT and NFS protocols, which are used by -NFS clients for accessing files on the server. - -It can be configured to run under an unprivileged user account, can -password protect its exports (even with one-time passwords), and supports -ClusterNFS' file tagging features. - -unfsd conflicts with knfsd (the kernel-mode NFS server) if both are -to listen on the same port, which defaults to 2049. - -Slackware Linux ships with knfsd. To use this NFS server instead, -make sure /etc/rc.d/rc.unfsd is executable and /etc/rc.d/rc.nfsd is not. -For auto-start at machine boot add the following to /etc/rc.d/rc.local: - - # Start the NFSv3 service - if [ -x /etc/rc/d/rc.unfsd ]; then - /etc/rc/d/rc.unfsd start - fi - -The RPC portmapper must be first started, implying exec perms on rc.rpc diff --git a/network/unfs3/doinst.sh b/network/unfs3/doinst.sh deleted file mode 100644 index 302df95e70..0000000000 --- a/network/unfs3/doinst.sh +++ /dev/null @@ -1,22 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -# Keep same perms on rc.unfsd.new: -if [ -e etc/rc.d/rc.unfsd ]; then - cp -a etc/rc.d/rc.unfsd etc/rc.d/rc.unfsd.new.incoming - cat etc/rc.d/rc.unfsd.new > etc/rc.d/rc.unfsd.new.incoming - mv etc/rc.d/rc.unfsd.new.incoming etc/rc.d/rc.unfsd.new -fi - -config etc/rc.d/rc.unfsd.new - diff --git a/network/unfs3/slack-desc b/network/unfs3/slack-desc deleted file mode 100644 index a6dc5ef870..0000000000 --- a/network/unfs3/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -unfs3: UNFS3 (a user-space NFSv3 server) -unfs3: -unfs3: An implementation of the NFS (Network File System) version 3 -unfs3: server specification. It provides a daemon that supports both -unfs3: the MOUNT and NFS protocol. -unfs3: -unfs3: This version was compiled with optional support for cluster -unfs3: client file tags. -unfs3: -unfs3: UNFS3 is maintained by: Pascal Schmidt -unfs3: diff --git a/network/unfs3/unfs3.SlackBuild b/network/unfs3/unfs3.SlackBuild deleted file mode 100644 index 309be5db1f..0000000000 --- a/network/unfs3/unfs3.SlackBuild +++ /dev/null @@ -1,94 +0,0 @@ -#!/bin/sh - -# Slackware build script for UNFS3 (unfsd) -# Written by Menno Duursma <druiloor@zonnet.nl> - -# Modified by the SlackBuilds.org project - -# This program is free software. It comes without any warranty. -# Granted WTFPL, Version 2, as published by Sam Hocevar. See -# http://sam.zoy.org/wtfpl/COPYING for more details. - -PRGNAM=unfs3 -VERSION=0.9.22 -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e # Exit on most errors - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -# Note: the support for cluster tags compiled-in below can be -# enabled by way of a startup argument to unfsd. -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-cluster \ - --disable-static \ - --build=$ARCH-slackware-linux - -make -make install-strip DESTDIR=$PKG - -# Add the init script -install -D -m 0755 unfsd.init $PKG/etc/rc.d/rc.unfsd.new - -# Precreate lock directory, as the init script expects that to exist -mkdir -p $PKG/var/lock/subsys - -( cd $PKG/usr/man || exit 1 - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a [A-Z][A-Z]* doc/* contrib $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh >$PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/network/unfs3/unfs3.info b/network/unfs3/unfs3.info deleted file mode 100644 index 2edd983b81..0000000000 --- a/network/unfs3/unfs3.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="unfs3" -VERSION="0.9.22" -HOMEPAGE="http://unfs3.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/unfs3/unfs3-0.9.22.tar.gz" -MD5SUM="ddf679a5d4d80096a59f3affc64f16e5" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Menno Duursma" -EMAIL="druiloor@zonnet.nl" -APPROVED="dsomero" |