From patchwork Tue Sep 2 07:30:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 9024 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4cGHV56D5Hz3wkk for ; Tue, 02 Sep 2025 07:31:09 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E8" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4cGHV50Mr0z5VD for ; Tue, 02 Sep 2025 07:31:09 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=ipfire.org header.s=202003ed25519 header.b=GIzPk2bs; dkim=pass header.d=ipfire.org header.s=202003rsa header.b=NLrf5Vra; dmarc=pass (policy=reject) header.from=ipfire.org; spf=softfail (mail01.ipfire.org: 2001:678:b28::201 is neither permitted nor denied by domain of "development+bounces-896-patchwork=ipfire.org@lists.ipfire.org") smtp.mailfrom="development+bounces-896-patchwork=ipfire.org@lists.ipfire.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1756798269; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=D8zsjFKesEPoIG9LjOjP1f2fokWqssXGwYJpeaQHzX8=; b=qJ2A5/7Igp1U42A8pVB1wkyt7z4Y068DHvyxo7v4E7jOj1RZvRgv7W9oi8WdkHsMtRQ1/N bO8dGmil251KbsKx+qXkwTkIy1x4uSRyJBEZr7X4GBbvOxrzFB4kC/AQ7zCLKoSTOED8Ma V497skgg7/XQeII2RtKRrPgp6OWWRw6WhX3jYQY+wtaTsmfK6q1O64kjILT7rTiS0tPUpM HochgVY+7aD45KWh+19r3QGUaejdj9oT4rzw9Bcuet3ThCZEHWpOVHZthSJXUe3yp4vMRp GFs0XgYlIWeDjYqXejtmngnFshuufbz7p8wv0+RU8+B9gXOoJ3/3StyAV+gZXA== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=ipfire.org header.s=202003ed25519 header.b=GIzPk2bs; dkim=pass header.d=ipfire.org header.s=202003rsa header.b=NLrf5Vra; dmarc=pass (policy=reject) header.from=ipfire.org; spf=softfail (mail01.ipfire.org: 2001:678:b28::201 is neither permitted nor denied by domain of "development+bounces-896-patchwork=ipfire.org@lists.ipfire.org") smtp.mailfrom="development+bounces-896-patchwork=ipfire.org@lists.ipfire.org" ARC-Seal: i=1; s=202003rsa; d=ipfire.org; t=1756798269; a=rsa-sha256; cv=none; b=lMYl5EG9oPpXr7dgYukCBeFdj3bidbMniy4JrCiHarKc6pat62n1wqR3BW3Zk74QhBqnCt Ty1wcBXihLUmIR059AIVgv+HBrdUBsNtRVDvdZsJs3lBv5mPlfsbV0Hie5i1IPbc9QJh7W Bxchw/rRqDEziWjKU3qx/IOgGxmdA6jfs6tLj3pLGt+fdBPFFsIb4jUpLYsO19X3MVb5DC +pJjtvHAhwGpd72LqBexsJu/xeM22wSUhnKEBHgcLpKb+ucMCRu2U6t5L4iQyuNtqjxETW yxTYRpzH1O95SGoJvsQLcy0zxhpRAT55OfLSLMbcojx7F37x1x+Ax7m5xxPXog== Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4cGHV31Rdcz31ns for ; Tue, 02 Sep 2025 07:31:07 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cGHV04MRsz2xLt for ; Tue, 02 Sep 2025 07:31:04 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4cGHTz6bvJz5HZ; Tue, 02 Sep 2025 07:31:03 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1756798264; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D8zsjFKesEPoIG9LjOjP1f2fokWqssXGwYJpeaQHzX8=; b=GIzPk2bsikKg3A05t+hdqkn2Y2rOeBOrYRhREXLeUAGxCjWqtDXXc06pyn3YhPbEQJJOrA VM8TXn6ExmBBvGDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1756798264; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D8zsjFKesEPoIG9LjOjP1f2fokWqssXGwYJpeaQHzX8=; b=NLrf5Vraigtuk1DlvKEMwz0lh+h2TdFcxitQv6+WvRY6BzS16dpP0e6G/2w6lBxTQxT0AL Qe+kBUuVuHFiCc6lhcS+xqSckkABij4aP4WHWEiE4gRQ+xyNUAmo+tDpWPl8R/nNb6rKs/ zic/orlstJlCLQJBERf4uE0iPXT+F6EncnS+HndbsfMrJne6Z31spBnXinnrdKeYDTQJRx V0v0sTgY/dnUPJEaoI6fSwYYYoAo/o++KuljT7CGKl6mOwF+3dvKmPyY5PEWizsrpE0zQX ou3tdFCy9CZQuGOzPhhFrsM2yc85fW2QvWm2Y3CgEpSinYgd2nMgYk4ymoHpzA== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] libtirpc: Update to version 1.3.7 Date: Tue, 2 Sep 2025 09:30:43 +0200 Message-ID: <20250902073044.1675-3-adolf.belka@ipfire.org> In-Reply-To: <20250902073044.1675-1-adolf.belka@ipfire.org> References: <20250902073044.1675-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 X-Rspamd-Server: mail01.haj.ipfire.org X-Rspamd-Queue-Id: 4cGHV50Mr0z5VD X-Rspamd-Action: no action X-Spamd-Result: default: False [-10.43 / 11.00]; BAYES_HAM(-2.95)[99.79%]; DWL_DNSWL_MED(-2.00)[ipfire.org:dkim]; FROM_INTERNAL_BULK_SENDERS(-2.00)[2001:678:b28::201]; R_DKIM_ALLOW(-1.67)[ipfire.org:s=202003ed25519,ipfire.org:s=202003rsa]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM(-1.00)[-1.000]; DKIM_REPUTATION(-0.93)[-0.93439223687966]; IP_REPUTATION_HAM(-0.58)[asn: 204867(-0.17), country: DE(-0.00), ip: 2001:678:b28::(-0.42)]; R_MISSING_CHARSET(0.50)[]; DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[]; MAILLIST(-0.18)[generic]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; HAS_LIST_UNSUB(-0.01)[]; DKIM_TRACE(0.00)[ipfire.org:+]; FUZZY_RATELIMITED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_HELO_LOCALHOST(0.00)[]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:204867, ipnet:2001:678:b28::/48, country:DE]; RCVD_COUNT_THREE(0.00)[3]; ARC_SIGNED(0.00)[ipfire.org:s=202003rsa:i=1]; DMARC_POLICY_ALLOW(0.00)[ipfire.org,reject]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_SOFTFAIL(0.00)[~all:c]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER_MAILLIST(0.00)[]; FROM_NEQ_ENVFROM(0.00)[adolf.belka@ipfire.org,development@lists.ipfire.org]; TAGGED_FROM(0.00)[bounces-896-patchwork=ipfire.org] - Update from version 1.3.6 to 1.3.7 - Update of rootfile not required - Changelog 1.3.7 Add conditional version script support This patch adds conditional symbol versioning to libtirpc, allowing GSS-API, DES crypto, and RPC database symbols to be conditionally included in the version script based on build configuration. LLD is strict about undefined symbols referenced in a version script. Some libtirpc symbols (rpcsec_gss, old DES helpers, rpc database helpers) are optional and may not be built depending on configure options or missing deps. GNU ld tolerated this; LLD errors out. This change keeps the canonical symbol map in src/libtirpc.map, but adds a make-time rule to generate a filtered copy where names from disabled features are deleted. The lib is then linked against the generated linker map file. Fixes linking errors when these features are not available. Convert old-style function definitions into modern-style definitions With newer compilers (gcc 15.1.1) -Wold-style-definition flag is set by default which causes warnings for most of the functions in these files. warning: old-style function definition [-Wold-style-definition] The warnings are remove by converting the old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions With newer compilers (gcc 15.1.1) -Wold-style-definition flag is set by default which causes warnings for most of the functions in these files. warning: old-style function definition [-Wold-style-definition] The warnings are remove by converting the old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions With newer compilers (gcc 15.1.1) -Wold-style-definition flag is set by default which causes warnings for most of the functions in these files. warning: old-style function definition [-Wold-style-definition] The warnings are remove by converting the old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions With newer compilers (gcc 15.1.1) -Wold-style-definition flag is set by default which causes warnings for most of the functions in these files. warning: old-style function definition [-Wold-style-definition] The warnings are remove by converting the old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions With newer compilers (gcc 15.1.1) -Wold-style-definition flag is set by default which causes warnings for most of the functions in these files. warning: old-style function definition [-Wold-style-definition] The warnings are remove by converting the old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions With newer compilers (gcc 15.1.1) -Wold-style-definition flag is set by default which causes warnings for most of the functions in these files. warning: old-style function definition [-Wold-style-definition] The warnings are remove by converting the old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions With newer compilers (gcc 15.1.1) -Wold-style-definition flag is set by default which causes warnings for most of the functions in these files. warning: old-style function definition [-Wold-style-definition] The warnings are remove by converting the old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions With newer compilers (gcc 15.1.1) -Wold-style-definition flag is set by default which causes warnings for most of the functions in these files. warning: old-style function definition [-Wold-style-definition] The warnings are remove by converting the old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions With newer compilers (gcc 15.1.1) -Wold-style-definition flag is set by default which causes warnings for most of the functions in these files. warning: old-style function definition [-Wold-style-definition] The warnings are remove by converting the old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions With newer compilers (gcc 15.1.1) -Wold-style-definition flag is set by default which causes warnings for most of the functions in these files. warning: old-style function definition [-Wold-style-definition] The warnings are remove by converting the old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions With newer compilers (gcc 15.1.1) -Wold-style-definition flag is set by default which causes warnings for most of the functions in these files. warning: old-style function definition [-Wold-style-definition] The warnings are remove by converting the old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions With newer compilers (gcc 15.1.1) -Wold-style-definition flag is set by default which causes warnings for most of the functions in these files. warning: old-style function definition [-Wold-style-definition] The warnings are remove by converting the old-style function definitions into modern-style definitions update signal and key_call declarations to allow compile with gcc-15 Follow up patch addressing the following declarations: sed -n 75,77p libtirpc-1.3.6/src/key_call.c cryptkeyres *(*__key_encryptsession_pk_LOCAL)() = 0; cryptkeyres *(*__key_decryptsession_pk_LOCAL)() = 0; des_block *(*__key_gendes_LOCAL)() = 0; Update declarations to allow compile with gcc-15 This patch fixes some of the compile errors with gcc 15-20241117. In addition the follow declarations need to be fixed: sed -n 75,77p libtirpc-1.3.6/src/key_call.c cryptkeyres *(*__key_encryptsession_pk_LOCAL)() = 0; cryptkeyres *(*__key_decryptsession_pk_LOCAL)() = 0; des_block *(*__key_gendes_LOCAL)() = 0; Revert "getnetconfig.c: free linep to avoid memory leakage" This reverts commit f138e68e7ffefa3f4d71857ddb137fff877fd1d0. There was no memory leak and freeing allocated memory is not a good thing getnetconfig.c: free linep to avoid memory leakage Signed-off-by: Adolf Belka --- lfs/libtirpc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lfs/libtirpc b/lfs/libtirpc index c00668998..abb1509b0 100644 --- a/lfs/libtirpc +++ b/lfs/libtirpc @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2024 IPFire Team # +# Copyright (C) 2007-2025 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -26,7 +26,7 @@ include Config SUMMARY = Transport Independent RPC Library -VER = 1.3.6 +VER = 1.3.7 THISAPP = libtirpc-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -45,7 +45,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 521e1e3d2ceefd668f1b0d52b7c0342b97952d322eeb7bf740bb1eb1fb88a14b0a2fce57f07a9fd3797d289f57f511085924bba3d8984f15c799468d30f47500 +$(DL_FILE)_BLAKE2 = b6a42add32c1a8bef4d974bb6c527131c0215179a303360d902110b03ce2217280efcb8dcad3a4da00f7ab971a1376e0bc30d6e3ecf6f98f1d4c2161a9276f86 install : $(TARGET)