libtirpc/libtirpc.spec
Wenhua Huang b20f32a0e6 gssapi: fix rpc_gss_seccreate passed in cred
Fix rpc_gss_seccreate() usage of the passed in gss credential.

Fixes: 5f1fe4dde861 ("Pass time_req and input_channel_bindings through to init_sec_context")
(cherry picked from commit 48ae14e5b7bcbc89d59243864aadea0170b164ca)
2024-09-10 19:51:09 +08:00

136 lines
3.1 KiB
RPMSpec

Name: libtirpc
Version: 1.3.4
Release: 4
Summary: Transport-independent RPC library
License: SISSL and BSD
URL: http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary
Source0: http://downloads.sourceforge.net/libtirpc/%{name}-%{version}.tar.bz2
Patch0: 0001-update-libtirpc-to-enable-tcp-port-listening.patch
Patch1: backport-fix-memory-leak-in-destroy_addr.patch
Patch2: backport-fix-rpc_gss_seccreate-passed-in-cred.patch
BuildRequires: automake autoconf libtool pkgconfig krb5-devel
%description
Libtirpc is a Transport-Independent RPC library for Linux
%package devel
Summary: Development files for the %{name}
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
The %{name}-devel package contains development files for %{name}.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
sh autogen.sh
autoreconf -fisv
%if 0%{?build_cross} == 1
%configure --disable-gssapi
%else
%configure
%endif
%make_build
%install
%make_install libdir=/%{_lib} pkgconfigdir=%{_libdir}/pkgconfig
%delete_la_and_a
mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%doc AUTHORS
%license COPYING
/%{_lib}/*.so.*
%config(noreplace)%{_sysconfdir}/netconfig
%config(noreplace)%{_sysconfdir}/bindresvport.blacklist
%files devel
%defattr(-,root,root)
%{!?_licensedir:%global license %%doc}
/%{_lib}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/tirpc/*
%files help
%defattr(-,root,root)
%doc ChangeLog NEWS README
%{_mandir}/*/*
%changelog
* Wed Jul 10 2024 Wenhua Huang <huangwenhua@kylinos.cn> - 1.3.4-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix rpc_gss_seccreate passed in cred
* Tue Jul 09 2024 gaihuiying <eaglegai@163.com> - 1.3.4-3
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:add macros to control if gssapi is support
* Thu May 09 2024 zhangyaqi <zhangyaqi@kylinos.cn> - 1.3.4-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: fix memory leak in destroy_addr
* Tue Dec 26 2023 gaihuiying <eaglegai@163.com> - 1.3.4-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC: update libtirpc to 1.3.4
* Sat Jun 17 2023 gaihuiying <eaglegai@163.com> - 1.3.3-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: remove useless dependency man-db
* Tue Feb 28 2023 gaihuiying <eaglegai@163.com> - 1.3.3-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: delete *.a file
* Tue Nov 15 2022 gaihuiying <eaglegai@163.com> - 1.3.3-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC: update libtirpc to 1.3.3
* Thu Jul 21 2022 xuchenchen <xuchenchen@kylinos.cn> - 1.3.2-2
- Type: fix CVE
- ID:CVE-2021-46828
- SUG:NA
- DESC: fix CVE-2021-46828
* Sat Mar 19 2022 xihaochen <xihaochen@h-partners.com> - 1.3.2-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC: update libtirpc to 1.3.2
* Wed Jan 27 2021 xihaochen <xihaochen@huawei.com> - 1.3.1-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC: update libtirpc to 1.3.1
* Tue Jul 28 2020 lunankun <lunankun@huawei.com> -1.2.6-1
- Type:update
- Id:NA
- SUG:NA
- DESC:update to libtirpc-1.2.6
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.4-1
- Package init