[pkg-bacula-commits] [bacula] 02/04: updated debian/scripts/install-dbconfig for database version 16

Carsten Leonhardt leo at moszumanska.debian.org
Mon Aug 14 22:57:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

leo pushed a commit to branch master
in repository bacula.

commit fa9cb7ff68032e8661094098483d9c941f78304c
Author: Carsten Leonhardt <leo at debian.org>
Date:   Tue Aug 15 00:27:29 2017 +0200

    updated debian/scripts/install-dbconfig for database version 16
    
    fresh installs with sqlite3 will not work due to
    http://bugs.bacula.org/view.php?id=2305
---
 debian/TODO                     | 11 ++++++++++-
 debian/changelog                |  3 +++
 debian/scripts/install-dbconfig | 12 +++++++++---
 3 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/debian/TODO b/debian/TODO
index a590dd5..d3e528b 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -1,6 +1,15 @@
-High:
+Before next upload:
+
+ * fix debian/scripts/install-dbconfig pending input from
+   http://bugs.bacula.org/view.php?id=2305
+   otherwise fresh installs with sqlite3 will not work
+
+Very High:
 
  * New tray console needs a new binary package
+
+High:
+
  * Look into the build problems with OpenSSL 1.1.0
    - debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828244
    - upstream bug report: http://bugs.bacula.org/view.php?id=2247
diff --git a/debian/changelog b/debian/changelog
index be0c0a8..1fa83b1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,9 @@ bacula (9.0.3+dfsg-1) unstable; urgency=low
     database version update and abort the build if needed
   * updated upstream signing key
   * updated debian/copyright
+  * updated debian/scripts/install-dbconfig for database version 16
+    XXX needs fix pending info from http://bugs.bacula.org/view.php?id=2305
+    XXX fresh installs with sqlite3 will not work
 
  --
 
diff --git a/debian/scripts/install-dbconfig b/debian/scripts/install-dbconfig
index b299223..1ed2fb0 100755
--- a/debian/scripts/install-dbconfig
+++ b/debian/scripts/install-dbconfig
@@ -7,7 +7,7 @@
 # in particular "lastdbversion" and the case statements need to be reviewed.
 
 
-# (C) 2016 Carsten Leonhardt <leo at debian.org>
+# (C) 2016-2017 Carsten Leonhardt <leo at debian.org>
 
 # License: expat
 
@@ -33,7 +33,7 @@
 
 # first and last target database version covered by this script
 dbtarget=11
-lastdbversion=15
+lastdbversion=16
 
 variants="mysql pgsql sqlite3"
 
@@ -83,6 +83,8 @@ while [ $dbtarget -le $lastdbversion ]; do
 		;;
 	    15)	baculaversion="7.2.0"
 		;;
+	    16)	baculaversion="9.0.0"
+		;;
 	    *)	echo "$0: Unknown database target version"
 		exit 1
 		;;
@@ -111,7 +113,11 @@ done
 
 # check if this script needs to be updated
 # we check for all db types just to be on the safe side
-for db in $variants; do
+### begin temporary fix XXX
+working_variants="mysql pgsql"
+for db in $working_variants; do
+#for db in $variants; do
+### end temporary fix XXX
     set_longdb
 
     sourcefile="src/cats/make_"$longdb"_tables"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bacula/bacula.git



More information about the pkg-bacula-commits mailing list