FreeBSD Bugzilla – Attachment 62125 Details for
Bug 92944
Update ports: net-mgmt/nagiostat
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.47 KB, created by
Takayuki Nakao
on 2006-02-07 07:20:05 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Takayuki Nakao
Created:
2006-02-07 07:20:05 UTC
Size:
2.47 KB
patch
obsolete
>diff -ruN nagiostat.orig/Makefile nagiostat/Makefile >--- nagiostat.orig/Makefile Tue Feb 7 15:52:29 2006 >+++ nagiostat/Makefile Tue Feb 7 15:52:41 2006 >@@ -16,10 +16,7 @@ > COMMENT= Nagiostat parses performance-data from Nagios and generates graphs > > RUN_DEPENDS= rrdtool:${PORTSDIR}/net/rrdtool \ >- nagios:${PORTSDIR}/net-mgmt/nagios \ >- ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm >- >-BROKEN= Does not install >+ nagios:${PORTSDIR}/net-mgmt/nagios > > USE_PERL5= yes > NO_BUILD= yes >@@ -28,6 +25,9 @@ > NAGIOSDIR?= /var/spool/nagios > DOC_FILES= README GPL.txt > >+NAGIOSWWWDIR?= www/nagios >+PLIST_SUB+= NAGIOSWWWDIR=${NAGIOSWWWDIR} >+ > post-patch: > @${REINPLACE_CMD} \ > -e 's|%%NAGIOSTATCONFDIR%%|${PREFIX}/etc/|' \ >@@ -39,9 +39,9 @@ > @${MKDIR} ${PREFIX}/libexec/${PORTNAME} > @${MKDIR} ${NAGIOSDIR}/${PORTNAME}rrd > @${INSTALL_SCRIPT} ${WRKSRC}/nagiostat ${PREFIX}/libexec/${PORTNAME}/ >- @${LN} -fs ${PREFIX}/libexec/${PORTNAME}/nagiostat ${PREFIX}/share/nagios/cgi-bin/nagiostat.cgi >+ @${LN} -fs ${PREFIX}/libexec/${PORTNAME}/nagiostat ${PREFIX}/${NAGIOSWWWDIR}/cgi-bin/nagiostat.cgi > @${INSTALL_DATA} ${WRKSRC}/nagiostat.conf ${PREFIX}/etc/nagiostat.conf-sample >- @${INSTALL_DATA} ${WRKSRC}/graph.gif ${PREFIX}/share/nagios/images/logos >+ @${INSTALL_DATA} ${WRKSRC}/graph.gif ${PREFIX}/${NAGIOSWWWDIR}/images/logos > @${MKDIR} ${PREFIX}/libexec/${PORTNAME}/html-templates/ > @${INSTALL_DATA} ${WRKSRC}/html-templates/default.html ${PREFIX}/libexec/${PORTNAME}/html-templates/ > @${INSTALL_DATA} ${WRKSRC}/html-templates/graphindex.html ${PREFIX}/libexec/${PORTNAME}/html-templates/ >@@ -54,4 +54,10 @@ > .endfor > .endif > >-.include <bsd.port.mk> >+.include <bsd.port.pre.mk> >+ >+.if ${PERL_LEVEL} < 500800 >+RUN_DEPENDS+= ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm >+.endif >+ >+.include <bsd.port.post.mk> >diff -ruN nagiostat.orig/pkg-plist nagiostat/pkg-plist >--- nagiostat.orig/pkg-plist Tue Feb 7 15:52:29 2006 >+++ nagiostat/pkg-plist Tue Feb 7 15:52:41 2006 >@@ -3,11 +3,11 @@ > @exec chown nagios:nagios /var/spool/nagios/nagiostatrrd > @unexec rmdir /var/spool/nagios/nagiostatrrd 2>/dev/null || true > etc/nagiostat.conf-sample >-share/nagios/cgi-bin/nagiostat.cgi >+%%NAGIOSWWWDIR%%/cgi-bin/nagiostat.cgi > libexec/nagiostat/nagiostat > libexec/nagiostat/html-templates/default.html > libexec/nagiostat/html-templates/graphindex.html >-share/nagios/images/logos/graph.gif >+%%NAGIOSWWWDIR%%/images/logos/graph.gif > %%PORTDOCS%%%%DOCSDIR%%/README > %%PORTDOCS%%%%DOCSDIR%%/GPL.txt > @dirrm libexec/nagiostat/html-templates
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 92944
: 62125