From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 19 Jul 2024 10:00:57 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sUiXx-000luX-2C for lore@lore.pengutronix.de; Fri, 19 Jul 2024 10:00:57 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sUiXx-0002EB-6N; Fri, 19 Jul 2024 10:00:57 +0200 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1sUiXY-0002DI-16 for ptxdist@pengutronix.de; Fri, 19 Jul 2024 10:00:34 +0200 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-5a309d1a788so400171a12.3 for ; Fri, 19 Jul 2024 01:00:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721376031; x=1721980831; darn=pengutronix.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=H6ZEH229QAwPvqmAz5oM7DNIjk0AIL+fUV/k4L8ZSaw=; b=mogQQv4cs4PDCSvRJxBxlZoWMqINrTLAT5tbj9W5ScperLXtPaoKMgmHk8sl0dtEie jGk3IXeHIyqYA4321ofJ8zruosHEkkFRYFL9a84n+BhNRDFu3sVhF7zNrUiiy5Oaevj+ gNMVnxdoYITgoOR+ko8fxJCfsr1sa0mRy5ciEfJSGOPgGkMsXFu7TQOsTe8XRPJC90uF GfhZCUDkx51Hqv4+zw3JIo8obmAIyKMyzoGPC/4zU66bGxxZqXqIExjZqJQQLyOyK+EG Knf/qkBS56hhQCSQaUfT+EC+CnCCYnjGzW/q+jHBoeDp/9Fr48c1qxujPslMmOkM/fmW lczQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721376031; x=1721980831; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=H6ZEH229QAwPvqmAz5oM7DNIjk0AIL+fUV/k4L8ZSaw=; b=WWytGK1syC9nCa0FHZNAqP7kLRn+V5cSOFoFsJ4rDhlJhiLxvSaj8NKpRz9GpmnGpJ E9ihPNSVea4JyCC6P++lnWj5GnSfU3F82r5SxUphARNkXsYpmSj8B7rq1yH0RnaQaruZ yzkY9tamctcZQaGbT4k5xxObcmgcNBqiqi9XzeV+odVyUswcZiWLWNe4i5cT8dKOBYvt Dnaj4FEQZV2CU+APv22a4smAqBRFmbYI9IOhvR1m/DIOhdyYkoqakZGQ19Ea/OMk3o65 SYuVZ8GqyEcKOqnUDB2dyNXuUbUc4PU/vt92UM6tB6a8pQuTtzpS0H1YdY4gTOsdTOCi a6qg== X-Gm-Message-State: AOJu0YyUOgODaSBQISiem+7hDw647X2Y1QabDdDdSDh3s9OFyTD4kf/U WuCvQ5fIjyVpzG4eBdodBBAbkUq0UQye7mlVL9YMJGlxeHJW6WHD8wQWCw== X-Google-Smtp-Source: AGHT+IHID71mbPV6NbDw6MOQY24i9Z1E9vo3tkwVVyXM8jNJRqyIu/MVeXXSlewLEl6/SGf72HzQKQ== X-Received: by 2002:a50:9e45:0:b0:5a1:6c50:a35 with SMTP id 4fb4d7f45d1cf-5a16c500ad6mr2637218a12.37.1721376030737; Fri, 19 Jul 2024 01:00:30 -0700 (PDT) Received: from laped.omnia.test ([185.181.22.18]) by smtp.googlemail.com with ESMTPSA id 4fb4d7f45d1cf-5a30af82d2csm731961a12.41.2024.07.19.01.00.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jul 2024 01:00:30 -0700 (PDT) From: Lars Pedersen To: ptxdist@pengutronix.de Date: Fri, 19 Jul 2024 10:00:21 +0200 Message-ID: <20240719080021.759064-1-lapeddk@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH] net-snmp: Version bump 5.9.1 -> 5.9.4 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Lars Pedersen Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false * 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 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 --- ...-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 -Date: Sun, 10 Jan 2010 00:33:45 +0100 -Subject: [PATCH] net-snmp-config; add SYSROOT support - -Signed-off-by: Marc Kleine-Budde - -Adapted to 5.6.1 - -Signed-off-by: Wolfram Sang - -Adapted to 5.7.2 - -Signed-off-by: Alexander Dahl ---- - 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