From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 19 02:50:15 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 944D416A422 for ; Sun, 19 Mar 2006 02:50:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA17C43D53 for ; Sun, 19 Mar 2006 02:50:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2J2oEgU037197 for ; Sun, 19 Mar 2006 02:50:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2J2oEKf037196; Sun, 19 Mar 2006 02:50:14 GMT (envelope-from gnats) Resent-Date: Sun, 19 Mar 2006 02:50:14 GMT Resent-Message-Id: <200603190250.k2J2oEKf037196@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Wesley Shields Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67AB016A401 for ; Sun, 19 Mar 2006 02:44:19 +0000 (UTC) (envelope-from wxs@syn.csh.rit.edu) Received: from syn.csh.rit.edu (syn.csh.rit.edu [129.21.60.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06E0643D46 for ; Sun, 19 Mar 2006 02:44:18 +0000 (GMT) (envelope-from wxs@syn.csh.rit.edu) Received: from syn.csh.rit.edu (localhost [127.0.0.1]) by syn.csh.rit.edu (8.13.4/8.13.4) with ESMTP id k2J2tw4k094026 for ; Sat, 18 Mar 2006 21:55:58 -0500 (EST) (envelope-from wxs@syn.csh.rit.edu) Received: (from wxs@localhost) by syn.csh.rit.edu (8.13.4/8.13.4/Submit) id k2J2tw7t094025; Sat, 18 Mar 2006 21:55:58 -0500 (EST) (envelope-from wxs) Message-Id: <200603190255.k2J2tw7t094025@syn.csh.rit.edu> Date: Sat, 18 Mar 2006 21:55:58 -0500 (EST) From: Wesley Shields To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/94672: [MAINTAINER]: Add libxml2 dependency to net/ntop X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Wesley Shields List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Mar 2006 02:50:15 -0000 >Number: 94672 >Category: ports >Synopsis: [MAINTAINER]: Add libxml2 dependency to net/ntop >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Mar 19 02:50:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Wesley Shields >Release: FreeBSD 6.0-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD syn 6.0-RELEASE-p2 FreeBSD 6.0-RELEASE-p2 #1: Wed Jan 11 11:57:33 EST 2006 root@syn:/usr/obj/usr/src/sys/GENERIC i386 >Description: As was pointed out to me by Andy Wettstein (ajw at physics.umn.edu) building the ntop package on a machine that has libxml2 already installed, and then installing that package on a machine without libxml2 causes ntop to not start with the following message: /libexec/ld-elf.so.1: Shared object "libxml2.so.5" not found, required by "ntop" To solve this I've added a dependency on textproc/libxml2. This does not unbreak the XMLDUMP option, however. The patch is attached, and thanks to Andy for pointing this out. >How-To-Repeat: N/A >Fix: diff -ruN net/ntop.orig/Makefile net/ntop/Makefile --- net/ntop.orig/Makefile Sat Mar 18 20:51:48 2006 +++ net/ntop/Makefile Sat Mar 18 20:52:25 2006 @@ -7,7 +7,7 @@ PORTNAME= ntop PORTVERSION= 3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -19,7 +19,8 @@ LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd \ gdbm.3:${PORTSDIR}/databases/gdbm \ - png.5:${PORTSDIR}/graphics/png + png.5:${PORTSDIR}/graphics/png \ + xml2.5:${PORTSDIR}/textproc/libxml2 DBDIR?= /var/db diff -ruN net/ntop.orig/pkg-plist net/ntop/pkg-plist --- net/ntop.orig/pkg-plist Sat Mar 18 20:51:48 2006 +++ net/ntop/pkg-plist Sat Mar 18 20:53:00 2006 @@ -15,14 +15,17 @@ lib/libmyrrd.so lib/libmyrrd-%%SHLIB%%.so lib/libmyrrd.a +lib/libmyrrd.la lib/libnetflowPlugin-%%SHLIB%%.so lib/libnetflowPlugin.a lib/libnetflowPlugin.so lib/libntop-%%SHLIB%%.so lib/libntop.a +lib/libntop.la lib/libntop.so lib/libntopreport-%%SHLIB%%.so lib/libntopreport.a +lib/libntopreport.la lib/libntopreport.so lib/libpdaPlugin-%%SHLIB%%.so lib/libpdaPlugin.a >Release-Note: >Audit-Trail: >Unformatted: