mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-27 22:20:31 +00:00
```
/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
```
40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/inetutils/
|
|
TERMUX_PKG_DESCRIPTION="Collection of common network programs"
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=2.3
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/inetutils/inetutils-${TERMUX_PKG_VERSION}.tar.xz
|
|
TERMUX_PKG_SHA256=0b01bb08e29623c4e3b940f233c961451d9af8c5066301add76a52a95d51772c
|
|
TERMUX_PKG_DEPENDS="libandroid-glob, readline"
|
|
TERMUX_PKG_SUGGESTS="whois"
|
|
TERMUX_PKG_RM_AFTER_INSTALL="bin/whois share/man/man1/whois.1"
|
|
# These are old cruft / not suited for android
|
|
# (we --disable-traceroute as it requires root
|
|
# in favour of tracepath, which sets up traceroute
|
|
# as a symlink to tracepath):
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
--disable-ifconfig
|
|
--disable-ping
|
|
--disable-ping6
|
|
--disable-rcp
|
|
--disable-rexec
|
|
--disable-rexecd
|
|
--disable-rlogin
|
|
--disable-rsh
|
|
--disable-traceroute
|
|
--disable-uucpd
|
|
ac_cv_lib_crypt_crypt=no
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
CFLAGS+=" -DNO_INLINE_GETPASS=1"
|
|
CPPFLAGS+=" -DNO_INLINE_GETPASS=1 -DLOGIN_PROCESS=6 -DDEAD_PROCESS=8 -DLOG_NFACILITIES=24 -fcommon"
|
|
LDFLAGS+=" -landroid-glob"
|
|
touch -d "next hour" ./man/whois.1
|
|
}
|
|
|
|
termux_step_post_configure() {
|
|
cp $TERMUX_PKG_BUILDER_DIR/malloc.h $TERMUX_PKG_BUILDDIR/lib/
|
|
}
|