SF.net SVN: gar:[26824] csw/mgar/pkg/mrtg/trunk

idogan23 at users.sourceforge.net idogan23 at users.sourceforge.net
Wed Dec 15 14:10:15 CET 2021


Revision: 26824
          http://sourceforge.net/p/gar/code/26824
Author:   idogan23
Date:     2021-12-15 13:10:15 +0000 (Wed, 15 Dec 2021)
Log Message:
-----------
mrtg: Fix for hard coded path

Modified Paths:
--------------
    csw/mgar/pkg/mrtg/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/mrtg/trunk/files/0001-Fix-hard-coded-path.patch

Modified: csw/mgar/pkg/mrtg/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mrtg/trunk/Makefile	2021-12-15 09:21:14 UTC (rev 26823)
+++ csw/mgar/pkg/mrtg/trunk/Makefile	2021-12-15 13:10:15 UTC (rev 26824)
@@ -22,6 +22,8 @@
 
 PACKAGING_PLATFORMS =  solaris9-sparc solaris9-i386 solaris10-sparc solaris10-i386
 
+PATCHFILES += 0001-Fix-hard-coded-path.patch
+
 CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGURE_ARGS += --with-gd=/opt/csw
 CONFIGURE_ARGS += --with-gd-lib=/opt/csw/lib

Added: csw/mgar/pkg/mrtg/trunk/files/0001-Fix-hard-coded-path.patch
===================================================================
--- csw/mgar/pkg/mrtg/trunk/files/0001-Fix-hard-coded-path.patch	                        (rev 0)
+++ csw/mgar/pkg/mrtg/trunk/files/0001-Fix-hard-coded-path.patch	2021-12-15 13:10:15 UTC (rev 26824)
@@ -0,0 +1,25 @@
+From d39973a5138a6c49cd4517da49eb1d32ffa841e6 Mon Sep 17 00:00:00 2001
+From: Ihsan Dogan <ihsan at opencsw.org>
+Date: Wed, 15 Dec 2021 14:06:46 +0100
+Subject: [PATCH] Fix hard coded path
+
+---
+ lib/mrtg2/MRTG_lib.pm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/mrtg2/MRTG_lib.pm b/lib/mrtg2/MRTG_lib.pm
+index 4cafc72..6b5fe7a 100644
+--- a/lib/mrtg2/MRTG_lib.pm
++++ b/lib/mrtg2/MRTG_lib.pm
+@@ -691,7 +691,7 @@ sub quickcheck ($$$$$$) {
+         }
+     }
+     die "ERROR: CFG Error Unknown Option \"$first\" in file $file on line $line or above.\n".
+-      "           Check /usr/share/doc/mrtg/mrtg-reference.txt.gz for Help\n\n";
++      "           Check /opt/csw/share/doc/mrtg2/mrtg-reference.txt for Help\n\n";
+ }
+ 
+ # complex config checks
+-- 
+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