Merge ~bryce/ubuntu/+source/php7.4:fix-lp1850933-focal into ubuntu/+source/php7.4:ubuntu/devel

Proposed by Bryce Harrington
Status: Merged
Approved by: Bryce Harrington
Approved revision: 3971cb7b932e15f901394f38ed4cbc4831277746
Merged at revision: 3971cb7b932e15f901394f38ed4cbc4831277746
Proposed branch: ~bryce/ubuntu/+source/php7.4:fix-lp1850933-focal
Merge into: ubuntu/+source/php7.4:ubuntu/devel
Diff against target: 62 lines (+16/-2)
3 files modified
debian/changelog (+8/-0)
debian/control (+4/-1)
debian/control.in (+4/-1)
Reviewer Review Type Date Requested Status
Christian Ehrhardt  (community) Approve
Canonical Server Pending
Ubuntu Server Pending
Review via email: mp+381283@code.launchpad.net

Description of the change

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

Quote: "Debian differs from Ubuntu here in that they try to support multiple php versions co-installed. So, it's unlikely this fix would be upstreamable."

That would have been the only thing I wanted to see, but I agree to the above.
The change itself LGTM to avoid a serious issues for upgraders to 20.04.

I'm glad that after PHP itself has migrated it is time for such fixes now.

This is based on my suggestion that was for 7.2 in Eoan.
But for Focal the solution has to be slightly different. Here the fix needs to consider two upgrade paths:
- from Eoan
- from Bionic
IMHO we need also to conflict with libapache2-mod-php7.2 (Bionics version) to fix both paths.

Do you agree?

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

Yep, that makes sense. I've updated the branch to also conflict for php7.2.

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

Thanks, LGTM now +1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index b37796e..c82a2a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
1php7.4 (7.4.3-4ubuntu1) focal; urgency=medium
2
3 * d/control, d/control.in: Conflict with mod-php from php7.2 and
4 php7.3 to ensure safe upgrade path for apache2.
5 (Fixes LP: #1850933)
6
7 -- Bryce Harrington <bryce@canonical.com> Thu, 26 Mar 2020 20:24:23 +0000
8
1php7.4 (7.4.3-4build2) focal; urgency=medium9php7.4 (7.4.3-4build2) focal; urgency=medium
210
3 * No-change rebuild for icu soname change.11 * No-change rebuild for icu soname change.
diff --git a/debian/control b/debian/control
index 9d0db02..8eb38a4 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,8 @@
1Source: php7.41Source: php7.4
2Section: php2Section: php
3Priority: optional3Priority: optional
4Maintainer: Debian PHP Maintainers <team+pkg-php@tracker.debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian PHP Maintainers <team+pkg-php@tracker.debian.org>
5Uploaders: Ondřej Surý <ondrej@debian.org>,6Uploaders: Ondřej Surý <ondrej@debian.org>,
6 Lior Kaplan <kaplan@debian.org>7 Lior Kaplan <kaplan@debian.org>
7Build-Depends: apache2-dev (>= 2.4),8Build-Depends: apache2-dev (>= 2.4),
@@ -95,6 +96,8 @@ Depends: libmagic1,
95 ${shlibs:Depends}96 ${shlibs:Depends}
96Provides: libapache2-mod-php,97Provides: libapache2-mod-php,
97 ${php:Provides}98 ${php:Provides}
99Conflicts: libapache2-mod-php7.3,
100 libapache2-mod-php7.2
98Recommends: apache2101Recommends: apache2
99Suggests: php-pear102Suggests: php-pear
100Description: server-side, HTML-embedded scripting language (Apache 2 module)103Description: server-side, HTML-embedded scripting language (Apache 2 module)
diff --git a/debian/control.in b/debian/control.in
index 2e2339a..360e31d 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -1,7 +1,8 @@
1Source: php@PHP_VERSION@1Source: php@PHP_VERSION@
2Section: php2Section: php
3Priority: optional3Priority: optional
4Maintainer: Debian PHP Maintainers <team+pkg-php@tracker.debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian PHP Maintainers <team+pkg-php@tracker.debian.org>
5Uploaders: Ondřej Surý <ondrej@debian.org>,6Uploaders: Ondřej Surý <ondrej@debian.org>,
6 Lior Kaplan <kaplan@debian.org>7 Lior Kaplan <kaplan@debian.org>
7Build-Depends: apache2-dev (>= 2.4),8Build-Depends: apache2-dev (>= 2.4),
@@ -95,6 +96,8 @@ Depends: libmagic1,
95 ${shlibs:Depends}96 ${shlibs:Depends}
96Provides: libapache2-mod-php,97Provides: libapache2-mod-php,
97 ${php:Provides}98 ${php:Provides}
99Conflicts: libapache2-mod-php7.3,
100 libapache2-mod-php7.2
98Recommends: apache2101Recommends: apache2
99Suggests: php-pear102Suggests: php-pear
100Description: server-side, HTML-embedded scripting language (Apache 2 module)103Description: server-side, HTML-embedded scripting language (Apache 2 module)

Subscribers

People subscribed via source and target branches