Index: head/net-mgmt/pandorafms_agent/files/patch-pandora__agent__installer =================================================================== --- head/net-mgmt/pandorafms_agent/files/patch-pandora__agent__installer (nonexistent) +++ head/net-mgmt/pandorafms_agent/files/patch-pandora__agent__installer (revision 508720) @@ -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 Property changes on: head/net-mgmt/pandorafms_agent/files/patch-pandora__agent__installer ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property