From owner-svn-ports-head@freebsd.org Mon Aug 12 10:35:02 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 59F0EADA8E; Mon, 12 Aug 2019 10:35:02 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 466XKf1d2jz481C; Mon, 12 Aug 2019 10:35:02 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 19627254B0; Mon, 12 Aug 2019 10:35:02 +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 x7CAZ17L059679; Mon, 12 Aug 2019 10:35:01 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x7CAZ1eA059678; Mon, 12 Aug 2019 10:35:01 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201908121035.x7CAZ1eA059678@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Mon, 12 Aug 2019 10:35:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r508720 - head/net-mgmt/pandorafms_agent/files X-SVN-Group: ports-head X-SVN-Commit-Author: mat X-SVN-Commit-Paths: head/net-mgmt/pandorafms_agent/files X-SVN-Commit-Revision: 508720 X-SVN-Commit-Repository: ports 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.29 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, 12 Aug 2019 10:35:02 -0000 Author: mat Date: Mon Aug 12 10:35:01 2019 New Revision: 508720 URL: https://svnweb.freebsd.org/changeset/ports/508720 Log: Fix install with Perl 5.30 and all future possible versions. PR: 239742. Added: head/net-mgmt/pandorafms_agent/files/patch-pandora__agent__installer (contents, props changed) Added: head/net-mgmt/pandorafms_agent/files/patch-pandora__agent__installer ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/pandorafms_agent/files/patch-pandora__agent__installer Mon Aug 12 10:35:01 2019 (r508720) @@ -0,0 +1,17 @@ +--- pandora_agent_installer.orig 2019-08-12 10:17:59 UTC ++++ pandora_agent_installer +@@ -88,13 +88,9 @@ fi + + [ "$4" ] && PANDORA_PERL_PATH=$4 + +-# Check for Perl 5.6.x or higher available +-PERL_VERSION=`$PANDORA_PERL_PATH -v | egrep 'v5.[6-9]|v5.[12][0-9]' | grep perl` +- +-if [ -z "$PERL_VERSION" ] ++if ! perl -M5.006 -e 1 + then + echo "Perl 5.6.x or higher is not detected. This is required for Pandora FMS" +- echo "Detected: $PERL_VERSION " + echo "Aborting install..." + exit 2 + fi