Commit Graph

54 Commits

Author SHA1 Message Date
Leonid Pliushch
8702d49976 nano: update to 4.9 2020-03-29 22:14:01 +03:00
Leonid Pliushch
50dfb746b1 nano: update to 4.8 2020-02-10 14:07:37 +02:00
Fredrik Fornwall
0c6fe4bf8e nano: Update from 4.6 to 4.7 2019-12-31 01:42:33 +01:00
Fredrik Fornwall
433cd2d7ff nano: Update from 4.5 to 4.6 2019-12-01 17:34:14 +01:00
Fredrik Fornwall
2ca041c02d nano: Update from 4.4 to 4.5 2019-10-06 18:38:19 +02:00
Fredrik Fornwall
7fecbfab9d nano: Update from 4.3 to 4.4 2019-08-27 19:09:15 +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
991a6d70c0 nano: add dpkg alternatives support
Provide $PREFIX/bin/nano as alternative for $PREFIX/bin/editor.
2019-08-10 02:55:04 +03:00
Fredrik Fornwall
994bf4073c nano: Update from 4.2 to 4.3 2019-06-23 23:38:06 +02:00
Fredrik Fornwall
283505e3ea nano: Update from 4.1 to 4.2 2019-04-25 23:16:06 +02:00
Fredrik Fornwall
d12780e0ca nano: Update from 4.0 to 4.1 2019-04-17 23:10:14 +02:00
Fredrik Fornwall
92ed2b8c1f nano: Update from 3.2 to 4.0 2019-03-25 00:01:36 +01:00
Leonid Pliushch
4f66b934e9 nano: fix path to /tmp 2019-03-02 14:52:48 +02:00
Leonid Pliushch
f2dcc0299f 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
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Fredrik Fornwall
89fb794b96 Revision-bump more packages 2019-01-27 15:47:16 +01:00
Leonid Pliushch
46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall
31d1f1dc8b nano: Update from 3.1 to 3.2 2018-11-12 22:29:44 +01:00
Fredrik Fornwall
a4cbc757d3 nano: Update from 3.0 to 3.1 2018-09-19 07:44:29 +02:00
Fredrik Fornwall
50f0e520f7 nano: Update from 2.9.8 to 3.0 2018-09-11 00:45:49 +02:00
Leonid Pliushch
319aabcc11 nano: fix shell path 2018-06-20 01:50:29 +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
90468c8bdb nano: Update from 2.9.7 to 2.9.8 2018-06-04 00:48:20 +02:00
Fredrik Fornwall
287b3f97a7 nano: Update from 2.9.6 to 2.9.7 2018-05-17 19:22:11 +02:00
Fredrik Fornwall
6ca1532a74 nano: Update from 2.9.5 to 2.9.6 2018-04-28 22:26:54 +02:00
Fredrik Fornwall
450bb1bdcb nano: Update from 2.9.4 to 2.9.5 2018-03-30 22:49:04 +02:00
Fredrik Fornwall
46be8df7af nano: Update from 2.9.3 to 2.9.4 2018-03-09 10:52:55 +01:00
Fredrik Fornwall
ec070aa3d5 nano: Update from 2.9.2 to 2.9.3 2018-01-29 13:37:07 +01:00
Fredrik Fornwall
839fe0005a nano: Update from 2.9.1 to 2.9.2 2018-01-05 22:57:31 +01:00
Auxilus
44d67208a0 nano: Update from 2.9.0 to 2.9.1 2017-11-29 23:01:40 +01:00
Auxilus
e0a705db74 nano: Update from 2.8.7 to 2.9.0 2017-11-18 22:05:54 +01:00
Fredrik Fornwall
310e694995 nano: Update from 2.8.6 to 2.8.7 2017-08-28 12:06:12 +02:00
Fredrik Fornwall
f189654614 nano: Update from 2.8.5 to 2.8.6 2017-07-22 16:24:47 +02:00
Fredrik Fornwall
197ab7f44c nano: Update from 2.8.4 to 2.8.5 2017-06-25 22:10:10 +02:00
Fredrik Fornwall
aed1de33b5 nano: Update from 2.8.2 to 2.8.4 2017-05-23 01:14:59 +02:00
Fredrik Fornwall
90c458b47e nano: Update from 2.8.1 to 2.8.2 2017-05-05 23:56:59 +02:00
Fredrik Fornwall
54d0bbc396 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