Commit Graph

5284 Commits

Author SHA1 Message Date
Leonid Pliushch b7ecf01d51 openssl: fix paths for '/etc/egd-pool' and '/etc/entropy' 2018-06-20 23:36:41 +02:00
Joakim b686f4aeed ldc: Update from 1.9 to 1.10 2018-06-20 23:35:23 +02:00
Leonid Pliushch 65b4b91138 libcurl: use correct path for 'ntlm_auth' 2018-06-20 10:51:53 +02:00
Leonid Pliushch bc88ee4ba4 libsqlite: use correct path for temp dirs 2018-06-20 10:50:18 +02:00
Leonid Pliushch 240705a7f6 libcairo: fix tmpdir path for 'libcairo-script-interpreter.so' 2018-06-20 10:49:56 +02:00
Leonid Pliushch ac72fbae5c libsndfile: fix tmpdir 2018-06-20 10:49:26 +02:00
Leonid Pliushch 576a2e05bc perl: fix tmpdir path in 'libperl.so' 2018-06-20 10:45:26 +02:00
Fredrik Fornwall 1b623b62f2 utfdecode: Fix download url 2018-06-20 10:44:48 +02:00
Leonid Pliushch af685b4128 ca-certificates: update to 20180620 2018-06-20 10:32:12 +02:00
Fredrik Fornwall 6fa87ac916 libcurul: Configure --without-brotli 2018-06-20 03:06:37 +02:00
Fredrik Fornwall b828bca44b libgnutls: libidn -> libidn2 2018-06-20 03:06:03 +02:00
Fredrik Fornwall 9f1d3b67ab qalc: Update from 2.5.0 to 2.6.0b 2018-06-20 02:45:16 +02:00
Leonid Pliushch 64ba99d8dc poppler: fix tmpdir 2018-06-20 01:59:22 +02:00
Leonid Pliushch 0960313a51 poppler: fix fonts-related paths 2018-06-20 01:59:22 +02:00
Leonid Pliushch 319aabcc11 nano: fix shell path 2018-06-20 01:50:29 +02:00
Leonid Pliushch 0ab32db91f gnupg2: fix shell path 2018-06-20 01:50:01 +02:00
Leonid Pliushch 254c932df2 gdb: fix default editor for command 'edit' 2018-06-20 01:46:59 +02:00
Leonid Pliushch f0d5110b0c libedit: update to 20180525-3.1 2018-06-20 01:41:09 +02:00
Leonid Pliushch f9e7f50f6d libgnutls: use correct path for /etc/gnutls/default-priorities 2018-06-20 01:39:20 +02:00
Marcel Dopita 3bb128bfec nzbget: Update from 19.1 to 20.0
Also fixes overwriting of config file during package upgrade. Use config in etc
as default instead (leaves config in users home to allow overriding).
2018-06-20 01:37:25 +02:00
Chih-Hsuan Yen aa00511aec rclone: Update from 1.41 to 1.42 2018-06-20 01:30:52 +02:00
Fredrik Fornwall f13e84a728 erlang: Update from 20.3.7 to 20.3.8 2018-06-20 01:25:16 +02:00
Leonid Pliushch 41acc985e1 diffutils: fix path to 'pr' 2018-06-20 01:24:16 +02:00
Leonid Pliushch 421c839215 lynx: update to v2.8.9dev.19 2018-06-20 01:21:57 +02:00
Fredrik Fornwall 019588bc51 cmake: Update from 3.11.3 to 3.11.4 2018-06-20 01:20:55 +02:00
Fredrik Fornwall 09d6b263d7 vim-python: Copy patch from vim 2018-06-20 01:20:00 +02:00
Fredrik Fornwall 57e7a75527 pass: Update from 1.7.1 to 1.7.2 2018-06-20 01:15:57 +02:00
Fredrik Fornwall 15df77e880 redis: Update from 4.0.9 to 4.0.10 2018-06-20 01:15:01 +02:00
Fredrik Fornwall 81b42f852d gsl: Update from 2.4 to 2.5 2018-06-20 01:14:05 +02:00
Leonid Pliushch 004bec88b0 vim: fix shell path 2018-06-20 01:10:20 +02:00
Fredrik Fornwall 11c80acb01 Handle dependencies like 'a | b' in buildorder.py 2018-06-16 22:50:06 +02:00
Fredrik Fornwall 999ef72856 termux-api: Update from 0.30 to 0.31 2018-06-16 22:38:37 +02:00
Mael cf1fa17424 Let yarn depend on nodejs or nodejs-current 2018-06-16 22:37:55 +02:00
Fredrik Fornwall a1eac3c62b Merge pull request #2522 from xeffyr/libcairo
libcairo: don't use XCB if present
2018-06-16 22:37:12 +02:00
Leonid Pliushch afb17b74d3 libcairo: don't use XCB if present 2018-06-15 22:21:12 +03:00
Fredrik Fornwall 78600253c8 nodejs: Update from 8.11.2 to 8.11.3 2018-06-14 23:30:56 +02:00
Fredrik Fornwall dce3f6bace mariadb: Update from 10.2.15 to 10.3.7 2018-06-14 23:30:43 +02:00
Fredrik Fornwall 6ded09f97d notmuch: Update from 0.26.2 to 0.27 2018-06-13 21:18:24 +02:00
Fredrik Fornwall d567daffcb tor: Update from 0.3.3.6 to 0.3.3.7 2018-06-13 21:18:24 +02:00
Fredrik Fornwall 2f9f9a64ed libgcrypt: Update from 1.8.2 to 1.8.3 2018-06-13 21:18:24 +02:00
Fredrik Fornwall 1c8788ed2d harfbuzz: Update from 1.8.0 to 1.8.1 2018-06-13 21:18:24 +02:00
Fredrik Fornwall e2c2a09bde glulxe: Use termux_download instead of curl directly 2018-06-13 21:18:24 +02:00
Fredrik Fornwall 808968829d Merge pull request #2515 from Grimler91/debug
build-package.sh: don't set TERMUX_PKG_REPLACES for debug builds
2018-06-13 20:53:31 +02:00
Henrik Grimler bc98e1e72d build-package.sh: don't set TERMUX_PKG_REPLACES for debug builds
It was introduced in c18051e78118966e4a4d77cb1638d767822eca66. It didn't work as expected.
2018-06-13 20:22:13 +02:00
Henrik Grimler 71594b6ea5 Allow TERMUX_PKG_SRCURL and TERMUX_PKG_SHA256 to be arrays (#2506)
* build-package.sh: allow for arrays in TERMUX_PKG_{SRCURL,SHA256}

Packages that require several source archives can then set these parameters to
arrays instead of downloading them "manually" in termux_step_post_extract.

Downloaded files are extracted into subfolders in TERMUX_PKG_SRCDIR.

Tested for backward compatibility in a couple of packages and the combinations
tar + tar, zip + tar, tar + zip, zip + zip.

* perl: download perl-cross through TERMUX_PKG_SRCURL

* perl: remove $PREFIX/{lib/libperl.so,include/perl} before build

Otherwise building perl twice doesn't give the same results, symlinks are
messed up.

Also remove old remnant from when there was a Kid.pm.patch.

* bash: fix tiny typo

* ecj: remove hardcoded SHA256 and pkg version

* elfutils: download argp-standalone through TERMUX_PKG_SRCURL

* ldc: download all src archives through TERMUX_PKG_SRCURL

* libgc: download libatomic_ops through TERMUX_PKG_SRCURL

* libllvm: download all src archives through TERMUX_PKG_SRCURL

* linux-man-pages: download src archives through TERMUX_PKG_SRCURL

* ncurses: download all src archives through TERMUX_PKG_SRCURL

* pngquant: download lib sources through TERMUX_PKG_SRCURL

Use .zip for lib since the downloaded archives are otherwise both named
$TERMUX_PKG_VERSION.tar.gz and replace each other. This causes caching to
not work.
2018-06-13 02:15:26 +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
Tom Yan d2f1f9a62b ncurses: fix versioned library symlinking 2018-06-13 01:55:02 +02:00
Fredrik Fornwall 59dcdde121 termux-tools: Bump version to 0.55 after su warning in pkg 2018-06-13 01:44:07 +02:00
Fredrik Fornwall 06957bb85c picolisp: Update from 18.4.26 to 18.6.12 2018-06-13 01:43:46 +02:00
Jonas L 50e0cb6a8b Add root check to pkg
This prevents users from using "su pkg ..." which breaks permissions
2018-06-13 01:34:48 +02:00