buildrootschalter/package/snmppp/snmppp.mk
Luca Ceresoli 4474809aa4 snmppp: add option to disable SNMPv3 support
Disabling SNMPv3 support also removes the dependency on OpenSSL, which is
pretty large (over 2 MB of uncompressed filesystem size on an ARM926 platform).

BR2_PACKAGE_SNMPPP_SNMPV3 defaults to yes for backward compatibility with
previous Buildroot releases, where SNMPv3 was always enabled.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-04-08 01:19:50 +02:00

26 lines
737 B
Makefile

################################################################################
#
# snmp++
#
################################################################################
SNMPPP_VERSION = 3.3.4
SNMPPP_SOURCE = snmp++-$(SNMPPP_VERSION).tar.gz
SNMPPP_SITE = http://www.agentpp.com
SNMPPP_DEPENDENCIES = host-pkgconf
SNMPPP_INSTALL_STAGING = YES
# no configure script in tarball
SNMPPP_AUTORECONF = YES
SNMPPP_CONF_OPT = $(if $(BR2_PACKAGE_SNMPPP_LOGGING),--enable-logging,--disable-logging)
SNMPPP_LICENSE = SNMP++
SNMPPP_LICENSE_FILES = src/v3.cpp
ifeq ($(BR2_PACKAGE_SNMPPP_SNMPV3),y)
SNMPPP_CONF_OPT += --enable-snmpv3
SNMPPP_DEPENDENCIES += openssl
else
SNMPPP_CONF_OPT += --disable-snmpv3
endif
$(eval $(autotools-package))