1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-16 12:23:59 +02:00
Commit Graph

31 Commits

Author SHA1 Message Date
Michael Heimpold
848ded4157 php7: upgrade to 7.1.10
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-10-03 12:55:07 +02:00
Michael Heimpold
6e706bb593 php7: add conditional dependency to libstdcpp for FPM
This should fix buildbot breakage introduced by last commit.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-09-27 20:45:50 +02:00
Michael Heimpold
7ba5a7f6d1 php7: drop dependency to cgi for fpm sapi (refs #4522)
The FPM SAPI works fine without the CGI SAPI installed. It seems that
this is a copy & paste error introduced a long time ago, when FPM support
was added - and nobody noticed.
So drop the dependency now to allow smaller footprints on installations
which only use FPM.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-09-26 23:19:40 +02:00
Michael Heimpold
71c34e55c7 php7: upgrade to 7.1.9
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-09-04 20:54:26 +02:00
Philip Prindeville
f2641e9fb2 php7: backport upstream fix for multiline logging
See: https://github.com/php/php-src/pull/2674

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-08-19 11:31:42 -06:00
Michael Heimpold
5a6956347d php7: upgrade to 7.1.8
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-08-07 21:21:22 +02:00
Michael Heimpold
3e0f4efe51 php7: upgrade to 7.1.7
This fixes several CVEs:
 - in mbstring: CVE-2017-9224, CVE-2017-9226, CVE-2017-9227,
                CVE-2017-9228, CVE-2017-9229
 - in gd: CVE-2017-7890

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-07-29 15:37:07 +02:00
Philip Prindeville
ec58befa8e php7: add SNMP module to bundle
Add native support for SNMP manager functions, so scripts don't
have to call system("snmpget -v2c ...") etc.  Cuts down on fork/exec
pairs and simplifies issues with parsing intermediate output.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-06-16 19:53:53 -06:00
Michael Heimpold
d6c333b705 php7: update to 7.1.6
Removed patch 1008-fix-musl-sys-headers.patch which was integrated
upstream.

(Compile tested only so far)

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-06-10 15:06:53 +02:00
Michael Heimpold
b7eb92aada php7: update to 7.1.5
Remove patch 1006-fix-gettext.patch which was integrated upstream.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-05-14 22:31:25 +02:00
Michael Heimpold
12e3019db7 php7: use TARGET_CXXFLAGS instead of TARGET_CPPFLAGS for C++ option
This fixes a stupid typo from last commit which lead to the following
compiler warning:

cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-04-18 21:38:37 +02:00
Michael Heimpold
4dd144c1bd php7: fix build of php7-mod-intl
This fixes the following build error (shortened paths for readability):

-snip-
In file included from .../php-7.1.4/ext/intl/intl_convertcpp.h:26:0,
                 from .../php-7.1.4/ext/intl/intl_convertcpp.cpp:21:
.../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:56:16: error: 'UChar' does not name a type
 u_strlen(const UChar *s);
                ^
.../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:80:19: error: 'char16_t' has not been declared
                   char16_t *dest, int32_t destCapacity,
                   ^
.../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:81:25: error: 'char16_t' does not name a type
                   const char16_t *src, int32_t srcLength,
                         ^
In file included from .../php-7.1.4/ext/intl/intl_convertcpp.h:26:0,
                 from .../php-7.1.4/ext/intl/intl_convertcpp.cpp:21:
.../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:462:16: error: 'char16_t' does not name a type
          const char16_t *srcChars) const;
                ^
[...]
-snap-

This build error was introduced by update of icu to 59.1.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-04-18 00:12:28 +02:00
Philip Prindeville
c401946b0e php7: fix php build issues with musl headers (fixes #4263)
MUSL is complaining about <sys/poll.h> instead of <poll.h>.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

[ Replaced the *-t1lib filtering stuff by simply removing the
left-over configure option ]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-04-17 21:58:32 +02:00
Michael Heimpold
4100706817 php7: enable filter support by default (fixes #3831)
Filter support brings several useful features which many PHP applications
rely on. To make it easier for users who don't want to build own packages
enable this by default. This slightly increases the binary SAPI packages,
but since PHP is a huge monster anyway, I doubt this hurts anybody.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-04-13 23:04:22 +02:00
Michael Heimpold
11dbb67426 php7: update to 7.1.4
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-04-13 23:04:22 +02:00
Michael Heimpold
cf75d8a0f9 php7: fix bind_textdomain_codeset detection (refs #4250)
The gettext extension is only useful when linked against libintl-full
package, however, the detection did not work sucessfully. This patch
by @Dimazhan fixes this.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-04-11 23:31:37 +02:00
Michael Heimpold
1fa7ca0f48 php7: update to 7.1.3
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-03-20 21:34:37 +01:00
Michael Heimpold
549d470b99 php7: update to 7.1.2
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-02-24 18:10:02 +01:00
Michael Heimpold
97df69951c php7: update to 7.1.1
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-01-24 21:39:59 +01:00
Matthias Schiffer
919c24c598
php7: fix xml2-config path to unbreak build
Partially reverts 4a984a8d6. Fixes #3907.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-01-24 12:45:03 +01:00
Matthias Schiffer
3823ef9bc4 Merge pull request #3813 from NeoRaider/hostpkg
Use STAGING_DIR_HOSTPKG where appropriate
2017-01-11 21:54:09 +01:00
Michael Heimpold
3fc9ae5071 php7: update to 7.1.0
Adjust patches for new upstream revision.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-01-10 23:07:41 +01:00
Matthias Schiffer
4a984a8d60
treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely
on it. See 73b7f55424 for more information on
STAGING_DIR_HOSTPKG.

STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release
(it is equivalent to $(STAGING_DIR)/host), so this simple search/replace
cleanup is safe to apply. Doing this cleanup now will be useful for the
Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting
with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream.

Also fixes a typo in the dbus Makefile ("STAGIND_DIR").

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-01-10 18:25:54 +01:00
Michael Heimpold
583af8565e php7: update to 7.0.13
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-11-16 21:12:39 +01:00
Michael Heimpold
80f0ea5728 php7: update to 7.0.12
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-10-16 20:53:46 +02:00
Michael Heimpold
5d063301ac php7: update to 7.0.11
This fixes the following CVEs:
 - in intl: CVE-2016-7416
 - in mysqlnd: CVE-2016-7412
 - in phar: CVE-2016-7414
 - in spl: CVE-2016-7417
 - in wddx: CVE-2016-7413, CVE-2016-7418

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-09-21 21:55:44 +02:00
Michael Heimpold
6d2d5a6a19 php7: package phar extension
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-09-21 21:55:44 +02:00
Michael Heimpold
3d305a35e1 php7/php7-pecl-*: introduce load order
Some PECL modules (possibly also php modules) depend on
special load order, otherwise loading the module will fail
due to unresolvable symbols.

This changeset introduces a very simple compile-time defined
order by specifying a prefix for the ini file with the load
directive. If not given, it uses a default value.

It also updates all current pecl module packages to take
this new approach.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-09-06 21:58:34 +02:00
Michael Heimpold
86acab6430 php7: mod-mysqli: use libmysqlclient instead of libmysqlclient_r (refs #3132)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-09-04 13:40:44 +02:00
Michael Heimpold
dc56ebbf2f php7: fix two build problems
1) fix rebuilding with existing staging area
2) fix dependency to libmysqlclient (fixes #3132)

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-09-04 01:09:23 +02:00
Michael Heimpold
292c2ffc18 php7: add new package
This is a copy of the existing php5 stuff, adopted for PHP7.

Please not, that its not supported to install both php5
and php7 in parallel on the target.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-09-03 21:51:23 +02:00