[package] net-snmp: enable 64-bits counter (#8818)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@25486 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2011-02-12 19:22:39 +00:00
parent dca96d5027
commit 5de9bf0287

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=net-snmp PKG_NAME:=net-snmp
PKG_VERSION:=5.4.2.1 PKG_VERSION:=5.4.2.1
PKG_RELEASE:=3 PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/net-snmp PKG_SOURCE_URL:=@SF/net-snmp
@ -26,10 +26,10 @@ define Package/net-snmp/Default
endef endef
define Package/net-snmp/Default/description define Package/net-snmp/Default/description
Simple Network Management Protocol (SNMP) is a widely used protocol for Simple Network Management Protocol (SNMP) is a widely used protocol for
monitoring the health and welfare of network equipment (eg. routers), monitoring the health and welfare of network equipment (eg. routers),
computer equipment and even devices like UPSs. Net-SNMP is a suite of computer equipment and even devices like UPSs. Net-SNMP is a suite of
applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both
IPv4 and IPv6. IPv4 and IPv6.
endef endef
@ -98,6 +98,7 @@ SNMP_MIB_MODULES_INCLUDED = \
host/hr_storage \ host/hr_storage \
host/hr_system \ host/hr_system \
ieee802dot11 \ ieee802dot11 \
if-mib/ifXTable \
mibII/at \ mibII/at \
mibII/icmp \ mibII/icmp \
mibII/ifTable \ mibII/ifTable \
@ -144,13 +145,14 @@ SNMP_MIB_MODULES_EXCLUDED = \
udp-mib \ udp-mib \
utilities \ utilities \
SNMP_TRANSPORTS_INCLUDED = Callback UDP SNMP_TRANSPORTS_INCLUDED = Callback UDP
SNMP_TRANSPORTS_EXCLUDED = TCP TCPIPv6 Unix SNMP_TRANSPORTS_EXCLUDED = TCP TCPIPv6 Unix
TARGET_CFLAGS += $(FPIC) TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-mfd-rewrites \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \
--with-endianness=little \ --with-endianness=little \
@ -193,7 +195,7 @@ define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \ INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \
LDFLAGS="$(TARGET_LDFLAGS) -lm -lc" \ LDFLAGS="$(TARGET_LDFLAGS) -lm -lc" \
all install all install
$(Build/Compile/static) $(Build/Compile/static)
endef endef