Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  6 Aug 2006 01:52:35 -0400 (EDT)
From:      Dan Langille <dan@langille.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Dan Langille <dan@langille.org>
Subject:   ports/101457: New port: www/bacula-web : a web interface for sysutils/bacula-server
Message-ID:  <20060806055235.D21C53E8F@xeon.unixathome.org>
Resent-Message-ID: <200608060600.k7660XPL039046@freefall.freebsd.org>

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

>Number:         101457
>Category:       ports
>Synopsis:       New port: www/bacula-web : a web interface for sysutils/bacula-server
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 06 06:00:32 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dan Langille
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
The FreeBSD Diary
>Environment:
System: FreeBSD xeon.unixathome.org 4.9-STABLE FreeBSD 4.9-STABLE #2: Wed Mar 3 08:16:24 EST 2004 dan@polo.unixathome.org:/usr/obj/usr/src/sys/XEON i386


	
>Description:
	
Bacula-web is a PHP based web program that summarizes your Bacula catalog database.
>How-To-Repeat:
	
>Fix:

	



--- bacula-web.shar begins here ---
# 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:
#
#	bacula-web
#	bacula-web/Makefile
#	bacula-web/distinfo
#	bacula-web/pkg-descr
#	bacula-web/pkg-message
#	bacula-web/pkg-plist
#	bacula-web/files
#	bacula-web/files/patch-bacula-web-templates-volumes.tpl
#	bacula-web/files/patch-bacula-web-classes.inc
#	bacula-web/files/patch-bacula-web-index.php
#	bacula-web/files/patch-bacula-web-report.php
#	bacula-web/files/patch-bacula-web-templates-full_popup.tpl
#	bacula-web/files/patch-bacula-web-templates-report.tpl
#	bacula-web/files/patch-bacula-web-templates-index.tpl
#
echo c - bacula-web
mkdir -p bacula-web > /dev/null 2>&1
echo x - bacula-web/Makefile
sed 's/^X//' >bacula-web/Makefile << 'END-of-bacula-web/Makefile'
X# New ports collection makefile for:   bacula-web
X# Date created:        28 April 2006
X# Whom:                Dan Langille <dan@langille.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	bacula-web
XDISTVERSION=	1.38.9
X
XCATEGORIES=	www
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	bacula
X
XDISTNAME=	bacula-gui-${DISTVERSION}
X
XMAINTAINER=	dan@langille.org
XCOMMENT=	Bacula-web provides a summarized output of Bacula jobs.
X
XNO_BUILD=	yes
X#USE_APACHE=	1.3+
XUSE_PHP=	yes
X
XRUN_DEPENDS=	${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
X
XALL_OPTIONS=	MYSQL POSTGRESQL
X
XOPTIONS=	MYSQL "Use MySQL database instead of SqLite" off
XOPTIONS+=	POSTGRESQL "Use PostgreSQL database instead of SqLite" off
X
X
X.if defined(WITH_MYSQL)
XCONFIGURE_ARGS+=	--with-mysql=yes
XUSE_MYSQL=		yes
XDBTYPE=			mysql
XSUB_LIST+=		REQ_MYSQL=mysql
X.else
XUSE_PGSQL=		yes
XCONFIGURE_ARGS+=	--with-postgresql=yes
XDBTYPE=			postgresql
XSUB_LIST+=		REQ_PGSQL=postgresql
X.endif
X
Xdo-install:
X	@${ECHO} "Installing in ${PREFIX}/www/bacula-web"
X	${MKDIR} ${PREFIX}/www/bacula-web
X	${CP} -R ${WRKSRC}/bacula-web/* ${PREFIX}/www/bacula-web
X	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/www/bacula-web
X	if [ -f ${PREFIX}/www/bacula-web/configs/bacula.conf ]; then \
X		${CP} ${PREFIX}/www/bacula-web/configs/bacula.conf ${PREFIX}/etc/bacula-web.conf.sample; \
X		${RM} -rf ${PREFIX}/www/bacula-web/configs; \
X	fi
X	
X	if [ ! -f /var/bacula-web/templates_c ]; then \
X		${MKDIR} -p /var/bacula-web/templates_c; \
X		${CHOWN} -R ${WWWOWN}:${WWWGRP} /var/bacula-web/templates_c; \
X	fi
X
Xpost-install:
X	@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-bacula-web/Makefile
echo x - bacula-web/distinfo
sed 's/^X//' >bacula-web/distinfo << 'END-of-bacula-web/distinfo'
XMD5 (bacula-gui-1.38.9.tar.gz) = 02b1236593faf5be2a96da1bba841488
XSHA256 (bacula-gui-1.38.9.tar.gz) = 6f7d9d4830f03a32c023d3d1f1a83f519f9d05370dd404640b5bd65159264a7c
XSIZE (bacula-gui-1.38.9.tar.gz) = 487098
END-of-bacula-web/distinfo
echo x - bacula-web/pkg-descr
sed 's/^X//' >bacula-web/pkg-descr << 'END-of-bacula-web/pkg-descr'
XBacula-web is a php based web program that provides you a summarized output
Xof jobs that have already run. It obtains its information from your catalog
Xdatabase. Aside from a nice graphical display, it provides summaries of your
Xjobs, as well as graphs of job usage. This is a fairly high level bacula
Xmanagement tool. Here are a few points that one user made concerning this
Ximportant tool: 
X
X- It is web-based so can be accessed from anywhere. 
X- It is "read only" users can examine the state of the backups but not write
Xto anything and therefore do no damage 
X- It packs a phenomenal amount of information into a single web-page - that I
Xcredit as being very good design! 
X
XThe documentation for bacula-web can be found in a separate bacula-web
Xdocument in the bacula-docs release.
X
XWWW: http://www.bacula.org/
END-of-bacula-web/pkg-descr
echo x - bacula-web/pkg-message
sed 's/^X//' >bacula-web/pkg-message << 'END-of-bacula-web/pkg-message'
X
X***********************************************************************
X*                             INSTALL PROCEDURE                       *
X***********************************************************************
X
XPlease note that everything has been installed in %%PREFIX%%/www/bacula-web.
X
X
XRead %%PREFIX%%/www/bacula-web/README
X
END-of-bacula-web/pkg-message
echo x - bacula-web/pkg-plist
sed 's/^X//' >bacula-web/pkg-plist << 'END-of-bacula-web/pkg-plist'
Xetc/bacula-web.conf.sample
Xshare/nls/POSIX
Xshare/nls/en_US.US-ASCII
Xwww/bacula-web/CONTACT
Xwww/bacula-web/COPYING
Xwww/bacula-web/ChangeLog
Xwww/bacula-web/README
Xwww/bacula-web/TODO
Xwww/bacula-web/array_fill.func.php
Xwww/bacula-web/classes.inc
Xwww/bacula-web/classes.inc.orig
Xwww/bacula-web/external_packages/phplot/ChangeLog
Xwww/bacula-web/external_packages/phplot/LICENSE.GPL
Xwww/bacula-web/external_packages/phplot/LICENSE.PHP_3_0
Xwww/bacula-web/external_packages/phplot/README
Xwww/bacula-web/external_packages/phplot/doc/imgs/graph1.png
Xwww/bacula-web/external_packages/phplot/doc/imgs/graph2.png
Xwww/bacula-web/external_packages/phplot/doc/imgs/graph3.png
Xwww/bacula-web/external_packages/phplot/doc/imgs/phplot-dia.png
Xwww/bacula-web/external_packages/phplot/doc/imgs/qstart_fig1.png
Xwww/bacula-web/external_packages/phplot/doc/imgs/qstart_fig2.png
Xwww/bacula-web/external_packages/phplot/doc/imgs/qstart_fig3.png
Xwww/bacula-web/external_packages/phplot/doc/imgs/qstart_fig4.png
Xwww/bacula-web/external_packages/phplot/doc/index.php
Xwww/bacula-web/external_packages/phplot/doc/internal_functions.html
Xwww/bacula-web/external_packages/phplot/doc/quickstart.html
Xwww/bacula-web/external_packages/phplot/doc/schema.html
Xwww/bacula-web/external_packages/phplot/doc/style.css
Xwww/bacula-web/external_packages/phplot/doc/user_functions.html
Xwww/bacula-web/external_packages/phplot/doc/user_internal_functions.html
Xwww/bacula-web/external_packages/phplot/examples/benjamingothic.ttf
Xwww/bacula-web/external_packages/phplot/examples/create_chart.php
Xwww/bacula-web/external_packages/phplot/examples/data.php
Xwww/bacula-web/external_packages/phplot/examples/data_date.php
Xwww/bacula-web/external_packages/phplot/examples/data_date2.php
Xwww/bacula-web/external_packages/phplot/examples/data_sample1.php
Xwww/bacula-web/external_packages/phplot/examples/data_sample2.php
Xwww/bacula-web/external_packages/phplot/examples/data_sample3.php
Xwww/bacula-web/external_packages/phplot/examples/data_sample4.php
Xwww/bacula-web/external_packages/phplot/examples/data_sample5.php
Xwww/bacula-web/external_packages/phplot/examples/example1.php
Xwww/bacula-web/external_packages/phplot/examples/example2.php
Xwww/bacula-web/external_packages/phplot/examples/example3.php
Xwww/bacula-web/external_packages/phplot/examples/example4.php
Xwww/bacula-web/external_packages/phplot/examples/example6.php
Xwww/bacula-web/external_packages/phplot/examples/example7.php
Xwww/bacula-web/external_packages/phplot/examples/example8.php
Xwww/bacula-web/external_packages/phplot/examples/example9.php
Xwww/bacula-web/external_packages/phplot/examples/format_chart.php
Xwww/bacula-web/external_packages/phplot/examples/inline_image.php
Xwww/bacula-web/external_packages/phplot/examples/test_setup.php
Xwww/bacula-web/external_packages/phplot/phplot.php
Xwww/bacula-web/external_packages/phplot/phplot_data.php
Xwww/bacula-web/external_packages/phplot/rgb.inc.php
Xwww/bacula-web/external_packages/smarty/COPYING.lib
Xwww/bacula-web/external_packages/smarty/Config_File.class.php
Xwww/bacula-web/external_packages/smarty/Smarty.class.php
Xwww/bacula-web/external_packages/smarty/Smarty_Compiler.class.php
Xwww/bacula-web/external_packages/smarty/debug.tpl
Xwww/bacula-web/external_packages/smarty/internals/core.assemble_plugin_filepath.php
Xwww/bacula-web/external_packages/smarty/internals/core.assign_smarty_interface.php
Xwww/bacula-web/external_packages/smarty/internals/core.create_dir_structure.php
Xwww/bacula-web/external_packages/smarty/internals/core.display_debug_console.php
Xwww/bacula-web/external_packages/smarty/internals/core.get_include_path.php
Xwww/bacula-web/external_packages/smarty/internals/core.get_microtime.php
Xwww/bacula-web/external_packages/smarty/internals/core.get_php_resource.php
Xwww/bacula-web/external_packages/smarty/internals/core.is_secure.php
Xwww/bacula-web/external_packages/smarty/internals/core.is_trusted.php
Xwww/bacula-web/external_packages/smarty/internals/core.load_plugins.php
Xwww/bacula-web/external_packages/smarty/internals/core.load_resource_plugin.php
Xwww/bacula-web/external_packages/smarty/internals/core.process_cached_inserts.php
Xwww/bacula-web/external_packages/smarty/internals/core.process_compiled_include.php
Xwww/bacula-web/external_packages/smarty/internals/core.read_cache_file.php
Xwww/bacula-web/external_packages/smarty/internals/core.rm_auto.php
Xwww/bacula-web/external_packages/smarty/internals/core.rmdir.php
Xwww/bacula-web/external_packages/smarty/internals/core.run_insert_handler.php
Xwww/bacula-web/external_packages/smarty/internals/core.smarty_include_php.php
Xwww/bacula-web/external_packages/smarty/internals/core.write_cache_file.php
Xwww/bacula-web/external_packages/smarty/internals/core.write_compiled_include.php
Xwww/bacula-web/external_packages/smarty/internals/core.write_compiled_resource.php
Xwww/bacula-web/external_packages/smarty/internals/core.write_file.php
Xwww/bacula-web/external_packages/smarty/plugins/block.textformat.php
Xwww/bacula-web/external_packages/smarty/plugins/compiler.assign.php
Xwww/bacula-web/external_packages/smarty/plugins/function.assign_debug_info.php
Xwww/bacula-web/external_packages/smarty/plugins/function.config_load.php
Xwww/bacula-web/external_packages/smarty/plugins/function.counter.php
Xwww/bacula-web/external_packages/smarty/plugins/function.cycle.php
Xwww/bacula-web/external_packages/smarty/plugins/function.debug.php
Xwww/bacula-web/external_packages/smarty/plugins/function.eval.php
Xwww/bacula-web/external_packages/smarty/plugins/function.fetch.php
Xwww/bacula-web/external_packages/smarty/plugins/function.html_checkboxes.php
Xwww/bacula-web/external_packages/smarty/plugins/function.html_image.php
Xwww/bacula-web/external_packages/smarty/plugins/function.html_options.php
Xwww/bacula-web/external_packages/smarty/plugins/function.html_radios.php
Xwww/bacula-web/external_packages/smarty/plugins/function.html_select_date.php
Xwww/bacula-web/external_packages/smarty/plugins/function.html_select_time.php
Xwww/bacula-web/external_packages/smarty/plugins/function.html_table.php
Xwww/bacula-web/external_packages/smarty/plugins/function.mailto.php
Xwww/bacula-web/external_packages/smarty/plugins/function.math.php
Xwww/bacula-web/external_packages/smarty/plugins/function.popup.php
Xwww/bacula-web/external_packages/smarty/plugins/function.popup_init.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.capitalize.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.cat.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.count_characters.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.count_paragraphs.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.count_sentences.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.count_words.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.date_format.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.debug_print_var.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.default.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.escape.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.fsize_format.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.indent.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.lower.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.nl2br.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.regex_replace.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.replace.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.spacify.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.string_format.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.strip.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.strip_tags.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.truncate.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.upper.php
Xwww/bacula-web/external_packages/smarty/plugins/modifier.wordwrap.php
Xwww/bacula-web/external_packages/smarty/plugins/outputfilter.trimwhitespace.php
Xwww/bacula-web/external_packages/smarty/plugins/shared.escape_special_chars.php
Xwww/bacula-web/external_packages/smarty/plugins/shared.make_timestamp.php
Xwww/bacula-web/external_packages/smarty_gettext-0.9/COPYING
Xwww/bacula-web/external_packages/smarty_gettext-0.9/ChangeLog
Xwww/bacula-web/external_packages/smarty_gettext-0.9/README
Xwww/bacula-web/external_packages/smarty_gettext-0.9/smarty_gettext.php
Xwww/bacula-web/external_packages/smarty_gettext-0.9/tsmarty2c.php
Xwww/bacula-web/images/backlast.gif
Xwww/bacula-web/images/backlastred.gif
Xwww/bacula-web/images/bg1.png
Xwww/bacula-web/images/bg2.png
Xwww/bacula-web/images/bg3.png
Xwww/bacula-web/images/bg4.png
Xwww/bacula-web/images/bg5.png
Xwww/bacula-web/images/bg6.png
Xwww/bacula-web/images/bg7.gif
Xwww/bacula-web/images/bg8.png
Xwww/bacula-web/images/empty.png
Xwww/bacula-web/images/end2.png
Xwww/bacula-web/images/end4.png
Xwww/bacula-web/images/refresh.gif
Xwww/bacula-web/images/s_error.gif
Xwww/bacula-web/images/s_ok.gif
Xwww/bacula-web/index.php
Xwww/bacula-web/index.php.orig
Xwww/bacula-web/js/mini/overlib_anchor_mini.js
Xwww/bacula-web/js/mini/overlib_crossframe_mini.js
Xwww/bacula-web/js/mini/overlib_cssstyle_mini.js
Xwww/bacula-web/js/mini/overlib_exclusive_mini.js
Xwww/bacula-web/js/mini/overlib_followscroll_mini.js
Xwww/bacula-web/js/mini/overlib_hideform_mini.js
Xwww/bacula-web/js/mini/overlib_mini.js
Xwww/bacula-web/js/mini/overlib_shadow_mini.js
Xwww/bacula-web/js/overlib.js
Xwww/bacula-web/js/overlib_anchor.js
Xwww/bacula-web/js/overlib_crossframe.js
Xwww/bacula-web/js/overlib_cssstyle.js
Xwww/bacula-web/js/overlib_exclusive.js
Xwww/bacula-web/js/overlib_followscroll.js
Xwww/bacula-web/js/overlib_hideform.js
Xwww/bacula-web/js/overlib_shadow.js
Xwww/bacula-web/lang.php
Xwww/bacula-web/locale/de/LC_MESSAGES/messages.mo
Xwww/bacula-web/locale/de/LC_MESSAGES/messages_de.po
Xwww/bacula-web/locale/en/LC_MESSAGES/messages.mo
Xwww/bacula-web/locale/en/LC_MESSAGES/messages.po
Xwww/bacula-web/locale/es/LC_MESSAGES/messages.mo
Xwww/bacula-web/locale/es/LC_MESSAGES/messages.po
Xwww/bacula-web/locale/fr/LC_MESSAGES/messages.mo
Xwww/bacula-web/locale/fr/LC_MESSAGES/messages.po.fr
Xwww/bacula-web/locale/it/LC_MESSAGES/messages.mo
Xwww/bacula-web/locale/it/LC_MESSAGES/messages_it.po
Xwww/bacula-web/messages.po
Xwww/bacula-web/paths.php
Xwww/bacula-web/report.php
Xwww/bacula-web/report.php.orig
Xwww/bacula-web/stats.php
Xwww/bacula-web/templates/css.tpl
Xwww/bacula-web/templates/footer.tpl
Xwww/bacula-web/templates/full_popup.tpl
Xwww/bacula-web/templates/full_popup.tpl.orig
Xwww/bacula-web/templates/generaldata.tpl
Xwww/bacula-web/templates/header.tpl
Xwww/bacula-web/templates/index.tpl
Xwww/bacula-web/templates/index.tpl.orig
Xwww/bacula-web/templates/last_run_report.tpl
Xwww/bacula-web/templates/report.tpl
Xwww/bacula-web/templates/report.tpl.orig
Xwww/bacula-web/templates/report_select.tpl
Xwww/bacula-web/templates/volumes.tpl
Xwww/bacula-web/templates/volumes.tpl.orig
Xwww/bacula-web/templates_c/blank
Xwww/bacula-web/test.php
Xwww/bacula-web/tsmarty2c.php
X@dirrm www/bacula-web/templates_c
X@dirrm www/bacula-web/templates
X@dirrm www/bacula-web/locale/it/LC_MESSAGES
X@dirrm www/bacula-web/locale/it
X@dirrm www/bacula-web/locale/fr/LC_MESSAGES
X@dirrm www/bacula-web/locale/fr
X@dirrm www/bacula-web/locale/es/LC_MESSAGES
X@dirrm www/bacula-web/locale/es
X@dirrm www/bacula-web/locale/en/LC_MESSAGES
X@dirrm www/bacula-web/locale/en
X@dirrm www/bacula-web/locale/de/LC_MESSAGES
X@dirrm www/bacula-web/locale/de
X@dirrm www/bacula-web/locale
X@dirrm www/bacula-web/js/mini
X@dirrm www/bacula-web/js
X@dirrm www/bacula-web/images
X@dirrm www/bacula-web/external_packages/smarty_gettext-0.9
X@dirrm www/bacula-web/external_packages/smarty/plugins
X@dirrm www/bacula-web/external_packages/smarty/internals
X@dirrm www/bacula-web/external_packages/smarty
X@dirrm www/bacula-web/external_packages/phplot/examples
X@dirrm www/bacula-web/external_packages/phplot/doc/imgs
X@dirrm www/bacula-web/external_packages/phplot/doc
X@dirrm www/bacula-web/external_packages/phplot
X@dirrm www/bacula-web/external_packages
X@dirrm www/bacula-web
END-of-bacula-web/pkg-plist
echo c - bacula-web/files
mkdir -p bacula-web/files > /dev/null 2>&1
echo x - bacula-web/files/patch-bacula-web-templates-volumes.tpl
sed 's/^X//' >bacula-web/files/patch-bacula-web-templates-volumes.tpl << 'END-of-bacula-web/files/patch-bacula-web-templates-volumes.tpl'
X--- bacula-web/templates/volumes.tpl.orig	Sun Jun 19 06:17:22 2005
X+++ bacula-web/templates/volumes.tpl	Sat Apr 29 16:29:36 2006
X@@ -31,8 +31,8 @@
X                                         <td>{$current3.0}</td>
X                                         <td>{$current3.1|fsize_format|default:0}</td>
X                                         <td>{$current3.4}</td>
X-                                        <td {popup text="$current3.6}">{if $current3.6|date_format:"%Y" <= "1979"}--{else}{$current3.6|date_format:"%Y/%m/%d"}{/if}</td>
X-                                        <td {popup text="$current3.5}">{if $current3.5 == "0000-00-00 00:00:00"}--{else}{$current3.5|date_format:"%Y/%m/%d"}{/if}</td>
X+                                        <td>{if $current3.6|date_format:"%Y" <= "1979"}--{else}{$current3.6|date_format:"%Y/%m/%d"}{/if}</td>
X+                                        <td>{if $current3.5 == "0000-00-00 00:00:00"}--{else}{$current3.5|date_format:"%Y/%m/%d"}{/if}</td>
X                                         <td>
X                                                 <font color=
X                                                 {if $current3.2 == "Error"}
END-of-bacula-web/files/patch-bacula-web-templates-volumes.tpl
echo x - bacula-web/files/patch-bacula-web-classes.inc
sed 's/^X//' >bacula-web/files/patch-bacula-web-classes.inc << 'END-of-bacula-web/files/patch-bacula-web-classes.inc'
X--- bacula-web/classes.inc.orig	Sat Nov  5 17:11:16 2005
X+++ bacula-web/classes.inc	Sat Apr 29 16:34:44 2006
X@@ -15,8 +15,8 @@
X +-------------------------------------------------------------------------+ 
X */
X // Last Err: 11
X-define('CONFIG_DIR', "configs");
X-define('CONFIG_FILE', "bacula.conf");
X+define('CONFIG_DIR', "/usr/local/etc");
X+define('CONFIG_FILE', "bacula-web.conf");
X define('BACULA_TYPE_BYTES_FILES', 1);
X define('BACULA_TYPE_FILES_JOBID', 2);
X define('BACULA_TYPE_BYTES_ENDTIME_ALLJOBS', 69);
END-of-bacula-web/files/patch-bacula-web-classes.inc
echo x - bacula-web/files/patch-bacula-web-index.php
sed 's/^X//' >bacula-web/files/patch-bacula-web-index.php << 'END-of-bacula-web/files/patch-bacula-web-index.php'
X--- bacula-web/index.php.orig	Thu Oct  6 10:45:48 2005
X+++ bacula-web/index.php	Sat Apr 29 16:35:59 2006
X@@ -26,9 +26,9 @@
X //$smarty->compile_check = true;
X //$smarty->debugging = true;
X $smarty->template_dir = "./templates";
X-$smarty->compile_dir = "./templates_c";
X-$smarty->config_dir     = "./configs";
X-$smarty->config_load("bacula.conf");                                                                                    // Load config file
X+$smarty->compile_dir = "/var/bacula-web/templates_c";
X+$smarty->config_dir     = "/usr/local/etc";
X+$smarty->config_load("bacula-web.conf");                                                                                    // Load config file
X $mode = $smarty->get_config_vars("mode");                                                                               // Lite o Extend?
X 
X require("lang.php");
X@@ -75,8 +75,11 @@
X 
X $client->free();
X $totalfiles->free();
X-$last24bytes->free();
X-
X+if ( $dbSql->driver == "mysql" ) {
X+  $last24bytes->free();
X+} else { 
X+#  $last24bytes->freeResult();
X+}
X 
X // report_select.tpl & last_run_report.tpl
X $res = $dbSql->link->query("select Name from Job group by Name");
END-of-bacula-web/files/patch-bacula-web-index.php
echo x - bacula-web/files/patch-bacula-web-report.php
sed 's/^X//' >bacula-web/files/patch-bacula-web-report.php << 'END-of-bacula-web/files/patch-bacula-web-report.php'
X--- bacula-web/report.php.orig	Thu Oct  6 10:45:48 2005
X+++ bacula-web/report.php	Sat Apr 29 16:36:01 2006
X@@ -25,9 +25,9 @@
X //$smarty->debugging = true;
X 
X $smarty->template_dir   = "./templates";
X-$smarty->compile_dir    = "./templates_c";
X-$smarty->config_dir     = "./configs";
X-$smarty->config_load("bacula.conf");
X+$smarty->compile_dir    = "/var/bacula-web/templates_c";
X+$smarty->config_dir     = "/usr/local/etc";
X+$smarty->config_load("bacula-web.conf");
X require("lang.php");
X 
X $dbSql = new Bweb();
END-of-bacula-web/files/patch-bacula-web-report.php
echo x - bacula-web/files/patch-bacula-web-templates-full_popup.tpl
sed 's/^X//' >bacula-web/files/patch-bacula-web-templates-full_popup.tpl << 'END-of-bacula-web/files/patch-bacula-web-templates-full_popup.tpl'
X--- bacula-web/templates/full_popup.tpl.orig	Wed Jun 15 10:59:27 2005
X+++ bacula-web/templates/full_popup.tpl	Sat Apr 29 16:36:02 2006
X@@ -1,4 +1,4 @@
X-{config_load file=bacula.conf}
X+{config_load file=bacula-web.conf}
X <html>
X <head>
X {include file=css.tpl}
END-of-bacula-web/files/patch-bacula-web-templates-full_popup.tpl
echo x - bacula-web/files/patch-bacula-web-templates-report.tpl
sed 's/^X//' >bacula-web/files/patch-bacula-web-templates-report.tpl << 'END-of-bacula-web/files/patch-bacula-web-templates-report.tpl'
X--- bacula-web/templates/report.tpl.orig	Mon Sep 19 11:33:10 2005
X+++ bacula-web/templates/report.tpl	Sat Apr 29 16:36:04 2006
X@@ -1,5 +1,5 @@
X {* Página principal BACULA *}
X-{config_load  file=bacula.conf}
X+{config_load  file=bacula-web.conf}
X {popup_init src="js/overlib.js"}
X <html>
X <head>
END-of-bacula-web/files/patch-bacula-web-templates-report.tpl
echo x - bacula-web/files/patch-bacula-web-templates-index.tpl
sed 's/^X//' >bacula-web/files/patch-bacula-web-templates-index.tpl << 'END-of-bacula-web/files/patch-bacula-web-templates-index.tpl'
X--- bacula-web/templates/index.tpl.orig	Sun Jun 19 04:52:45 2005
X+++ bacula-web/templates/index.tpl	Sat Apr 29 16:36:03 2006
X@@ -1,6 +1,6 @@
X {* BACULA main page*}
X 
X-{config_load file=bacula.conf}
X+{config_load file=bacula-web.conf}
X 
X {include file=css.tpl}
X 
END-of-bacula-web/files/patch-bacula-web-templates-index.tpl
exit
--- bacula-web.shar ends here ---

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



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