]> git.ipfire.org Git - ipfire-2.x.git/commit
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)
commitc64c91d7ce0810cde2705ae157882ed95b0df99e
tree51273536f88bdc22bbf954ae5bbe1386aafff2c5
parent05ecc963636e71762aca02b13632dfce06578adb
libtirpc: Update to version 1.3.7

- 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