]> git.pld-linux.org Git - packages/bacula.git/commitdiff
- bcond to disable synchronous sqlite3 writes (gives significant speed gain)
authorJacek Konieczny <jajcus@pld-linux.org>
Sun, 7 Jan 2007 14:48:21 +0000 (14:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bacula.spec -> 1.58

bacula.spec

index 89af8a09d83765e9c1c599ab7ac0963f343d5d40..d0d89d30fd616c76aaa889ceeb6e7dbff5ea3544 100644 (file)
@@ -9,12 +9,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
@@ -37,6 +38,7 @@ Patch0:               %{name}-dvd-handler_path.patch
 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
@@ -382,6 +384,8 @@ danego systemu, nale
 %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*
@@ -411,6 +415,7 @@ CPPFLAGS="-I/usr/include/ncurses -I%{_includedir}/readline"
        --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#" \
This page took 0.0973349999999999 seconds and 4 git commands to generate.