public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Josef Ridky <jridky@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/net-snmp] rawhide: Fix undefined symbols in libnetsnmptrapd
Date: Wed, 11 Nov 2026 06:32:37 GMT [thread overview]
Message-ID: <179437875704.1.8285303944339882378.rpms-net-snmp-a23f3491a0fb@fedoraproject.org> (raw)
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)
reply other threads:[~2026-11-11 6:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179437875704.1.8285303944339882378.rpms-net-snmp-a23f3491a0fb@fedoraproject.org \
--to=jridky@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox