From ef431a25a61a764379f035d18a04fe13b8949fca Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 24 Feb 2022 01:33:18 +0100 Subject: Update Changelog for v0.5.7. --- Changelog | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'Changelog') diff --git a/Changelog b/Changelog index f82f68b..9549892 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,42 @@ +interimap (0.5.7) upstream; + + * interimap: create database with mode 0600 (but don't change mode of + existing databases). The file was previously created with mode 0644, + but its directory had restricted mode 0700. pullimap, on the other + hand, already created state files with mode 0600. + * Major Makefile refactoring: improve DESTDIR= handling, add new + targets 'all-nodoc', 'install-nodoc', and 'installcheck'. Also, + rename 'test' target to 'check'. + * `make install` now installs Net/IMAP/InterIMAP.pm to + /usr/local/lib/site_perl by default rather than /usr/local/share/perl5 + (which is not in @INC as of perl 5.34.0-3 from Debian sid). The + installation directory is configurable with sitelib=. + * Refactor test harness so one can check the source with `tests/run + foo`; what's been built with `INTERIMAP_I=./lib INTERIMAP_PATH=./build + ./tests/run foo`, and what's installed with `INTERIMAP_I="" + INTERIMAP_PATH=/usr/bin tests/run foo`. + + Improve message for missing untagged UIDNEXT responses, which we + require but are omitted from some servers. + + tests/tls-protocols: downgrade OpenSSL security level to 0, which is + required to test TLS version <1.2 on systems with higher security + levels, see SSL_CTX_set_security_level(3ssl). Adapted from a patch + from for Unbuntu. + + tests/tls-*: bump Dovecot's ssl_min_protocol to TLSv1.2, which is the + default as of dovecot 1:2.3.18+dfsg1-1 from Debian sid. + + `make clean` now cleans test certificates and key material. + + Add 'use lib "./lib";' to interimap and pullimap, so the programs can + be run directly from the source directory. The directory is + substituted with $(sitelib) at compile time (and the line is commented + out if $(sitelib) is found in @INC). + + doc/build.md: update documentation, and add a new section for how to + install without root privileges. + + Add Documentation=https://guilhem.org/interimap/... URIs to .service + files. + - Don't hardcode path to interimap/pullimap in .service files, and + instead use $(bindir) (expanded at compile time). + + -- Guilhem Moulin Thu, 24 Feb 2022 01:28:25 +0100 + interimap (0.5.6) upstream; - Bump required Net::SSLeay version to 1.86_06 as it's when get_version() -- cgit v1.2.3 From 76a005507f284e874eb5a3e4e315bb324fb2a095 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 24 Feb 2022 23:09:14 +0100 Subject: Split interimap and pullimap test suites. --- Changelog | 1 + 1 file changed, 1 insertion(+) (limited to 'Changelog') diff --git a/Changelog b/Changelog index 9549892..cad321b 100644 --- a/Changelog +++ b/Changelog @@ -15,6 +15,7 @@ interimap (0.5.7) upstream; foo`; what's been built with `INTERIMAP_I=./lib INTERIMAP_PATH=./build ./tests/run foo`, and what's installed with `INTERIMAP_I="" INTERIMAP_PATH=/usr/bin tests/run foo`. + * Split interimap and pullimap test suites. + Improve message for missing untagged UIDNEXT responses, which we require but are omitted from some servers. + tests/tls-protocols: downgrade OpenSSL security level to 0, which is -- cgit v1.2.3 From 90d0b00313686a8e6a05e807c24d5c460718ba41 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 24 Feb 2022 23:44:46 +0100 Subject: tests/certs/generate: Redirect known error output to the standard output. That way we can avoid using autopkgtest's 'allow-stderr' restriction. --- Changelog | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Changelog') diff --git a/Changelog b/Changelog index cad321b..72f7331 100644 --- a/Changelog +++ b/Changelog @@ -35,6 +35,8 @@ interimap (0.5.7) upstream; files. - Don't hardcode path to interimap/pullimap in .service files, and instead use $(bindir) (expanded at compile time). + - tests/certs/generate: redirect known error output to the standard + output. -- Guilhem Moulin Thu, 24 Feb 2022 01:28:25 +0100 -- cgit v1.2.3 From 58c2c80b585fe51dea56ca13776b51f44ad68463 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 24 Feb 2022 23:59:37 +0100 Subject: tests/certs/generate: Use custom openssl.cnf. To avoid depending on the system default. --- Changelog | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Changelog') diff --git a/Changelog b/Changelog index 72f7331..1365749 100644 --- a/Changelog +++ b/Changelog @@ -37,6 +37,8 @@ interimap (0.5.7) upstream; instead use $(bindir) (expanded at compile time). - tests/certs/generate: redirect known error output to the standard output. + - tests/certs/generate: use custom openssl.cnf to avoid depending on + the system default. -- Guilhem Moulin Thu, 24 Feb 2022 01:28:25 +0100 -- cgit v1.2.3 From 0ed97cf6a2d7783b59ea9855a99e6a95816961ae Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 25 Feb 2022 00:23:32 +0100 Subject: tests/pullimap: Allow easy exclusion of --idle'ing tests. --- Changelog | 1 + 1 file changed, 1 insertion(+) (limited to 'Changelog') diff --git a/Changelog b/Changelog index 1365749..10db1a0 100644 --- a/Changelog +++ b/Changelog @@ -39,6 +39,7 @@ interimap (0.5.7) upstream; output. - tests/certs/generate: use custom openssl.cnf to avoid depending on the system default. + - tests/pullimap: allow easy exclusion of --idle'ing tests. -- Guilhem Moulin Thu, 24 Feb 2022 01:28:25 +0100 -- cgit v1.2.3 From 3ae6de89c5fc18b5b133f91ef0955c8eec8546f4 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sat, 26 Feb 2022 16:38:08 +0100 Subject: =?UTF-8?q?Mention=20that=20interimap=20=E2=89=A40.5.6=20did=20hon?= =?UTF-8?q?or=20umask=20for=20DB=20creation.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The commit message for 2447861913835637bbf49d96728ce9ac6ab0ae22 was misleading. DB creation does obey umask settings as of perl 5.34.0-3, libdbi-perl 1.643-3+b2, libdbd-sqlite3-perl 1.70-3+b1 and libsqlite3-0 3.37.2-2 from Debian Sid. Prefixing `make installcheck-interimap` with `umask 0077` makes the test suite pass for interimap 0.5.6-1. --- Changelog | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Changelog') diff --git a/Changelog b/Changelog index 10db1a0..97283a5 100644 --- a/Changelog +++ b/Changelog @@ -1,9 +1,11 @@ interimap (0.5.7) upstream; * interimap: create database with mode 0600 (but don't change mode of - existing databases). The file was previously created with mode 0644, - but its directory had restricted mode 0700. pullimap, on the other - hand, already created state files with mode 0600. + existing databases). The file was previously created with mode 0644 + minus umask restrictions, which for permissive umask(2)s is too open. + That being said its parent directory is created with restricted mode + 0700 so the impact is limited. pullimap, on the other hand, already + used mode 0600 for state file creation. * Major Makefile refactoring: improve DESTDIR= handling, add new targets 'all-nodoc', 'install-nodoc', and 'installcheck'. Also, rename 'test' target to 'check'. -- cgit v1.2.3 From 8ad5e5a218253a76eabf36bfd83f9e1a2a708377 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 27 Feb 2022 16:24:31 +0100 Subject: Prepare new release v0.5.7. --- Changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Changelog') diff --git a/Changelog b/Changelog index 97283a5..e7b9520 100644 --- a/Changelog +++ b/Changelog @@ -43,7 +43,7 @@ interimap (0.5.7) upstream; the system default. - tests/pullimap: allow easy exclusion of --idle'ing tests. - -- Guilhem Moulin Thu, 24 Feb 2022 01:28:25 +0100 + -- Guilhem Moulin Sun, 27 Feb 2022 16:24:31 +0100 interimap (0.5.6) upstream; -- cgit v1.2.3