Merge "CentOS 8: Upgrade net-snmp to version 5.8.7" into f/centos8
This commit is contained in:
commit
bbc437828f
@ -1,6 +1,6 @@
|
||||
Metadata-Version: 1.1
|
||||
Name: net-snmp
|
||||
Version: 5.7.2
|
||||
Version: 5.8
|
||||
Summary: A collection of SNMP protocol tools and libraries
|
||||
Home-page:
|
||||
Author:
|
||||
|
@ -1,2 +1,2 @@
|
||||
TIS_PATCH_VER=11
|
||||
TIS_PATCH_VER=1
|
||||
BUILD_IS_SLOW=3
|
||||
|
@ -1,8 +1,9 @@
|
||||
From c25a30b4a0c7347234c2af4afab099b5735bbf71 Mon Sep 17 00:00:00 2001
|
||||
From: Scott Little <scott.little@windriver.com>
|
||||
Date: Mon, 2 Oct 2017 17:05:59 -0400
|
||||
Subject: [PATCH] WRS: 0001-Update-package-versioning-for-TIS-format.patch
|
||||
Subject: [PATCH] 0001-Update-package-versioning-for-TIS-format.patch
|
||||
|
||||
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
|
||||
---
|
||||
SPECS/net-snmp.spec | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
@ -11,15 +12,15 @@ diff --git a/SPECS/net-snmp.spec b/SPECS/net-snmp.spec
|
||||
index a59db4f..8a24ba1 100644
|
||||
--- a/SPECS/net-snmp.spec
|
||||
+++ b/SPECS/net-snmp.spec
|
||||
@@ -11,7 +11,7 @@
|
||||
Summary: A collection of SNMP protocol tools and libraries
|
||||
Name: net-snmp
|
||||
Version: 5.7.2
|
||||
-Release: 37%{?dist}
|
||||
+Release: 37.el7%{?_tis_dist}.%{tis_patch_ver}
|
||||
Epoch: 1
|
||||
|
||||
License: BSD
|
||||
--
|
||||
2.7.4
|
||||
@@ -10,7 +10,7 @@
|
||||
Summary: A collection of SNMP protocol tools and libraries
|
||||
Name: net-snmp
|
||||
Version: 5.8
|
||||
-Release: 7%{?dist}.1
|
||||
+Release: 7.el8_0%{?_tis_dist}.%{tis_patch_ver}.1
|
||||
Epoch: 1
|
||||
|
||||
License: BSD
|
||||
--
|
||||
1.8.3.1
|
||||
|
||||
|
@ -1,39 +1,44 @@
|
||||
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
|
||||
---
|
||||
SPECS/net-snmp.spec | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
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
|
||||
+# 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
|
||||
%{!?netsnmp_check: %global netsnmp_check 1}
|
||||
|
||||
@@ -196,7 +199,7 @@ rm testing/fulltests/default/T200*
|
||||
# Autoreconf to get autoconf 2.69 for ARM (#926223)
|
||||
autoreconf
|
||||
|
||||
-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"
|
||||
@@ -222,6 +225,7 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib"
|
||||
--with-ldflags="-Wl,-z,relro -Wl,-z,now" \
|
||||
--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-openssl \
|
||||
--with-persistent-directory="/var/lib/net-snmp" \
|
||||
@@ -232,6 +236,7 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib"
|
||||
--with-systemd \
|
||||
--with-temp-file-pattern=/var/run/net-snmp/snmp-tmp-XXXXXX \
|
||||
--with-transports="DTLSUDP TLSTCP" \
|
||||
+ --without-nl \
|
||||
--with-sys-contact="root@localhost" <<EOF
|
||||
EOF
|
||||
|
||||
--
|
||||
|
||||
--
|
||||
1.8.3.1
|
||||
|
||||
|
@ -1 +1 @@
|
||||
mirror:Source/net-snmp-5.7.2-37.el7.src.rpm
|
||||
mirror:Source/net-snmp-5.8-7.el8_0.1.src.rpm
|
||||
|
Loading…
Reference in New Issue
Block a user