ports/94672: [MAINTAINER]: Add libxml2 dependency to net/ntop
Wesley Shields
wxs at csh.rit.edu
Sun Mar 19 02:50:15 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list