From arved@FreeBSD.org  Sun Sep 24 09:33:45 2006
Return-Path: <arved@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 964A716A412
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 24 Sep 2006 09:33:45 +0000 (UTC)
	(envelope-from arved@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0868F43D6E
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 24 Sep 2006 09:33:43 +0000 (GMT)
	(envelope-from arved@FreeBSD.org)
Received: from freefall.freebsd.org (arved@localhost [127.0.0.1])
	by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8O9XgUx038991
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 24 Sep 2006 09:33:42 GMT
	(envelope-from arved@freefall.freebsd.org)
Received: (from arved@localhost)
	by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8O9XgaB038990;
	Sun, 24 Sep 2006 09:33:42 GMT
	(envelope-from arved)
Message-Id: <200609240933.k8O9XgaB038990@freefall.freebsd.org>
Date: Sun, 24 Sep 2006 09:33:42 GMT
From: Tilman Linneweh <arved@FreeBSD.org>
Reply-To: Tilman Linneweh <arved@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: net/libnids: Run dependency on libnet breaks dsniff
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         103554
>Category:       ports
>Synopsis:       net/libnids: Run dependency on libnet breaks dsniff
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    roam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 24 09:40:19 GMT 2006
>Closed-Date:    Wed Sep 27 13:02:59 GMT 2006
>Last-Modified:  Wed Sep 27 13:02:59 GMT 2006
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->roam 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Sep 24 09:40:28 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103554 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/103554: commit references a PR
Date: Wed, 27 Sep 2006 12:50:48 +0000 (UTC)

 roam        2006-09-27 12:50:34 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/libnids          Makefile 
   Log:
   Remove the mistaken run-dependency on libnet, since it causes conflicts
   in dependent ports.  Also, reinstitute the choice between libnet-1.0 and
   1.1, since the dependent ports seem to actually like libnet-1.0 better.
   
   PR:             103554
   Submitted by:   arved
   
   Revision  Changes    Path
   1.18      +7 -2      ports/net/libnids/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: roam 
State-Changed-When: Wed Sep 27 13:02:28 UTC 2006 
State-Changed-Why:  
I believe I've fixed the conflicting dependencies; sorry for introducing 
them in the first place! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103554 
>Unformatted:
