From owner-freebsd-ports Mon May 8 14: 0: 6 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7531137BC9A for ; Mon, 8 May 2000 14:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA80546; Mon, 8 May 2000 14:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from epsilon.lucida.qc.ca (epsilon.lucida.qc.ca [216.95.146.6]) by hub.freebsd.org (Postfix) with SMTP id 60F8537BCAF for ; Mon, 8 May 2000 13:56:51 -0700 (PDT) (envelope-from matt@epsilon.lucida.qc.ca) Received: (qmail 43574 invoked by uid 1000); 8 May 2000 20:56:49 -0000 Message-Id: <20000508205649.43573.qmail@epsilon.lucida.qc.ca> Date: 8 May 2000 20:56:49 -0000 From: matt@ARPA.MAIL.NET Reply-To: matt@ARPA.MAIL.NET To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/18454: Conflict: 'nedit' and 'netcat' ports. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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