Revert "Disable SNMPv1 (#2156)" (#4088)

This commit is contained in:
Qi Luo 2020-02-01 00:30:00 -08:00 committed by Ying Xie
parent e07016565b
commit a24e04099d
2 changed files with 0 additions and 26 deletions

View File

@ -1,25 +0,0 @@
From db633987abf1ea093cb1785b3cd37adfdb55e4cc Mon Sep 17 00:00:00 2001
From: Qi Luo <qiluo-msft@users.noreply.github.com>
Date: Mon, 15 Oct 2018 22:30:28 +0000
Subject: [PATCH] Disable SNMPv1
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
---
debian/rules | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/rules b/debian/rules
index 9eb8d2d..4c3b5b6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,6 +42,7 @@ endif
override_dh_auto_configure:
dh_auto_configure -- --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
--with-persistent-directory=/var/lib/snmp \
+ --disable-snmpv1 \
--enable-ucd-snmp-compatibility \
--enable-shared --with-cflags="$(CFLAGS) -DNETSNMP_USE_INLINE" \
--with-ldflags="$(LDFLAGS)" \
--
2.18.0

View File

@ -1,5 +1,4 @@
0001-SNMP-Stop-spamming-logs-with-statfs-permission-denie.patch
0002-at.c-properly-check-return-status-from-realloc.-Than.patch
0003-CHANGES-BUG-2743-snmpd-crashes-when-receiving-a-GetN.patch
0004-Disable-SNMPv1.patch
0006-From-Jiri-Cervenka-snmpd-Fixed-agentx-crashing-and-or-freezing-on-timeout.patch