From 0d7031c2a8a6cdb3ca98c817852ce67d4a6ac107 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sat, 19 Dec 2009 18:22:03 +0100 Subject: [PATCH] Update bweb deb --- gui/debian/bweb.dirs | 2 +- gui/debian/bweb.postinst | 6 +++--- gui/debian/changelog | 5 +++++ gui/debian/rules | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gui/debian/bweb.dirs b/gui/debian/bweb.dirs index 4a8958fabd..a4668161db 100644 --- a/gui/debian/bweb.dirs +++ b/gui/debian/bweb.dirs @@ -1,5 +1,5 @@ etc/bacula -etc/apache2/conf.d +etc/apache2/sites-available usr/lib/cgi-bin/bweb usr/share/doc/bweb usr/share/bweb diff --git a/gui/debian/bweb.postinst b/gui/debian/bweb.postinst index a62117bf14..6f183ebb02 100644 --- a/gui/debian/bweb.postinst +++ b/gui/debian/bweb.postinst @@ -19,7 +19,7 @@ if [ "$1" = "configure" ] ; then chown www-data:root /var/spool/bweb chmod 700 /var/spool/bweb - + echo echo "If you are using postgresql, you have to load /usr/share/bweb/bweb-postgresql.sql in your database" @@ -29,8 +29,8 @@ if [ "$1" = "configure" ] ; then echo "If you are using mysql, you have to load /usr/share/bweb/bweb-mysql.sql in your database" echo "root@localhost:~$ mysql bacula < /usr/share/bweb/bweb-mysql.sql" echo - echo "You can use user/passwd (see /etc/apache/conf.d/bweb.conf)" - echo "You have to reload your apache configuration" + echo "You can use user/passwd (see /etc/apache2/sites-available/bweb.conf)" + echo "You have to enable bweb.conf (a2ensite) and reload your apache configuration" echo echo "'/usr/bin/bconsole -n -c /etc/bacula/bconsole.conf' must be accessible" echo "by your www-data. You meed to use :" diff --git a/gui/debian/changelog b/gui/debian/changelog index 8f75132920..380763ca17 100644 --- a/gui/debian/changelog +++ b/gui/debian/changelog @@ -1,3 +1,8 @@ +bweb (3.0.1-2) stable; urgency=low + * Change /etc/apache to /etc/apache2 + + -- Eric Bollengier Sat, 19 Dec 2009 19:15:47 +0000 + bweb (3.0.1-1) stable; urgency=low * Add View copies option to bresto * Tweak command output to add hide/display button diff --git a/gui/debian/rules b/gui/debian/rules index 455e858178..5f7d81a050 100755 --- a/gui/debian/rules +++ b/gui/debian/rules @@ -53,7 +53,7 @@ install-indep: install -m 644 bweb/lib/Bweb.pm debian/bweb/usr/share/perl5 install -m 644 bweb/lib/GTime.pm debian/bweb/usr/share/perl5 install -m 644 bweb/lib/GBalloon.pm debian/bweb/usr/share/perl5 - install -m 644 bweb/script/bweb.conf debian/bweb/etc/apache2/conf.d + install -m 644 bweb/script/bweb.conf debian/bweb/etc/apache2/sites-available install -m 755 bweb/cgi/bgraph.pl debian/bweb/usr/lib/cgi-bin/bweb install -m 755 bweb/cgi/bweb.pl debian/bweb/usr/lib/cgi-bin/bweb install -m 755 bweb/cgi/btime.pl debian/bweb/usr/lib/cgi-bin/bweb -- 2.39.5