From owner-svn-ports-head@FreeBSD.ORG Sun Jun 16 20:31:14 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C795D198; Sun, 16 Jun 2013 20:31:14 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id AAC5417EA; Sun, 16 Jun 2013 20:31:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5GKVEos069627; Sun, 16 Jun 2013 20:31:14 GMT (envelope-from ohauer@svn.freebsd.org) Received: (from ohauer@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5GKVDe1069623; Sun, 16 Jun 2013 20:31:13 GMT (envelope-from ohauer@svn.freebsd.org) Message-Id: <201306162031.r5GKVDe1069623@svn.freebsd.org> From: Olli Hauer Date: Sun, 16 Jun 2013 20:31:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321075 - in head/net-mgmt/mk-livestatus: . 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.14 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: Sun, 16 Jun 2013 20:31:14 -0000 Author: ohauer Date: Sun Jun 16 20:31:13 2013 New Revision: 321075 URL: http://svnweb.freebsd.org/changeset/ports/321075 Log: - update to 1.2.2p2 Changes: ========== 1.2.p1 livestatus.log: show utf-8 decoding problems only with debug logging >=2 1.2.b6 FIX: memory leak when removing downtime / comment 1.2.b5 FIX: possible crash with VERY long downtime comments FIX: now able to handle equal comment id of host and service 1.2.b1 Add: new column in hosts/services table: comments_with_extra_info Adds the entry type and entry time 1.2.1i4 FIX: Changed logging output "Time to process request" to be debug output 1.2.1i2 Added new table statehist, used for SLA queries Added new column check_command_expanded in table hosts Added new column check_command_expanded in table services New columns livestatus_threads, livestatus_{active,queued}_connections 1.2.0p4 FIX: fix two problems when reloading module in Icinga (thanks to Ronny Biering) Mulitisite Added: head/net-mgmt/mk-livestatus/files/patch-src__Makefile.in - copied, changed from r321062, head/net-mgmt/mk-livestatus/files/patch-src-Makefile.in Deleted: head/net-mgmt/mk-livestatus/files/patch-src-Makefile.in Modified: head/net-mgmt/mk-livestatus/Makefile head/net-mgmt/mk-livestatus/distinfo head/net-mgmt/mk-livestatus/files/patch-src__livecheck.c Modified: head/net-mgmt/mk-livestatus/Makefile ============================================================================== --- head/net-mgmt/mk-livestatus/Makefile Sun Jun 16 20:05:12 2013 (r321074) +++ head/net-mgmt/mk-livestatus/Makefile Sun Jun 16 20:31:13 2013 (r321075) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= mk-livestatus -PORTVERSION= 1.2.0p3 -PORTREVISION= 1 +PORTVERSION= 1.2.2p2 CATEGORIES= net-mgmt MASTER_SITES= http://mathias-kettner.de/download/ \ LOCAL/ohauer Modified: head/net-mgmt/mk-livestatus/distinfo ============================================================================== --- head/net-mgmt/mk-livestatus/distinfo Sun Jun 16 20:05:12 2013 (r321074) +++ head/net-mgmt/mk-livestatus/distinfo Sun Jun 16 20:31:13 2013 (r321075) @@ -1,2 +1,2 @@ -SHA256 (check_mk/mk-livestatus-1.2.0p3.tar.gz) = 92e19813c1543ca153c19403cd82fd5d8705954e583b51e20f7e84cfb730ef34 -SIZE (check_mk/mk-livestatus-1.2.0p3.tar.gz) = 371779 +SHA256 (check_mk/mk-livestatus-1.2.2p2.tar.gz) = 77213f22898cd6280196293743e9ef9486ffccca878350ed277d358146a6d0b5 +SIZE (check_mk/mk-livestatus-1.2.2p2.tar.gz) = 382165 Copied and modified: head/net-mgmt/mk-livestatus/files/patch-src__Makefile.in (from r321062, head/net-mgmt/mk-livestatus/files/patch-src-Makefile.in) ============================================================================== --- head/net-mgmt/mk-livestatus/files/patch-src-Makefile.in Sun Jun 16 17:12:34 2013 (r321062, copy source) +++ head/net-mgmt/mk-livestatus/files/patch-src__Makefile.in Sun Jun 16 20:31:13 2013 (r321075) @@ -1,6 +1,6 @@ ---- src/Makefile.in.orig 2010-04-06 12:02:18.000000000 +0000 -+++ src/Makefile.in 2010-04-06 12:03:10.000000000 +0000 -@@ -227,7 +227,7 @@ +--- ./src/Makefile.in.orig 2013-06-10 14:49:28.000000000 +0200 ++++ ./src/Makefile.in 2013-06-16 22:13:23.000000000 +0200 +@@ -264,7 +264,7 @@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ @@ -9,4 +9,11 @@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ - +@@ -1966,7 +1966,6 @@ + $(INSTALL_PROGRAM) livestatus.o $(DESTDIR)$(pkglibdir) + rm -f $(DESTDIR)$(pkglibdir)/livestatus.so + $(INSTALL_PROGRAM) livecheck $(DESTDIR)$(pkglibdir) +- rm -f $(DESTDIR)$(bindir)/livecheck + + clean-local: + rm -f *~ Modified: head/net-mgmt/mk-livestatus/files/patch-src__livecheck.c ============================================================================== --- head/net-mgmt/mk-livestatus/files/patch-src__livecheck.c Sun Jun 16 20:05:12 2013 (r321074) +++ head/net-mgmt/mk-livestatus/files/patch-src__livecheck.c Sun Jun 16 20:31:13 2013 (r321075) @@ -1,11 +1,10 @@ ---- ./src/livecheck.c.orig 2012-03-09 11:12:44.000000000 +0100 -+++ ./src/livecheck.c 2012-11-03 13:12:14.000000000 +0100 -@@ -26,8 +26,15 @@ - #include +--- ./src/livecheck.c.orig 2013-06-10 14:49:02.000000000 +0200 ++++ ./src/livecheck.c 2013-06-16 22:13:23.000000000 +0200 +@@ -27,8 +27,14 @@ #include #include + #include +#ifdef __FreeBSD__ -+#include +#include +#endif #include @@ -16,7 +15,7 @@ #include #include -@@ -79,8 +86,13 @@ +@@ -80,8 +86,13 @@ } int is_host_check = service[0] == '\n'; @@ -27,10 +26,10 @@ + struct timeval start; + gettimeofday(&start); +#endif - char output[8192]; + char output[16384]; int return_code; - -@@ -175,8 +187,13 @@ + // Optimization(1): +@@ -188,8 +199,13 @@ } } } @@ -44,9 +43,9 @@ char template[256]; snprintf(template, sizeof(template), "%s/cXXXXXX", check_result_path); int fd = mkstemp(template); -@@ -199,10 +216,17 @@ +@@ -212,10 +228,17 @@ getpid(), - is_host_check ? 0 : 1, + 0, latency, +#ifndef __FreeBSD__ (int)start.time, @@ -59,6 +58,6 @@ + (int)end.tv_sec, + end.tv_usec / 1000, +#endif - return_code, - output); - fchown(fd, real_uid, real_gid); + return_code); + char *ptr_output = output; + char *ptr_walk = output;