deal with socket_wrapper splitting

(cherry picked from commit f89a13144c5ebdea66b0288d07758312a16a92de)
This commit is contained in:
Funda Wang 2025-01-25 02:20:25 +08:00 committed by openeuler-sync-bot
parent 661529aa37
commit e1c493f7d0

View File

@ -7,7 +7,7 @@
Name: gssproxy Name: gssproxy
Version: 0.9.2 Version: 0.9.2
Release: 2 Release: 3
Summary: GSSAPI Proxy Summary: GSSAPI Proxy
License: MIT License: MIT
URL: https://github.com/gssapi/gssproxy URL: https://github.com/gssapi/gssproxy
@ -16,9 +16,7 @@ Source0: https://github.com/gssapi/%{name}/releases/download/v%{version}/%{name}
Patch1: backport-Remove-from-the-correct-list.patch Patch1: backport-Remove-from-the-correct-list.patch
Requires: krb5 keyutils libverto-module-base libini_config Requires: krb5 keyutils libverto-module-base libini_config
Requires(post): systemd %{?systemd_requires}
Requires(preun): systemd
Requires(postun): systemd
Conflicts: selinux-policy < 3.13.1-283.5 Conflicts: selinux-policy < 3.13.1-283.5
@ -29,7 +27,7 @@ BuildRequires: systemd-devel
%if %{with enable_check} %if %{with enable_check}
# for make check # for make check
BuildRequires: krb5-client krb5-server openldap-clients openldap-servers socket_wrapper nss_wrapper BuildRequires: krb5-client krb5-server openldap-clients openldap-servers pkgconfig(socket_wrapper) nss_wrapper
%if %{with use_valgrind} %if %{with use_valgrind}
BuildRequires: valgrind glibc-debuginfo glibc BuildRequires: valgrind glibc-debuginfo glibc
%endif %endif
@ -38,10 +36,7 @@ BuildRequires: valgrind glibc-debuginfo glibc
%description %description
This is a proxy for GSSAPI which deals with credential handling This is a proxy for GSSAPI which deals with credential handling
%package help %package_help
Summary: Help files for %{name}
%description help
Help files for %{name}.
%prep %prep
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
@ -55,11 +50,10 @@ autoreconf -f -i
--disable-rpath \ --disable-rpath \
--with-gpp-default-behavior=REMOTE_FIRST --with-gpp-default-behavior=REMOTE_FIRST
make %{?_smp_mflags} all %make_build
make test_proxymech make test_proxymech
%install %install
rm -rf %{buildroot}
%make_install %make_install
rm -f %{buildroot}%{_libdir}/gssproxy/proxymech.la rm -f %{buildroot}%{_libdir}/gssproxy/proxymech.la
install -d -m755 %{buildroot}%{_sysconfdir}/gssproxy install -d -m755 %{buildroot}%{_sysconfdir}/gssproxy
@ -112,6 +106,9 @@ mkdir -p %{buildroot}%{gpstatedir}/rcache
%{_mandir}/man8/gssproxy-mech.8* %{_mandir}/man8/gssproxy-mech.8*
%changelog %changelog
* Sat Jan 25 2025 Funda Wang <fundawang@yeah.net> - 0.9.2-3
- deal with socket_wrapper splitting
* Tue Mar 12 2024 yixiangzhike <yixiangzhike007@163.com> - 0.9.2-2 * Tue Mar 12 2024 yixiangzhike <yixiangzhike007@163.com> - 0.9.2-2
- backport upstream patch to remove node from the correct list - backport upstream patch to remove node from the correct list