From: Lars Pedersen <lapeddk@gmail.com>
To: ptxdist@pengutronix.de
Cc: Lars Pedersen <lapeddk@gmail.com>
Subject: [ptxdist] [PATCH] net-snmp: Version bump 5.9.1 -> 5.9.4
Date: Fri, 19 Jul 2024 10:00:21 +0200 [thread overview]
Message-ID: <20240719080021.759064-1-lapeddk@gmail.com> (raw)
* Removed sysroot patch. Now seems to work fine without it
* Enabled parallel building, since --disable-minimalist is set
>From net-snmp project ci/build.sh file:
Net-SNMP uses static dependencies, the Makefile.depend files have
been generated for MODE=regular, net-snmp-features.h includes
<net-snmp/library/features.h> in minimalist mode and that file is
generated dynamically and is not in Makefile.depend. Hence disable
parallel compilation for minimalist mode.
Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
...-net-snmp-config-add-SYSROOT-support.patch | 52 -------------------
patches/net-snmp-5.9.1/series | 5 --
...-and-tcp-when-disable-agentx-dom-so.patch} | 0
.../autogen.sh | 0
patches/net-snmp-5.9.4/series | 4 ++
rules/net-snmp.make | 6 +--
6 files changed, 6 insertions(+), 61 deletions(-)
delete mode 100644 patches/net-snmp-5.9.1/0001-net-snmp-config-add-SYSROOT-support.patch
delete mode 100644 patches/net-snmp-5.9.1/series
rename patches/{net-snmp-5.9.1/0002-Don-t-disable-udp-and-tcp-when-disable-agentx-dom-so.patch => net-snmp-5.9.4/0001-Don-t-disable-udp-and-tcp-when-disable-agentx-dom-so.patch} (100%)
rename patches/{net-snmp-5.9.1 => net-snmp-5.9.4}/autogen.sh (100%)
create mode 100644 patches/net-snmp-5.9.4/series
diff --git a/patches/net-snmp-5.9.1/0001-net-snmp-config-add-SYSROOT-support.patch b/patches/net-snmp-5.9.1/0001-net-snmp-config-add-SYSROOT-support.patch
deleted file mode 100644
index 8995a6ea2..000000000
--- a/patches/net-snmp-5.9.1/0001-net-snmp-config-add-SYSROOT-support.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From: Marc Kleine-Budde <mkl@pengutronix.de>
-Date: Sun, 10 Jan 2010 00:33:45 +0100
-Subject: [PATCH] net-snmp-config; add SYSROOT support
-
-Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-
-Adapted to 5.6.1
-
-Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
-
-Adapted to 5.7.2
-
-Signed-off-by: Alexander Dahl <post@lespocky.de>
----
- net-snmp-config.in | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/net-snmp-config.in b/net-snmp-config.in
-index 6b5abf8f838a..366d648dfb19 100644
---- a/net-snmp-config.in
-+++ b/net-snmp-config.in
-@@ -57,7 +57,7 @@ NSC_LAGENTLIBS="@LAGENTLIBS@ @PERLLDOPTS_FOR_APPS@"
- NSC_LMIBLIBS="@LMIBLIBS@"
-
- NSC_INCLUDEDIR=${includedir}
--NSC_LIBDIR=-L${libdir}
-+NSC_LIBDIR=-L${SYSROOT}${libdir}
-
- NSC_SNMPLIBS="-lnetsnmp ${NSC_LNETSNMPLIBS}"
- NSC_SUBAGENTLIBS="-lnetsnmpagent ${NSC_LAGENTLIBS} ${NSC_SNMPLIBS}"
-@@ -143,10 +143,10 @@ else
- ;;
- #################################################### compile
- --base-cflags)
-- echo @CFLAGS@ @CPPFLAGS@ -I${NSC_INCLUDEDIR}
-+ echo @CFLAGS@ @CPPFLAGS@ -I${SYSROOT}${NSC_INCLUDEDIR}
- ;;
- --cflags|--cf*)
-- echo @CFLAGS@ @DEVFLAGS@ @CPPFLAGS@ -I. -I${NSC_INCLUDEDIR}
-+ echo @CFLAGS@ @DEVFLAGS@ @CPPFLAGS@ -I. -I${SYSROOT}${NSC_INCLUDEDIR}
- ;;
- --srcdir)
- echo $NSC_SRCDIR
-@@ -660,7 +660,7 @@ EOF
- echo "Ack. Can't create $tmpfile."
- exit 1
- fi
-- cmd="@CC@ $cflags @CFLAGS@ @DEVFLAGS@ -I. -I${NSC_INCLUDEDIR} -o $outname $tmpfile $cfiles $NSC_LDFLAGS $NSC_LIBDIR $NSC_BASE_AGENT_LIBS $NSC_AGENTLIBS $ldflags"
-+ cmd="@CC@ $cflags @CFLAGS@ @DEVFLAGS@ -I. -I${SYSROOT}${NSC_INCLUDEDIR} -o $outname $tmpfile $cfiles $NSC_LDFLAGS $NSC_LIBDIR $NSC_BASE_AGENT_LIBS $NSC_AGENTLIBS $ldflags"
- echo "running: $cmd"
- echo `$cmd`
- result=$?
diff --git a/patches/net-snmp-5.9.1/series b/patches/net-snmp-5.9.1/series
deleted file mode 100644
index 1596362e4..000000000
--- a/patches/net-snmp-5.9.1/series
+++ /dev/null
@@ -1,5 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-net-snmp-config-add-SYSROOT-support.patch
-0002-Don-t-disable-udp-and-tcp-when-disable-agentx-dom-so.patch
-# 97810382623b86e69e492f3a5712bcf4 - git-ptx-patches magic
diff --git a/patches/net-snmp-5.9.1/0002-Don-t-disable-udp-and-tcp-when-disable-agentx-dom-so.patch b/patches/net-snmp-5.9.4/0001-Don-t-disable-udp-and-tcp-when-disable-agentx-dom-so.patch
similarity index 100%
rename from patches/net-snmp-5.9.1/0002-Don-t-disable-udp-and-tcp-when-disable-agentx-dom-so.patch
rename to patches/net-snmp-5.9.4/0001-Don-t-disable-udp-and-tcp-when-disable-agentx-dom-so.patch
diff --git a/patches/net-snmp-5.9.1/autogen.sh b/patches/net-snmp-5.9.4/autogen.sh
similarity index 100%
rename from patches/net-snmp-5.9.1/autogen.sh
rename to patches/net-snmp-5.9.4/autogen.sh
diff --git a/patches/net-snmp-5.9.4/series b/patches/net-snmp-5.9.4/series
new file mode 100644
index 000000000..50f3e9b73
--- /dev/null
+++ b/patches/net-snmp-5.9.4/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-Don-t-disable-udp-and-tcp-when-disable-agentx-dom-so.patch
+# b1db2da68fc49d98e70f533e3bf34909 - git-ptx-patches magic
diff --git a/rules/net-snmp.make b/rules/net-snmp.make
index 5c5463a56..e8b309f4c 100644
--- a/rules/net-snmp.make
+++ b/rules/net-snmp.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_NET_SNMP) += net-snmp
#
# Paths and names
#
-NET_SNMP_VERSION := 5.9.1
-NET_SNMP_MD5 := e5ee202dfb15000342354d64f1837d19
+NET_SNMP_VERSION := 5.9.4
+NET_SNMP_MD5 := 395f7988f1ee4fd9b61eebbbb0961245
NET_SNMP := net-snmp-$(NET_SNMP_VERSION)
NET_SNMP_SUFFIX := tar.gz
NET_SNMP_URL := $(call ptx/mirror, SF, net-snmp/$(NET_SNMP).$(NET_SNMP_SUFFIX))
@@ -115,8 +115,6 @@ NET_SNMP_CONF_OPT := \
--without-bzip2 \
--without-mysql
-NET_SNMP_MAKE_PAR := NO
-
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
--
2.45.2
next reply other threads:[~2024-07-19 8:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-19 8:00 Lars Pedersen [this message]
2024-08-05 6:49 ` [ptxdist] [APPLIED] " Michael Olbrich
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=20240719080021.759064-1-lapeddk@gmail.com \
--to=lapeddk@gmail.com \
--cc=ptxdist@pengutronix.de \
/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