FreeBSD Bugzilla – Attachment 106228 Details for
Bug 146776
[new port] sysutils/monitorix: a web based monitoring system
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch.txt
patch.txt (text/plain), 5.73 KB, created by
James Michael
on 2010-05-24 10:43:28 UTC
(
hide
)
Description:
patch.txt
Filename:
MIME Type:
Creator:
James Michael
Created:
2010-05-24 10:43:28 UTC
Size:
5.73 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># Makefile ># distinfo ># files ># pkg-descr ># pkg-message ># pkg-plist ># files/patch-install.sh ># >echo x - Makefile >sed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965' >X# New ports collection makefile for: monitorix >X# Date created: 19 May 2010 >X# Whom: Michael Brune <admin@mjbrune.org> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= monitorix >XPORTVERSION= 1.5.0 >XCATEGORIES= sysutils >XMASTER_SITES= http://monitorix.org/ >X >XMAINTAINER= admin@mjbrune.org >XCOMMENT= A web based monitoring system >X >XLIB_DEPENDS= rrd:${PORTSDIR}/databases/rrdtool >XRUN_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww >X >XUSE_PERL5= yes >XMAN5= monitorix.conf.5 >XMANCOMPRESSED= yes >XNO_BUILD= yes >X >XCGIDIR?= ${PREFIX}/www/cgi-bin >XDATADIR?= /var/db/ >XWWWDIR?= ${PREFIX}/www/ >X >Xpre-everything:: >X @${ECHO_MSG} "" >X @${ECHO_MSG} "You may set following options:" >X @${ECHO_MSG} "" >X @${ECHO_MSG} "DATADIR=${DATADIR} Where do you put RRD databases?" >X @${ECHO_MSG} "CGIDIR=${CGIDIR} Where do you put cgi?" >X @${ECHO_MSG} "WWWDIR=${WWWDIR} Where do you put httpd's document root?" >X @${ECHO_MSG} "" >X >Xpost-patch: >X @${REINPLACE_CMD} -e "s./usr/local/lib.${DATADIR}." ${WRKSRC}/install.sh >X @${REINPLACE_CMD} -e "s./usr/local/lib.${DATADIR}." ${WRKSRC}/monitorix.conf >X @${REINPLACE_CMD} -e "s./usr/local/www/apache22/data.${WWWDIR}." ${WRKSRC}/install.sh >X @${REINPLACE_CMD} -e "s./usr/local/www/apache22/data.${WWWDIR}." ${WRKSRC}/monitorix.conf >X @${REINPLACE_CMD} -e "s./usr/local/www/apache22/cgi-bin.${CGIDIR}." ${WRKSRC}/install.sh >X @${REINPLACE_CMD} -e "s./usr/local.${PREFIX}." ${WRKSRC}/install.sh >X @${REINPLACE_CMD} -e "s./usr/local.${PREFIX}." ${WRKSRC}/monitorix.conf >X @${REINPLACE_CMD} -e "s./usr/local/lib/.${DATADIR}." ${WRKSRC}/ports/FreeBSD/monitorix.init >X >Xdo-install: >X cd ${WRKSRC}; ./install.sh >X >X.include <bsd.port.mk> >b67911656ef5d18c4ae36cb6741b7965 >echo x - distinfo >sed 's/^X//' >distinfo << '57677d168a5ec21bdf22c9501f075a8f' >XMD5 (monitorix-1.5.0.tar.gz) = fecf3552771c23548df2f3d19a736a7c >XSHA256 (monitorix-1.5.0.tar.gz) = c01893f397f783a701f4cf7920211f6633476b319eef26a6d00054cfd2db706b >XSIZE (monitorix-1.5.0.tar.gz) = 140673 >57677d168a5ec21bdf22c9501f075a8f >echo c - files >mkdir -p files > /dev/null 2>&1 >echo x - pkg-descr >sed 's/^X//' >pkg-descr << '7f9555c3c1089940396b503dd37f3979' >XMonitorix is a free, open source, lightweight system monitoring tool >Xdesigned to monitorize as many services as possible. At this time it >Xmonitors from the CPU load and temperatures to the users using the system. >XNetwork devices activity, network services demand and even the devices' >Xinterrupt activity are also monitored, and more. The current status of any >Xcorporate server with Monitorix installed can be accessed via a web browser. >X >XWWW: http://www.monitorix.org/ >7f9555c3c1089940396b503dd37f3979 >echo x - pkg-message >sed 's/^X//' >pkg-message << '90c81c06929c43140502a9f17b449376' >XHow to use: >X >XMonitorix is a cron based application, meaning it relies on cron to run a >Xjob every minute, to set this up run: >X >X${PREFIX}/sbin/monitorix.pl create >Xto setup the databases. >X${PREFIX}/sbin/monitorix.pl init >Xto write over roots crontab files. >X >XMonitorix is a crond-based application and must be executed by root. This >Xmeans that every time it is started or stopped it will overwrite or remove its own >Xcrontab file in the /var/cron/tabs directory. This may create a conflict if another application is using the same method. >XYou have been warned. >X >90c81c06929c43140502a9f17b449376 >echo x - pkg-plist >sed 's/^X//' >pkg-plist << '842cde48cf18b70a11b15515ca566742' >Xsbin/monitorix.pl >Xetc/rc.d/monitorix >X%%PORTDOCS%%%%DOCSDIR%%/COPYING >X%%PORTDOCS%%%%DOCSDIR%%/Changes >X%%PORTDOCS%%%%DOCSDIR%%/README >X%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD >X%%PORTDOCS%%%%DOCSDIR%%/README.Slackware >X%%PORTDOCS%%%%DOCSDIR%%/README.nginx >X%%PORTDOCS%%%%DOCSDIR%%/TODO >X%%PORTDOCS%%%%DOCSDIR%%/monitorix-alert.sh >X%%PORTDOCS%%%%DOCSDIR%%/monitorix-apache.conf >X%%PORTDOCS%%%%DOCSDIR%%/monitorix.spec >X%%WWWDIR%%/monitorix/logo_bot.png >X%%WWWDIR%%/monitorix/logo_top.png >X%%WWWDIR%%/monitorix/monitorixico.png >X%%WWWDIR%%/cgi-bin/monitorix.cgi >X@dirrm %%PORTDOCS%%%%DOCSDIR%%/ >842cde48cf18b70a11b15515ca566742 >echo x - files/patch-install.sh >sed 's/^X//' >files/patch-install.sh << 'a108588a317a45e1f92381a82a552823' >X--- work/monitorix-1.5.0/install.sh 2010-04-05 16:09:02.000000000 +0000 >X+++ install.sh 2010-05-24 04:09:13.000000000 +0000 >X@@ -17,12 +17,11 @@ >X echo >X echo " 1 - $SBIN" >X echo " 2 - $ETC" >X- echo " 3 - $INIT" >X- echo " 4 - $LIB" >X- echo " 5 - $DOC" >X- echo " 6 - $HTDOCS" >X- echo " 7 - $CGIBIN" >X- echo " 8 - $MAN" >X+ echo " 3 - $LIB" >X+ echo " 4 - $DOC" >X+ echo " 5 - $HTDOCS" >X+ echo " 6 - $CGIBIN" >X+ echo " 7 - $MAN" >X } >X >X OS=`uname -s` >X@@ -103,7 +102,6 @@ >X echo "The install script has detected that this is a $OS operating system." >X SBIN="/usr/local/sbin" >X ETC="/usr/local/etc" >X- INIT="/usr/local/etc/rc.d" >X LIB="/usr/local/lib" >X DOC="/usr/local/share/doc" >X HTDOCS="/usr/local/www/apache22/data" >X@@ -192,16 +190,6 @@ >X fi >X echo >X >X-echo "Copying init script to $INIT directory" >X-echo "ports/${PORTS}/monitorix.init" >X-if [ $OS = "Linux" ] ; then >X- install -D -m 755 ports/${PORTS}/monitorix.init $INIT/monitorix >X-elif [ $OS = "FreeBSD" ] ; then >X- install -d -m 755 $INIT >X- install -c -m 755 ports/${PORTS}/monitorix.init $INIT/monitorix >X-fi >X-echo >X- >X echo "Copying report files to $LIB directory" >X echo "reports/" >X if [ $OS = "Linux" ] ; then >a108588a317a45e1f92381a82a552823 >exit
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 Raw
Actions:
View
Attachments on
bug 146776
:
106225
|
106226
|
106227
| 106228 |
106229