From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 28 22:40:05 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 835FD1065685 for ; Thu, 28 Feb 2008 22:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 511C68FC1B for ; Thu, 28 Feb 2008 22:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1SMe5wL091712 for ; Thu, 28 Feb 2008 22:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1SMe5mN091711; Thu, 28 Feb 2008 22:40:05 GMT (envelope-from gnats) Resent-Date: Thu, 28 Feb 2008 22:40:05 GMT Resent-Message-Id: <200802282240.m1SMe5mN091711@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, "Douglas K. Rand" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D96A1065671 for ; Thu, 28 Feb 2008 22:36:11 +0000 (UTC) (envelope-from rand@meridian-enviro.com) Received: from newman.meridian-enviro.com (newman.meridian-enviro.com [12.192.92.56]) by mx1.freebsd.org (Postfix) with ESMTP id EA6298FC17 for ; Thu, 28 Feb 2008 22:36:10 +0000 (UTC) (envelope-from rand@meridian-enviro.com) Received: from cliff.meridian-enviro.com (cliff.meridian-enviro.com [10.10.10.15]) by newman.meridian-enviro.com (8.13.6/8.13.6) with ESMTP id m1SMPlLC019837 for ; Thu, 28 Feb 2008 16:25:47 -0600 (CST) (envelope-from rand@meridian-enviro.com) Received: (from root@localhost) by cliff.meridian-enviro.com (8.13.8/8.13.8/Submit) id m1SMPlEc004568; Thu, 28 Feb 2008 16:25:47 -0600 (CST) (envelope-from rand) Message-Id: <200802282225.m1SMPlEc004568@cliff.meridian-enviro.com> Date: Thu, 28 Feb 2008 16:25:47 -0600 (CST) From: "Douglas K. Rand" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/121190: [maintainer] port net-mgmt/nagcon unfetchable, upgrade from 0.0.15 to 0.0.26 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Douglas K. Rand" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2008 22:40:05 -0000 >Number: 121190 >Category: ports >Synopsis: [maintainer] port net-mgmt/nagcon unfetchable, upgrade from 0.0.15 to 0.0.26 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Feb 28 22:40:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Douglas K. Rand >Release: FreeBSD 6.2-RELEASE-p3 i386 >Organization: Meridian Environmental Technology, Inc. >Environment: System: FreeBSD cliff.meridian-enviro.com 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #35: Tue Apr 24 14:18:51 CDT 2007 rand@clavin.meridian-enviro.com:/usr/obj/usr/src/sys/CLIFF i386 >Description: The old 0.0.15 release of nagcon isn't fetchable anymore, here is an update to the 0.0.26 release, which also supports Nagios 3.0 (net-mgmt/nagios-devel). The inclusion of devel/libstrfunc is because the nagcon author uses strndup in one place, and in that place the limiting count actually trims a newline from the string being copied. >How-To-Repeat: Try to install net-mgmt/nagios >Fix: diff -urN nagcon.old/Makefile nagcon/Makefile --- nagcon.old/Makefile Thu May 11 11:31:51 2006 +++ nagcon/Makefile Thu Feb 28 15:21:17 2008 @@ -6,14 +6,18 @@ # PORTNAME= nagcon -PORTVERSION= 0.0.15 +PORTVERSION= 0.0.26 PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= http://www.vanheusden.com/nagcon/ EXTRACT_SUFX= .tgz MAINTAINER= rand@meridian-enviro.com -COMMENT= Nagios 2.0 console monitor +COMMENT= Nagios console monitor + +LIB_DEPENDS= strfunc.9:${PORTSDIR}/devel/libstrfunc + +CFLAGS+= -I${LOCALBASE}/include USE_GMAKE= YES PLIST_FILES= bin/nagcon diff -urN nagcon.old/distinfo nagcon/distinfo --- nagcon.old/distinfo Thu May 11 10:54:11 2006 +++ nagcon/distinfo Thu Feb 28 14:37:44 2008 @@ -1,3 +1,3 @@ -MD5 (nagcon-0.0.15.tgz) = 05e40346aa7c7aa3b831595df057db87 -SHA256 (nagcon-0.0.15.tgz) = 467b2ba1ef265d3990d5aff14874c0c8249161be1d89cde8dda4376197fe3dc2 -SIZE (nagcon-0.0.15.tgz) = 13487 +MD5 (nagcon-0.0.26.tgz) = 695387e635e42943fc4a8e1ec82d5cda +SHA256 (nagcon-0.0.26.tgz) = cb075a804a699dede1eab7497d2819b90ce5bd6440286468294c4159a531d7ef +SIZE (nagcon-0.0.26.tgz) = 15343 diff -urN nagcon.old/files/patch-Makefile nagcon/files/patch-Makefile --- nagcon.old/files/patch-Makefile Wed Dec 31 18:00:00 1969 +++ nagcon/files/patch-Makefile Thu Feb 28 15:22:24 2008 @@ -0,0 +1,11 @@ +--- Makefile.orig Thu Feb 28 15:21:35 2008 ++++ Makefile Thu Feb 28 15:22:08 2008 +@@ -3,7 +3,7 @@ + DEBUG= # -D_DEBUG -g -fprofile-arcs -ftest-coverage # -pg -g + CXXFLAGS+=-Wall -g -O2 -DVERSION=\"${VERSION}\" $(DEBUG) + CFLAGS+=${CXXFLAGS} +-LDFLAGS+=$(DEBUG) -lncurses -lstdc++ ++LDFLAGS+=$(DEBUG) -lncurses -lstdc++ -L/usr/local/lib -lstrfunc + + OBJS=error.o utils.o br.o nc.o pl.o + diff -urN nagcon.old/files/patch-br.cpp nagcon/files/patch-br.cpp --- nagcon.old/files/patch-br.cpp Wed Dec 31 18:00:00 1969 +++ nagcon/files/patch-br.cpp Thu Feb 28 15:18:36 2008 @@ -0,0 +1,10 @@ +--- br.cpp.orig Thu Feb 28 15:12:00 2008 ++++ br.cpp Thu Feb 28 15:12:12 2008 +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + #include "br.h" + + buffered_reader::buffered_reader(int cur_fd, int cur_block_size) diff -urN nagcon.old/files/patch-utils.cpp nagcon/files/patch-utils.cpp --- nagcon.old/files/patch-utils.cpp Wed Dec 31 18:00:00 1969 +++ nagcon/files/patch-utils.cpp Thu Feb 28 15:19:09 2008 @@ -0,0 +1,12 @@ +--- utils.cpp.orig Thu Feb 28 14:48:39 2008 ++++ utils.cpp Thu Feb 28 15:11:48 2008 +@@ -29,6 +29,9 @@ + #include + #include + #include ++#include ++#include ++#include + extern "C" { + #include "error.h" + } diff -urN nagcon.old/pkg-descr nagcon/pkg-descr --- nagcon.old/pkg-descr Wed Mar 29 20:51:52 2006 +++ nagcon/pkg-descr Thu Feb 28 15:23:43 2008 @@ -1,4 +1,4 @@ -Nagcon is a console application interfacing to Nagios 2.0 which gives -you an overview of all services with troubled services. +Nagcon is a console application interfacing to Nagios 2.0 and 3.0 +which gives you an overview of all services with troubled services. WWW: http://www.vanheusden.com/nagcon >Release-Note: >Audit-Trail: >Unformatted: