$OpenBSD: patch-includes_common_php,v 1.4 2016/07/08 16:07:22 sthen Exp $
--- includes/common.php.orig	Wed Jul  6 15:37:58 2016
+++ includes/common.php	Wed Jul  6 15:39:37 2016
@@ -1036,14 +1036,14 @@ function version_info($remote=true) {
         curl_setopt($api, CURLOPT_RETURNTRANSFER, 1);
         $output['github'] = json_decode(curl_exec($api),true);
     }
-    $output['local_sha']    = rtrim(`git rev-parse HEAD`);
-    $output['local_branch'] = rtrim(`git rev-parse --abbrev-ref HEAD`);
+    $output['local_sha']    = '';
+    $output['local_branch'] = '';
 
     $output['db_schema']   = dbFetchCell('SELECT version FROM dbSchema');
     $output['php_ver']     = phpversion();
     $output['mysql_ver']   = dbFetchCell('SELECT version()');
     $output['rrdtool_ver'] = implode(' ', array_slice(explode(' ', shell_exec($config['rrdtool'].' --version |head -n1')), 1, 1));
-    $output['netsnmp_ver'] = shell_exec($config['snmpget'].' --version 2>&1');
+    $output['netsnmp_ver'] = shell_exec($config['snmpget'].' -V 2>&1');
 
     return $output;
 
