From owner-svn-ports-head@FreeBSD.ORG Thu May 14 09:08:22 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4C9809EF; Thu, 14 May 2015 09:08:22 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3B54213C7; Thu, 14 May 2015 09:08:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4E98MB2071091; Thu, 14 May 2015 09:08:22 GMT (envelope-from bofh@FreeBSD.org) Received: (from bofh@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4E98Llw071089; Thu, 14 May 2015 09:08:21 GMT (envelope-from bofh@FreeBSD.org) Message-Id: <201505140908.t4E98Llw071089@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bofh set sender to bofh@FreeBSD.org using -f From: Muhammad Moinur Rahman Date: Thu, 14 May 2015 09:08:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386306 - in head/net/ntopng: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2015 09:08:22 -0000 Author: bofh Date: Thu May 14 09:08:21 2015 New Revision: 386306 URL: https://svnweb.freebsd.org/changeset/ports/386306 Log: net/ntopng: Unbreak - ntopng broke due to linking with libzmq static library when built with PGM/CURVE PR: 198302 Submitted by: daniel.engberg.lists@pyret.net Sponsored by: Netgate Modified: head/net/ntopng/Makefile head/net/ntopng/files/patch-Makefile.in Modified: head/net/ntopng/Makefile ============================================================================== --- head/net/ntopng/Makefile Thu May 14 09:04:03 2015 (r386305) +++ head/net/ntopng/Makefile Thu May 14 09:08:21 2015 (r386306) @@ -3,7 +3,7 @@ PORTNAME= ntopng PORTVERSION= 1.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= SF/ntop/${PORTNAME} @@ -13,12 +13,10 @@ COMMENT= Network monitoring tool with co LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN= Fails to link - LIB_DEPENDS= librrd.so:${PORTSDIR}/databases/rrdtool \ libluajit-5.1.so:${PORTSDIR}/lang/luajit \ libndpi.so:${PORTSDIR}/net/ndpi \ - libzmq.so:${PORTSDIR}/net/libzmq3 + libzmq.so:${PORTSDIR}/net/libzmq4 GNU_CONFIGURE= yes USE_SQLITE= yes Modified: head/net/ntopng/files/patch-Makefile.in ============================================================================== --- head/net/ntopng/files/patch-Makefile.in Thu May 14 09:04:03 2015 (r386305) +++ head/net/ntopng/files/patch-Makefile.in Thu May 14 09:08:21 2015 (r386306) @@ -1,6 +1,6 @@ ---- Makefile.in.orig 2014-09-07 01:22:11.756545075 +0600 -+++ Makefile.in 2014-09-07 01:45:36.496401797 +0600 -@@ -6,67 +6,32 @@ +--- Makefile.in.orig 2015-05-13 13:29:47.790658000 -0500 ++++ Makefile.in 2015-05-13 13:30:08.207655000 -0500 +@@ -6,68 +6,28 @@ INSTALL_DIR=@INSTALL_DIR@ MAN_DIR=@MAN_DIR@ ###### @@ -70,19 +70,17 @@ - else - ZEROMQ_LIB = $(ZMQ_STATIC) - endif -+ZEROMQ_INC = $(shell pkg-config --cflags libzmq) -+ZMQ_STATIC=/usr/local/lib/libzmq.a -+ifeq ($(wildcard $(ZMQ_STATIC)),) -+ ZEROMQ_LIB = $(shell pkg-config --libs libzmq) - else +-else - ZEROMQ_HOME=./third-party/zeromq-3.2.4 - ZEROMQ_INC=-I$(ZEROMQ_HOME)/include - ZEROMQ_LIB=$(ZEROMQ_HOME)/src/.libs/libzmq.a -+ ZEROMQ_LIB = $(ZMQ_STATIC) - endif +-endif ++ZEROMQ_INC = $(shell pkg-config --cflags libzmq) ++ZEROMQ_LIB = $(shell pkg-config --libs libzmq) ###### EWH_HOME=third-party/EWAHBoolArray -@@ -91,22 +56,6 @@ + EWH_INC=$(EWH_HOME)/headers +@@ -91,22 +51,6 @@ LIB_TARGETS = @@ -105,7 +103,7 @@ .PHONY: default all clean docs test .NOTPARALLEL: default all -@@ -129,24 +78,6 @@ +@@ -129,24 +73,6 @@ $(TARGET): $(OBJECTS) $(LIBRRDTOOL) Makefile $(GPP) $(OBJECTS) -Wall $(LIBS) -o $@ @@ -130,7 +128,7 @@ clean: -rm -f *.o *~ svn-commit.* #config.h -rm -f $(TARGET) -@@ -156,10 +87,6 @@ +@@ -156,10 +82,6 @@ cat privkey.pem cert.pem > httpdocs/ssl/ntopng-cert.pem /bin/rm -f privkey.pem cert.pem @@ -141,7 +139,7 @@ geoip: httpdocs/geoip/GeoLiteCity.dat httpdocs/geoip/GeoLiteCityv6.dat httpdocs/geoip/GeoIPASNum.dat httpdocs/geoip/GeoIPASNumv6.dat httpdocs/geoip/GeoLiteCity.dat: -@@ -189,7 +116,6 @@ +@@ -189,7 +111,6 @@ cp -r doc *.cpp *.h configure COPYING README.* *.in ntopng.8 httpdocs scripts packages third-party ntopng-@NTOPNG_VERSION@ find ntopng-@NTOPNG_VERSION@ -name ".svn" | xargs /bin/rm -rf -rm ntopng-@NTOPNG_VERSION@/httpdocs/geoip/* @@ -149,7 +147,7 @@ tar cvfz ntopng-@NTOPNG_VERSION@.tgz ntopng-@NTOPNG_VERSION@ # rm -f $(HOME)/rpmbuild/RPMS/$(PLATFORM)/$(RPM_PKG) -@@ -232,21 +158,8 @@ +@@ -232,21 +153,8 @@ dist: rm -rf ntopng-@NTOPNG_VERSION@ mkdir ntopng-@NTOPNG_VERSION@