Author: jajcus                       Date: Sun Jan  7 14:48:26 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bcond to disable synchronous sqlite3 writes (gives significant speed gain)

---- Files affected:
SPECS:
   bacula.spec (1.57 -> 1.58) 

---- Diffs:

================================================================
Index: SPECS/bacula.spec
diff -u SPECS/bacula.spec:1.57 SPECS/bacula.spec:1.58
--- SPECS/bacula.spec:1.57      Sat Jan  6 12:12:07 2007
+++ SPECS/bacula.spec   Sun Jan  7 15:48:21 2007
@@ -10,12 +10,13 @@
 %bcond_with    python
 %bcond_with    rescue
 %bcond_with    sqlite3         # use sqlite3 insted sqlite
+%bcond_with    sqlite3_sync_off        # makes sqlite3 backend much faster, 
but less reliable
 #
 Summary:       Bacula - The Network Backup Solution
 Summary(pl):   Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
 Name:          bacula
 Version:       2.0.0
-Release:       0.3
+Release:       0.4
 Epoch:         0
 License:       extended GPL v2
 Group:         Networking/Utilities
@@ -38,6 +39,7 @@
 Patch1:                %{name}-link.patch
 Patch2:                %{name}-compile.patch
 Patch3:                %{name}-wx28.patch
+Patch4:                %{name}-sqlite3_init_query.patch
 URL:           http://www.bacula.org/
 BuildRequires: acl-static
 BuildRequires: automake
@@ -383,6 +385,8 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
+
 #tar -xf %{SOURCE2}
 tar -xf %{SOURCE3} && ln -s bacula-rescue-* rescue
 sed -i -e 's#wx-config#wx-gtk2-unicode-config#g' configure*
@@ -412,6 +416,7 @@
        --with-pid-dir=/var/run \
        --with-subsys-dir=/var/lock/subsys \
        --with-sqlite%{?with_sqlite3:3} \
+       %{?with_sqlite3_sync_off:--enable-extra-sqlite3-init="pragma 
synchronous=0;"} \
        --with-dir-password="#FAKE-dir-password#" \
        --with-fd-password="#FAKE-fd-password#" \
        --with-sd-password="#FAKE-sd-password#" \
@@ -825,6 +830,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.58  2007/01/07 14:48:21  jajcus
+- bcond to disable synchronous sqlite3 writes (gives significant speed gain)
+
 Revision 1.57  2007/01/06 11:12:07  jajcus
 - dvd_append.patch should not be needed with bacula 2.0 and may break things
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bacula.spec?r1=1.57&r2=1.58&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to