From patchwork Thu Sep 11 11:22:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 70022 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F75DCA1016 for ; Thu, 11 Sep 2025 11:22:49 +0000 (UTC) Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) by mx.groups.io with SMTP id smtpd.web11.44058.1757589761946893038 for ; Thu, 11 Sep 2025 04:22:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WTXZ2yDH; spf=pass (domain: gmail.com, ip: 209.85.218.52, mailfrom: skandigraun@gmail.com) Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-b0472bd218bso100865966b.1 for ; Thu, 11 Sep 2025 04:22:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1757589760; x=1758194560; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=/PVBxF+qzWcbXKFkF21J/DjbwvuP3w2CIop/fWAjwgs=; b=WTXZ2yDH5XWQuOUWX6DlAdLKjCIZXRque0vRvdE0OMxJoOg53pz0KasIcoG/ZZYWA/ 3Tj3IbuMBAD1No6ej1jRdgMh3ZaUQOU2zFt6I996sbMSZz1CxgdfMtoFkBcQmu/GmUgW Rs+9/2i29LfLn89Zi+/zA3RhMCojjqv4Lx6Y2LSri1iPnHwCNd2Gpf8ZTRmNH5fmcsfg H15Ge910w9kUNoZJHPx5WrKCt6rEQF3vSMRZkbRWR2GS/OuaOAWSOPpDrHw7+gaI52km tWarLVV5G42nXn33rOVtJAzVeMR5hXkEvfrB5Ac6Kjrq4Y9nZnC43TLidnRjS4CamzT6 Ku0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757589760; x=1758194560; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/PVBxF+qzWcbXKFkF21J/DjbwvuP3w2CIop/fWAjwgs=; b=SkPzDQ5btIjP1h3j8OexxRGPZYmBDJpRqTIf5kliu+3EfmSeuak7jlpmVy827dLPXq tnozTEZ1yc8gFmuza+jxgNyEFzSU0MfFx/O3/niJCpPtFkYkTuYxmp4mErFokmEax/t1 PvoPK+CfWOkey/VO1+wb/kMJtDab+AP1jqWCTnLizDKZBlc0ZqUBwCRunEbHTNoyzlBn kBlTAwJJGzQ4RUFKTv6pY33c8JZdsDj511dhJ/TmM1crln/SGD8IjnRlDRC8Id+gv7Tx wxvA1YBdGEdPJUmKlwvjnUd8ftDZYb+ENsoFz376DjeywgK8jH3xCTEyEnAxiNgg6g1v w7Zg== X-Gm-Message-State: AOJu0YyCnAJezlrVj9/rFRSpZLty3jTALZayTwdwcY4kPz//nF55nEJZ UOEyC8v/DDEeOdR9BJyvEz0XCm+j9R0I/1Vxv+0sxYGeQREfgN4IbZQrAbaoqg== X-Gm-Gg: ASbGncu7zrEfo4cKE6cuqkOpalBHs0urd/BhBiRSv+kk2fj0EdYSOiH+x8zCvfvmHPX X2oBmurXlHSIfy7er3PkY41kpmg8uVf1qm3aRiZzpHstuENtEP27l/7ARYSwswzayaTApShheZC vJpFtA14QzytyyUC3rclDCDap0j2YnGmBZ85VNKnpeSY1P5Td7WxxuQfUdpV6bJw7hBEkcetoUd XeCSf29Pn8HrB2gwAPCwBs1z19Q9mrQfSneoHnGurkXQlgbmKlT3Q70FGKK2jeg6zHAupJiXzTz RXSZXPHCLvaLmvr5eIRJOUOWvgdCfOP1r4iOq9LIm1iwWmaYb6rXxvibWfB6rpkHb63EQ1Sm8qn NrshLrpMU6v4aad5ElYU50yDKmaMch4s= X-Google-Smtp-Source: AGHT+IFaEnu0e/IpbsSU0ljpx+TQZ3wzoTrJbZfvPirG3/u58OjP8vmSdjBjhXmiEY8l/mBXVUgkDg== X-Received: by 2002:a17:907:890d:b0:b04:9ad9:5b2c with SMTP id a640c23a62f3a-b04b140d270mr1842267966b.25.1757589760130; Thu, 11 Sep 2025 04:22:40 -0700 (PDT) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b07b31295c9sm114824166b.43.2025.09.11.04.22.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Sep 2025 04:22:39 -0700 (PDT) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-networking][walnascar][PATCH 1/4] pgpool2: upgrade 4.5.1 -> 4.5.2 Date: Thu, 11 Sep 2025 13:22:35 +0200 Message-ID: <20250911112238.3277434-1-skandigraun@gmail.com> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 11 Sep 2025 11:22:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119363 From: Jason Schonberg Fixes for memory leaks, uninitialized memory, segmentation faults and other fixes. Changelog: https://www.pgpool.net/docs/latest/en/html/release-4-5-2.html Signed-off-by: Jason Schonberg Signed-off-by: Khem Raj Signed-off-by: Gyorgy Sarvari --- .../pgpool2/{pgpool2_4.5.1.bb => pgpool2_4.5.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-networking/recipes-support/pgpool2/{pgpool2_4.5.1.bb => pgpool2_4.5.2.bb} (95%) diff --git a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.2.bb similarity index 95% rename from meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb rename to meta-networking/recipes-support/pgpool2/pgpool2_4.5.2.bb index ddcad46beb..0bf45c17ce 100644 --- a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb +++ b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.2.bb @@ -16,7 +16,7 @@ SRC_URI = "http://www.pgpool.net/mediawiki/images/pgpool-II-${PV}.tar.gz \ file://pgpool.sysconfig \ file://pgpool.service \ " -SRC_URI[sha256sum] = "8e14b0558a15dae8767c8e1acee3f2f6c7c08ebfffda66a359367eaaa56c3936" +SRC_URI[sha256sum] = "480ac23f01cd7d6c856b29386bf17a848712fb4b4057d4c8abd5c8bf819bdf06" S = "${WORKDIR}/pgpool-II-${PV}" From patchwork Thu Sep 11 11:22:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 70023 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83DC2CAC58D for ; Thu, 11 Sep 2025 11:22:59 +0000 (UTC) Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) by mx.groups.io with SMTP id smtpd.web10.43994.1757589762563158062 for ; Thu, 11 Sep 2025 04:22:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YY2zgkph; spf=pass (domain: gmail.com, ip: 209.85.218.54, mailfrom: skandigraun@gmail.com) Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-b0473327e70so95836166b.3 for ; Thu, 11 Sep 2025 04:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1757589761; x=1758194561; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=15gyoM3xfopnM5MXN30tpSjcSRpn+fVFLR/fBMvyWQI=; b=YY2zgkph+hFOCKa6CCN3pGH5qSx8Dn7jB+dCI3dk6azTcNVaAaAHU8WMxi/2FulD2G k6qeynjHXa89Fbdjeq9q9Z6wMsbzH8O/KDy/BYDfs1lovaivKbRA9xJ1418I36M2L3Ix 1rf7hN6Fn3vkuDCWp4gyqmxNHIqHIKoOdgXF0EmXtVa0MJCUIegczFCZQW7/KdnRRbdf 77UenkXZlgV+N3RT1BAofbIkgg21Xw/nUvQ4iFqZSEuAbu4j2L7xiUV81pHYVBaR2iNE FXqgq8SosqqVWVVaO8ev3Y3xCIP2qKfVr9RKvcF63vdtOAaX6Gy+Yc4dxVCE7NA+xsec cfog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757589761; x=1758194561; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=15gyoM3xfopnM5MXN30tpSjcSRpn+fVFLR/fBMvyWQI=; b=hO6VEccRUxtp9a1BhoSESLIuluob7fnKAYFCDUngARe5ywzue8PAFmjkcVYmAimDhd kswOY4Qq4t0MK/2/PAr1llbujI7+0aPKwerjn4wrXKVzgRcAJ1k+ngygAiE9iL73kEro OdwbDnPwQHRGG6PsSz/md48RpNVE5q7dOpJkqBemvncGZgW9wusU8Lbh+RGXRyhzc0ph 2SZjp3a91jxF7eLDycM1jGHUwqEq4FFnfVZLmMxgF45be60GDo3vjQi4MuNQHqm6lX9K gcdKuq4Uw/ccC1E0YxYUWbH/dzNul8CDhFcPYv7ekmKdOHSnOjthC4FC2nJUVynL2JoL Nmig== X-Gm-Message-State: AOJu0YwqSFzFp5A+Dsu8w01biFLek5EAvJ6Iq0mel9IOjvo69hdJGnYN oBZYquM8NFGudTsOK7wmfFAqsGfXYyCNIvmkd44rZFrIZQqqcI2pkqmHMKdY+A== X-Gm-Gg: ASbGnctaEhFJg63hvH2mB/Oz3zAvbnwlXpHzfq9sKE+UPVTYfRiZW08HFMhUcSFr9lE VPFcjJz2EP13kUPAoU+w1JdOjfc+H0yIw4pdoisGoNMajrCrJMsgSNCffF2fxc8lmQXxlYV02Yj 6bsZ6sZKLdOQeRTbDDzW67qGFjjT8SMoDJhC9rZtVbxFxVWRG9lQoWcB6vPIAncCb6fdBKA+sN5 6CduwaV+kvdV4dlV2RMMIXDEaj7vEFh62Jo3jrZDgAJgDr6h1VvB/8nbk7flVTV5F+mCKxbdQPy /v5dSj6ztghEnaVQKJBeCAl9b1n/96mSSdgd/eavtFH7C8Wtdj4z4pj5ZGi21vOeb1Bp7idK1KU R5OAf07Tw7o//oAB35YY8xoQOvEo65zk= X-Google-Smtp-Source: AGHT+IHGNT+ZOF/IKIV08+aIeW1DL3wvzzeZcwLGRJKhHnk1jXl+EZHyiFXJtoTblPYT32+sJlTxFg== X-Received: by 2002:a17:907:3f1b:b0:b04:53cc:441c with SMTP id a640c23a62f3a-b04b14aeaa4mr1904276966b.28.1757589760817; Thu, 11 Sep 2025 04:22:40 -0700 (PDT) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b07b31295c9sm114824166b.43.2025.09.11.04.22.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Sep 2025 04:22:40 -0700 (PDT) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-networking][walnascar][PATCH 2/4] pgpool2: upgrade 4.5.2 -> 4.5.3 Date: Thu, 11 Sep 2025 13:22:36 +0200 Message-ID: <20250911112238.3277434-2-skandigraun@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250911112238.3277434-1-skandigraun@gmail.com> References: <20250911112238.3277434-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 11 Sep 2025 11:22:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119364 From: Jason Schonberg Changelog: https://www.pgpool.net/docs/latest/en/html/release-4-5-3.html Signed-off-by: Jason Schonberg Signed-off-by: Khem Raj Signed-off-by: Gyorgy Sarvari --- .../pgpool2/{pgpool2_4.5.2.bb => pgpool2_4.5.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-networking/recipes-support/pgpool2/{pgpool2_4.5.2.bb => pgpool2_4.5.3.bb} (91%) diff --git a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.2.bb b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.3.bb similarity index 91% rename from meta-networking/recipes-support/pgpool2/pgpool2_4.5.2.bb rename to meta-networking/recipes-support/pgpool2/pgpool2_4.5.3.bb index 0bf45c17ce..09d756b289 100644 --- a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.2.bb +++ b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.3.bb @@ -10,13 +10,13 @@ HOMEPAGE = "http://pgpool.net" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=e4b38de086d73e0521de0bbdbaa4a1a9" -SRC_URI = "http://www.pgpool.net/mediawiki/images/pgpool-II-${PV}.tar.gz \ +SRC_URI = "https://www.pgpool.net/mediawiki/images/pgpool-II-${PV}.tar.gz \ file://0001-Fix-build-error-when-build-this-file.patch \ file://define_SIGNAL_ARGS.patch \ file://pgpool.sysconfig \ file://pgpool.service \ " -SRC_URI[sha256sum] = "480ac23f01cd7d6c856b29386bf17a848712fb4b4057d4c8abd5c8bf819bdf06" +SRC_URI[sha256sum] = "25ed340d7b7dc00c20e4ba763d3f9c07ba891b150d9d48af313a1351cafdd778" S = "${WORKDIR}/pgpool-II-${PV}" From patchwork Thu Sep 11 11:22:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 70020 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9CC8CCAC58D for ; Thu, 11 Sep 2025 11:22:49 +0000 (UTC) Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) by mx.groups.io with SMTP id smtpd.web10.43995.1757589763337987868 for ; Thu, 11 Sep 2025 04:22:43 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PgX5ufHz; spf=pass (domain: gmail.com, ip: 209.85.218.44, mailfrom: skandigraun@gmail.com) Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-b04271cfc3eso74859166b.3 for ; Thu, 11 Sep 2025 04:22:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1757589761; x=1758194561; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=174jIO4xTrdbP+5nxTi0bkQabjh2qFyfR+sU0jmM/DM=; b=PgX5ufHz1j91OYkmn8oNzkDhdBwyd3aO+TPHKuUqg13faSNqRsM8yEYn5W1X8wbSmK SXtIRP10Kpo6pmkRJPiqxjxhfAp9Z329xeRX127QgBz6qB/hsB11+eemkckHkJrqJk5X fK8Sa731xdnwwbSJ2b8s31vWNZACmqK6wz5bDpOdkDzh312+SgPwS1VVm8IqlAvCPmMG +gVNVgpMBv1HCTDQnE9NbZtJWUfVpdBRydFH4ekX8mlvfNbq365dI2mS/NluhoJx5DkV qkLDfGW7kIhNjHrpd53ssbcsC0f3fF1QP5fJTfi+l5RGYfRj5T/M3EHDnsR77EF2x2aM 54WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757589761; x=1758194561; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=174jIO4xTrdbP+5nxTi0bkQabjh2qFyfR+sU0jmM/DM=; b=gOnhgjjYl58EG/mwP8HZEuswzCkn0F2S1wqfhgHT3lqlZch1eChUMKM94bIDM5w9D1 5djaXs8xWgVcrAC0enWL+7Jg+e/jn7KRoOId2pnscZBJSGDQI7mHu7SyNeFDZAgchyJZ PZYMromoFBzNq83T/DIfjIeLBQjtZcjy8DtO6CgL1E9gkOjb1rihUb5OAh3ndHnkP1g8 XDul/GUXBotDy+SvmQmvXBt6snL8x56E1P/eNpCLFh/s90wG7Q9MUSzNUairg1a3ykvI y9xrGPvWa44TjcnVCqD5X95imRYMonhkoEHiYpMXcVFdecev4ZWx2cZLPJn4qwqh2A4X KtKw== X-Gm-Message-State: AOJu0YxNZlqi1b2zlLMWchqPEvZ8KZ+Zxw68G+sJgThaB6yBD+KsVGeJ gzTEISeu85k6LZH9qLpqgJWXEY+mOyF3fnRv6ioj1HSmWsRVkeD3wINroDXWMA== X-Gm-Gg: ASbGncubdyRXn5v3q+KywTmDwt28ftQmcB4cHLsH+oGl0ElXwZJs7v4fK9k+hHE58pq RCOpKuWWoO2XDBOHAsqPref571jR8Yl8xNuQ94hW0RSUSPx78P73349I2A91LXzvA3b5wuKLShQ TGQ9kXFY9tnrFwy2p46yNdUIWGmAs9UtvKz4JKuv0feDs5PD8f7dUOvjgOwVSfSTMQrwzhORPdi w7oAgpvbPcl9SU21SMvN7OHzA0PQ33DaBnzoGZbbnWKJ8QCN9LoG0RClJPY+E2gg+pfrYMlvGdK iq2Wc5fuqFjgRmlC51VS0ZUMrwPoWGvqkJ9J19AQeiTYifROm8wEoC6SbVIHp4jdVFxqNAf2NrR 9ZPL2W7+yRv4AMB73dvt6OaAoXRkamwM= X-Google-Smtp-Source: AGHT+IEg+qPovbdy5MUO02nwMlw9Ht907GRCq6SWXQZqwZstZCg8UkrO81PRAM2DBvl1nv0FVatqsw== X-Received: by 2002:a17:907:3cd4:b0:b04:3e43:eccc with SMTP id a640c23a62f3a-b04b1687dcfmr1992619766b.40.1757589761487; Thu, 11 Sep 2025 04:22:41 -0700 (PDT) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b07b31295c9sm114824166b.43.2025.09.11.04.22.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Sep 2025 04:22:41 -0700 (PDT) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-networking][walnascar][PATCH 3/4] pgpool2: upgrade 4.5.3 -> 4.5.4 Date: Thu, 11 Sep 2025 13:22:37 +0200 Message-ID: <20250911112238.3277434-3-skandigraun@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250911112238.3277434-1-skandigraun@gmail.com> References: <20250911112238.3277434-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 11 Sep 2025 11:22:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119365 From: Jason Schonberg This version brings a fix for CVE-2024-45624 Changlog: https://www.pgpool.net/docs/latest/en/html/release-4-5-4.html Signed-off-by: Jason Schonberg Signed-off-by: Khem Raj Signed-off-by: Gyorgy Sarvari --- .../pgpool2/{pgpool2_4.5.3.bb => pgpool2_4.5.4.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-networking/recipes-support/pgpool2/{pgpool2_4.5.3.bb => pgpool2_4.5.4.bb} (95%) diff --git a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.3.bb b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.4.bb similarity index 95% rename from meta-networking/recipes-support/pgpool2/pgpool2_4.5.3.bb rename to meta-networking/recipes-support/pgpool2/pgpool2_4.5.4.bb index 09d756b289..d3bfd4ba79 100644 --- a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.3.bb +++ b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.4.bb @@ -16,7 +16,7 @@ SRC_URI = "https://www.pgpool.net/mediawiki/images/pgpool-II-${PV}.tar.gz \ file://pgpool.sysconfig \ file://pgpool.service \ " -SRC_URI[sha256sum] = "25ed340d7b7dc00c20e4ba763d3f9c07ba891b150d9d48af313a1351cafdd778" +SRC_URI[sha256sum] = "d1392e74ce2807f8ae628872cb1ab7914249921180dc99df40a1d602647a10fd" S = "${WORKDIR}/pgpool-II-${PV}" From patchwork Thu Sep 11 11:22:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 70021 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E20CCAC58E for ; Thu, 11 Sep 2025 11:22:49 +0000 (UTC) Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) by mx.groups.io with SMTP id smtpd.web11.44059.1757589764090573836 for ; Thu, 11 Sep 2025 04:22:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=K1lnAY6p; spf=pass (domain: gmail.com, ip: 209.85.218.44, mailfrom: skandigraun@gmail.com) Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-b03fa5c5a89so73390366b.2 for ; Thu, 11 Sep 2025 04:22:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1757589762; x=1758194562; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=rlcbNz8EoUMM1kNECb34TNPBimTFyOH16W8VM1Jot94=; b=K1lnAY6pSmFUj27UW+z6Nmpf0Jr3N0AFJGrb1QReawaCZAxFlBE5Uiq+BuzYIf+UHi 0b1ns0ne4zNwFzzCy+aXSA/CD/DVZTz2n0+5Vrps4iD5prb9ljdQ/x6+IEBzppiDDAsp EMKh2tXhxykVpKsHhA3FDs4GzEzZzpLz/1f+ftV7BUXBO21GFZljXJGkcK/R5J+hzwoc s16P5P8tKqfZnxMHs4IouwH0XvIIKvyNd7yILyKESFffn3moYxu5uPVclXCW+GlhyK4N blNaPo++F4I+xLLQW2utS8xLMbO9Wn+cwQ0MVrZg8VgncpDqgnz1GdTLojq81BAEyNHD MsCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757589762; x=1758194562; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rlcbNz8EoUMM1kNECb34TNPBimTFyOH16W8VM1Jot94=; b=vwPFXC+3nnHs1FfSCmvtVZRVlE8u2abibMi7SmsoLNerOVnOLpiy3GVXhzrEpRZYQF Qd++KrIBuo5YQNIxw7W8yW9o7oECe2NrJ1FfqyJdA2v0QLy/m4Gvo8l/GsDfFQElmM6e UDR5VeA7iMCUepeghpcd9PEP7zkKudtVOIat6fPtQ+5ChUIDVtYm4R205oVuSKXwl4ce 07O9ngV0YdlVXTzxISsxW+nTbi3PYcv2fFueKhzt4T1E6YS+lt/WzqftwtnH4/svXp4U orQFhyJyvKIhMQoOjGbKvqLC+9hC7R6vxr2UEUaIDm47DS9vrGz1zRSAA2oPjmHl2lpC iJlg== X-Gm-Message-State: AOJu0Ywn2TSykYajhGYZ/pD8KoAx9v7HeOdEsGDjJhSZIF4KEsCsoMK7 SY0SdtAbuiBHkCzuQ8BZR3fKWJsJUVFsXE6tdnCrOatSLhJ8X/KDgRKsJded9Q== X-Gm-Gg: ASbGncuP5l4UbaKCEt/vSyYd2Tf3i9cNId9qWKuTl/GrvzO14d3POeNXvBDhnC0/SaF sGE6D6V8wL/GlFkW6Uw7sfkVqH305j/msecyZEYuc8/0DPe8Cz57sNQdnJlQnPsnJ51W5Y9V514 usTnwqeFKJvXvXiZm6tDBT+0Xyi0Y7kOA3fIjoDBLmwNofTSHp7E5TVMCHAM+xmFuqsPwf9f25K NN7ahEUJdHuLbKKgvjGKbi1nIBFBWqlf0h8Pky24Of4Nr2qbUSwKM4aMqg2DOyZlG9mtAeq0A9J zI7glSSCjtTQh6wseylS9qQMEE+Q2tE/t3iGNcQk9FqMkA8Dy8+4Dm5sfFCFGRCxEwjWwtasEpG Hqgq5l9asNGBHjHF56vry X-Google-Smtp-Source: AGHT+IG8V1LR78wCz5mf9vVW3T4QpWgcgWGcLlIyoQNIKZ75ltJ46457MH7Kq0rtFgf0H1IlVqjWaw== X-Received: by 2002:a17:906:7954:b0:af9:c119:3b4 with SMTP id a640c23a62f3a-b04b13fe1aemr1855571366b.13.1757589762160; Thu, 11 Sep 2025 04:22:42 -0700 (PDT) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b07b31295c9sm114824166b.43.2025.09.11.04.22.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Sep 2025 04:22:41 -0700 (PDT) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-networking][walnascar][PATCH 4/4] pgpool2: fix compiling for 32-bit arches Date: Thu, 11 Sep 2025 13:22:38 +0200 Message-ID: <20250911112238.3277434-4-skandigraun@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250911112238.3277434-1-skandigraun@gmail.com> References: <20250911112238.3277434-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 11 Sep 2025 11:22:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119366 When compiling for 32-bit targets, two issues came to surface: 1. gcc was complaining that math.h is not included in snprintf, and some calls were implicitly defined. Added a patch that includes the required headers in snprintf.c file: | snprintf.c: In function 'fmtfloat': | snprintf.c:1232:13: error: implicit declaration of function 'isnan' [-Wimplicit-function-declaration] | 1232 | if (isnan(value)) | | ^~~~~ | snprintf.c:50:1: note: include '' or provide a declaration of 'isnan' 2. The code passes a time_t argument to a function that expects a long. This works for 64-bit targets, because on those usually time_t is long. However on 32-bit systems time_t is usually long long, which makes compilation fail with the following error: | wd_json_data.c:540:66: error: passing argument 3 of 'json_get_long_value_for_key' from incompatible pointer type [-Wincompatible-pointer-types] | 540 | if (json_get_long_value_for_key(root, "StartupTimeSecs", &wdNode->startup_time.tv_sec)) | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ To account for this, add a new helper method in a patch that returns the required json value as a time_t value. The patches are in pending state, because the mailing list of the project is sufferring from technical problems - when the site loads, sign up attempts throw internal server errors. It is planned to submit the patches and to update the status once their infrastructure is back. Signed-off-by: Gyorgy Sarvari --- ...0001-fix-compiling-on-32-bit-systems.patch | 83 +++++++++++++++++++ ...h.h-to-ensure-isnan-and-isinf-are-de.patch | 40 +++++++++ .../recipes-support/pgpool2/pgpool2_4.5.4.bb | 2 + 3 files changed, 125 insertions(+) create mode 100644 meta-networking/recipes-support/pgpool2/pgpool2/0001-fix-compiling-on-32-bit-systems.patch create mode 100644 meta-networking/recipes-support/pgpool2/pgpool2/0001-snprintf-Add-math.h-to-ensure-isnan-and-isinf-are-de.patch diff --git a/meta-networking/recipes-support/pgpool2/pgpool2/0001-fix-compiling-on-32-bit-systems.patch b/meta-networking/recipes-support/pgpool2/pgpool2/0001-fix-compiling-on-32-bit-systems.patch new file mode 100644 index 0000000000..cb6da7b08e --- /dev/null +++ b/meta-networking/recipes-support/pgpool2/pgpool2/0001-fix-compiling-on-32-bit-systems.patch @@ -0,0 +1,83 @@ +From 523ca5546b0178be693943f2a3a880c0bd6ea239 Mon Sep 17 00:00:00 2001 +From: Gyorgy Sarvari +Date: Thu, 11 Sep 2025 12:36:29 +0200 +Subject: [PATCH] fix compiling on 32-bit systems + +The timespec struct's tv_sec size can change between architectures. +Usually on 64 bit systems it's long, but on 32 bit systems it is frequently long long. + +When the watchdog is trying to get the uptime, it is trying to get the value +as long - however on 32 bit systems this fails due to different time_t size: + +| wd_json_data.c:540:66: error: passing argument 3 of 'json_get_long_value_for_key' from incompatible pointer type [-Wincompatible-pointer-types] +| 540 | if (json_get_long_value_for_key(root, "StartupTimeSecs", &wdNode->startup_time.tv_sec)) +| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +To account for this, introduce a new helper function to get a json value as +a time_t type. + +Upstream-Status: Pending [project ML registration is down] + +Signed-off-by: Gyorgy Sarvari +--- + src/include/utils/json.h | 5 +++-- + src/utils/json.c | 14 ++++++++++++++ + src/watchdog/wd_json_data.c | 2 +- + 3 files changed, 18 insertions(+), 3 deletions(-) + +diff --git a/src/include/utils/json.h b/src/include/utils/json.h +index 67cc0255a..93be83c3a 100644 +--- a/src/include/utils/json.h ++++ b/src/include/utils/json.h +@@ -311,10 +311,11 @@ extern "C" + #endif + + /* pgpool-II extensions */ +-json_value *json_get_value_for_key(json_value * source, const char *key); ++json_value *json_get_value_for_key(json_value * source, const char *key); + int json_get_int_value_for_key(json_value * source, const char *key, int *value); + int json_get_long_value_for_key(json_value * source, const char *key, long *value); +-char *json_get_string_value_for_key(json_value * source, const char *key); ++char *json_get_string_value_for_key(json_value * source, const char *key); + int json_get_bool_value_for_key(json_value * source, const char *key, bool *value); ++int json_get_time_value_for_key(json_value * source, const char *key, time_t *value); + + #endif +diff --git a/src/utils/json.c b/src/utils/json.c +index 319c8fdbf..bce99466c 100644 +--- a/src/utils/json.c ++++ b/src/utils/json.c +@@ -1204,6 +1204,20 @@ json_get_long_value_for_key(json_value * source, const char *key, long *value) + return 0; + } + ++int ++json_get_time_value_for_key(json_value * source, const char *key, time_t *value) ++{ ++ json_value *jNode; ++ ++ jNode = json_get_value_for_key(source, key); ++ if (jNode == NULL) ++ return -1; ++ if (jNode->type != json_integer) ++ return -1; ++ *value = jNode->u.integer; ++ return 0; ++} ++ + /* + * pgpool extension: + * returns string value if found for the key. +diff --git a/src/watchdog/wd_json_data.c b/src/watchdog/wd_json_data.c +index 474fc37a4..53053cd4b 100644 +--- a/src/watchdog/wd_json_data.c ++++ b/src/watchdog/wd_json_data.c +@@ -537,7 +537,7 @@ get_watchdog_node_from_json(char *json_data, int data_len, char **authkey) + if (root == NULL || root->type != json_object) + goto ERROR_EXIT; + +- if (json_get_long_value_for_key(root, "StartupTimeSecs", &wdNode->startup_time.tv_sec)) ++ if (json_get_time_value_for_key(root, "StartupTimeSecs", &wdNode->startup_time.tv_sec)) + { + bool escalated; + long seconds_since_node_startup; diff --git a/meta-networking/recipes-support/pgpool2/pgpool2/0001-snprintf-Add-math.h-to-ensure-isnan-and-isinf-are-de.patch b/meta-networking/recipes-support/pgpool2/pgpool2/0001-snprintf-Add-math.h-to-ensure-isnan-and-isinf-are-de.patch new file mode 100644 index 0000000000..335761c9bf --- /dev/null +++ b/meta-networking/recipes-support/pgpool2/pgpool2/0001-snprintf-Add-math.h-to-ensure-isnan-and-isinf-are-de.patch @@ -0,0 +1,40 @@ +From c0b6ae020ad87040b5bc6fbae94fb815f10884d2 Mon Sep 17 00:00:00 2001 +From: Gyorgy Sarvari +Date: Thu, 11 Sep 2025 11:58:02 +0200 +Subject: [PATCH] snprintf: Add math.h to ensure isnan and isinf are defined + +When building for 32-bit arm arch, compilation fails with the following error: +| snprintf.c: In function 'fmtfloat': +| snprintf.c:1232:13: error: implicit declaration of function 'isnan' [-Wimplicit-function-declaration] +| 1232 | if (isnan(value)) +| | ^~~~~ +| snprintf.c:50:1: note: include '' or provide a declaration of 'isnan' +| 49 | #include "postgresql/server/port.h" +| +++ |+#include +| 50 | +| snprintf.c:1254:21: error: implicit declaration of function 'isinf' [-Wimplicit-function-declaration] +| 1254 | if (isinf(value)) +| | ^~~~~ +| snprintf.c:1254:21: note: include '' or provide a declaration of 'isinf' + +To avoid the error, add math.h to snprintf.c. + +Upstream-Status: Pending [project ML registration is down] + +Signed-off-by: Gyorgy Sarvari +--- + src/parser/snprintf.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/parser/snprintf.c b/src/parser/snprintf.c +index 6dd4a50..cce7951 100644 +--- a/src/parser/snprintf.c ++++ b/src/parser/snprintf.c +@@ -36,6 +36,7 @@ + #include "c.h" + #endif + ++#include + #include + #include + #include diff --git a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.4.bb b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.4.bb index d3bfd4ba79..8cec1535b8 100644 --- a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.4.bb +++ b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.4.bb @@ -12,6 +12,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e4b38de086d73e0521de0bbdbaa4a1a9" SRC_URI = "https://www.pgpool.net/mediawiki/images/pgpool-II-${PV}.tar.gz \ file://0001-Fix-build-error-when-build-this-file.patch \ + file://0001-snprintf-Add-math.h-to-ensure-isnan-and-isinf-are-de.patch \ + file://0001-fix-compiling-on-32-bit-systems.patch \ file://define_SIGNAL_ARGS.patch \ file://pgpool.sysconfig \ file://pgpool.service \