Date: Mon, 12 Aug 2019 10:35:01 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> 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 Message-ID: <201908121035.x7CAZ1eA059678@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908121035.x7CAZ1eA059678>