From 272ab84e5cb4f37f5fb0351b934839a45b8dd72d Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 26 May 2019 23:39:34 +0200 Subject: New Build-Depends for the test-suite. dovecot-imapd, libconfig-tiny-perl, libdbd-sqlite3-perl, libnet-ssleay-perl, procps, sqlite3, and xxd. --- debian/changelog | 4 +++- debian/control | 13 +++++++++++-- debian/patches/Ignore-custom-lib-PATH.patch | 19 ++++++++++++++++--- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index af1f7e6..a02a61c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ interimap (0.5-1) UNRELEASED; urgency=medium - * New upstream release. + * New upstream release. New Build-Depends for the test-suite: + dovecot-imapd, libconfig-tiny-perl, libdbd-sqlite3-perl, + libnet-ssleay-perl, procps, sqlite3, and xxd. -- Guilhem Moulin Mon, 27 May 2019 00:09:11 +0200 diff --git a/debian/control b/debian/control index 92fd2ec..f7e5c7b 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,16 @@ Source: interimap Section: mail Priority: optional Maintainer: Guilhem Moulin -Build-Depends: debhelper (>= 11~), jq, pandoc (>= 2.1~) +Build-Depends: debhelper (>= 11~), + dovecot-imapd (>= 2~), + jq, + libconfig-tiny-perl, + libdbd-sqlite3-perl, + libnet-ssleay-perl (>= 1.73~), + pandoc (>= 2.1~), + procps, + sqlite3, + xxd Standards-Version: 4.3.0 Vcs-Git: https://git.guilhem.org/interimap Vcs-Browser: https://git.guilhem.org/interimap @@ -56,7 +65,7 @@ Description: Pull mails from an IMAP mailbox and deliver them via SMTP or LMTP Package: libinterimap Architecture: all Depends: libconfig-tiny-perl, - libnet-ssleay-perl (>=1.73-1), + libnet-ssleay-perl (>= 1.73~), ${misc:Depends}, ${perl:Depends} Description: Net::IMAP::InterIMAP library and utils diff --git a/debian/patches/Ignore-custom-lib-PATH.patch b/debian/patches/Ignore-custom-lib-PATH.patch index b956d78..28e7db8 100644 --- a/debian/patches/Ignore-custom-lib-PATH.patch +++ b/debian/patches/Ignore-custom-lib-PATH.patch @@ -3,9 +3,10 @@ Date: Sun, 12 Jun 2016 22:42:16 +0200 Subject: [PATCH] Ignore custom lib PATH. --- - interimap | 1 - - pullimap | 1 - - 2 files changed, 2 deletions(-) + interimap | 1 - + pullimap | 1 - + tests/00-db-exclusive/run | 4 ++-- + 3 files changed, 2 insertions(+), 4 deletions(-) --- a/interimap +++ b/interimap @@ -27,3 +28,15 @@ Subject: [PATCH] Ignore custom lib PATH. use Net::IMAP::InterIMAP 0.0.5 qw/xdg_basedir read_config compact_set/; # Clean up PATH +--- a/tests/00-db-exclusive/run ++++ b/tests/00-db-exclusive/run +@@ -19,7 +19,7 @@ sleep .05 # wait a short while so we hav + # verify that subsequent runs fail as we can't acquire the exclusive lock + ! interimap + +-# line 177 is `$DBH->do("PRAGMA locking_mode = EXCLUSIVE");` +-xgrep -Fx "DBD::SQLite::db do failed: database is locked at ./interimap line 177." <"$STDERR" ++# line 176 is `$DBH->do("PRAGMA locking_mode = EXCLUSIVE");` ++xgrep -Fx "DBD::SQLite::db do failed: database is locked at ./interimap line 176." <"$STDERR" + + # vim: set filetype=sh : -- cgit v1.2.3