aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog17
-rw-r--r--debian/compat1
-rw-r--r--debian/control77
-rw-r--r--debian/copyright15
-rw-r--r--debian/gbp.conf6
-rw-r--r--debian/interimap.docs2
-rw-r--r--debian/interimap.install3
-rw-r--r--debian/interimap.manpages1
-rw-r--r--debian/libinterimap.install1
-rw-r--r--debian/patches/Ignore-custom-lib-PATH.patch42
-rw-r--r--debian/patches/Mention-the-Debian-BTS-in-the-manpages.patch39
-rw-r--r--debian/patches/series2
-rw-r--r--debian/pullimap.docs1
-rw-r--r--debian/pullimap.install2
-rw-r--r--debian/pullimap.manpages1
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/source.lintian-overrides2
-rw-r--r--debian/source/format1
18 files changed, 217 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e13a631
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,17 @@
+interimap (0.5-1) UNRELEASED; urgency=medium
+
+ * New upstream release. Closes: #942725.
+ * debian/control:
+ + New Build-Depends for the test-suite: dovecot-imapd,
+ libconfig-tiny-perl, libdbd-sqlite3-perl, libnet-ssleay-perl, procps,
+ sqlite3, and xxd.
+ + interimap now suggests dovecot-imapd.
+ + Add Homepage field, pointing to https://guilhem.org/interimap .
+
+ -- Guilhem Moulin <guilhem@debian.org> Mon, 27 May 2019 00:09:11 +0200
+
+interimap (0.4-1) unstable; urgency=low
+
+ * Initial release. Closes: #919904, #919906, #919908.
+
+ -- Guilhem Moulin <guilhem@debian.org> Sun, 20 Jan 2019 21:25:54 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a113ff7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,77 @@
+Source: interimap
+Section: mail
+Priority: optional
+Maintainer: Guilhem Moulin <guilhem@debian.org>
+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
+Homepage: https://guilhem.org/interimap
+Vcs-Git: https://git.guilhem.org/interimap
+Vcs-Browser: https://git.guilhem.org/interimap
+
+Package: interimap
+Architecture: all
+Depends: libdbd-sqlite3-perl,
+ libdbi-perl,
+ libinterimap (>= ${source:Upstream-Version}~),
+ ${misc:Depends},
+ ${perl:Depends}
+Suggests: dovecot-imapd (>= 2~)
+Description: Fast bidirectional synchronization for QRESYNC-capable IMAP servers
+ InterIMAP performs stateful bi-directional synchronization between two
+ IMAP4rev1 servers. Compared to the so-called "full" synchronization
+ solutions, InterIMAP is both much faster and parsimonious in network
+ traffic.
+ .
+ Stateful synchronization is made possible by the QRESYNC extension from
+ [RFC7162]; for convenience reasons servers must also support LIST-EXTENDED
+ [RFC5258], LIST-STATUS [RFC5819] and UIDPLUS [RFC4315].
+ .
+ Furthermore, while InterIMAP can work with servers lacking support for
+ LITERAL+ [RFC2088] and MULTIAPPEND [RFC3502], these extensions greatly
+ improve performance by reducing the number of required round trips and it
+ thus strongly recommended to use a server supporting these.
+ .
+ InterIMAP supports the COMPRESS=DEFLATE extension from [RFC4978]. It is
+ enabled by default on remote servers advertising it, in order to reduce
+ network traffic, especially for long-lived connections.
+
+Package: pullimap
+Architecture: all
+Depends: libinterimap (>= ${source:Upstream-Version}~),
+ ${misc:Depends},
+ ${perl:Depends}
+Description: Pull mails from an IMAP mailbox and deliver them via SMTP or LMTP
+ PullIMAP retrieves messages from an IMAP mailbox and deliver them to an
+ SMTP or LMTP transmission channel. It can also remove old messages after
+ a configurable retention period.
+ .
+ A statefile is used to keep track of the mailbox's UIDVALIDITY and UIDNEXT
+ values. While PullIMAP is running, the statefile is also used to keep
+ track of UIDs being delivered, which avoids duplicate deliveries if the
+ process is interrupted.
+ .
+ PullIMAP supports the COMPRESS=DEFLATE extension from [RFC4978]. It is
+ enabled by default on servers advertising it, in order to reduce network
+ traffic, especially for long-lived connections (when IDLE commands are
+ enabled.)
+
+Package: libinterimap
+Architecture: all
+Depends: libconfig-tiny-perl,
+ libnet-ssleay-perl (>= 1.73~),
+ ${misc:Depends},
+ ${perl:Depends}
+Description: Net::IMAP::InterIMAP library and utils
+ Net::IMAP::InterIMAP is a minimal IMAP4rev1 client for QRESYNC-capable
+ servers, used by interimap. It can also be used with non QRESYNC-capable
+ servers, but doing so can be unsafe as the client does not store any
+ in-session mapping between message sequence numbers and UIDs.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..12704ee
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,15 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://git.guilhem.org/interimap/
+
+Files: *
+Copyright: © 2015-2018 Guilhem Moulin <guilhem@fripost.org>
+License: GPL-3+
+
+License: GPL-3+
+ This package is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by the
+ Free Software Foundation; either version 3 of the License, or (at your
+ option) any later version.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in file "/usr/share/common-licenses/GPL-3".
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..4daf79f
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,6 @@
+[DEFAULT]
+upstream-branch = master
+debian-branch = debian
+upstream-tag = upstream/%(version)s
+debian-tag = debian/%(version)s
+pristine-tar = False
diff --git a/debian/interimap.docs b/debian/interimap.docs
new file mode 100644
index 0000000..832c114
--- /dev/null
+++ b/debian/interimap.docs
@@ -0,0 +1,2 @@
+README
+interimap.sample
diff --git a/debian/interimap.install b/debian/interimap.install
new file mode 100644
index 0000000..4e95d07
--- /dev/null
+++ b/debian/interimap.install
@@ -0,0 +1,3 @@
+interimap /usr/bin
+interimap.service usr/lib/systemd/user
+interimap@.service usr/lib/systemd/user
diff --git a/debian/interimap.manpages b/debian/interimap.manpages
new file mode 100644
index 0000000..52bd645
--- /dev/null
+++ b/debian/interimap.manpages
@@ -0,0 +1 @@
+doc/interimap.1
diff --git a/debian/libinterimap.install b/debian/libinterimap.install
new file mode 100644
index 0000000..c79d222
--- /dev/null
+++ b/debian/libinterimap.install
@@ -0,0 +1 @@
+lib/Net/IMAP/InterIMAP.pm /usr/share/perl5/Net/IMAP
diff --git a/debian/patches/Ignore-custom-lib-PATH.patch b/debian/patches/Ignore-custom-lib-PATH.patch
new file mode 100644
index 0000000..28e7db8
--- /dev/null
+++ b/debian/patches/Ignore-custom-lib-PATH.patch
@@ -0,0 +1,42 @@
+From: Guilhem Moulin <guilhem@debian.org>
+Date: Sun, 12 Jun 2016 22:42:16 +0200
+Subject: [PATCH] Ignore custom lib PATH.
+
+---
+ interimap | 1 -
+ pullimap | 1 -
+ tests/00-db-exclusive/run | 4 ++--
+ 3 files changed, 2 insertions(+), 4 deletions(-)
+
+--- a/interimap
++++ b/interimap
+@@ -32,7 +32,6 @@ use DBD::SQLite::Constants ':file_open';
+ use Fcntl qw/F_GETFD F_SETFD FD_CLOEXEC/;
+ use List::Util 'first';
+
+-use lib 'lib';
+ use Net::IMAP::InterIMAP 0.0.5 qw/xdg_basedir read_config compact_set/;
+
+ # Clean up PATH
+--- a/pullimap
++++ b/pullimap
+@@ -31,7 +31,6 @@ use Getopt::Long qw/:config posix_defaul
+ use List::Util 'first';
+ use Socket qw/PF_INET PF_INET6 SOCK_STREAM/;
+
+-use lib 'lib';
+ 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 :
diff --git a/debian/patches/Mention-the-Debian-BTS-in-the-manpages.patch b/debian/patches/Mention-the-Debian-BTS-in-the-manpages.patch
new file mode 100644
index 0000000..70339db
--- /dev/null
+++ b/debian/patches/Mention-the-Debian-BTS-in-the-manpages.patch
@@ -0,0 +1,39 @@
+From: Guilhem Moulin <guilhem@debian.org>
+Date: Sun, 20 Jan 2019 21:09:43 +0100
+Subject: [PATCH] Mention the Debian BTS in the manpages.
+
+---
+ doc/interimap.1.md | 6 ++++++
+ doc/pullimap.1.md | 6 ++++++
+ 2 files changed, 12 insertions(+)
+
+--- a/doc/interimap.1.md
++++ b/doc/interimap.1.md
+@@ -501,6 +501,12 @@ Standards
+ and Quick Mailbox Resynchronization (`QRESYNC`)_,
+ [RFC 7162], May 2014.
+
++Bugs and feedback
++=================
++
++Bugs or feature requests for `interimap` should be filed with the
++Debian project's bug tracker at <<https://www.debian.org/Bugs/>>.
++
+ [RFC 7162]: https://tools.ietf.org/html/rfc7162
+ [RFC 5258]: https://tools.ietf.org/html/rfc5258
+ [RFC 5819]: https://tools.ietf.org/html/rfc5819
+--- a/doc/pullimap.1.md
++++ b/doc/pullimap.1.md
+@@ -352,6 +352,12 @@ Standards
+ * J. Klensin, _Simple Mail Transfer Protocol_,
+ [RFC 5321], October 2008.
+
++Bugs and feedback
++=================
++
++Bugs or feature requests for `pullimap` should be filed with the
++Debian project's bug tracker at <<https://www.debian.org/Bugs/>>.
++
+ [RFC 4315]: https://tools.ietf.org/html/rfc4315
+ [RFC 2177]: https://tools.ietf.org/html/rfc2177
+ [RFC 2595]: https://tools.ietf.org/html/rfc2595
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..649d1d8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+Ignore-custom-lib-PATH.patch
+Mention-the-Debian-BTS-in-the-manpages.patch
diff --git a/debian/pullimap.docs b/debian/pullimap.docs
new file mode 100644
index 0000000..7a3ecbb
--- /dev/null
+++ b/debian/pullimap.docs
@@ -0,0 +1 @@
+pullimap.sample
diff --git a/debian/pullimap.install b/debian/pullimap.install
new file mode 100644
index 0000000..581805d
--- /dev/null
+++ b/debian/pullimap.install
@@ -0,0 +1,2 @@
+pullimap /usr/bin
+pullimap@.service usr/lib/systemd/user
diff --git a/debian/pullimap.manpages b/debian/pullimap.manpages
new file mode 100644
index 0000000..0d791aa
--- /dev/null
+++ b/debian/pullimap.manpages
@@ -0,0 +1 @@
+doc/pullimap.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2d33f6a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
new file mode 100644
index 0000000..264ad5e
--- /dev/null
+++ b/debian/source.lintian-overrides
@@ -0,0 +1,2 @@
+# this repository is also upstream
+debian-watch-file-is-missing
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)