gssproxy/gssproxy.spec

114 lines
3.5 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:52:12 -04:00
%global servicename gssproxy
%global pubconfpath %{_sysconfdir}/gssproxy
%global gpstatedir %{_localstatedir}/lib/gssproxy
Name: gssproxy
2021-11-30 14:46:36 +08:00
Version: 0.8.4
2020-07-25 18:32:24 +08:00
Release: 1
2019-09-30 10:52:12 -04:00
Summary: GSSAPI Proxy
License: MIT
2020-07-25 18:32:24 +08:00
URL: https://github.com/gssapi/gssproxy
Source0: https://github.com/gssapi/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
2019-09-30 10:52:12 -04:00
2019-12-25 15:49:15 +08:00
Requires: krb5 keyutils libverto-module-base libini_config
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
2019-09-30 10:52:12 -04:00
Conflicts: selinux-policy < 3.13.1-283.5
BuildRequires: autoconf automake libtool m4 libxslt libxml2 docbook-style-xsl doxygen findutils systemd-units git popt-devel
BuildRequires: gettext-devel pkgconfig krb5-devel >= 1.12.0 libselinux-devel keyutils-libs-devel libini_config-devel >= 1.2.0 libverto-devel
%description
This is a proxy for GSSAPI which deals with credential handling
%package help
Summary: Help files for %{name}
%description help
Help files for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -f -i
%configure \
--with-pubconf-path=%{pubconfpath} \
--with-initscript=systemd \
--disable-static \
--disable-rpath \
--with-gpp-default-behavior=REMOTE_FIRST
make %{?_smp_mflags} all
make test_proxymech
%install
rm -rf %{buildroot}
%make_install
rm -f %{buildroot}%{_libdir}/gssproxy/proxymech.la
install -d -m755 %{buildroot}%{_sysconfdir}/gssproxy
install -m644 examples/gssproxy.conf %{buildroot}%{_sysconfdir}/gssproxy/gssproxy.conf
install -m644 examples/99-nfs-client.conf %{buildroot}%{_sysconfdir}/gssproxy/99-nfs-client.conf
install -D -m644 examples/mech %{buildroot}%{_sysconfdir}/gss/mech.d/gssproxy.conf
install -m644 examples/24-nfs-server.conf %{buildroot}%{_sysconfdir}/gssproxy/24-nfs-server.conf
2019-09-30 10:52:12 -04:00
mkdir -p %{buildroot}%{gpstatedir}/rcache
%post
%systemd_post gssproxy.service
%preun
%systemd_preun gssproxy.service
%postun
%systemd_postun_with_restart gssproxy.service
%files
%license COPYING
%{_unitdir}/gssproxy.service
%{_sbindir}/gssproxy
%attr(755,root,root) %dir %{pubconfpath}
%attr(755,root,root) %dir %{gpstatedir}
%attr(700,root,root) %dir %{gpstatedir}/clients
%attr(700,root,root) %dir %{gpstatedir}/rcache
%attr(0600,root,root) %config(noreplace) /%{_sysconfdir}/gssproxy/gssproxy.conf
%attr(0600,root,root) %config(noreplace) /%{_sysconfdir}/gssproxy/99-nfs-client.conf
%attr(0644,root,root) %config(noreplace) /%{_sysconfdir}/gss/mech.d/gssproxy.conf
2020-01-11 14:50:59 +08:00
%attr(0600,root,root) %config(noreplace) /%{_sysconfdir}/gssproxy/24-nfs-server.conf
2019-09-30 10:52:12 -04:00
%dir %{_libdir}/gssproxy
%{_libdir}/gssproxy/proxymech.so
%files help
%{_mandir}/man5/gssproxy.conf.5*
%{_mandir}/man8/gssproxy.8*
%{_mandir}/man8/gssproxy-mech.8*
%changelog
2021-11-30 14:46:36 +08:00
* Fri Dec 24 2021 yixiangzhike <yixiangzhike007@163.com> - 0.8.4-1
- update to 0.8.4
2020-07-25 18:32:24 +08:00
* Sat Jul 25 2020 zhangxingliang <zhangxingliang3@huawei.com> - 0.8.3-1
- Type:update
- ID:NA
- SUG:NA
- DESC:update to 0.8.3
2020-03-27 20:06:56 +08:00
* Fri Mar 27 2020 steven <steven_ygui@163.com> - 0.8.0-12
- Unlock cond_mutex before pthread exit in gp_worker_main()
* Sun Jan 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.8.0-11
- revise the bogus date in changelog and instll the 24-nfs-server.conf file
2020-01-11 14:50:59 +08:00
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.8.0-10
- add the 24-nfs-server.conf file for nfs-server
2019-12-25 15:49:15 +08:00
* Fri Dec 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.0-9
- Modify requires
2020-01-12 10:33:08 +08:00
* Thu Sep 27 2018 openEuler Buildteam <buildteam@openeuler.org> 0.8.0-8
2019-09-30 10:52:12 -04:00
- Package init
* Mon Sep 10 2018 openEuler Buildteam <buildteam@openeuler.org> 0.8.0-7
- Package init