commit 07997a35db6c1383bea6f3a63f5bd873bad13772 Author: zyppe <210hcl@gmail.com> Date: Thu Feb 29 15:55:20 2024 +0800 Initialize for libtirpc diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..77e77c1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +libtirpc-1.3.4.tar.bz2 diff --git a/.libtirpc.metadata b/.libtirpc.metadata new file mode 100644 index 0000000..ec09b47 --- /dev/null +++ b/.libtirpc.metadata @@ -0,0 +1 @@ +13dcbf1ef118cd2eaf18bcef2b7d2086c34daba0eba74c906aa4c99e677180f4 libtirpc-1.3.4.tar.bz2 diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..a8fa7b2 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libtirpc3 diff --git a/libtirpc.changes b/libtirpc.changes new file mode 100644 index 0000000..77f35e0 --- /dev/null +++ b/libtirpc.changes @@ -0,0 +1,530 @@ +* Mon Nov 6 2023 thomas.blume@suse.com +- fix sed parsing for libtirpc.pc.in in specfile (boo#1216862) +* Fri Oct 13 2023 thomas.blume@suse.com +- update to 1.3.4 (bsc#1199467) + * binddynport.c honor ip_local_reserved_ports + - replaces: binddynport-honor-ip_local_reserved_ports.patch + * gss-api: expose gss major/minor error in authgss_refresh() + * rpcb_clnt.c: Eliminate double frees in delete_cache() + * rpcb_clnt.c: memory leak in destroy_addr + * portmapper: allow TCP-only portmapper + * getnetconfigent: avoid potential DoS issue by removing unnecessary sleep + * clnt_raw.c: fix a possible null pointer dereference + * bindresvport.c: fix a potential resource leakage +- update to 1.3.3 (bsc#1201680, CVE-2021-46828): + * Fix DoS vulnerability in libtirpc + - replaces: 0001-Fix-DoS-vulnerability-in-libtirpc.patch + * _rpc_dtablesize: use portable system call + * libtirpc: Fix use-after-free accessing the error number + * Fix potential memory leak of parms.r_addr + - replaces 0001-fix-parms.r_addr-memory-leak.patch + * rpcb_clnt.c add mechanism to try v2 protocol first + - preplaces: 0001-rpcb_clnt.c-config-to-try-protocolversion-2-first.patch + * Eliminate deadlocks in connects with an MT environment + * clnt_dg_freeres() uncleared set active state may deadlock + * thread safe clnt destruction + * SUNRPC: mutexed access blacklist_read state variable + * SUNRPC: MT-safe overhaul of address cache management in rpcb_clnt.c +- drop 0001-Fix-DoS-vulnerability-in-libtirpc.patch (upstream) +- update to 1.3.2: + * Replace the final SunRPC licenses with BSD licenses + * blacklist: Add a few more well known ports + * libtirpc: disallow calling auth_refresh from clnt_call with RPCSEC_GSS +- Update to libtirpc 1.3.1 + * Remove AUTH_DES interfaces from auth_des.h + The unsupported AUTH_DES authentication has be + compiled out since commit d918e41d889 (Wed Oct 9 2019) + replaced by API routines that return errors. + * svc_dg: Free xp_netid during destroy + * Fix memory management issues of fd locks + * libtirpc: replace array with list for per-fd locks + * __svc_vc_dodestroy: fix double free of xp_ltaddr.buf + * __rpc_dtbsize: rlim_cur instead of rlim_max + * pkg-config: use the correct replacements for libdir/includedir + Patches replaced by update: + binddynport-honor-ip_local_reserved_ports.patch (bsc#1199467) + 0001-Fix-DoS-vulnerability-in-libtirpc.patch (bsc#1201680) + 0001-fix-parms.r_addr-memory-leak.patch (bsc#1198752) + 0001-rpcb_clnt.c-config-to-try-protocolversion-2-first.patch + (bsc#1196647), (bsc#1200800), (bsc#1198176) + * replaces /etc/netconfig-try-2-first by the environment variable + RPCB_V2FIRST +* Tue Nov 29 2022 thomas.blume@suse.com +- consider /proc/sys/net/ipv4/ip_local_reserved_ports, before binding + to a random port (bsc#1199467) + - add binddynport-honor-ip_local_reserved_ports.patch +* Fri Sep 9 2022 thomas.blume@suse.com +- fix CVE-2021-46828: libtirpc: DoS vulnerability with lots of + connections (bsc#1201680) + - add 0001-Fix-DoS-vulnerability-in-libtirpc.patch +* Fri Jul 22 2022 thomas.blume@suse.com +-exclude ipv6 addresses in client protocol 2 code (bsc#1200800) + - update 0001-rpcb_clnt.c-config-to-try-protocolversion-2-first.patch +* Tue May 10 2022 thomas.blume@suse.com +- fix memory leak in params.r_addr assignement (bsc#1198752) + - add 0001-fix-parms.r_addr-memory-leak.patch +* Fri Apr 22 2022 thomas.blume@suse.com +- check for nullpointer in check_address (bsc#1198176) + update 0001-rpcb_clnt.c-config-to-try-protocolversion-2-first.patch +* Tue Mar 8 2022 thomas.blume@suse.com +- add option to enforce connection via protocol version 2 first + (bsc#1196647) + add 0001-rpcb_clnt.c-config-to-try-protocolversion-2-first.patch +* Wed Apr 15 2020 pvorel@suse.cz +- Update to libtirpc 1.2.6 + - Drop patches all patches backported from this release + (0001-Add-authdes_seccreate-stub.patch, + 0001-Avoid-multiple-definiton-with-gcc-fno-common.patch) +* Wed Feb 5 2020 pvorel@suse.cz +- Backport upstream fix daed7ee ("Avoid multiple-definiton with gcc -fno-common") + to fix build error with gcc flag -fno-common (bsc#1160875). + Tested on gcc-9 and gcc-10. + 0001-Avoid-multiple-definiton-with-gcc-fno-common.patch +* Fri Jan 31 2020 stefan.bruens@rwth-aachen.de +- Skip unneeded autogen.sh run (configure is up-to-date), drop + dependencies: libtool, autoconf +- Replace krb5-mini-devel/krb5-devel with pkgconfig(krb5) +* Fri Jan 3 2020 pvorel@suse.cz +- Update to libtirpc 1.2.5 + - A number resource leaks and other issues were fix which were identified + by a Coverity Scan. + - The AUTH_DES authentication has been deprecated. If any of those routines + are called, they will fail immediately. + - numerous bug fixes +- Package changes: + - Build without AUTH_DES authentication + - Add patch from next release 0001-Add-authdes_seccreate-stub.patch + (a86b4ff Add authdes_seccreate() stub) + - Drop rc patches (libtirpc-1-1-5-rc1.patch, libtirpc-1-1-5-rc2.patch) + - Drop patches all patches backported from this release + (0001-Makefile.am-Use-LIBADD-instead-of-LDFLAGS-to-link-ag.patch, + 0002-man-rpc_secure.3t-Fix-typo-in-manpage.patch, + 0003-xdr-add-a-defensive-mask-in-xdr_int64_t-and-xdr_u_in.patch) +* Tue Nov 12 2019 pvorel@suse.cz +- Fix previous version: + - actually delete + 0001-xdrstdio_create-buffers-do-not-output-encoded-values.patch + - use 0001-Makefile.am-Use-LIBADD-instead-of-LDFLAGS-to-link-ag.patch + - use 0002-man-rpc_secure.3t-Fix-typo-in-manpage.patch (renamed from + 0003-man-rpc_secure.3t-Fix-typo-in-manpage.patch) + - use 0003-xdr-add-a-defensive-mask-in-xdr_int64_t-and-xdr_u_in.patch + (renamed from + 0004-xdr-add-a-defensive-mask-in-xdr_int64_t-and-xdr_u_in.patch) +* Wed Oct 16 2019 pvorel@suse.cz +- Updated to libtirpc 1.1.5 rc2 (this includes changes in 1.1.4 release) + - add libtirpc-1-1-5-rc1.patch and libtirpc-1-1-5-rc2.patch to reflect + upstream changes after 1.1.4 release + - remove /etc/bindresvport.blacklist as it's still supported by glibc + although it's not compiled with --enable-obsolete-rpc +- Drop patches accepted in previous releases or not needed + - 000-bindresvport_blacklist.patch (accepted in 5b037cc9, libtirpc 1.1.4) + - 001-new-rpcbindsock-path.patch (not needed, rpcbind now uses /var/run directory) + - 002-revert-binddynport.patch (fixed in 2802259, libtirpc-1-0-4-rc1) + - 0001-Fix-regression-introduced-by-change-rpc-version-orde.patch + (backport of 25d38d7, libtirpc-1-0-4-rc1) + - 0001-xdrstdio_create-buffers-do-not-output-encoded-values.patch + (backport of 145272c, libtirpc-1-0-4-rc2) +- Add fixes from upcomming release + - 0001-Makefile.am-Use-LIBADD-instead-of-LDFLAGS-to-link-ag.patch + - 0003-man-rpc_secure.3t-Fix-typo-in-manpage.patch + - 0004-xdr-add-a-defensive-mask-in-xdr_int64_t-and-xdr_u_in.patch +* Mon Mar 11 2019 msuchanek@suse.de +- Fix SLES 15 - yp_bind_client_create_v3: RPC: Unknown host (bsc#1126096). + - Add upstream patch + 0001-xdrstdio_create-buffers-do-not-output-encoded-values.patch +* Thu Apr 12 2018 Thomas.Blume@suse.com +- fix socket leak introduced by change-rpc-protocol-version-order patch + (bsc#1087925) + - add 0001-Fix-regression-introduced-by-change-rpc-version-orde.patch +* Thu Apr 5 2018 kukuk@suse.de +- Revert binddynport changes as they break backward compatibility + [brc#1562169]. + - add 002-revert-binddynport.patch +* Thu Mar 15 2018 jengelh@inai.de +- Remove ineffective --with-pic. +* Wed Mar 14 2018 kukuk@suse.de +- Update to libtirpc 1.0.3 + - clnt_dg_call: Fix a buffer overflow (CVE-2016-4429) + - Avoid choosing reserved ports in legacy RPC APIs + - rpcinfo: change order of version to be tried to 4, 3, 2 + - includes 003-rpc-types.patch + - includes 004-replace-bzero-with-memset.patch + - includes 005-missing-includes.patch + - includes 011-Fix-typo-in-src-libtirpc.map-which-prevents-that-key.patch + - includes decls.patch +- Drop COPYING.GPLv2, GPLv2 code was removed from library +* Mon Mar 5 2018 kukuk@suse.de +- Adjust include directory [bsc#1083902] +* Thu Feb 22 2018 fvogt@suse.com +- Use %%license (boo#1082318) +* Mon Jan 15 2018 kukuk@suse.de +- Move /usr/include/tirpc to /usr/include +* Mon Nov 27 2017 kukuk@suse.de +- Add COPYING.GPLv2 and install Licenses for GPLv2 code. +* Tue Nov 14 2017 kukuk@suse.de +- 005-missing-includes.patch: add missing includes to make headers + compatible to sunrpc. +* Mon Nov 13 2017 kukuk@suse.de +- Update to version 1.0.2 + - 002-old-automake.patch: not needed anymore + - 005-libtirpc-1.0.2-rc1.patch: dropped + - 006-Remove-old-meanwhile-wrong-comment-about-FD_SETSIZE-.patch: + removed, merged upstream + - 007-Change-rtime-function-to-use-poll-instead-of-select.patch: + removed, merged upstream + - 008-Add-parameters-to-local-prototypes-to-fix-compiler-w.patch: + removed, merged upstream + - 009-makefd_xprt-checks-that-the-filedesriptor-is-lower-t.patch: + removed, merged upstream + - 010-The-goto-again-statement-was-an-left-over-from-the-p.patch: + removed, merged upstream + - 012-libtirpc-needs-rpcsvc-nis.h-for-compiling-but-does-n.patch: + removed, merged upstream + - 013-If-we-don-t-compile-in-YP-support-don-t-include-YP-h.patch: + removed, merged upstream + - 014-Add-des_crypt.c-and-des_impl.c-to-become-independent.patch: + removed, merged upstream + - 015-Fix-includes-to-compile-without-deprecated-glibc-fun.patch: + removed, merged upstream + - patch6_7.diff: obsolete + - Replace explicit_bzero.patch with + 004-replace-bzero-with-memset.patch from git + - Rename libtirpc-new-path-rpcbindsock.patch to + 001-new-rpcbindsock-path.patch +* Mon Nov 13 2017 kukuk@suse.de +- 003-rpc-types.patch: Add some typedefs to rpc/types.h to allow + applications be compiled with -std=iso9899:1990 +* Sat Sep 30 2017 jengelh@inai.de +- Rectify RPM groups and summaries, + and update old macro/variable constructs. +* Wed Jul 5 2017 schwab@suse.de +- decls.patch: fix missing declarations +- explicit_bzero.patch: use explicit_bzero if available +* Mon Mar 14 2016 kukuk@suse.de +- Add some patches to get libtirpc compiled without needing glibc + deprecated functions: + - 015-Fix-includes-to-compile-without-deprecated-glibc-fun.patch + - 014-Add-des_crypt.c-and-des_impl.c-to-become-independent.patch + - 013-If-we-don-t-compile-in-YP-support-don-t-include-YP-h.patch +- Add 012-libtirpc-needs-rpcsvc-nis.h-for-compiling-but-does-n.patch + to allow bootstrapping of libtirpc without glibc sunrpc code or + libnsl NIS+ code. +* Mon Mar 14 2016 kukuk@suse.de +- Add 011-Fix-typo-in-src-libtirpc.map-which-prevents-that-key.patch + (fix export of key_secretkey_is_set) +* Thu Feb 25 2016 kukuk@suse.de +- Add the following patches to fix some bugs from the poll() + port and an endless loop: + - 006-Remove-old-meanwhile-wrong-comment-about-FD_SETSIZE-.patch + - 007-Change-rtime-function-to-use-poll-instead-of-select.patch + - 008-Add-parameters-to-local-prototypes-to-fix-compiler-w.patch + - 009-makefd_xprt-checks-that-the-filedesriptor-is-lower-t.patch + - 010-The-goto-again-statement-was-an-left-over-from-the-p.patch +* Thu Jan 21 2016 kukuk@suse.de +- Remove 004-netconfig-prefer-IPv6.patch for SLES12. +- Remove libtirpc-getnetconfig-races.patch (was backport). + [FATE#320393] +* Wed Jan 20 2016 kukuk@suse.de +- Split the netconfig configuration file and manual page off into + an own RPM. Else it is not possible to install the old and new + libtirpc libraries in parallel. +* Tue Nov 17 2015 kukuk@suse.de +- Update to libtirpc-1.0.1 + - new major soname + - Adjust auth code to match other RPC implementations + - Implement more gss auth stuff + - use poll() instead of select() in svc_run() + - Add more sunrpc compat functions + - Sync compat headers with real functions +- Drop 005-missing-symvers.patch (upstream) +- Drop 006-memleak1.patch (upstream) +- Drop 007-memleak2.patch (upstream) +- Drop 008-fix-undef-ref.patch (upstream) +- Drop 009-authdes_pk_create.patch (upstream) +- Drop 010-xdr_sizeof.patch (upstream) +- Drop 011-authdes_create.patch (upstream) +- Drop 012-xp_sock.patch (upstream) +- Drop 099-poll.patch (upstream) +- Drop libtirpc-xdr-header.patch (was backport) +- Add 005-libtirpc-1.0.2-rc1.patch (fixes deadlock) +* Thu Jul 23 2015 okir@suse.com +- Fix public xdr.h header - xdr_rpcvers() were broken (bsc#902439) + Added: libtirpc-xdr-header.patch +* Thu Jul 16 2015 kukuk@suse.de +- Update 099-poll.patch with newest version send upstream. +* Fri Jul 10 2015 kukuk@suse.de +- Add 099-poll.patch: change svc_run from select() to poll(). +* Thu Jul 9 2015 kukuk@suse.de +- Add 012-xp_sock.patch: add sunrpc compatibility define +* Thu Jul 2 2015 kukuk@suse.de +- Update 009-authdes_pk_create.patch (fix syncaddr handling) +- Add 011-authdes_create.patch (fix syncaddr handling) +* Sat Jun 27 2015 kukuk@suse.com +- Add 010-xdr_sizeof.patch (enable xdr_sizeof) +* Fri Jun 26 2015 kukuk@suse.com +- Add 009-authdes_pk_create.patch (missing SunRPC compat function) +* Wed Jun 24 2015 kukuk@suse.de +- Add 008-fix-undef-ref.patch to fix a undefined reference bug +* Tue Jun 23 2015 kukuk@suse.de +- Update to version 0.3.2 (bring authdes back) +- Remove 005-no_IPv6_for_old_code.patch (accepted upstream) +- Remove 001-tirpc-features.patch (obsolete) +- Add 005-missing-symvers.patch (fix missing, new symbols) +- Add 006-memleak1.patch (fix memory leak) +- Add 007-memleak2.patch (fix memory leak) +* Mon Jun 1 2015 kukuk@suse.de +- Remove krb5-devel from -devel requires, not needed anymore +* Mon Jun 1 2015 kukuk@suse.de +- Update to libtirpc 0.3.1, which incorporates the following + patches: + - 011-gssapi-update1.patch + - 012-gssapi-update2.patch + - 013-gssapi-update3.patch + - 014-gssapi-update4.patch + - 015-gssapi-update5.patch + - 016-gssapi-update6.patch + - 017-gssapi-update7.patch + - 018-gssapi-update8.patch + Not needed anymore: + - 007-fix-tirpc_map.patch + Adjusted: + - 001-tirpc-features.patch, merged with 006-rework-features.diff + - 002-old-automake.patch +* Tue May 26 2015 kukuk@suse.de +- 007-fix-tirpc_map.patch: fix symbol version for new global names +* Tue May 26 2015 kukuk@suse.de +- 006-rework-features.diff: Adjust for set of gssapi patches +- 003-fix-gssapi.patch replaced by 011-gssapi-update1.patch +- 012-gssapi-update2.patch: fix krb5-config usage +- 013-gssapi-update3.patch: check for gssapi.h +- 014-gssapi-update4.patch: don't include rpcsec_gss.h +- 015-gssapi-update5.patch: don't install GSSAPI files if disabled +- 016-gssapi-update6.patch: fix rpc_gss_seccreate +- 017-gssapi-update7.patch: officialy export two internal functions +- 018-gssapi-update8.patch: don't use glibc special header files +* Tue May 12 2015 kukuk@suse.de +- 003-fix-gssapi.patch: Correct fix for GSS ABI breakage +- 005-no_IPv6_for_old_code.patch: Update comment +- 006-rework-features.diff: Rework tirpc-features.h +* Fri May 8 2015 kukuk@suse.de +- 003-fix-gssapi.patch: Update, one chunk did go lost +* Fri May 8 2015 kukuk@suse.de +- 001-tirpc-features.patch: update with official git version +- 002-old-automake.patch: re-add for SLES11 +- 003-fix-gssapi.patch: try to fix the disable-gssapi option correct +* Thu May 7 2015 kukuk@suse.de +- Fix HAVE_AUTHDES/HAVE_GSSAPI in public header files + (001-tirpc-features.patch) +* Wed May 6 2015 kukuk@suse.de +- Update to official release 0.3.0. authdes was disabled by default + upstream. +- Following patches were merged: + - 001-symbol-versions-v5.patch + - 003-add-des_crypt.diff +- Remove 002-old-automake.patch, not needed anymore +* Mon May 4 2015 kukuk@suse.de +- Update 001-symbol-versions-v4.patch with + 001-symbol-versions-v5.patch: Add --disable-symvers option +* Thu Apr 30 2015 kukuk@suse.de +- Update 003-add-des_crypt.diff, fix unresolved des functions +* Thu Apr 30 2015 kukuk@suse.de +- Update to git +- Add 003-add-des_crypt.diff to fix unresolved *_crypt() functions +* Thu Apr 30 2015 kukuk@suse.de +- Disable gssapi for SLE11, kerberos version is too old +* Thu Apr 30 2015 kukuk@suse.de +- rpc/rpc.h requires now indirectly gssapi.h from krb5-devel +* Thu Apr 30 2015 kukuk@suse.de +- Update to current git. +- The following patches were accepted upstream: + - 003-xdr_h-fix.patch + - 005-disable-rpcent.patch + - 006-no-libnsl.patch + - patch1_7.diff + - patch2_7.diff + - patch3_7.diff +- patch7_7.diff: removed, rejected upstream +- 001-symbol-versions-v3.patch: replace with 001-symbol-versions-v4.patch +* Fri Apr 24 2015 kukuk@suse.de +- Add the following patches from the libtirpc-devel mailing list: + - patch1_7.diff (remove wrong config.h.in) + - patch2_7.diff (fix function name of yp_check) + - patch3_7.diff (make sure config.h is included) + - patch6_7.diff (use getaddrinfo in getrpcport) + - patch7_7.diff (remove prototypes from headers we don't supply) +* Fri Apr 24 2015 kukuk@suse.de +- Add following patches: + - 003-xdr_h-fix.patch (fix wrong defines using xdr_u_int32) + - 005-disable-rpcent.patch (use rpcent functions from glibc) + - 006-no-libnsl.patch (don't link against libnsl) +* Thu Apr 23 2015 kukuk@suse.de +- Update to 0.2.5.git from 20150423 + - following patches are accepted upstream: + - 003-rpc_broadcast_misformed_replies.patch + - libtirpc-misc-segfaults.patch + - replace 001-symbol-versions-v2.patch with + 001-symbol-versions-v3.patch + - enable symbol versioning patch +* Tue Feb 3 2015 lchiquitto@suse.com +- Fix race conditions in getnetconfig (bsc#899576, bsc#882973) + Added: libtirpc-getnetconfig-races.patch +* Fri Dec 19 2014 kukuk@suse.de +- 004-netconfig-prefer-IPv6.patch: Prever IPv6 over IPv4 (configured + in /etc/netconfig) +* Fri Dec 19 2014 kukuk@suse.de +- 002-old-automake.patch: make buildable on old systems +* Wed Dec 17 2014 kukuk@suse.de +- Update to 0.2.5.git from 20141217 + - following patches are accepted upstream: + - 002-clnt_broadcast_fix.patch + - 004-getpmaphandle.patch + - libtirpc-clntunix_create.patch + - libtirpc-getbroadifs-crash.patch + - libtirpc-taddr2uaddr-local.patch +* Mon Dec 15 2014 kukuk@suse.de +- Update to upstream 0.2.5 release +- Add symbol versioning to fix symbol conflicts + (001-symbol-versions-v2.patch), but disable until commited upstream +- Adjust libtirpc-clnt_broadcast_fix.patch and rename to + 002-clnt_broadcast_fix.patch +- Adjust libtirpc-rpc_broadcast_misformed_replies.patch and rename + to 003-rpc_broadcast_misformed_replies.patch +- Rename libtirpc-getpmaphandle.patch to 004-getpmaphandle.patch +- Adjust libtirpc-bindresvport_blacklist.patch and rename to + 000-bindresvport_blacklist.patch +- Drop libtirpc-pmap-setunset.patch, not needed anymore +- Apply libtirpc-new-path-rpcbindsock.patch only on openSUSE 13.1 + and later +* Fri Jan 31 2014 okir@suse.com +- Prevent a segfault of 'rpcinfo -b' on systems with tuntap devices (bnc#861577). + Added: libtirpc-getbroadifs-crash.patch +* Fri Jan 10 2014 okir@suse.com +- taddr2uaddr would return trailing garbage for AF_LOCAL addresses (libtirpc-taddr2uaddr-local.patch) +* Thu Jan 9 2014 okir@suse.com +- Fix a segfault in clntunix_create (libtirpc-clntunix_create.patch) +- Fix misc segfaults in rpcb_* function (libtirpc-misc-segfaults.patch) +- Fix _PATH_RPCBSOCK to match rpcbind behavior under systemd + (libtirpc-new-path-rpcbindsock.patch) +* Mon Dec 2 2013 nfbrown@suse.com +- Change BuildDepends from krb5-devel to krb5-mini-devel + for those releases which provide it + as the later is sufficient and has fewer down-stream + dependencies. +* Wed Nov 13 2013 nfbrown@suse.com +- Use krb5 rather than gssglue to provide gss + access routines. + Both krb5 and gssglue provide routines of the same + name, and both can get linked into rpc.gssd, resulting + in some confusion. + Upstream support seems to be leaning heavily towards + avoiding libgssglue. nfs-utils is built without it, + and best to build libtirpc without it. + (bnc#841788) +* Mon Aug 19 2013 okir@suse.com +- Updated to latest upstream revision, and removed + libtirpc-revert-des_crypt.patch which is now upstream +- Verified that the bugfix for bnc#702472 is in upstream +- verified that SLE patches are present (bnc#831296) +* Mon Apr 15 2013 mmeister@suse.com +- Added url as source. + Please see http://en.opensuse.org/SourceUrls +* Thu Dec 8 2011 cfarrell@suse.com +- license update: BSD-4-Clause + Remove deprecated rpm license string. Use SPDX syntax. Highlight + BSD-4-Clause (advertising clause) nature of package +* Wed Dec 7 2011 aj@suse.de +- Update license (bnc#735008). +* Wed Nov 30 2011 coolo@suse.com +- add libtool as buildrequire to avoid implicit dependency +* Fri Jul 8 2011 coolo@novell.com +- add baselibs.conf to allow pam-32bit to link against it +* Fri Jun 17 2011 aj@suse.de +- Fix library with reverting a patch in 0.22 release + (libtirpc-revert-des_crypt.patch) +* Tue Jun 14 2011 aj@suse.de +- Update to libtirpc 0.22 which brings (compared to latest release): + * various bugfixes + * Replaces SISL files with BSD 3-clause +- Remove patch libtirpc-use-correct-source-addr-on-replies.patch + since it's part of the 0.22 release. +* Tue Feb 22 2011 nfbrown@novell.com +- Use correct source address on replies [bnc#587934,bnc#587811] +- Prevent bindresvport from binding to blacklisted ports [bnc#579315] +* Sun Oct 31 2010 jengelh@medozas.de +- Use %%_smp_mflags +* Wed Sep 29 2010 max@novell.com +- Fix showmount -e hostname (bnc#633007). +* Wed Sep 15 2010 max@novell.com +- Fix interoperability of libtirpc with the old portmapper: + * Add libtirpc-getpmaphandle.patch + * Add libtirpc-pmap-setunset.patch + * bnc#633007 +* Thu May 27 2010 cristian.rodriguez@opensuse.org +- Update to a current git snapshot, important fixes: + * don't call abort() in the AUTH_UNIX creation codepaths + * Support 64-bit bit mask operations in svc_getreqset() + * Automount with nis maps crashes and generates a core + * memory leaks in rpcb_clnt.c:add_cache() and getclnthandle() +* Wed Dec 16 2009 ro@suse.de +- update to version 0.2.1 which integrates the fixes previously + in single patches from git and works with current nfs-client + recent changes include: + - rpcb_getaddr: Handle only "udp" and "tcp" netids when using + PMAP_GETPORT + - rpcb_getaddr: Always do PMAP_GETPORT first for NC_INET + transports + - getnetconfig: Fix NC_BADFILE return from getnetconfigent(3t) + - Added HAVE_LIBGSSAPI defines around gss code + so the --disble-gss configure option would work + - rpcb_clnt: RPC_PROGNOTREGISTERED is a permanent error + - clnt_dg: Fix infinite loop when datagram call times out +* Fri Mar 13 2009 crrodriguez@suse.de +- fix -devel package dependencies +* Mon Nov 17 2008 mkoenig@suse.de +- Fix a bug in clnt broadcast and handle misformed rpcbind replies + [bnc#436038] +* Wed Oct 22 2008 mrueckert@suse.de +- fix debug_packages_requires define +* Wed Oct 1 2008 mkoenig@suse.de +- add recent patches from git which fix some more bugs + * fix __rpc_getconfip + * fix getpeereid + * svc_getcaller_netbuf macro seems broken + * introduce __rpc_set_netbuf helper + * kill map_ipv4_to_ipv6 + * Fix xp_raddr handling in svc_fd_create etc + * fix for taddr2addr conversion bug of local addresses [bnc#426883] +* Tue Sep 2 2008 mkoenig@suse.de +- update to version 0.1.9 + * several bugfixes +- fix rpc_broadcast [bnc#421950] +- fix ipv4+ipv6 binding [bnc#421976] +- removed patches + libtirpc-0.1.7-arm.patch + libtirpc-0.1.7-bindresvport-ntohs.patch + libtirpc-0.1.7-bindresvport_ports.patch + libtirpc-0.1.7-bufoverflow.patch + libtirpc-0.1.7-clnt_raw-mutex.patch + libtirpc-0.1.7-dgcall-iprecverr.patch + libtirpc-0.1.7-gssglue.patch + libtirpc-0.1.7-libtirpc-pc.patch + libtirpc-0.1.7-man-install.patch + libtirpc-0.1.7-netconfig.patch + libtirpc-0.1.7-ppc64.patch + libtirpc-0.1.7-snprintf.patch + libtirpc-0.1.7-svcauthdestroy.patch + libtirpc-0.1.7-svc_auth_gss_lvalue_fix.patch + libtirpc-0.1.7-svcauthnone.patch + libtirpc-0.1.7-svc-rtaddr.patch + libtirpc-0.1.7-svc-run.patch + libtirpc-0.1.7-version.patch + libtirpc-0.1.7-xdr_bufferoverlow.patch +* Fri Aug 1 2008 ro@suse.de +- fix requires for debuginfo package +* Wed Mar 19 2008 mkoenig@suse.de +- initial packaging, version 0.1.7 [fate#300607] +- apply some fixes/enhancements from Steve Dickson +- includes fix for CVE-2007-3999 +- set shlib soname version initially to 1.0.7, + keeping compatibility with RH +- fix some compiling issues diff --git a/libtirpc.spec b/libtirpc.spec new file mode 100644 index 0000000..b5b2c1c --- /dev/null +++ b/libtirpc.spec @@ -0,0 +1,115 @@ +# +# spec file for package libtirpc +# +# Copyright (c) 2022-2023 ZhuningOS +# + + +Name: libtirpc +# src/crypt_client.c and tirpc/rpcsvc/crypt.x have the BSD advertising clause +Version: 1.3.4 +Release: 150300.3.23.1 +Summary: Transport Independent RPC Library +License: BSD-3-Clause +Group: Development/Libraries/C and C++ +BuildRequires: pkg-config +BuildRequires: pkgconfig(krb5) +BuildRequires: libtool +BuildRequires: autoconf +URL: https://sourceforge.net/projects/libtirpc/ +Source: %{name}-%{version}.tar.bz2 +Source1: baselibs.conf + +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%define debug_package_requires libtirpc3 = %{version}-%{release} + +%description +The Transport Independent RPC library (TI-RPC) is a replacement for the +standard SunRPC library in glibc which does not support IPv6 addresses. +This implementation allows the support of other transports than UDP and +TCP over IPv4. + +%package -n libtirpc3 +Summary: Transport Independent RPC Library +Group: System/Libraries +Requires: libtirpc-netconfig >= %{version} + +%description -n libtirpc3 +The Transport Independent RPC library (TI-RPC) is a replacement for the +standard SunRPC library in glibc which does not support IPv6 addresses. +This implementation allows the support of other transports than UDP and +TCP over IPv4. + +%package netconfig +Summary: Netconfig configuration file for TI-RPC Library +Group: System/Base + +%description netconfig +This RPM contains the netconfig configuration file and manual page for +the TI-RPC Library. + +%package devel +# src/crypt_client.c tirpc/spinlock.h and tirpc/rpcsvc/crypt.x have the BSD +# advertising clause +Summary: Development files for the Transport Independent RPC Library +Group: Development/Libraries/C and C++ +Requires: glibc-devel +Requires: libtirpc3 = %{version} + +%description devel +The Transport Independent RPC library (TI-RPC) is a replacement for the +standard SunRPC library in glibc which does not support IPv6 addresses. +This implementation allows the support of other transports than UDP and +TCP over IPv4. + +%prep +%setup -q -n %name-%version +%autopatch -p1 + +%build +autoreconf -fiv +sed -i -e 's|${includedir}/tirpc|${includedir}|g' libtirpc.pc.in + +%configure --disable-static \ + --libdir=/%{_lib} +%make_build %{?_smp_mflags} + +%install +# Don't strip .symtab to allow debugging +export STRIP_KEEP_SYMTAB=libtirpc*.so* +# NO_BRP_CHECK_ROOTFS is for SLES11 only, but does not harm for Factory +export NO_BRP_CHECK_ROOTFS=true +%make_install +# move devel so link to _libdir +mkdir -p %{buildroot}/%{_libdir} +ln -sv /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so +rm -v %{buildroot}/%{_lib}/%{name}.{la,so} +mv -v %{buildroot}/%{_lib}/pkgconfig %{buildroot}/%{_libdir} +# Move RPC headers from tirpc subdirectory into main directory, +# they are now default +mv -v %{buildroot}%{_includedir}/tirpc/* %{buildroot}%{_includedir} +rmdir %{buildroot}%{_includedir}/tirpc +rm -v %{buildroot}/etc/bindresvport.blacklist + +%post -n libtirpc3 -p /sbin/ldconfig + +%postun -n libtirpc3 -p /sbin/ldconfig + +%files -n libtirpc3 +%defattr(-,root,root) +%license COPYING +/%{_lib}/libtirpc.so.3* + +%files netconfig +%defattr(-,root,root) +%config %{_sysconfdir}/netconfig +%{_mandir}/man5/netconfig.5.gz + +%files devel +%defattr(-,root,root) +%{_libdir}/libtirpc.so +/usr/include/* +/usr/%{_lib}/pkgconfig/* +%{_mandir}/man3/* + +%changelog