Compare commits
18 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
e1ae9a2b12 | ||
|
ad9d539156 | ||
|
ae7481e93f | ||
|
8ca1417603 | ||
|
f4c324fcef | ||
|
e50eb6982b | ||
|
1f70924d0a | ||
|
0a09d4c2db | ||
|
a1af22f206 | ||
|
0f69787599 | ||
|
0867787a38 | ||
|
491853f2e5 | ||
|
e4b67c5f99 | ||
|
88d41bd5db | ||
|
f12e2cf5d7 | ||
|
47260a4a3a | ||
|
96bb8ca49d | ||
|
18351a3904 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@ net-snmp-5.5.tar.gz
|
||||
/net-snmp-5.9.tar.gz
|
||||
/net-snmp-5.9.1.tar.gz
|
||||
/net-snmp-5.9.3.tar.gz
|
||||
/net-snmp-5.9.4.tar.gz
|
||||
|
12
net-snmp-5.9-ipv6-disable-leak.patch
Normal file
12
net-snmp-5.9-ipv6-disable-leak.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -urNp a/snmplib/snmp_logging.c b/snmplib/snmp_logging.c
|
||||
--- a/snmplib/snmp_logging.c 2023-02-15 10:19:15.691827254 +0100
|
||||
+++ b/snmplib/snmp_logging.c 2023-02-15 10:24:41.006642974 +0100
|
||||
@@ -490,7 +490,7 @@ snmp_log_options(char *optarg, int argc,
|
||||
char *
|
||||
snmp_log_syslogname(const char *pstr)
|
||||
{
|
||||
- if (pstr)
|
||||
+ if (pstr && (pstr != syslogname))
|
||||
strlcpy (syslogname, pstr, sizeof(syslogname));
|
||||
|
||||
return syslogname;
|
65
net-snmp-5.9-rpmdb.patch
Normal file
65
net-snmp-5.9-rpmdb.patch
Normal file
@ -0,0 +1,65 @@
|
||||
From ed4ee14af5b83fa4a86dfaa783f841d3e8545ce4 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Josef=20=C5=98=C3=ADdk=C3=BD?= <jridky@redhat.com>
|
||||
Date: Wed, 9 Aug 2023 16:51:28 +0200
|
||||
Subject: [PATCH] Add support for RPM SQLite DB background.
|
||||
|
||||
From RPM 4.16 the SQLite support is available for RPM DB.
|
||||
After https://fedoraproject.org/wiki/Changes/Sqlite_Rpmdb, rpm changed
|
||||
it's background DB from Berkeley to SQLite in Fedora.
|
||||
Net-SNMP is using hard coded paths to determine where RPM DB files are.
|
||||
|
||||
This update is adding check for rpmdb.sqlite file in order to be able
|
||||
invalidate internal cache after system package change.
|
||||
|
||||
Closes #596
|
||||
---
|
||||
agent/mibgroup/host/data_access/swinst_rpm.c | 18 +++++++++++++-----
|
||||
agent/mibgroup/host/hr_swinst.c | 3 +++
|
||||
2 files changed, 16 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/agent/mibgroup/host/data_access/swinst_rpm.c b/agent/mibgroup/host/data_access/swinst_rpm.c
|
||||
index 050edff307..7ad91a3194 100644
|
||||
--- a/agent/mibgroup/host/data_access/swinst_rpm.c
|
||||
+++ b/agent/mibgroup/host/data_access/swinst_rpm.c
|
||||
@@ -73,15 +73,23 @@ netsnmp_swinst_arch_init(void)
|
||||
#endif
|
||||
|
||||
snprintf( pkg_directory, SNMP_MAXPATH, "%s/Packages", dbpath );
|
||||
+
|
||||
+ if (-1 == stat( pkg_directory, &stat_buf )) {
|
||||
+
|
||||
+ /* check for SQLite DB backend */
|
||||
+ snprintf( pkg_directory, SNMP_MAXPATH, "%s/rpmdb.sqlite", dbpath );
|
||||
+
|
||||
+ if (-1 == stat( pkg_directory, &stat_buf )) {
|
||||
+ snmp_log(LOG_ERR, "Can't find directory of RPM packages\n");
|
||||
+ pkg_directory[0] = '\0';
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
SNMP_FREE(rpmdbpath);
|
||||
dbpath = NULL;
|
||||
#ifdef HAVE_RPMGETPATH
|
||||
rpmFreeRpmrc();
|
||||
-#endif
|
||||
- if (-1 == stat( pkg_directory, &stat_buf )) {
|
||||
- snmp_log(LOG_ERR, "Can't find directory of RPM packages\n");
|
||||
- pkg_directory[0] = '\0';
|
||||
- }
|
||||
+#endif
|
||||
}
|
||||
|
||||
void
|
||||
diff -urNp a/agent/mibgroup/host/hr_swinst.c b/agent/mibgroup/host/hr_swinst.c
|
||||
--- a/agent/mibgroup/host/hr_swinst.c 2023-07-31 11:37:44.855071535 +0200
|
||||
+++ b/agent/mibgroup/host/hr_swinst.c 2023-08-14 12:45:14.846357019 +0200
|
||||
@@ -229,6 +229,9 @@ init_hr_swinst(void)
|
||||
snprintf(path, sizeof(path), "%s/Packages", swi->swi_dbpath);
|
||||
if (stat(path, &stat_buf) == -1)
|
||||
snprintf(path, sizeof(path), "%s/packages.rpm", swi->swi_dbpath);
|
||||
+ /* check for SQLite DB backend */
|
||||
+ if (stat(path, &stat_buf) == -1)
|
||||
+ snprintf(path, sizeof(path), "%s/rpmdb.sqlite", swi->swi_dbpath);
|
||||
path[ sizeof(path)-1 ] = 0;
|
||||
swi->swi_directory = strdup(path);
|
||||
#ifdef HAVE_RPMGETPATH
|
@ -1,6 +0,0 @@
|
||||
diff -urNp a/dist/autoconf-version b/dist/autoconf-version
|
||||
--- a/dist/autoconf-version 2021-09-01 11:18:14.582110773 +0200
|
||||
+++ b/dist/autoconf-version 2021-09-01 11:20:16.804369533 +0200
|
||||
@@ -1 +1 @@
|
||||
-2.69
|
||||
+2.71
|
6
net-snmp-5.9.4-autoconf.patch
Normal file
6
net-snmp-5.9.4-autoconf.patch
Normal file
@ -0,0 +1,6 @@
|
||||
diff -urNp a/dist/autoconf-version b/dist/autoconf-version
|
||||
--- a/dist/autoconf-version 2024-02-16 08:21:36.551729028 +0100
|
||||
+++ b/dist/autoconf-version 2024-02-16 08:24:39.035608191 +0100
|
||||
@@ -1 +1 @@
|
||||
-2.71
|
||||
+2.72
|
120
net-snmp-5.9.4-kernel-6.7.patch
Normal file
120
net-snmp-5.9.4-kernel-6.7.patch
Normal file
@ -0,0 +1,120 @@
|
||||
From f5ae6baf0018abda9dedc368fe6d52c0d7a8ab8f Mon Sep 17 00:00:00 2001
|
||||
From: Philippe Troin <phil+github-commits@fifi.org>
|
||||
Date: Sat, 3 Feb 2024 10:30:30 -0800
|
||||
Subject: [PATCH] Add Linux 6.7 compatibility parsing /proc/net/snmp
|
||||
|
||||
Linux 6.7 adds a new OutTransmits field to Ip in /proc/net/snmp.
|
||||
This breaks the hard-coded assumptions about the Ip line length.
|
||||
Add compatibility to parse Linux 6.7 Ip header while keep support
|
||||
for previous versions.
|
||||
---
|
||||
.../ip-mib/data_access/systemstats_linux.c | 46 +++++++++++++++----
|
||||
1 file changed, 37 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/agent/mibgroup/ip-mib/data_access/systemstats_linux.c b/agent/mibgroup/ip-mib/data_access/systemstats_linux.c
|
||||
index 49e0a34d5c..f04e828a94 100644
|
||||
--- a/agent/mibgroup/ip-mib/data_access/systemstats_linux.c
|
||||
+++ b/agent/mibgroup/ip-mib/data_access/systemstats_linux.c
|
||||
@@ -36,7 +36,7 @@ netsnmp_access_systemstats_arch_init(void)
|
||||
}
|
||||
|
||||
/*
|
||||
- /proc/net/snmp
|
||||
+ /proc/net/snmp - Linux 6.6 and lower
|
||||
|
||||
Ip: Forwarding DefaultTTL InReceives InHdrErrors InAddrErrors ForwDatagrams InUnknownProtos InDiscards InDelivers OutRequests OutDiscards OutNoRoutes ReasmTimeout ReasmReqds ReasmOKs ReasmFails FragOKs FragFails FragCreates
|
||||
Ip: 2 64 7083534 0 0 0 0 0 6860233 6548963 0 0 1 286623 63322 1 259920 0 0
|
||||
@@ -49,6 +49,26 @@ netsnmp_access_systemstats_arch_init(void)
|
||||
|
||||
Udp: InDatagrams NoPorts InErrors OutDatagrams
|
||||
Udp: 1491094 122 0 1466178
|
||||
+*
|
||||
+ /proc/net/snmp - Linux 6.7 and higher
|
||||
+
|
||||
+ Ip: Forwarding DefaultTTL InReceives InHdrErrors InAddrErrors ForwDatagrams InUnknownProtos InDiscards InDelivers OutRequests OutDiscards OutNoRoutes ReasmTimeout ReasmReqds ReasmOKs ReasmFails FragOKs FragFails FragCreates OutTransmits
|
||||
+ Ip: 1 64 50859058 496 0 37470604 0 0 20472980 7515791 1756 0 0 7264 3632 0 3548 0 7096 44961424
|
||||
+
|
||||
+ Icmp: InMsgs InErrors InCsumErrors InDestUnreachs InTimeExcds InParmProbs InSrcQuenchs InRedirects InEchos InEchoReps InTimestamps InTimestampReps InAddrMasks InAddrMaskReps OutMsgs OutErrors OutRateLimitGlobal OutRateLimitHost OutDestUnreachs OutTimeExcds OutParmProbs OutSrcQuenchs OutRedirects OutEchos OutEchoReps OutTimestamps OutTimestampReps OutAddrMasks OutAddrMaskReps
|
||||
+ Icmp: 114447 2655 0 17589 0 0 0 0 66905 29953 0 0 0 0 143956 0 0 572 16610 484 0 0 0 59957 66905 0 0 0 0
|
||||
+
|
||||
+ IcmpMsg: InType0 InType3 InType8 OutType0 OutType3 OutType8 OutType11
|
||||
+ IcmpMsg: 29953 17589 66905 66905 16610 59957 484
|
||||
+
|
||||
+ Tcp: RtoAlgorithm RtoMin RtoMax MaxConn ActiveOpens PassiveOpens AttemptFails EstabResets CurrEstab InSegs OutSegs RetransSegs InErrs OutRsts InCsumErrors
|
||||
+ Tcp: 1 200 120000 -1 17744 13525 307 3783 6 18093137 9277788 3499 8 7442 0
|
||||
+
|
||||
+ Udp: InDatagrams NoPorts InErrors OutDatagrams RcvbufErrors SndbufErrors InCsumErrors IgnoredMulti MemErrors
|
||||
+ Udp: 2257832 1422 0 2252835 0 0 0 84 0
|
||||
+
|
||||
+ UdpLite: InDatagrams NoPorts InErrors OutDatagrams RcvbufErrors SndbufErrors InCsumErrors IgnoredMulti MemErrors
|
||||
+ UdpLite: 0 0 0 0 0 0 0 0 0
|
||||
*/
|
||||
|
||||
|
||||
@@ -101,10 +121,10 @@ _systemstats_v4(netsnmp_container* container, u_int load_flags)
|
||||
FILE *devin;
|
||||
char line[1024];
|
||||
netsnmp_systemstats_entry *entry = NULL;
|
||||
- int scan_count;
|
||||
+ int scan_count, expected_scan_count;
|
||||
char *stats, *start = line;
|
||||
int len;
|
||||
- unsigned long long scan_vals[19];
|
||||
+ unsigned long long scan_vals[20];
|
||||
|
||||
DEBUGMSGTL(("access:systemstats:container:arch", "load v4 (flags %x)\n",
|
||||
load_flags));
|
||||
@@ -126,10 +146,17 @@ _systemstats_v4(netsnmp_container* container, u_int load_flags)
|
||||
*/
|
||||
NETSNMP_IGNORE_RESULT(fgets(line, sizeof(line), devin));
|
||||
len = strlen(line);
|
||||
- if (224 != len) {
|
||||
+ switch (len) {
|
||||
+ case 224:
|
||||
+ expected_scan_count = 19;
|
||||
+ break;
|
||||
+ case 237:
|
||||
+ expected_scan_count = 20;
|
||||
+ break;
|
||||
+ default:
|
||||
fclose(devin);
|
||||
snmp_log(LOG_ERR, "systemstats_linux: unexpected header length in /proc/net/snmp."
|
||||
- " %d != 224\n", len);
|
||||
+ " %d not in { 224, 237 } \n", len);
|
||||
return -4;
|
||||
}
|
||||
|
||||
@@ -178,20 +205,20 @@ _systemstats_v4(netsnmp_container* container, u_int load_flags)
|
||||
memset(scan_vals, 0x0, sizeof(scan_vals));
|
||||
scan_count = sscanf(stats,
|
||||
"%llu %llu %llu %llu %llu %llu %llu %llu %llu %llu"
|
||||
- "%llu %llu %llu %llu %llu %llu %llu %llu %llu",
|
||||
+ "%llu %llu %llu %llu %llu %llu %llu %llu %llu %llu",
|
||||
&scan_vals[0],&scan_vals[1],&scan_vals[2],
|
||||
&scan_vals[3],&scan_vals[4],&scan_vals[5],
|
||||
&scan_vals[6],&scan_vals[7],&scan_vals[8],
|
||||
&scan_vals[9],&scan_vals[10],&scan_vals[11],
|
||||
&scan_vals[12],&scan_vals[13],&scan_vals[14],
|
||||
&scan_vals[15],&scan_vals[16],&scan_vals[17],
|
||||
- &scan_vals[18]);
|
||||
+ &scan_vals[18],&scan_vals[19]);
|
||||
DEBUGMSGTL(("access:systemstats", " read %d values\n", scan_count));
|
||||
|
||||
- if(scan_count != 19) {
|
||||
+ if(scan_count != expected_scan_count) {
|
||||
snmp_log(LOG_ERR,
|
||||
"error scanning systemstats data (expected %d, got %d)\n",
|
||||
- 19, scan_count);
|
||||
+ expected_scan_count, scan_count);
|
||||
netsnmp_access_systemstats_entry_free(entry);
|
||||
return -4;
|
||||
}
|
||||
@@ -223,6 +250,7 @@ _systemstats_v4(netsnmp_container* container, u_int load_flags)
|
||||
entry->stats.HCOutFragFails.high = scan_vals[17] >> 32;
|
||||
entry->stats.HCOutFragCreates.low = scan_vals[18] & 0xffffffff;
|
||||
entry->stats.HCOutFragCreates.high = scan_vals[18] >> 32;
|
||||
+ /* entry->stats. = scan_vals[19]; / * OutTransmits */
|
||||
|
||||
entry->stats.columnAvail[IPSYSTEMSTATSTABLE_HCINRECEIVES] = 1;
|
||||
entry->stats.columnAvail[IPSYSTEMSTATSTABLE_INHDRERRORS] = 1;
|
||||
|
156
net-snmp.spec
156
net-snmp.spec
@ -9,11 +9,11 @@
|
||||
|
||||
Summary: A collection of SNMP protocol tools and libraries
|
||||
Name: net-snmp
|
||||
Version: 5.9.3
|
||||
Release: 1%{?dist}
|
||||
Version: 5.9.4
|
||||
Release: 8%{?dist}
|
||||
Epoch: 1
|
||||
|
||||
License: BSD
|
||||
License: Net-SNMP and OpenSSL
|
||||
URL: http://net-snmp.sourceforge.net/
|
||||
Source0: https://downloads.sourceforge.net/project/net-snmp/net-snmp/%{version}/net-snmp-%{version}.tar.gz
|
||||
Source1: net-snmp.redhat.conf
|
||||
@ -35,7 +35,7 @@ Patch5: net-snmp-5.7.2-cert-path.patch
|
||||
Patch6: net-snmp-5.9-cflags.patch
|
||||
Patch7: net-snmp-5.8-Remove-U64-typedef.patch
|
||||
Patch8: net-snmp-5.7.3-iterator-fix.patch
|
||||
Patch9: net-snmp-5.9-autofs-skip.patch
|
||||
Patch9: net-snmp-5.9-autofs-skip.patch
|
||||
Patch10: net-snmp-5.9-coverity.patch
|
||||
Patch11: net-snmp-5.8-expand-SNMPCONFPATH.patch
|
||||
Patch12: net-snmp-5.8-duplicate-ipAddress.patch
|
||||
@ -47,8 +47,11 @@ Patch17: net-snmp-5.9-aes-config.patch
|
||||
Patch18: net-snmp-5.8-clientaddr-error-message.patch
|
||||
Patch19: net-snmp-5.9-intermediate-certs.patch
|
||||
Patch20: net-snmp-5.9.1-remove-des.patch
|
||||
Patch21: net-snmp-5.9.1-autoconf.patch
|
||||
Patch22: net-snmp-libs-misunderstanding.patch
|
||||
Patch21: net-snmp-libs-misunderstanding.patch
|
||||
Patch22: net-snmp-5.9-ipv6-disable-leak.patch
|
||||
Patch23: net-snmp-5.9-rpmdb.patch
|
||||
Patch24: net-snmp-5.9.4-autoconf.patch
|
||||
Patch25: net-snmp-5.9.4-kernel-6.7.patch
|
||||
|
||||
# Modern RPM API means at least EL6
|
||||
Patch101: net-snmp-5.8-modern-rpm-api.patch
|
||||
@ -136,8 +139,21 @@ applications for use with the NET-SNMP project's network management
|
||||
tools. You'll also need to have the net-snmp and net-snmp-utils
|
||||
packages installed.
|
||||
|
||||
%package perl-module
|
||||
Summary: The perl NET-SNMP module
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}, perl-interpreter
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
|
||||
%description perl-module
|
||||
The net-snmp-perl package contains the perl files to use SNMP from within
|
||||
Perl.
|
||||
|
||||
Install the net-snmp-perl package, if you want to use SNMP with perl.
|
||||
|
||||
|
||||
%package perl
|
||||
Summary: The perl NET-SNMP module and the mib2c tool
|
||||
Summary: The perl-based utilities and the mib2c tool
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}, perl-interpreter
|
||||
Requires: %{name}-agent-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Requires: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
@ -145,15 +161,17 @@ BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
|
||||
%description perl
|
||||
The net-snmp-perl package contains the perl files to use SNMP from within
|
||||
Perl.
|
||||
The net-snmp-perl package contains the utilities written in perl.
|
||||
|
||||
Install the net-snmp-perl package, if you want to use mib2c or SNMP
|
||||
with perl.
|
||||
Install the net-snmp-perl package, if you want to use mib2c or other
|
||||
perl utilities. Use the net-snmp-perl-module package instead to get the
|
||||
SNMP perl module.
|
||||
|
||||
%package gui
|
||||
Summary: An interactive graphical MIB browser for SNMP
|
||||
Requires: perl-Tk, net-snmp-perl%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Requires: perl-Tk, %{name}-perl-module%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
|
||||
%description gui
|
||||
The net-snmp-gui package contains tkmib utility, which is a graphical user
|
||||
@ -173,7 +191,6 @@ binaries and applications.
|
||||
%package agent-libs
|
||||
Summary: The NET-SNMP runtime agent libraries
|
||||
# the libs link against libperl.so:
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description agent-libs
|
||||
@ -199,33 +216,36 @@ Net-SNMP toolkit library.
|
||||
cp %{SOURCE10} .
|
||||
|
||||
%ifnarch ia64
|
||||
%patch1 -p1 -b .pie
|
||||
%patch 1 -p1 -b .pie
|
||||
%endif
|
||||
|
||||
%patch2 -p1 -b .dir-fix
|
||||
%patch3 -p1 -b .multilib
|
||||
%patch4 -p1
|
||||
%patch5 -p1 -b .cert-path
|
||||
%patch6 -p1 -b .cflags
|
||||
%patch7 -p1 -b .u64-remove
|
||||
%patch8 -p1 -b .iterator-fix
|
||||
%patch9 -p1 -b .autofs-skip
|
||||
%patch10 -p1 -b .coverity
|
||||
%patch11 -p1 -b .expand-SNMPCONFPATH
|
||||
%patch12 -p1 -b .duplicate-ipAddress
|
||||
%patch13 -p1 -b .memory-reporting
|
||||
%patch14 -p1 -b .man-page
|
||||
%patch15 -p1 -b .ipAddress-faster-load
|
||||
%patch16 -p1 -b .rpm-memory-leak
|
||||
%patch17 -p1 -b .aes-config
|
||||
%patch18 -p1 -b .clientaddr-error-message
|
||||
%patch19 -p1 -b .intermediate-certs
|
||||
%patch20 -p1 -b .remove-des
|
||||
%patch21 -p1 -b .autoconf
|
||||
%patch22 -p1
|
||||
%patch 2 -p1 -b .dir-fix
|
||||
%patch 3 -p1 -b .multilib
|
||||
%patch 4 -p1
|
||||
%patch 5 -p1 -b .cert-path
|
||||
%patch 6 -p1 -b .cflags
|
||||
%patch 7 -p1 -b .u64-remove
|
||||
%patch 8 -p1 -b .iterator-fix
|
||||
%patch 9 -p1 -b .autofs-skip
|
||||
%patch 10 -p1 -b .coverity
|
||||
%patch 11 -p1 -b .expand-SNMPCONFPATH
|
||||
%patch 12 -p1 -b .duplicate-ipAddress
|
||||
%patch 13 -p1 -b .memory-reporting
|
||||
%patch 14 -p1 -b .man-page
|
||||
%patch 15 -p1 -b .ipAddress-faster-load
|
||||
%patch 16 -p1 -b .rpm-memory-leak
|
||||
%patch 17 -p1 -b .aes-config
|
||||
%patch 18 -p1 -b .clientaddr-error-message
|
||||
%patch 19 -p1 -b .intermediate-certs
|
||||
%patch 20 -p1 -b .remove-des
|
||||
%patch 21 -p1
|
||||
%patch 22 -p1 -b .ipv6-disable-leak
|
||||
%patch 23 -p1 -b .rpmdbpatch
|
||||
%patch 24 -p1
|
||||
%patch 25 -p1 -b .kernel-6.7
|
||||
|
||||
%patch101 -p1 -b .modern-rpm-api
|
||||
%patch102 -p1
|
||||
%patch 101 -p1 -b .modern-rpm-api
|
||||
%patch 102 -p1
|
||||
|
||||
# disable failing test - see https://bugzilla.redhat.com/show_bug.cgi?id=680697
|
||||
rm testing/fulltests/default/T200*
|
||||
@ -337,6 +357,7 @@ rm -f %{buildroot}/%{_mandir}/man1/fixproc*
|
||||
rm -f %{buildroot}/%{_bindir}/ipf-mod.pl
|
||||
rm -f %{buildroot}/%{_libdir}/*.la
|
||||
rm -f %{buildroot}/%{_libdir}/libsnmp*
|
||||
rm -f %{buildroot}/%{_libdir}/perl5/vendor_perl/Bundle/MakefileSubs.pm
|
||||
|
||||
# remove special perl files
|
||||
find %{buildroot} -name perllocal.pod \
|
||||
@ -446,6 +467,12 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
|
||||
%attr(0755,root,root) %{_bindir}/net-snmp-config*
|
||||
%attr(0644,root,root) %{_mandir}/man1/net-snmp-config*.1.*
|
||||
|
||||
%files perl-module
|
||||
%attr(0644,root,root) %{_mandir}/man3/*.3pm.*
|
||||
%{perl_vendorarch}/*SNMP*
|
||||
%{perl_vendorarch}/auto/*SNMP*
|
||||
%{perl_vendorarch}/auto/Bundle/*SNMP*
|
||||
|
||||
%files perl
|
||||
%{_bindir}/mib2c-update
|
||||
%{_bindir}/mib2c
|
||||
@ -457,13 +484,8 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
|
||||
%{_datadir}/snmp/*.pl
|
||||
%{_bindir}/traptoemail
|
||||
%attr(0644,root,root) %{_mandir}/man[15]/mib2c*
|
||||
%attr(0644,root,root) %{_mandir}/man3/*.3pm.*
|
||||
%attr(0644,root,root) %{_mandir}/man1/traptoemail*.1*
|
||||
%attr(0644,root,root) %{_mandir}/man1/snmp-bridge-mib.1*
|
||||
%{perl_vendorarch}/*SNMP*
|
||||
%{perl_vendorarch}/auto/*SNMP*
|
||||
%{perl_vendorarch}/auto/Bundle/*SNMP*
|
||||
%{perl_vendorarch}/Bundle/MakefileSubs.pm
|
||||
|
||||
%files -n python3-net-snmp
|
||||
%doc README
|
||||
@ -491,6 +513,56 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
|
||||
%{_libdir}/libnetsnmptrapd*.so.%{soname}*
|
||||
|
||||
%changelog
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.9.4-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Wed Jun 12 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.9.4-7
|
||||
- Perl 5.40 rebuild
|
||||
|
||||
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1:5.9.4-6
|
||||
- Rebuilt for Python 3.13
|
||||
|
||||
* Tue Mar 12 2024 Josef Ridky <jridky@redhat.com> - 1:5.9.4-5
|
||||
- Fix parsing issue for kernel 6.7+ (#2266893)
|
||||
|
||||
* Fri Feb 16 2024 Josef Ridky <jridky@redhat.com> - 1:5.9.4-4
|
||||
- Autoconf upgrade (#2256768)
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.9.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.9.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Aug 16 2023 Josef Ridky <jridky@redhat.com> - 1:5.9.4-1
|
||||
- New upstream release 5.9.4 (#2184202)
|
||||
|
||||
* Mon Aug 14 2023 Josef Ridky <jridky@redhat.com> - 1:5.9.3-8
|
||||
- Fix warning for RPM DB
|
||||
- split perl module into separate package that doesn't pull in gcc and
|
||||
other build dependencies (thanks Chris Adams)
|
||||
- don't install MakefileSubs.pm - it's just needed at module build time
|
||||
(thanks Chris Adams)
|
||||
|
||||
* Tue Aug 01 2023 Josef Ridky <jridky@redhat.com> - 1:5.9.3-7
|
||||
- Sync fixes with RHEL
|
||||
- Fix sendmesg error code change for new kernel
|
||||
|
||||
* Wed Jul 19 2023 Josef Ridky <jridky@redhat.com> - 1:5.9.3-6
|
||||
- Migrate to SPDX license format
|
||||
|
||||
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.9.3-5
|
||||
- Perl 5.38 rebuild
|
||||
|
||||
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1:5.9.3-4
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Fri May 19 2023 Petr Pisar <ppisar@redhat.com> - 1:5.9.3-3
|
||||
- Rebuild against rpm-4.19 (https://fedoraproject.org/wiki/Changes/RPM-4.19)
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.9.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Aug 04 2022 Josef Ridky <jridky@redhat.com> - 1:5.9.3-1
|
||||
- New upstream release 5.9.3 (#2072230)
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (net-snmp-5.9.3.tar.gz) = a476df4967029a2eb03d27b0e250170785d0a8c143d49b900ee958c3cbdfaccd415b70af40f6fbed9cb8819d522c35a6073a431091d908ccc7c018fa0aaa2abc
|
||||
SHA512 (net-snmp-5.9.4.tar.gz) = a510fa91a21e9ddc86a12fd1d0bc6b356e63f3ea53f184d2e31439004d41d902390664134dc40b3b828eabb4282eaf3da628a07c4d480fa00eff7e700950c423
|
||||
|
Loading…
Reference in New Issue
Block a user