From owner-svn-ports-head@freebsd.org Fri Jan 15 16:04:18 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 519E0A8488D; Fri, 15 Jan 2016 16:04:18 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 2CF9A1A03; Fri, 15 Jan 2016 16:04:18 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0FG4HLp086220; Fri, 15 Jan 2016 16:04:17 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0FG4G3B086213; Fri, 15 Jan 2016 16:04:16 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201601151604.u0FG4G3B086213@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Fri, 15 Jan 2016 16:04:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r406169 - in head/net-mgmt/nagios-plugins: . 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.20 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, 15 Jan 2016 16:04:18 -0000 Author: mat Date: Fri Jan 15 16:04:16 2016 New Revision: 406169 URL: https://svnweb.freebsd.org/changeset/ports/406169 Log: Fix build and runtime with openssl with SSLv3 disabled. While there, rename patches. PR: 206263 Submitted by: chris chrullrich net Sponsored by: Absolight Added: head/net-mgmt/nagios-plugins/files/patch-plugins-scripts_check__ircd.pl - copied, changed from r406168, head/net-mgmt/nagios-plugins/files/patch-plugins-scripts__check_ircd.pl head/net-mgmt/nagios-plugins/files/patch-plugins-scripts_check__ntp.pl - copied, changed from r406168, head/net-mgmt/nagios-plugins/files/patch-plugins-scripts__check_ntp.pl head/net-mgmt/nagios-plugins/files/patch-plugins_check__pgsql.c - copied, changed from r406168, head/net-mgmt/nagios-plugins/files/patch-plugins__check_pgsql.c head/net-mgmt/nagios-plugins/files/patch-plugins_check__ssh.c - copied, changed from r406168, head/net-mgmt/nagios-plugins/files/patch-plugins__check_ssh.c head/net-mgmt/nagios-plugins/files/patch-plugins_sslutils.c (contents, props changed) Deleted: head/net-mgmt/nagios-plugins/files/patch-plugins-scripts__check_ircd.pl head/net-mgmt/nagios-plugins/files/patch-plugins-scripts__check_ntp.pl head/net-mgmt/nagios-plugins/files/patch-plugins__check_pgsql.c head/net-mgmt/nagios-plugins/files/patch-plugins__check_ssh.c Modified: head/net-mgmt/nagios-plugins/Makefile head/net-mgmt/nagios-plugins/files/patch-plugins-scripts_check__file__age.pl Modified: head/net-mgmt/nagios-plugins/Makefile ============================================================================== --- head/net-mgmt/nagios-plugins/Makefile Fri Jan 15 15:40:36 2016 (r406168) +++ head/net-mgmt/nagios-plugins/Makefile Fri Jan 15 16:04:16 2016 (r406169) @@ -3,7 +3,7 @@ PORTNAME= nagios-plugins PORTVERSION= 2.1.1 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= net-mgmt MASTER_SITES= https://www.nagios-plugins.org/download/ \ Modified: head/net-mgmt/nagios-plugins/files/patch-plugins-scripts_check__file__age.pl ============================================================================== --- head/net-mgmt/nagios-plugins/files/patch-plugins-scripts_check__file__age.pl Fri Jan 15 15:40:36 2016 (r406168) +++ head/net-mgmt/nagios-plugins/files/patch-plugins-scripts_check__file__age.pl Fri Jan 15 16:04:16 2016 (r406169) @@ -1,4 +1,4 @@ ---- plugins-scripts/check_file_age.pl.orig 2015-09-08 21:18:08 UTC +--- plugins-scripts/check_file_age.pl.orig 2015-07-30 21:40:06 UTC +++ plugins-scripts/check_file_age.pl @@ -26,7 +26,8 @@ use English; use Getopt::Long; Copied and modified: head/net-mgmt/nagios-plugins/files/patch-plugins-scripts_check__ircd.pl (from r406168, head/net-mgmt/nagios-plugins/files/patch-plugins-scripts__check_ircd.pl) ============================================================================== Copied and modified: head/net-mgmt/nagios-plugins/files/patch-plugins-scripts_check__ntp.pl (from r406168, head/net-mgmt/nagios-plugins/files/patch-plugins-scripts__check_ntp.pl) ============================================================================== Copied and modified: head/net-mgmt/nagios-plugins/files/patch-plugins_check__pgsql.c (from r406168, head/net-mgmt/nagios-plugins/files/patch-plugins__check_pgsql.c) ============================================================================== Copied and modified: head/net-mgmt/nagios-plugins/files/patch-plugins_check__ssh.c (from r406168, head/net-mgmt/nagios-plugins/files/patch-plugins__check_ssh.c) ============================================================================== Added: head/net-mgmt/nagios-plugins/files/patch-plugins_sslutils.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/nagios-plugins/files/patch-plugins_sslutils.c Fri Jan 15 16:04:16 2016 (r406169) @@ -0,0 +1,16 @@ +--- plugins/sslutils.c.orig 2015-07-30 21:40:06 UTC ++++ plugins/sslutils.c +@@ -70,8 +70,13 @@ int np_net_ssl_init_with_hostname_versio + #endif + break; + case 3: /* SSLv3 protocol */ ++#if defined(OPENSSL_NO_SSL3) ++ printf(("%s\n", _("CRITICAL - SSL protocol version 3 is not supported by your SSL library."))); ++ return STATE_CRITICAL; ++#else + method = SSLv3_client_method(); + ssl_options = SSL_OP_NO_SSLv2 | SSL_OP_NO_TLSv1; ++#endif + break; + default: /* Unsupported */ + printf("%s\n", _("CRITICAL - Unsupported SSL protocol version."));