summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2015-09-03 16:25:49 -0400
committerMicah Anderson <micah@riseup.net>2015-09-03 16:25:49 -0400
commit7933edc74d36fe71301f50c5679e92d1491e8efc (patch)
tree890053b3625d7ef05f7158f81306f0a19062da31
parent646abd626885ced9e23a3a8e566a6a7e998f170d (diff)
add fix for #776987
-rw-r--r--debian/changelog8
-rw-r--r--debian/patches/20-change-name-to-sqlcipher.patch43
-rw-r--r--debian/patches/32-fix-pkgconfig-libname.patch2
3 files changed, 46 insertions, 7 deletions
diff --git a/debian/changelog b/debian/changelog
index eca50f3..ce265e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+sqlcipher (3.2.0-1.1) unstable; urgency=medium
+
+ [ Ben Carrillo ]
+ * Non-maintainer upload.
+ * use a separate variable to track SQLCIPHER version (Closes: #776987)
+
+ -- Micah Anderson <micah@debian.org> Wed, 22 Apr 2015 10:38:05 -0400
+
sqlcipher (3.2.0-1) unstable; urgency=low
* updated to latest upstream: v3.2.0
diff --git a/debian/patches/20-change-name-to-sqlcipher.patch b/debian/patches/20-change-name-to-sqlcipher.patch
index 4d02dda..64b10c9 100644
--- a/debian/patches/20-change-name-to-sqlcipher.patch
+++ b/debian/patches/20-change-name-to-sqlcipher.patch
@@ -1,7 +1,38 @@
---- a/VERSION
-+++ b/VERSION
-@@ -1 +1 @@
--3.8.6
-\ No newline at end of file
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -89,6 +89,7 @@ TCC += $(OPTS)
+ VERSION = @VERSION@
+ VERSION_NUMBER = @VERSION_NUMBER@
+ RELEASE = @RELEASE@
++SQLCIPHER_VERSION = @SQLCIPHER_VERSION@
+
+ # Filename extensions
+ #
+--- /dev/null
++++ b/VERSION_SQLCIPHER
+@@ -0,0 +1 @@
+3.2.0
-\ No newline at end of file
+--- a/configure.ac
++++ b/configure.ac
+@@ -179,6 +179,10 @@ VERSION_NUMBER=[`cat $srcdir/VERSION \
+ AC_MSG_NOTICE(Version number set to $VERSION_NUMBER)
+ AC_SUBST(VERSION_NUMBER)
+
++SQLCIPHER_VERSION=[`cat $srcdir/VERSION_SQLCIPHER | sed 's/^\([0-9]*\.*[0-9]*\).*/\1/'`]
++AC_MSG_NOTICE(SQLCipher Version set to $SQLCIPHER_VERSION)
++AC_SUBST(SQLCIPHER_VERSION)
++
+ #########
+ # Check to see if the --with-hints=FILE option is used. If there is none,
+ # then check for a files named "$host.hints" and ../$hosts.hints where
+--- a/sqlcipher.pc.in
++++ b/sqlcipher.pc.in
+@@ -7,7 +7,7 @@ includedir=@includedir@
+
+ Name: SQLCipher
+ Description: SQL database engine
+-Version: @PACKAGE_VERSION@
++Version: @SQLCIPHER_VERSION@
+ Libs: -L${libdir} -lsqlcipher
+ Libs.private: @LIBS@
+ Cflags: -I${includedir}
diff --git a/debian/patches/32-fix-pkgconfig-libname.patch b/debian/patches/32-fix-pkgconfig-libname.patch
index 5a9a920..44c8dfb 100644
--- a/debian/patches/32-fix-pkgconfig-libname.patch
+++ b/debian/patches/32-fix-pkgconfig-libname.patch
@@ -1,7 +1,7 @@
--- a/sqlcipher.pc.in
+++ b/sqlcipher.pc.in
@@ -10,4 +10,4 @@ Description: SQL database engine
- Version: @PACKAGE_VERSION@
+ Version: @SQLCIPHER_VERSION@
Libs: -L${libdir} -lsqlcipher
Libs.private: @LIBS@
-Cflags: -I${includedir}