@ -1,5 +1,5 @@
#
# Copyright (C) 2006-2015 OpenWrt.org
# Copyright (C) 2006-2017 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := net-snmp
PKG_VERSION := 5.4.4
PKG_RELEASE := 2
PKG_RELEASE := 3
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := @SF/net-snmp
@ -50,6 +50,18 @@ $(call Package/net-snmp/Default/description)
e n d e f
d e f i n e P a c k a g e / s n m p - m i b s
$( call Package /net -snmp /Default )
TITLE:= Open source SNMP implementation ( MIB-files)
e n d e f
d e f i n e P a c k a g e / s n m p - m i b s / d e s c r i p t i o n
$( call Package /net -snmp /Default /description )
.
This package contains SNMP MIB-Files.
e n d e f
d e f i n e P a c k a g e / s n m p - u t i l s
$( call Package /net -snmp /Default )
DEPENDS:= +libnetsnmp
@ -165,7 +177,6 @@ CONFIGURE_ARGS += \
--enable-applications \
--disable-debugging \
--disable-manuals \
--disable-mibs \
--disable-scripts \
--with-out-mib-modules= " $( SNMP_MIB_MODULES_EXCLUDED) " \
--with-mib-modules= " $( SNMP_MIB_MODULES_INCLUDED) " \
@ -216,6 +227,16 @@ define Package/libnetsnmp/install
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libnetsnmp{ ,agent,helpers,mibs} .so.* $( 1) /usr/lib/
e n d e f
d e f i n e P a c k a g e / s n m p - m i b s / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/share/snmp/mibs
$( INSTALL_DATA) $( PKG_INSTALL_DIR) /usr/share/snmp/mibs/* $( 1) /usr/share/snmp/mibs/
e n d e f
d e f i n e P a c k a g e / s n m p - u t i l s / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/snmp{ get,set,status,test,trap,walk} $( 1) /usr/bin/
e n d e f
d e f i n e P a c k a g e / s n m p d / c o n f f i l e s
/ e t c / c o n f i g / s n m p d
e n d e f
@ -246,12 +267,8 @@ define Package/snmpd-static/install
$( INSTALL_BIN) $( PKG_BUILD_DIR) /agent/snmpd-static $( 1) /usr/sbin/snmpd
e n d e f
d e f i n e P a c k a g e / s n m p - u t i l s / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/snmp{ get,set,status,test,trap,walk} $( 1) /usr/bin/
e n d e f
$( eval $ ( call BuildPackage ,libnetsnmp ) )
$( eval $ ( call BuildPackage ,snmp -mibs ) )
$( eval $ ( call BuildPackage ,snmp -utils ) )
$( eval $ ( call BuildPackage ,snmpd ) )
$( eval $ ( call BuildPackage ,snmpd -static ) )