Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c665c7c

Browse files
jfloretarnout
authored andcommitted
netsnmp: install all MIB files
Since commit be8e32d ("netsnmp: configurable MIB modules"), the list of MIB modules can be selected with a configuration option. However, there was still an hardcoded list of MIB files to exclude from the target filesystem. Since it is complicated to know which MIB files are necessary according to the configuration, let's install all of them. Cc: przemyslaw <[email protected]> Cc: Gustavo Zacarias <[email protected]> Signed-off-by: Julien Floret <[email protected]> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
1 parent 128d233 commit c665c7c

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

package/netsnmp/netsnmp.mk

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ NETSNMP_MAKE = $(MAKE1)
3838
NETSNMP_CONFIG_SCRIPTS = net-snmp-config
3939
NETSNMP_AUTORECONF = YES
4040

41-
NETSNMP_BLOAT_MIBS = BRIDGE DISMAN-EVENT DISMAN-SCHEDULE DISMAN-SCRIPT EtherLike RFC-1215 RFC1155-SMI RFC1213 SCTP SMUX
42-
4341
ifeq ($(BR2_ENDIAN),"BIG")
4442
NETSNMP_CONF_OPTS += --with-endianness=big
4543
else
@@ -101,14 +99,6 @@ else
10199
NETSNMP_CONF_OPTS += --disable-applications
102100
endif
103101

104-
define NETSNMP_REMOVE_BLOAT_MIBS
105-
for mib in $(NETSNMP_BLOAT_MIBS); do \
106-
rm -f $(TARGET_DIR)/usr/share/snmp/mibs/$$mib-MIB.txt; \
107-
done
108-
endef
109-
110-
NETSNMP_POST_INSTALL_TARGET_HOOKS += NETSNMP_REMOVE_BLOAT_MIBS
111-
112102
ifeq ($(BR2_PACKAGE_NETSNMP_SERVER),y)
113103
define NETSNMP_INSTALL_INIT_SYSV
114104
$(INSTALL) -D -m 0755 package/netsnmp/S59snmpd \

0 commit comments

Comments
 (0)