From a2b81373dcf7c7f03cb634f4da0680549af19a4d457f3f842a3183f7f406b487 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 8 Dec 2020 08:08:09 +0000 Subject: [PATCH 1/5] Accepting request 852696 from home:pevik:branches:Base:System - 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 - Package changes: - BuildRequires: s/pkg-config/pkgconf-pkg-config/ OBS-URL: https://build.opensuse.org/request/show/852696 OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=90 --- libtirpc-1.2.6.tar.bz2 | 3 --- libtirpc-1.3.1.tar.bz2 | 3 +++ libtirpc.changes | 18 ++++++++++++++++++ libtirpc.spec | 4 ++-- 4 files changed, 23 insertions(+), 5 deletions(-) delete mode 100644 libtirpc-1.2.6.tar.bz2 create mode 100644 libtirpc-1.3.1.tar.bz2 diff --git a/libtirpc-1.2.6.tar.bz2 b/libtirpc-1.2.6.tar.bz2 deleted file mode 100644 index 7f5c59b..0000000 --- a/libtirpc-1.2.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4278e9a5181d5af9cd7885322fdecebc444f9a3da87c526e7d47f7a12a37d1cc -size 513150 diff --git a/libtirpc-1.3.1.tar.bz2 b/libtirpc-1.3.1.tar.bz2 new file mode 100644 index 0000000..1debd96 --- /dev/null +++ b/libtirpc-1.3.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:245895caf066bec5e3d4375942c8cb4366adad184c29c618d97f724ea309ee17 +size 513399 diff --git a/libtirpc.changes b/libtirpc.changes index 568d0e2..4275f5e 100644 --- a/libtirpc.changes +++ b/libtirpc.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Dec 2 17:29:03 UTC 2020 - Petr Vorel + +- 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 + +- Package changes: + - BuildRequires: s/pkg-config/pkgconf-pkg-config/ + ------------------------------------------------------------------- Thu Oct 29 10:45:54 UTC 2020 - Ludwig Nussel diff --git a/libtirpc.spec b/libtirpc.spec index a1f4946..624f919 100644 --- a/libtirpc.spec +++ b/libtirpc.spec @@ -18,12 +18,12 @@ Name: libtirpc # src/crypt_client.c and tirpc/rpcsvc/crypt.x have the BSD advertising clause -Version: 1.2.6 +Version: 1.3.1 Release: 0 Summary: Transport Independent RPC Library License: BSD-3-Clause Group: Development/Libraries/C and C++ -BuildRequires: pkg-config +BuildRequires: pkgconf-pkg-config BuildRequires: pkgconfig(krb5) URL: https://sourceforge.net/projects/libtirpc/ Source: %{name}-%{version}.tar.bz2 From 15bc160170d03c81cdcac4bd426c53e4510a5033e0c5ec02481eef66c7eeb9b1 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 8 Dec 2020 08:09:09 +0000 Subject: [PATCH 2/5] OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=91 --- libtirpc.spec | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/libtirpc.spec b/libtirpc.spec index 624f919..1679d62 100644 --- a/libtirpc.spec +++ b/libtirpc.spec @@ -16,6 +16,7 @@ # +%define debug_package_requires libtirpc3 = %{version}-%{release} Name: libtirpc # src/crypt_client.c and tirpc/rpcsvc/crypt.x have the BSD advertising clause Version: 1.3.1 @@ -23,13 +24,11 @@ Release: 0 Summary: Transport Independent RPC Library License: BSD-3-Clause Group: Development/Libraries/C and C++ -BuildRequires: pkgconf-pkg-config -BuildRequires: pkgconfig(krb5) 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} +BuildRequires: pkgconfig +BuildRequires: pkgconfig(krb5) %description The Transport Independent RPC library (TI-RPC) is a replacement for the @@ -71,12 +70,12 @@ This implementation allows the support of other transports than UDP and TCP over IPv4. %prep -%setup -q -n %name-%version +%setup -q %build sed -i -e 's|@includedir@/tirpc|@includedir@|g' libtirpc.pc.in %configure --disable-static -%make_build %{?_smp_mflags} +%make_build %install # Don't strip .symtab to allow debugging @@ -91,26 +90,22 @@ rm -v %{buildroot}%{_libdir}/%{name}.la # they are now default mv -v %{buildroot}%{_includedir}/tirpc/* %{buildroot}%{_includedir} rmdir %{buildroot}%{_includedir}/tirpc -rm -v %{buildroot}/etc/bindresvport.blacklist +rm -v %{buildroot}%{_sysconfdir}/bindresvport.blacklist %post -n libtirpc3 -p /sbin/ldconfig - %postun -n libtirpc3 -p /sbin/ldconfig %files -n libtirpc3 -%defattr(-,root,root) %license COPYING %{_libdir}/libtirpc.so.3* %files netconfig -%defattr(-,root,root) %config %{_sysconfdir}/netconfig -%{_mandir}/man5/netconfig.5.gz +%{_mandir}/man5/netconfig.5%{?ext_man} %files devel -%defattr(-,root,root) %{_libdir}/libtirpc.so -/usr/include/* +%{_includedir}/* %{_libdir}/pkgconfig/* %{_mandir}/man3/* From d94f477d661b51405668ef6c060f918198e8a52206b5e8b8aab7d31429706de5 Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Mon, 14 Dec 2020 09:02:22 +0000 Subject: [PATCH 3/5] Accepting request 855690 from home:pevik:branches:Base:System - BuildRequires: s/pkg-config/pkgconfig/ OBS-URL: https://build.opensuse.org/request/show/855690 OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=92 --- libtirpc.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtirpc.changes b/libtirpc.changes index 4275f5e..3454241 100644 --- a/libtirpc.changes +++ b/libtirpc.changes @@ -14,7 +14,7 @@ Wed Dec 2 17:29:03 UTC 2020 - Petr Vorel - pkg-config: use the correct replacements for libdir/includedir - Package changes: - - BuildRequires: s/pkg-config/pkgconf-pkg-config/ + - BuildRequires: s/pkg-config/pkgconfig/ ------------------------------------------------------------------- Thu Oct 29 10:45:54 UTC 2020 - Ludwig Nussel From 12c90b29fec066ae50f22c3946d6106f2487ecda2cd03ff8cf19e443749ebd9e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 21 Dec 2020 20:13:03 +0000 Subject: [PATCH 4/5] OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=93 --- libtirpc.changes | 3 --- 1 file changed, 3 deletions(-) diff --git a/libtirpc.changes b/libtirpc.changes index 3454241..788e6de 100644 --- a/libtirpc.changes +++ b/libtirpc.changes @@ -13,9 +13,6 @@ Wed Dec 2 17:29:03 UTC 2020 - Petr Vorel - __rpc_dtbsize: rlim_cur instead of rlim_max - pkg-config: use the correct replacements for libdir/includedir -- Package changes: - - BuildRequires: s/pkg-config/pkgconfig/ - ------------------------------------------------------------------- Thu Oct 29 10:45:54 UTC 2020 - Ludwig Nussel From 977730024bfa87cf8ccb86c8396499fdb64b83464fa95b95d7bb956222a35d4d Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Wed, 23 Dec 2020 21:55:45 +0000 Subject: [PATCH 5/5] Accepting request 858349 from home:dimstar:Factory - 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. OBS-URL: https://build.opensuse.org/request/show/858349 OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=94 --- libtirpc.changes | 10 ++++++++++ libtirpc.spec | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/libtirpc.changes b/libtirpc.changes index 788e6de..fc3acab 100644 --- a/libtirpc.changes +++ b/libtirpc.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Dec 23 12:50:03 UTC 2020 - Dominique Leuenberger + +- 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 diff --git a/libtirpc.spec b/libtirpc.spec index 1679d62..f1eb9df 100644 --- a/libtirpc.spec +++ b/libtirpc.spec @@ -73,7 +73,7 @@ TCP over IPv4. %setup -q %build -sed -i -e 's|@includedir@/tirpc|@includedir@|g' libtirpc.pc.in +sed -i -e 's|${includedir}/tirpc|${includedir}|g' libtirpc.pc.in %configure --disable-static %make_build