e1cbd10bc3
Test: Pass build and multi-node deploy test Depends-On: https://review.openstack.org/627383 Story: 2004522 Task: 28406 Change-Id: If2654de0e3a5686d061cf1970b7454363f39c5b5 Signed-off-by: Martin, Chen <haochuan.z.chen@intel.com>
40 lines
1.2 KiB
Diff
40 lines
1.2 KiB
Diff
diff --git a/SPECS/net-snmp.spec b/SPECS/net-snmp.spec
|
|
index 8a24ba1..40af31f 100644
|
|
--- a/SPECS/net-snmp.spec
|
|
+++ b/SPECS/net-snmp.spec
|
|
@@ -1,3 +1,6 @@
|
|
+# WRS: Disable check
|
|
+%global netsnmp_check 0
|
|
+
|
|
# use netsnmp_tcp_wrappers 0 to disable tcp_wrappers support
|
|
%{!?netsnmp_tcp_wrappers:%global netsnmp_tcp_wrappers 1}
|
|
# use nestnmp_check 0 to speed up packaging by disabling 'make test'
|
|
@@ -339,7 +342,7 @@ rm testing/fulltests/default/T200*
|
|
%endif
|
|
|
|
%build
|
|
-MIBS="host agentx smux \
|
|
+MIBS="agentx smux \
|
|
ucd-snmp/diskio tcp-mib udp-mib mibII/mta_sendmail \
|
|
ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable \
|
|
ip-mib/ipAddressPrefixTable/ipAddressPrefixTable \
|
|
@@ -360,6 +363,7 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib"
|
|
--with-logfile="/var/log/snmpd.log" \
|
|
--with-persistent-directory="/var/lib/net-snmp" \
|
|
--with-mib-modules="$MIBS" \
|
|
+ --with-out-mib-modules=host \
|
|
%if %{netsnmp_tcp_wrappers}
|
|
--with-libwrap=yes \
|
|
%endif
|
|
@@ -378,6 +382,7 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib"
|
|
--with-security-modules=tsm \
|
|
--with-mysql \
|
|
--with-systemd \
|
|
+ --without-nl \
|
|
--with-sys-contact="root@localhost" <<EOF
|
|
EOF
|
|
|
|
--
|
|
1.8.3.1
|
|
|