Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98731 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79002 invoked from network); 5 Apr 2017 07:06:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Apr 2017 07:06:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=remi@fedoraproject.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=remi@fedoraproject.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fedoraproject.org from 217.70.183.195 cause and error) X-PHP-List-Original-Sender: remi@fedoraproject.org X-Host-Fingerprint: 217.70.183.195 relay3-d.mail.gandi.net Received: from [217.70.183.195] ([217.70.183.195:60547] helo=relay3-d.mail.gandi.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DE/D5-19282-07794E85 for ; Wed, 05 Apr 2017 03:06:27 -0400 Received: from mfilter16-d.gandi.net (mfilter16-d.gandi.net [217.70.178.144]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 975DBA80DC for ; Wed, 5 Apr 2017 09:06:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter16-d.gandi.net Received: from relay3-d.mail.gandi.net ([IPv6:::ffff:217.70.183.195]) by mfilter16-d.gandi.net (mfilter16-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id iSj_txjYALmU for ; Wed, 5 Apr 2017 09:06:20 +0200 (CEST) X-Originating-IP: 90.109.100.243 Received: from builder.remirepo.net (LFbn-1-6148-243.w90-109.abo.wanadoo.fr [90.109.100.243]) (Authenticated sender: contact@ll-experts.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 8F227A80D5 for ; Wed, 5 Apr 2017 09:06:20 +0200 (CEST) To: "internals@lists.php.net" Message-ID: <1206a97a-e5a9-9e83-455b-f47d13db6515@fedoraproject.org> Date: Wed, 5 Apr 2017 09:06:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XmdR8A92ePn2Rlgr2Kp4MSdkD7vKIWIUO" Subject: Discussion about zip extension and bundled libzip From: remi@fedoraproject.org (Remi Collet) --XmdR8A92ePn2Rlgr2Kp4MSdkD7vKIWIUO Content-Type: multipart/mixed; boundary="CvTSLBTA5DBuFvnldvvPN76DmuS3j8Hnn"; protected-headers="v1" From: Remi Collet To: "internals@lists.php.net" Message-ID: <1206a97a-e5a9-9e83-455b-f47d13db6515@fedoraproject.org> Subject: Discussion about zip extension and bundled libzip --CvTSLBTA5DBuFvnldvvPN76DmuS3j8Hnn Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Reminder: * PHP 5.5 have zip extension 1.11.x and bundles libzip version 0.10 * PHP 5.6 have zip extension 1.12.x and bundles libzip version 0.11 * PHP 7.x have zip extension 1.13.x and bundles libzip version 1.1.2 * PHP master have zip extension 1.14.x We also maintain the pecl extension, mostly for downstrean (linux distribution) which prefer to manage this extension according to system libzip version, rather than using the bundled version. Ex (in Fedora) * F20, PHP 5.5, libzip 0.11, zip 1.12 * F21, PHP 5.6, libzip 0.11, zip 1.12 * F23, PHP 5.6, libzip 1.1 zip 1.13 * F25, PHP 7.0, libzip 1.1, zip 1.13 * F26, PHP 7.1, libzip 1.2, zip 1.14 The pecl extension is also used for new features development. Today, we have released zip extension 1.14.0 with encryption support from libzip 1.2.0. The new version also drop support of bundled libzip, and only supports build with system library as doesn't make sense to keep the bundled copy, as maintained for downstream which prefer system lib. Notices: - PHP master have zip 1.14 but with bundled libzip 1.1.2 (so some new features are missing) - PHP master support system libzip on Linux and Windows (thanks to Anatol) - We dont carry any patch in bundled libzip (since 5.5) - We support all libzip versions >=3D 0.11 - Updating bundled libzip is always a huge and messy job DISCUSSION: I think it is time to drop the bundled libzip from PHP master and only support the use of the system library, as for most of libraries PHP uses (openssl, libz, libbz2, curl...) Comments ? Remi P.S. if needed, I can write a quick RFC --CvTSLBTA5DBuFvnldvvPN76DmuS3j8Hnn-- --XmdR8A92ePn2Rlgr2Kp4MSdkD7vKIWIUO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAljkl2wACgkQYUppBSnxahgF/wCgxju6LO2qUgmcIqMjrt1mZ2rv MJ4An15aaazzlUBM1AXRt//JlbOmSgvt =1C4T -----END PGP SIGNATURE----- --XmdR8A92ePn2Rlgr2Kp4MSdkD7vKIWIUO--