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'
|
|
@@ -333,7 +336,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 \
|
|
@@ -354,6 +357,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
|
|
@@ -372,6 +376,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
|
|
|