Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2006 14:09:01 +0200 (CEST)
From:      Ruben van Staveren <ruben@verweg.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97257: security/dnsiff doesn't build when net/libpcap is installed (fix included)
Message-ID:  <200605141209.k4EC91va025351@helium.verweg.com>
Resent-Message-ID: <200605141210.k4ECAQOg082525@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605141209.k4EC91va025351>