ports/97257: security/dnsiff doesn't build when net/libpcap is installed (fix included)

Ruben van Staveren ruben at verweg.com
Sun May 14 12:10:27 UTC 2006


>Number:         97257
>Category:       ports
>Synopsis:       security/dnsiff doesn't build when net/libpcap is installed (fix included)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 14 12:10:25 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ruben van Staveren
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD helium.verweg.com 6.1-STABLE FreeBSD 6.1-STABLE #10: Tue May 9 13:53:06 CEST 2006 root at helium.verweg.com:/usr/obj/usr/cvsup/6-stable/src/sys/HELIUM-SMP i386


>Description:

security/dnsiff doesn't build when net/libpcap is installed

>How-To-Repeat:
cd /usr/port
cd net/libpcap && make install
cd -
cd security/dsniff && make install


>Fix:

Mark security/dsniff BROKEN when ${LOCALBASE}/include/pcap.h is present, see diff

--- Makefile.orig	Sun May 14 13:47:39 2006
+++ Makefile	Sun May 14 13:59:10 2006
@@ -23,6 +23,12 @@
 	tcpnice.8 urlsnarf.8 filesnarf.8 dnsspoof.8 msgsnarf.8 \
 	sshmitm.8 webmitm.8
 
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/include/pcap.h)
+BROKEN=	Does not build with the net/libpcap port installed
+.endif
+
 .if !defined(WITHOUT_X11)
 USE_XLIB=	yes
 PLIST_SUB+=	X11=''
@@ -32,4 +38,4 @@
 PLIST_SUB+=	X11='@comment '
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list