Date: Fri, 14 Nov 1997 10:12:23 +0200 (SAT) From: sheldonh@iafrica.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/5037: ports/netcat: silly PLIST Message-ID: <199711140812.KAA23847@axl.iafrica.com> Resent-Message-ID: <199711140820.AAA10589@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 5037 >Category: ports >Synopsis: ports/netcat: silly PLIST >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Nov 14 00:20:00 PST 1997 >Last-Modified: >Originator: Sheldon Hearn >Organization: UUNET Internet Africa >Release: FreeBSD 2.2.5-STABLE i386 >Environment: FreeBSD 2.2-STABLE as of 5 Nov 1997 >Description: The netcat port leaves behind a directory that it should smoke at pkg_delete. >How-To-Repeat: # Make sure NOPORTDOCS is not defined at make time cd /usr/ports/net/netcat make package pkg_delete -v netcat-1.10 [ -d /usr/local/share/doc/netcat ] && echo See? Told ya. >Fix: The following patches will a) Fix the PLIST with an @dirrm b) Teach the Makefile how to handle NOPORTDOCS diff -urN /usr/ports/net/netcat/Makefile /root/netcat/Makefile --- /usr/ports/net/netcat/Makefile Sat Oct 11 03:08:19 1997 +++ /root/netcat/Makefile Fri Nov 14 10:09:54 1997 @@ -28,6 +28,8 @@ @${MKDIR} ${PREFIX}/share/doc/netcat \ && chmod a+rx ${PREFIX}/share/doc/netcat ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/netcat +.else +PLIST=${PKGDIR}/PLIST.nodocs .endif .include <bsd.port.mk> diff -urN /usr/ports/net/netcat/pkg/PLIST /root/netcat/pkg/PLIST --- /usr/ports/net/netcat/pkg/PLIST Fri Nov 22 10:16:50 1996 +++ /root/netcat/pkg/PLIST Fri Nov 14 10:09:54 1997 @@ -1,2 +1,3 @@ bin/nc share/doc/netcat/README +@dirrm share/doc/netcat diff -urN /usr/ports/net/netcat/pkg/PLIST.nodocs /root/netcat/pkg/PLIST.nodocs --- /usr/ports/net/netcat/pkg/PLIST.nodocs Thu Jan 1 02:00:00 1970 +++ /root/netcat/pkg/PLIST.nodocs Fri Nov 14 10:09:54 1997 @@ -0,0 +1 @@ +bin/nc >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711140812.KAA23847>