From owner-svn-ports-head@FreeBSD.ORG Fri Apr 18 08:54:02 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 84BA2EE3; Fri, 18 Apr 2014 08:54:02 +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 57D0F1688; Fri, 18 Apr 2014 08:54:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3I8s2ih047530; Fri, 18 Apr 2014 08:54:02 GMT (envelope-from mat@svn.freebsd.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3I8s1x8047527; Fri, 18 Apr 2014 08:54:01 GMT (envelope-from mat@svn.freebsd.org) Message-Id: <201404180854.s3I8s1x8047527@svn.freebsd.org> From: Mathieu Arnold Date: Fri, 18 Apr 2014 08:54:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351522 - in head/net-mgmt/nagios: . 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.17 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: Fri, 18 Apr 2014 08:54:02 -0000 Author: mat Date: Fri Apr 18 08:54:01 2014 New Revision: 351522 URL: http://svnweb.freebsd.org/changeset/ports/351522 QAT: https://qat.redports.org/buildarchive/r351522/ Log: Fix a segfault when using livestatus, downtime and logrotate. Issue: http://tracker.nagios.org/view.php?id=455 Sponsored by: Absolight Added: head/net-mgmt/nagios/files/patch-0007-fix_downtime_struct (contents, props changed) Modified: head/net-mgmt/nagios/Makefile Modified: head/net-mgmt/nagios/Makefile ============================================================================== --- head/net-mgmt/nagios/Makefile Fri Apr 18 08:09:22 2014 (r351521) +++ head/net-mgmt/nagios/Makefile Fri Apr 18 08:54:01 2014 (r351522) @@ -3,7 +3,7 @@ PORTNAME= nagios PORTVERSION= 3.5.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3.x/${PORTNAME}-${PORTVERSION} Added: head/net-mgmt/nagios/files/patch-0007-fix_downtime_struct ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/nagios/files/patch-0007-fix_downtime_struct Fri Apr 18 08:54:01 2014 (r351522) @@ -0,0 +1,32 @@ +--- ./include/downtime.h.orig 2013-08-30 19:46:14.000000000 +0200 ++++ ./include/downtime.h 2014-04-18 10:49:26.000000000 +0200 +@@ -39,24 +39,26 @@ + char *service_description; + time_t entry_time; + time_t start_time; +- time_t flex_downtime_start; /* Time the flexible downtime started */ + time_t end_time; + int fixed; + unsigned long triggered_by; + unsigned long duration; + unsigned long downtime_id; +- int is_in_effect; +- int start_notification_sent; + char *author; + char *comment; + #ifdef NSCORE + unsigned long comment_id; ++#endif ++ int is_in_effect; ++#ifdef NSCORE + int start_flex_downtime; + int incremented_pending_downtime; + // int start_event; + // int stop_event; + #endif + struct scheduled_downtime_struct *next; ++ time_t flex_downtime_start; /* Time the flexible downtime started */ ++ int start_notification_sent; + } scheduled_downtime; + +