# Bacula RPM spec file
-# Copyright (C) 2000-2006 Kern Sibbald
+# Copyright (C) 2000-2007 Free Software Foundation Europe, e.V.
# Platform Build Configuration
--with-scriptdir=/etc/bacula \
--enable-smartalloc \
--enable-client-only \
- %if %{mdk}
- --disable-nls \
- %endif
+ %if %{mdk}
+ --disable-nls \
+ %endif
--enable-static-fd
make
--with-postgresql \
%endif
%if %{wxconsole}
- --enable-wx-console \
+ --enable-wx-console \
%endif
%if %{python}
- --with-python \
+ --with-python \
%endif
%if %{client_only}
- --enable-client-only \
+ --enable-client-only \
%endif
- --mandir=%{_mandir} \
+ --mandir=%{_mandir} \
--with-working-dir=%{working_dir} \
--with-pid-dir=/var/run \
--with-subsys-dir=/var/lock/subsys \
sysconfdir=$RPM_BUILD_ROOT/etc/bacula \
scriptdir=$RPM_BUILD_ROOT/etc/bacula \
working_dir=$RPM_BUILD_ROOT%{working_dir} \
- mandir=$RPM_BUILD_ROOT%{_mandir} \
+ mandir=$RPM_BUILD_ROOT%{_mandir} \
install
%if ! %{client_only}
# Bacula RPM spec file
-# Copyright (C) 2000-2006 Kern Sibbald
+# Copyright (C) 2000-2007 Free Software Foundation Europe, e.V.
# Platform Build Configuration
--with-scriptdir=/etc/bacula \
--enable-smartalloc \
--enable-client-only \
- %if %{mdk}
- --disable-nls \
- %endif
+ %if %{mdk}
+ --disable-nls \
+ %endif
--enable-static-fd
make
--with-postgresql \
%endif
%if %{wxconsole}
- --enable-wx-console \
+ --enable-wx-console \
%endif
%if %{python}
- --with-python \
+ --with-python \
%endif
%if %{client_only}
- --enable-client-only \
+ --enable-client-only \
%endif
- --mandir=%{_mandir} \
+ --mandir=%{_mandir} \
--with-working-dir=%{working_dir} \
--with-pid-dir=/var/run \
--with-subsys-dir=/var/lock/subsys \
sysconfdir=$RPM_BUILD_ROOT/etc/bacula \
scriptdir=$RPM_BUILD_ROOT/etc/bacula \
working_dir=$RPM_BUILD_ROOT%{working_dir} \
- mandir=$RPM_BUILD_ROOT%{_mandir} \
+ mandir=$RPM_BUILD_ROOT%{_mandir} \
install
%if ! %{client_only}
# Bacula RPM spec file
-# Copyright (C) 2000-2006 Kern Sibbald
+# Copyright (C) 2000-2007 Free Software Foundation Europe, e.V.
# Platform Build Configuration
--with-scriptdir=/etc/bacula \
--enable-smartalloc \
--enable-client-only \
- %if %{mdk}
- --disable-nls \
- %endif
+ %if %{mdk}
+ --disable-nls \
+ %endif
--enable-static-fd
make
--with-postgresql \
%endif
%if %{wxconsole}
- --enable-wx-console \
+ --enable-wx-console \
%endif
%if %{python}
- --with-python \
+ --with-python \
%endif
%if %{client_only}
- --enable-client-only \
+ --enable-client-only \
%endif
- --mandir=%{_mandir} \
+ --mandir=%{_mandir} \
--with-working-dir=%{working_dir} \
--with-pid-dir=/var/run \
--with-subsys-dir=/var/lock/subsys \
sysconfdir=$RPM_BUILD_ROOT/etc/bacula \
scriptdir=$RPM_BUILD_ROOT/etc/bacula \
working_dir=$RPM_BUILD_ROOT%{working_dir} \
- mandir=$RPM_BUILD_ROOT%{_mandir} \
+ mandir=$RPM_BUILD_ROOT%{_mandir} \
install
%if ! %{client_only}
grant all on status to ${USER};
grant all on location to ${USER};
grant all on locationlog to ${USER};
-grant all on log to ${USER};
+grant all on log to ${USER};
-- for sequences on those tables
grant select, update on storage_storageid_seq to ${USER};
grant select, update on mediatype_mediatypeid_seq to ${USER};
grant select, update on device_deviceid_seq to ${USER};
-grant select, update on location_locationid_seq to ${USER};
-grant select, update on locationlog_loclogid_seq to ${USER};
-grant select, update on log_logid_seq to ${USER};
+grant select, update on location_locationid_seq to ${USER};
+grant select, update on locationlog_loclogid_seq to ${USER};
+grant select, update on log_logid_seq to ${USER};
END-OF-DATA
then
#!/bin/sh
#
-# Shell script to update MySQL tables from version 1.38 to 1.39
+# Shell script to update MySQL tables from version 1.38 to 2.0
#
echo " "
echo "This script will update a Bacula MySQL database from version 9 to 10"
-echo " which is needed to convert from Bacula version 1.38.x to 1.39.x or higher"
+echo " which is needed to convert from Bacula version 1.38.x to 2.0.x or higher"
echo "Depending on the size of your database,"
echo "this script may take several minutes to run."
echo " "
#!/bin/sh
#
-# shell script to update SQLite from version 1.38 to 1.39
+# shell script to update SQLite from version 1.38 to 2.0
#
echo " "
echo "This script will update a Bacula SQLite database from version 9 to 10"
-echo " which is needed to convert from Bacula version 1.38.x to 1.39.x or higher"
+echo " which is needed to convert from Bacula version 1.38.x to 2.0.x or higher"
echo "Depending on the size of your database,"
echo "this script may take several minutes to run."
echo " "
#!/bin/sh
#
-# shell script to update SQLite from version 1.38 to 1.39
+# shell script to update SQLite from version 1.38 to 2.0
#
echo " "
echo "This script will update a Bacula SQLite database from version 9 to 10"
-echo " which is needed to convert from Bacula version 1.38.x to 1.39.x or higher"
+echo " which is needed to convert from Bacula version 1.38.x to 2.0.x or higher"
echo "Depending on the size of your database,"
echo "this script may take several minutes to run."
echo " "