summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <hans@eds.org>2012-09-25 21:24:35 -0400
committerHans-Christoph Steiner <hans@eds.org>2012-09-27 15:24:21 -0400
commit1d0102794ca90b4520129336794da06e4e79b0d1 (patch)
tree7e40d7d2232ee6a03a36e891e508a875fe3b77a4
parent16f07f9eca01294dc1a4dd62f4b13856ddbdf262 (diff)
get lintian overrides working, and generalize rule to all archs
-rw-r--r--debian/libsqlcipher0.lintian-overrides11
-rw-r--r--debian/lintian/overrides/libsqlcipher03
-rwxr-xr-xdebian/rules2
3 files changed, 13 insertions, 3 deletions
diff --git a/debian/libsqlcipher0.lintian-overrides b/debian/libsqlcipher0.lintian-overrides
new file mode 100644
index 0000000..3553c12
--- /dev/null
+++ b/debian/libsqlcipher0.lintian-overrides
@@ -0,0 +1,11 @@
+# lintian correctly finds a version of sqlite in the sqlcipher libs. SQLCipher
+# is a customized version of SQLite3 that adds encryption support.
+# Unfortunately, this cannot be implemented as a plain plugin to SQLite
+# because it is not possible to make the encryption transparent without
+# modifying the core of SQLite. For example, with SQLCipher, you only need to
+# know about sqlite_key()/sqlite_rekey() and the related PRAGMAS, and the rest
+# of the API and SQL calls are exactly the same as SQLite. I believe this is
+# not even possible using the SQLite author's proprietary encryption plugin.
+#
+# Some more info on its design is available here: http://sqlcipher.net/design
+libsqlcipher0: embedded-library usr/lib/*/libsqlcipher.so.0.8.6: sqlite
diff --git a/debian/lintian/overrides/libsqlcipher0 b/debian/lintian/overrides/libsqlcipher0
deleted file mode 100644
index b2faf24..0000000
--- a/debian/lintian/overrides/libsqlcipher0
+++ /dev/null
@@ -1,3 +0,0 @@
-# lintian correctly finds a version of sqlite in the sqlcipher libs. SQLCipher
-# is a customized version of SQLite3 that adds encryption support.
-libsqlcipher0: embedded-library usr/lib/i386-linux-gnu/libsqlcipher.so.0.8.6: sqlite
diff --git a/debian/rules b/debian/rules
index c088965..b3d7ac2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -77,6 +77,7 @@ binary-indep: build install
dh_testdir
dh_testroot
+ dh_lintian -i
dh_install -i --sourcedir=$(DESTDIR)
dh_installdocs -i
dh_installchangelogs -i
@@ -95,6 +96,7 @@ binary-arch: build install
sed -e"s,\$${DEB_HOST_MULTIARCH},${DEB_HOST_MULTIARCH},g" \
debian/$${file}.in > debian/$$file; \
done
+ dh_lintian -a
dh_install -a --sourcedir=$(DESTDIR)
dh_installman -a
dh_installdocs -a