[pkg-php-pear] Bug#827695: zendframework: Rename zend-framework in Ubuntu to allow for a package sync

Nishanth Aravamudan nish.aravamudan at canonical.com
Sun Jun 19 19:35:49 UTC 2016


Package: zendframework
Version: 1.12.18+dfsg-1
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu yakkety ubuntu-patch

Dear Maintainer,

For reference:
https://bugs.launchpad.net/ubuntu/+source/zend-framework/+bug/1593024

I am hoping to get rid of the Ubuntu zend-framework package and simply
sync the zendframework package from Debian. Said package is currently
blacklisted in Ubuntu due to
https://bugs.launchpad.net/ubuntu/+source/zendframework/+bug/580507 (and
some more details in
https://bugs.launchpad.net/ubuntu/+source/zend-framework/+bug/1052423).

To that end, per https://wiki.debian.org/Renaming_a_Package Method 2, I
would like to see if you would consider taking the following patch,
which allows for proper upgrading from 16.04 -> 16.10 via:

  * zend-framework -> zendframework transition (LP: #1593024):
    - Define transitionaly dummy packages for zend-framework,
      libzend-framework-php, and zend-framework-bin, which were all
      binary packages from src:zend-framework.
    - Modify the definitions of zendframework and zendframework-bin to
      Replace & Break the zend-framework versions before this one.

I did also have one question, before you apply the same patch, though:
the zend-framework package in Ubuntu used a different upstream tarball
which included the 'extras' library from ZF1. Is there any interest in
Debian packaging the same? Either way, I probably need to modify the
patch to also B/R libzend-framework-zend-php -- I asked in the Ubuntu
bug just recently on the best way forward, as semantically zendframework
does break libzend-framework-zend-php (versioned), but doesn't replace
it.

Thanks for considering the patch.

*** /tmp/tmpZP39jt/zendframework_1.12.18+dfsg-1ubuntu1.debdiff
diff -Nru zendframework-1.12.18+dfsg/debian/control zendframework-1.12.18+dfsg/debian/control
--- zendframework-1.12.18+dfsg/debian/control	2016-04-13 13:38:23.000000000 -0700
+++ zendframework-1.12.18+dfsg/debian/control	2016-06-19 00:50:42.000000000 -0700
@@ -28,8 +28,8 @@
           php-xml,
           php-zip,
           ${phpcomposer:Debian-suggest}
-Replaces: ${phpcomposer:Debian-replace}
-Breaks: ${phpcomposer:Debian-conflict}, ${phpcomposer:Debian-replace}
+Replaces: zend-framework (<< 1.12.18+dfsg-1~), libzend-framework-php (<< 1.12.18+dfsg-1~), ${phpcomposer:Debian-replace}
+Breaks: zend-framework (<< 1.12.18+dfsg-1~), libzend-framework-php (<< 1.12.18+dfsg-1~), ${phpcomposer:Debian-conflict}, ${phpcomposer:Debian-replace}
 Provides: zend-framework, ${phpcomposer:Debian-provide}
 Description: powerful PHP framework
  Extending the art & spirit of PHP, Zend Framework is based on simplicity,
@@ -42,6 +42,8 @@
 Package: zendframework-bin
 Architecture: all
 Depends: php-cli, zendframework, ${misc:Depends}
+Replaces: zend-framework-bin (<< 1.12.18+dfsg-1~)
+Breaks: zend-framework-bin (<< 1.12.18+dfsg-1~)
 Description: binary scripts for zendframework
  Extending the art & spirit of PHP, Zend Framework is based on simplicity,
  object-oriented best practices, corporate friendly licensing, and a rigorously
@@ -60,3 +62,27 @@
  reliable, and modern Web 2.0 applications & web services, and consuming widely
  available APIs from leading vendors like Google, Amazon, Yahoo!, Flickr, as
  well as API providers and cataloguers like StrikeIron and ProgrammableWeb.
+
+Package: libzend-framework-php
+Depends: zendframework, ${misc:Depends}
+Architecture: all
+Priority: extra
+Section: oldlibs
+Description: transitional dummy package
+ This is a transitional dummy package. It can safely be removed.
+
+Package: zend-framework
+Depends: zendframework, ${misc:Depends}
+Architecture: all
+Priority: extra
+Section: oldlibs
+Description: transitional dummy package
+ This is a transitional dummy package. It can safely be removed.
+
+Package: zend-framework-bin
+Depends: zendframework-bin, ${misc:Depends}
+Architecture: all
+Priority: extra
+Section: oldlibs
+Description: transitional dummy package
+ This is a transitional dummy package. It can safely be removed.


-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-24-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
Nishanth Aravamudan
Ubuntu Server
Canonical Ltd



More information about the pkg-php-pear mailing list