Sync from SUSE:SLFO:Main libtirpc revision 8d6b5a03ae0117dc38de867eacd2ad30

This commit is contained in:
Adrian Schröter 2024-05-03 15:58:05 +02:00
commit 6a244b6796
5 changed files with 923 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libtirpc3

BIN
libtirpc-1.3.4.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

787
libtirpc.changes Normal file
View File

@ -0,0 +1,787 @@
-------------------------------------------------------------------
Tue Oct 17 15:04:18 UTC 2023 - Thomas Blume <Thomas.Blume@suse.com>
- update to 1.3.4 (bsc#1199467)
* binddynport.c honor ip_local_reserved_ports
* 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
-------------------------------------------------------------------
Fri Aug 19 15:27:29 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.3.3 (bsc#1201680, CVE-2021-46828):
* Fix DoS vulnerability in libtirpc
* _rpc_dtablesize: use portable system call
* libtirpc: Fix use-after-free accessing the error number
* Fix potential memory leak of parms.r_addr
* rpcb_clnt.c add mechanism to try v2 protocol first
* 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)
-------------------------------------------------------------------
Wed Sep 15 05:35:58 UTC 2021 - Petr Vorel <pvorel@suse.cz>
- Backport DoS vulnerability fix 0001-Fix-DoS-vulnerability-in-libtirpc.patch
- Replace %setup with %autosetup
-------------------------------------------------------------------
Sun May 16 09:17:01 UTC 2021 - Dirk Müller <dmueller@suse.com>
- 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
-------------------------------------------------------------------
Wed Dec 23 12:50:03 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix sed call to fixup libtirpc.pc.in: as we want our tirpc to be
a transparent drop-in-replacement for rpc, we move the files
from /usr/include/tirpc to /usr/include. Due to an upstream
change in libtirpc.pc.in, though, the existing sed call no longer
matched and no longer corrected the information according to our
package.
-------------------------------------------------------------------
Wed Dec 2 17:29:03 UTC 2020 - Petr Vorel <pvorel@suse.cz>
- 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
-------------------------------------------------------------------
Thu Oct 29 10:45:54 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- install libraries to %{_libdir} (boo#1029961)
-------------------------------------------------------------------
Wed Apr 15 10:32:08 UTC 2020 - Petr Vorel <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 14:08:52 UTC 2020 - Petr Vorel <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 00:58:56 UTC 2020 - Stefan Brüns <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 15:45:16 UTC 2020 - Petr Vorel <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 10:24:59 UTC 2019 - Petr Vorel <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 11:46:28 UTC 2019 - Petr Vorel <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 15:23:12 UTC 2019 - Michal Suchanek <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 08:06:23 UTC 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 13:26:43 CEST 2018 - kukuk@suse.de
- Revert binddynport changes as they break backward compatibility
[brc#1562169].
- add 002-revert-binddynport.patch
-------------------------------------------------------------------
Thu Mar 15 23:10:46 UTC 2018 - jengelh@inai.de
- Remove ineffective --with-pic.
-------------------------------------------------------------------
Wed Mar 14 16:03:31 CET 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 11:58:44 CET 2018 - kukuk@suse.de
- Adjust include directory [bsc#1083902]
-------------------------------------------------------------------
Thu Feb 22 15:10:39 UTC 2018 - fvogt@suse.com
- Use %license (boo#1082318)
-------------------------------------------------------------------
Mon Jan 15 16:59:02 CET 2018 - kukuk@suse.de
- Move /usr/include/tirpc to /usr/include
-------------------------------------------------------------------
Mon Nov 27 14:30:05 CET 2017 - kukuk@suse.de
- Add COPYING.GPLv2 and install Licenses for GPLv2 code.
-------------------------------------------------------------------
Tue Nov 14 12:44:04 CET 2017 - kukuk@suse.de
- 005-missing-includes.patch: add missing includes to make headers
compatible to sunrpc.
-------------------------------------------------------------------
Mon Nov 13 15:58:42 CET 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 15:57:11 CET 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 08:59:27 UTC 2017 - jengelh@inai.de
- Rectify RPM groups and summaries,
and update old macro/variable constructs.
-------------------------------------------------------------------
Wed Jul 5 13:22:53 UTC 2017 - schwab@suse.de
- decls.patch: fix missing declarations
- explicit_bzero.patch: use explicit_bzero if available
-------------------------------------------------------------------
Mon Mar 14 15:17:59 CET 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 11:09:16 CET 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 13:09:48 CET 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 15:09:28 CET 2016 - kukuk@suse.de
- Remove 004-netconfig-prefer-IPv6.patch for SLES12.
- Remove libtirpc-getnetconfig-races.patch (was backport).
[FATE#320393]
-------------------------------------------------------------------
Wed Jan 20 15:12:14 CET 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 12:55:40 CET 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 11:34:12 UTC 2015 - okir@suse.com
- Fix public xdr.h header - xdr_rpcvers() were broken (bsc#902439)
Added: libtirpc-xdr-header.patch
-------------------------------------------------------------------
Thu Jul 16 15:46:00 CEST 2015 - kukuk@suse.de
- Update 099-poll.patch with newest version send upstream.
-------------------------------------------------------------------
Fri Jul 10 14:56:02 CEST 2015 - kukuk@suse.de
- Add 099-poll.patch: change svc_run from select() to poll().
-------------------------------------------------------------------
Thu Jul 9 10:47:08 CEST 2015 - kukuk@suse.de
- Add 012-xp_sock.patch: add sunrpc compatibility define
-------------------------------------------------------------------
Thu Jul 2 15:51:07 CEST 2015 - kukuk@suse.de
- Update 009-authdes_pk_create.patch (fix syncaddr handling)
- Add 011-authdes_create.patch (fix syncaddr handling)
-------------------------------------------------------------------
Sat Jun 27 06:46:14 UTC 2015 - kukuk@suse.com
- Add 010-xdr_sizeof.patch (enable xdr_sizeof)
-------------------------------------------------------------------
Fri Jun 26 22:15:28 UTC 2015 - kukuk@suse.com
- Add 009-authdes_pk_create.patch (missing SunRPC compat function)
-------------------------------------------------------------------
Wed Jun 24 16:44:06 CEST 2015 - kukuk@suse.de
- Add 008-fix-undef-ref.patch to fix a undefined reference bug
-------------------------------------------------------------------
Tue Jun 23 14:15:25 CEST 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 17:06:29 CEST 2015 - kukuk@suse.de
- Remove krb5-devel from -devel requires, not needed anymore
-------------------------------------------------------------------
Mon Jun 1 14:44:05 CEST 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 13:55:07 CEST 2015 - kukuk@suse.de
- 007-fix-tirpc_map.patch: fix symbol version for new global names
-------------------------------------------------------------------
Tue May 26 11:28:46 CEST 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 12:48:37 CEST 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
-------------------------------------------------------------------
Sat May 9 01:00:12 CEST 2015 - kukuk@suse.de
- 003-fix-gssapi.patch: Update, one chunk did go lost
-------------------------------------------------------------------
Fri May 8 10:07:42 CEST 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 13:50:16 CEST 2015 - kukuk@suse.de
- Fix HAVE_AUTHDES/HAVE_GSSAPI in public header files
(001-tirpc-features.patch)
-------------------------------------------------------------------
Wed May 6 22:54:38 CEST 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 11:41:21 CEST 2015 - kukuk@suse.de
- Update 001-symbol-versions-v4.patch with
001-symbol-versions-v5.patch: Add --disable-symvers option
-------------------------------------------------------------------
Thu Apr 30 18:14:30 CEST 2015 - kukuk@suse.de
- Update 003-add-des_crypt.diff, fix unresolved des functions
-------------------------------------------------------------------
Thu Apr 30 17:11:28 CEST 2015 - kukuk@suse.de
- Update to git
- Add 003-add-des_crypt.diff to fix unresolved *_crypt() functions
-------------------------------------------------------------------
Thu Apr 30 13:12:30 CEST 2015 - kukuk@suse.de
- Disable gssapi for SLE11, kerberos version is too old
-------------------------------------------------------------------
Thu Apr 30 12:56:09 CEST 2015 - kukuk@suse.de
- rpc/rpc.h requires now indirectly gssapi.h from krb5-devel
-------------------------------------------------------------------
Thu Apr 30 11:47:42 CEST 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 14:57:04 CEST 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 13:34:30 CEST 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 21:55:29 CEST 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 08:46:32 UTC 2015 - lchiquitto@suse.com
- Fix race conditions in getnetconfig (bsc#899576, bsc#882973)
Added: libtirpc-getnetconfig-races.patch
-------------------------------------------------------------------
Fri Dec 19 14:20:15 CET 2014 - kukuk@suse.de
- 004-netconfig-prefer-IPv6.patch: Prever IPv6 over IPv4 (configured
in /etc/netconfig)
-------------------------------------------------------------------
Fri Dec 19 13:37:49 CET 2014 - kukuk@suse.de
- 002-old-automake.patch: make buildable on old systems
-------------------------------------------------------------------
Wed Dec 17 16:26:51 CET 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 14:47:58 CET 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 15:56:16 UTC 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 11:54:35 UTC 2014 - okir@suse.com
- taddr2uaddr would return trailing garbage for AF_LOCAL addresses (libtirpc-taddr2uaddr-local.patch)
-------------------------------------------------------------------
Thu Jan 9 11:15:17 UTC 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 04:51:00 UTC 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 22:18:38 UTC 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 08:31:28 UTC 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 14:08:31 UTC 2013 - mmeister@suse.com
- Added url as source.
Please see http://en.opensuse.org/SourceUrls
-------------------------------------------------------------------
Thu Dec 8 12:48:16 UTC 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 20:04:02 UTC 2011 - aj@suse.de
- Update license (bnc#735008).
-------------------------------------------------------------------
Wed Nov 30 09:51:42 UTC 2011 - coolo@suse.com
- add libtool as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Fri Jul 8 07:24:27 UTC 2011 - coolo@novell.com
- add baselibs.conf to allow pam-32bit to link against it
-------------------------------------------------------------------
Fri Jun 17 14:18:24 UTC 2011 - aj@suse.de
- Fix library with reverting a patch in 0.22 release
(libtirpc-revert-des_crypt.patch)
-------------------------------------------------------------------
Tue Jun 14 10:35:18 UTC 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 05:07:13 UTC 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 12:37:02 UTC 2010 - jengelh@medozas.de
- Use %_smp_mflags
-------------------------------------------------------------------
Wed Sep 29 15:42:12 UTC 2010 - max@novell.com
- Fix showmount -e hostname (bnc#633007).
-------------------------------------------------------------------
Wed Sep 15 14:38:57 UTC 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 21:01:20 UTC 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 01:22:13 CET 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 21:32:42 CET 2009 - crrodriguez@suse.de
- fix -devel package dependencies
-------------------------------------------------------------------
Mon Nov 17 16:20:57 CET 2008 - mkoenig@suse.de
- Fix a bug in clnt broadcast and handle misformed rpcbind replies
[bnc#436038]
-------------------------------------------------------------------
Wed Oct 22 16:17:26 CEST 2008 - mrueckert@suse.de
- fix debug_packages_requires define
-------------------------------------------------------------------
Wed Oct 1 12:32:45 CEST 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 18:49:16 CEST 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 17:32:28 CEST 2008 - ro@suse.de
- fix requires for debuginfo package
-------------------------------------------------------------------
Wed Mar 19 17:12:18 CET 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

109
libtirpc.spec Normal file
View File

@ -0,0 +1,109 @@
#
# spec file for package libtirpc
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define debug_package_requires libtirpc3 = %{version}-%{release}
Name: libtirpc
Version: 1.3.4
Release: 0
Summary: Transport Independent RPC Library
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: https://sourceforge.net/projects/libtirpc/
Source: https://download.sourceforge.net/libtirpc/%{name}-%{version}.tar.bz2
Source1: baselibs.conf
BuildRequires: pkgconfig
BuildRequires: pkgconfig(krb5)
%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
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
%autosetup -p1
%build
sed -i -e 's|${includedir}/tirpc|${includedir}|g' libtirpc.pc.in
%configure --disable-static
%make_build
%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}
rm -v %{buildroot}%{_libdir}/%{name}.la
# 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}%{_sysconfdir}/bindresvport.blacklist
%post -n libtirpc3 -p /sbin/ldconfig
%postun -n libtirpc3 -p /sbin/ldconfig
%files -n libtirpc3
%license COPYING
%{_libdir}/libtirpc.so.3*
%files netconfig
%config %{_sysconfdir}/netconfig
%{_mandir}/man5/netconfig.5%{?ext_man}
%files devel
%{_libdir}/libtirpc.so
%{_includedir}/*
%{_libdir}/pkgconfig/*
%{_mandir}/man3/*
%changelog