Date: 8 May 2000 20:56:49 -0000 From: matt@ARPA.MAIL.NET To: FreeBSD-gnats-submit@freebsd.org Subject: ports/18454: Conflict: 'nedit' and 'netcat' ports. Message-ID: <20000508205649.43573.qmail@epsilon.lucida.qc.ca>
next in thread | raw e-mail | index | archive | help
>Number: 18454 >Category: ports >Synopsis: 'netcat' and 'nedit' ports conflict. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 08 14:00:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Matt Heckaman >Release: FreeBSD 4.0-STABLE i386 >Organization: Lucida Communications >Environment: Ports-CURRENT, affecting all releases/stables/currents that use it. >Description: The netcat port installs the binary to /usr/local/bin/nc. This location conflicts with the nedit port which installs the server binary to the location /usr/X11R6/bin/nc. Though these are different locations, they cause problems relating to which gets called in the path. I find this far less than ideal. >How-To-Repeat: Install both nedit and netcat and type "nc", depending on how your path is laid out, you will either net netcat or the nedit server :) >Fix: I've decided to patch to change the netcat install to 'netcat', you may prefere to change nedit's server binary instead. I'll leave that up to you to decide what is best. diff -ur netcat.orig/Makefile netcat/Makefile --- netcat.orig/Makefile Thu Apr 20 16:19:33 2000 +++ netcat/Makefile Mon May 8 16:55:17 2000 @@ -23,7 +23,7 @@ ALL_TARGET= freebsd do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/nc ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/nc ${PREFIX}/bin/netcat .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/netcat \ && ${CHMOD} a+rx ${PREFIX}/share/doc/netcat diff -ur netcat.orig/pkg/PLIST netcat/pkg/PLIST --- netcat.orig/pkg/PLIST Fri Nov 14 04:15:18 1997 +++ netcat/pkg/PLIST Mon May 8 16:55:36 2000 @@ -1,3 +1,3 @@ -bin/nc +bin/netcat share/doc/netcat/README @dirrm share/doc/netcat >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000508205649.43573.qmail>