]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
libtirpc: Update to version 1.3.7
authorAdolf Belka <adolf.belka@ipfire.org>
Tue, 2 Sep 2025 07:30:43 +0000 (09:30 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 2 Sep 2025 13:03:57 +0000 (13:03 +0000)
- 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 <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/libtirpc

index c00668998e9dee98880d560b4bcc0d12fb9f175f..abb1509b056522911d499a33f11343f323db59a2 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2025  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # 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)