dhcpcd: upgrade 10.2.4 -> 10.3.0
PATCH 1/14 dhcpcd: upgrade 10.2.4 -> 10.3.0
From: Ankur Tyagi <[email protected]>
Release Notes:
https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.3.0
---
.../dhcpcd/{dhcpcd_10.2.4.bb => dhcpcd_10.3.0.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-connectivity/dhcpcd/{dhcpcd_10.2.4.bb => dhcpcd_10.3.0.bb} (96%)meta/recipes-connectivity/dhcpcd/dhcpcd_10.3.0.bb renamed from meta/recipes-connectivity/dhcpcd/dhcpcd_10.2.4.bb +2 -2
@@ -9,7 +9,7 @@ HOMEPAGE = "http://roy.marples.name/projects/dhcpcd/" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=4dda5beb433a809f2e0aeffbf9da3d91" -SRC_URI = "git://github.com/NetworkConfiguration/dhcpcd;protocol=https;branch=master \ +SRC_URI = "git://github.com/NetworkConfiguration/dhcpcd;protocol=https;branch=master;tag=v${PV} \ file://0001-remove-INCLUDEDIR-to-prevent-build-issues.patch \ file://0001-20-resolv.conf-improve-the-sitation-of-working-with-.patch \ file://dhcpcd.service \
@@ -17,7 +17,7 @@ SRC_URI = "git://github.com/NetworkConfiguration/dhcpcd;protocol=https;branch=ma file://0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch \ " -SRCREV = "93df2b254caf9639f9ffb66e0fe2b584eeba6220" +SRCREV = "385ff246cbdbd1627582999f7705bf9ef2ad0d7d" # Doesn't use automake so we can't do out-of-tree builds inherit pkgconfig autotools-brokensep systemd useradd
PATCH 2/14 base-passwd: upgrade 3.6.7 -> 3.6.8
From: Ankur Tyagi <[email protected]>
---
.../base-passwd/{base-passwd_3.6.7.bb => base-passwd_3.6.8.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-core/base-passwd/{base-passwd_3.6.7.bb => base-passwd_3.6.8.bb} (98%)meta/recipes-core/base-passwd/base-passwd_3.6.8.bb renamed from meta/recipes-core/base-passwd/base-passwd_3.6.7.bb +1 -1
@@ -15,7 +15,7 @@ SRC_URI = "https://launchpad.net/debian/+archive/primary/+files/${BPN}_${PV}.tar file://0001-base-passwd-Add-the-sgx-group.patch \ " -SRC_URI[sha256sum] = "cf869870fed7862b57bfa9e99cd5cd6f365e2349705a1b65af7fc182629bd1ab" +SRC_URI[sha256sum] = "fab3d0e6e8b641e116bda9bd5f7a7ed24482384c1513f6a369b506327fbc8dde" # the package is taken from launchpad; that source is static and goes stale # so we check the latest upstream from a directory that does get updated
PATCH 3/14 ttyrun: upgrade 2.38.0 -> 2.39.0
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Release Notes:
https://github.com/ibm-s390-linux/s390-tools/releases/tag/v2.39.0
---
meta/recipes-core/ttyrun/{ttyrun_2.38.0.bb => ttyrun_2.39.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-core/ttyrun/{ttyrun_2.38.0.bb => ttyrun_2.39.0.bb} (94%)meta/recipes-core/ttyrun/ttyrun_2.39.0.bb renamed from meta/recipes-core/ttyrun/ttyrun_2.38.0.bb +1 -1
@@ -7,7 +7,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=f5118f167b055bfd7c3450803f1847af" SRC_URI = "git://github.com/ibm-s390-linux/s390-tools;protocol=https;branch=master;tag=v${PV}" -SRCREV = "660bab6e68fded26b2117e1dcec0844549a22fed" +SRCREV = "940ce6790021816f280fab66f443e4721d527833" CVE_PRODUCT = "s390-tools"
PATCH 4/14 mobile-broadband-provider-info: upgrade 20250613 -> 20251101
In reply to [email protected]From: Ankur Tyagi <[email protected]>
---
...o_20250613.bb => mobile-broadband-provider-info_20251101.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-connectivity/mobile-broadband-provider-info/{mobile-broadband-provider-info_20250613.bb => mobile-broadband-provider-info_20251101.bb} (91%)meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_20251101.bb renamed from meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_20250613.bb +1 -1
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=87964579b2a8ece4bc6744d2dc9a8b04" PE = "1" SRC_URI = "git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=main;tag=${PV}" -SRCREV = "2a1b409491a531aedcf3eb3ba907929d96bd181a" +SRCREV = "18cb97517d9c831e1d2ec057e62d04fd3665e10f" inherit meson
PATCH 5/14 btrfs-tools: upgrade 6.17 -> 6.17.1
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Release Notes:
https://github.com/kdave/btrfs-progs/releases/tag/v6.17.1
---
.../btrfs-tools/{btrfs-tools_6.17.bb => btrfs-tools_6.17.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/btrfs-tools/{btrfs-tools_6.17.bb => btrfs-tools_6.17.1.bb} (98%)meta/recipes-devtools/btrfs-tools/btrfs-tools_6.17.1.bb renamed from meta/recipes-devtools/btrfs-tools/btrfs-tools_6.17.bb +1 -1
@@ -18,7 +18,7 @@ DEPENDS = "util-linux zlib" SRC_URI = "git://github.com/kdave/btrfs-progs.git;branch=master;protocol=https;tag=v${PV} \ file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \ " -SRCREV = "c03e29f083678f47a7d7d810db4d21d905979b77" +SRCREV = "06981428c08f78f019a2f4956407fd84b495e21e" PACKAGECONFIG ??= " \ programs \
PATCH 6/14 repo: upgrade 2.58 -> 2.59
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Changelog:
https://gerrit.googlesource.com/git-repo.git/+log/1afe96a7e997ce7748f066b206a85ac648f7a87c
---
meta/recipes-devtools/repo/{repo_2.58.bb => repo_2.59.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/repo/{repo_2.58.bb => repo_2.59.bb} (94%)meta/recipes-devtools/repo/repo_2.59.bb renamed from meta/recipes-devtools/repo/repo_2.58.bb +1 -1
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRC_URI = "git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main;tag=v${PV} \ " -SRCREV = "38d2fe11b9df521727fcca23c9dac086ce8378d3" +SRCREV = "1afe96a7e997ce7748f066b206a85ac648f7a87c" MIRRORS += "git://gerrit.googlesource.com/git-repo.git git://github.com/GerritCodeReview/git-repo.git"
PATCH 7/14 libtirpc: upgrade 1.3.6 -> 1.3.7
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Dropped patches merged in the upstream.
---
...d-conditional-version-script-support.patch | 810 ------------------
...rations-to-allow-compile-with-gcc-15.patch | 64 --
...d-key_call-declarations-to-allow-com.patch | 60 --
.../{libtirpc_1.3.6.bb => libtirpc_1.3.7.bb} | 5 +-
4 files changed, 1 insertion(+), 938 deletions(-)
delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patch
delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/0001-Update-declarations-to-allow-compile-with-gcc-15.patch
delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/0002-update-signal-and-key_call-declarations-to-allow-com.patch
rename meta/recipes-extended/libtirpc/{libtirpc_1.3.6.bb => libtirpc_1.3.7.bb} (78%)meta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patch deleted +0 -810
@@ -1,810 +0,0 @@ -From 8ae9a335d56fc4aba8454159b326d809efca597f Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Mon, 11 Aug 2025 21:13:59 -0700 -Subject: [PATCH] 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. - -Upstream-Status: Submitted [https://lore.kernel.org/linux-nfs/[email protected]/T/#u] -Signed-off-by: Khem Raj <[email protected]> ---- - configure.ac | 50 +++++++++++++++++++++++++++ - src/Makefile.am | 21 +++++++++-- - src/{libtirpc.map => libtirpc.map.in} | 48 +++++-------------------- - 3 files changed, 77 insertions(+), 42 deletions(-) - rename src/{libtirpc.map => libtirpc.map.in} (84%) - ---- a/configure.ac -+++ b/configure.ac -@@ -77,6 +77,19 @@ if test "x$enable_ipv6" != xno; then - AC_DEFINE(INET6, 1, [Define to 1 if IPv6 is available]) - fi - -+# RPC database support -+AC_ARG_ENABLE(rpcdb, -+ [AS_HELP_STRING([--enable-rpcdb], [Enable RPC Database support @<:@default=no@:>@])], -+ [], [enable_rpcdb=no]) -+AM_CONDITIONAL(RPCDB, test "x$enable_rpcdb" = xyes) -+if test "x$enable_rpcdb" != "xno"; then -+ AC_CHECK_FUNCS([getrpcent getrpcbyname getrpcbynumber], [have_rpcdb=yes]) -+ -+ if test "x$have_rpcdb" = "xyes"; then -+ AC_DEFINE([RPCDB], [1], [Define if RPC database support is available]) -+ fi -+fi -+ - AC_ARG_ENABLE(symvers, - [AS_HELP_STRING([--disable-symvers],[Disable symbol versioning @<:@default=no@:>@])], - [],[enable_symvers=maybe]) -@@ -97,6 +110,33 @@ fi - - AM_CONDITIONAL(SYMVERS, test "x$enable_symvers" = xyes) - -+# Generate symbol lists for version script -+if test "x$enable_gssapi" = "xyes"; then -+ GSS_SYMBOLS="_svcauth_gss; authgss_create; authgss_create_default; authgss_free_private_data; authgss_get_private_data; authgss_service; gss_log_debug; gss_log_hexdump; gss_log_status; rpc_gss_get_error; rpc_gss_get_mech_info; rpc_gss_get_mechanisms; rpc_gss_get_principal_name; rpc_gss_get_versions; rpc_gss_qop_to_num; rpc_gss_seccreate; rpc_gss_set_callback; rpc_gss_set_defaults; rpc_gss_set_svc_name; rpc_gss_svc_max_data_length;" -+ -+ GSS_SYMBOLS_031="svcauth_gss_get_principal; svcauth_gss_set_svc_name;" -+else -+ GSS_SYMBOLS="" -+ GSS_SYMBOLS_031="" -+fi -+ -+if test "x$enable_authdes" = "xyes"; then -+ DES_SYMBOLS="cbc_crypt; ecb_crypt; xdr_authdes_cred; xdr_authdes_verf; xdr_rpc_gss_cred; xdr_rpc_gss_data; xdr_rpc_gss_init_args; xdr_rpc_gss_init_res;" -+else -+ DES_SYMBOLS="" -+fi -+ -+if test "x$enable_rpcdb" = "xyes"; then -+ RPCDB_SYMBOLS="endrpcent; getrpcent; getrpcbynumber; getrpcbyname; setrpcent;" -+else -+ RPCDB_SYMBOLS="" -+fi -+ -+AC_SUBST([GSS_SYMBOLS]) -+AC_SUBST([GSS_SYMBOLS_031]) -+AC_SUBST([DES_SYMBOLS]) -+AC_SUBST([RPCDB_SYMBOLS]) -+ - AC_CANONICAL_BUILD - # Check for which host we are on and setup a few things - # specifically based on the host -@@ -167,7 +207,16 @@ AC_CHECK_FUNCS([getpeereid getrpcbyname - AC_CHECK_TYPES(struct rpcent,,, [ - #include <netdb.h>]) - AC_CONFIG_FILES([Makefile src/Makefile man/Makefile doc/Makefile]) -+AC_CONFIG_FILES([src/libtirpc.map]) - AC_CONFIG_FILES([libtirpc.pc]) - AC_OUTPUT - -+# Configuration summary -+AC_MSG_NOTICE([ -+libtirpc configuration summary: -+ GSS-API support: $enable_gssapi -+ DES crypto support: $enable_authdes -+ RPC database support: $enable_rpcdb -+ Symbol versioning: $enable_symvers -+]) - ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -6,6 +6,9 @@ - ## anything like that. - - noinst_HEADERS = rpc_com.h debug.h -+EXTRA_DIST = libtirpc.map.in -+# Generated files -+BUILT_SOURCES = libtirpc.map - - AM_CPPFLAGS = -I$(top_srcdir)/tirpc -include config.h -DPORTMAP -DINET6 \ - -D_GNU_SOURCE -Wall -pipe -@@ -15,10 +18,19 @@ lib_LTLIBRARIES = libtirpc.la - libtirpc_la_LDFLAGS = @LDFLAG_NOUNDEFINED@ -no-undefined @PTHREAD_LIBS@ - libtirpc_la_LDFLAGS += -version-info @LT_VERSION_INFO@ - -+# Generate version script from template -+libtirpc.map: $(srcdir)/libtirpc.map.in -+ $(AM_V_GEN)$(SED) \ -+ -e 's|@GSS_SYMBOLS@|$(GSS_SYMBOLS)|g' \ -+ -e 's|@GSS_SYMBOLS_031@|$(GSS_SYMBOLS_031)|g' \ -+ -e 's|@DES_SYMBOLS@|$(DES_SYMBOLS)|g' \ -+ -e 's|@RPCDB_SYMBOLS@|$(RPCDB_SYMBOLS)|g' \ -+ < $(srcdir)/libtirpc.map.in > $@ || rm -f $@ -+ - libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c \ - binddynport.c bindresvport.c \ - clnt_bcast.c clnt_dg.c clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c \ -- clnt_vc.c rpc_dtablesize.c getnetconfig.c getnetpath.c getrpcent.c \ -+ clnt_vc.c rpc_dtablesize.c getnetconfig.c getnetpath.c \ - getrpcport.c mt_misc.c pmap_clnt.c pmap_getmaps.c pmap_getport.c \ - pmap_prot.c pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c \ - rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \ -@@ -34,19 +46,23 @@ endif - libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c xdr_sizeof.c - - if SYMVERS -- libtirpc_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libtirpc.map -+ libtirpc_la_LDFLAGS += -Wl,--version-script=$(builddir)/libtirpc.map - endif - - ## Secure-RPC - if GSS -- libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c \ -- rpc_gss_utils.c -- libtirpc_la_LIBADD = $(GSSAPI_LIBS) -- libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS) -+libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c rpc_gss_utils.c -+libtirpc_la_LIBADD = $(GSSAPI_LIBS) -+libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS) -+endif -+ -+# Conditionally add RPC database sources -+if RPCDB -+libtirpc_la_SOURCES += getrpcent.c - endif - - libtirpc_la_SOURCES += key_call.c key_prot_xdr.c getpublickey.c - libtirpc_la_SOURCES += netname.c netnamer.c rpcdname.c rtime.c - --CLEANFILES = cscope.* *~ -+CLEANFILES = cscope.* libtirpc.map *~ - DISTCLEANFILES = Makefile.in ---- a/src/libtirpc.map -+++ /dev/null -@@ -1,335 +0,0 @@ --TIRPC_0.3.0 { -- global: -- # __* -- __rpc_createerr; -- __rpc_dtbsize; -- __rpc_endconf; -- __rpc_fd2sockinfo; -- __rpc_fixup_addr; -- __rpc_get_a_size; -- __rpc_get_local_uid; -- __rpc_get_t_size; -- __rpc_getconf; -- __rpc_getconfip; -- __rpc_nconf2fd; -- __rpc_nconf2fd_flags; -- __rpc_nconf2sockinfo; -- __rpc_rawcombuf; -- __rpc_seman2socktype; -- __rpc_setconf; -- __rpc_sockinfo2netid; -- __rpc_sockisbound; -- __rpc_socktype2seman; -- __rpc_taddr2uaddr_af; -- __rpc_uaddr2taddr_af; -- __rpcgettp; -- -- # _* -- _authenticate; -- _get_next_token; -- _gss_authenticate; -- _null_auth; -- _rpc_dtablesize; -- _seterr_reply; -- _svcauth_none; -- _svcauth_short; -- _svcauth_unix; -- _svcauth_gss; -- -- # a* -- authdes_create; -- authdes_seccreate; -- authgss_create; -- authgss_create_default; -- authgss_free_private_data; -- authgss_get_private_data; -- authgss_service; -- authnone_create; -- authunix_create; -- authunix_create_default; -- -- # b* -- bindresvport; -- bindresvport_sa; -- -- # c* -- callrpc; -- cbc_crypt; -- clnt_broadcast; -- clnt_create; -- clnt_create_timed; -- clnt_create_vers; -- clnt_create_vers_timed; -- clnt_dg_create; -- clnt_pcreateerror; -- clnt_perrno; -- clnt_perror; -- clnt_raw_create; -- clnt_spcreateerror; -- clnt_sperrno; -- clnt_sperror; -- clnt_tli_create; -- clnt_tp_create; -- clnt_tp_create_timed; -- clnt_vc_create; -- clntraw_create; -- clnttcp_create; -- clntudp_bufcreate; -- clntudp_create; -- clntunix_create; -- -- # e* -- ecb_crypt; -- endnetconfig; -- endnetpath; -- endrpcent; -- -- # f* -- freenetconfigent; -- -- # g* -- get_myaddress; -- getnetconfig; -- getnetconfigent; -- getnetpath; -- getrpcent; -- getrpcbynumber; -- getrpcbyname; -- getrpcport; -- gss_log_debug; -- gss_log_hexdump; -- gss_log_status; -- -- # n* -- nc_perror; -- nc_sperror; -- -- # p* -- pmap_getmaps; -- pmap_getport; -- pmap_rmtcall; -- pmap_set; -- pmap_unset; -- -- # r* -- registerrpc; -- rpc_broadcast; -- rpc_broadcast_exp; -- rpc_call; -- rpc_control; -- rpc_createerr; -- rpc_gss_get_error; -- rpc_gss_get_mech_info; -- rpc_gss_get_mechanisms; -- rpc_gss_get_principal_name; -- rpc_gss_get_versions; -- rpc_gss_getcred; -- rpc_gss_is_installed; -- rpc_gss_max_data_length; -- rpc_gss_mech_to_oid; -- rpc_gss_qop_to_num; -- rpc_gss_seccreate; -- rpc_gss_set_callback; -- rpc_gss_set_defaults; -- rpc_gss_set_svc_name; -- rpc_gss_svc_max_data_length; -- rpc_nullproc; -- rpc_reg; -- rpcb_getaddr; -- rpcb_getmaps; -- rpcb_gettime; -- rpcb_rmtcall; -- rpcb_set; -- rpcb_taddr2uaddr; -- rpcb_uaddr2taddr; -- rpcb_unset; -- -- # s* -- setnetconfig; -- setnetpath; -- setrpcent; -- svc_auth_reg; -- svc_create; -- svc_dg_create; -- svc_dg_enablecache; -- svc_exit; -- svc_fd_create; -- svc_fdset; -- svc_getreq; -- svc_getreq_common; -- svc_getreq_poll; -- svc_getreqset; -- svc_maxfd; -- svc_raw_create; -- svc_reg; -- svc_register; -- svc_run; -- svc_sendreply; -- svc_tli_create; -- svc_tp_create; -- svc_unreg; -- svc_unregister; -- svc_vc_create; -- svcerr_auth; -- svcerr_decode; -- svcerr_noproc; -- svcerr_noprog; -- svcerr_progvers; -- svcerr_systemerr; -- svcerr_weakauth; -- svcfd_create; -- svcraw_create; -- svctcp_create; -- svcudp_bufcreate; -- svcudp_create; -- svcunix_create; -- svcunixfd_create; -- -- # t* -- taddr2uaddr; -- -- # u* -- uaddr2taddr; -- -- # x* -- xdr_accepted_reply; -- xdr_array; -- xdr_authdes_cred; -- xdr_authdes_verf; -- xdr_authunix_parms; -- xdr_bool; -- xdr_bytes; -- xdr_callhdr; xdr_callmsg; -- xdr_char; -- xdr_des_block; -- xdr_double; -- xdr_enum; -- xdr_float; -- xdr_free; -- xdr_hyper; -- xdr_int16_t; -- xdr_int32_t; -- xdr_int64_t; -- xdr_int8_t; -- xdr_int; -- xdr_long; -- xdr_longlong_t; -- xdr_netbuf; -- xdr_netobj; -- xdr_opaque; -- xdr_opaque_auth; -- xdr_pmap; -- xdr_pmaplist; -- xdr_pmaplist_ptr; -- xdr_pointer; -- xdr_quad_t; -- xdr_reference; -- xdr_rejected_reply; -- xdr_replymsg; -- xdr_rmtcall_args; -- xdr_rmtcallres; -- xdr_rpc_gss_cred; -- xdr_rpc_gss_data; -- xdr_rpc_gss_init_args; -- xdr_rpc_gss_init_res; -- xdr_rpcb; -- xdr_rpcb_entry; -- xdr_rpcb_entry_list_ptr; -- xdr_rpcb_rmtcallargs; -- xdr_rpcb_rmtcallres; -- xdr_rpcb_stat; -- xdr_rpcb_stat_byvers; -- xdr_rpcblist; -- xdr_rpcblist_ptr; -- xdr_rpcbs_addrlist; -- xdr_rpcbs_addrlist_ptr; -- xdr_rpcbs_proc; -- xdr_rpcbs_rmtcalllist; -- xdr_rpcbs_rmtcalllist_ptr; -- xdr_short; -- xdr_string; -- xdr_u_char; -- xdr_u_hyper; -- xdr_u_int16_t; -- xdr_u_int32_t; -- xdr_u_int64_t; -- xdr_u_int8_t; -- xdr_u_int; -- xdr_u_long; -- xdr_u_longlong_t; -- xdr_u_quad_t; -- xdr_u_short; -- xdr_uint16_t; -- xdr_uint32_t; -- xdr_uint64_t; -- xdr_uint8_t; -- xdr_union; -- xdr_vector; -- xdr_void; -- xdr_wrapstring; -- xdrmem_create; -- xdrrec_create; -- xdrrec_endofrecord; -- xdrrec_eof; -- xdrrec_skiprecord; -- xdrstdio_create; -- xprt_register; -- xprt_unregister; -- -- local: -- *; --}; -- --TIRPC_0.3.1 { -- svcauth_gss_get_principal; -- svcauth_gss_set_svc_name; --} TIRPC_0.3.0; -- --TIRPC_0.3.2 { -- getnetname; -- getpublicandprivatekey; -- getpublickey; -- host2netname; -- key_call_destroy; -- key_decryptsession; -- key_decryptsession_pk; -- key_encryptsession; -- key_encryptsession_pk; -- key_gendes; -- key_get_conv; -- key_setsecret; -- key_secretkey_is_set; -- key_setnet; -- netname2host; -- netname2user; -- rtime; -- user2netname; -- xdr_cryptkeyarg; -- xdr_cryptkeyarg2; -- xdr_cryptkeyres; -- xdr_getcredres; -- xdr_key_netstarg; -- xdr_key_netstres; -- xdr_keybuf; -- xdr_keystatus; -- xdr_netnamestr; -- xdr_unixcred; --} TIRPC_0.3.1; -- --TIRPC_0.3.3 { -- __getpublickey_LOCAL; -- __key_decryptsession_pk_LOCAL; -- __key_encryptsession_pk_LOCAL; -- __key_gendes_LOCAL; -- xdr_sizeof; -- authdes_pk_create; -- svc_pollfd; -- svc_max_pollfd; --} TIRPC_0.3.2; -- --TIRPC_PRIVATE { -- global: -- __libc_clntudp_bufcreate; -- # private, but used by rpcbind: -- __svc_clean_idle; svc_auth_none; libtirpc_set_debug; --}; ---- /dev/null -+++ b/src/libtirpc.map.in -@@ -0,0 +1,303 @@ -+TIRPC_0.3.0 { -+ global: -+ # __* -+ __rpc_createerr; -+ __rpc_dtbsize; -+ __rpc_endconf; -+ __rpc_fd2sockinfo; -+ __rpc_fixup_addr; -+ __rpc_get_a_size; -+ __rpc_get_local_uid; -+ __rpc_get_t_size; -+ __rpc_getconf; -+ __rpc_getconfip; -+ __rpc_nconf2fd; -+ __rpc_nconf2fd_flags; -+ __rpc_nconf2sockinfo; -+ __rpc_rawcombuf; -+ __rpc_seman2socktype; -+ __rpc_setconf; -+ __rpc_sockinfo2netid; -+ __rpc_sockisbound; -+ __rpc_socktype2seman; -+ __rpc_taddr2uaddr_af; -+ __rpc_uaddr2taddr_af; -+ __rpcgettp; -+ -+ # _* -+ _authenticate; -+ _get_next_token; -+ _gss_authenticate; -+ _null_auth; -+ _rpc_dtablesize; -+ _seterr_reply; -+ _svcauth_none; -+ _svcauth_short; -+ _svcauth_unix; -+ -+ # a* -+ authdes_create; -+ authdes_seccreate; -+ authnone_create; -+ authunix_create; -+ authunix_create_default; -+ -+ # b* -+ bindresvport; -+ bindresvport_sa; -+ -+ # c* -+ callrpc; -+ clnt_broadcast; -+ clnt_create; -+ clnt_create_timed; -+ clnt_create_vers; -+ clnt_create_vers_timed; -+ clnt_dg_create; -+ clnt_pcreateerror; -+ clnt_perrno; -+ clnt_perror; -+ clnt_raw_create; -+ clnt_spcreateerror; -+ clnt_sperrno; -+ clnt_sperror; -+ clnt_tli_create; -+ clnt_tp_create; -+ clnt_tp_create_timed; -+ clnt_vc_create; -+ clntraw_create; -+ clnttcp_create; -+ clntudp_bufcreate; -+ clntudp_create; -+ clntunix_create; -+ -+ # e* -+ endnetconfig; -+ endnetpath; -+ -+ # f* -+ freenetconfigent; -+ -+ # g* -+ get_myaddress; -+ getnetconfig; -+ getnetconfigent; -+ getnetpath; -+ getrpcport; -+ -+ # n* -+ nc_perror; -+ nc_sperror; -+ -+ # p* -+ pmap_getmaps; -+ pmap_getport; -+ pmap_rmtcall; -+ pmap_set; -+ pmap_unset; -+ -+ # r* -+ registerrpc; -+ rpc_broadcast; -+ rpc_broadcast_exp; -+ rpc_call; -+ rpc_control; -+ rpc_createerr; -+ rpc_nullproc; -+ rpc_reg; -+ rpcb_getaddr; -+ rpcb_getmaps; -+ rpcb_gettime; -+ rpcb_rmtcall; -+ rpcb_set; -+ rpcb_taddr2uaddr; -+ rpcb_uaddr2taddr; -+ rpcb_unset; -+ -+ # s* -+ setnetconfig; -+ setnetpath; -+ svc_auth_reg; -+ svc_create; -+ svc_dg_create; -+ svc_dg_enablecache; -+ svc_exit; -+ svc_fd_create; -+ svc_fdset; -+ svc_getreq; -+ svc_getreq_common; -+ svc_getreq_poll; -+ svc_getreqset; -+ svc_maxfd; -+ svc_raw_create; -+ svc_reg; -+ svc_register; -+ svc_run; -+ svc_sendreply; -+ svc_tli_create; -+ svc_tp_create; -+ svc_unreg; -+ svc_unregister; -+ svc_vc_create; -+ svcerr_auth; -+ svcerr_decode; -+ svcerr_noproc; -+ svcerr_noprog; -+ svcerr_progvers; -+ svcerr_systemerr; -+ svcerr_weakauth; -+ svcfd_create; -+ svcraw_create; -+ svctcp_create; -+ svcudp_bufcreate; -+ svcudp_create; -+ svcunix_create; -+ svcunixfd_create; -+ -+ # t* -+ taddr2uaddr; -+ -+ # u* -+ uaddr2taddr; -+ -+ # x* -+ xdr_accepted_reply; -+ xdr_array; -+ xdr_authunix_parms; -+ xdr_bool; -+ xdr_bytes; -+ xdr_callhdr; xdr_callmsg; -+ xdr_char; -+ xdr_des_block; -+ xdr_double; -+ xdr_enum; -+ xdr_float; -+ xdr_free; -+ xdr_hyper; -+ xdr_int16_t; -+ xdr_int32_t; -+ xdr_int64_t; -+ xdr_int8_t; -+ xdr_int; -+ xdr_long; -+ xdr_longlong_t; -+ xdr_netbuf; -+ xdr_netobj; -+ xdr_opaque; -+ xdr_opaque_auth; -+ xdr_pmap; -+ xdr_pmaplist; -+ xdr_pmaplist_ptr; -+ xdr_pointer; -+ xdr_quad_t; -+ xdr_reference; -+ xdr_rejected_reply; -+ xdr_replymsg; -+ xdr_rmtcall_args; -+ xdr_rmtcallres; -+ xdr_rpcb; -+ xdr_rpcb_entry; -+ xdr_rpcb_entry_list_ptr; -+ xdr_rpcb_rmtcallargs; -+ xdr_rpcb_rmtcallres; -+ xdr_rpcb_stat; -+ xdr_rpcb_stat_byvers; -+ xdr_rpcblist; -+ xdr_rpcblist_ptr; -+ xdr_rpcbs_addrlist; -+ xdr_rpcbs_addrlist_ptr; -+ xdr_rpcbs_proc; -+ xdr_rpcbs_rmtcalllist; -+ xdr_rpcbs_rmtcalllist_ptr; -+ xdr_short; -+ xdr_string; -+ xdr_u_char; -+ xdr_u_hyper; -+ xdr_u_int16_t; -+ xdr_u_int32_t; -+ xdr_u_int64_t; -+ xdr_u_int8_t; -+ xdr_u_int; -+ xdr_u_long; -+ xdr_u_longlong_t; -+ xdr_u_quad_t; -+ xdr_u_short; -+ xdr_uint16_t; -+ xdr_uint32_t; -+ xdr_uint64_t; -+ xdr_uint8_t; -+ xdr_union; -+ xdr_vector; -+ xdr_void; -+ xdr_wrapstring; -+ xdrmem_create; -+ xdrrec_create; -+ xdrrec_endofrecord; -+ xdrrec_eof; -+ xdrrec_skiprecord; -+ xdrstdio_create; -+ xprt_register; -+ xprt_unregister; -+ # GSS-API symbols (conditionally included) -+@GSS_SYMBOLS@ -+ # DES crypto symbols (conditionally included) -+@DES_SYMBOLS@ -+ # RPC database symbols (conditionally included) -+@RPCDB_SYMBOLS@ -+ -+ local: -+ *; -+}; -+ -+TIRPC_0.3.1 { -+# GSS-API symbols (conditionally included) -+@GSS_SYMBOLS_031@ -+} TIRPC_0.3.0; -+ -+TIRPC_0.3.2 { -+ getnetname; -+ getpublicandprivatekey; -+ getpublickey; -+ host2netname; -+ key_decryptsession; -+ key_decryptsession_pk; -+ key_encryptsession; -+ key_encryptsession_pk; -+ key_gendes; -+ key_get_conv; -+ key_setsecret; -+ key_secretkey_is_set; -+ key_setnet; -+ netname2host; -+ netname2user; -+ rtime; -+ user2netname; -+ xdr_cryptkeyarg; -+ xdr_cryptkeyarg2; -+ xdr_cryptkeyres; -+ xdr_getcredres; -+ xdr_key_netstarg; -+ xdr_key_netstres; -+ xdr_keybuf; -+ xdr_keystatus; -+ xdr_netnamestr; -+ xdr_unixcred; -+} TIRPC_0.3.1; -+ -+TIRPC_0.3.3 { -+ __getpublickey_LOCAL; -+ __key_decryptsession_pk_LOCAL; -+ __key_encryptsession_pk_LOCAL; -+ __key_gendes_LOCAL; -+ xdr_sizeof; -+ authdes_pk_create; -+ svc_pollfd; -+ svc_max_pollfd; -+} TIRPC_0.3.2; -+ -+TIRPC_PRIVATE { -+ global: -+ __libc_clntudp_bufcreate; -+ # private, but used by rpcbind: -+ __svc_clean_idle; svc_auth_none; libtirpc_set_debug; -+};
meta/recipes-extended/libtirpc/libtirpc/0001-Update-declarations-to-allow-compile-with-gcc-15.patch deleted +0 -64
64 lines not on this page · raw message
meta/recipes-extended/libtirpc/libtirpc/0002-update-signal-and-key_call-declarations-to-allow-com.patch deleted +0 -60
60 lines not on this page · raw message
meta/recipes-extended/libtirpc/libtirpc_1.3.7.bb renamed from meta/recipes-extended/libtirpc/libtirpc_1.3.6.bb +1 -4
@@ -10,13 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f835cce8852481e4b2bbbdd23b5e47f3 \ PROVIDES = "virtual/librpc" SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2 \ - file://0001-Update-declarations-to-allow-compile-with-gcc-15.patch \ - file://0002-update-signal-and-key_call-declarations-to-allow-com.patch \ - file://0001-Add-conditional-version-script-support.patch \ " UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/libtirpc/files/libtirpc/" UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/" -SRC_URI[sha256sum] = "bbd26a8f0df5690a62a47f6aa30f797f3ef8d02560d1bc449a83066b5a1d3508" +SRC_URI[sha256sum] = "b47d3ac19d3549e54a05d0019a6c400674da716123858cfdb6d3bdd70a66c702" inherit autotools pkgconfig
Re: [OE-core][PATCH 07/14] libtirpc: upgrade 1.3.6 -> 1.3.7
have you tried building it with -fuse-ld=lld and TOOLCHAIN = "clang"
Quoted 1,053 lines · Ankur Tyagi via lists.openembedded.org
From: Ankur Tyagi <[email protected]>
Dropped patches merged in the upstream.
Signed-off-by Ankur Tyagi <[email protected]>--- ...d-conditional-version-script-support.patch | 810 ------------------ ...rations-to-allow-compile-with-gcc-15.patch | 64 -- ...d-key_call-declarations-to-allow-com.patch | 60 -- .../{libtirpc_1.3.6.bb => libtirpc_1.3.7.bb} | 5 +- 4 files changed, 1 insertion(+), 938 deletions(-) delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patch delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/0001-Update-declarations-to-allow-compile-with-gcc-15.patch delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/0002-update-signal-and-key_call-declarations-to-allow-com.patch rename meta/recipes-extended/libtirpc/{libtirpc_1.3.6.bb =>libtirpc_1.3.7.bb} (78%)
diff --git
a/meta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patchb/meta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patchdeleted file mode 100644
index 2764f65284..0000000000
---a/meta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patch+++/dev/nullmeta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patch deleted +0
-22@@ -1,810 +0,0 @@ -From 8ae9a335d56fc4aba8454159b326d809efca597f Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Mon, 11 Aug 2025 21:13:59 -0700 -Subject: [PATCH] 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. - -Upstream-Status: Submitted [https://lore.kernel.org/linux-nfs/[email protected]/T/#u
]meta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patch deleted +0
-17-Signed-off-by: Khem Raj <[email protected]> ---- - configure.ac | 50 +++++++++++++++++++++++++++ - src/Makefile.am | 21 +++++++++-- - src/{libtirpc.map => libtirpc.map.in} | 48 +++++-------------------- - 3 files changed, 77 insertions(+), 42 deletions(-) - rename src/{libtirpc.map => libtirpc.map.in} (84%) - ---- a/configure.ac -+++ b/configure.ac -@@ -77,6 +77,19 @@ if test "x$enable_ipv6" != xno; then - AC_DEFINE(INET6, 1, [Define to 1 if IPv6 is available]) - fi - -+# RPC database support -+AC_ARG_ENABLE(rpcdb, -+ [AS_HELP_STRING([--enable-rpcdb], [Enable RPC Database support@<:@default=no@:>@])],
-+ [], [enable_rpcdb=no])
-+AM_CONDITIONAL(RPCDB, test "x$enable_rpcdb" = xyes) -+if test "x$enable_rpcdb" != "xno"; then
-+ AC_CHECK_FUNCS([getrpcent getrpcbyname getrpcbynumber],
[have_rpcdb=yes])
-+
-+ if test "x$have_rpcdb" = "xyes"; then
-+ AC_DEFINE([RPCDB], [1], [Define if RPC database support is
available])
-+ fi
-+fi
-+
- AC_ARG_ENABLE(symvers,
- [AS_HELP_STRING([--disable-symvers],[Disable symbol versioning
@<:@default=no@:>@])],meta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patch deleted +0
-8- [],[enable_symvers=maybe]) -@@ -97,6 +110,33 @@ fi - - AM_CONDITIONAL(SYMVERS, test "x$enable_symvers" = xyes) - -+# Generate symbol lists for version script -+if test "x$enable_gssapi" = "xyes"; then -+ GSS_SYMBOLS="_svcauth_gss; authgss_create; authgss_create_default;
authgss_free_private_data;authgss_get_private_data;authgss_service;gss_log_debug;gss_log_hexdump;gss_log_status;rpc_gss_get_error;rpc_gss_get_mech_info;rpc_gss_get_mechanisms;rpc_gss_get_principal_name;rpc_gss_get_versions;rpc_gss_qop_to_num;rpc_gss_seccreate;rpc_gss_set_callback;rpc_gss_set_defaults;rpc_gss_set_svc_name;rpc_gss_svc_max_data_length;"
-+
-+ GSS_SYMBOLS_031="svcauth_gss_get_principal;svcauth_gss_set_svc_name;"
-+else
-+ GSS_SYMBOLS=""
-+ GSS_SYMBOLS_031=""
-+fi
-+
-+if test "x$enable_authdes" = "xyes"; then
-+ DES_SYMBOLS="cbc_crypt;ecb_crypt;xdr_authdes_cred;xdr_authdes_verf;xdr_rpc_gss_cred;xdr_rpc_gss_data;xdr_rpc_gss_init_args;xdr_rpc_gss_init_res;"
-+else
-+ DES_SYMBOLS=""
-+fi
-+
-+if test "x$enable_rpcdb" = "xyes"; then
-+ RPCDB_SYMBOLS="endrpcent; getrpcent; getrpcbynumber; getrpcbyname;
setrpcent;"
-+else
-+ RPCDB_SYMBOLS=""
-+fi
-+
-+AC_SUBST([GSS_SYMBOLS])
-+AC_SUBST([GSS_SYMBOLS_031])
-+AC_SUBST([DES_SYMBOLS])
-+AC_SUBST([RPCDB_SYMBOLS])
-+
-AC_CANONICAL_BUILD
- # Check for which host we are on and setup a few things
- # specifically based on the host
-@@ -167,7 +207,16 @@ AC_CHECK_FUNCS([getpeereid getrpcbyname
- AC_CHECK_TYPES(struct rpcent,,, [meta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patch deleted +0
-43- #include <netdb.h>]) - AC_CONFIG_FILES([Makefile src/Makefile man/Makefile doc/Makefile]) -+AC_CONFIG_FILES([src/libtirpc.map]) - AC_CONFIG_FILES([libtirpc.pc]) - AC_OUTPUT - -+# Configuration summary -+AC_MSG_NOTICE([ -+libtirpc configuration summary: -+ GSS-API support: $enable_gssapi -+ DES crypto support: $enable_authdes -+ RPC database support: $enable_rpcdb -+ Symbol versioning: $enable_symvers -+]) - ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -6,6 +6,9 @@ - ## anything like that. - - noinst_HEADERS = rpc_com.h debug.h -+EXTRA_DIST = libtirpc.map.in -+# Generated files -+BUILT_SOURCES = libtirpc.map - - AM_CPPFLAGS = -I$(top_srcdir)/tirpc -include config.h -DPORTMAP -DINET6 \ - -D_GNU_SOURCE -Wall -pipe -@@ -15,10 +18,19 @@ lib_LTLIBRARIES = libtirpc.la - libtirpc_la_LDFLAGS = @LDFLAG_NOUNDEFINED@ -no-undefined @PTHREAD_LIBS@ - libtirpc_la_LDFLAGS += -version-info @LT_VERSION_INFO@ - -+# Generate version script from template -+libtirpc.map: $(srcdir)/libtirpc.map.in -+ $(AM_V_GEN)$(SED) \ -+ -e 's|@GSS_SYMBOLS@|$(GSS_SYMBOLS)|g' \ -+ -e 's|@GSS_SYMBOLS_031@|$(GSS_SYMBOLS_031)|g' \ -+ -e 's|@DES_SYMBOLS@|$(DES_SYMBOLS)|g' \ -+ -e 's|@RPCDB_SYMBOLS@|$(RPCDB_SYMBOLS)|g' \ -+ < $(srcdir)/libtirpc.map.in > $@ || rm -f $@ -+ - libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c \ - binddynport.c bindresvport.c \ - clnt_bcast.c clnt_dg.c clnt_generic.c clnt_perror.c clnt_raw.c
clnt_simple.c\
--clnt_vc.crpc_dtablesize.cgetnetconfig.cgetnetpath.cgetrpcent.c\
-+clnt_vc.crpc_dtablesize.cgetnetconfig.cgetnetpath.c\
-getrpcport.cmt_misc.cpmap_clnt.cpmap_getmaps.cpmap_getport.c
\meta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patch deleted +0
-4- pmap_prot.c pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c \ - rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \ -@@ -34,19 +46,23 @@ endif - libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c
xdr_reference.cxdr_stdio.cxdr_sizeof.cmeta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patch deleted +0
-13- - if SYMVERS -- libtirpc_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libtirpc.map -+ libtirpc_la_LDFLAGS += -Wl,--version-script=$(builddir)/libtirpc.map - endif - - ## Secure-RPC - if GSS -- libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c \ -- rpc_gss_utils.c -- libtirpc_la_LIBADD = $(GSSAPI_LIBS) -- libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS) -+libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c
rpc_gss_utils.c
-+libtirpc_la_LIBADD = $(GSSAPI_LIBS) -+libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS) -+endif
-+
-+# Conditionally add RPC database sources
-+if RPCDB
-+libtirpc_la_SOURCES +=getrpcent.c
- endifmeta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patch deleted +0
-651- - libtirpc_la_SOURCES += key_call.c key_prot_xdr.c getpublickey.c - libtirpc_la_SOURCES += netname.c netnamer.c rpcdname.c rtime.c - --CLEANFILES = cscope.* *~ -+CLEANFILES = cscope.* libtirpc.map *~ - DISTCLEANFILES = Makefile.in ---- a/src/libtirpc.map -+++ /dev/null -@@ -1,335 +0,0 @@ --TIRPC_0.3.0 { -- global: -- # __* -- __rpc_createerr; -- __rpc_dtbsize; -- __rpc_endconf; -- __rpc_fd2sockinfo; -- __rpc_fixup_addr; -- __rpc_get_a_size; -- __rpc_get_local_uid; -- __rpc_get_t_size; -- __rpc_getconf; -- __rpc_getconfip; -- __rpc_nconf2fd; -- __rpc_nconf2fd_flags; -- __rpc_nconf2sockinfo; -- __rpc_rawcombuf; -- __rpc_seman2socktype; -- __rpc_setconf; -- __rpc_sockinfo2netid; -- __rpc_sockisbound; -- __rpc_socktype2seman; -- __rpc_taddr2uaddr_af; -- __rpc_uaddr2taddr_af; -- __rpcgettp; -- -- # _* -- _authenticate; -- _get_next_token; -- _gss_authenticate; -- _null_auth; -- _rpc_dtablesize; -- _seterr_reply; -- _svcauth_none; -- _svcauth_short; -- _svcauth_unix; -- _svcauth_gss; -- -- # a* -- authdes_create; -- authdes_seccreate; -- authgss_create; -- authgss_create_default; -- authgss_free_private_data; -- authgss_get_private_data; -- authgss_service; -- authnone_create; -- authunix_create; -- authunix_create_default; -- -- # b* -- bindresvport; -- bindresvport_sa; -- -- # c* -- callrpc; -- cbc_crypt; -- clnt_broadcast; -- clnt_create; -- clnt_create_timed; -- clnt_create_vers; -- clnt_create_vers_timed; -- clnt_dg_create; -- clnt_pcreateerror; -- clnt_perrno; -- clnt_perror; -- clnt_raw_create; -- clnt_spcreateerror; -- clnt_sperrno; -- clnt_sperror; -- clnt_tli_create; -- clnt_tp_create; -- clnt_tp_create_timed; -- clnt_vc_create; -- clntraw_create; -- clnttcp_create; -- clntudp_bufcreate; -- clntudp_create; -- clntunix_create; -- -- # e* -- ecb_crypt; -- endnetconfig; -- endnetpath; -- endrpcent; -- -- # f* -- freenetconfigent; -- -- # g* -- get_myaddress; -- getnetconfig; -- getnetconfigent; -- getnetpath; -- getrpcent; -- getrpcbynumber; -- getrpcbyname; -- getrpcport; -- gss_log_debug; -- gss_log_hexdump; -- gss_log_status; -- -- # n* -- nc_perror; -- nc_sperror; -- -- # p* -- pmap_getmaps; -- pmap_getport; -- pmap_rmtcall; -- pmap_set; -- pmap_unset; -- -- # r* -- registerrpc; -- rpc_broadcast; -- rpc_broadcast_exp; -- rpc_call; -- rpc_control; -- rpc_createerr; -- rpc_gss_get_error; -- rpc_gss_get_mech_info; -- rpc_gss_get_mechanisms; -- rpc_gss_get_principal_name; -- rpc_gss_get_versions; -- rpc_gss_getcred; -- rpc_gss_is_installed; -- rpc_gss_max_data_length; -- rpc_gss_mech_to_oid; -- rpc_gss_qop_to_num; -- rpc_gss_seccreate; -- rpc_gss_set_callback; -- rpc_gss_set_defaults; -- rpc_gss_set_svc_name; -- rpc_gss_svc_max_data_length; -- rpc_nullproc; -- rpc_reg; -- rpcb_getaddr; -- rpcb_getmaps; -- rpcb_gettime; -- rpcb_rmtcall; -- rpcb_set; -- rpcb_taddr2uaddr; -- rpcb_uaddr2taddr; -- rpcb_unset; -- -- # s* -- setnetconfig; -- setnetpath; -- setrpcent; -- svc_auth_reg; -- svc_create; -- svc_dg_create; -- svc_dg_enablecache; -- svc_exit; -- svc_fd_create; -- svc_fdset; -- svc_getreq; -- svc_getreq_common; -- svc_getreq_poll; -- svc_getreqset; -- svc_maxfd; -- svc_raw_create; -- svc_reg; -- svc_register; -- svc_run; -- svc_sendreply; -- svc_tli_create; -- svc_tp_create; -- svc_unreg; -- svc_unregister; -- svc_vc_create; -- svcerr_auth; -- svcerr_decode; -- svcerr_noproc; -- svcerr_noprog; -- svcerr_progvers; -- svcerr_systemerr; -- svcerr_weakauth; -- svcfd_create; -- svcraw_create; -- svctcp_create; -- svcudp_bufcreate; -- svcudp_create; -- svcunix_create; -- svcunixfd_create; -- -- # t* -- taddr2uaddr; -- -- # u* -- uaddr2taddr; -- -- # x* -- xdr_accepted_reply; -- xdr_array; -- xdr_authdes_cred; -- xdr_authdes_verf; -- xdr_authunix_parms; -- xdr_bool; -- xdr_bytes; -- xdr_callhdr; xdr_callmsg; -- xdr_char; -- xdr_des_block; -- xdr_double; -- xdr_enum; -- xdr_float; -- xdr_free; -- xdr_hyper; -- xdr_int16_t; -- xdr_int32_t; -- xdr_int64_t; -- xdr_int8_t; -- xdr_int; -- xdr_long; -- xdr_longlong_t; -- xdr_netbuf; -- xdr_netobj; -- xdr_opaque; -- xdr_opaque_auth; -- xdr_pmap; -- xdr_pmaplist; -- xdr_pmaplist_ptr; -- xdr_pointer; -- xdr_quad_t; -- xdr_reference; -- xdr_rejected_reply; -- xdr_replymsg; -- xdr_rmtcall_args; -- xdr_rmtcallres; -- xdr_rpc_gss_cred; -- xdr_rpc_gss_data; -- xdr_rpc_gss_init_args; -- xdr_rpc_gss_init_res; -- xdr_rpcb; -- xdr_rpcb_entry; -- xdr_rpcb_entry_list_ptr; -- xdr_rpcb_rmtcallargs; -- xdr_rpcb_rmtcallres; -- xdr_rpcb_stat; -- xdr_rpcb_stat_byvers; -- xdr_rpcblist; -- xdr_rpcblist_ptr; -- xdr_rpcbs_addrlist; -- xdr_rpcbs_addrlist_ptr; -- xdr_rpcbs_proc; -- xdr_rpcbs_rmtcalllist; -- xdr_rpcbs_rmtcalllist_ptr; -- xdr_short; -- xdr_string; -- xdr_u_char; -- xdr_u_hyper; -- xdr_u_int16_t; -- xdr_u_int32_t; -- xdr_u_int64_t; -- xdr_u_int8_t; -- xdr_u_int; -- xdr_u_long; -- xdr_u_longlong_t; -- xdr_u_quad_t; -- xdr_u_short; -- xdr_uint16_t; -- xdr_uint32_t; -- xdr_uint64_t; -- xdr_uint8_t; -- xdr_union; -- xdr_vector; -- xdr_void; -- xdr_wrapstring; -- xdrmem_create; -- xdrrec_create; -- xdrrec_endofrecord; -- xdrrec_eof; -- xdrrec_skiprecord; -- xdrstdio_create; -- xprt_register; -- xprt_unregister; -- -- local: -- *; --}; -- --TIRPC_0.3.1 { -- svcauth_gss_get_principal; -- svcauth_gss_set_svc_name; --} TIRPC_0.3.0; -- --TIRPC_0.3.2 { -- getnetname; -- getpublicandprivatekey; -- getpublickey; -- host2netname; -- key_call_destroy; -- key_decryptsession; -- key_decryptsession_pk; -- key_encryptsession; -- key_encryptsession_pk; -- key_gendes; -- key_get_conv; -- key_setsecret; -- key_secretkey_is_set; -- key_setnet; -- netname2host; -- netname2user; -- rtime; -- user2netname; -- xdr_cryptkeyarg; -- xdr_cryptkeyarg2; -- xdr_cryptkeyres; -- xdr_getcredres; -- xdr_key_netstarg; -- xdr_key_netstres; -- xdr_keybuf; -- xdr_keystatus; -- xdr_netnamestr; -- xdr_unixcred; --} TIRPC_0.3.1; -- --TIRPC_0.3.3 { -- __getpublickey_LOCAL; -- __key_decryptsession_pk_LOCAL; -- __key_encryptsession_pk_LOCAL; -- __key_gendes_LOCAL; -- xdr_sizeof; -- authdes_pk_create; -- svc_pollfd; -- svc_max_pollfd; --} TIRPC_0.3.2; -- --TIRPC_PRIVATE { -- global: -- __libc_clntudp_bufcreate; -- # private, but used by rpcbind: -- __svc_clean_idle; svc_auth_none; libtirpc_set_debug; --}; ---- /dev/null -+++ b/src/libtirpc.map.in -@@ -0,0 +1,303 @@ -+TIRPC_0.3.0 { -+ global: -+ # __* -+ __rpc_createerr; -+ __rpc_dtbsize; -+ __rpc_endconf; -+ __rpc_fd2sockinfo; -+ __rpc_fixup_addr; -+ __rpc_get_a_size; -+ __rpc_get_local_uid; -+ __rpc_get_t_size; -+ __rpc_getconf; -+ __rpc_getconfip; -+ __rpc_nconf2fd; -+ __rpc_nconf2fd_flags; -+ __rpc_nconf2sockinfo; -+ __rpc_rawcombuf; -+ __rpc_seman2socktype; -+ __rpc_setconf; -+ __rpc_sockinfo2netid; -+ __rpc_sockisbound; -+ __rpc_socktype2seman; -+ __rpc_taddr2uaddr_af; -+ __rpc_uaddr2taddr_af; -+ __rpcgettp; -+ -+ # _* -+ _authenticate; -+ _get_next_token; -+ _gss_authenticate; -+ _null_auth; -+ _rpc_dtablesize; -+ _seterr_reply; -+ _svcauth_none; -+ _svcauth_short; -+ _svcauth_unix; -+ -+ # a* -+ authdes_create; -+ authdes_seccreate; -+ authnone_create; -+ authunix_create; -+ authunix_create_default; -+ -+ # b* -+ bindresvport; -+ bindresvport_sa; -+ -+ # c* -+ callrpc; -+ clnt_broadcast; -+ clnt_create; -+ clnt_create_timed; -+ clnt_create_vers; -+ clnt_create_vers_timed; -+ clnt_dg_create; -+ clnt_pcreateerror; -+ clnt_perrno; -+ clnt_perror; -+ clnt_raw_create; -+ clnt_spcreateerror; -+ clnt_sperrno; -+ clnt_sperror; -+ clnt_tli_create; -+ clnt_tp_create; -+ clnt_tp_create_timed; -+ clnt_vc_create; -+ clntraw_create; -+ clnttcp_create; -+ clntudp_bufcreate; -+ clntudp_create; -+ clntunix_create; -+ -+ # e* -+ endnetconfig; -+ endnetpath; -+ -+ # f* -+ freenetconfigent; -+ -+ # g* -+ get_myaddress; -+ getnetconfig; -+ getnetconfigent; -+ getnetpath; -+ getrpcport; -+ -+ # n* -+ nc_perror; -+ nc_sperror; -+ -+ # p* -+ pmap_getmaps; -+ pmap_getport; -+ pmap_rmtcall; -+ pmap_set; -+ pmap_unset; -+ -+ # r* -+ registerrpc; -+ rpc_broadcast; -+ rpc_broadcast_exp; -+ rpc_call; -+ rpc_control; -+ rpc_createerr; -+ rpc_nullproc; -+ rpc_reg; -+ rpcb_getaddr; -+ rpcb_getmaps; -+ rpcb_gettime; -+ rpcb_rmtcall; -+ rpcb_set; -+ rpcb_taddr2uaddr; -+ rpcb_uaddr2taddr; -+ rpcb_unset; -+ -+ # s* -+ setnetconfig; -+ setnetpath; -+ svc_auth_reg; -+ svc_create; -+ svc_dg_create; -+ svc_dg_enablecache; -+ svc_exit; -+ svc_fd_create; -+ svc_fdset; -+ svc_getreq; -+ svc_getreq_common; -+ svc_getreq_poll; -+ svc_getreqset; -+ svc_maxfd; -+ svc_raw_create; -+ svc_reg; -+ svc_register; -+ svc_run; -+ svc_sendreply; -+ svc_tli_create; -+ svc_tp_create; -+ svc_unreg; -+ svc_unregister; -+ svc_vc_create; -+ svcerr_auth; -+ svcerr_decode; -+ svcerr_noproc; -+ svcerr_noprog; -+ svcerr_progvers; -+ svcerr_systemerr; -+ svcerr_weakauth; -+ svcfd_create; -+ svcraw_create; -+ svctcp_create; -+ svcudp_bufcreate; -+ svcudp_create; -+ svcunix_create; -+ svcunixfd_create; -+ -+ # t* -+ taddr2uaddr; -+ -+ # u* -+ uaddr2taddr; -+ -+ # x* -+ xdr_accepted_reply; -+ xdr_array; -+ xdr_authunix_parms; -+ xdr_bool; -+ xdr_bytes; -+ xdr_callhdr; xdr_callmsg; -+ xdr_char; -+ xdr_des_block; -+ xdr_double; -+ xdr_enum; -+ xdr_float; -+ xdr_free; -+ xdr_hyper; -+ xdr_int16_t; -+ xdr_int32_t; -+ xdr_int64_t; -+ xdr_int8_t; -+ xdr_int; -+ xdr_long; -+ xdr_longlong_t; -+ xdr_netbuf; -+ xdr_netobj; -+ xdr_opaque; -+ xdr_opaque_auth; -+ xdr_pmap; -+ xdr_pmaplist; -+ xdr_pmaplist_ptr; -+ xdr_pointer; -+ xdr_quad_t; -+ xdr_reference; -+ xdr_rejected_reply; -+ xdr_replymsg; -+ xdr_rmtcall_args; -+ xdr_rmtcallres; -+ xdr_rpcb; -+ xdr_rpcb_entry; -+ xdr_rpcb_entry_list_ptr; -+ xdr_rpcb_rmtcallargs; -+ xdr_rpcb_rmtcallres; -+ xdr_rpcb_stat; -+ xdr_rpcb_stat_byvers; -+ xdr_rpcblist; -+ xdr_rpcblist_ptr; -+ xdr_rpcbs_addrlist; -+ xdr_rpcbs_addrlist_ptr; -+ xdr_rpcbs_proc; -+ xdr_rpcbs_rmtcalllist; -+ xdr_rpcbs_rmtcalllist_ptr; -+ xdr_short; -+ xdr_string; -+ xdr_u_char; -+ xdr_u_hyper; -+ xdr_u_int16_t; -+ xdr_u_int32_t; -+ xdr_u_int64_t; -+ xdr_u_int8_t; -+ xdr_u_int; -+ xdr_u_long; -+ xdr_u_longlong_t; -+ xdr_u_quad_t; -+ xdr_u_short; -+ xdr_uint16_t; -+ xdr_uint32_t; -+ xdr_uint64_t; -+ xdr_uint8_t; -+ xdr_union; -+ xdr_vector; -+ xdr_void; -+ xdr_wrapstring; -+ xdrmem_create; -+ xdrrec_create; -+ xdrrec_endofrecord; -+ xdrrec_eof; -+ xdrrec_skiprecord; -+ xdrstdio_create; -+ xprt_register; -+ xprt_unregister; -+ # GSS-API symbols (conditionally included) -+@GSS_SYMBOLS@ -+ # DES crypto symbols (conditionally included) -+@DES_SYMBOLS@ -+ # RPC database symbols (conditionally included) -+@RPCDB_SYMBOLS@ -+ -+ local: -+ *; -+}; -+ -+TIRPC_0.3.1 { -+# GSS-API symbols (conditionally included) -+@GSS_SYMBOLS_031@ -+} TIRPC_0.3.0; -+ -+TIRPC_0.3.2 { -+ getnetname; -+ getpublicandprivatekey; -+ getpublickey; -+ host2netname; -+ key_decryptsession; -+ key_decryptsession_pk; -+ key_encryptsession; -+ key_encryptsession_pk; -+ key_gendes; -+ key_get_conv; -+ key_setsecret; -+ key_secretkey_is_set; -+ key_setnet; -+ netname2host; -+ netname2user; -+ rtime; -+ user2netname; -+ xdr_cryptkeyarg; -+ xdr_cryptkeyarg2; -+ xdr_cryptkeyres; -+ xdr_getcredres; -+ xdr_key_netstarg; -+ xdr_key_netstres; -+ xdr_keybuf; -+ xdr_keystatus; -+ xdr_netnamestr; -+ xdr_unixcred; -+} TIRPC_0.3.1; -+ -+TIRPC_0.3.3 { -+ __getpublickey_LOCAL; -+ __key_decryptsession_pk_LOCAL; -+ __key_encryptsession_pk_LOCAL; -+ __key_gendes_LOCAL; -+ xdr_sizeof; -+ authdes_pk_create; -+ svc_pollfd; -+ svc_max_pollfd; -+} TIRPC_0.3.2; -+ -+TIRPC_PRIVATE { -+ global: -+ __libc_clntudp_bufcreate; -+ # private, but used by rpcbind: -+ __svc_clean_idle; svc_auth_none; libtirpc_set_debug; -+};diff --git
a/meta/recipes-extended/libtirpc/libtirpc/0001-Update-declarations-to-allow-compile-with-gcc-15.patchb/meta/recipes-extended/libtirpc/libtirpc/0001-Update-declarations-to-allow-compile-with-gcc-15.patchdeleted file mode 100644
index 7bfe7c2924..0000000000
---a/meta/recipes-extended/libtirpc/libtirpc/0001-Update-declarations-to-allow-compile-with-gcc-15.patch+++/dev/nullmeta/recipes-extended/libtirpc/libtirpc/0001-Update-declarations-to-allow-compile-with-gcc-15.patch deleted +0
-14@@ -1,64 +0,0 @@ -From b526c0a90953f47d4cbf7ef01e9ac13e9e76904a Mon Sep 17 00:00:00 2001 -From: Rudi Heitbaum <[email protected]> -Date: Thu, 12 Dec 2024 04:16:02 -0500 -Subject: [PATCH 1/2] 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; - -Upstream-Status: Backport [https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=d473f1e1f6ba80bfaee4daa058da159305167323
]meta/recipes-extended/libtirpc/libtirpc/0001-Update-declarations-to-allow-compile-with-gcc-15.patch deleted +0
-14-Signed-off-by: Rudi Heitbaum <[email protected]> -Signed-off-by: Steve Dickson <[email protected]> -Signed-off-by: Khem Raj <[email protected]> ---- - src/auth_none.c | 2 +- - src/getpublickey.c | 2 +- - src/svc_auth_none.c | 4 ++-- - 3 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/src/auth_none.c b/src/auth_none.c -index 0b0bbd1..aca6e71 100644 ---- a/src/auth_none.c -+++ b/src/auth_none.c -@@ -62,7 +62,7 @@ static bool_t authnone_validate (AUTH *, struct
opaque_auth*);
- staticbool_tauthnone_refresh(AUTH *, void *);
- static voidauthnone_destroy(AUTH *);meta/recipes-extended/libtirpc/libtirpc/0001-Update-declarations-to-allow-compile-with-gcc-15.patch deleted +0
-31- --extern bool_t xdr_opaque_auth(); -+extern bool_t xdr_opaque_auth(XDR *, struct opaque_auth *); - - static struct auth_ops *authnone_ops(); - -diff --git a/src/getpublickey.c b/src/getpublickey.c -index be37a24..4e96c7c 100644 ---- a/src/getpublickey.c -+++ b/src/getpublickey.c -@@ -52,7 +52,7 @@ - /* - * Hack to let ypserv/rpc.nisd use AUTH_DES. - */ --int (*__getpublickey_LOCAL)() = 0; -+int (*__getpublickey_LOCAL)(const char *, char *) = 0; - - /* - * Get somebody's public key -diff --git a/src/svc_auth_none.c b/src/svc_auth_none.c -index 887e809..5ca98e9 100644 ---- a/src/svc_auth_none.c -+++ b/src/svc_auth_none.c -@@ -37,8 +37,8 @@ - - #include <rpc/rpc.h> - --static bool_t svcauth_none_destroy(); --static bool_t svcauth_none_wrap(); -+static bool_t svcauth_none_destroy(SVCAUTH *); -+static bool_t svcauth_none_wrap(SVCAUTH *, XDR *, bool_t (*)(XDR *,...), char *);
meta/recipes-extended/libtirpc/libtirpc/0001-Update-declarations-to-allow-compile-with-gcc-15.patch deleted +0
-3- - struct svc_auth_ops svc_auth_none_ops = { - svcauth_none_wrap,diff --git
a/meta/recipes-extended/libtirpc/libtirpc/0002-update-signal-and-key_call-declarations-to-allow-com.patchb/meta/recipes-extended/libtirpc/libtirpc/0002-update-signal-and-key_call-declarations-to-allow-com.patchdeleted file mode 100644
index 83e2105a1a..0000000000
---a/meta/recipes-extended/libtirpc/libtirpc/0002-update-signal-and-key_call-declarations-to-allow-com.patch+++/dev/nullmeta/recipes-extended/libtirpc/libtirpc/0002-update-signal-and-key_call-declarations-to-allow-com.patch deleted +0
-4@@ -1,60 +0,0 @@ -From 55452e6ae71869880f8c85d5dba9aa24d7147d8b Mon Sep 17 00:00:00 2001 -From: Rudi Heitbaum <[email protected]> -Date: Thu, 2 Jan 2025 08:46:24 -0500 -Subject: [PATCH 2/2] update signal and key_call declarations to allowcompile
- with gcc-15meta/recipes-extended/libtirpc/libtirpc/0002-update-signal-and-key_call-declarations-to-allow-com.patch deleted +0
-8- -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; - -Upstream-Status: Backport [https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=240ee6c774729c9c24812aa8912f1fcf8996b162
]meta/recipes-extended/libtirpc/libtirpc/0002-update-signal-and-key_call-declarations-to-allow-com.patch deleted +0
-18-Signed-off-by: Rudi Heitbaum <[email protected]> -Signed-off-by: Steve Dickson <[email protected]> -Signed-off-by: Khem Raj <[email protected]> ---- - src/auth_time.c | 4 ++-- - src/key_call.c | 6 +++--- - 2 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/src/auth_time.c b/src/auth_time.c -index 936dd76..c21b1df 100644 ---- a/src/auth_time.c -+++ b/src/auth_time.c -@@ -248,7 +248,7 @@ __rpc_get_time_offset(td, srv, thost, uaddr, netid) - char ut[64], ipuaddr[64]; - endpoint teps[32]; - nis_server tsrv; -- void (*oldsig)() = NULL; /* old alarm handler */ -+ void (*oldsig)(int) = NULL; /* old alarmhandler */
meta/recipes-extended/libtirpc/libtirpc/0002-update-signal-and-key_call-declarations-to-allow-com.patch deleted +0
-9- struct sockaddr_in sin; - int s = RPC_ANYSOCK; - socklen_t len; -@@ -417,7 +417,7 @@ __rpc_get_time_offset(td, srv, thost, uaddr, netid) - } else { - int res; - -- oldsig = (void (*)())signal(SIGALRM, alarm_hndler); -+ oldsig = (void (*)(int))signal(SIGALRM,
alarm_hndler);meta/recipes-extended/libtirpc/libtirpc/0002-update-signal-and-key_call-declarations-to-allow-com.patch deleted +0
-3- saw_alarm = 0; /* global tracking the alarm */ - alarm(20); /* only wait 20 seconds */ - res = connect(s, (struct sockaddr *)&sin,sizeof(sin));
meta/recipes-extended/libtirpc/libtirpc/0002-update-signal-and-key_call-declarations-to-allow-com.patch deleted +0
-17-diff --git a/src/key_call.c b/src/key_call.c -index 9f4b1d2..43f990e 100644 ---- a/src/key_call.c -+++ b/src/key_call.c -@@ -72,9 +72,9 @@ - * implementations of these functions, and to call those in key_call(). - */ - --cryptkeyres *(*__key_encryptsession_pk_LOCAL)() = 0; --cryptkeyres *(*__key_decryptsession_pk_LOCAL)() = 0; --des_block *(*__key_gendes_LOCAL)() = 0; -+cryptkeyres *(*__key_encryptsession_pk_LOCAL)(uid_t, char *) = 0; -+cryptkeyres *(*__key_decryptsession_pk_LOCAL)(uid_t, char *) = 0; -+des_block *(*__key_gendes_LOCAL)(uid_t, char *) = 0; - - static int key_call( u_long, xdrproc_t, void *, xdrproc_t, void *); -meta/recipes-extended/libtirpc/libtirpc_1.3.7.bb renamed from meta/recipes-extended/libtirpc/libtirpc_1.3.6.bb +0
-3@@ -10,13 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f835cce8852481e4b2bbbdd23b5e47f3 \ PROVIDES = "virtual/librpc" SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2 \ - file://0001-Update-declarations-to-allow-compile-with-gcc-15.patch \ - file://0002-update-signal-and-key_call-declarations-to-allow-com.patch \ - file://0001-Add-conditional-version-script-support.patch \ " UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/libtirpc/files/libtirpc/"
UPSTREAM_CHECK_REGEX= "(?P<pver>\d+(\.\d+)+)/"
-SRC_URI[sha256sum] = "bbd26a8f0df5690a62a47f6aa30f797f3ef8d02560d1bc449a83066b5a1d3508" +SRC_URI[sha256sum] = "b47d3ac19d3549e54a05d0019a6c400674da716123858cfdb6d3bdd70a66c702"inherit autotools pkgconfig
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#226890):
https://lists.openembedded.org/g/openembedded-core/message/226890
Mute This Topic: https://lists.openembedded.org/mt/116510360/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH 07/14] libtirpc: upgrade 1.3.6 -> 1.3.7
Quoted 3 lines · Khem Raj
have you tried building it with -fuse-ld=lld and TOOLCHAIN = "clang"
Hi Khem,
I gave it a try and it failed to configure with error:
configure: error: C compiler cannot create executables
config.log has following error:
configure:4033: x86_64-poky-linux-clang -m64 -march=x86-64-v3
-fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat
-Wformat-security -Werror=format-security --sysroot=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot
-O2 -g -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/sources/libtirpc-1.3.7=/usr/src/debug/libtirpc/1.3.7
-ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/build=/usr/src/debug/libtirpc/1.3.7 -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot= -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot-native= -pipe -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
-ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/sources/libtirpc-1.3.7=/usr/src/debug/libtirpc/1.3.7
-ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/build=/usr/src/debug/libtirpc/1.3.7 -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot= -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot-native= -Wl,-z,relro,-z,now -fuse-ld=lld conftest.c >&5
x86_64-poky-linux-ld.lld: error: unable to find library -lgcc_s
x86_64-poky-linux-ld.lld: error: unable to find library -lgcc_s
I will look into it, thanks for highlighting it.
cheers
Ankur
Quoted 1,001 lines · Ankur Tyagi via lists.openembedded.org
Quoted 1,000 lines
From: Ankur Tyagi <[email protected]>
Dropped patches merged in the upstream.
Signed-off-by Ankur Tyagi <[email protected]>--- ...d-conditional-version-script-support.patch | 810 ------------------ ...rations-to-allow-compile-with-gcc-15.patch | 64 -- ...d-key_call-declarations-to-allow-com.patch | 60 -- .../{libtirpc_1.3.6.bb => libtirpc_1.3.7.bb} | 5 +- 4 files changed, 1 insertion(+), 938 deletions(-) delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patch delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/0001-Update-declarations-to-allow-compile-with-gcc-15.patch delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/0002-update-signal-and-key_call-declarations-to-allow-com.patch rename meta/recipes-extended/libtirpc/{libtirpc_1.3.6.bb => libtirpc_1.3.7.bb} (78%)meta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patch deleted +0
-810@@ -1,810 +0,0 @@ -From 8ae9a335d56fc4aba8454159b326d809efca597f Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Mon, 11 Aug 2025 21:13:59 -0700 -Subject: [PATCH] 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. - -Upstream-Status: Submitted [https://lore.kernel.org/linux-nfs/[email protected]/T/#u] -Signed-off-by: Khem Raj <[email protected]> ---- - configure.ac | 50 +++++++++++++++++++++++++++ - src/Makefile.am | 21 +++++++++-- - src/{libtirpc.map => libtirpc.map.in} | 48 +++++-------------------- - 3 files changed, 77 insertions(+), 42 deletions(-) - rename src/{libtirpc.map => libtirpc.map.in} (84%) - ---- a/configure.ac -+++ b/configure.ac -@@ -77,6 +77,19 @@ if test "x$enable_ipv6" != xno; then - AC_DEFINE(INET6, 1, [Define to 1 if IPv6 is available]) - fi - -+# RPC database support -+AC_ARG_ENABLE(rpcdb, -+ [AS_HELP_STRING([--enable-rpcdb], [Enable RPC Database support @<:@default=no@:>@])], -+ [], [enable_rpcdb=no]) -+AM_CONDITIONAL(RPCDB, test "x$enable_rpcdb" = xyes) -+if test "x$enable_rpcdb" != "xno"; then -+ AC_CHECK_FUNCS([getrpcent getrpcbyname getrpcbynumber], [have_rpcdb=yes]) -+ -+ if test "x$have_rpcdb" = "xyes"; then -+ AC_DEFINE([RPCDB], [1], [Define if RPC database support is available]) -+ fi -+fi -+ - AC_ARG_ENABLE(symvers, - [AS_HELP_STRING([--disable-symvers],[Disable symbol versioning @<:@default=no@:>@])], - [],[enable_symvers=maybe]) -@@ -97,6 +110,33 @@ fi - - AM_CONDITIONAL(SYMVERS, test "x$enable_symvers" = xyes) - -+# Generate symbol lists for version script -+if test "x$enable_gssapi" = "xyes"; then -+ GSS_SYMBOLS="_svcauth_gss; authgss_create; authgss_create_default; authgss_free_private_data; authgss_get_private_data; authgss_service; gss_log_debug; gss_log_hexdump; gss_log_status; rpc_gss_get_error; rpc_gss_get_mech_info; rpc_gss_get_mechanisms; rpc_gss_get_principal_name; rpc_gss_get_versions; rpc_gss_qop_to_num; rpc_gss_seccreate; rpc_gss_set_callback; rpc_gss_set_defaults; rpc_gss_set_svc_name; rpc_gss_svc_max_data_length;" -+ -+ GSS_SYMBOLS_031="svcauth_gss_get_principal; svcauth_gss_set_svc_name;" -+else -+ GSS_SYMBOLS="" -+ GSS_SYMBOLS_031="" -+fi -+ -+if test "x$enable_authdes" = "xyes"; then -+ DES_SYMBOLS="cbc_crypt; ecb_crypt; xdr_authdes_cred; xdr_authdes_verf; xdr_rpc_gss_cred; xdr_rpc_gss_data; xdr_rpc_gss_init_args; xdr_rpc_gss_init_res;" -+else -+ DES_SYMBOLS="" -+fi -+ -+if test "x$enable_rpcdb" = "xyes"; then -+ RPCDB_SYMBOLS="endrpcent; getrpcent; getrpcbynumber; getrpcbyname; setrpcent;" -+else -+ RPCDB_SYMBOLS="" -+fi -+ -+AC_SUBST([GSS_SYMBOLS]) -+AC_SUBST([GSS_SYMBOLS_031]) -+AC_SUBST([DES_SYMBOLS]) -+AC_SUBST([RPCDB_SYMBOLS]) -+ - AC_CANONICAL_BUILD - # Check for which host we are on and setup a few things - # specifically based on the host -@@ -167,7 +207,16 @@ AC_CHECK_FUNCS([getpeereid getrpcbyname - AC_CHECK_TYPES(struct rpcent,,, [ - #include <netdb.h>]) - AC_CONFIG_FILES([Makefile src/Makefile man/Makefile doc/Makefile]) -+AC_CONFIG_FILES([src/libtirpc.map]) - AC_CONFIG_FILES([libtirpc.pc]) - AC_OUTPUT - -+# Configuration summary -+AC_MSG_NOTICE([ -+libtirpc configuration summary: -+ GSS-API support: $enable_gssapi -+ DES crypto support: $enable_authdes -+ RPC database support: $enable_rpcdb -+ Symbol versioning: $enable_symvers -+]) - ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -6,6 +6,9 @@ - ## anything like that. - - noinst_HEADERS = rpc_com.h debug.h -+EXTRA_DIST = libtirpc.map.in -+# Generated files -+BUILT_SOURCES = libtirpc.map - - AM_CPPFLAGS = -I$(top_srcdir)/tirpc -include config.h -DPORTMAP -DINET6 \ - -D_GNU_SOURCE -Wall -pipe -@@ -15,10 +18,19 @@ lib_LTLIBRARIES = libtirpc.la - libtirpc_la_LDFLAGS = @LDFLAG_NOUNDEFINED@ -no-undefined @PTHREAD_LIBS@ - libtirpc_la_LDFLAGS += -version-info @LT_VERSION_INFO@ - -+# Generate version script from template -+libtirpc.map: $(srcdir)/libtirpc.map.in -+ $(AM_V_GEN)$(SED) \ -+ -e 's|@GSS_SYMBOLS@|$(GSS_SYMBOLS)|g' \ -+ -e 's|@GSS_SYMBOLS_031@|$(GSS_SYMBOLS_031)|g' \ -+ -e 's|@DES_SYMBOLS@|$(DES_SYMBOLS)|g' \ -+ -e 's|@RPCDB_SYMBOLS@|$(RPCDB_SYMBOLS)|g' \ -+ < $(srcdir)/libtirpc.map.in > $@ || rm -f $@ -+ - libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c \ - binddynport.c bindresvport.c \ - clnt_bcast.c clnt_dg.c clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c \ -- clnt_vc.c rpc_dtablesize.c getnetconfig.c getnetpath.c getrpcent.c \ -+ clnt_vc.c rpc_dtablesize.c getnetconfig.c getnetpath.c \ - getrpcport.c mt_misc.c pmap_clnt.c pmap_getmaps.c pmap_getport.c \ - pmap_prot.c pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c \ - rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \ -@@ -34,19 +46,23 @@ endif - libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c xdr_sizeof.c - - if SYMVERS -- libtirpc_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libtirpc.map -+ libtirpc_la_LDFLAGS += -Wl,--version-script=$(builddir)/libtirpc.map - endif - - ## Secure-RPC - if GSS -- libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c \ -- rpc_gss_utils.c -- libtirpc_la_LIBADD = $(GSSAPI_LIBS) -- libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS) -+libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c rpc_gss_utils.c -+libtirpc_la_LIBADD = $(GSSAPI_LIBS) -+libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS) -+endif -+ -+# Conditionally add RPC database sources -+if RPCDB -+libtirpc_la_SOURCES += getrpcent.c - endif - - libtirpc_la_SOURCES += key_call.c key_prot_xdr.c getpublickey.c - libtirpc_la_SOURCES += netname.c netnamer.c rpcdname.c rtime.c - --CLEANFILES = cscope.* *~ -+CLEANFILES = cscope.* libtirpc.map *~ - DISTCLEANFILES = Makefile.in ---- a/src/libtirpc.map -+++ /dev/null -@@ -1,335 +0,0 @@ --TIRPC_0.3.0 { -- global: -- # __* -- __rpc_createerr; -- __rpc_dtbsize; -- __rpc_endconf; -- __rpc_fd2sockinfo; -- __rpc_fixup_addr; -- __rpc_get_a_size; -- __rpc_get_local_uid; -- __rpc_get_t_size; -- __rpc_getconf; -- __rpc_getconfip; -- __rpc_nconf2fd; -- __rpc_nconf2fd_flags; -- __rpc_nconf2sockinfo; -- __rpc_rawcombuf; -- __rpc_seman2socktype; -- __rpc_setconf; -- __rpc_sockinfo2netid; -- __rpc_sockisbound; -- __rpc_socktype2seman; -- __rpc_taddr2uaddr_af; -- __rpc_uaddr2taddr_af; -- __rpcgettp; -- -- # _* -- _authenticate; -- _get_next_token; -- _gss_authenticate; -- _null_auth; -- _rpc_dtablesize; -- _seterr_reply; -- _svcauth_none; -- _svcauth_short; -- _svcauth_unix; -- _svcauth_gss; -- -- # a* -- authdes_create; -- authdes_seccreate; -- authgss_create; -- authgss_create_default; -- authgss_free_private_data; -- authgss_get_private_data; -- authgss_service; -- authnone_create; -- authunix_create; -- authunix_create_default; -- -- # b* -- bindresvport; -- bindresvport_sa; -- -- # c* -- callrpc; -- cbc_crypt; -- clnt_broadcast; -- clnt_create; -- clnt_create_timed; -- clnt_create_vers; -- clnt_create_vers_timed; -- clnt_dg_create; -- clnt_pcreateerror; -- clnt_perrno; -- clnt_perror; -- clnt_raw_create; -- clnt_spcreateerror; -- clnt_sperrno; -- clnt_sperror; -- clnt_tli_create; -- clnt_tp_create; -- clnt_tp_create_timed; -- clnt_vc_create; -- clntraw_create; -- clnttcp_create; -- clntudp_bufcreate; -- clntudp_create; -- clntunix_create; -- -- # e* -- ecb_crypt; -- endnetconfig; -- endnetpath; -- endrpcent; -- -- # f* -- freenetconfigent; -- -- # g* -- get_myaddress; -- getnetconfig; -- getnetconfigent; -- getnetpath; -- getrpcent; -- getrpcbynumber; -- getrpcbyname; -- getrpcport; -- gss_log_debug; -- gss_log_hexdump; -- gss_log_status; -- -- # n* -- nc_perror; -- nc_sperror; -- -- # p* -- pmap_getmaps; -- pmap_getport; -- pmap_rmtcall; -- pmap_set; -- pmap_unset; -- -- # r* -- registerrpc; -- rpc_broadcast; -- rpc_broadcast_exp; -- rpc_call; -- rpc_control; -- rpc_createerr; -- rpc_gss_get_error; -- rpc_gss_get_mech_info; -- rpc_gss_get_mechanisms; -- rpc_gss_get_principal_name; -- rpc_gss_get_versions; -- rpc_gss_getcred; -- rpc_gss_is_installed; -- rpc_gss_max_data_length; -- rpc_gss_mech_to_oid; -- rpc_gss_qop_to_num; -- rpc_gss_seccreate; -- rpc_gss_set_callback; -- rpc_gss_set_defaults; -- rpc_gss_set_svc_name; -- rpc_gss_svc_max_data_length; -- rpc_nullproc; -- rpc_reg; -- rpcb_getaddr; -- rpcb_getmaps; -- rpcb_gettime; -- rpcb_rmtcall; -- rpcb_set; -- rpcb_taddr2uaddr; -- rpcb_uaddr2taddr; -- rpcb_unset; -- -- # s* -- setnetconfig; -- setnetpath; -- setrpcent; -- svc_auth_reg; -- svc_create; -- svc_dg_create; -- svc_dg_enablecache; -- svc_exit; -- svc_fd_create; -- svc_fdset; -- svc_getreq; -- svc_getreq_common; -- svc_getreq_poll; -- svc_getreqset; -- svc_maxfd; -- svc_raw_create; -- svc_reg; -- svc_register; -- svc_run; -- svc_sendreply; -- svc_tli_create; -- svc_tp_create; -- svc_unreg; -- svc_unregister; -- svc_vc_create; -- svcerr_auth; -- svcerr_decode; -- svcerr_noproc; -- svcerr_noprog; -- svcerr_progvers; -- svcerr_systemerr; -- svcerr_weakauth; -- svcfd_create; -- svcraw_create; -- svctcp_create; -- svcudp_bufcreate; -- svcudp_create; -- svcunix_create; -- svcunixfd_create; -- -- # t* -- taddr2uaddr; -- -- # u* -- uaddr2taddr; -- -- # x* -- xdr_accepted_reply; -- xdr_array; -- xdr_authdes_cred; -- xdr_authdes_verf; -- xdr_authunix_parms; -- xdr_bool; -- xdr_bytes; -- xdr_callhdr; xdr_callmsg; -- xdr_char; -- xdr_des_block; -- xdr_double; -- xdr_enum; -- xdr_float; -- xdr_free; -- xdr_hyper; -- xdr_int16_t; -- xdr_int32_t; -- xdr_int64_t; -- xdr_int8_t; -- xdr_int; -- xdr_long; -- xdr_longlong_t; -- xdr_netbuf; -- xdr_netobj; -- xdr_opaque; -- xdr_opaque_auth; -- xdr_pmap; -- xdr_pmaplist; -- xdr_pmaplist_ptr; -- xdr_pointer; -- xdr_quad_t; -- xdr_reference; -- xdr_rejected_reply; -- xdr_replymsg; -- xdr_rmtcall_args; -- xdr_rmtcallres; -- xdr_rpc_gss_cred; -- xdr_rpc_gss_data; -- xdr_rpc_gss_init_args; -- xdr_rpc_gss_init_res; -- xdr_rpcb; -- xdr_rpcb_entry; -- xdr_rpcb_entry_list_ptr; -- xdr_rpcb_rmtcallargs; -- xdr_rpcb_rmtcallres; -- xdr_rpcb_stat; -- xdr_rpcb_stat_byvers; -- xdr_rpcblist; -- xdr_rpcblist_ptr; -- xdr_rpcbs_addrlist; -- xdr_rpcbs_addrlist_ptr; -- xdr_rpcbs_proc; -- xdr_rpcbs_rmtcalllist; -- xdr_rpcbs_rmtcalllist_ptr; -- xdr_short; -- xdr_string; -- xdr_u_char; -- xdr_u_hyper; -- xdr_u_int16_t; -- xdr_u_int32_t; -- xdr_u_int64_t; -- xdr_u_int8_t; -- xdr_u_int; -- xdr_u_long; -- xdr_u_longlong_t; -- xdr_u_quad_t; -- xdr_u_short; -- xdr_uint16_t; -- xdr_uint32_t; -- xdr_uint64_t; -- xdr_uint8_t; -- xdr_union; -- xdr_vector; -- xdr_void; -- xdr_wrapstring; -- xdrmem_create; -- xdrrec_create; -- xdrrec_endofrecord; -- xdrrec_eof; -- xdrrec_skiprecord; -- xdrstdio_create; -- xprt_register; -- xprt_unregister; -- -- local: -- *; --}; -- --TIRPC_0.3.1 { -- svcauth_gss_get_principal; -- svcauth_gss_set_svc_name; --} TIRPC_0.3.0; -- --TIRPC_0.3.2 { -- getnetname; -- getpublicandprivatekey; -- getpublickey; -- host2netname; -- key_call_destroy; -- key_decryptsession; -- key_decryptsession_pk; -- key_encryptsession; -- key_encryptsession_pk; -- key_gendes; -- key_get_conv; -- key_setsecret; -- key_secretkey_is_set; -- key_setnet; -- netname2host; -- netname2user; -- rtime; -- user2netname; -- xdr_cryptkeyarg; -- xdr_cryptkeyarg2; -- xdr_cryptkeyres; -- xdr_getcredres; -- xdr_key_netstarg; -- xdr_key_netstres; -- xdr_keybuf; -- xdr_keystatus; -- xdr_netnamestr; -- xdr_unixcred; --} TIRPC_0.3.1; -- --TIRPC_0.3.3 { -- __getpublickey_LOCAL; -- __key_decryptsession_pk_LOCAL; -- __key_encryptsession_pk_LOCAL; -- __key_gendes_LOCAL; -- xdr_sizeof; -- authdes_pk_create; -- svc_pollfd; -- svc_max_pollfd; --} TIRPC_0.3.2; -- --TIRPC_PRIVATE { -- global: -- __libc_clntudp_bufcreate; -- # private, but used by rpcbind: -- __svc_clean_idle; svc_auth_none; libtirpc_set_debug; --}; ---- /dev/null -+++ b/src/libtirpc.map.in -@@ -0,0 +1,303 @@ -+TIRPC_0.3.0 { -+ global: -+ # __* -+ __rpc_createerr; -+ __rpc_dtbsize; -+ __rpc_endconf; -+ __rpc_fd2sockinfo; -+ __rpc_fixup_addr; -+ __rpc_get_a_size; -+ __rpc_get_local_uid; -+ __rpc_get_t_size; -+ __rpc_getconf; -+ __rpc_getconfip; -+ __rpc_nconf2fd; -+ __rpc_nconf2fd_flags; -+ __rpc_nconf2sockinfo; -+ __rpc_rawcombuf; -+ __rpc_seman2socktype; -+ __rpc_setconf; -+ __rpc_sockinfo2netid; -+ __rpc_sockisbound; -+ __rpc_socktype2seman; -+ __rpc_taddr2uaddr_af; -+ __rpc_uaddr2taddr_af; -+ __rpcgettp; -+ -+ # _* -+ _authenticate; -+ _get_next_token; -+ _gss_authenticate; -+ _null_auth; -+ _rpc_dtablesize; -+ _seterr_reply; -+ _svcauth_none; -+ _svcauth_short; -+ _svcauth_unix; -+ -+ # a* -+ authdes_create; -+ authdes_seccreate; -+ authnone_create; -+ authunix_create; -+ authunix_create_default; -+ -+ # b* -+ bindresvport; -+ bindresvport_sa; -+ -+ # c* -+ callrpc; -+ clnt_broadcast; -+ clnt_create; -+ clnt_create_timed; -+ clnt_create_vers; -+ clnt_create_vers_timed; -+ clnt_dg_create; -+ clnt_pcreateerror; -+ clnt_perrno; -+ clnt_perror; -+ clnt_raw_create; -+ clnt_spcreateerror; -+ clnt_sperrno; -+ clnt_sperror; -+ clnt_tli_create; -+ clnt_tp_create; -+ clnt_tp_create_timed; -+ clnt_vc_create; -+ clntraw_create; -+ clnttcp_create; -+ clntudp_bufcreate; -+ clntudp_create; -+ clntunix_create; -+ -+ # e* -+ endnetconfig; -+ endnetpath; -+ -+ # f* -+ freenetconfigent; -+ -+ # g* -+ get_myaddress; -+ getnetconfig; -+ getnetconfigent; -+ getnetpath; -+ getrpcport; -+ -+ # n* -+ nc_perror; -+ nc_sperror; -+ -+ # p* -+ pmap_getmaps; -+ pmap_getport; -+ pmap_rmtcall; -+ pmap_set; -+ pmap_unset; -+ -+ # r* -+ registerrpc; -+ rpc_broadcast; -+ rpc_broadcast_exp; -+ rpc_call; -+ rpc_control; -+ rpc_createerr; -+ rpc_nullproc; -+ rpc_reg; -+ rpcb_getaddr; -+ rpcb_getmaps; -+ rpcb_gettime; -+ rpcb_rmtcall; -+ rpcb_set; -+ rpcb_taddr2uaddr; -+ rpcb_uaddr2taddr; -+ rpcb_unset; -+ -+ # s* -+ setnetconfig; -+ setnetpath; -+ svc_auth_reg; -+ svc_create; -+ svc_dg_create; -+ svc_dg_enablecache; -+ svc_exit; -+ svc_fd_create; -+ svc_fdset; -+ svc_getreq; -+ svc_getreq_common; -+ svc_getreq_poll; -+ svc_getreqset; -+ svc_maxfd; -+ svc_raw_create; -+ svc_reg; -+ svc_register; -+ svc_run; -+ svc_sendreply; -+ svc_tli_create; -+ svc_tp_create; -+ svc_unreg; -+ svc_unregister; -+ svc_vc_create; -+ svcerr_auth; -+ svcerr_decode; -+ svcerr_noproc; -+ svcerr_noprog; -+ svcerr_progvers; -+ svcerr_systemerr; -+ svcerr_weakauth; -+ svcfd_create; -+ svcraw_create; -+ svctcp_create; -+ svcudp_bufcreate; -+ svcudp_create; -+ svcunix_create; -+ svcunixfd_create; -+ -+ # t* -+ taddr2uaddr; -+ -+ # u* -+ uaddr2taddr; -+ -+ # x* -+ xdr_accepted_reply; -+ xdr_array; -+ xdr_authunix_parms; -+ xdr_bool; -+ xdr_bytes; -+ xdr_callhdr; xdr_callmsg; -+ xdr_char; -+ xdr_des_block; -+ xdr_double; -+ xdr_enum; -+ xdr_float; -+ xdr_free; -+ xdr_hyper; -+ xdr_int16_t; -+ xdr_int32_t; -+ xdr_int64_t; -+ xdr_int8_t; -+ xdr_int; -+ xdr_long; -+ xdr_longlong_t; -+ xdr_netbuf; -+ xdr_netobj; -+ xdr_opaque; -+ xdr_opaque_auth; -+ xdr_pmap; -+ xdr_pmaplist; -+ xdr_pmaplist_ptr; -+ xdr_pointer; -+ xdr_quad_t; -+ xdr_reference; -+ xdr_rejected_reply; -+ xdr_replymsg; -+ xdr_rmtcall_args; -+ xdr_rmtcallres; -+ xdr_rpcb; -+ xdr_rpcb_entry; -+ xdr_rpcb_entry_list_ptr; -+ xdr_rpcb_rmtcallargs; -+ xdr_rpcb_rmtcallres; -+ xdr_rpcb_stat; -+ xdr_rpcb_stat_byvers; -+ xdr_rpcblist; -+ xdr_rpcblist_ptr; -+ xdr_rpcbs_addrlist; -+ xdr_rpcbs_addrlist_ptr; -+ xdr_rpcbs_proc; -+ xdr_rpcbs_rmtcalllist; -+ xdr_rpcbs_rmtcalllist_ptr; -+ xdr_short; -+ xdr_string; -+ xdr_u_char; -+ xdr_u_hyper; -+ xdr_u_int16_t; -+ xdr_u_int32_t; -+ xdr_u_int64_t; -+ xdr_u_int8_t; -+ xdr_u_int; -+ xdr_u_long; -+ xdr_u_longlong_t; -+ xdr_u_quad_t; -+ xdr_u_short; -+ xdr_uint16_t; -+ xdr_uint32_t; -+ xdr_uint64_t; -+ xdr_uint8_t; -+ xdr_union; -+ xdr_vector; -+ xdr_void; -+ xdr_wrapstring; -+ xdrmem_create; -+ xdrrec_create; -+ xdrrec_endofrecord; -+ xdrrec_eof; -+ xdrrec_skiprecord; -+ xdrstdio_create; -+ xprt_register; -+ xprt_unregister; -+ # GSS-API symbols (conditionally included) -+@GSS_SYMBOLS@ -+ # DES crypto symbols (conditionally included) -+@DES_SYMBOLS@ -+ # RPC database symbols (conditionally included) -+@RPCDB_SYMBOLS@ -+ -+ local: -+ *; -+}; -+ -+TIRPC_0.3.1 { -+# GSS-API symbols (conditionally included) -+@GSS_SYMBOLS_031@ -+} TIRPC_0.3.0; -+ -+TIRPC_0.3.2 { -+ getnetname; -+ getpublicandprivatekey; -+ getpublickey; -+ host2netname; -+ key_decryptsession; -+ key_decryptsession_pk; -+ key_encryptsession; -+ key_encryptsession_pk; -+ key_gendes; -+ key_get_conv; -+ key_setsecret; -+ key_secretkey_is_set; -+ key_setnet; -+ netname2host; -+ netname2user; -+ rtime; -+ user2netname; -+ xdr_cryptkeyarg; -+ xdr_cryptkeyarg2; -+ xdr_cryptkeyres; -+ xdr_getcredres; -+ xdr_key_netstarg; -+ xdr_key_netstres; -+ xdr_keybuf; -+ xdr_keystatus; -+ xdr_netnamestr; -+ xdr_unixcred; -+} TIRPC_0.3.1; -+ -+TIRPC_0.3.3 { -+ __getpublickey_LOCAL; -+ __key_decryptsession_pk_LOCAL; -+ __key_encryptsession_pk_LOCAL; -+ __key_gendes_LOCAL; -+ xdr_sizeof; -+ authdes_pk_create; -+ svc_pollfd; -+ svc_max_pollfd; -+} TIRPC_0.3.2; -+ -+TIRPC_PRIVATE { -+ global: -+ __libc_clntudp_bufcreate; -+ # private, but used by rpcbind: -+ __svc_clean_idle; svc_auth_none; libtirpc_set_debug; -+};meta/recipes-extended/libtirpc/libtirpc/0001-Update-declarations-to-allow-compile-with-gcc-15.patch deleted +0
-64@@ -1,64 +0,0 @@ -From b526c0a90953f47d4cbf7ef01e9ac13e9e76904a Mon Sep 17 00:00:00 2001 -From: Rudi Heitbaum <[email protected]> -Date: Thu, 12 Dec 2024 04:16:02 -0500 -Subject: [PATCH 1/2] 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; - -Upstream-Status: Backport [https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=d473f1e1f6ba80bfaee4daa058da159305167323] -Signed-off-by: Rudi Heitbaum <[email protected]> -Signed-off-by: Steve Dickson <[email protected]> -Signed-off-by: Khem Raj <[email protected]> ---- - src/auth_none.c | 2 +- - src/getpublickey.c | 2 +- - src/svc_auth_none.c | 4 ++-- - 3 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/src/auth_none.c b/src/auth_none.c -index 0b0bbd1..aca6e71 100644 ---- a/src/auth_none.c -+++ b/src/auth_none.c -@@ -62,7 +62,7 @@ static bool_t authnone_validate (AUTH *, struct opaque_auth *); - static bool_t authnone_refresh (AUTH *, void *); - static void authnone_destroy (AUTH *); - --extern bool_t xdr_opaque_auth(); -+extern bool_t xdr_opaque_auth(XDR *, struct opaque_auth *); - - static struct auth_ops *authnone_ops(); - -diff --git a/src/getpublickey.c b/src/getpublickey.c -index be37a24..4e96c7c 100644 ---- a/src/getpublickey.c -+++ b/src/getpublickey.c -@@ -52,7 +52,7 @@ - /* - * Hack to let ypserv/rpc.nisd use AUTH_DES. - */ --int (*__getpublickey_LOCAL)() = 0; -+int (*__getpublickey_LOCAL)(const char *, char *) = 0; - - /* - * Get somebody's public key -diff --git a/src/svc_auth_none.c b/src/svc_auth_none.c -index 887e809..5ca98e9 100644 ---- a/src/svc_auth_none.c -+++ b/src/svc_auth_none.c -@@ -37,8 +37,8 @@ - - #include <rpc/rpc.h> - --static bool_t svcauth_none_destroy(); --static bool_t svcauth_none_wrap(); -+static bool_t svcauth_none_destroy(SVCAUTH *); -+static bool_t svcauth_none_wrap(SVCAUTH *, XDR *, bool_t (*)(XDR *, ...), char *); - - struct svc_auth_ops svc_auth_none_ops = { - svcauth_none_wrap,meta/recipes-extended/libtirpc/libtirpc/0002-update-signal-and-key_call-declarations-to-allow-com.patch deleted +0
-60@@ -1,60 +0,0 @@ -From 55452e6ae71869880f8c85d5dba9aa24d7147d8b Mon Sep 17 00:00:00 2001 -From: Rudi Heitbaum <[email protected]> -Date: Thu, 2 Jan 2025 08:46:24 -0500 -Subject: [PATCH 2/2] 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; - -Upstream-Status: Backport [https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=240ee6c774729c9c24812aa8912f1fcf8996b162] -Signed-off-by: Rudi Heitbaum <[email protected]> -Signed-off-by: Steve Dickson <[email protected]> -Signed-off-by: Khem Raj <[email protected]> ---- - src/auth_time.c | 4 ++-- - src/key_call.c | 6 +++--- - 2 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/src/auth_time.c b/src/auth_time.c -index 936dd76..c21b1df 100644 ---- a/src/auth_time.c -+++ b/src/auth_time.c -@@ -248,7 +248,7 @@ __rpc_get_time_offset(td, srv, thost, uaddr, netid) - char ut[64], ipuaddr[64]; - endpoint teps[32]; - nis_server tsrv; -- void (*oldsig)() = NULL; /* old alarm handler */ -+ void (*oldsig)(int) = NULL; /* old alarm handler */ - struct sockaddr_in sin; - int s = RPC_ANYSOCK; - socklen_t len; -@@ -417,7 +417,7 @@ __rpc_get_time_offset(td, srv, thost, uaddr, netid) - } else { - int res; - -- oldsig = (void (*)())signal(SIGALRM, alarm_hndler); -+ oldsig = (void (*)(int))signal(SIGALRM, alarm_hndler); - saw_alarm = 0; /* global tracking the alarm */ - alarm(20); /* only wait 20 seconds */ - res = connect(s, (struct sockaddr *)&sin, sizeof(sin)); -diff --git a/src/key_call.c b/src/key_call.c -index 9f4b1d2..43f990e 100644 ---- a/src/key_call.c -+++ b/src/key_call.c -@@ -72,9 +72,9 @@ - * implementations of these functions, and to call those in key_call(). - */ - --cryptkeyres *(*__key_encryptsession_pk_LOCAL)() = 0; --cryptkeyres *(*__key_decryptsession_pk_LOCAL)() = 0; --des_block *(*__key_gendes_LOCAL)() = 0; -+cryptkeyres *(*__key_encryptsession_pk_LOCAL)(uid_t, char *) = 0; -+cryptkeyres *(*__key_decryptsession_pk_LOCAL)(uid_t, char *) = 0; -+des_block *(*__key_gendes_LOCAL)(uid_t, char *) = 0; - - static int key_call( u_long, xdrproc_t, void *, xdrproc_t, void *); -meta/recipes-extended/libtirpc/libtirpc_1.3.7.bb renamed from meta/recipes-extended/libtirpc/libtirpc_1.3.6.bb +1
-5@@ -10,13 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f835cce8852481e4b2bbbdd23b5e47f3 \ PROVIDES = "virtual/librpc" SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2 \ - file://0001-Update-declarations-to-allow-compile-with-gcc-15.patch \ - file://0002-update-signal-and-key_call-declarations-to-allow-com.patch \ - file://0001-Add-conditional-version-script-support.patch \ " UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/libtirpc/files/libtirpc/" UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/" -SRC_URI[sha256sum] = "bbd26a8f0df5690a62a47f6aa30f797f3ef8d02560d1bc449a83066b5a1d3508" +SRC_URI[sha256sum] = "b47d3ac19d3549e54a05d0019a6c400674da716123858cfdb6d3bdd70a66c702" inherit autotools pkgconfig -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#226890): https://lists.openembedded.org/g/openembedded-core/message/226890
Mute This Topic: https://lists.openembedded.org/mt/116510360/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH 07/14] libtirpc: upgrade 1.3.6 -> 1.3.7
Quoted 30 lines · Ankur Tyagi
Quoted 3 lines · Khem Raj
have you tried building it with -fuse-ld=lld and TOOLCHAIN = "clang"
Hi Khem,
I gave it a try and it failed to configure with error:
configure: error: C compiler cannot create executables
config.log has following error:
configure:4033: x86_64-poky-linux-clang -m64 -march=x86-64-v3
(quoted diff) +0
-4-fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot -O2 -g -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/sources/libtirpc-1.3.7=/usr/src/debug/libtirpc/1.3.7 -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/build=/usr/src/debug/libtirpc/1.3.7 -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot= -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot-native= -pipe -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/sources/libtirpc-1.3.7=/usr/src/debug/libtirpc/1.3.7 -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/build=/usr/src/debug/libtirpc/1.3.7 -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot= -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot-native= -Wl,-z,relro,-z,now -fuse-ld=lld conftest.c >&5x86_64-poky-linux-ld.lld: error: unable to find library -lgcc_s x86_64-poky-linux-ld.lld: error: unable to find library -lgcc_s
Quoted 2 lines
I will look into it, thanks for highlighting it.
Hi Khem,
I do not encounter any error when setting "ld-is-lld" in DISTRO_FEATURES and TOOLCHAIN = "clang"
configure:4011: checking whether the C compiler works
configure:4033: x86_64-poky-linux-clang -m64 -march=x86-64-v3
-fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat
-Wformat-security -Werror=format-security --sysroot=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot
-O2 -g -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/sources/libtirpc-1.3.7=/usr/src/debug/libtirpc/1.3.7
-ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/build=/usr/src/debug/libtirpc/1.3.7 -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot= -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot-native= -pipe -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
-ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/sources/libtirpc-1.3.7=/usr/src/debug/libtirpc/1.3.7
-ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/build=/usr/src/debug/libtirpc/1.3.7 -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot= -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot-native= -Wl,-z,relro,-z,now conftest.c >&5
but I do not see "-fuse-ld=lld" in LDFLAGS when setting "ld-is-lld" in DISTRO_FEATURES
LD='x86_64-poky-linux-ld.lld --sysroot=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot
-m elf_x86_64'
LDFLAGS='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/sources/libtirpc-1.3.7=/usr/src/debug/libtirpc/1.3.7
-ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/build=/usr/src/debug/libtirpc/1.3.7 -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot= -ffile-prefix-map=/yocto/bitbake-builds/distro_poky-master/build/tmp/work/x86-64-v3-poky-linux/libtirpc/1.3.7/recipe-sysroot-native= -Wl,-z,relro,-z,now'
Error only occurs when "-fuse-ld=lld" is explicitly added to the LDFLAGS.
What should be the correct config ?
Quoted 1,003 lines
cheers
AnkurQuoted 1,001 lines · Ankur Tyagi via lists.openembedded.org
Quoted 1,000 lines
From: Ankur Tyagi <[email protected]>
Dropped patches merged in the upstream.
Signed-off-by Ankur Tyagi <[email protected]>--- ...d-conditional-version-script-support.patch | 810 ------------------ ...rations-to-allow-compile-with-gcc-15.patch | 64 -- ...d-key_call-declarations-to-allow-com.patch | 60 -- .../{libtirpc_1.3.6.bb => libtirpc_1.3.7.bb} | 5 +- 4 files changed, 1 insertion(+), 938 deletions(-) delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patch delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/0001-Update-declarations-to-allow-compile-with-gcc-15.patch delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/0002-update-signal-and-key_call-declarations-to-allow-com.patch rename meta/recipes-extended/libtirpc/{libtirpc_1.3.6.bb => libtirpc_1.3.7.bb} (78%)meta/recipes-extended/libtirpc/libtirpc/0001-Add-conditional-version-script-support.patch deleted +0
-810@@ -1,810 +0,0 @@ -From 8ae9a335d56fc4aba8454159b326d809efca597f Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Mon, 11 Aug 2025 21:13:59 -0700 -Subject: [PATCH] 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. - -Upstream-Status: Submitted [https://lore.kernel.org/linux-nfs/[email protected]/T/#u] -Signed-off-by: Khem Raj <[email protected]> ---- - configure.ac | 50 +++++++++++++++++++++++++++ - src/Makefile.am | 21 +++++++++-- - src/{libtirpc.map => libtirpc.map.in} | 48 +++++-------------------- - 3 files changed, 77 insertions(+), 42 deletions(-) - rename src/{libtirpc.map => libtirpc.map.in} (84%) - ---- a/configure.ac -+++ b/configure.ac -@@ -77,6 +77,19 @@ if test "x$enable_ipv6" != xno; then - AC_DEFINE(INET6, 1, [Define to 1 if IPv6 is available]) - fi - -+# RPC database support -+AC_ARG_ENABLE(rpcdb, -+ [AS_HELP_STRING([--enable-rpcdb], [Enable RPC Database support @<:@default=no@:>@])], -+ [], [enable_rpcdb=no]) -+AM_CONDITIONAL(RPCDB, test "x$enable_rpcdb" = xyes) -+if test "x$enable_rpcdb" != "xno"; then -+ AC_CHECK_FUNCS([getrpcent getrpcbyname getrpcbynumber], [have_rpcdb=yes]) -+ -+ if test "x$have_rpcdb" = "xyes"; then -+ AC_DEFINE([RPCDB], [1], [Define if RPC database support is available]) -+ fi -+fi -+ - AC_ARG_ENABLE(symvers, - [AS_HELP_STRING([--disable-symvers],[Disable symbol versioning @<:@default=no@:>@])], - [],[enable_symvers=maybe]) -@@ -97,6 +110,33 @@ fi - - AM_CONDITIONAL(SYMVERS, test "x$enable_symvers" = xyes) - -+# Generate symbol lists for version script -+if test "x$enable_gssapi" = "xyes"; then -+ GSS_SYMBOLS="_svcauth_gss; authgss_create; authgss_create_default; authgss_free_private_data; authgss_get_private_data; authgss_service; gss_log_debug; gss_log_hexdump; gss_log_status; rpc_gss_get_error; rpc_gss_get_mech_info; rpc_gss_get_mechanisms; rpc_gss_get_principal_name; rpc_gss_get_versions; rpc_gss_qop_to_num; rpc_gss_seccreate; rpc_gss_set_callback; rpc_gss_set_defaults; rpc_gss_set_svc_name; rpc_gss_svc_max_data_length;" -+ -+ GSS_SYMBOLS_031="svcauth_gss_get_principal; svcauth_gss_set_svc_name;" -+else -+ GSS_SYMBOLS="" -+ GSS_SYMBOLS_031="" -+fi -+ -+if test "x$enable_authdes" = "xyes"; then -+ DES_SYMBOLS="cbc_crypt; ecb_crypt; xdr_authdes_cred; xdr_authdes_verf; xdr_rpc_gss_cred; xdr_rpc_gss_data; xdr_rpc_gss_init_args; xdr_rpc_gss_init_res;" -+else -+ DES_SYMBOLS="" -+fi -+ -+if test "x$enable_rpcdb" = "xyes"; then -+ RPCDB_SYMBOLS="endrpcent; getrpcent; getrpcbynumber; getrpcbyname; setrpcent;" -+else -+ RPCDB_SYMBOLS="" -+fi -+ -+AC_SUBST([GSS_SYMBOLS]) -+AC_SUBST([GSS_SYMBOLS_031]) -+AC_SUBST([DES_SYMBOLS]) -+AC_SUBST([RPCDB_SYMBOLS]) -+ - AC_CANONICAL_BUILD - # Check for which host we are on and setup a few things - # specifically based on the host -@@ -167,7 +207,16 @@ AC_CHECK_FUNCS([getpeereid getrpcbyname - AC_CHECK_TYPES(struct rpcent,,, [ - #include <netdb.h>]) - AC_CONFIG_FILES([Makefile src/Makefile man/Makefile doc/Makefile]) -+AC_CONFIG_FILES([src/libtirpc.map]) - AC_CONFIG_FILES([libtirpc.pc]) - AC_OUTPUT - -+# Configuration summary -+AC_MSG_NOTICE([ -+libtirpc configuration summary: -+ GSS-API support: $enable_gssapi -+ DES crypto support: $enable_authdes -+ RPC database support: $enable_rpcdb -+ Symbol versioning: $enable_symvers -+]) - ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -6,6 +6,9 @@ - ## anything like that. - - noinst_HEADERS = rpc_com.h debug.h -+EXTRA_DIST = libtirpc.map.in -+# Generated files -+BUILT_SOURCES = libtirpc.map - - AM_CPPFLAGS = -I$(top_srcdir)/tirpc -include config.h -DPORTMAP -DINET6 \ - -D_GNU_SOURCE -Wall -pipe -@@ -15,10 +18,19 @@ lib_LTLIBRARIES = libtirpc.la - libtirpc_la_LDFLAGS = @LDFLAG_NOUNDEFINED@ -no-undefined @PTHREAD_LIBS@ - libtirpc_la_LDFLAGS += -version-info @LT_VERSION_INFO@ - -+# Generate version script from template -+libtirpc.map: $(srcdir)/libtirpc.map.in -+ $(AM_V_GEN)$(SED) \ -+ -e 's|@GSS_SYMBOLS@|$(GSS_SYMBOLS)|g' \ -+ -e 's|@GSS_SYMBOLS_031@|$(GSS_SYMBOLS_031)|g' \ -+ -e 's|@DES_SYMBOLS@|$(DES_SYMBOLS)|g' \ -+ -e 's|@RPCDB_SYMBOLS@|$(RPCDB_SYMBOLS)|g' \ -+ < $(srcdir)/libtirpc.map.in > $@ || rm -f $@ -+ - libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c \ - binddynport.c bindresvport.c \ - clnt_bcast.c clnt_dg.c clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c \ -- clnt_vc.c rpc_dtablesize.c getnetconfig.c getnetpath.c getrpcent.c \ -+ clnt_vc.c rpc_dtablesize.c getnetconfig.c getnetpath.c \ - getrpcport.c mt_misc.c pmap_clnt.c pmap_getmaps.c pmap_getport.c \ - pmap_prot.c pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c \ - rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \ -@@ -34,19 +46,23 @@ endif - libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c xdr_sizeof.c - - if SYMVERS -- libtirpc_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libtirpc.map -+ libtirpc_la_LDFLAGS += -Wl,--version-script=$(builddir)/libtirpc.map - endif - - ## Secure-RPC - if GSS -- libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c \ -- rpc_gss_utils.c -- libtirpc_la_LIBADD = $(GSSAPI_LIBS) -- libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS) -+libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c rpc_gss_utils.c -+libtirpc_la_LIBADD = $(GSSAPI_LIBS) -+libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS) -+endif -+ -+# Conditionally add RPC database sources -+if RPCDB -+libtirpc_la_SOURCES += getrpcent.c - endif - - libtirpc_la_SOURCES += key_call.c key_prot_xdr.c getpublickey.c - libtirpc_la_SOURCES += netname.c netnamer.c rpcdname.c rtime.c - --CLEANFILES = cscope.* *~ -+CLEANFILES = cscope.* libtirpc.map *~ - DISTCLEANFILES = Makefile.in ---- a/src/libtirpc.map -+++ /dev/null -@@ -1,335 +0,0 @@ --TIRPC_0.3.0 { -- global: -- # __* -- __rpc_createerr; -- __rpc_dtbsize; -- __rpc_endconf; -- __rpc_fd2sockinfo; -- __rpc_fixup_addr; -- __rpc_get_a_size; -- __rpc_get_local_uid; -- __rpc_get_t_size; -- __rpc_getconf; -- __rpc_getconfip; -- __rpc_nconf2fd; -- __rpc_nconf2fd_flags; -- __rpc_nconf2sockinfo; -- __rpc_rawcombuf; -- __rpc_seman2socktype; -- __rpc_setconf; -- __rpc_sockinfo2netid; -- __rpc_sockisbound; -- __rpc_socktype2seman; -- __rpc_taddr2uaddr_af; -- __rpc_uaddr2taddr_af; -- __rpcgettp; -- -- # _* -- _authenticate; -- _get_next_token; -- _gss_authenticate; -- _null_auth; -- _rpc_dtablesize; -- _seterr_reply; -- _svcauth_none; -- _svcauth_short; -- _svcauth_unix; -- _svcauth_gss; -- -- # a* -- authdes_create; -- authdes_seccreate; -- authgss_create; -- authgss_create_default; -- authgss_free_private_data; -- authgss_get_private_data; -- authgss_service; -- authnone_create; -- authunix_create; -- authunix_create_default; -- -- # b* -- bindresvport; -- bindresvport_sa; -- -- # c* -- callrpc; -- cbc_crypt; -- clnt_broadcast; -- clnt_create; -- clnt_create_timed; -- clnt_create_vers; -- clnt_create_vers_timed; -- clnt_dg_create; -- clnt_pcreateerror; -- clnt_perrno; -- clnt_perror; -- clnt_raw_create; -- clnt_spcreateerror; -- clnt_sperrno; -- clnt_sperror; -- clnt_tli_create; -- clnt_tp_create; -- clnt_tp_create_timed; -- clnt_vc_create; -- clntraw_create; -- clnttcp_create; -- clntudp_bufcreate; -- clntudp_create; -- clntunix_create; -- -- # e* -- ecb_crypt; -- endnetconfig; -- endnetpath; -- endrpcent; -- -- # f* -- freenetconfigent; -- -- # g* -- get_myaddress; -- getnetconfig; -- getnetconfigent; -- getnetpath; -- getrpcent; -- getrpcbynumber; -- getrpcbyname; -- getrpcport; -- gss_log_debug; -- gss_log_hexdump; -- gss_log_status; -- -- # n* -- nc_perror; -- nc_sperror; -- -- # p* -- pmap_getmaps; -- pmap_getport; -- pmap_rmtcall; -- pmap_set; -- pmap_unset; -- -- # r* -- registerrpc; -- rpc_broadcast; -- rpc_broadcast_exp; -- rpc_call; -- rpc_control; -- rpc_createerr; -- rpc_gss_get_error; -- rpc_gss_get_mech_info; -- rpc_gss_get_mechanisms; -- rpc_gss_get_principal_name; -- rpc_gss_get_versions; -- rpc_gss_getcred; -- rpc_gss_is_installed; -- rpc_gss_max_data_length; -- rpc_gss_mech_to_oid; -- rpc_gss_qop_to_num; -- rpc_gss_seccreate; -- rpc_gss_set_callback; -- rpc_gss_set_defaults; -- rpc_gss_set_svc_name; -- rpc_gss_svc_max_data_length; -- rpc_nullproc; -- rpc_reg; -- rpcb_getaddr; -- rpcb_getmaps; -- rpcb_gettime; -- rpcb_rmtcall; -- rpcb_set; -- rpcb_taddr2uaddr; -- rpcb_uaddr2taddr; -- rpcb_unset; -- -- # s* -- setnetconfig; -- setnetpath; -- setrpcent; -- svc_auth_reg; -- svc_create; -- svc_dg_create; -- svc_dg_enablecache; -- svc_exit; -- svc_fd_create; -- svc_fdset; -- svc_getreq; -- svc_getreq_common; -- svc_getreq_poll; -- svc_getreqset; -- svc_maxfd; -- svc_raw_create; -- svc_reg; -- svc_register; -- svc_run; -- svc_sendreply; -- svc_tli_create; -- svc_tp_create; -- svc_unreg; -- svc_unregister; -- svc_vc_create; -- svcerr_auth; -- svcerr_decode; -- svcerr_noproc; -- svcerr_noprog; -- svcerr_progvers; -- svcerr_systemerr; -- svcerr_weakauth; -- svcfd_create; -- svcraw_create; -- svctcp_create; -- svcudp_bufcreate; -- svcudp_create; -- svcunix_create; -- svcunixfd_create; -- -- # t* -- taddr2uaddr; -- -- # u* -- uaddr2taddr; -- -- # x* -- xdr_accepted_reply; -- xdr_array; -- xdr_authdes_cred; -- xdr_authdes_verf; -- xdr_authunix_parms; -- xdr_bool; -- xdr_bytes; -- xdr_callhdr; xdr_callmsg; -- xdr_char; -- xdr_des_block; -- xdr_double; -- xdr_enum; -- xdr_float; -- xdr_free; -- xdr_hyper; -- xdr_int16_t; -- xdr_int32_t; -- xdr_int64_t; -- xdr_int8_t; -- xdr_int; -- xdr_long; -- xdr_longlong_t; -- xdr_netbuf; -- xdr_netobj; -- xdr_opaque; -- xdr_opaque_auth; -- xdr_pmap; -- xdr_pmaplist; -- xdr_pmaplist_ptr; -- xdr_pointer; -- xdr_quad_t; -- xdr_reference; -- xdr_rejected_reply; -- xdr_replymsg; -- xdr_rmtcall_args; -- xdr_rmtcallres; -- xdr_rpc_gss_cred; -- xdr_rpc_gss_data; -- xdr_rpc_gss_init_args; -- xdr_rpc_gss_init_res; -- xdr_rpcb; -- xdr_rpcb_entry; -- xdr_rpcb_entry_list_ptr; -- xdr_rpcb_rmtcallargs; -- xdr_rpcb_rmtcallres; -- xdr_rpcb_stat; -- xdr_rpcb_stat_byvers; -- xdr_rpcblist; -- xdr_rpcblist_ptr; -- xdr_rpcbs_addrlist; -- xdr_rpcbs_addrlist_ptr; -- xdr_rpcbs_proc; -- xdr_rpcbs_rmtcalllist; -- xdr_rpcbs_rmtcalllist_ptr; -- xdr_short; -- xdr_string; -- xdr_u_char; -- xdr_u_hyper; -- xdr_u_int16_t; -- xdr_u_int32_t; -- xdr_u_int64_t; -- xdr_u_int8_t; -- xdr_u_int; -- xdr_u_long; -- xdr_u_longlong_t; -- xdr_u_quad_t; -- xdr_u_short; -- xdr_uint16_t; -- xdr_uint32_t; -- xdr_uint64_t; -- xdr_uint8_t; -- xdr_union; -- xdr_vector; -- xdr_void; -- xdr_wrapstring; -- xdrmem_create; -- xdrrec_create; -- xdrrec_endofrecord; -- xdrrec_eof; -- xdrrec_skiprecord; -- xdrstdio_create; -- xprt_register; -- xprt_unregister; -- -- local: -- *; --}; -- --TIRPC_0.3.1 { -- svcauth_gss_get_principal; -- svcauth_gss_set_svc_name; --} TIRPC_0.3.0; -- --TIRPC_0.3.2 { -- getnetname; -- getpublicandprivatekey; -- getpublickey; -- host2netname; -- key_call_destroy; -- key_decryptsession; -- key_decryptsession_pk; -- key_encryptsession; -- key_encryptsession_pk; -- key_gendes; -- key_get_conv; -- key_setsecret; -- key_secretkey_is_set; -- key_setnet; -- netname2host; -- netname2user; -- rtime; -- user2netname; -- xdr_cryptkeyarg; -- xdr_cryptkeyarg2; -- xdr_cryptkeyres; -- xdr_getcredres; -- xdr_key_netstarg; -- xdr_key_netstres; -- xdr_keybuf; -- xdr_keystatus; -- xdr_netnamestr; -- xdr_unixcred; --} TIRPC_0.3.1; -- --TIRPC_0.3.3 { -- __getpublickey_LOCAL; -- __key_decryptsession_pk_LOCAL; -- __key_encryptsession_pk_LOCAL; -- __key_gendes_LOCAL; -- xdr_sizeof; -- authdes_pk_create; -- svc_pollfd; -- svc_max_pollfd; --} TIRPC_0.3.2; -- --TIRPC_PRIVATE { -- global: -- __libc_clntudp_bufcreate; -- # private, but used by rpcbind: -- __svc_clean_idle; svc_auth_none; libtirpc_set_debug; --}; ---- /dev/null -+++ b/src/libtirpc.map.in -@@ -0,0 +1,303 @@ -+TIRPC_0.3.0 { -+ global: -+ # __* -+ __rpc_createerr; -+ __rpc_dtbsize; -+ __rpc_endconf; -+ __rpc_fd2sockinfo; -+ __rpc_fixup_addr; -+ __rpc_get_a_size; -+ __rpc_get_local_uid; -+ __rpc_get_t_size; -+ __rpc_getconf; -+ __rpc_getconfip; -+ __rpc_nconf2fd; -+ __rpc_nconf2fd_flags; -+ __rpc_nconf2sockinfo; -+ __rpc_rawcombuf; -+ __rpc_seman2socktype; -+ __rpc_setconf; -+ __rpc_sockinfo2netid; -+ __rpc_sockisbound; -+ __rpc_socktype2seman; -+ __rpc_taddr2uaddr_af; -+ __rpc_uaddr2taddr_af; -+ __rpcgettp; -+ -+ # _* -+ _authenticate; -+ _get_next_token; -+ _gss_authenticate; -+ _null_auth; -+ _rpc_dtablesize; -+ _seterr_reply; -+ _svcauth_none; -+ _svcauth_short; -+ _svcauth_unix; -+ -+ # a* -+ authdes_create; -+ authdes_seccreate; -+ authnone_create; -+ authunix_create; -+ authunix_create_default; -+ -+ # b* -+ bindresvport; -+ bindresvport_sa; -+ -+ # c* -+ callrpc; -+ clnt_broadcast; -+ clnt_create; -+ clnt_create_timed; -+ clnt_create_vers; -+ clnt_create_vers_timed; -+ clnt_dg_create; -+ clnt_pcreateerror; -+ clnt_perrno; -+ clnt_perror; -+ clnt_raw_create; -+ clnt_spcreateerror; -+ clnt_sperrno; -+ clnt_sperror; -+ clnt_tli_create; -+ clnt_tp_create; -+ clnt_tp_create_timed; -+ clnt_vc_create; -+ clntraw_create; -+ clnttcp_create; -+ clntudp_bufcreate; -+ clntudp_create; -+ clntunix_create; -+ -+ # e* -+ endnetconfig; -+ endnetpath; -+ -+ # f* -+ freenetconfigent; -+ -+ # g* -+ get_myaddress; -+ getnetconfig; -+ getnetconfigent; -+ getnetpath; -+ getrpcport; -+ -+ # n* -+ nc_perror; -+ nc_sperror; -+ -+ # p* -+ pmap_getmaps; -+ pmap_getport; -+ pmap_rmtcall; -+ pmap_set; -+ pmap_unset; -+ -+ # r* -+ registerrpc; -+ rpc_broadcast; -+ rpc_broadcast_exp; -+ rpc_call; -+ rpc_control; -+ rpc_createerr; -+ rpc_nullproc; -+ rpc_reg; -+ rpcb_getaddr; -+ rpcb_getmaps; -+ rpcb_gettime; -+ rpcb_rmtcall; -+ rpcb_set; -+ rpcb_taddr2uaddr; -+ rpcb_uaddr2taddr; -+ rpcb_unset; -+ -+ # s* -+ setnetconfig; -+ setnetpath; -+ svc_auth_reg; -+ svc_create; -+ svc_dg_create; -+ svc_dg_enablecache; -+ svc_exit; -+ svc_fd_create; -+ svc_fdset; -+ svc_getreq; -+ svc_getreq_common; -+ svc_getreq_poll; -+ svc_getreqset; -+ svc_maxfd; -+ svc_raw_create; -+ svc_reg; -+ svc_register; -+ svc_run; -+ svc_sendreply; -+ svc_tli_create; -+ svc_tp_create; -+ svc_unreg; -+ svc_unregister; -+ svc_vc_create; -+ svcerr_auth; -+ svcerr_decode; -+ svcerr_noproc; -+ svcerr_noprog; -+ svcerr_progvers; -+ svcerr_systemerr; -+ svcerr_weakauth; -+ svcfd_create; -+ svcraw_create; -+ svctcp_create; -+ svcudp_bufcreate; -+ svcudp_create; -+ svcunix_create; -+ svcunixfd_create; -+ -+ # t* -+ taddr2uaddr; -+ -+ # u* -+ uaddr2taddr; -+ -+ # x* -+ xdr_accepted_reply; -+ xdr_array; -+ xdr_authunix_parms; -+ xdr_bool; -+ xdr_bytes; -+ xdr_callhdr; xdr_callmsg; -+ xdr_char; -+ xdr_des_block; -+ xdr_double; -+ xdr_enum; -+ xdr_float; -+ xdr_free; -+ xdr_hyper; -+ xdr_int16_t; -+ xdr_int32_t; -+ xdr_int64_t; -+ xdr_int8_t; -+ xdr_int; -+ xdr_long; -+ xdr_longlong_t; -+ xdr_netbuf; -+ xdr_netobj; -+ xdr_opaque; -+ xdr_opaque_auth; -+ xdr_pmap; -+ xdr_pmaplist; -+ xdr_pmaplist_ptr; -+ xdr_pointer; -+ xdr_quad_t; -+ xdr_reference; -+ xdr_rejected_reply; -+ xdr_replymsg; -+ xdr_rmtcall_args; -+ xdr_rmtcallres; -+ xdr_rpcb; -+ xdr_rpcb_entry; -+ xdr_rpcb_entry_list_ptr; -+ xdr_rpcb_rmtcallargs; -+ xdr_rpcb_rmtcallres; -+ xdr_rpcb_stat; -+ xdr_rpcb_stat_byvers; -+ xdr_rpcblist; -+ xdr_rpcblist_ptr; -+ xdr_rpcbs_addrlist; -+ xdr_rpcbs_addrlist_ptr; -+ xdr_rpcbs_proc; -+ xdr_rpcbs_rmtcalllist; -+ xdr_rpcbs_rmtcalllist_ptr; -+ xdr_short; -+ xdr_string; -+ xdr_u_char; -+ xdr_u_hyper; -+ xdr_u_int16_t; -+ xdr_u_int32_t; -+ xdr_u_int64_t; -+ xdr_u_int8_t; -+ xdr_u_int; -+ xdr_u_long; -+ xdr_u_longlong_t; -+ xdr_u_quad_t; -+ xdr_u_short; -+ xdr_uint16_t; -+ xdr_uint32_t; -+ xdr_uint64_t; -+ xdr_uint8_t; -+ xdr_union; -+ xdr_vector; -+ xdr_void; -+ xdr_wrapstring; -+ xdrmem_create; -+ xdrrec_create; -+ xdrrec_endofrecord; -+ xdrrec_eof; -+ xdrrec_skiprecord; -+ xdrstdio_create; -+ xprt_register; -+ xprt_unregister; -+ # GSS-API symbols (conditionally included) -+@GSS_SYMBOLS@ -+ # DES crypto symbols (conditionally included) -+@DES_SYMBOLS@ -+ # RPC database symbols (conditionally included) -+@RPCDB_SYMBOLS@ -+ -+ local: -+ *; -+}; -+ -+TIRPC_0.3.1 { -+# GSS-API symbols (conditionally included) -+@GSS_SYMBOLS_031@ -+} TIRPC_0.3.0; -+ -+TIRPC_0.3.2 { -+ getnetname; -+ getpublicandprivatekey; -+ getpublickey; -+ host2netname; -+ key_decryptsession; -+ key_decryptsession_pk; -+ key_encryptsession; -+ key_encryptsession_pk; -+ key_gendes; -+ key_get_conv; -+ key_setsecret; -+ key_secretkey_is_set; -+ key_setnet; -+ netname2host; -+ netname2user; -+ rtime; -+ user2netname; -+ xdr_cryptkeyarg; -+ xdr_cryptkeyarg2; -+ xdr_cryptkeyres; -+ xdr_getcredres; -+ xdr_key_netstarg; -+ xdr_key_netstres; -+ xdr_keybuf; -+ xdr_keystatus; -+ xdr_netnamestr; -+ xdr_unixcred; -+} TIRPC_0.3.1; -+ -+TIRPC_0.3.3 { -+ __getpublickey_LOCAL; -+ __key_decryptsession_pk_LOCAL; -+ __key_encryptsession_pk_LOCAL; -+ __key_gendes_LOCAL; -+ xdr_sizeof; -+ authdes_pk_create; -+ svc_pollfd; -+ svc_max_pollfd; -+} TIRPC_0.3.2; -+ -+TIRPC_PRIVATE { -+ global: -+ __libc_clntudp_bufcreate; -+ # private, but used by rpcbind: -+ __svc_clean_idle; svc_auth_none; libtirpc_set_debug; -+};meta/recipes-extended/libtirpc/libtirpc/0001-Update-declarations-to-allow-compile-with-gcc-15.patch deleted +0
-64@@ -1,64 +0,0 @@ -From b526c0a90953f47d4cbf7ef01e9ac13e9e76904a Mon Sep 17 00:00:00 2001 -From: Rudi Heitbaum <[email protected]> -Date: Thu, 12 Dec 2024 04:16:02 -0500 -Subject: [PATCH 1/2] 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; - -Upstream-Status: Backport [https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=d473f1e1f6ba80bfaee4daa058da159305167323] -Signed-off-by: Rudi Heitbaum <[email protected]> -Signed-off-by: Steve Dickson <[email protected]> -Signed-off-by: Khem Raj <[email protected]> ---- - src/auth_none.c | 2 +- - src/getpublickey.c | 2 +- - src/svc_auth_none.c | 4 ++-- - 3 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/src/auth_none.c b/src/auth_none.c -index 0b0bbd1..aca6e71 100644 ---- a/src/auth_none.c -+++ b/src/auth_none.c -@@ -62,7 +62,7 @@ static bool_t authnone_validate (AUTH *, struct opaque_auth *); - static bool_t authnone_refresh (AUTH *, void *); - static void authnone_destroy (AUTH *); - --extern bool_t xdr_opaque_auth(); -+extern bool_t xdr_opaque_auth(XDR *, struct opaque_auth *); - - static struct auth_ops *authnone_ops(); - -diff --git a/src/getpublickey.c b/src/getpublickey.c -index be37a24..4e96c7c 100644 ---- a/src/getpublickey.c -+++ b/src/getpublickey.c -@@ -52,7 +52,7 @@ - /* - * Hack to let ypserv/rpc.nisd use AUTH_DES. - */ --int (*__getpublickey_LOCAL)() = 0; -+int (*__getpublickey_LOCAL)(const char *, char *) = 0; - - /* - * Get somebody's public key -diff --git a/src/svc_auth_none.c b/src/svc_auth_none.c -index 887e809..5ca98e9 100644 ---- a/src/svc_auth_none.c -+++ b/src/svc_auth_none.c -@@ -37,8 +37,8 @@ - - #include <rpc/rpc.h> - --static bool_t svcauth_none_destroy(); --static bool_t svcauth_none_wrap(); -+static bool_t svcauth_none_destroy(SVCAUTH *); -+static bool_t svcauth_none_wrap(SVCAUTH *, XDR *, bool_t (*)(XDR *, ...), char *); - - struct svc_auth_ops svc_auth_none_ops = { - svcauth_none_wrap,meta/recipes-extended/libtirpc/libtirpc/0002-update-signal-and-key_call-declarations-to-allow-com.patch deleted +0
-60@@ -1,60 +0,0 @@ -From 55452e6ae71869880f8c85d5dba9aa24d7147d8b Mon Sep 17 00:00:00 2001 -From: Rudi Heitbaum <[email protected]> -Date: Thu, 2 Jan 2025 08:46:24 -0500 -Subject: [PATCH 2/2] 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; - -Upstream-Status: Backport [https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=240ee6c774729c9c24812aa8912f1fcf8996b162] -Signed-off-by: Rudi Heitbaum <[email protected]> -Signed-off-by: Steve Dickson <[email protected]> -Signed-off-by: Khem Raj <[email protected]> ---- - src/auth_time.c | 4 ++-- - src/key_call.c | 6 +++--- - 2 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/src/auth_time.c b/src/auth_time.c -index 936dd76..c21b1df 100644 ---- a/src/auth_time.c -+++ b/src/auth_time.c -@@ -248,7 +248,7 @@ __rpc_get_time_offset(td, srv, thost, uaddr, netid) - char ut[64], ipuaddr[64]; - endpoint teps[32]; - nis_server tsrv; -- void (*oldsig)() = NULL; /* old alarm handler */ -+ void (*oldsig)(int) = NULL; /* old alarm handler */ - struct sockaddr_in sin; - int s = RPC_ANYSOCK; - socklen_t len; -@@ -417,7 +417,7 @@ __rpc_get_time_offset(td, srv, thost, uaddr, netid) - } else { - int res; - -- oldsig = (void (*)())signal(SIGALRM, alarm_hndler); -+ oldsig = (void (*)(int))signal(SIGALRM, alarm_hndler); - saw_alarm = 0; /* global tracking the alarm */ - alarm(20); /* only wait 20 seconds */ - res = connect(s, (struct sockaddr *)&sin, sizeof(sin)); -diff --git a/src/key_call.c b/src/key_call.c -index 9f4b1d2..43f990e 100644 ---- a/src/key_call.c -+++ b/src/key_call.c -@@ -72,9 +72,9 @@ - * implementations of these functions, and to call those in key_call(). - */ - --cryptkeyres *(*__key_encryptsession_pk_LOCAL)() = 0; --cryptkeyres *(*__key_decryptsession_pk_LOCAL)() = 0; --des_block *(*__key_gendes_LOCAL)() = 0; -+cryptkeyres *(*__key_encryptsession_pk_LOCAL)(uid_t, char *) = 0; -+cryptkeyres *(*__key_decryptsession_pk_LOCAL)(uid_t, char *) = 0; -+des_block *(*__key_gendes_LOCAL)(uid_t, char *) = 0; - - static int key_call( u_long, xdrproc_t, void *, xdrproc_t, void *); -meta/recipes-extended/libtirpc/libtirpc_1.3.7.bb renamed from meta/recipes-extended/libtirpc/libtirpc_1.3.6.bb +1
-5@@ -10,13 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f835cce8852481e4b2bbbdd23b5e47f3 \ PROVIDES = "virtual/librpc" SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2 \ - file://0001-Update-declarations-to-allow-compile-with-gcc-15.patch \ - file://0002-update-signal-and-key_call-declarations-to-allow-com.patch \ - file://0001-Add-conditional-version-script-support.patch \ " UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/libtirpc/files/libtirpc/" UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/" -SRC_URI[sha256sum] = "bbd26a8f0df5690a62a47f6aa30f797f3ef8d02560d1bc449a83066b5a1d3508" +SRC_URI[sha256sum] = "b47d3ac19d3549e54a05d0019a6c400674da716123858cfdb6d3bdd70a66c702" inherit autotools pkgconfig -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#226890): https://lists.openembedded.org/g/openembedded-core/message/226890
Mute This Topic: https://lists.openembedded.org/mt/116510360/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
PATCH 8/14 lighttpd: upgrade 1.4.81 -> 1.4.82
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Release Notes:
https://www.lighttpd.net/2025/9/12/1.4.82/
---
.../lighttpd/{lighttpd_1.4.81.bb => lighttpd_1.4.82.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-extended/lighttpd/{lighttpd_1.4.81.bb => lighttpd_1.4.82.bb} (97%)meta/recipes-extended/lighttpd/lighttpd_1.4.82.bb renamed from meta/recipes-extended/lighttpd/lighttpd_1.4.81.bb +1 -1
@@ -16,7 +16,7 @@ SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.t file://lighttpd \ " -SRC_URI[sha256sum] = "d7d42c3fd2fd94b63c915aa7d18f4da3cac5937ddba33e909f81cf50842a5840" +SRC_URI[sha256sum] = "abfe74391f9cbd66ab154ea07e64f194dbe7e906ef4ed47eb3b0f3b46246c962" DEPENDS = "virtual/crypt"
PATCH 9/14 msmtp: upgrade 1.8.31 -> 1.8.32
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Release Notes:
https://marlam.de/msmtp/news/msmtp-1-8-32/
---
.../recipes-extended/msmtp/{msmtp_1.8.31.bb => msmtp_1.8.32.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-extended/msmtp/{msmtp_1.8.31.bb => msmtp_1.8.32.bb} (91%)meta/recipes-extended/msmtp/msmtp_1.8.32.bb renamed from meta/recipes-extended/msmtp/msmtp_1.8.31.bb +1 -1
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" UPSTREAM_CHECK_URI = "https://marlam.de/msmtp/download/" SRC_URI = "https://marlam.de/${BPN}/releases/${BP}.tar.xz" -SRC_URI[sha256sum] = "c262b11762d8582a3c6d6ca8d8b2cca2b1605497324ca27cc57fdc145a27119f" +SRC_URI[sha256sum] = "20cd58b58dd007acf7b937fa1a1e21f3afb3e9ef5bbcfb8b4f5650deadc64db4" inherit gettext autotools update-alternatives pkgconfig
PATCH 10/14 libnotify: upgrade 0.8.6 -> 0.8.7
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Release Notes:
https://gitlab.gnome.org/GNOME/libnotify/-/blob/0.8.7/NEWS?ref_type=tags
---
.../libnotify/{libnotify_0.8.6.bb => libnotify_0.8.7.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-gnome/libnotify/{libnotify_0.8.6.bb => libnotify_0.8.7.bb} (93%)meta/recipes-gnome/libnotify/libnotify_0.8.7.bb renamed from meta/recipes-gnome/libnotify/libnotify_0.8.6.bb +1 -1
@@ -20,7 +20,7 @@ inherit gnomebase gi-docgen features_check gobject-introspection # depends on gtk+3 if tests are enabled ANY_OF_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'tests', '${GTK3DISTROFEATURES}', '', d)}" -SRC_URI[archive.sha256sum] = "c5540aaefb60e1d63b1c587c05f2284ebe72ece7d0c0e5e4a778cfd5844b6b58" +SRC_URI[archive.sha256sum] = "4be15202ec4184fce1ac15997ece5530d2be32fe9573875aeb10e3b573858748" EXTRA_OEMESON = "-Dman=false"
PATCH 11/14 libxmlb: upgrade 0.3.23 -> 0.3.24
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Release Notes:
https://github.com/hughsie/libxmlb/releases/tag/0.3.24
---
ptest result:
SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=6776
DURATION: 1
END: /usr/lib64/libxmlb/ptest
2025-11-27T19:09
STOP: ptest-runner
TOTAL: 1 FAIL: 0
---
.../libxmlb/{libxmlb_0.3.23.bb => libxmlb_0.3.24.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-gnome/libxmlb/{libxmlb_0.3.23.bb => libxmlb_0.3.24.bb} (93%)meta/recipes-gnome/libxmlb/libxmlb_0.3.24.bb renamed from meta/recipes-gnome/libxmlb/libxmlb_0.3.23.bb +1 -1
@@ -8,7 +8,7 @@ SRC_URI = " \ file://0001-xb-selftest.c-hardcode-G_TEST_SRCDIR.patch \ file://run-ptest \ " -SRCREV = "65bfb3099beeb7a5ffae995db124f55bea70f41e" +SRCREV = "d004cca465e5c5af3ce02c02a15978ff02b510c3" DEPENDS = "glib-2.0 xz zstd"
PATCH 12/14 libinput: upgrade 1.29.1 -> 1.29.2
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Release Notes:
https://gitlab.freedesktop.org/libinput/libinput/-/releases/1.29.2
---
.../wayland/{libinput_1.29.1.bb => libinput_1.29.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-graphics/wayland/{libinput_1.29.1.bb => libinput_1.29.2.bb} (97%)meta/recipes-graphics/wayland/libinput_1.29.2.bb renamed from meta/recipes-graphics/wayland/libinput_1.29.1.bb +1 -1
@@ -15,7 +15,7 @@ DEPENDS = "libevdev udev mtdev" SRC_URI = "git://gitlab.freedesktop.org/libinput/libinput.git;protocol=https;branch=1.29-branch;tag=${PV} \ file://run-ptest \ " -SRCREV = "dc2c1ad181be88e1487468f7ca6f9d320981f133" +SRCREV = "917783150a5bab7d55eedc5714f1b49b192426ac" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
PATCH 13/14 liburcu: upgrade 0.15.3 -> 0.15.5
In reply to [email protected]From: Ankur Tyagi <[email protected]>
v0.15.5
* x86: Define cmm_smp_mb() as lock; addl rather than mfence
* Introduce barrier test
* Add test_uatomic to gitignore
* Cleanup: Remove stray space
* benchmark: Add uatomic benchmark
v0.15.4
* uatomic: Fix redundant memory barriers for atomic builtin operations
* Cleanup: Remove useless declarations from urcu-qsbr
* src/urcu-bp.c: assert => urcu_posix_assert
* ppc.h: improve ppc64 caa_get_cycles on Darwin
---
.../liburcu/{liburcu_0.15.3.bb => liburcu_0.15.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/liburcu/{liburcu_0.15.3.bb => liburcu_0.15.5.bb} (91%)meta/recipes-support/liburcu/liburcu_0.15.5.bb renamed from meta/recipes-support/liburcu/liburcu_0.15.3.bb +1 -1
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c2a92498b6e88e276f986877995425b8 \ SRC_URI = "http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2" -SRC_URI[sha256sum] = "26687ec84e3e114759454c884a08abeaf79dec09b041895ddf4c45ec150acb6d" +SRC_URI[sha256sum] = "b2f787a8a83512c32599e71cdabcc5131464947b82014896bd11413b2d782de1" S = "${UNPACKDIR}/userspace-rcu-${PV}" inherit autotools multilib_header
PATCH 14/14 libproxy: upgrade 0.5.10 -> 0.5.11
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Changelog:
https://github.com/libproxy/libproxy/compare/0.5.10...0.5.11
---
.../libproxy/{libproxy_0.5.10.bb => libproxy_0.5.11.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/libproxy/{libproxy_0.5.10.bb => libproxy_0.5.11.bb} (95%)meta/recipes-support/libproxy/libproxy_0.5.11.bb renamed from meta/recipes-support/libproxy/libproxy_0.5.10.bb +1 -1
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ DEPENDS = "glib-2.0" SRC_URI = "git://github.com/libproxy/libproxy;protocol=https;branch=main;tag=${PV}" -SRCREV = "7e4852f9658084c61a95973b8a1d720b1763437a" +SRCREV = "3fd3a6e845c0386d91abc742453d0f29bf28c404" inherit meson pkgconfig gobject-introspection vala gi-docgen GIDOCGEN_MESON_OPTION = 'docs'