From 779abb550879370f0261e498431e9fd1f6727707 Mon Sep 17 00:00:00 2001 From: vs Date: Wed, 9 Feb 2005 11:14:39 +0000 Subject: Add nfsshell, a userland NFS command tool. PR: ports/77153 Submitted by: johans@stack.nl --- net/Makefile | 1 + net/nfsshell/Makefile | 26 ++++++++++++++++++++++++++ net/nfsshell/distinfo | 2 ++ net/nfsshell/files/patch-nfs.c | 10 ++++++++++ net/nfsshell/pkg-descr | 4 ++++ 5 files changed, 43 insertions(+) create mode 100644 net/nfsshell/Makefile create mode 100644 net/nfsshell/distinfo create mode 100644 net/nfsshell/files/patch-nfs.c create mode 100644 net/nfsshell/pkg-descr (limited to 'net') diff --git a/net/Makefile b/net/Makefile index 3adecef..e480fb0 100644 --- a/net/Makefile +++ b/net/Makefile @@ -401,6 +401,7 @@ SUBDIR += nettest SUBDIR += netwib SUBDIR += newsbot + SUBDIR += nfsshell SUBDIR += ng_daphne SUBDIR += ng_netflow SUBDIR += ngrep diff --git a/net/nfsshell/Makefile b/net/nfsshell/Makefile new file mode 100644 index 0000000..14949c0 --- /dev/null +++ b/net/nfsshell/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: nfsshell +# Date created: 5 February 2005 +# Whom: johans@stack.nl +# +# $FreeBSD$ +# + +PORTNAME= nfsshell +PORTVERSION= 19980519 +CATEGORIES= net +MASTER_SITES= http://www.cs.vu.nl/pub/leendert/ +DISTNAME= ${PORTNAME} + +MAINTAINER= johans@stack.nl +COMMENT= Userland NFS command tool + +WRKSRC= ${WRKDIR}/nfs +ALL_TARGET= nfs +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DREADLINE" LIBS="-lreadline" + +PLIST_FILES= bin/nfsshell + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/nfs ${PREFIX}/bin/nfsshell + +.include diff --git a/net/nfsshell/distinfo b/net/nfsshell/distinfo new file mode 100644 index 0000000..e38dc89 --- /dev/null +++ b/net/nfsshell/distinfo @@ -0,0 +1,2 @@ +MD5 (nfsshell.tar.gz) = d447235518691fc3176ce89a6d836ce7 +SIZE (nfsshell.tar.gz) = 29213 diff --git a/net/nfsshell/files/patch-nfs.c b/net/nfsshell/files/patch-nfs.c new file mode 100644 index 0000000..148e8cc --- /dev/null +++ b/net/nfsshell/files/patch-nfs.c @@ -0,0 +1,10 @@ +--- nfs.c.orig Sat Feb 5 23:17:18 2005 ++++ nfs.c Sat Feb 5 23:17:09 2005 +@@ -50,7 +50,6 @@ + #include + #include + #include +-#include + #include "mount.h" + #include "nfs_prot.h" + #include diff --git a/net/nfsshell/pkg-descr b/net/nfsshell/pkg-descr new file mode 100644 index 0000000..18a7d11 --- /dev/null +++ b/net/nfsshell/pkg-descr @@ -0,0 +1,4 @@ +nfs shell provides user level access to an NFS server, over UDP or TCP, +supports source routing and "secure" (privileged port) mounts. It's a +useful tool to manually check (or show) security problems after a security +scanner has detected them. -- cgit v1.1