2012-07-16 15:40:16 +00:00
|
|
|
Name: gssproxy
|
2013-04-09 13:28:15 +00:00
|
|
|
Version: 0.1.1
|
2013-04-01 20:07:21 +00:00
|
|
|
Release: 1%{?dist}
|
2012-07-16 15:40:16 +00:00
|
|
|
Summary: GSSAPI Proxy
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: MIT
|
|
|
|
URL: http://fedorahosted.org/gss-proxy
|
|
|
|
Source0: http://fedorahosted.org/released/gss-proxy/%{name}-%{version}.tar.gz
|
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
|
|
|
|
%global servicename gssproxy
|
|
|
|
%global pubconfpath %{_sysconfdir}/gssproxy
|
|
|
|
|
2013-04-01 20:07:21 +00:00
|
|
|
Requires: krb5-libs >= 1.11
|
|
|
|
Requires: keyutils-libs
|
2012-07-16 15:40:16 +00:00
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
|
|
|
|
### Build Dependencies ###
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: m4
|
|
|
|
BuildRequires: libxslt
|
|
|
|
BuildRequires: libxml2
|
|
|
|
BuildRequires: docbook-style-xsl
|
|
|
|
BuildRequires: doxygen
|
2013-04-01 20:07:21 +00:00
|
|
|
BuildRequires: gettext-devel
|
2012-07-16 15:40:16 +00:00
|
|
|
BuildRequires: pkgconfig
|
2013-04-01 20:07:21 +00:00
|
|
|
BuildRequires: krb5-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: keyutils-libs-devel
|
2013-04-09 13:28:15 +00:00
|
|
|
BuildRequires: libini_config-devel >= 1.0.0.1
|
2013-04-01 20:07:21 +00:00
|
|
|
BuildRequires: libverto-devel
|
|
|
|
BuildRequires: popt-devel
|
2012-07-16 15:40:16 +00:00
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: systemd-units
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
2012-07-18 11:07:54 +00:00
|
|
|
A proxy for GSSAPI credential handling.
|
2012-07-16 15:40:16 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -f -i
|
|
|
|
%configure \
|
|
|
|
--with-pubconf-path=%{pubconfpath} \
|
|
|
|
--with-init-dir=%{_initrddir} \
|
|
|
|
--disable-static \
|
|
|
|
--disable-rpath
|
|
|
|
|
|
|
|
make %{?_smp_mflags} all
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
install -d -m755 %{buildroot}%{_sysconfdir}/gssproxy
|
|
|
|
install -d -m755 %{buildroot}%{_unitdir}
|
|
|
|
install -m644 examples/gssproxy-example.conf %{buildroot}%{_sysconfdir}/gssproxy/gssproxy.conf
|
|
|
|
install -m644 systemd/gssproxy.service %{buildroot}%{_unitdir}/gssproxy.service
|
2012-11-07 10:36:43 +00:00
|
|
|
rm -f %{buildroot}%{_libdir}/gssproxy/proxymech.la
|
2012-07-16 15:40:16 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2012-07-18 11:07:54 +00:00
|
|
|
%doc COPYING
|
2012-07-16 15:40:16 +00:00
|
|
|
%{_unitdir}/gssproxy.service
|
|
|
|
%{_sbindir}/gssproxy
|
2012-07-18 11:07:54 +00:00
|
|
|
%attr(0755,root,root) %dir %{pubconfpath}
|
2013-04-01 20:07:21 +00:00
|
|
|
%attr(0600,root,root) %config(noreplace) /%{_sysconfdir}/gssproxy/gssproxy.conf
|
|
|
|
%{_libdir}/gssproxy/proxymech.so
|
2012-07-16 15:40:16 +00:00
|
|
|
%{_mandir}/man5/gssproxy.conf.5*
|
|
|
|
%{_mandir}/man8/gssproxy.8*
|
|
|
|
|
|
|
|
%post
|
2012-08-22 20:52:35 +00:00
|
|
|
%systemd_post gssproxy.service
|
2012-07-16 15:40:16 +00:00
|
|
|
|
|
|
|
%preun
|
2012-08-22 20:52:35 +00:00
|
|
|
%systemd_preun gssproxy.service
|
2012-07-16 15:40:16 +00:00
|
|
|
|
|
|
|
%postun
|
2012-08-22 20:52:35 +00:00
|
|
|
%systemd_postun_with_restart gssproxy.service
|
2012-07-16 15:40:16 +00:00
|
|
|
|
|
|
|
%changelog
|
2013-04-01 20:07:21 +00:00
|
|
|
* Mon Apr 01 2013 Simo Sorce <simo@redhat.com> - 0.1.0-0
|
|
|
|
- New upstream release
|
|
|
|
|
2013-02-14 00:37:04 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-07 10:36:43 +00:00
|
|
|
* Tue Nov 06 2012 Guenther Deschner <gdeschner@redhat.com> 0.0.3-7
|
|
|
|
- Update to 0.0.3
|
|
|
|
|
2012-08-22 20:52:35 +00:00
|
|
|
* Wed Aug 22 2012 Guenther Deschner <gdeschner@redhat.com> 0.0.2-6
|
|
|
|
- Use new systemd-rpm macros
|
|
|
|
- resolves: #850139
|
|
|
|
|
2012-07-18 11:07:54 +00:00
|
|
|
* Wed Jul 18 2012 Guenther Deschner <gdeschner@redhat.com> 0.0.2-5
|
|
|
|
- More spec file fixes
|
|
|
|
|
2012-07-16 17:08:42 +00:00
|
|
|
* Mon Jul 16 2012 Guenther Deschner <gdeschner@redhat.com> 0.0.2-4
|
|
|
|
- Fix systemd service file
|
|
|
|
|
2012-07-16 15:40:16 +00:00
|
|
|
* Fri Jul 13 2012 Guenther Deschner <gdeschner@redhat.com> 0.0.2-3
|
|
|
|
- Fix various packaging issues
|
|
|
|
|
|
|
|
* Mon Jul 02 2012 Guenther Deschner <gdeschner@redhat.com> 0.0.1-2
|
|
|
|
- Add systemd packaging
|
|
|
|
|
|
|
|
* Wed Mar 28 2012 Guenther Deschner <gdeschner@redhat.com> 0.0.1-1
|
|
|
|
- Various fixes
|
|
|
|
|
|
|
|
* Mon Dec 12 2011 Simo Sorce <simo@redhat.com> - 0.0.2-0
|
|
|
|
- Automated build of the gssproxy daemon
|