public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/net-snmp] rawhide: Fix undefined symbols in libnetsnmptrapd
@ 2026-11-11 6:32 Josef Ridky
0 siblings, 0 replies; only message in thread
From: Josef Ridky @ 2026-11-11 6:32 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/net-snmp
Branch : rawhide
Commit : a23f3491a0fbe997ff5431d8de7515257ac4d8ba
Author : Josef Ridky <jridky@redhat.com>
Date : 2026-11-11T07:32:24+01:00
Stats : +24/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/net-snmp/c/a23f3491a0fbe997ff5431d8de7515257ac4d8ba?branch=rawhide
Log:
Fix undefined symbols in libnetsnmptrapd
Signed-off-by: Josef Ridky <jridky@redhat.com>
---
diff --git a/net-snmp-5.9-trap-needs-agent.patch b/net-snmp-5.9-trap-needs-agent.patch
new file mode 100644
index 0000000..cc04bbe
--- /dev/null
+++ b/net-snmp-5.9-trap-needs-agent.patch
@@ -0,0 +1,18 @@
+Description: Add libnetsnmpaget link to libnetsnmptrapd
+ Causes a linking issue otherwise
+Author: Craig Small <csmall@debian.org>
+Reviewed-by: Craig Small <csmall@debian.org>
+Last-Update: 2023-08-19
+---
+--- a/apps/Makefile.in
++++ b/apps/Makefile.in
+@@ -237,7 +237,7 @@
+ $(LINK) ${CFLAGS} -o $@ snmppcap.$(OSUFFIX) ${LDFLAGS} ${USEAGENTLIBS} ${LIBS} -lpcap
+
+ libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION): $(LLIBTRAPD_OBJS)
+- $(LIB_LD_CMD) $@ ${LLIBTRAPD_OBJS} $(MIBLIB) $(MYSQL_LIBS) $(USELIBS) $(PERLLDOPTS_FOR_LIBS) $(LDFLAGS)
++ $(LIB_LD_CMD) $@ ${LLIBTRAPD_OBJS} $(MIBLIB) $(MYSQL_LIBS) $(USELIBS) $(USEAGENTLIBS) $(PERLLDOPTS_FOR_LIBS) $(LDFLAGS)
+ $(RANLIB) $@
+
+ snmpinforminstall:
+
diff --git a/net-snmp.spec b/net-snmp.spec
index 298d2ba..c62b86a 100644
--- a/net-snmp.spec
+++ b/net-snmp.spec
@@ -10,7 +10,7 @@
Summary: A collection of SNMP protocol tools and libraries
Name: net-snmp
Version: 5.9.5.2
-Release: 11%{?dist}
+Release: 12%{?dist}
Epoch: 1
License: MIT-CMU AND BSD-3-Clause AND MIT
@@ -48,6 +48,7 @@ Patch21: net-snmp-libs-misunderstanding.patch
Patch22: net-snmp-5.9-ipv6-disable-leak.patch
Patch26: net-snmp-5.9.4-tls.patch
Patch27: net-snmp-5.9.4-revert-n-snmptrapd-log.patch
+Patch28: net-snmp-5.9-trap-needs-agent.patch
# Modern RPM API means at least EL6
Patch101: net-snmp-5.8-modern-rpm-api.patch
@@ -240,6 +241,7 @@ cp %{SOURCE10} .
%patch 22 -p1 -b .ipv6-disable-leak
%patch 26 -p1 -b .tls
%patch 27 -p1 -b .revert-n-snmptrapd-log
+%patch 28 -p1 -b .trap-needs-agent
%patch 101 -p1 -b .modern-rpm-api
%patch 102 -p1
@@ -516,6 +518,9 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
%{_libdir}/libnetsnmptrapd*.so.%{soname}*
%changelog
+* Wed Nov 11 2026 Josef Ridky <jridky@redhat.com> - 1:5.9.5.2-12
+- fix undefined symbols in libnetsnmptrapd
+
* Thu Nov 05 2026 Miro Hrončok <miro@hroncok.cz> - 1:5.9.5.2-11
- Convert to pyproject RPM macros (rhbz#2378557)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-11 6:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11 6:32 [rpms/net-snmp] rawhide: Fix undefined symbols in libnetsnmptrapd Josef Ridky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox