summaryrefslogtreecommitdiff
path: root/security/cfs
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-06-06 01:06:57 +0000
committerwiz <wiz@pkgsrc.org>2001-06-06 01:06:57 +0000
commitb1c440e3d3576c7a71306fc6e9d865ba7c8fd2dd (patch)
treeb62982ff0a8feb1967df78d358553e68a769ec28 /security/cfs
parent3c1368e8bb0b335118fda1578ae411f9c90b3ad5 (diff)
downloadpkgsrc-b1c440e3d3576c7a71306fc6e9d865ba7c8fd2dd.tar.gz
Remove files from jlam's cfs package import (on top of agc's) until
jlam has time to merge them, on request by jlam.
Diffstat (limited to 'security/cfs')
-rw-r--r--security/cfs/files/cfsd.sh103
-rw-r--r--security/cfs/patches/patch-ab20
-rw-r--r--security/cfs/patches/patch-ac13
3 files changed, 0 insertions, 136 deletions
diff --git a/security/cfs/files/cfsd.sh b/security/cfs/files/cfsd.sh
deleted file mode 100644
index 92fcff5378e..00000000000
--- a/security/cfs/files/cfsd.sh
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: cfsd.sh,v 1.1.1.1 2001/06/05 22:19:11 jlam Exp $
-#
-# PROVIDE: cfsd
-# REQUIRE: mountd
-#
-# To start cfsd at startup, copy this script to /etc/rc.d and set
-# cfsd=YES in /etc/rc.conf.
-
-name="cfsd"
-rcvar=$name
-command="@PREFIX@/sbin/${name}"
-command_args="> /dev/null 2>&1"
-required_vars="mountd"
-
-# set defaults
-if [ -r /etc/rc.conf ]
-then
- . /etc/rc.conf
-else
- eval ${rcvar}=YES
-fi
-
-# $flags from environment overrides ${rcvar}_flags
-if [ -n "${flags}" ]
-then
- eval ${rcvar}_flags="${flags}"
-fi
-
-checkyesno()
-{
- eval _value=\$${1}
- case $_value in
- [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) return 0 ;;
- [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) return 1 ;;
- *)
- echo "\$${1} is not set properly."
- return 1
- ;;
- esac
-}
-
-cmd=${1:-start}
-case ${cmd} in
-force*)
- cmd=${cmd#force}
- forcecmd=YES
- eval ${rcvar}=YES
- ;;
-esac
-
-required_vars="${rcvar} ${required_vars}"
-pid_cmd="ps ax | awk '{print \$1,\$5}' | grep ${name} | awk '{print \$1}'"
-
-for _var in ${required_vars}
-do
- if ! checkyesno ${_var}
- then
- if [ -z "${forcecmd}" ]
- then
- exit 1
- fi
- fi
-done
-
-if [ -x ${command} ]
-then
- case ${cmd} in
- start)
- echo "Starting ${name}."
- eval ${command} ${cfs_flags} ${command_args}
- ;;
- stop)
- pid=`eval ${pid_cmd}`
- if [ -z "${pid}" ]
- then
- echo "${name} not running?"
- exit 1
- fi
- echo "Stopping ${name}."
- kill ${pid}
- ;;
- restart)
- ( $0 forcestop )
- sleep 5
- $0 forcestart
- ;;
- status)
- pid=`eval ${pid_cmd}`
- if [ -n "${pid}" ]; then
- echo "${name} is running as pid ${pid}."
- else
- echo "${name} is not running."
- exit 1
- fi
- ;;
- *)
- echo 1>&2 "Usage: $0 [restart|start|stop|status]"
- exit 1
- ;;
- esac
-fi
diff --git a/security/cfs/patches/patch-ab b/security/cfs/patches/patch-ab
deleted file mode 100644
index 8ebaf45164f..00000000000
--- a/security/cfs/patches/patch-ab
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/06/05 22:19:11 jlam Exp $
-
---- getpass.c.orig Thu May 31 17:03:02 2001
-+++ getpass.c Thu May 31 17:03:40 2001
-@@ -45,6 +45,7 @@
- #include "cfs.h"
- #include "shs.h"
-
-+#ifndef HAVE_GETPASS
- #if defined(irix) || defined(linux)
- /* hacks to use POSIX style termios instead of old BSD style sgttyb */
- #include <termios.h>
-@@ -95,6 +96,7 @@
- fclose(fi);
- return(pbuf);
- }
-+#endif
-
- old_pwcrunch(b,k)
- char *b;
diff --git a/security/cfs/patches/patch-ac b/security/cfs/patches/patch-ac
deleted file mode 100644
index c217a0ea0d3..00000000000
--- a/security/cfs/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2001/06/05 22:19:11 jlam Exp $
-
---- netbsd_make_with_bad_rpcgen.orig Thu May 3 14:30:15 2001
-+++ netbsd_make_with_bad_rpcgen Thu May 31 17:13:32 2001
-@@ -1,7 +1,7 @@
- #!/bin/sh
- # this will make CFS for NetBSD (and other) systems with the
- # wrong version of rpcgen
--make CC="cc -traditional \
-+${MAKE} CFS_CFLAGS=" \
- -Dnfsproc_null_2_svc=nfsproc_null_2 \
- -Dnfsproc_getattr_2_svc=nfsproc_getattr_2 \
- -Dnfsproc_setattr_2_svc=nfsproc_setattr_2 \