Commit Graph

51 Commits

Author SHA1 Message Date
Leonid Pliushch f0f00d0e23 lftp: fix lib-vasnprintf.c.patch 2019-10-27 20:10:31 +02:00
Leonid Pliushch 657ed797b2 lftp: fix for "%n not allowed on Android" 2019-10-27 14:10:38 +02:00
Leonid Pliushch c352216c63 packages: standardize values of several control variables for build.sh
Variables

 TERMUX_PKG_PLATFORM_INDEPENDENT
 TERMUX_DEBUG
 TERMUX_PKG_HAS_DEBUG
 TERMUX_PKG_ESSENTIAL
 TERMUX_SUBPKG_ESSENTIAL
 TERMUX_PKG_NO_STATICSPLIT
 TERMUX_PKG_BUILD_IN_SRC
 TERMUX_PKG_FORCE_CMAKE
 TERMUX_PKG_HOSTBUILD

should not accept arbitrary values for marking them "enabled". Instead
they should accept boolean values which makes them easier to handle and
also makes their meaning clear.

build-package.sh should make decision based on variable's value but not on
whether it is set or empty.

%ci:no-build
2019-08-12 18:49:13 +03:00
Leonid Pliushch f075920691 lftp: bump revision 2019-06-20 00:14:02 +03:00
Leonid Pliushch 0ea0d0d2e4 lftp: depend on libandroid-support
Because libandroid-support provides mblen() implementation.
2019-05-05 23:35:29 +03:00
Leonid Pliushch b98ffcf631 add libiconv to dependencies where needed 2019-05-05 21:29:36 +02:00
Leonid Pliushch 76f5f58f05 lftp: specify correct location for zlib 2019-04-15 02:01:18 +03:00
Leonid Pliushch 11200afa32 add zlib to dependencies where needed 2019-04-14 16:00:23 +03:00
Leonid Pliushch c9b80cf42d libutil: remove package - replaced by libc from Android 7 or newer 2019-03-10 15:42:58 +02:00
Leonid Pliushch 2c16db52fc bump C++ packages for NDK-19 2019-02-23 13:57:09 +02:00
Leonid Pliushch 54036eac1a bump revision of all packages dependent on readline 2019-02-20 17:48:39 +02:00
Wetitpig 5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch 46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall fd72a74c42 openssl: Update from 1.0.2 to 1.1.1 (#2775) 2018-09-11 22:43:19 +02:00
Leonid Pliushch 6d33f94a5f fix packages that require getpass()
Changed packages:

  * alpine
  * dropbear
  * emacs
  * isync
  * lftp
  * msmtp
  * newsboat
  * rsync
  * screen
  * texlive-bin
  * unrar
  * w3m
2018-09-11 00:55:00 +02:00
Fredrik Fornwall 0160ea0776 lftp: libidn - > libidn2 in next update 2018-08-25 16:45:39 +02:00
Fredrik Fornwall e291e0f99e lftp: Update from 4.8.3 to 4.8.4 2018-08-01 22:48:28 +02:00
Fredrik Fornwall 6988f30ee7 Bump c++-using packages 2018-06-26 13:29:06 +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 aff3c58cbd Rebuild libidn-using packages
After the libidn 1.34 update the library is simply named libidn.so.
2018-04-02 00:23:07 +02:00
Leonid Plyushch 0cda0f511a lftp: fix hardcoded paths (#1948)
Fix error 'no such file or directory: /bin/sh' when doing 'bookmark edit'
and add correct path to CA cert bundle.
2017-12-20 00:04:54 +01:00
Fredrik Fornwall c3cfd39d19 lftp: Update from 4.8.2 to 4.8.3 2017-10-10 23:09:59 +02:00
Fredrik Fornwall 02b60eeddf lftp: Update from 4.8.1 to 4.8.2 2017-09-27 12:05:20 +02:00
Fredrik Fornwall b6cd88945f lftp: Fix arm build for 4.8.1 2017-09-20 01:31:11 +02:00
Fredrik Fornwall cf367639ea lftp: Update from 4.8.0 to 4.8.1 2017-09-20 00:49:43 +02:00
Stephen a2a2bd874e add ncurses-dev to lftp build dependencies
#1169
2017-09-14 23:33:58 +02:00
Fredrik Fornwall c4b67a1c2b lftp: Build cleanup and two more bin/sh patches 2017-08-20 22:32:51 +02:00
Fredrik Fornwall 0dc57f4b1f lftp: Bump revision after added patch 2017-08-13 00:43:23 +02:00
its-pointless e154c9a98b fixed sftp shell (#1261) 2017-08-13 00:42:11 +02:00
Fredrik Fornwall 6c29aaa1c7 Transition from gnustl to libc++
This will make things as std::to_string() and other C++ features
work with a modern and supported C++ library.

We package up libc++_shared.so and bump the revision of every C++
using package to make it rebuild against it.

Users who have built C++ using libraries or programs will probably
need to rebuild them if they are linked against Termux-supplied
libraries, as user code was previously linked against gnustl while
the system libraries are now using libc++, and it's not a good idea
to mix C++ standard libraries in a program.
2017-07-14 00:23:37 +02:00
Fredrik Fornwall f4a6bd2c4c lftp: Update from 4.7.7 to 4.8.0 2017-07-12 22:45:07 +02:00
Fredrik Fornwall ce92cc4c5d Stand in srcdir for termux_step_pre_configure 2017-05-11 01:01:20 +02:00
Fredrik Fornwall dcd0fa6ba9 lftp: Update from 4.7.6 to 4.7.7 2017-03-18 01:25:28 +01:00
Fredrik Fornwall 8b6572b37a lftp and sed can now be built with clang 2017-03-05 01:07:01 +01:00
Vishal Biswas f3b094fe32 Another round of minor updates (#781)
* lftp: update from 4.7.5 to 4.7.6

* strace: update from 4.15 to 4.16

* glib: update from 2.50.2 to 2.50.3

* getmail: update from 4.53.0 to 4.54.0

* poppler: update from 0.51.0 to 0.52.0
2017-02-20 05:02:33 +01:00
Fredrik Fornwall 3321027000 lftp: Build with gcc for now 2017-01-15 21:57:53 +01:00
Fredrik Fornwall a3e404de6b lftp: Update from 4.7.4 to 4.7.5 2017-01-07 01:20:05 -05:00
Fredrik Fornwall 7ec16dc2a0 lftp: Update from 4.7.3 to 4.7.4 2016-12-01 08:31:09 -05: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 7ce5638519 Cleanup of more packages 2016-09-03 18:45:08 -04:00
Fredrik Fornwall f6fd83bae5 Bump some builds after libexpat update 2016-08-14 09:19:24 -04:00
Fredrik Fornwall 3f300a10fc Setup libstdc++.so -> libgnustl_shared.so early
Let build-package.sh setup the $PREFIX/lib/libstdc++.so symlink
before building any package, to make sure that all C++ applications
link against a fully featured C++ standard library.

Avoid explicitly declaring a dependency on the libgnustl package
since everyone may link against it at will and instead mark it as
essential.
2016-08-10 19:45:41 -04:00
Fredrik Fornwall 0ad5396297 lftp: Update from 4.7.2 to 4.7.3 2016-08-10 17:59:31 -04:00
Fredrik Fornwall 9c5d930a7e lftp: Update from 4.7.1 to 4.7.2 2016-05-30 17:23:44 -04:00
Fredrik Fornwall f1e31fa9f2 lftp: Bump build revision after gnustl change 2016-05-18 16:36:23 -04:00
Fredrik Fornwall bb27a0ec42 Various package updates
Many of them cascading from the update of glib.
2016-05-04 08:54:30 -04:00
Fredrik Fornwall f7dcd8ad1f lftp: Update from 4.6.4 to 4.6.5 2015-12-25 09:36:20 -05:00
Fredrik Fornwall 637f22d133 Remove DT_VERDEF and DT_VERDEFNUM elf entries
This fixes Android 6 problems (so closes #26).

It also rebuilds termux-elf-cleaner when needed
and bumps some build revisions for packages
needed updates to remove DT_VERDEF and DT_VERDEFNUM.
2015-10-13 15:48:40 -04:00
Fredrik Fornwall 7bcd601120 lftp: Update to latest release 2015-09-23 07:16:50 -04:00
Fredrik Fornwall 807a23c00e Update lftp from 4.6.2 to 4.6.3a 2015-06-28 17:14:40 -04:00