From 1d0102794ca90b4520129336794da06e4e79b0d1 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 25 Sep 2012 21:24:35 -0400 Subject: get lintian overrides working, and generalize rule to all archs --- debian/libsqlcipher0.lintian-overrides | 11 +++++++++++ debian/lintian/overrides/libsqlcipher0 | 3 --- debian/rules | 2 ++ 3 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 debian/libsqlcipher0.lintian-overrides delete mode 100644 debian/lintian/overrides/libsqlcipher0 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 -- cgit v1.2.3