38 Commits

Author SHA1 Message Date
Tee KOBAYASHI
a41d9a0e6f inetutils: Fix implicit function declaration 2023-04-12 04:30:37 +09:00
Tee KOBAYASHI
0e9122e870 *: Disable clang16-porting for failing packages
%ci:no-build
2023-04-05 10:40:12 +09:00
Tee KOBAYASHI
166a72459b inetutils: Bump to 2.4 2022-11-13 13:26:56 +00:00
Tee KOBAYASHI
b10fbed01e inetutils: Fix implementation of struct __sFILE 2022-09-29 11:58:19 +09:00
agnostic-apollo
6e75ec411e upgpkg(packages/inetutils): Link against libandroid-glob
```
/root/.termux-build/inetutils/src/lib/glob.c:317:53: error: use of undeclared identifier '__GLOB_FLAGS'
  if (pattern == NULL || pglob == NULL || (flags & ~__GLOB_FLAGS) != 0)
                                                    ^
/root/.termux-build/inetutils/src/lib/glob.c:326:14: error: use of undeclared identifier 'GLOB_ONLYDIR'
    flags |= GLOB_ONLYDIR;
             ^
/root/.termux-build/inetutils/src/lib/glob.c:505:32: error: use of undeclared identifier 'GLOB_TILDE_CHECK'
      if ((flags & (GLOB_TILDE|GLOB_TILDE_CHECK)) && pattern[0] == '~')
                               ^
/root/.termux-build/inetutils/src/lib/glob.c:616:28: error: use of undeclared identifier 'GLOB_TILDE_CHECK'
  if ((flags & (GLOB_TILDE|GLOB_TILDE_CHECK)) && dirname[0] == '~')
                           ^
/root/.termux-build/inetutils/src/lib/glob.c:693:27: error: use of undeclared identifier 'GLOB_TILDE_CHECK'
              if (flags & GLOB_TILDE_CHECK)
                          ^
  CC       libgnu_a-i-ring.o
  CC       libgnu_a-ialloc.o
/root/.termux-build/inetutils/src/lib/glob.c:881:29: error: use of undeclared identifier 'GLOB_TILDE_CHECK'
                if (flags & GLOB_TILDE_CHECK)
                            ^
/root/.termux-build/inetutils/src/lib/glob.c:1000:41: error: use of undeclared identifier 'GLOB_ONLYDIR'
                        | GLOB_NOSORT | GLOB_ONLYDIR),
                                        ^
  CC       libgnu_a-imaxtostr.o
/root/.termux-build/inetutils/src/lib/glob.c:1362:39: error: use of undeclared identifier 'GLOB_PERIOD'
          int fnm_flags = ((!(flags & GLOB_PERIOD) ? FNM_PERIOD : 0)
                                      ^
/root/.termux-build/inetutils/src/lib/glob.c:1386:27: error: use of undeclared identifier 'GLOB_ONLYDIR'
              if (flags & GLOB_ONLYDIR)
                          ^
9 errors generated.
make[4]: *** [Makefile:3860: libgnu_a-glob.o] Error 1
```
2022-08-30 22:59:46 +05:00
Lucy Phipps
c816a63077 inetutils: update to 2.3 2022-07-22 22:11:30 +01:00
Chongyun Lee
85881f15f5 inetutils: update to 2.2
Co-authored-by: Yaksh Bariya <yakshbari4@gmail.com>
2022-07-03 01:19:02 +08:00
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