0000-12-31 18:09:24 -05:50
|
|
|
Name: ipa-server
|
0000-12-31 18:09:24 -05:50
|
|
|
Version: VERSION
|
2008-01-31 13:21:07 -06:00
|
|
|
Release: 6%{?dist}
|
2008-01-18 15:20:36 -06:00
|
|
|
Summary: IPA authentication server
|
0000-12-31 18:09:24 -05:50
|
|
|
|
|
|
|
Group: System Environment/Base
|
2008-01-18 15:20:36 -06:00
|
|
|
License: GPLv2+
|
0000-12-31 18:09:24 -05:50
|
|
|
URL: http://www.freeipa.org
|
|
|
|
Source0: %{name}-%{version}.tgz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2007-11-15 09:57:26 -06:00
|
|
|
BuildRequires: fedora-ds-base-devel >= 1.1
|
|
|
|
BuildRequires: mozldap-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: openldap-devel
|
|
|
|
BuildRequires: krb5-devel
|
|
|
|
BuildRequires: nss-devel
|
0000-12-31 18:09:24 -05:50
|
|
|
BuildRequires: libcap-devel
|
2007-11-15 09:57:26 -06:00
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
Requires: ipa-python
|
|
|
|
Requires: ipa-admintools
|
2007-11-15 09:57:26 -06:00
|
|
|
Requires: fedora-ds-base >= 1.1
|
|
|
|
Requires: openldap-clients
|
|
|
|
Requires: nss
|
|
|
|
Requires: nss-tools
|
|
|
|
Requires: krb5-server
|
|
|
|
Requires: krb5-server-ldap
|
|
|
|
Requires: cyrus-sasl-gssapi
|
|
|
|
Requires: ntp
|
|
|
|
Requires: httpd
|
|
|
|
Requires: mod_python
|
|
|
|
Requires: mod_auth_kerb
|
2007-10-19 10:41:59 -05:00
|
|
|
Requires: mod_nss >= 1.0.7-2
|
2007-11-15 09:57:26 -06:00
|
|
|
Requires: python-ldap
|
|
|
|
Requires: python
|
|
|
|
Requires: python-krbV
|
|
|
|
Requires: TurboGears
|
|
|
|
Requires: python-tgexpandingformwidget
|
|
|
|
Requires: acl
|
2008-01-24 13:54:41 -06:00
|
|
|
Requires: python-pyasn1
|
0000-12-31 18:09:24 -05:50
|
|
|
Requires: libcap
|
0000-12-31 18:09:24 -05:50
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
%define httpd_conf /etc/httpd/conf.d
|
0000-12-31 18:09:24 -05:50
|
|
|
%define plugin_dir %{_libdir}/dirsrv/plugins
|
0000-12-31 18:09:24 -05:50
|
|
|
|
2008-01-18 15:20:36 -06:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
%description
|
2008-01-18 15:20:36 -06:00
|
|
|
IPA is a server for identity, policy, and audit.
|
0000-12-31 18:09:24 -05:50
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2008-01-14 11:43:26 -06:00
|
|
|
./configure --prefix=%{buildroot}/usr --libdir=%{buildroot}/%{_libdir} --sysconfdir=%{buildroot}/etc --localstatedir=%{buildroot}/var
|
0000-12-31 18:09:24 -05:50
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
%build
|
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
make
|
0000-12-31 18:09:24 -05:50
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
%install
|
0000-12-31 18:09:24 -05:50
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
make install
|
0000-12-31 18:09:24 -05:50
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
# Remove .la files from libtool - we don't want to package
|
|
|
|
# these files
|
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa_pwd_extop.la
|
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa-memberof-plugin.la
|
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa-dna-plugin.la
|
0000-12-31 18:09:24 -05:50
|
|
|
|
2008-01-30 08:58:15 -06:00
|
|
|
# Some user-modifiable HTML files are provided. Move these to /etc
|
|
|
|
# and link back.
|
|
|
|
mkdir -p %{buildroot}/%{_sysconfdir}/ipa/html
|
|
|
|
mv %{buildroot}/%{_usr}/share/ipa/html/ssbrowser.html %{buildroot}/%{_sysconfdir}/ipa/html
|
|
|
|
mv %{buildroot}/%{_usr}/share/ipa/html/unauthorized.html %{buildroot}/%{_sysconfdir}/ipa/html
|
|
|
|
ln -s ../../../..%{_sysconfdir}/ipa/html/ssbrowser.html \
|
|
|
|
%{buildroot}%{_usr}/share/ipa/html/ssbrowser.html
|
|
|
|
ln -s ../../../..%{_sysconfdir}/ipa/html/unauthorized.html \
|
|
|
|
%{buildroot}%{_usr}/share/ipa/html/unauthorized.html
|
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
%clean
|
0000-12-31 18:09:24 -05:50
|
|
|
rm -rf %{buildroot}
|
0000-12-31 18:09:24 -05:50
|
|
|
|
2007-12-12 12:58:55 -06:00
|
|
|
%post
|
|
|
|
if [ $1 = 1 ]; then
|
2008-01-18 15:20:36 -06:00
|
|
|
/sbin/chkconfig --add ipa_kpasswd
|
|
|
|
/sbin/chkconfig --add ipa_webgui
|
2007-12-12 12:58:55 -06:00
|
|
|
fi
|
2008-01-31 13:21:07 -06:00
|
|
|
/bin/touch /var/log/ipa_error.log
|
|
|
|
/bin/chown apache /var/log/ipa_error.log
|
|
|
|
/bin/chmod 600 /var/log/ipa_error.log
|
|
|
|
|
2007-12-12 12:58:55 -06:00
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ]; then
|
2008-01-18 15:20:36 -06:00
|
|
|
/sbin/chkconfig --del ipa_kpasswd
|
|
|
|
/sbin/chkconfig --del ipa_webgui
|
|
|
|
/sbin/service ipa_kpasswd stop >/dev/null 2>&1 || :
|
|
|
|
/sbin/service ipa_webgui stop >/dev/null 2>&1 || :
|
2007-12-12 12:58:55 -06:00
|
|
|
fi
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ "$1" -ge "1" ]; then
|
2008-01-18 15:20:36 -06:00
|
|
|
/sbin/service ipa_kpasswd condrestart >/dev/null 2>&1 || :
|
|
|
|
/sbin/service ipa_webgui condrestart >/dev/null 2>&1 || :
|
2007-12-12 12:58:55 -06:00
|
|
|
fi
|
0000-12-31 18:09:24 -05:50
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
0000-12-31 18:09:24 -05:50
|
|
|
%{_sbindir}/ipa-server-install
|
0000-12-31 18:09:24 -05:50
|
|
|
%{_sbindir}/ipa-replica-install
|
|
|
|
%{_sbindir}/ipa-replica-prepare
|
0000-12-31 18:09:24 -05:50
|
|
|
%{_sbindir}/ipa-replica-manage
|
0000-12-31 18:09:24 -05:50
|
|
|
%{_sbindir}/ipa-server-certinstall
|
0000-12-31 18:09:24 -05:50
|
|
|
%{_sbindir}/ipa_kpasswd
|
2008-01-18 15:20:36 -06:00
|
|
|
%{_sbindir}/ipa_webgui
|
|
|
|
%attr(755,root,root) %{_initrddir}/ipa_kpasswd
|
|
|
|
%attr(755,root,root) %{_initrddir}/ipa_webgui
|
0000-12-31 18:09:24 -05:50
|
|
|
|
|
|
|
%dir %{_usr}/share/ipa
|
2008-01-30 08:58:15 -06:00
|
|
|
%{_usr}/share/ipa/*.ldif
|
|
|
|
%{_usr}/share/ipa/*.template
|
|
|
|
%dir %{_usr}/share/ipa/html
|
|
|
|
%{_usr}/share/ipa/html/ssbrowser.html
|
|
|
|
%{_usr}/share/ipa/html/unauthorized.html
|
|
|
|
%dir %{_sysconfdir}/ipa
|
|
|
|
%dir %{_sysconfdir}/ipa/html
|
|
|
|
%config(noreplace) %{_sysconfdir}/ipa/html/ssbrowser.html
|
|
|
|
%config(noreplace) %{_sysconfdir}/ipa/html/unauthorized.html
|
|
|
|
%{_usr}/share/ipa/ipa_webgui.cfg
|
|
|
|
%{_usr}/share/ipa/ipa.conf
|
|
|
|
%dir %{_usr}/share/ipa/ipagui
|
|
|
|
%{_usr}/share/ipa/ipagui/*
|
|
|
|
%dir %{_usr}/share/ipa/ipa_gui.egg-info
|
|
|
|
%{_usr}/share/ipa/ipa_gui.egg-info/*
|
|
|
|
%dir %{_usr}/share/ipa/ipaserver
|
|
|
|
%dir %{_usr}/share/ipa/ipaserver/*
|
0000-12-31 18:09:24 -05:50
|
|
|
|
2008-01-18 15:20:36 -06:00
|
|
|
%dir %{python_sitelib}/ipaserver
|
|
|
|
%{python_sitelib}/ipaserver/*.py*
|
|
|
|
|
2007-08-16 17:47:29 -05:00
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa_pwd_extop.so
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa-memberof-plugin.so
|
0000-12-31 18:09:24 -05:50
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa-dna-plugin.so
|
0000-12-31 18:09:24 -05:50
|
|
|
|
2008-01-14 11:43:26 -06:00
|
|
|
%dir %{_localstatedir}/cache/ipa
|
|
|
|
%dir %{_localstatedir}/cache/ipa/sysrestore
|
2008-01-23 08:45:46 -06:00
|
|
|
%attr(700,apache,apache) %dir %{_localstatedir}/cache/ipa/sessions
|
0000-12-31 18:09:24 -05:50
|
|
|
|
|
|
|
%changelog
|
2008-01-31 13:21:07 -06:00
|
|
|
* Thu Jan 31 2008 Rob Crittenden <rcritten@redhat.com> 0.6.0-6
|
|
|
|
- Ensure that the ipa_webgui error log exists and has correct permissions.
|
|
|
|
|
2008-01-30 08:58:15 -06:00
|
|
|
* Tue Jan 29 2008 Rob Crittenden <rcritten@redhat.com> 0.6.0-5
|
|
|
|
- Put user-modifiable files into /etc/ipa so they can be marked as
|
|
|
|
config(noreplace).
|
|
|
|
|
2008-01-24 12:44:38 -06:00
|
|
|
* Thu Jan 24 2008 Rob Crittenden <rcritten@redhat.com> = 0.6.0-4
|
|
|
|
- Use new name of pyasn1, python-pyasn1, in Requires
|
|
|
|
|
2008-01-23 08:45:46 -06:00
|
|
|
* Tue Jan 22 2008 Rob Crittenden <rcritten@redhat.com> = 0.6.0-3
|
|
|
|
- add session cache directory
|
|
|
|
|
2008-01-18 15:20:36 -06:00
|
|
|
* Thu Jan 17 2008 Rob Crittenden <rcritten@redhat.com> = 0.6.0-2
|
|
|
|
- Fixed License in specfile
|
|
|
|
- Include files from /usr/lib/python*/site-packages/ipaserver
|
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
* Fri Dec 21 2007 Karl MacMillan <kmacmill@redhat.com> - 0.6.0-1
|
|
|
|
- Version bump for release
|
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
* Wed Nov 21 2007 Karl MacMillan <kmacmill@mentalrootkit.com> - 0.5.0-1
|
0000-12-31 18:09:24 -05:50
|
|
|
- Preverse mode on ipa-keytab-util
|
0000-12-31 18:09:24 -05:50
|
|
|
- Version bump for relase and rpm name change
|
|
|
|
|
2007-11-15 09:57:26 -06:00
|
|
|
* Thu Nov 15 2007 Rob Crittenden <rcritten@redhat.com> - 0.4.1-2
|
|
|
|
- Broke invididual Requires and BuildRequires onto separate lines and
|
|
|
|
reordered them
|
|
|
|
- Added python-tgexpandingformwidget as a dependency
|
|
|
|
- Require at least fedora-ds-base 1.1
|
|
|
|
|
|
|
|
* Thu Nov 1 2007 Karl MacMillan <kmacmill@redhat.com> - 0.4.1-1
|
0000-12-31 18:09:24 -05:50
|
|
|
- Version bump for release
|
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
* Wed Oct 31 2007 Karl MacMillan <kmacmill@redhat.com> - 0.4.0-6
|
|
|
|
- Add dep for freeipa-admintools and acl
|
|
|
|
|
2007-10-24 14:39:05 -05:00
|
|
|
* Wed Oct 24 2007 Rob Crittenden <rcritten@redhat.com> - 0.4.0-5
|
|
|
|
- Add dependency for python-krbV
|
|
|
|
|
2007-10-19 10:41:59 -05:00
|
|
|
* Fri Oct 19 2007 Rob Crittenden <rcritten@redhat.com> - 0.4.0-4
|
|
|
|
- Require mod_nss-1.0.7-2 for mod_proxy fixes
|
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
* Thu Oct 18 2007 Karl MacMillan <kmacmill@redhat.com> - 0.4.0-3
|
|
|
|
- Convert to autotools-based build
|
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
* Tue Sep 25 2007 Karl MacMillan <kmacmill@redhat.com> - 0.4.0-2
|
|
|
|
- Package ipa-webgui
|
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
* Fri Sep 7 2007 Karl MacMillan <kmacmill@redhat.com> - 0.3.0-1
|
|
|
|
- Added support for libipa-dna-plugin
|
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
* Fri Aug 10 2007 Karl MacMillan <kmacmill@redhat.com> - 0.2.0-1
|
0000-12-31 18:09:24 -05:50
|
|
|
- Added support for ipa_kpasswd and ipa_pwd_extop
|
|
|
|
|
2007-08-06 09:05:53 -05:00
|
|
|
* Mon Aug 5 2007 Rob Crittenden <rcritten@redhat.com> - 0.1.0-3
|
|
|
|
- Abstracted client class to work directly or over RPC
|
|
|
|
|
|
|
|
* Wed Aug 1 2007 Rob Crittenden <rcritten@redhat.com> - 0.1.0-2
|
|
|
|
- Add mod_auth_kerb and cyrus-sasl-gssapi to Requires
|
|
|
|
- Remove references to admin server in ipa-server-setupssl
|
|
|
|
- Generate a client certificate for the XML-RPC server to connect to LDAP with
|
|
|
|
- Create a keytab for Apache
|
|
|
|
- Create an ldif with a test user
|
|
|
|
- Provide a certmap.conf for doing SSL client authentication
|
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
* Fri Jul 27 2007 Karl MacMillan <kmacmill@redhat.com> - 0.1.0-1
|
0000-12-31 18:09:24 -05:50
|
|
|
- Initial rpm version
|