Commit Graph

53 Commits

Author SHA1 Message Date
Leonid Plyushch c2756163d8
nano: update patches 2019-12-02 03:08:25 +02:00
Leonid Plyushch c063fc5a7b
nano: update to 4.6 2019-12-02 01:04:40 +02:00
Leonid Plyushch 7da4f866c1
rebuild everything due to termux-elf-cleaner fix
See https://github.com/termux/termux-packages/issues/4287.

%ci:no-build
2019-11-29 14:22:56 +02:00
Fredrik Fornwall 61d9419613 nano: Update from 4.4 to 4.5 2019-10-06 18:37:33 +02:00
Fredrik Fornwall 6ea068f1f7 nano: Update from 4.3 to 4.4 2019-08-27 19:04:31 +02:00
Leonid Plyushch e5aeb9853f
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 23:04:11 +03:00
Leonid Plyushch b312a0406a
nano: add dpkg alternatives support
Provide $PREFIX/bin/nano as alternative for $PREFIX/bin/editor.
2019-08-10 04:02:04 +03:00
Fredrik Fornwall 9bb940b64d nano: Update from 4.2 to 4.3 2019-06-23 23:38:34 +02:00
Fredrik Fornwall b6d301ad8d nano: Update from 4.1 to 4.2 2019-04-25 23:15:44 +02:00
Fredrik Fornwall 8d87270de4 nano: Update from 4.0 to 4.1 2019-04-17 23:09:57 +02:00
Fredrik Fornwall 82683d3166 nano: Update from 3.2 to 4.0 2019-03-25 00:01:25 +01:00
Leonid Plyushch 84443ea60e nano: fix path to /tmp 2019-03-02 14:52:48 +02:00
Leonid Plyushch e39ea9907f specify CONFFILES for bash, nano, resolv-conf, tmux
Prevent overwriting user's configuration files if package was upgraded.
2019-02-13 22:51:28 +01:00
Wetitpig 78b944ba05 Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Fredrik Fornwall 1ba145d9a1 Revision-bump more packages 2019-01-27 15:47:16 +01:00
Leonid Plyushch 037bcf9566 add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall 8234302958 nano: Update from 3.1 to 3.2 2018-11-12 22:29:44 +01:00
Fredrik Fornwall 89dbbb3b74 nano: Update from 3.0 to 3.1 2018-09-19 07:44:29 +02:00
Fredrik Fornwall afb5cc5d8d nano: Update from 2.9.8 to 3.0 2018-09-11 00:45:49 +02:00
Leonid Plyushch b0c6339832 nano: fix shell path 2018-06-20 01:50:29 +02:00
Henrik Grimler c18051e781 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 ba44e360b4 nano: Update from 2.9.7 to 2.9.8 2018-06-04 00:48:20 +02:00
Fredrik Fornwall 26fdd28cde nano: Update from 2.9.6 to 2.9.7 2018-05-17 19:22:11 +02:00
Fredrik Fornwall 240ba499bf nano: Update from 2.9.5 to 2.9.6 2018-04-28 22:26:54 +02:00
Fredrik Fornwall 1fa5d039e9 nano: Update from 2.9.4 to 2.9.5 2018-03-30 22:49:04 +02:00
Fredrik Fornwall eb6e06947a nano: Update from 2.9.3 to 2.9.4 2018-03-09 10:52:55 +01:00
Fredrik Fornwall 6df1d22653 nano: Update from 2.9.2 to 2.9.3 2018-01-29 13:37:07 +01:00
Fredrik Fornwall 61f7f152e4 nano: Update from 2.9.1 to 2.9.2 2018-01-05 22:57:31 +01:00
Auxilus 67e124b402 nano: Update from 2.9.0 to 2.9.1 2017-11-29 23:01:40 +01:00
Auxilus fe2a134741 nano: Update from 2.8.7 to 2.9.0 2017-11-18 22:05:54 +01:00
Fredrik Fornwall 76a1e4cde5 nano: Update from 2.8.6 to 2.8.7 2017-08-28 12:06:12 +02:00
Fredrik Fornwall a79ce479fd nano: Update from 2.8.5 to 2.8.6 2017-07-22 16:24:47 +02:00
Fredrik Fornwall 2f14ef00ca nano: Update from 2.8.4 to 2.8.5 2017-06-25 22:10:10 +02:00
Fredrik Fornwall 477bca727f nano: Update from 2.8.2 to 2.8.4 2017-05-23 01:14:59 +02:00
Fredrik Fornwall d15af5b8c0 nano: Update from 2.8.1 to 2.8.2 2017-05-05 23:56:59 +02:00
Fredrik Fornwall b67f6abb4d nano: Update from 2.8.0 to 2.8.1 2017-04-14 23:27:56 +02:00
Fredrik Fornwall b09d026816 nano: Update from 2.7.5 to 2.8.0 2017-04-02 12:38:29 +02:00
Fredrik Fornwall ae394a2341 nano: Update from 2.7.4 to 2.7.5 2017-02-25 02:15:59 +01:00
Fredrik Fornwall b7d8db100c nano: Update from 2.7.3 to 2.7.4 2017-01-18 11:44:51 +01:00
Fredrik Fornwall 36d8dc9633 nano: Update from 2.7.2 to 2.7.3 2016-12-31 08:59:01 -05:00
Fredrik Fornwall c53e88278b nano: Update from 2.7.1 to 2.7.2 2016-12-20 22:22:28 -05:00
Fredrik Fornwall 73dfe59cda nano: Update from 2.7.0 to 2.7.1 2016-11-10 19:39:54 -05:00
Fredrik Fornwall 31c7ebba2d nano: Update from 2.6.3 to 2.7.0 2016-09-22 22:37:42 -04:00
Fredrik Fornwall 385c8aef84 Some more clang preparations 2016-09-03 17:48:41 -04:00
Fredrik Fornwall 9d9cb8e57f nano: Update from 2.6.1 to 2.6.3 2016-08-14 06:43:19 -04:00
Fredrik Fornwall b80cfabbdc nano: Update from 2.5.3 to 2.6.1 2016-07-14 17:58:35 -04:00
Fredrik Fornwall f612790cba htop&nano: Rebuild for updated aarch64 toolchain 2016-03-22 17:36:55 -04:00
Fredrik Fornwall 76ce8d6527 nano: Update from 2.5.2 to 2.5.3 2016-03-07 18:28:03 -05:00
Fredrik Fornwall 70c2af9206 nano: Update from 2.5.1 to 2.5.2 2016-02-18 02:49:42 -05:00
Fredrik Fornwall f3d9c5cf67 nano: Update from 2.5.0 to 2.5.1 2016-01-15 05:35:26 -05:00