From owner-svn-ports-head@FreeBSD.ORG Mon Sep 22 20:58:47 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 072BFB80; Mon, 22 Sep 2014 20:58:47 +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 CB402832; Mon, 22 Sep 2014 20:58:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8MKwk2l016168; Mon, 22 Sep 2014 20:58:46 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8MKwg2C016148; Mon, 22 Sep 2014 20:58:42 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201409222058.s8MKwg2C016148@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Mon, 22 Sep 2014 20:58:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368997 - in head/net-mgmt/nagios4: . 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.18-1 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: Mon, 22 Sep 2014 20:58:47 -0000 Author: mat Date: Mon Sep 22 20:58:41 2014 New Revision: 368997 URL: http://svnweb.freebsd.org/changeset/ports/368997 QAT: https://qat.redports.org/buildarchive/r368997/ Log: Update to 4.0.8. Sponsored by: Absolight Added: head/net-mgmt/nagios4/files/patch-lib__runcmd.c (contents, props changed) Deleted: head/net-mgmt/nagios4/files/patch-configure.in Modified: head/net-mgmt/nagios4/Makefile head/net-mgmt/nagios4/distinfo head/net-mgmt/nagios4/files/extra-patch-html__side.php head/net-mgmt/nagios4/files/patch-Makefile.in head/net-mgmt/nagios4/files/patch-base__Makefile.in head/net-mgmt/nagios4/files/patch-cgi__Makefile.in head/net-mgmt/nagios4/files/patch-contrib__Makefile.in head/net-mgmt/nagios4/files/patch-html__Makefile.in head/net-mgmt/nagios4/files/patch-html__index.php head/net-mgmt/nagios4/files/patch-html__main.php head/net-mgmt/nagios4/files/patch-include__locations.h.in head/net-mgmt/nagios4/files/patch-sample-config__cgi.cfg.in head/net-mgmt/nagios4/files/patch-sample-config__nagios.cfg.in head/net-mgmt/nagios4/files/patch-sample-config__template-object__localhost.cfg.in head/net-mgmt/nagios4/files/patch-sample-config__template-object__templates.cfg.in head/net-mgmt/nagios4/pkg-plist Modified: head/net-mgmt/nagios4/Makefile ============================================================================== --- head/net-mgmt/nagios4/Makefile Mon Sep 22 20:20:20 2014 (r368996) +++ head/net-mgmt/nagios4/Makefile Mon Sep 22 20:58:41 2014 (r368997) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= nagios -PORTVERSION= 4.0.7 -PORTREVISION= 1 +PORTVERSION= 4.0.8 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-4.x/${PORTNAME}-${PORTVERSION} PKGNAMESUFFIX= 4 @@ -18,7 +17,6 @@ LIB_DEPENDS= libltdl.so:${PORTSDIR}/deve USES= gmake iconv perl5 uidfix USE_PERL5= build -USE_AUTOTOOLS= autoconf USE_PHP= xml USE_RC_SUBR= nagios @@ -33,7 +31,6 @@ CONFIGURE_ARGS= --with-command-user=${NA --with-cgiurl=${NAGIOSCGIURL} \ --sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \ --libexecdir=${PREFIX}/libexec/nagios \ - --datarootdir=${PREFIX}/${NAGIOSWWWDIR} \ --datadir=${PREFIX}/${NAGIOSWWWDIR} \ --sysconfdir=${PREFIX}/etc/nagios \ --localstatedir=${NAGIOSDIR} \ @@ -91,6 +88,9 @@ NANOSLEEP_CONFIGURE_ENABLE= nanosleep # 's#;hostprops=42\"#;hostprops=10\"#g' ${WRKSRC}/html/side.php UNHANDLED_HACK_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-html__side.php +post-patch: + @${REINPLACE_CMD} '/^INSTALL_OPTS=/d;/COMMAND_OPTS=/d' ${WRKSRC}/configure + post-install: @${MV} ${STAGEDIR}${PREFIX}/${NAGIOSWWWDIR}/config.inc.php ${STAGEDIR}${PREFIX}/${NAGIOSWWWDIR}/config.inc.php.sample Modified: head/net-mgmt/nagios4/distinfo ============================================================================== --- head/net-mgmt/nagios4/distinfo Mon Sep 22 20:20:20 2014 (r368996) +++ head/net-mgmt/nagios4/distinfo Mon Sep 22 20:58:41 2014 (r368997) @@ -1,2 +1,2 @@ -SHA256 (nagios-4.0.7.tar.gz) = ef1de1d106f6572a88547f3ed37a744c5d4fa778859ce44fc9043da597c50799 -SIZE (nagios-4.0.7.tar.gz) = 1798034 +SHA256 (nagios-4.0.8.tar.gz) = 8b268d250c97851775abe162f46f64724f95f367d752ae4630280cc5d368ca4b +SIZE (nagios-4.0.8.tar.gz) = 1805059 Modified: head/net-mgmt/nagios4/files/extra-patch-html__side.php ============================================================================== --- head/net-mgmt/nagios4/files/extra-patch-html__side.php Mon Sep 22 20:20:20 2014 (r368996) +++ head/net-mgmt/nagios4/files/extra-patch-html__side.php Mon Sep 22 20:58:41 2014 (r368997) @@ -1,5 +1,5 @@ ---- ./html/side.php.orig 2014-06-03 16:41:42.000000000 +0200 -+++ ./html/side.php 2014-06-09 12:08:47.000000000 +0200 +--- html/side.php.orig 2014-08-12 15:00:01 UTC ++++ html/side.php @@ -56,8 +56,8 @@
  • /status.cgi?host=all&servicestatustypes=28" target="">Problems Modified: head/net-mgmt/nagios4/files/patch-Makefile.in ============================================================================== --- head/net-mgmt/nagios4/files/patch-Makefile.in Mon Sep 22 20:20:20 2014 (r368996) +++ head/net-mgmt/nagios4/files/patch-Makefile.in Mon Sep 22 20:58:41 2014 (r368997) @@ -1,5 +1,5 @@ ---- ./Makefile.in.orig 2014-06-03 16:41:42.000000000 +0200 -+++ ./Makefile.in 2014-06-05 16:54:17.000000000 +0200 +--- Makefile.in.orig 2014-08-12 15:00:01 UTC ++++ Makefile.in @@ -245,11 +245,10 @@ $(MAKE) install-basic Modified: head/net-mgmt/nagios4/files/patch-base__Makefile.in ============================================================================== --- head/net-mgmt/nagios4/files/patch-base__Makefile.in Mon Sep 22 20:20:20 2014 (r368996) +++ head/net-mgmt/nagios4/files/patch-base__Makefile.in Mon Sep 22 20:58:41 2014 (r368997) @@ -1,5 +1,5 @@ ---- ./base/Makefile.in.orig 2013-11-25 14:16:25.000000000 +0000 -+++ ./base/Makefile.in 2014-01-24 22:43:21.000000000 +0000 +--- base/Makefile.in.orig 2014-08-12 15:00:01 UTC ++++ base/Makefile.in @@ -180,9 +180,9 @@ $(MAKE) install-basic Modified: head/net-mgmt/nagios4/files/patch-cgi__Makefile.in ============================================================================== --- head/net-mgmt/nagios4/files/patch-cgi__Makefile.in Mon Sep 22 20:20:20 2014 (r368996) +++ head/net-mgmt/nagios4/files/patch-cgi__Makefile.in Mon Sep 22 20:58:41 2014 (r368997) @@ -1,6 +1,6 @@ ---- ./cgi/Makefile.in.orig 2013-11-25 14:16:25.000000000 +0000 -+++ ./cgi/Makefile.in 2014-01-24 22:43:36.000000000 +0000 -@@ -182,9 +182,9 @@ +--- cgi/Makefile.in.orig 2014-08-12 15:00:01 UTC ++++ cgi/Makefile.in +@@ -201,9 +201,9 @@ $(MAKE) install-basic install-basic: Modified: head/net-mgmt/nagios4/files/patch-contrib__Makefile.in ============================================================================== --- head/net-mgmt/nagios4/files/patch-contrib__Makefile.in Mon Sep 22 20:20:20 2014 (r368996) +++ head/net-mgmt/nagios4/files/patch-contrib__Makefile.in Mon Sep 22 20:58:41 2014 (r368997) @@ -1,5 +1,5 @@ ---- ./contrib/Makefile.in.orig 2013-11-25 14:16:25.000000000 +0000 -+++ ./contrib/Makefile.in 2014-01-24 22:44:01.000000000 +0000 +--- contrib/Makefile.in.orig 2014-08-12 15:00:01 UTC ++++ contrib/Makefile.in @@ -52,10 +52,10 @@ devclean: distclean Modified: head/net-mgmt/nagios4/files/patch-html__Makefile.in ============================================================================== --- head/net-mgmt/nagios4/files/patch-html__Makefile.in Mon Sep 22 20:20:20 2014 (r368996) +++ head/net-mgmt/nagios4/files/patch-html__Makefile.in Mon Sep 22 20:58:41 2014 (r368997) @@ -1,5 +1,5 @@ ---- ./html/Makefile.in.orig 2014-04-29 17:55:49.000000000 +0200 -+++ ./html/Makefile.in 2014-05-06 15:38:27.000000000 +0200 +--- html/Makefile.in.orig 2014-08-12 15:00:01 UTC ++++ html/Makefile.in @@ -35,58 +35,58 @@ devclean: distclean Modified: head/net-mgmt/nagios4/files/patch-html__index.php ============================================================================== --- head/net-mgmt/nagios4/files/patch-html__index.php Mon Sep 22 20:20:20 2014 (r368996) +++ head/net-mgmt/nagios4/files/patch-html__index.php Mon Sep 22 20:58:41 2014 (r368997) @@ -1,5 +1,5 @@ ---- ./html/index.php.orig 2014-06-03 16:41:42.000000000 +0200 -+++ ./html/index.php 2014-06-05 12:49:28.000000000 +0200 +--- html/index.php.orig 2014-08-12 15:00:01 UTC ++++ html/index.php @@ -1,6 +1,7 @@ Nagios® Core
    Version
    -
    June 03, 2014
    +
    August 12, 2014
    - - - Modified: head/net-mgmt/nagios4/files/patch-include__locations.h.in ============================================================================== --- head/net-mgmt/nagios4/files/patch-include__locations.h.in Mon Sep 22 20:20:20 2014 (r368996) +++ head/net-mgmt/nagios4/files/patch-include__locations.h.in Mon Sep 22 20:58:41 2014 (r368997) @@ -1,5 +1,5 @@ ---- ./include/locations.h.in.orig 2013-11-25 14:16:25.000000000 +0000 -+++ ./include/locations.h.in 2014-01-24 22:40:43.000000000 +0000 +--- include/locations.h.in.orig 2014-08-12 15:00:01 UTC ++++ include/locations.h.in @@ -19,7 +19,7 @@ #define DEFAULT_TEMP_FILE "@localstatedir@/tempfile" Added: head/net-mgmt/nagios4/files/patch-lib__runcmd.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/nagios4/files/patch-lib__runcmd.c Mon Sep 22 20:58:41 2014 (r368997) @@ -0,0 +1,11 @@ +--- lib/runcmd.c.orig 2014-08-12 15:00:01 UTC ++++ lib/runcmd.c +@@ -36,7 +36,7 @@ + #endif + + /* Determine whether we have setenv()/unsetenv() (see setenv(3) on Linux) */ +-#if _BSD_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 ++#if __FreeBSD__ || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 + # define HAVE_SETENV + #endif + Modified: head/net-mgmt/nagios4/files/patch-sample-config__cgi.cfg.in ============================================================================== --- head/net-mgmt/nagios4/files/patch-sample-config__cgi.cfg.in Mon Sep 22 20:20:20 2014 (r368996) +++ head/net-mgmt/nagios4/files/patch-sample-config__cgi.cfg.in Mon Sep 22 20:58:41 2014 (r368997) @@ -1,5 +1,5 @@ ---- ./sample-config/cgi.cfg.in.orig 2013-11-25 14:16:25.000000000 +0000 -+++ ./sample-config/cgi.cfg.in 2014-01-24 22:40:43.000000000 +0000 +--- sample-config/cgi.cfg.in.orig 2014-08-12 15:00:01 UTC ++++ sample-config/cgi.cfg.in @@ -263,7 +263,7 @@ # OS and distribution, so you may have to tweak this to # work on your system. Modified: head/net-mgmt/nagios4/files/patch-sample-config__nagios.cfg.in ============================================================================== --- head/net-mgmt/nagios4/files/patch-sample-config__nagios.cfg.in Mon Sep 22 20:20:20 2014 (r368996) +++ head/net-mgmt/nagios4/files/patch-sample-config__nagios.cfg.in Mon Sep 22 20:58:41 2014 (r368997) @@ -1,5 +1,5 @@ ---- ./sample-config/nagios.cfg.in.orig 2013-11-25 14:16:25.000000000 +0000 -+++ ./sample-config/nagios.cfg.in 2014-01-24 22:40:43.000000000 +0000 +--- sample-config/nagios.cfg.in.orig 2014-08-12 15:00:01 UTC ++++ sample-config/nagios.cfg.in @@ -31,7 +31,7 @@ cfg_file=@sysconfdir@/objects/timeperiods.cfg cfg_file=@sysconfdir@/objects/templates.cfg Modified: head/net-mgmt/nagios4/files/patch-sample-config__template-object__localhost.cfg.in ============================================================================== --- head/net-mgmt/nagios4/files/patch-sample-config__template-object__localhost.cfg.in Mon Sep 22 20:20:20 2014 (r368996) +++ head/net-mgmt/nagios4/files/patch-sample-config__template-object__localhost.cfg.in Mon Sep 22 20:58:41 2014 (r368997) @@ -1,5 +1,5 @@ ---- ./sample-config/template-object/localhost.cfg.in.orig 2013-11-25 14:16:25.000000000 +0000 -+++ ./sample-config/template-object/localhost.cfg.in 2014-01-24 22:40:43.000000000 +0000 +--- sample-config/template-object/localhost.cfg.in.orig 2014-08-12 15:00:01 UTC ++++ sample-config/template-object/localhost.cfg.in @@ -4,7 +4,7 @@ # # NOTE: This config file is intended to serve as an *extremely* simple Modified: head/net-mgmt/nagios4/files/patch-sample-config__template-object__templates.cfg.in ============================================================================== --- head/net-mgmt/nagios4/files/patch-sample-config__template-object__templates.cfg.in Mon Sep 22 20:20:20 2014 (r368996) +++ head/net-mgmt/nagios4/files/patch-sample-config__template-object__templates.cfg.in Mon Sep 22 20:58:41 2014 (r368997) @@ -1,5 +1,5 @@ ---- ./sample-config/template-object/templates.cfg.in.orig 2013-11-25 14:16:25.000000000 +0000 -+++ ./sample-config/template-object/templates.cfg.in 2014-01-24 22:40:43.000000000 +0000 +--- sample-config/template-object/templates.cfg.in.orig 2014-08-12 15:00:01 UTC ++++ sample-config/template-object/templates.cfg.in @@ -61,17 +61,17 @@ } Modified: head/net-mgmt/nagios4/pkg-plist ============================================================================== --- head/net-mgmt/nagios4/pkg-plist Mon Sep 22 20:20:20 2014 (r368996) +++ head/net-mgmt/nagios4/pkg-plist Mon Sep 22 20:58:41 2014 (r368997) @@ -1,7 +1,3 @@ -@exec install -d %D/%%NAGIOSWWWDIR%%/ssi -@exec install -d -m 775 -o %%NAGIOSUSER%% -g %%NAGIOSGROUP%% %%NAGIOSDIR%% %%NAGIOSDIR%%/archives -@exec install -d -m 2775 -o %%NAGIOSUSER%% -g %%NAGIOSGROUP%% %%NAGIOSDIR%%/checkresults -@exec install -d -m 775 -o %%NAGIOSUSER%% -g %%WWWGRP%% %%NAGIOSDIR%%/rw bin/nagios bin/nagiostats %%ETCDIR%%/cgi.cfg-sample @@ -385,26 +381,10 @@ bin/nagiostats %%NAGIOSWWWDIR%%/stylesheets/summary.css %%NAGIOSWWWDIR%%/stylesheets/tac.css %%NAGIOSWWWDIR%%/stylesheets/trends.css -@dirrmtry %%ETCDIR%%/objects -@dirrmtry %%ETCDIR%% -@dirrmtry libexec/nagios -@dirrm %%NAGIOSWWWDIR%%/cgi-bin -@dirrm %%NAGIOSWWWDIR%%/contexthelp -@dirrm %%NAGIOSWWWDIR%%/docs/images -@dirrm %%NAGIOSWWWDIR%%/docs -@dirrm %%NAGIOSWWWDIR%%/images/logos -@dirrm %%NAGIOSWWWDIR%%/images -@dirrm %%NAGIOSWWWDIR%%/includes/rss/extlib -@dirrm %%NAGIOSWWWDIR%%/includes/rss -@dirrm %%NAGIOSWWWDIR%%/includes -@dirrm %%NAGIOSWWWDIR%%/js -@dirrm %%NAGIOSWWWDIR%%/media -@dirrm %%NAGIOSWWWDIR%%/ssi -@dirrm %%NAGIOSWWWDIR%%/stylesheets -@dirrmtry %%NAGIOSWWWDIR%% -@dirrmtry %%NAGIOSDIR%%/archives -@dirrmtry %%NAGIOSDIR%%/checkresults -@dirrmtry %%NAGIOSDIR%%/rw -@dirrmtry %%NAGIOSDIR%% +@dir %%NAGIOSWWWDIR%%/ssi +@dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,775) %%NAGIOSDIR%%/archives +@dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,2775) %%NAGIOSDIR%%/checkresults +@dir(%%NAGIOSUSER%%,%%WWWGRP%%,775) %%NAGIOSDIR%%/rw +@dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,775) %%NAGIOSDIR%% @unexec if [ -d %%NAGIOSDIR%% ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf %%NAGIOSDIR%%`` to remove any files left behind."; fi @unexec if [ -d %%ETCDIR%% ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf %%ETCDIR%%`` to remove any configuration files."; fi