mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-04 18:45:52 +00:00
51253bd66c
[no ci]
27 lines
1.0 KiB
Bash
27 lines
1.0 KiB
Bash
TERMUX_PKG_HOMEPAGE=http://www.net-snmp.org/
|
|
TERMUX_PKG_DESCRIPTION="Various tools relating to the Simple Network Management Protocol"
|
|
TERMUX_PKG_LICENSE="HPND, BSD 3-Clause, MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="5.9.4"
|
|
TERMUX_PKG_SRCURL=https://github.com/net-snmp/net-snmp/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=0699e7effc5782124c1fa2f2823d816ae740fac5bef002440edfee86b17c1aba
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
--with-agentx-socket=$TERMUX_PREFIX/var/agentx/master
|
|
--with-default-snmp-version=3
|
|
--with-logfile=$TERMUX_PREFIX/var/log/net-snmpd.log
|
|
--with-mnttab=$TERMUX_PREFIX/etc/mtab
|
|
--with-persistent-directory=$TERMUX_PREFIX/var/lib/net-snmp
|
|
--with-sys-contact=root@localhost
|
|
--with-sys-location=Unknown
|
|
--with-temp-file-pattern=$TERMUX_PREFIX/tmp/snmpdXXXXXX
|
|
ac_cv_path_LPSTAT_PATH=$TERMUX_PREFIX/bin/lpstat
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
if [ $TERMUX_ARCH = "x86_64" ]; then
|
|
CPPFLAGS+=" -DOPENSSL_NO_INLINE_ASM"
|
|
fi
|
|
}
|