Bug 77153 - New port: net/nfsshell (nfs command tool)
Summary: New port: net/nfsshell (nfs command tool)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Volker Stolz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-05 23:00 UTC by Johan van Selst
Modified: 2005-02-09 11:14 UTC (History)
0 users

See Also:


Attachments
file.shar (2.95 KB, text/plain)
2005-02-05 23:00 UTC, Johan van Selst
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johan van Selst 2005-02-05 23:00:40 UTC
	

	nfsshell is a simple tool to execute commands on open nfs shares,
	using an ftp-like interface.
	It's a useful tool to manually check (or show) security problems.
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2005-02-09 08:23:39 UTC
State Changed
From-To: open->feedback

Please do not overwrite CC/CFLAGS. Can you check with 'ldd' 
what happends when devel/readline is installed? 


Comment 2 Volker Stolz freebsd_committer freebsd_triage 2005-02-09 08:23:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vs

Claim.
Comment 3 stolz 2005-02-09 09:27:29 UTC
Am 09. Feb 2005 um 10:06 CET schrieb Johan van Selst:
> Volker Stolz wrote:
> > Please do not overwrite CC/CFLAGS.
> 
> Note that this port doesn't come with a configure script or any other
> automated detection: what is set in the Makefile is what you get.
> Although I suppose you can still remove these lines from the supplied
> Makefile and go with make(1)'s default idea of a sensible CC and CFLAGS.
> But you will still need to include -DREADLINE somewhere.

Yes, but it's your obligation to do this. Either patch the lines to
use "?=" instead of "=" or check if setting MAKE_ARGS=... in the
port's Makefile works.

Cheers,
  Volker
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
Comment 4 Johan van Selst 2005-02-09 09:38:16 UTC
Volker Stolz wrote:
> > But you will still need to include -DREADLINE somewhere.
> Yes, but it's your obligation to do this.


Naturally.

Here's an updated version of files/patch-Makefile


--- Makefile.orig	Tue May 19 22:37:23 1998
+++ Makefile	Wed Feb  9 10:36:26 2005
@@ -22,10 +22,15 @@
 #
 
 # uncomment the following 4 lines for Solaris 2.x
-CC		= gcc
-CFLAGS		= -DSYSV -DREADLINE -I/usr/local/include
-LIBS		= -lsocket -L/usr/ucblib -R/usr/ucblib -lrpcsoc -lnsl \
-		  -L/usr/local/lib -lreadline -lhistory -ltermlib
+#CC		= gcc
+#CFLAGS		= -DSYSV -DREADLINE -I/usr/local/include
+#LIBS		= -lsocket -L/usr/ucblib -R/usr/ucblib -lrpcsoc -lnsl \
+#		  -L/usr/local/lib -lreadline -lhistory -ltermlib
+
+# uncomment the following 3 lines for FreeBSD
+CC		?= gcc
+CFLAGS		+= -DREADLINE
+LIBS		= -lreadline
 
 # uncomment the following 3 lines for AIX
 #CC		= gcc
Comment 5 Volker Stolz freebsd_committer freebsd_triage 2005-02-09 11:14:46 UTC
State Changed
From-To: feedback->closed

New port added, thanks!