Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2006 23:34:08 +0100 (CET)
From:      Xavier Beaudouin <kiwi@oav.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/106694: [MAINTAINER] net-mgmt/routers2: Fix dependcy
Message-ID:  <20061213223409.12A602E218@proxy.home.oav.net>
Resent-Message-ID: <200612132240.kBDMe5DQ077855@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         106694
>Category:       ports
>Synopsis:       [MAINTAINER] net-mgmt/routers2: Fix dependcy
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 13 22:40:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Xavier Beaudouin
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
Association KAZAR / The Caudium Group
>Environment:
System: FreeBSD proxy.home.oav.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Tue Nov  7 22:12:43 CET
>Description:

Removed unneccessary dependcy and fix some path for the generated grapgics

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- routers2-2.17.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net-mgmt/routers2.old/Makefile /usr/ports/net-mgmt/routers2/Makefile
--- /usr/ports/net-mgmt/routers2.old/Makefile	Wed Dec 13 23:24:50 2006
+++ /usr/ports/net-mgmt/routers2/Makefile	Wed Dec 13 23:26:16 2006
@@ -24,8 +24,7 @@
 		${SITE_PERL}/SNMP_Session.pm:${PORTSDIR}/net-mgmt/p5-SNMP_Session \
 		${SITE_PERL}/CGI/SpeedyCGI.pm:${PORTSDIR}/www/p5-CGI-SpeedyCGI \
 		${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
-		${LOCALBASE}/bin/mrtg:${PORTSDIR}/net-mgmt/mrtg \
-		${LOCALBASE}/bin/mrtg-ping-probe:${PORTSDIR}/net/mrtg-ping-probe
+		${LOCALBASE}/bin/mrtg:${PORTSDIR}/net-mgmt/mrtg
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-v${PORTVERSION}
 
@@ -42,8 +41,10 @@
 do-install:
 		${MKDIR} -m 755 ${PREFIX}/www/routers2
 		${MKDIR} -m 755 ${PREFIX}/www/routers2/rrdicons
+		${MKDIR} -m 755 ${PREFIX}/www/routers2/graphs
 		${MKDIR} -m 755 /var/db/rrdtool
 		${CHOWN} ${WWWOWN}:${WWWGRP} /var/db/rrdtool
+		${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/www/routers2/graphs
 
 .if !defined(NOPORTDOCS)
 		${MKDIR} -m 755 ${DOCSDIR}
diff -ruN --exclude=CVS /usr/ports/net-mgmt/routers2.old/files/patch-routers2.conf /usr/ports/net-mgmt/routers2/files/patch-routers2.conf
--- /usr/ports/net-mgmt/routers2.old/files/patch-routers2.conf	Wed Dec 13 23:24:50 2006
+++ /usr/ports/net-mgmt/routers2/files/patch-routers2.conf	Wed Dec 13 23:27:01 2006
@@ -27,7 +27,7 @@
  # Where the graphs are to be created - absolute filesystem path
  # graphpath = C:/www/html/graphs
 -graphpath = /www/html/graphs
-+graphpath = %%LOCALBASE%%/www/data/graphs
++graphpath = %%LOCALBASE%%/www/routers2/graphs
  # The URL of the above directory - a URL path, so use '/' as a path separator
  graphurl = /graphs
  #
@@ -35,7 +35,7 @@
  # NO SPACES allowed in path names, NT people. 
  # confpath = C:\mrtg\conf
 -confpath = /mrtg/conf
-+confpath = %%LOCALBASE/etc/mrtg
++confpath = %%LOCALBASE%%/etc/mrtg
  # Wildcarded pattern match for MRTG conf files.
  # You can put several of these here, separated by spaces.
  # Note that these can include a path separator - eg, site*/*.cfg
--- routers2-2.17.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061213223409.12A602E218>