Package sources for project devel:ALP are received through scmsync. This is not supported by the OBS frontend

File nagiosgraph-install.patch of Package nagiosgraph

Index: install.pl
===================================================================
--- install.pl.orig
+++ install.pl
@@ -142,23 +142,23 @@ my @PRESETS = (
 
     { ng_layout => 'suse',
       ng_prefix => q(/),
-      ng_url => '/nagiosgraph',
+      ng_url => '/nagios',
       ng_etc_dir => '/etc/nagiosgraph',
       ng_bin_dir => '/usr/lib/nagiosgraph',
-      ng_cgi_dir => '/usr/lib/nagiosgraph/cgi-bin',
+      ng_cgi_dir => '/usr/lib/nagios/cgi',
       ng_doc_dir => '/usr/share/doc/packages/nagiosgraph',
       ng_examples_dir => '/usr/share/nagiosgraph/examples',
-      ng_www_dir => '/usr/share/nagiosgraph/htdocs',
+      ng_www_dir => '/usr/share/nagios',
       ng_util_dir => '/usr/share/nagiosgraph/util',
       ng_var_dir => '/var/spool/nagiosgraph',
-      ng_rrd_dir => 'rrd',
-      ng_log_dir => '/var/log/nagiosgraph',
+      ng_rrd_dir => '/var/lib/nagios/rrd/nagiosgraph',
+      ng_log_dir => '/var/log/nagios',
       ng_log_file => 'nagiosgraph.log',
       ng_cgilog_file => 'nagiosgraph-cgi.log',
       ng_cgi_url => 'cgi-bin',
-      ng_css_url => 'nagiosgraph.css',
+      ng_css_url => 'stylesheets/nagiosgraph.css',
       ng_js_url => 'nagiosgraph.js',
-      nagios_perfdata_file => '/tmp/perfdata.log',
+      nagios_perfdata_file => '/var/log/nagios/service-perfdata',
       nagios_user => 'nagios',
       www_user => 'wwwrun',
       nagios_config_file => '/etc/nagios/nagios.cfg',
Index: etc/ngshared.pm
===================================================================
--- etc/ngshared.pm.orig
+++ etc/ngshared.pm
@@ -769,7 +769,7 @@ sub readconfig {
     if (! $logid) { $logid = 'logfile'; }
 
     my $debug = 0; # set this higher to debug config file parsing
-    my $errstr = readfile("/etc/$CFGNAME", \%Config, $debug);
+    my $errstr = readfile($INC[0] . q(/) . $CFGNAME, \%Config, $debug);
     if ($errstr ne q()) { return $errstr; }
 
     initlog($app, $Config{$logid});
openSUSE Build Service is sponsored by