962144
1134475 - dependency in perl package
962144
962144
Use hardcoded path to configuration directories instead of net-snmp-config.
962144
net-snmp-config is in net-snmp-devel package and we do not want net-snmp-perl
962144
depending on -devel.
962144
962144
diff -up net-snmp-5.7.2/local/net-snmp-cert.cert-path net-snmp-5.7.2/local/net-snmp-cert
962144
--- net-snmp-5.7.2/local/net-snmp-cert.cert-path	2012-10-10 00:28:58.000000000 +0200
962144
+++ net-snmp-5.7.2/local/net-snmp-cert	2014-09-01 12:05:10.582427036 +0200
962144
@@ -819,8 +819,7 @@ sub set_default {
962144
 sub cfg_path {
962144
   my $path;
962144
 
962144
-  $path = `$NetSNMP::Cert::CFGTOOL --snmpconfpath`;
962144
-  chomp $path;
962144
+  $path = "/etc/snmp:/usr/share/snmp:/usr/lib64/snmp:/home/jsafrane/.snmp:/var/lib/net-snmp";
962144
   return (wantarray ? split(':', $path) : $path);
962144
 }
962144
 
962144
@@ -1414,8 +1413,8 @@ sub checkReqs {
962144
   die("$NetSNMP::Cert::OPENSSL (v$ossl_ver): must be $ossl_min_ver or later")
962144
     if ($ossl_ver cmp $ossl_min_ver) < 0;
962144
 
962144
-  die("$NetSNMP::Cert::CFGTOOL not found: please install")
962144
-    if system("$NetSNMP::Cert::CFGTOOL > /dev/null 2>&1");
962144
+#  die("$NetSNMP::Cert::CFGTOOL not found: please install")
962144
+#    if system("$NetSNMP::Cert::CFGTOOL > /dev/null 2>&1");
962144
 }
962144
 
962144
 sub initOpts {