| 1 | TERMUX_PKG_HOMEPAGE=https://www.stunnel.org/ |
| 2 | TERMUX_PKG_DESCRIPTION="Socket wrapper which can provide TLS support to ordinary applications" |
| 3 | TERMUX_PKG_VERSION=5.36 |
| 4 | TERMUX_PKG_SRCURL=https://www.stunnel.org/downloads/stunnel-${TERMUX_PKG_VERSION}.tar.gz |
| 5 | TERMUX_PKG_DEPENDS="openssl, libutil" |
| 6 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-shared --with-ssl=$TERMUX_PREFIX --disable-fips" |
| 7 | TERMUX_PKG_RM_AFTER_INSTALL="bin/stunnel3 share/man/man8/stunnel.*.8" |
| 8 | |
| 9 | termux_step_pre_configure() { |
| 10 | LDFLAGS+=" -llog" |
| 11 | } |