Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2013 20:31:13 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
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
Message-ID:  <201306162031.r5GKVDe1069623@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <sys/types.h>
+--- ./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 <sys/wait.h>
  #include <sys/timeb.h>
+ #include <sys/resource.h>
 +#ifdef __FreeBSD__
-+#include <sys/resource.h>
 +#include <arpa/inet.h>
 +#endif
  #include <netinet/ip.h>
@@ -16,7 +15,7 @@
  #include <fcntl.h>
  #include <string.h>
  
-@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306162031.r5GKVDe1069623>