Merge ~bryce/ubuntu/+source/fetchmail:fetchmail-merge-v6.4.0Trc3-1 into ubuntu/+source/fetchmail:debian/sid

Proposed by Bryce Harrington
Status: Merged
Approved by: Christian Ehrhardt 
Approved revision: a4ce781e60f254b9e7dc2ebd22c451e672a09834
Merge reported by: Andreas Hasenack
Merged at revision: a4ce781e60f254b9e7dc2ebd22c451e672a09834
Proposed branch: ~bryce/ubuntu/+source/fetchmail:fetchmail-merge-v6.4.0Trc3-1
Merge into: ubuntu/+source/fetchmail:debian/sid
Diff against target: 153 lines (+101/-1)
5 files modified
debian/changelog (+55/-0)
debian/control (+2/-1)
debian/tests/control (+8/-0)
debian/tests/installation (+23/-0)
debian/tests/service (+13/-0)
Reviewer Review Type Date Requested Status
Christian Ehrhardt  (community) Approve
Canonical Server Pending
git-ubuntu developers Pending
Review via email: mp+372319@code.launchpad.net

Description of the change

This updates fetchmail from a beta version to an rc version, allowing us to drop three patches from the Ubuntu delta.

A full list of changes since beta4 is available here:

    git log SNAPSHOT-6_4_0_beta4..SNAPSHOT-6_4_0_rc3
    http://paste.ubuntu.com/p/svMf9hfgYS/

Summary of changes between beta4 and rc3:

  - Documentation updates (FAQ, README, etc.)
  - Translation updates
  - Improved wording of warnings and help option docs
  - fetchmailconf: Permit editing the first item from a list, and more updates.
    + Remove a bogus check that would prevent editing the first items from list boxes.
    + Require Python 2.3.
    + Convert apply() call to function(*(tuple,)) syntax
    + string.atoi() -> int() on select[0], to continue where it's not a string
  - Flip the switch on sslcertck in fetchmailconf, too.
  - fetchmail no longer reports System error during SSL_connect(): Success.
  - Fix format overflow warnings by printing IMAP tag as unsigned.
  - Remove register qualifier. Let the compiler sort out register allocation.
  - Fix Solaris build with non-c99 compiler (gcc), fixup fileno().
  - Comment on EXISTS in response to EXPUNGE.
  - Add git-check target from bogofilter. This is meant to see if the
    git export contains all files required for bootstrapping, in order
    to find files that were not added before a commit.
  - Add --nonet to xmllint throughout.
  - FreeBSD cleanups to header shuffling.
  - In-depth robustness. Reported by: clang static analyzer (clang-8)
  - Be a bit more verbose about SSL probing.
  - configure.ac: use pkg-config to find openssl
  - Update to GNU gettext 0.19.8.
  - Waive AC_TYPE_SIGNAL and assume signal handlers return void.
  - Replace most strncpy() by strlcpy() calls.
  - Drop socket when receiving unexpected untagged * BYE.
  - Add line termination when reporting unexpected untagged * BYE contents.
  - Enable OpenSSL >= 1.0.2 native name verification.
  - Added mapping to to PS_TRANSIENT or PS_REFUSED of LMTP response.
  - Fix potential SIGSEGV in pop3_delete.
  - Set umask properly before writing the .fetchids file,
    to avoid failing the security check on the next run.
    Reported by Fabian Raab, Debian Bug#831611.
  - imap_delete(): clean up delflags[_seen] variables.
  - Do not continue autoprobing other protocols after socket error

This list includes no features, just bug fixes, docs/translations, and refactoring.

A PPA with the package for testing is available at:

    https://launchpad.net/~bryce/+archive/ubuntu/fetchmail-merge-v6.4.0--rc3-1

    sudo add-apt-repository ppa:bryce/fetchmail-merge-v6.4.0--rc3-1
    sudo apt-get update
    sudo apt-get install fetchmail

Usual tags pushed

To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

FYI: you committed the PPA changelog change
For sponsoring I'd expect that is dropped, but since you can upload on your own you can remove that before you tag.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Ack to the patches that can be dropped because they are now upstream

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Debian changes seem ok in regard to FF.
With the one being close the removal of fetchmailconf, but being py2 only that is on the dark side and shall go anyway.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

The PPA build has not enabled non-x86 but it seems unlikely to just now break there.
But in general if you can enable all arch it will eventually build.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Yeah, overall +1 except the minor issue of the ~ppa1 changelog commit to be removed before upload.

review: Approve
Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks for the review!

Good tip on the arch's for PPAs, I must have missed that they slimmed them down.

Sorry about the ~ppa1 changelog, yes I've fixed that locally during upload.

Revision history for this message
Bryce Harrington (bryce) wrote :

$ git push pkg upload/6.4.0_rc4-1ubuntu1
Counting objects: 23, done.
Delta compression using up to 6 threads.
Compressing objects: 100% (23/23), done.
Writing objects: 100% (23/23), 3.74 KiB | 273.00 KiB/s, done.
Total 23 (delta 11), reused 4 (delta 0)
To ssh://git.launchpad.net/~usd-import-team/ubuntu/+source/fetchmail
 * [new tag] upload/6.4.0_rc4-1ubuntu1 -> upload/6.4.0_rc4-1ubuntu1
$ dput ../fetchmail_6.4.0~rc4-1ubuntu1_source.changes
Trying to upload package to ubuntu
Checking signature on .changes
gpg: ../fetchmail_6.4.0~rc4-1ubuntu1_source.changes: Valid signature from E603B2578FB8F0FB
Checking signature on .dsc
gpg: ../fetchmail_6.4.0~rc4-1ubuntu1.dsc: Valid signature from E603B2578FB8F0FB
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading fetchmail_6.4.0~rc4-1ubuntu1.dsc: done.
  Uploading fetchmail_6.4.0~rc4.orig.tar.xz: done.
  Uploading fetchmail_6.4.0~rc4-1ubuntu1.debian.tar.xz: done.
  Uploading fetchmail_6.4.0~rc4-1ubuntu1_source.buildinfo: done.
  Uploading fetchmail_6.4.0~rc4-1ubuntu1_source.changes: done.
Successfully uploaded packages.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This migrated to eoan already.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index dc5cecf..c1c6035 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,29 @@
6+fetchmail (6.4.0~rc4-1ubuntu1~eoan1) eoan; urgency=medium
7+
8+ * ppa build for eoan
9+
10+ -- Bryce Harrington <bryce@canonical.com> Wed, 04 Sep 2019 19:44:13 -0700
11+
12+fetchmail (6.4.0~rc4-1ubuntu1) eoan; urgency=medium
13+
14+ * Merge with Debian unstable. Remaining changes:
15+ - d/tests: Add basic dep8 test cases. This adds a trivial test to
16+ verify installation of the main bits, and that the service is up
17+ and running. Partially addresses LP #1677818 "Missing dep8
18+ tests", however a true fix will also test email fetching from a
19+ (local) mail service.
20+ * Dropped:
21+ - d/p/sni-support.patch: TLS: set hostname for SNI.
22+ [Now in upstream]
23+ - d/p/clang-robustness.patch: Backport clang null pointer checks from upstream
24+ to prevent potential segfaults.
25+ [Now in upstream]
26+ - d/p/set-umask-for-fetchids.patch: Backport upstream fix to set umask
27+ properly before writing the .fetchids file.
28+ [Now in upstream]
29+
30+ -- Bryce Harrington <bryce@canonical.com> Wed, 04 Sep 2019 19:37:24 -0700
31+
32 fetchmail (6.4.0~rc4-1) unstable; urgency=medium
33
34 * New major upstream RC release.
35@@ -45,6 +71,22 @@ fetchmail (6.4.0~rc1-1) unstable; urgency=medium
36
37 -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Mon, 05 Aug 2019 22:35:46 +0000
38
39+fetchmail (6.4.0~beta4-3ubuntu1) eoan; urgency=medium
40+
41+ * Merge with Debian unstable. Remaining changes:
42+ - d/p/sni-support.patch: TLS: set hostname for SNI. Thanks to Matthias
43+ Andree <matthias.andree@gmx.de> (LP #1798786)
44+ * Added Changes:
45+ - d/p/clang-robustness.patch: Backport clang null pointer checks from upstream
46+ to prevent potential segfaults.
47+ - d/p/set-umask-for-fetchids.patch: Backport upstream fix to set umask
48+ properly before writing the .fetchids file.
49+ - d/p/tests: Add preliminary/basic dep8 tests to check installation and
50+ service operation.
51+ (Partial fix for LP: #1677818)
52+
53+ -- Bryce Harrington <bryce@canonical.com> Sun, 16 Jun 2019 18:45:16 -0700
54+
55 fetchmail (6.4.0~beta4-3) unstable; urgency=medium
56
57 * Backport fix potential SIGSEGV in pop3_delete (closes: #921450).
58@@ -99,6 +141,19 @@ fetchmail (6.4.0~beta4-1) experimental; urgency=medium
59
60 -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sat, 23 Jun 2018 15:52:22 +0000
61
62+fetchmail (6.3.26-3ubuntu1) disco; urgency=medium
63+
64+ * d/p/sni-support.patch: TLS: set hostname for SNI. Thanks to Matthias
65+ Andree <matthias.andree@gmx.de> (LP: #1798786)
66+
67+ -- Karl Stenerud <karl.stenerud@canonical.com> Wed, 24 Oct 2018 05:12:24 -0700
68+
69+fetchmail (6.3.26-3build1) bionic; urgency=high
70+
71+ * No change rebuild against openssl1.1.
72+
73+ -- Dimitri John Ledkov <xnox@ubuntu.com> Mon, 05 Feb 2018 23:21:22 +0000
74+
75 fetchmail (6.3.26-3) unstable; urgency=low
76
77 * Use short debhelper rules format.
78diff --git a/debian/control b/debian/control
79index 94f9052..d0dc378 100644
80--- a/debian/control
81+++ b/debian/control
82@@ -1,7 +1,8 @@
83 Source: fetchmail
84 Section: mail
85 Priority: optional
86-Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.org>
87+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
88+XSBC-Original-Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.org>
89 Build-Depends: debhelper (>= 11), pkg-config, flex, libssl-dev (>= 1.0.2), bison, libkrb5-dev, libgssglue-dev
90 Standards-Version: 4.4.0
91 Homepage: http://www.fetchmail.info
92diff --git a/debian/tests/control b/debian/tests/control
93new file mode 100644
94index 0000000..1ca0335
95--- /dev/null
96+++ b/debian/tests/control
97@@ -0,0 +1,8 @@
98+Tests: installation
99+Depends: @
100+Restrictions:
101+
102+Tests: service
103+Depends: @, systemd-sysv
104+Restrictions: needs-root
105+
106diff --git a/debian/tests/installation b/debian/tests/installation
107new file mode 100755
108index 0000000..271fc6c
109--- /dev/null
110+++ b/debian/tests/installation
111@@ -0,0 +1,23 @@
112+#!/bin/sh
113+
114+############################################
115+### Check main installation requirements ###
116+############################################
117+
118+set -e
119+
120+# Config file
121+echo "Checking config file present"
122+test -e /etc/default/fetchmail
123+
124+# Service
125+echo "Checking service scripts are installed"
126+test -e /etc/init.d/fetchmail
127+test -e /etc/ppp/ip-down.d/fetchmail
128+
129+# Script
130+echo "Checking fetchmail is present"
131+test -e /usr/bin/fetchmail
132+fetchmail --version > /dev/null 2>&1
133+c=$(fetchmail --help 2>&1 | wc -l)
134+test $c -gt 5
135diff --git a/debian/tests/service b/debian/tests/service
136new file mode 100755
137index 0000000..95f9abc
138--- /dev/null
139+++ b/debian/tests/service
140@@ -0,0 +1,13 @@
141+#!/bin/sh
142+
143+###############################
144+### Check fetchmail service ###
145+###############################
146+
147+set -e
148+
149+echo "Checking fetchmail service is enabled"
150+systemctl is-enabled fetchmail.service
151+
152+echo "Checking fetchmail service is active"
153+systemctl is-active fetchmail.service

Subscribers

People subscribed via source and target branches