Commit Graph

83 Commits

Author SHA1 Message Date
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