2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/inetutils/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Collection of common network programs"
|
|
|
|
TERMUX_PKG_VERSION=1.9.4
|
2016-09-18 00:29:14 +02:00
|
|
|
TERMUX_PKG_BUILD_REVISION=3
|
2016-09-25 00:42:39 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/inetutils/inetutils-${TERMUX_PKG_VERSION}.tar.xz
|
2016-02-07 23:14:26 +01:00
|
|
|
TERMUX_PKG_DEPENDS="readline, libutil"
|
2015-06-13 01:03:31 +02:00
|
|
|
# These are old cruft / not suited for android:
|
2016-04-01 12:55:30 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-ifconfig --disable-rcp --disable-rlogin --disable-rsh --disable-rexecd --disable-uucpd --disable-rexec --disable-ping --disable-ping6 --disable-hostname"
|
2016-06-20 02:20:27 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_lib_crypt_crypt=no"
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2016-09-04 00:45:08 +02:00
|
|
|
termux_step_pre_configure() {
|
|
|
|
CPPFLAGS+=" -DLOGIN_PROCESS=6 -DDEAD_PROCESS=8 -DLOG_NFACILITIES=24"
|
|
|
|
LDFLAGS+=" -llog" # for syslog
|
|
|
|
}
|