Commit Graph

173 Commits

Author SHA1 Message Date
Leonid Pliushch
c85f419708 php: run buildconf after extracting sources
Needed for generating configure script.

+ added re2c package for Docker image
2020-04-14 23:18:11 +03:00
Leonid Pliushch
4673e91b8f php: switch upstream url
CI fails to contact https://secure.php.net for unknown reason (banned ?).
2020-04-14 22:55:22 +03:00
Leonid Pliushch
6ae1f55363 php: update to 7.4.5 2020-04-14 22:26:26 +03:00
Leonid Pliushch
f1c0719b58 php: update to 7.4.4 2020-03-19 21:24:23 +02:00
Leonid Pliushch
6d7e9429f7 bump liblzma-dependent packages 2020-03-19 20:58:37 +02:00
Leonid Pliushch
75f192e7df restart build for libicu and dependent packages 2020-03-12 19:46:51 +02:00
Leonid Pliushch
3aa46a61a0 rebuild packages depending on libicu 2020-03-12 19:14:29 +02:00
Fredrik Fornwall
a1da7e6769 php: Update from 7.4.2 to 7.4.3 2020-02-23 01:35:27 +01:00
Fredrik Fornwall
2ba715629c php: Update from 7.4.1 to 7.4.2 2020-01-22 22:34:32 +01:00
Henrik Grimler
52eb061b79 php-fpm: add termux-services script 2020-01-05 22:06:34 +01:00
Henrik Grimler
198e4ca96d php: depend on libicu
Needed for extension intl.
2020-01-04 09:44:23 +01:00
Leonid Pliushch
96d7a187c2 php: enable extensions 'gmp' and 'intl'
See https://github.com/termux/termux-packages/issues/3983#issuecomment-538136712
and https://github.com/termux/termux-packages/issues/2173.
2020-01-03 19:27:37 +02:00
Leonid Pliushch
1198ede739 php: enable xsl module
Requested in https://github.com/termux/termux-packages/issues/3983.
2020-01-03 19:06:14 +02:00
Leonid Pliushch
fdf880a863 php: force link libphp7.so with apr and apr-util libs
Issue https://github.com/termux/termux-packages/issues/4726.
2020-01-02 01:15:03 +02:00
Leonid Pliushch
c227b2fdf7 php: enable zip extension 2019-12-31 14:25:15 +02:00
its-pointless
92e8c0a1e6 php: re-enable libgd 2019-12-31 08:32:59 +11:00
its-pointless
c07bfc1c64 php: update to 7.4.1 (#4713)
%ci:reset-backlog
2019-12-30 02:17:09 +02:00
Fredrik Fornwall
b8770f30bd php: Update from 7.3.10 to 7.3.12 2019-11-21 00:35:04 +01:00
Leonid Pliushch
0391db101c php: update to 7.3.10 2019-09-29 13:00:26 +03:00
Fredrik Fornwall
380bed7f27 php: Update from 7.3.7 to 7.3.9 2019-09-10 22:52:23 +02:00
Leonid Pliushch
6e70277fb3 no more develsplit + provide static libraries as separate package
%ci:no-build
2019-07-28 21:17:12 +03:00
Leonid Pliushch
a30e9e3720 php: bump revision
Will it help with https://github.com/termux/termux-packages/issues/4056 ?
2019-07-15 13:22:52 +03:00
Leonid Pliushch
ef52ff78e1 php: update to 7.3.7 2019-07-07 16:08:44 +03:00
Fredrik Fornwall
77749ef178 php: Link opcache.so against libpcre2-8
Fixes #3741.
2019-06-24 22:46:15 +02:00
Fredrik Fornwall
947ef5fa89 php: Update from 7.3.5 to 7.3.6 2019-05-29 23:10:06 +02:00
Fredrik Fornwall
f528fc3605 php: Build with --with-iconv=$TERMUX_PREFIX
This picks up iconv.h from libiconv which does things as
 #define iconv_open libiconv_open
2019-05-23 01:44:51 +02:00
Leonid Pliushch
a893e58c71 php: bump revision after 0d1170cc 2019-05-06 17:26:29 +03:00
Leonid Pliushch
b98ffcf631 add libiconv to dependencies where needed 2019-05-05 21:29:36 +02:00
Leonid Pliushch
a52c13f8a7 php: rebuild due to versioned liblzma 2019-05-03 17:22:57 +03:00
Leonid Pliushch
a7e4a3e446 php: update to 7.3.5 2019-05-03 01:53:26 +03:00
Leonid Pliushch
11200afa32 add zlib to dependencies where needed 2019-04-14 16:00:23 +03:00
Leonid Pliushch
5e3f56181b php: bump revision
Needed after 60dc484806632b8a2c45b2867f55ff82a1f94eaa.
2019-04-13 19:11:44 +03:00
its-pointless
a423f1128b fix test not linking to libandroid-support / iconv 2019-04-13 18:35:00 +03:00
its-pointless
9b6fe73341 php iconv fix 2019-04-13 18:34:50 +03:00
Fredrik Fornwall
faa08364e2 php: Update from 7.3.3 to 7.3.4 2019-04-07 22:45:09 +02:00
Fredrik Fornwall
d1ba429e82 php: Fix fast-build 2019-03-18 01:04:40 +01:00
Fredrik Fornwall
89b68ea7eb php: Update from 7.3.2 to 7.3.3 2019-03-17 19:42:07 +01:00
Fredrik Fornwall
6f8d64a790 Merge branch 'master' into readline 2019-02-24 20:41:00 +02:00
Fredrik Fornwall
642d22be39 php: Update patch 2019-02-24 18:59:38 +01:00
Leonid Pliushch
54036eac1a bump revision of all packages dependent on readline 2019-02-20 17:48:39 +02:00
Fredrik Fornwall
03ad8cb52e php: Hack around build failure 2019-02-16 01:33:22 +01:00
Fredrik Fornwall
debeb3a5c2 php: Update patch for php 7.3.2 2019-02-16 01:33:22 +01:00
Fredrik Fornwall
bf658e237a php: Update from 7.3.1 to 7.3.2 2019-02-16 01:33:22 +01:00
Fredrik Fornwall
090e002e37 php: Update to php 7.3 2019-02-16 01:33:22 +01:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Fredrik Fornwall
3f56afaf96 Update TERMUX_SUBPKG_INCLUDE for gzip-compression 2019-01-27 22:04:49 +01:00
Leonid Pliushch
46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall
11dda17029 php: Update from 7.2.11 to 7.2.12 2018-11-11 13:38:42 +01:00
Fredrik Fornwall
dec9d3a423 php: Update from 7.2.10 to 7.2.11 2018-10-14 19:33:46 +02:00
Fredrik Fornwall
cdbacfa917 php: Update from 7.2.9 to 7.2.10 2018-09-14 21:28:32 +02:00
Fredrik Fornwall
fd72a74c42 openssl: Update from 1.0.2 to 1.1.1 (#2775) 2018-09-11 22:43:19 +02:00
Fredrik Fornwall
31e7781f6f php: Update from 7.2.8 to 7.2.9 2018-08-17 23:56:48 +02:00
Henrik Grimler
a39b94c6bf php: remove no longer needed debug patch 2018-08-13 22:13:09 +02:00
Fredrik Fornwall
6a53bdde21 php: Update from 7.2.7 to 7.2.8 2018-07-23 00:37:56 +02:00
Fredrik Fornwall
9497be3570 php: Update from 7.2.6 to 7.2.7 2018-06-21 23:33:27 +02:00
Henrik Grimler
c1b82abd09 Add fixes for debug builds (#2296)
* build-package.sh: add possibility for debug patches and TERMUX_PKG_HAS_DEBUG

Setting TERMUX_PKG_HAS_DEBUG=no disables attempt to build debug build of
package.
Useful for example if a debug build doesn't make sense, as for python-packages
and texlive.

* aapt: skip D_FORTIFY_SOURCE=2 for libandroid-cutils when doing debug build

* lftp: skip D_FORTIFY_SOURCE=2 for debug build

* libflac: don't use -g3 for debug build

Configure script removes it otherwise.

* nano: skip -D_FORTIFY_SOURCE=2 for debug build

* vifm: skip -D_FORTIFY_SOURCE=2 for debug build

* mc: skip -D_FORTIFY_SOURCE=2 for debug build

* dropbear: add __attribute__((overloadable)) to XMEMSET and XMEMCPY if debug

* gdb: add __attribute__((overloadable)) to strchr if debug

* gnuit: add __attribute__((overloadable)) to strchr and strcpy if debug

* gperf: add __attribute__((overloadable)) to strlen if debug

* inetutils: add __attribute__((overloadable)) to strrchr and strchr if debug

* readline: add __attribute__((overloadable)) to strchr if debug

* tsocks: add __attribute__((overloadable)) to poll if debug

* units: add __attribute__((overloadable)) to strchr if debug

* liblua: fix bug in loslib.c that emerged in debug build

Use strncpy instead of strcpy.
Original error message:
loslib.c:169:3: error: 'strcpy' called with string bigger than buffer
  lua_tmpnam(buff, err);
  ^
loslib.c:122:37: note: expanded from macro 'lua_tmpnam'
       strcpy(b, LUA_TMPNAMTEMPLATE); \
                                   ^

* alpine: include our getpass.h in imap's mtest.c to declare getpass

Debug build complained about the previous implicit declaration.

* nginx: use --with-debug instead of --debug

* cboard: skip -D_FORTIFY_SOURCE=2 for debug build

* gettext: add __attribute__((overloadable)) to getcwd if debug

* oathtool: skip -D_FORTIFY_SOURCE=2 for debug build

* php: add __attribute__((overloadable)) to strlcpy and strlcat if debug

* expect: add __attribute__((overloadable)) to strchr if debug

* texlive: set TERMUX_PKG_HAS_DEBUG=no

* asciinema: set TERMUX_PKG_HAS_DEBUG=no

* libllvm: set TERMUX_PKG_HAS_DEBUG=no

Debug build fails with:
home/builder/.termux-build/libllvm/src/lib/Support/Unix/Path.inc:740:19: error: no matching function for call to 'RetryAfterSignal'                                                                                                      if ((ResultFD = sys::RetryAfterSignal(-1, open, P.begin(), OpenFlags)) < 0)

* build-package.sh: set TERMUX_PKG_REPLACES=package if debug build

Hopefully allows us to install debug packages without breaking dependecies.

Should be looked over and be made more similar to how debian does this in any case

* Update build.sh
2018-06-13 02:12:36 +02:00
Fredrik Fornwall
fbd1fadf77 php: Update from 7.2.5 to 7.2.6 2018-05-25 12:39:28 +02:00
Fredrik Fornwall
d3b302a4eb php: Update from 7.2.4 to 7.2.5 2018-04-28 22:24:37 +02:00
Fredrik Fornwall
f4bec0e35f php: Update from 7.2.3 to 7.2.4 2018-04-08 23:38:39 +02:00
Fredrik Fornwall
d4a8d19d4c php: Fix opcache by using MAP_ANON support
The ext/opcache/config.m4 disabled MAP_ANON when cross compiling.

Fixes #2234.
2018-03-11 00:51:41 +01:00
Fredrik Fornwall
accf4c2e48 php: Link opcache.so against libpcre (fixes #2232) 2018-03-11 00:28:24 +01:00
Fredrik Fornwall
9cf61a82c5 php: Update from 7.2.2 to 7.2.3 2018-03-06 16:45:29 +01:00
Fredrik Fornwall
66d8038f23 php: Update from 7.2.1 to 7.2.2 2018-02-05 00:19:43 +01:00
Fredrik Fornwall
6c2bf01c2b php: Update from 7.1.12 to 7.2.1 2018-01-09 09:43:59 +01:00
vishalbiswas
bcd1e1d34a php: use mysqlnd and integrate php-mysql into main package 2017-12-08 09:43:25 +01:00
Fredrik Fornwall
01d81a911d php: Update from 7.1.11 to 7.1.12 2017-11-30 01:53:38 +01:00
Fredrik Fornwall
c51cf27604 php: Bump revision after adding php-mysql subpkg 2017-11-13 00:08:30 +01:00
vishalbiswas
c840704fb0 php-mysql: add package 2017-11-12 23:37:30 +01:00
Fredrik Fornwall
2c2a38d2b5 php: Update from 7.1.10 to 7.1.11 2017-11-02 23:59:35 +01:00
Fredrik Fornwall
d6a5fb2272 php: Update from 7.1.8 to 7.1.10 2017-10-06 22:52:37 +02:00
Fredrik Fornwall
fe9cc82e47 php: Update from 7.1.7 to 7.1.8 2017-08-08 11:13:48 +02:00
Fredrik Fornwall
4e3c2f3746 Bump packages after apr and apr-util update 2017-07-17 20:26:00 +02:00
Fredrik Fornwall
1db64a03d7 libandroid-support: Update to v19
This version has been cleaned up considerably. Also bump php since
it uses strfmon() which has been removed from libandroid-support.
2017-07-15 03:57:18 +02:00
Fredrik Fornwall
7f7d9a1648 php: Update from 7.1.6 to 7.1.7, fix aarch64 issue
Backport 8c8679207a
which fixes https://github.com/termux/termux-packages/issues/890 (and
possibly other issues).
2017-07-10 01:49:27 +02:00
Fredrik Fornwall
a2bea6da61 php: New attempt at avoid-linking-apr-everywhere 2017-06-15 00:32:26 +02:00
Vishal Biswas
78eca501f4 php: handle php-apache properly (#1084)
* php: handle php-apache properly

* fix other modules linking against apr
* fix php including httpd.conf

* php: update revision for php-apache
2017-06-14 13:30:48 +02:00
Vishal Biswas
28accb7481 php-apache: add package (#1075) 2017-06-12 14:27:49 +02:00
Fredrik Fornwall
d3a732be72 php: Update from 7.1.5 to 7.1.6 2017-06-11 23:44:48 +02:00
Fredrik Fornwall
7c231896e2 php: Add comment why we're not building with clang 2017-05-13 23:44:24 +02:00
Fredrik Fornwall
b0dfdb4211 php: Update from 7.1.4 to 7.1.5 2017-05-13 23:43:37 +02:00
its-pointless
bfb118b28a fix aarch64 build giving double instead of integer (#1012) 2017-05-13 23:35:14 +02:00
Fredrik Fornwall
ce92cc4c5d Stand in srcdir for termux_step_pre_configure 2017-05-11 01:01:20 +02:00
Fredrik Fornwall
bee04953eb php: Specify --with-png-dir
This should fix building when a builder png.h is not available.
2017-04-20 08:15:02 +02:00
Fredrik Fornwall
a20f3aedd3 php: Fix /bin/sed path in phpize (fixes #937) 2017-04-18 13:14:17 +02:00
Fredrik Fornwall
5ff8d32f3c php: Update from 7.1.3 to 7.1.4 2017-04-17 21:41:35 +02:00
Fredrik Fornwall
1a6cff7349 php: Link pgsql extension against libpcre
The pgsql extension uses pcre functions but does not link against
libpcre by default, as the php executable which dlopen():s the
extension already links against libpcre.

However, on Android this doesn't work, see
	https://github.com/android-ndk/ndk/issues/201
so we need to link against libpcre explicitly.
2017-03-30 23:54:20 +02:00
Fredrik Fornwall
53530ad847 php: Fix building pg extensions 2017-03-26 00:52:38 +01:00
Vishal Biswas
cc7bcfa238 add php-pgsql and php-fpm (#875)
* php: update from 7.1.2 to 7.1.3

* add TERMUX_SUBPKG_CONFFILES

* php: add subpkgs php-pgsql and php-fpm
2017-03-26 00:22:48 +01:00
Fredrik Fornwall
6788ea2c5d php: Update from 7.1.1 to 7.1.2 and enable pcntl 2017-02-20 02:57:27 +01:00
Fredrik Fornwall
ef5ec078b0 php: Update from 7.1.0 to 7.1.1 2017-01-19 19:08:24 +01:00
Fredrik Fornwall
42a606a246 libmcrypt: Remove package
https://paragonie.com/blog/2015/05/if-you-re-typing-word-mcrypt-into-your-code-you-re-doing-it-wrong
2017-01-19 15:04:15 +01:00
Fredrik Fornwall
ecd1ff092b php: Update from 7.1rc6 to 7.1.0 2016-12-09 21:16:20 -05:00
Fredrik Fornwall
ecaaa5d4a4 php: Update from 7.1 RC5 to RC6 2016-11-10 19:41:11 -05:00
Fredrik Fornwall
bc456a6a9d php: Update from 7.1 RC4 to RC5 2016-10-28 20:26:34 -04:00
Fredrik Fornwall
0149a69d6c php: Update from 7.1 RC3 to RC4 2016-10-19 17:20:46 -04:00
Fredrik Fornwall
da1533a42c php: Update from 5.6.26 to 7.1rc3 2016-10-03 10:05:51 -04:00
Fredrik Fornwall
83d11d6e04 Update readline to v7 and bash to v4.4
As a consequence of updating readline to version 7 we bump the
build revision of all packaging linking to it as the soname has
changed.
2016-09-17 18:29:14 -04:00
Fredrik Fornwall
eaf3340315 Prepare more packages for clang 2016-09-03 18:15:47 -04:00
Fredrik Fornwall
f3fe19bc20 php: Update from 5.6.24 to 5.6.25 2016-08-21 08:56:03 -04:00
David Martínez
77c265a461 Added more extensions to PHP build (#391) 2016-08-21 13:36:08 +02:00