{"id":811605,"url":"http://patchwork.ozlabs.org/api/1.2/patches/811605/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20170908134548.23645-1-julien.floret@6wind.com/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/1.2/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170908134548.23645-1-julien.floret@6wind.com>","list_archive_url":null,"date":"2017-09-08T13:45:48","name":"[1/1] netsnmp: install all MIB files","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"d59aaf121b6931ff3adb4be8a1edf8151e1b5b00","submitter":{"id":68113,"url":"http://patchwork.ozlabs.org/api/1.2/people/68113/?format=json","name":"Julien Floret","email":"julien.floret@6wind.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20170908134548.23645-1-julien.floret@6wind.com/mbox/","series":[{"id":2219,"url":"http://patchwork.ozlabs.org/api/1.2/series/2219/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=2219","date":"2017-09-08T13:45:48","name":"[1/1] netsnmp: install all MIB files","version":1,"mbox":"http://patchwork.ozlabs.org/series/2219/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/811605/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/811605/checks/","tags":{},"related":[],"headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xpf3L5ZcXz9s3T\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  8 Sep 2017 23:55:26 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 2130F88022;\n\tFri,  8 Sep 2017 13:55:25 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id zGNcMmDNfcPY; Fri,  8 Sep 2017 13:55:24 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 4D39B88020;\n\tFri,  8 Sep 2017 13:55:24 +0000 (UTC)","from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 35FC41CE920\n\tfor <buildroot@lists.busybox.net>;\n\tFri,  8 Sep 2017 13:55:23 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 306688A025\n\tfor <buildroot@lists.busybox.net>;\n\tFri,  8 Sep 2017 13:55:23 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id cRpAfT5KVDTH for <buildroot@lists.busybox.net>;\n\tFri,  8 Sep 2017 13:55:22 +0000 (UTC)","from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com\n\t[62.23.145.76])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id D209489FED\n\tfor <buildroot@buildroot.org>; Fri,  8 Sep 2017 13:55:21 +0000 (UTC)","from 6wind.com (unknown [10.16.0.185])\n\tby proxy.6wind.com (Postfix) with SMTP id 21192CE368;\n\tFri,  8 Sep 2017 15:42:21 +0200 (CEST)","by 6wind.com (sSMTP sendmail emulation);\n\tFri, 08 Sep 2017 15:45:58 +0200"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"delayed 00:09:12 by SQLgrey-1.7.6","From":"Julien Floret <julien.floret@6wind.com>","To":"buildroot@buildroot.org","Date":"Fri,  8 Sep 2017 15:45:48 +0200","Message-Id":"<20170908134548.23645-1-julien.floret@6wind.com>","X-Mailer":"git-send-email 2.13.1","Subject":"[Buildroot] [PATCH 1/1] netsnmp: install all MIB files","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"},"content":"Since commit be8e32d585f3 (\"netsnmp: configurable MIB modules\"),\nthe list of MIB modules can be selected with a configuration option.\n\nHowever, there was still an hardcoded list of MIB files to exclude from\nthe target filesystem.\nSince it is complicated to know which MIB files are necessary according\nto the configuration, let's install all of them.\n\nCc: przemyslaw <przemyslaw.wrzos@calyptech.com>\nCc: Gustavo Zacarias <gustavo@zacarias.com.ar>\nSigned-off-by: Julien Floret <julien.floret@6wind.com>\n---\n package/netsnmp/netsnmp.mk | 10 ----------\n 1 file changed, 10 deletions(-)","diff":"diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk\nindex abcf63d56858..742fa6e3b382 100644\n--- a/package/netsnmp/netsnmp.mk\n+++ b/package/netsnmp/netsnmp.mk\n@@ -38,8 +38,6 @@ NETSNMP_MAKE = $(MAKE1)\n NETSNMP_CONFIG_SCRIPTS = net-snmp-config\n NETSNMP_AUTORECONF = YES\n \n-NETSNMP_BLOAT_MIBS = BRIDGE DISMAN-EVENT DISMAN-SCHEDULE DISMAN-SCRIPT EtherLike RFC-1215 RFC1155-SMI RFC1213 SCTP SMUX\n-\n ifeq ($(BR2_ENDIAN),\"BIG\")\n NETSNMP_CONF_OPTS += --with-endianness=big\n else\n@@ -101,14 +99,6 @@ else\n NETSNMP_CONF_OPTS += --disable-applications\n endif\n \n-define NETSNMP_REMOVE_BLOAT_MIBS\n-\tfor mib in $(NETSNMP_BLOAT_MIBS); do \\\n-\t\trm -f $(TARGET_DIR)/usr/share/snmp/mibs/$$mib-MIB.txt; \\\n-\tdone\n-endef\n-\n-NETSNMP_POST_INSTALL_TARGET_HOOKS += NETSNMP_REMOVE_BLOAT_MIBS\n-\n ifeq ($(BR2_PACKAGE_NETSNMP_SERVER),y)\n define NETSNMP_INSTALL_INIT_SYSV\n \t$(INSTALL) -D -m 0755 package/netsnmp/S59snmpd \\\n","prefixes":["1/1"]}