d2a9ca79f8
of jobs that have already run. It obtains its information from your catalog database. Aside from a nice graphical display, it provides summaries of your jobs, as well as graphs of job usage. This is a fairly high level bacula management tool. Here are a few points that one user made concerning this important tool: - It is web-based so can be accessed from anywhere. - It is "read only" users can examine the state of the backups but not write to anything and therefore do no damage - It packs a phenomenal amount of information into a single web-page - that I credit as being very good design! The documentation for bacula-web can be found in a separate bacula-web document in the bacula-docs release. WWW: http://www.bacula.org/ PR: ports/107617 Submitted by: Dan Langille <dan at langille.org>
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# New ports collection makefile for: fruity
|
|
# Date created: 29 December 2006
|
|
# Whom: Dan Langille <dan@langille.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fruity
|
|
DISTVERSION= 1.0-rc2
|
|
CATEGORIES= net-mgmt www
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= fruity
|
|
|
|
MAINTAINER= dan@langille.org
|
|
COMMENT= Fruity is a PHP based web-frontend to your Nagios configuration.
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins
|
|
|
|
NO_BUILD= yes
|
|
|
|
SUB_FILES= pkg-message patch-includes-config.inc fruity.config.inc
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
WANT_PHP_WEB= yes
|
|
IGNORE_WITH_PHP=4
|
|
DEFAULT_PHP_VER=5
|
|
USE_MYSQL= yes
|
|
SUB_LIST+= REQ_MYSQL=mysql
|
|
USE_PHP= mysql session dba
|
|
|
|
.include "${PORTSDIR}/Mk/bsd.php.mk"
|
|
|
|
post-patch:
|
|
# the files directory contains a patch for the original file
|
|
# this removes the original copy created by that patch
|
|
@${RM} ${WRKSRC}/includes/config.inc.orig
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/includes/config.inc
|
|
|
|
# the above replace create this file, which needs to be removed
|
|
@${RM} ${WRKSRC}/includes/config.inc.bak
|
|
|
|
do-install:
|
|
@${ECHO} "Installing in ${PREFIX}/www/fruity"
|
|
${MKDIR} ${PREFIX}/www/fruity
|
|
${CP} -R ${WRKSRC}/* ${PREFIX}/www/fruity
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/www/fruity
|
|
|
|
post-install:
|
|
@${CP} ${WRKDIR}/fruity.config.inc ${PREFIX}/etc/fruity.config.inc-sample
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|