Commit Graph

132 Commits

Author SHA1 Message Date
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
Fredrik Fornwall
018a99322d php: Update from 5.6.23 to 5.6.24 2016-08-12 22:25:40 -04:00
Fredrik Fornwall
6f9d7d3dc0 php: Update from 5.6.22 to 5.6.23 2016-07-04 17:23:21 -04:00
Fredrik Fornwall
a5efde46ed php: Add --enable-mbstring
Fixes #316.
2016-06-19 19:31:32 -04:00
Fredrik Fornwall
1309b4000f php: Update from 5.6.21 to 5.6.22 2016-05-30 18:58:05 -04:00
Fredrik Fornwall
12c873161d php: Build native php without xml support
This avoids depending on libxml2-dev (or similar packages) on the
build machine.
2016-05-23 17:05:55 -04:00
Fredrik Fornwall
ee5dea0902 php: Build with readline support (closes #260) 2016-05-10 09:18:54 -04:00
Fredrik Fornwall
5fc3629fe4 php: Bump version to 5.6.21, depend on libgd 2016-04-29 18:44:48 -04:00
David Martinez
727704d71b PHP package enhanced with curl, gd and mcrypt extensions 2016-04-27 00:18:11 +02:00
Fredrik Fornwall
5abdfc641d php: Depend on libcrypt (fixes #226) 2016-04-21 09:06:12 -04:00
Fredrik Fornwall
0106bb6c5b php: Update from 5.6.19 to 5.6.20 2016-04-20 15:08:46 -04:00
Fredrik Fornwall
46c859b5b1 php: Bump build revision for new package 2016-03-20 17:39:56 -04:00
michalbednarski
50111527d8 php: Enable zlib extension 2016-03-20 16:58:45 +01:00
Fredrik Fornwall
cc3870bfd8 php: Update from 5.6.17 to 5.6.19 2016-03-04 16:21:05 -05:00
Fredrik Fornwall
07fa12cca6 Merge pull request #154 from michalbednarski/php-glob
php: Enable glob() function
2016-03-04 22:08:52 +01:00
michalbednarski
fce1dffed9 php: Update path to /bin/sh for proc_open() 2016-03-04 19:08:21 +01:00
michalbednarski
daba97c624 php: Enable glob() function 2016-03-04 19:05:38 +01:00
Fredrik Fornwall
f72fc7825c php: Update to 5.6.17 and enable socket extension 2016-01-14 17:59:12 -05:00
Fredrik Fornwall
706bd350ec php: Fix 64-bit build 2016-01-04 06:46:16 -05:00
Fredrik Fornwall
7e606cc7eb Remove dependency on php on the builder
The native php executable is built by the package itself
2015-12-24 02:50:23 -05:00
Fredrik Fornwall
c7bdfff616 php: Enable the zip and iconv extension 2015-12-22 06:16:08 -05:00
Fredrik Fornwall
e339be429f php: Enable phar and openssl module 2015-12-22 05:37:56 -05:00
Fredrik Fornwall
379db8b623 libxml2: Update from 2.9.2 to 2.9.3
This required rebuilding dependent packages after soname bump.
2015-12-20 20:46:55 -05:00
Fredrik Fornwall
e054b9eb42 Add php package (closes #46) 2015-11-10 17:39:00 -05:00