ports/103554: net/libnids: Run dependency on libnet breaks dsniff

Tilman Linneweh arved at FreeBSD.org
Sun Sep 24 09:40:21 UTC 2006


>Number:         103554
>Category:       ports
>Synopsis:       net/libnids: Run dependency on libnet breaks dsniff
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 24 09:40:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Tilman Linneweh
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 10 03:18:20 UTC 2005 kensmith at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386


	
>Description:
	The last commit to libnids added a rundependency on libnet without
	further explanation. It should not be necessary to run-depend on a 
	static library.
	Additional this change breaks dsniff because dsniff now depends
	on two conflicting ports.

	If there is a reason to run-depend on libnet, the port should depend
	on libnet10, because two ports in the portstree, that use libnids,
	(dsniff and pynids) use the old version of libnids
	
>How-To-Repeat:
	
>Fix:

	

--- patch-libnids begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/libnids/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile	12 Jun 2006 13:28:05 -0000	1.17
+++ Makefile	24 Sep 2006 09:15:12 -0000
@@ -28,7 +28,6 @@
 
 .if !defined(WITHOUT_LIBNET)
 BUILD_DEPENDS+=	${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
-RUN_DEPENDS+=	${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
 .else
 CONFIGURE_ARGS+=	--disable-libnet
 .endif
--- patch-libnids ends here ---


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



More information about the freebsd-ports-bugs mailing list