Commit Graph

31 Commits

Author SHA1 Message Date
Tee KOBAYASHI be2d6f733a inetutils: Remove `whois` command
now that it is provided by `whois` package.
2022-03-27 12:16:44 +09:00
Henrik Grimler 239ae0c5fc
inetutils: fix build with ndk-r23 2021-11-18 08:16:40 +01:00
Leonid Pliushch a6940e58e2
inetutils: avoid rebuilding of whois manpage
Fixes build error.
2021-04-10 17:48:56 +03:00
Leonid Pliushch bb62878def
inetutils: disable fdsan for "whois"
https://github.com/termux/termux-packages/issues/5980
2021-04-10 16:59:23 +03:00
Leonid Pliushch 37375312b9
explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00
Leonid Pliushch fa84c9be16 inetutils: bump revision 2020-07-07 19:34:50 +03:00
Leonid Pliushch 5e95a6005b inetutils: build utility 'hostname' 2020-06-07 01:03:42 +03:00
Fredrik Fornwall 5d7a32bfcc Get rid of more liblog linkage 2019-12-30 01:05:41 +01:00
Leonid Pliushch fc5c4dc6da inetutils: pass LIBS=-llog in make args
Should be compatible with both cross-compiling and building on device.
2019-08-16 18:19:13 +03:00
Leonid Pliushch 94f3f40c68 Revert "inetutils: pass `-llog` with LDFLAGS for now"
This reverts commit 944c8bf0e33a3385afc4be12fe8d6b70e95f1112.
2019-08-16 18:18:43 +03:00
Leonid Pliushch f9c9b3a359 inetutils: pass `-llog` with LDFLAGS for now 2019-08-16 17:38:07 +03:00
Leonid Pliushch c376dc4547 parted: fix for on-device build 2019-08-16 17:24:46 +03:00
Leonid Pliushch 5cb8b1a75d inetutils: fix for on-device builds 2019-08-16 17:17:22 +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 54036eac1a bump revision of all packages dependent on readline 2019-02-20 17:48:39 +02:00
Leonid Pliushch 46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Henrik Grimler 0e0c135208 inetutils: remove no longer needed debug patch 2018-08-13 22:13:09 +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 2bb920e3e2 http -> https updates 2018-05-25 12:38:52 +02:00
Fredrik Fornwall 4aee3c350c Remove traceroute from busybox and inetutils
We will provide traceroute as a symlink to tracepath so that it
works for non-root users.
2017-01-30 01:19:49 +01:00
Fredrik Fornwall af4dc416ed s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/ 2017-01-11 01:21:42 -05:00
Fredrik Fornwall 8fb06a27d6 inetutils: Add note about upstream submitted patch 2016-10-23 07:54:20 -04:00
Fredrik Fornwall 795d376ef1 inetutils: Add HAVE_DECL_GETPASS checks to ftp
Without the check for HAVE_DECL_GETPASS and declaring a local
function declaration the implicit int rule causes crashes on 64-bit
systems without getpass(3) such as Android.

Fixes #517.
2016-10-22 08:20:13 -04:00
Fredrik Fornwall 722ed12d69 Switch from ftp.gnu.org to mirrors.kernel.org 2016-09-24 18:42:39 -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 7ce5638519 Cleanup of more packages 2016-09-03 18:45:08 -04:00
Fredrik Fornwall 4608382d11 inetutils: Avoid linking against libcrypt 2016-06-19 20:20:27 -04:00
Fredrik Fornwall f88c28f160 Move ping6 from inetutils to instead use system
The ping6 binary needs setuid, so use the working system version
instead of installing a broken version for non-root users.

Closes https://github.com/termux/termux-app/issues/74
2016-04-01 06:55:30 -04:00
Fredrik Fornwall 80d47dc4cc inetutils&socat: Add libutil as dependency 2016-02-07 17:14:26 -05:00
Fredrik Fornwall 49ca09e5e5 Fix wait3() function and bump build revisions 2015-07-11 17:43:48 -04:00
Fredrik Fornwall 59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00