SF.net SVN: gar:[26825] csw/mgar/pkg/mrtg/trunk/files/ 0002-Fix-hard-coded-path.patch
idogan23 at users.sourceforge.net
idogan23 at users.sourceforge.net
Wed Dec 15 14:13:29 CET 2021
Revision: 26825
http://sourceforge.net/p/gar/code/26825
Author: idogan23
Date: 2021-12-15 13:13:27 +0000 (Wed, 15 Dec 2021)
Log Message:
-----------
mrtg: Fix for hard coded path
Added Paths:
-----------
csw/mgar/pkg/mrtg/trunk/files/0002-Fix-hard-coded-path.patch
Added: csw/mgar/pkg/mrtg/trunk/files/0002-Fix-hard-coded-path.patch
===================================================================
--- csw/mgar/pkg/mrtg/trunk/files/0002-Fix-hard-coded-path.patch (rev 0)
+++ csw/mgar/pkg/mrtg/trunk/files/0002-Fix-hard-coded-path.patch 2021-12-15 13:13:27 UTC (rev 26825)
@@ -0,0 +1,58 @@
+From 2e1fbf5475788b4d1b95f50e5d964059358198b2 Mon Sep 17 00:00:00 2001
+From: Ihsan Dogan <ihsan at opencsw.org>
+Date: Wed, 15 Dec 2021 14:12:58 +0100
+Subject: [PATCH] Fix hard coded path
+
+---
+ bin/cfgmaker | 2 +-
+ bin/indexmaker | 2 +-
+ bin/mrtg | 2 +-
+ lib/mrtg2/Net_SNMP_util.pm | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/bin/cfgmaker b/bin/cfgmaker
+index f427184..03777b8 100755
+--- a/bin/cfgmaker
++++ b/bin/cfgmaker
+@@ -1,4 +1,4 @@
+-#! /home/oetiker/.plenv/shims/perl -w
++#! /opt/csw/bin/perl -w
+ # -*- mode: Perl -*-
+ ##################################################################
+ # MRTG 2.17.8 -- Config file creator
+diff --git a/bin/indexmaker b/bin/indexmaker
+index 0852059..33154ac 100755
+--- a/bin/indexmaker
++++ b/bin/indexmaker
+@@ -1,4 +1,4 @@
+-#! /home/oetiker/.plenv/shims/perl -w
++#! /opt/csw/bin/perl -w
+ # -*- mode: Perl -*-
+ ##################################################################
+ # MRTG 2.17.8 --- Index Generator
+diff --git a/bin/mrtg b/bin/mrtg
+index dde8a3a..ee58fa0 100755
+--- a/bin/mrtg
++++ b/bin/mrtg
+@@ -1,4 +1,4 @@
+-#! /home/oetiker/.plenv/shims/perl -w
++#! /opt/csw/bin/perl -w
+ # -*- mode: cperl -*-
+
+ ###################################################################
+diff --git a/lib/mrtg2/Net_SNMP_util.pm b/lib/mrtg2/Net_SNMP_util.pm
+index b0299fc..8a7ca40 100644
+--- a/lib/mrtg2/Net_SNMP_util.pm
++++ b/lib/mrtg2/Net_SNMP_util.pm
+@@ -2016,7 +2016,7 @@ follow the rules and conventions of the F<Exporter> module (see L<Exporter>).
+
+ This example gets the sysUpTime from a remote host.
+
+- #! /usr/local/bin/perl
++ #! /opt/csw/bin/perl
+ use strict;
+ use Net_SNMP_util;
+ my ($host, $ret)
+--
+2.4.0
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list