ports/106694: [MAINTAINER] net-mgmt/routers2: Fix dependcy
Xavier Beaudouin
kiwi at oav.net
Wed Dec 13 22:40:10 UTC 2006
>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:
More information about the freebsd-ports-bugs
mailing list