Quantcast

[MacPorts] #53971: php-igbinary update to support php7

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[MacPorts] #53971: php-igbinary update to support php7

MacPorts
#53971: php-igbinary update to support php7
-------------------------+--------------------------
 Reporter:  chrisminett  |      Owner:
     Type:  update       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:  php7         |       Port:  php-igbinary
-------------------------+--------------------------
 Current version of `php-igbinary` is 1.2.1, available for php5.x

 Latest version is 2.0.3, which supports php5.x and php7.x

 By modifying the version number and checksums in the Portfile, it installs
 and works fine for me (macOS 10.12.4, php 7.1.3) but only by adding new
 `master_sites` and `distfiles` keywords to download from their Github
 repo. Not sure of the correct behaviour here (can't find anything in the
 guide), so that an up-to-date distfile can be added.

--
Ticket URL: <https://trac.macports.org/ticket/53971>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53971: php-igbinary update to support php7

MacPorts
#53971: php-igbinary update to support php7
---------------------------+----------------------
  Reporter:  chrisminett   |      Owner:  pixilla
      Type:  enhancement   |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  php-igbinary  |
---------------------------+----------------------
Changes (by mf2k):

 * owner:   => pixilla
 * cc: pixilla (removed)
 * status:  new => assigned
 * type:  update => enhancement
 * keywords:  php7 =>


--
Ticket URL: <https://trac.macports.org/ticket/53971#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53971: php-igbinary update to support php7

MacPorts
In reply to this post by MacPorts
#53971: php-igbinary update to support php7
---------------------------+----------------------
  Reporter:  chrisminett   |      Owner:  pixilla
      Type:  enhancement   |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  php-igbinary  |
---------------------------+----------------------
Changes (by ryandesign):

 * cc: ryandesign (added)


Comment:

 The correct procedure for using GitHub-hosted files is to use the github
 1.0 portgroup. However, the even more correct procedure for this port is
 for the developers of igbinary to release their software on PECL; they are
 tracking this problem here:
 https://github.com/igbinary/igbinary/issues/122

 The latest version on PECL is 2.0.1; we could update to that.

--
Ticket URL: <https://trac.macports.org/ticket/53971#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53971: php-igbinary update to support php7

MacPorts
In reply to this post by MacPorts
#53971: php-igbinary update to support php7
---------------------------+----------------------
  Reporter:  chrisminett   |      Owner:  pixilla
      Type:  enhancement   |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  php-igbinary  |
---------------------------+----------------------

Comment (by ryandesign):

 I had started working on this update, but php*-memcached depends on
 php*-igbinary, and because of the major version number increase, I didn't
 know whether the new php-igbinary is compatible with the old php-
 memcached. I wanted to have an update to php-memcached available at the
 same time. That's #50135 but it needs a new version of libmemcached.

--
Ticket URL: <https://trac.macports.org/ticket/53971#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53971: php-igbinary update to support php7

MacPorts
In reply to this post by MacPorts
#53971: php-igbinary update to support php7
---------------------------+----------------------
  Reporter:  chrisminett   |      Owner:  pixilla
      Type:  enhancement   |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  php-igbinary  |
---------------------------+----------------------

Comment (by chrisminett):

 Replying to [comment:3 ryandesign]:
 > I had started working on this update, but php*-memcached depends on
 php*-igbinary, and because of the major version number increase, I didn't
 know whether the new php-igbinary is compatible with the old php-
 memcached. I wanted to have an update to php-memcached available at the
 same time. That's #50135 but it needs a new version of libmemcached.

 It might still be possible to do this in stages. Tweaking my igbinary
 portfile as you suggest, to 2.0.1, successfully downloads and installs
 from PECL. I can then do a new install of my modified `php56-igbinary` and
 the existing `php56-memcached`, which is using libmemcached 1.0.10, and
 usage of Memcched in php56 is working fine.

 php-memcached release notes at 2.1.0 say they support libmemcached 1.0.x,
 so there should be no reason for compatibility issues.

 igbinary release notes say there are no serialization changes in 2.0.0,
 and this matches my testing, which involves igbinary-serialized values
 which I've set and read in igbinary-1.2.1 with php-memcached-2.0.1
 (php56), igbinary-2.0.1 with php-memcached-2.0.1 (php56), igbinary-2.0.1
 with php-memcached-3.0.3 (php71) ... all using libmemcached-1.0.10

--
Ticket URL: <https://trac.macports.org/ticket/53971#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...