2018-02-12 11:34:33 +01:00
|
|
|
# 389-ds-base 1.4 no longer supports i686 platform, build only client
|
|
|
|
|
# packages, https://bugzilla.redhat.com/show_bug.cgi?id=1544386
|
|
|
|
|
%if 0%{?fedora} >= 28 || 0%{?rhel} > 7
|
|
|
|
|
%ifarch %{ix86}
|
|
|
|
|
%{!?ONLY_CLIENT:%global ONLY_CLIENT 1}
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
2016-08-25 11:59:34 +03:00
|
|
|
# Define ONLY_CLIENT to only make the ipa-client and ipa-python
|
2014-10-03 14:12:35 +02:00
|
|
|
# subpackages
|
2010-01-07 14:12:52 -05:00
|
|
|
%{!?ONLY_CLIENT:%global ONLY_CLIENT 0}
|
2017-03-15 07:48:29 +01:00
|
|
|
%if %{ONLY_CLIENT}
|
|
|
|
|
%global enable_server_option --disable-server
|
|
|
|
|
%else
|
|
|
|
|
%global enable_server_option --enable-server
|
|
|
|
|
%endif
|
2009-10-12 16:00:00 -04:00
|
|
|
|
2017-03-15 09:30:14 +01:00
|
|
|
# Build with ipatests
|
|
|
|
|
%if ! %{ONLY_CLIENT}
|
|
|
|
|
%global with_ipatests 1
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?with_ipatests}
|
|
|
|
|
%global with_ipatests_option --with-ipatests
|
|
|
|
|
%else
|
|
|
|
|
%global with_ipatests_option --without-ipatests
|
|
|
|
|
%endif
|
|
|
|
|
|
2017-02-07 14:56:39 +01:00
|
|
|
%if 0%{!?with_python3:1}
|
2015-11-03 16:39:40 +01:00
|
|
|
%if 0%{?rhel}
|
|
|
|
|
%global with_python3 0
|
|
|
|
|
%else
|
2016-11-24 17:35:24 +01:00
|
|
|
%global with_python3 1
|
2015-11-03 16:39:40 +01:00
|
|
|
%endif
|
2017-02-07 14:56:39 +01:00
|
|
|
%endif
|
2015-11-03 16:39:40 +01:00
|
|
|
|
2017-12-06 00:53:29 +11:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%global python %{__python3}
|
|
|
|
|
%else
|
|
|
|
|
%global python %{__python2}
|
|
|
|
|
%endif
|
|
|
|
|
|
2016-10-12 13:27:16 +02:00
|
|
|
# lint is not executed during rpmbuild
|
2016-12-05 12:17:54 +01:00
|
|
|
# %%global with_lint 1
|
2017-01-11 15:02:09 +01:00
|
|
|
%if 0%{?with_lint}
|
2017-02-22 19:19:35 +01:00
|
|
|
%global linter_options --enable-pylint --with-jslint
|
2017-01-11 15:02:09 +01:00
|
|
|
%else
|
2017-02-22 19:19:35 +01:00
|
|
|
%global linter_options --disable-pylint --without-jslint
|
2017-01-11 15:02:09 +01:00
|
|
|
%endif
|
2016-10-12 13:27:16 +02:00
|
|
|
|
2014-09-17 10:02:01 +02:00
|
|
|
%global alt_name ipa
|
2014-10-03 14:12:35 +02:00
|
|
|
%if 0%{?rhel}
|
2017-04-25 12:35:34 +00:00
|
|
|
# 1.15.1-7: certauth (http://krbdev.mit.edu/rt/Ticket/Display.html?id=8561)
|
|
|
|
|
%global krb5_version 1.15.1-4
|
2017-04-25 12:13:00 +00:00
|
|
|
# 0.7.16: https://github.com/drkjam/netaddr/issues/71
|
|
|
|
|
%global python_netaddr_version 0.7.5-8
|
2017-07-12 17:29:30 +02:00
|
|
|
# Require 4.7.0 which brings Python 3 bindings
|
|
|
|
|
%global samba_version 4.7.0
|
2014-10-03 14:12:35 +02:00
|
|
|
%global selinux_policy_version 3.12.1-153
|
2016-08-04 09:58:50 +03:00
|
|
|
%global slapi_nis_version 0.56.0-4
|
2018-01-22 15:32:12 +01:00
|
|
|
%global python2_ldap_version 2.4.15
|
2018-04-25 08:38:28 +02:00
|
|
|
%global ds_version 1.3.7.9-1
|
2014-10-03 14:12:35 +02:00
|
|
|
%else
|
2017-04-25 12:35:34 +00:00
|
|
|
# 1.15.1-7: certauth (http://krbdev.mit.edu/rt/Ticket/Display.html?id=8561)
|
|
|
|
|
%global krb5_version 1.15.1-7
|
2017-04-25 12:13:00 +00:00
|
|
|
# 0.7.16: https://github.com/drkjam/netaddr/issues/71
|
|
|
|
|
%global python_netaddr_version 0.7.16
|
2017-07-12 17:29:30 +02:00
|
|
|
# Require 4.7.0 which brings Python 3 bindings
|
|
|
|
|
%global samba_version 2:4.7.0
|
2018-02-06 08:53:54 +01:00
|
|
|
# DNSSEC AVC violation, RHBZ#1537971
|
|
|
|
|
%global selinux_policy_version 3.13.1-283.24
|
2016-08-04 09:58:50 +03:00
|
|
|
%global slapi_nis_version 0.56.1
|
2018-01-22 15:32:12 +01:00
|
|
|
|
|
|
|
|
# Use python3-pyldap to be compatible with old python3-pyldap 2.x and new
|
|
|
|
|
# python3-ldap 3.0. The python3-ldap package also provides python3-pyldap.
|
|
|
|
|
%if 0%{?fedora} >= 28
|
|
|
|
|
# https://pagure.io/freeipa/issue/7257 DNSSEC daemons on Python 3
|
2018-05-25 18:15:11 +02:00
|
|
|
# fix for segfault in python-ldap, https://pagure.io/freeipa/issue/7324
|
|
|
|
|
%global python2_ldap_version 3.1.0-1
|
|
|
|
|
%global python3_ldap_version 3.1.0-1
|
2018-01-22 15:32:12 +01:00
|
|
|
%else
|
2018-02-06 15:46:37 +01:00
|
|
|
# syncrepl fix, https://pagure.io/freeipa/issue/7240
|
|
|
|
|
%global python2_ldap_version 2.4.25-9
|
2018-01-22 15:32:12 +01:00
|
|
|
%global python3_ldap_version 2.4.35.1-2
|
|
|
|
|
%endif
|
|
|
|
|
|
2018-04-25 08:38:28 +02:00
|
|
|
%if 0%{?fedora} >= 28
|
|
|
|
|
# Fix for "Crash when failing to read from SASL connection"
|
|
|
|
|
# https://pagure.io/389-ds-base/issue/49639
|
|
|
|
|
%global ds_version 1.4.0.8-1
|
|
|
|
|
%else
|
|
|
|
|
# 1.3.7.9-1: https://bugzilla.redhat.com/show_bug.cgi?id=1459946
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1511462
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1514033
|
|
|
|
|
%global ds_version 1.3.7.9-1
|
|
|
|
|
%endif
|
|
|
|
|
|
2014-10-03 14:12:35 +02:00
|
|
|
%endif
|
|
|
|
|
|
2018-04-30 14:18:07 +02:00
|
|
|
# Require Dogtag PKI 10.6.1 with Python 3 and SQL NSSDB fixes for external
|
|
|
|
|
# CA support, https://bugzilla.redhat.com/show_bug.cgi?id=1573094
|
|
|
|
|
%global pki_version 10.6.1
|
2018-04-30 08:25:23 +02:00
|
|
|
|
|
|
|
|
# NSS release with fix for CKA_LABEL import bug in shared SQL database.
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1568271
|
|
|
|
|
%global nss_version 3.36.1-1.1
|
2017-12-04 17:29:05 +01:00
|
|
|
|
2015-07-15 08:45:53 +00:00
|
|
|
%define krb5_base_version %(LC_ALL=C rpm -q --qf '%%{VERSION}' krb5-devel | grep -Eo '^[^.]+\.[^.]+')
|
|
|
|
|
|
2010-01-07 14:12:52 -05:00
|
|
|
%global plugin_dir %{_libdir}/dirsrv/plugins
|
2015-04-28 16:24:02 +02:00
|
|
|
%global etc_systemd_dir %{_sysconfdir}/systemd/system
|
2010-02-09 13:14:25 -05:00
|
|
|
%global gettext_domain ipa
|
2014-10-03 14:12:35 +02:00
|
|
|
|
2013-11-27 13:13:16 +00:00
|
|
|
%define _hardened_build 1
|
|
|
|
|
|
2016-10-21 22:35:28 +02:00
|
|
|
# Work-around fact that RPM SPEC parser does not accept
|
|
|
|
|
# "Version: @VERSION@" in freeipa.spec.in used for Autoconf string replacement
|
|
|
|
|
%define IPA_VERSION @VERSION@
|
|
|
|
|
%define AT_SIGN @
|
|
|
|
|
# redefine IPA_VERSION only if its value matches the Autoconf placeholder
|
|
|
|
|
%if "%{IPA_VERSION}" == "%{AT_SIGN}VERSION%{AT_SIGN}"
|
|
|
|
|
%define IPA_VERSION nonsense.to.please.RPM.SPEC.parser
|
|
|
|
|
%endif
|
|
|
|
|
|
2011-01-17 10:26:19 +01:00
|
|
|
Name: freeipa
|
2016-10-21 22:35:28 +02:00
|
|
|
Version: %{IPA_VERSION}
|
2016-12-05 12:18:54 +01:00
|
|
|
Release: 0%{?dist}
|
2009-02-02 13:50:53 -05:00
|
|
|
Summary: The Identity, Policy and Audit system
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Base
|
2010-12-09 13:59:11 +01:00
|
|
|
License: GPLv3+
|
2009-02-02 13:50:53 -05:00
|
|
|
URL: http://www.freeipa.org/
|
|
|
|
|
Source0: freeipa-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildRequires: openldap-devel
|
2017-01-24 11:02:30 +02:00
|
|
|
# For KDB DAL version, make explicit dependency so that increase of version
|
|
|
|
|
# will cause the build to fail due to unsatisfied dependencies.
|
|
|
|
|
# DAL version change may cause code crash or memory leaks, it is better to fail early.
|
2017-10-09 11:39:09 -04:00
|
|
|
%if 0%{?fedora} > 27
|
|
|
|
|
BuildRequires: krb5-kdb-version = 7.0
|
|
|
|
|
%else
|
2017-01-24 11:02:30 +02:00
|
|
|
%if 0%{?fedora} > 25
|
|
|
|
|
BuildRequires: krb5-kdb-version = 6.1
|
|
|
|
|
%endif
|
2017-10-09 11:39:09 -04:00
|
|
|
%endif
|
2017-04-25 12:35:34 +00:00
|
|
|
BuildRequires: krb5-devel >= %{krb5_version}
|
spec file: clean up BuildRequires
Add missing cyrus-sasl-devel, python-cffi, python-custodia,
python-dateutil, python-nose, python-paste, python-sss-murmur,
python-sssdconfig and systemd-python BuildRequires.
Remove unused custodia, java-headless, m4, policycoreutils,
python-kdcproxy, python-rhsm, pyOpenSSL and systemd-units BuildRequires.
Correct versioned BuildRequires and provide explanatory comments.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-10-12 13:20:32 +02:00
|
|
|
# 1.27.4: xmlrpc_curl_xportparms.gssapi_delegation
|
2011-08-11 10:42:29 +02:00
|
|
|
BuildRequires: xmlrpc-c-devel >= 1.27.4
|
2011-02-21 13:04:38 -05:00
|
|
|
BuildRequires: popt-devel
|
2009-02-02 13:50:53 -05:00
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
2011-02-21 13:04:38 -05:00
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: gettext
|
2016-11-11 22:54:13 +01:00
|
|
|
BuildRequires: gettext-devel
|
2017-10-25 15:16:30 +02:00
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: python2-setuptools
|
spec file: clean up BuildRequires
Add missing cyrus-sasl-devel, python-cffi, python-custodia,
python-dateutil, python-nose, python-paste, python-sss-murmur,
python-sssdconfig and systemd-python BuildRequires.
Remove unused custodia, java-headless, m4, policycoreutils,
python-kdcproxy, python-rhsm, pyOpenSSL and systemd-units BuildRequires.
Correct versioned BuildRequires and provide explanatory comments.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-10-12 13:20:32 +02:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
BuildRequires: python3-devel
|
2017-03-14 19:55:38 +01:00
|
|
|
BuildRequires: python3-setuptools
|
spec file: clean up BuildRequires
Add missing cyrus-sasl-devel, python-cffi, python-custodia,
python-dateutil, python-nose, python-paste, python-sss-murmur,
python-sssdconfig and systemd-python BuildRequires.
Remove unused custodia, java-headless, m4, policycoreutils,
python-kdcproxy, python-rhsm, pyOpenSSL and systemd-units BuildRequires.
Correct versioned BuildRequires and provide explanatory comments.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-10-12 13:20:32 +02:00
|
|
|
%endif # with_python3
|
|
|
|
|
# %{_unitdir}, %{_tmpfilesdir}
|
|
|
|
|
BuildRequires: systemd
|
2016-11-04 15:19:51 +01:00
|
|
|
# systemd-tmpfiles which is executed from make install requires apache user
|
|
|
|
|
BuildRequires: httpd
|
2017-03-15 07:48:29 +01:00
|
|
|
BuildRequires: nspr-devel
|
2018-04-30 08:25:23 +02:00
|
|
|
BuildRequires: nss-devel >= %{nss_version}
|
2017-03-15 07:48:29 +01:00
|
|
|
BuildRequires: openssl-devel
|
spec file: clean up BuildRequires
Add missing cyrus-sasl-devel, python-cffi, python-custodia,
python-dateutil, python-nose, python-paste, python-sss-murmur,
python-sssdconfig and systemd-python BuildRequires.
Remove unused custodia, java-headless, m4, policycoreutils,
python-kdcproxy, python-rhsm, pyOpenSSL and systemd-units BuildRequires.
Correct versioned BuildRequires and provide explanatory comments.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-10-12 13:20:32 +02:00
|
|
|
BuildRequires: libini_config-devel
|
|
|
|
|
BuildRequires: cyrus-sasl-devel
|
|
|
|
|
%if ! %{ONLY_CLIENT}
|
2018-04-25 08:38:28 +02:00
|
|
|
BuildRequires: 389-ds-base-devel >= %{ds_version}
|
spec file: clean up BuildRequires
Add missing cyrus-sasl-devel, python-cffi, python-custodia,
python-dateutil, python-nose, python-paste, python-sss-murmur,
python-sssdconfig and systemd-python BuildRequires.
Remove unused custodia, java-headless, m4, policycoreutils,
python-kdcproxy, python-rhsm, pyOpenSSL and systemd-units BuildRequires.
Correct versioned BuildRequires and provide explanatory comments.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-10-12 13:20:32 +02:00
|
|
|
BuildRequires: svrcore-devel
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
BuildRequires: samba-devel >= 4.0.0
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: samba-devel >= 2:4.0.0
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: libtalloc-devel
|
|
|
|
|
BuildRequires: libtevent-devel
|
|
|
|
|
BuildRequires: libuuid-devel
|
2011-11-30 13:29:10 +01:00
|
|
|
BuildRequires: libsss_idmap-devel
|
2017-02-02 12:32:13 +01:00
|
|
|
BuildRequires: libsss_certmap-devel
|
2017-03-29 07:14:24 +00:00
|
|
|
# 1.15.3: sss_nss_getlistbycert (https://pagure.io/SSSD/sssd/issue/3050)
|
|
|
|
|
BuildRequires: libsss_nss_idmap-devel >= 1.15.3
|
2014-03-13 17:09:49 -04:00
|
|
|
BuildRequires: rhino
|
2013-04-11 14:03:25 -04:00
|
|
|
BuildRequires: libverto-devel
|
2013-07-16 11:47:27 -04:00
|
|
|
BuildRequires: libunistring-devel
|
2013-10-10 13:41:31 +02:00
|
|
|
BuildRequires: python-lesscpy
|
spec file: clean up BuildRequires
Add missing cyrus-sasl-devel, python-cffi, python-custodia,
python-dateutil, python-nose, python-paste, python-sss-murmur,
python-sssdconfig and systemd-python BuildRequires.
Remove unused custodia, java-headless, m4, policycoreutils,
python-kdcproxy, python-rhsm, pyOpenSSL and systemd-units BuildRequires.
Correct versioned BuildRequires and provide explanatory comments.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-10-12 13:20:32 +02:00
|
|
|
%endif # ONLY_CLIENT
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Build dependencies for makeapi/makeaci
|
2016-11-30 13:38:07 +01:00
|
|
|
# makeapi/makeaci is using Python 2 only for now
|
spec file: clean up BuildRequires
Add missing cyrus-sasl-devel, python-cffi, python-custodia,
python-dateutil, python-nose, python-paste, python-sss-murmur,
python-sssdconfig and systemd-python BuildRequires.
Remove unused custodia, java-headless, m4, policycoreutils,
python-kdcproxy, python-rhsm, pyOpenSSL and systemd-units BuildRequires.
Correct versioned BuildRequires and provide explanatory comments.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-10-12 13:20:32 +02:00
|
|
|
#
|
2018-01-22 15:32:12 +01:00
|
|
|
BuildRequires: python2-ldap >= %{python2_ldap_version}
|
2017-10-25 15:16:30 +02:00
|
|
|
BuildRequires: python2-netaddr
|
2017-06-01 10:45:08 +02:00
|
|
|
BuildRequires: python2-pyasn1
|
|
|
|
|
BuildRequires: python2-pyasn1-modules
|
|
|
|
|
BuildRequires: python2-dns
|
2017-10-25 15:16:30 +02:00
|
|
|
BuildRequires: python2-six
|
2017-06-01 10:45:08 +02:00
|
|
|
BuildRequires: python2-libsss_nss_idmap
|
|
|
|
|
BuildRequires: python2-cffi
|
spec file: clean up BuildRequires
Add missing cyrus-sasl-devel, python-cffi, python-custodia,
python-dateutil, python-nose, python-paste, python-sss-murmur,
python-sssdconfig and systemd-python BuildRequires.
Remove unused custodia, java-headless, m4, policycoreutils,
python-kdcproxy, python-rhsm, pyOpenSSL and systemd-units BuildRequires.
Correct versioned BuildRequires and provide explanatory comments.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-10-12 13:20:32 +02:00
|
|
|
|
2017-02-17 17:46:20 +01:00
|
|
|
#
|
2017-02-22 09:21:35 +01:00
|
|
|
# Build dependencies for wheel packaging and PyPI upload
|
2017-02-17 17:46:20 +01:00
|
|
|
#
|
2017-04-03 10:04:04 +02:00
|
|
|
%if 0%{?with_wheels}
|
2017-01-17 12:16:25 +01:00
|
|
|
BuildRequires: dbus-glib-devel
|
2016-11-17 16:43:17 +01:00
|
|
|
BuildRequires: libffi-devel
|
2017-06-01 10:45:08 +02:00
|
|
|
BuildRequires: python2-tox
|
2017-02-22 09:21:35 +01:00
|
|
|
BuildRequires: python2-twine
|
2017-02-17 17:46:20 +01:00
|
|
|
BuildRequires: python2-wheel
|
|
|
|
|
%if 0%{?with_python3}
|
2016-11-17 16:43:17 +01:00
|
|
|
BuildRequires: python3-tox
|
2017-02-22 09:21:35 +01:00
|
|
|
BuildRequires: python3-twine
|
2017-02-17 17:46:20 +01:00
|
|
|
BuildRequires: python3-wheel
|
|
|
|
|
%endif
|
2017-02-22 09:21:35 +01:00
|
|
|
%endif # with_wheels
|
2017-02-17 17:46:20 +01:00
|
|
|
|
spec file: clean up BuildRequires
Add missing cyrus-sasl-devel, python-cffi, python-custodia,
python-dateutil, python-nose, python-paste, python-sss-murmur,
python-sssdconfig and systemd-python BuildRequires.
Remove unused custodia, java-headless, m4, policycoreutils,
python-kdcproxy, python-rhsm, pyOpenSSL and systemd-units BuildRequires.
Correct versioned BuildRequires and provide explanatory comments.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-10-12 13:20:32 +02:00
|
|
|
#
|
2017-12-11 07:57:40 +01:00
|
|
|
# Build dependencies for lint and fastcheck
|
spec file: clean up BuildRequires
Add missing cyrus-sasl-devel, python-cffi, python-custodia,
python-dateutil, python-nose, python-paste, python-sss-murmur,
python-sssdconfig and systemd-python BuildRequires.
Remove unused custodia, java-headless, m4, policycoreutils,
python-kdcproxy, python-rhsm, pyOpenSSL and systemd-units BuildRequires.
Correct versioned BuildRequires and provide explanatory comments.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-10-12 13:20:32 +02:00
|
|
|
#
|
2016-10-12 13:27:16 +02:00
|
|
|
%if 0%{?with_lint}
|
2017-10-25 15:16:30 +02:00
|
|
|
BuildRequires: python2-samba
|
2017-01-02 13:53:18 +01:00
|
|
|
# 1.6: x509.Name.rdns (https://github.com/pyca/cryptography/issues/3199)
|
2017-05-19 16:32:28 +02:00
|
|
|
BuildRequires: python2-cryptography >= 1.6
|
2017-10-25 16:09:28 +02:00
|
|
|
BuildRequires: python2-gssapi >= 1.2.0-5
|
2017-12-11 07:57:40 +01:00
|
|
|
BuildRequires: softhsm
|
2017-05-26 22:30:28 +02:00
|
|
|
%if 0%{?fedora} >= 26
|
|
|
|
|
BuildRequires: python2-pylint
|
|
|
|
|
%else
|
2017-08-22 14:06:22 +02:00
|
|
|
BuildRequires: pylint >= 1.7
|
2017-05-26 22:30:28 +02:00
|
|
|
%endif
|
2017-12-11 07:57:40 +01:00
|
|
|
BuildRequires: python2-pycodestyle
|
spec file: clean up BuildRequires
Add missing cyrus-sasl-devel, python-cffi, python-custodia,
python-dateutil, python-nose, python-paste, python-sss-murmur,
python-sssdconfig and systemd-python BuildRequires.
Remove unused custodia, java-headless, m4, policycoreutils,
python-kdcproxy, python-rhsm, pyOpenSSL and systemd-units BuildRequires.
Correct versioned BuildRequires and provide explanatory comments.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-10-12 13:20:32 +02:00
|
|
|
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1096506
|
|
|
|
|
BuildRequires: python2-polib
|
2017-06-01 10:45:08 +02:00
|
|
|
BuildRequires: python2-libipa_hbac
|
|
|
|
|
BuildRequires: python2-lxml
|
spec file: clean up BuildRequires
Add missing cyrus-sasl-devel, python-cffi, python-custodia,
python-dateutil, python-nose, python-paste, python-sss-murmur,
python-sssdconfig and systemd-python BuildRequires.
Remove unused custodia, java-headless, m4, policycoreutils,
python-kdcproxy, python-rhsm, pyOpenSSL and systemd-units BuildRequires.
Correct versioned BuildRequires and provide explanatory comments.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-10-12 13:20:32 +02:00
|
|
|
# 5.0.0: QRCode.print_ascii
|
|
|
|
|
BuildRequires: python-qrcode-core >= 5.0.0
|
2016-12-14 10:12:05 +01:00
|
|
|
# 1.15: python-dns changed return type in to_text() method in PY3
|
2017-06-01 10:45:08 +02:00
|
|
|
BuildRequires: python2-dns >= 1.15
|
spec file: clean up BuildRequires
Add missing cyrus-sasl-devel, python-cffi, python-custodia,
python-dateutil, python-nose, python-paste, python-sss-murmur,
python-sssdconfig and systemd-python BuildRequires.
Remove unused custodia, java-headless, m4, policycoreutils,
python-kdcproxy, python-rhsm, pyOpenSSL and systemd-units BuildRequires.
Correct versioned BuildRequires and provide explanatory comments.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-10-12 13:20:32 +02:00
|
|
|
BuildRequires: jsl
|
2017-06-01 10:45:08 +02:00
|
|
|
BuildRequires: python2-yubico
|
2016-08-24 13:36:12 +02:00
|
|
|
# pki Python package
|
2018-03-14 18:32:39 +01:00
|
|
|
BuildRequires: python2-pki >= %{pki_version}
|
2017-10-25 15:16:30 +02:00
|
|
|
BuildRequires: python2-pytest-multihost
|
|
|
|
|
BuildRequires: python2-pytest-sourceorder
|
2017-07-31 16:53:06 +02:00
|
|
|
# 0.4.2: Py3 fix https://bugzilla.redhat.com/show_bug.cgi?id=1476150
|
2017-10-25 15:16:30 +02:00
|
|
|
BuildRequires: python2-jwcrypto >= 0.4.2
|
2017-02-28 12:07:19 +01:00
|
|
|
# 0.3: sd_notify (https://pagure.io/freeipa/issue/5825)
|
2017-05-30 16:18:08 +02:00
|
|
|
BuildRequires: python2-custodia >= 0.3.1
|
2018-01-23 19:16:38 +01:00
|
|
|
%if 0%{?fedora} >= 28
|
2017-10-25 15:16:30 +02:00
|
|
|
BuildRequires: python2-dbus
|
2018-01-23 19:16:38 +01:00
|
|
|
%else
|
|
|
|
|
BuildRequires: dbus-python
|
|
|
|
|
%endif
|
2017-06-01 10:45:08 +02:00
|
|
|
BuildRequires: python2-dateutil
|
2017-10-25 15:16:30 +02:00
|
|
|
BuildRequires: python2-enum34
|
|
|
|
|
BuildRequires: python2-netifaces
|
2017-06-01 10:45:08 +02:00
|
|
|
BuildRequires: python2-sss
|
|
|
|
|
BuildRequires: python2-sss-murmur
|
|
|
|
|
BuildRequires: python2-sssdconfig
|
|
|
|
|
BuildRequires: python2-paste
|
2017-10-25 16:09:28 +02:00
|
|
|
BuildRequires: python2-systemd
|
2016-07-05 14:19:35 -04:00
|
|
|
BuildRequires: python2-jinja2
|
2017-06-01 10:45:08 +02:00
|
|
|
BuildRequires: python2-augeas
|
2016-11-30 13:38:07 +01:00
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
2017-07-12 17:29:30 +02:00
|
|
|
BuildRequires: python3-samba
|
2017-01-02 13:53:18 +01:00
|
|
|
# 1.6: x509.Name.rdns (https://github.com/pyca/cryptography/issues/3199)
|
|
|
|
|
BuildRequires: python3-cryptography >= 1.6
|
2016-11-30 13:38:07 +01:00
|
|
|
BuildRequires: python3-gssapi >= 1.2.0
|
2017-08-22 14:06:22 +02:00
|
|
|
BuildRequires: python3-pylint >= 1.7
|
2017-12-11 07:57:40 +01:00
|
|
|
BuildRequires: python3-pycodestyle
|
2016-11-30 13:38:07 +01:00
|
|
|
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1096506
|
|
|
|
|
BuildRequires: python3-polib
|
|
|
|
|
BuildRequires: python3-libipa_hbac
|
|
|
|
|
BuildRequires: python3-memcached
|
|
|
|
|
BuildRequires: python3-lxml
|
|
|
|
|
# 5.0.0: QRCode.print_ascii
|
|
|
|
|
BuildRequires: python3-qrcode-core >= 5.0.0
|
2016-12-14 10:12:05 +01:00
|
|
|
# 1.15: python-dns changed return type in to_text() method in PY3
|
|
|
|
|
BuildRequires: python3-dns >= 1.15
|
2016-11-30 13:38:07 +01:00
|
|
|
BuildRequires: python3-yubico
|
|
|
|
|
# pki Python package
|
2018-03-14 18:32:39 +01:00
|
|
|
BuildRequires: python3-pki >= %{pki_version}
|
2016-11-30 13:38:07 +01:00
|
|
|
BuildRequires: python3-pytest-multihost
|
|
|
|
|
BuildRequires: python3-pytest-sourceorder
|
2017-07-31 16:53:06 +02:00
|
|
|
# 0.4.2: Py3 fix https://bugzilla.redhat.com/show_bug.cgi?id=1476150
|
|
|
|
|
BuildRequires: python3-jwcrypto >= 0.4.2
|
2017-02-28 12:07:19 +01:00
|
|
|
# 0.3: sd_notify (https://pagure.io/freeipa/issue/5825)
|
|
|
|
|
BuildRequires: python3-custodia >= 0.3.1
|
2016-11-30 13:38:07 +01:00
|
|
|
BuildRequires: python3-dbus
|
|
|
|
|
BuildRequires: python3-dateutil
|
|
|
|
|
BuildRequires: python3-enum34
|
|
|
|
|
BuildRequires: python3-netifaces
|
|
|
|
|
BuildRequires: python3-sss
|
|
|
|
|
BuildRequires: python3-sss-murmur
|
|
|
|
|
BuildRequires: python3-sssdconfig
|
|
|
|
|
BuildRequires: python3-libsss_nss_idmap
|
|
|
|
|
BuildRequires: python3-paste
|
|
|
|
|
BuildRequires: python3-systemd
|
2016-07-05 14:19:35 -04:00
|
|
|
BuildRequires: python3-jinja2
|
2017-04-06 16:15:47 +02:00
|
|
|
BuildRequires: python3-augeas
|
2017-05-26 22:10:57 +02:00
|
|
|
BuildRequires: python3-netaddr
|
|
|
|
|
BuildRequires: python3-pyasn1
|
|
|
|
|
BuildRequires: python3-pyasn1-modules
|
2018-01-22 15:32:12 +01:00
|
|
|
BuildRequires: python3-pyldap >= %{python3_ldap_version}
|
2016-11-30 13:38:07 +01:00
|
|
|
%endif # with_python3
|
2016-10-12 13:27:16 +02:00
|
|
|
%endif # with_lint
|
2009-02-02 13:50:53 -05:00
|
|
|
|
spec file: clean up BuildRequires
Add missing cyrus-sasl-devel, python-cffi, python-custodia,
python-dateutil, python-nose, python-paste, python-sss-murmur,
python-sssdconfig and systemd-python BuildRequires.
Remove unused custodia, java-headless, m4, policycoreutils,
python-kdcproxy, python-rhsm, pyOpenSSL and systemd-units BuildRequires.
Correct versioned BuildRequires and provide explanatory comments.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-10-12 13:20:32 +02:00
|
|
|
#
|
2015-11-13 07:11:38 +00:00
|
|
|
# Build dependencies for unit tests
|
spec file: clean up BuildRequires
Add missing cyrus-sasl-devel, python-cffi, python-custodia,
python-dateutil, python-nose, python-paste, python-sss-murmur,
python-sssdconfig and systemd-python BuildRequires.
Remove unused custodia, java-headless, m4, policycoreutils,
python-kdcproxy, python-rhsm, pyOpenSSL and systemd-units BuildRequires.
Correct versioned BuildRequires and provide explanatory comments.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-10-12 13:20:32 +02:00
|
|
|
#
|
|
|
|
|
%if ! %{ONLY_CLIENT}
|
2015-11-13 07:11:38 +00:00
|
|
|
BuildRequires: libcmocka-devel
|
2016-08-05 08:34:23 +02:00
|
|
|
# Required by ipa_kdb_tests
|
|
|
|
|
BuildRequires: %{_libdir}/krb5/plugins/kdb/db2.so
|
spec file: clean up BuildRequires
Add missing cyrus-sasl-devel, python-cffi, python-custodia,
python-dateutil, python-nose, python-paste, python-sss-murmur,
python-sssdconfig and systemd-python BuildRequires.
Remove unused custodia, java-headless, m4, policycoreutils,
python-kdcproxy, python-rhsm, pyOpenSSL and systemd-units BuildRequires.
Correct versioned BuildRequires and provide explanatory comments.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-10-12 13:20:32 +02:00
|
|
|
%endif # ONLY_CLIENT
|
2015-11-03 16:39:40 +01:00
|
|
|
|
2009-02-02 13:50:53 -05:00
|
|
|
%description
|
2015-09-21 07:56:36 -06:00
|
|
|
IPA is an integrated solution to provide centrally managed Identity (users,
|
|
|
|
|
hosts, services), Authentication (SSO, 2FA), and Authorization
|
|
|
|
|
(host access control, SELinux user roles, services). The solution provides
|
|
|
|
|
features for further integration with Linux based clients (SUDO, automount)
|
|
|
|
|
and integration with Active Directory based infrastructures (Trusts).
|
2009-02-02 13:50:53 -05:00
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2009-10-12 16:00:00 -04:00
|
|
|
%if ! %{ONLY_CLIENT}
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2009-02-02 13:50:53 -05:00
|
|
|
%package server
|
|
|
|
|
Summary: The IPA authentication server
|
|
|
|
|
Group: System Environment/Base
|
2015-12-07 13:52:38 +01:00
|
|
|
Requires: %{name}-server-common = %{version}-%{release}
|
2009-02-02 13:50:53 -05:00
|
|
|
Requires: %{name}-client = %{version}-%{release}
|
2015-12-07 13:52:38 +01:00
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2017-06-21 17:08:18 +02:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
Requires: python3-ipaserver = %{version}-%{release}
|
2018-01-22 15:32:12 +01:00
|
|
|
Requires: python3-pyldap >= %{python3_ldap_version}
|
2017-09-01 09:21:38 +02:00
|
|
|
%else
|
2015-12-07 13:52:38 +01:00
|
|
|
Requires: python2-ipaserver = %{version}-%{release}
|
2018-01-22 15:32:12 +01:00
|
|
|
Requires: python2-ldap >= %{python2_ldap_version}
|
2017-09-01 09:21:38 +02:00
|
|
|
%endif
|
2018-04-25 08:38:28 +02:00
|
|
|
Requires: 389-ds-base >= %{ds_version}
|
2013-05-10 13:50:21 +02:00
|
|
|
Requires: openldap-clients > 2.4.35-4
|
2018-04-30 08:25:23 +02:00
|
|
|
Requires: nss >= %{nss_version}
|
|
|
|
|
Requires: nss-tools >= %{nss_version}
|
2017-04-25 12:35:34 +00:00
|
|
|
Requires(post): krb5-server >= %{krb5_version}
|
2015-07-15 08:45:53 +00:00
|
|
|
Requires(post): krb5-server >= %{krb5_base_version}, krb5-server < %{krb5_base_version}.100
|
2017-04-25 12:35:34 +00:00
|
|
|
Requires: krb5-pkinit-openssl >= %{krb5_version}
|
2011-07-22 09:06:13 -04:00
|
|
|
Requires: cyrus-sasl-gssapi%{?_isa}
|
2018-02-22 09:33:13 +01:00
|
|
|
Requires: chrony
|
2016-08-24 12:28:47 +02:00
|
|
|
Requires: httpd >= 2.4.6-31
|
2017-08-15 14:14:09 +02:00
|
|
|
%if 0%{with_python3}
|
2017-10-25 16:09:28 +02:00
|
|
|
Requires(preun): python3
|
|
|
|
|
Requires(postun): python3
|
|
|
|
|
Requires: python3-gssapi >= 1.2.0-5
|
|
|
|
|
Requires: python3-systemd
|
2017-11-20 16:12:45 +01:00
|
|
|
Requires: python3-mod_wsgi
|
2017-08-15 14:14:09 +02:00
|
|
|
%else
|
2017-10-25 16:09:28 +02:00
|
|
|
Requires(preun): python2
|
|
|
|
|
Requires(postun): python2
|
|
|
|
|
Requires: python2-gssapi >= 1.2.0-5
|
|
|
|
|
Requires: python2-systemd
|
2010-02-24 11:29:23 -07:00
|
|
|
Requires: mod_wsgi
|
2017-08-15 14:14:09 +02:00
|
|
|
%endif
|
2016-08-19 09:23:55 -04:00
|
|
|
Requires: mod_auth_gssapi >= 1.5.0
|
2017-11-30 14:55:50 -05:00
|
|
|
Requires: mod_ssl
|
2016-08-19 09:23:55 -04:00
|
|
|
Requires: mod_session
|
2017-03-23 08:43:51 +01:00
|
|
|
# 0.9.9: https://github.com/adelton/mod_lookup_identity/pull/3
|
|
|
|
|
Requires: mod_lookup_identity >= 0.9.9
|
2009-02-02 13:50:53 -05:00
|
|
|
Requires: acl
|
2013-03-27 14:58:16 +01:00
|
|
|
Requires: systemd-units >= 38
|
2015-06-23 17:01:00 +02:00
|
|
|
Requires(pre): shadow-utils
|
2011-10-21 16:44:36 +03:00
|
|
|
Requires(pre): systemd-units
|
|
|
|
|
Requires(post): systemd-units
|
2014-10-03 14:12:35 +02:00
|
|
|
Requires: selinux-policy >= %{selinux_policy_version}
|
2015-08-25 14:14:25 +02:00
|
|
|
Requires(post): selinux-policy-base >= %{selinux_policy_version}
|
2016-08-04 09:58:50 +03:00
|
|
|
Requires: slapi-nis >= %{slapi_nis_version}
|
2018-05-29 23:35:16 +02:00
|
|
|
# jss is an indirect dependency. 4.4.4 fixes sub CA replication bug,
|
|
|
|
|
# see https://pagure.io/freeipa/issue/7536
|
|
|
|
|
Requires: jss >= 4.4.4
|
2018-03-14 18:32:39 +01:00
|
|
|
Requires: pki-ca >= %{pki_version}
|
|
|
|
|
Requires: pki-kra >= %{pki_version}
|
2017-10-25 16:09:28 +02:00
|
|
|
Requires(preun): systemd-units
|
|
|
|
|
Requires(postun): systemd-units
|
2014-10-03 14:12:35 +02:00
|
|
|
Requires: policycoreutils >= 2.1.12-5
|
2012-11-14 16:45:41 +01:00
|
|
|
Requires: tar
|
2017-08-22 15:39:53 +10:00
|
|
|
Requires(pre): certmonger >= 0.79.5-1
|
2018-04-25 08:38:28 +02:00
|
|
|
Requires(pre): 389-ds-base >= %{ds_version}
|
2013-12-04 16:15:20 +01:00
|
|
|
Requires: fontawesome-fonts
|
|
|
|
|
Requires: open-sans-fonts
|
2014-10-16 15:32:31 +02:00
|
|
|
Requires: openssl
|
2015-06-18 13:47:12 +02:00
|
|
|
Requires: softhsm >= 2.0.0rc1-1
|
2014-10-16 15:32:31 +02:00
|
|
|
Requires: p11-kit
|
2015-04-28 16:24:02 +02:00
|
|
|
Requires: %{etc_systemd_dir}
|
2015-09-17 17:09:33 +02:00
|
|
|
Requires: gzip
|
2015-12-09 08:18:21 +01:00
|
|
|
Requires: oddjob
|
2017-03-23 08:43:51 +01:00
|
|
|
# 0.7.0-2: https://pagure.io/gssproxy/pull-request/172
|
|
|
|
|
Requires: gssproxy >= 0.7.0-2
|
|
|
|
|
# 1.15.2: FindByNameAndCertificate (https://pagure.io/SSSD/sssd/issue/3050)
|
|
|
|
|
Requires: sssd-dbus >= 1.15.2
|
2009-02-02 13:50:53 -05:00
|
|
|
|
2015-11-09 12:15:59 +01:00
|
|
|
Provides: %{alt_name}-server = %{version}
|
2014-09-17 10:02:01 +02:00
|
|
|
Conflicts: %{alt_name}-server
|
|
|
|
|
Obsoletes: %{alt_name}-server < %{version}
|
|
|
|
|
|
2013-06-13 14:40:52 +02:00
|
|
|
# With FreeIPA 3.3, package freeipa-server-selinux was obsoleted as the
|
|
|
|
|
# entire SELinux policy is stored in the system policy
|
|
|
|
|
Obsoletes: freeipa-server-selinux < 3.3.0
|
|
|
|
|
|
2015-07-16 15:09:45 +02:00
|
|
|
# upgrade path from monolithic -server to -server + -server-dns
|
|
|
|
|
Obsoletes: %{name}-server <= 4.2.0
|
2011-09-09 12:30:00 +02:00
|
|
|
|
2013-04-30 14:35:19 -04:00
|
|
|
# Versions of nss-pam-ldapd < 0.8.4 require a mapping from uniqueMember to
|
|
|
|
|
# member.
|
|
|
|
|
Conflicts: nss-pam-ldapd < 0.8.4
|
|
|
|
|
|
2009-02-02 13:50:53 -05:00
|
|
|
%description server
|
2015-09-21 07:56:36 -06:00
|
|
|
IPA is an integrated solution to provide centrally managed Identity (users,
|
|
|
|
|
hosts, services), Authentication (SSO, 2FA), and Authorization
|
|
|
|
|
(host access control, SELinux user roles, services). The solution provides
|
|
|
|
|
features for further integration with Linux based clients (SUDO, automount)
|
|
|
|
|
and integration with Active Directory based infrastructures (Trusts).
|
|
|
|
|
If you are installing an IPA server, you need to install this package.
|
2009-02-02 13:50:53 -05:00
|
|
|
|
|
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
%package -n python2-ipaserver
|
|
|
|
|
Summary: Python libraries used by IPA server
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%{?python_provide:%python_provide python2-ipaserver}
|
2017-03-15 14:23:10 +01:00
|
|
|
%{!?python_provide:Provides: python-ipaserver = %{version}-%{release}}
|
2015-12-07 13:52:38 +01:00
|
|
|
Requires: %{name}-server-common = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
Requires: python2-ipaclient = %{version}-%{release}
|
2017-05-30 16:18:08 +02:00
|
|
|
Requires: python2-custodia >= 0.3.1
|
2018-01-22 15:32:12 +01:00
|
|
|
Requires: python2-ldap >= %{python2_ldap_version}
|
2017-06-01 10:45:08 +02:00
|
|
|
Requires: python2-lxml
|
2017-10-25 16:09:28 +02:00
|
|
|
Requires: python2-gssapi >= 1.2.0-5
|
2017-06-01 10:45:08 +02:00
|
|
|
Requires: python2-sssdconfig
|
2017-09-18 17:35:34 +02:00
|
|
|
Requires: python2-pyasn1 >= 0.3.2-2
|
2018-01-23 19:16:38 +01:00
|
|
|
%if 0%{?fedora} >= 28
|
|
|
|
|
BuildRequires: python2-dbus
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: dbus-python
|
|
|
|
|
%endif
|
2017-06-01 10:45:08 +02:00
|
|
|
Requires: python2-dns >= 1.15
|
2017-10-25 15:16:30 +02:00
|
|
|
Requires: python2-kdcproxy >= 0.3
|
2016-01-11 16:22:40 +01:00
|
|
|
Requires: rpm-libs
|
2018-03-14 18:32:39 +01:00
|
|
|
Requires: python2-pki >= %{pki_version}
|
2017-06-01 10:45:08 +02:00
|
|
|
Requires: python2-augeas
|
2015-12-07 13:52:38 +01:00
|
|
|
|
|
|
|
|
%description -n python2-ipaserver
|
|
|
|
|
IPA is an integrated solution to provide centrally managed Identity (users,
|
|
|
|
|
hosts, services), Authentication (SSO, 2FA), and Authorization
|
|
|
|
|
(host access control, SELinux user roles, services). The solution provides
|
|
|
|
|
features for further integration with Linux based clients (SUDO, automount)
|
|
|
|
|
and integration with Active Directory based infrastructures (Trusts).
|
|
|
|
|
If you are installing an IPA server, you need to install this package.
|
|
|
|
|
|
|
|
|
|
|
2016-11-24 17:35:24 +01:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
|
|
|
|
|
%package -n python3-ipaserver
|
|
|
|
|
Summary: Python libraries used by IPA server
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%{?python_provide:%python_provide python3-ipaserver}
|
|
|
|
|
Requires: %{name}-server-common = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
Requires: python3-ipaclient = %{version}-%{release}
|
2017-02-28 12:07:19 +01:00
|
|
|
Requires: python3-custodia >= 0.3.1
|
2017-08-18 10:56:12 +02:00
|
|
|
# we need pre-requires since earlier versions may break upgrade
|
2018-01-22 15:32:12 +01:00
|
|
|
Requires(pre): python3-pyldap >= %{python3_ldap_version}
|
2016-11-24 17:35:24 +01:00
|
|
|
Requires: python3-lxml
|
2016-11-30 13:38:07 +01:00
|
|
|
Requires: python3-gssapi >= 1.2.0
|
2016-11-24 17:35:24 +01:00
|
|
|
Requires: python3-sssdconfig
|
2017-09-18 17:35:34 +02:00
|
|
|
Requires: python3-pyasn1 >= 0.3.2-2
|
2016-11-24 17:35:24 +01:00
|
|
|
Requires: python3-dbus
|
2016-12-14 10:12:05 +01:00
|
|
|
Requires: python3-dns >= 1.15
|
2016-11-24 17:35:24 +01:00
|
|
|
Requires: python3-kdcproxy >= 0.3
|
2017-04-06 16:15:47 +02:00
|
|
|
Requires: python3-augeas
|
2016-11-24 17:35:24 +01:00
|
|
|
Requires: rpm-libs
|
2018-03-14 18:32:39 +01:00
|
|
|
Requires: python3-pki >= %{pki_version}
|
2016-11-24 17:35:24 +01:00
|
|
|
|
|
|
|
|
%description -n python3-ipaserver
|
|
|
|
|
IPA is an integrated solution to provide centrally managed Identity (users,
|
|
|
|
|
hosts, services), Authentication (SSO, 2FA), and Authorization
|
|
|
|
|
(host access control, SELinux user roles, services). The solution provides
|
|
|
|
|
features for further integration with Linux based clients (SUDO, automount)
|
|
|
|
|
and integration with Active Directory based infrastructures (Trusts).
|
|
|
|
|
If you are installing an IPA server, you need to install this package.
|
|
|
|
|
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
%package server-common
|
|
|
|
|
Summary: Common files used by IPA server
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: %{name}-client-common = %{version}-%{release}
|
2016-08-24 12:28:47 +02:00
|
|
|
Requires: httpd >= 2.4.6-31
|
2015-12-07 13:52:38 +01:00
|
|
|
Requires: systemd-units >= 38
|
2017-02-28 12:07:19 +01:00
|
|
|
Requires: custodia >= 0.3.1
|
2015-12-07 13:52:38 +01:00
|
|
|
|
|
|
|
|
Provides: %{alt_name}-server-common = %{version}
|
|
|
|
|
Conflicts: %{alt_name}-server-common
|
|
|
|
|
Obsoletes: %{alt_name}-server-common < %{version}
|
|
|
|
|
|
|
|
|
|
%description server-common
|
|
|
|
|
IPA is an integrated solution to provide centrally managed Identity (users,
|
|
|
|
|
hosts, services), Authentication (SSO, 2FA), and Authorization
|
|
|
|
|
(host access control, SELinux user roles, services). The solution provides
|
|
|
|
|
features for further integration with Linux based clients (SUDO, automount)
|
|
|
|
|
and integration with Active Directory based infrastructures (Trusts).
|
|
|
|
|
If you are installing an IPA server, you need to install this package.
|
|
|
|
|
|
|
|
|
|
|
2015-07-16 15:09:45 +02:00
|
|
|
%package server-dns
|
|
|
|
|
Summary: IPA integrated DNS server with support for automatic DNSSEC signing
|
|
|
|
|
Group: System Environment/Base
|
2015-12-07 13:52:38 +01:00
|
|
|
BuildArch: noarch
|
2015-07-16 15:09:45 +02:00
|
|
|
Requires: %{name}-server = %{version}-%{release}
|
2017-02-13 18:36:12 +01:00
|
|
|
Requires: bind-dyndb-ldap >= 11.0-2
|
2016-12-19 16:52:08 +01:00
|
|
|
Requires: bind >= 9.11.0-6.P2
|
|
|
|
|
Requires: bind-utils >= 9.11.0-6.P2
|
|
|
|
|
Requires: bind-pkcs11 >= 9.11.0-6.P2
|
|
|
|
|
Requires: bind-pkcs11-utils >= 9.11.0-6.P2
|
2015-07-16 15:09:45 +02:00
|
|
|
Requires: opendnssec >= 1.4.6-4
|
2018-02-22 15:45:13 +01:00
|
|
|
%{?systemd_requires}
|
2015-07-16 15:09:45 +02:00
|
|
|
|
2015-11-09 12:15:59 +01:00
|
|
|
Provides: %{alt_name}-server-dns = %{version}
|
2015-07-16 15:09:45 +02:00
|
|
|
Conflicts: %{alt_name}-server-dns
|
|
|
|
|
Obsoletes: %{alt_name}-server-dns < %{version}
|
|
|
|
|
|
|
|
|
|
# upgrade path from monolithic -server to -server + -server-dns
|
|
|
|
|
Obsoletes: %{name}-server <= 4.2.0
|
|
|
|
|
|
|
|
|
|
%description server-dns
|
|
|
|
|
IPA integrated DNS server with support for automatic DNSSEC signing.
|
|
|
|
|
Integrated DNS server is BIND 9. OpenDNSSEC provides key management.
|
|
|
|
|
|
|
|
|
|
|
2012-02-28 13:24:41 +02:00
|
|
|
%package server-trust-ad
|
|
|
|
|
Summary: Virtual package to install packages required for Active Directory trusts
|
|
|
|
|
Group: System Environment/Base
|
2015-12-07 13:52:38 +01:00
|
|
|
Requires: %{name}-server = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2017-07-12 17:29:30 +02:00
|
|
|
|
2014-10-03 14:12:35 +02:00
|
|
|
Requires: samba >= %{samba_version}
|
2012-10-01 15:32:36 +02:00
|
|
|
Requires: samba-winbind
|
|
|
|
|
Requires: libsss_idmap
|
2017-07-12 17:29:30 +02:00
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
2017-10-25 16:10:41 +02:00
|
|
|
Requires(post): python3
|
2017-07-12 17:29:30 +02:00
|
|
|
Requires: python3-samba
|
|
|
|
|
Requires: python3-libsss_nss_idmap
|
|
|
|
|
Requires: python3-sss
|
|
|
|
|
%else
|
2017-10-25 16:10:41 +02:00
|
|
|
Requires(post): python2
|
2017-07-12 17:29:30 +02:00
|
|
|
Requires: python2-samba
|
|
|
|
|
Requires: python2-libsss_nss_idmap
|
|
|
|
|
Requires: python2-sss
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
2012-10-10 09:46:08 +03:00
|
|
|
# We use alternatives to divert winbind_krb5_locator.so plugin to libkrb5
|
|
|
|
|
# on the installes where server-trust-ad subpackage is installed because
|
|
|
|
|
# IPA AD trusts cannot be used at the same time with the locator plugin
|
|
|
|
|
# since Winbindd will be configured in a different mode
|
|
|
|
|
Requires(post): %{_sbindir}/update-alternatives
|
|
|
|
|
Requires(postun): %{_sbindir}/update-alternatives
|
|
|
|
|
Requires(preun): %{_sbindir}/update-alternatives
|
2012-02-28 13:24:41 +02:00
|
|
|
|
2015-11-09 12:15:59 +01:00
|
|
|
Provides: %{alt_name}-server-trust-ad = %{version}
|
2014-09-17 10:02:01 +02:00
|
|
|
Conflicts: %{alt_name}-server-trust-ad
|
|
|
|
|
Obsoletes: %{alt_name}-server-trust-ad < %{version}
|
|
|
|
|
|
2012-02-28 13:24:41 +02:00
|
|
|
%description server-trust-ad
|
2013-08-13 10:59:57 +02:00
|
|
|
Cross-realm trusts with Active Directory in IPA require working Samba 4
|
|
|
|
|
installation. This package is provided for convenience to install all required
|
|
|
|
|
dependencies at once.
|
2012-02-28 13:24:41 +02:00
|
|
|
|
2013-08-13 10:56:26 +02:00
|
|
|
%endif # ONLY_CLIENT
|
2009-02-02 13:50:53 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
%package client
|
|
|
|
|
Summary: IPA authentication for use on clients
|
|
|
|
|
Group: System Environment/Base
|
2015-12-07 13:52:38 +01:00
|
|
|
Requires: %{name}-client-common = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2017-06-21 17:08:18 +02:00
|
|
|
%if 0%{?with_python3}
|
2017-10-25 16:09:28 +02:00
|
|
|
Requires: python3-gssapi >= 1.2.0-5
|
2017-06-21 17:08:18 +02:00
|
|
|
Requires: python3-ipaclient = %{version}-%{release}
|
2018-01-22 15:32:12 +01:00
|
|
|
Requires: python3-pyldap >= %{python3_ldap_version}
|
2018-01-31 18:28:26 -05:00
|
|
|
Requires: python3-sssdconfig
|
2017-09-01 09:21:38 +02:00
|
|
|
%else
|
2017-10-25 16:09:28 +02:00
|
|
|
Requires: python2-gssapi >= 1.2.0-5
|
2015-12-07 13:52:38 +01:00
|
|
|
Requires: python2-ipaclient = %{version}-%{release}
|
2018-01-22 15:32:12 +01:00
|
|
|
Requires: python2-ldap >= %{python2_ldap_version}
|
2018-01-31 18:28:26 -05:00
|
|
|
Requires: python2-sssdconfig
|
2017-10-25 16:09:28 +02:00
|
|
|
%endif
|
2011-07-22 09:06:13 -04:00
|
|
|
Requires: cyrus-sasl-gssapi%{?_isa}
|
2018-02-22 09:33:13 +01:00
|
|
|
Requires: chrony
|
2017-04-25 12:35:34 +00:00
|
|
|
Requires: krb5-workstation >= %{krb5_version}
|
2018-04-26 16:51:42 +02:00
|
|
|
Requires: authselect >= 0.4-2
|
2015-12-04 14:52:03 -07:00
|
|
|
Requires: curl
|
2016-08-08 13:13:18 +02:00
|
|
|
# NIS domain name config: /usr/lib/systemd/system/*-domainname.service
|
|
|
|
|
Requires: initscripts
|
2012-11-14 16:45:41 +01:00
|
|
|
Requires: libcurl >= 7.21.7-2
|
|
|
|
|
Requires: xmlrpc-c >= 1.27.4
|
2016-06-22 10:49:39 +02:00
|
|
|
Requires: sssd >= 1.14.0
|
2017-08-22 15:39:53 +10:00
|
|
|
Requires: certmonger >= 0.79.5-1
|
2018-04-30 08:25:23 +02:00
|
|
|
Requires: nss-tools >= %{nss_version}
|
2011-02-17 08:30:36 -05:00
|
|
|
Requires: bind-utils
|
2012-02-27 10:59:25 +01:00
|
|
|
Requires: oddjob-mkhomedir
|
2012-05-29 14:20:38 -04:00
|
|
|
Requires: libsss_autofs
|
|
|
|
|
Requires: autofs
|
|
|
|
|
Requires: libnfsidmap
|
|
|
|
|
Requires: nfs-utils
|
2018-05-03 12:28:44 +02:00
|
|
|
Requires: sssd-tools
|
2012-10-31 10:15:28 +01:00
|
|
|
Requires(post): policycoreutils
|
2009-02-02 13:50:53 -05:00
|
|
|
|
2015-11-09 12:15:59 +01:00
|
|
|
Provides: %{alt_name}-client = %{version}
|
2014-09-17 10:02:01 +02:00
|
|
|
Conflicts: %{alt_name}-client
|
|
|
|
|
Obsoletes: %{alt_name}-client < %{version}
|
2011-01-17 10:26:19 +01:00
|
|
|
|
2016-08-25 11:59:34 +03:00
|
|
|
Provides: %{alt_name}-admintools = %{version}
|
|
|
|
|
Conflicts: %{alt_name}-admintools
|
|
|
|
|
Obsoletes: %{alt_name}-admintools < 4.4.1
|
|
|
|
|
|
|
|
|
|
Obsoletes: %{name}-admintools < 4.4.1
|
|
|
|
|
Provides: %{name}-admintools = %{version}-%{release}
|
|
|
|
|
|
2009-02-02 13:50:53 -05:00
|
|
|
%description client
|
2015-09-21 07:56:36 -06:00
|
|
|
IPA is an integrated solution to provide centrally managed Identity (users,
|
|
|
|
|
hosts, services), Authentication (SSO, 2FA), and Authorization
|
|
|
|
|
(host access control, SELinux user roles, services). The solution provides
|
|
|
|
|
features for further integration with Linux based clients (SUDO, automount)
|
|
|
|
|
and integration with Active Directory based infrastructures (Trusts).
|
|
|
|
|
If your network uses IPA for authentication, this package should be
|
|
|
|
|
installed on every client machine.
|
2016-08-25 11:59:34 +03:00
|
|
|
This package provides command-line tools for IPA administrators.
|
2009-02-02 13:50:53 -05:00
|
|
|
|
|
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
%package -n python2-ipaclient
|
|
|
|
|
Summary: Python libraries used by IPA client
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%{?python_provide:%python_provide python2-ipaclient}
|
2017-03-15 14:23:10 +01:00
|
|
|
%{!?python_provide:Provides: python-ipaclient = %{version}-%{release}}
|
2015-12-07 13:52:38 +01:00
|
|
|
Requires: %{name}-client-common = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2016-01-04 17:34:56 +01:00
|
|
|
Requires: python2-ipalib = %{version}-%{release}
|
2017-06-01 10:45:08 +02:00
|
|
|
Requires: python2-dns >= 1.15
|
2016-07-05 14:19:35 -04:00
|
|
|
Requires: python2-jinja2
|
2018-04-25 11:26:12 +02:00
|
|
|
Requires: python2-augeas
|
2015-12-07 13:52:38 +01:00
|
|
|
|
|
|
|
|
%description -n python2-ipaclient
|
|
|
|
|
IPA is an integrated solution to provide centrally managed Identity (users,
|
|
|
|
|
hosts, services), Authentication (SSO, 2FA), and Authorization
|
|
|
|
|
(host access control, SELinux user roles, services). The solution provides
|
|
|
|
|
features for further integration with Linux based clients (SUDO, automount)
|
|
|
|
|
and integration with Active Directory based infrastructures (Trusts).
|
|
|
|
|
If your network uses IPA for authentication, this package should be
|
|
|
|
|
installed on every client machine.
|
|
|
|
|
|
|
|
|
|
|
2016-02-19 14:54:18 +01:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
|
|
|
|
|
%package -n python3-ipaclient
|
|
|
|
|
Summary: Python libraries used by IPA client
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%{?python_provide:%python_provide python3-ipaclient}
|
|
|
|
|
Requires: %{name}-client-common = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
Requires: python3-ipalib = %{version}-%{release}
|
2016-12-14 10:12:05 +01:00
|
|
|
Requires: python3-dns >= 1.15
|
2016-07-05 14:19:35 -04:00
|
|
|
Requires: python3-jinja2
|
2018-04-25 11:26:12 +02:00
|
|
|
Requires: python3-augeas
|
2016-02-19 14:54:18 +01:00
|
|
|
|
|
|
|
|
%description -n python3-ipaclient
|
|
|
|
|
IPA is an integrated solution to provide centrally managed Identity (users,
|
|
|
|
|
hosts, services), Authentication (SSO, 2FA), and Authorization
|
|
|
|
|
(host access control, SELinux user roles, services). The solution provides
|
|
|
|
|
features for further integration with Linux based clients (SUDO, automount)
|
|
|
|
|
and integration with Active Directory based infrastructures (Trusts).
|
|
|
|
|
If your network uses IPA for authentication, this package should be
|
|
|
|
|
installed on every client machine.
|
|
|
|
|
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
%package client-common
|
|
|
|
|
Summary: Common files used by IPA client
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
Provides: %{alt_name}-client-common = %{version}
|
|
|
|
|
Conflicts: %{alt_name}-client-common
|
|
|
|
|
Obsoletes: %{alt_name}-client-common < %{version}
|
|
|
|
|
|
|
|
|
|
%description client-common
|
|
|
|
|
IPA is an integrated solution to provide centrally managed Identity (users,
|
|
|
|
|
hosts, services), Authentication (SSO, 2FA), and Authorization
|
|
|
|
|
(host access control, SELinux user roles, services). The solution provides
|
|
|
|
|
features for further integration with Linux based clients (SUDO, automount)
|
|
|
|
|
and integration with Active Directory based infrastructures (Trusts).
|
|
|
|
|
If your network uses IPA for authentication, this package should be
|
|
|
|
|
installed on every client machine.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package python-compat
|
|
|
|
|
Summary: Compatiblity package for Python libraries used by IPA
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Obsoletes: %{name}-python < 4.2.91
|
|
|
|
|
Provides: %{name}-python = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2017-06-21 17:08:18 +02:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
Requires: python3-ipalib = %{version}-%{release}
|
2017-09-01 09:21:38 +02:00
|
|
|
%else
|
2016-01-04 17:34:56 +01:00
|
|
|
Requires: python2-ipalib = %{version}-%{release}
|
2017-09-01 09:21:38 +02:00
|
|
|
%endif
|
2015-12-07 13:52:38 +01:00
|
|
|
|
|
|
|
|
Provides: %{alt_name}-python-compat = %{version}
|
|
|
|
|
Conflicts: %{alt_name}-python-compat
|
|
|
|
|
Obsoletes: %{alt_name}-python-compat < %{version}
|
|
|
|
|
|
|
|
|
|
Obsoletes: %{alt_name}-python < 4.2.91
|
|
|
|
|
Provides: %{alt_name}-python = %{version}
|
|
|
|
|
|
|
|
|
|
%description python-compat
|
|
|
|
|
IPA is an integrated solution to provide centrally managed Identity (users,
|
|
|
|
|
hosts, services), Authentication (SSO, 2FA), and Authorization
|
|
|
|
|
(host access control, SELinux user roles, services). The solution provides
|
|
|
|
|
features for further integration with Linux based clients (SUDO, automount)
|
|
|
|
|
and integration with Active Directory based infrastructures (Trusts).
|
|
|
|
|
This is a compatibility package to accommodate %{name}-python split into
|
|
|
|
|
python2-ipalib and %{name}-common. Packages still depending on
|
|
|
|
|
%{name}-python should be fixed to depend on python2-ipaclient or
|
|
|
|
|
%{name}-common instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python2-ipalib
|
2009-02-02 13:50:53 -05:00
|
|
|
Summary: Python libraries used by IPA
|
|
|
|
|
Group: System Environment/Libraries
|
2016-01-21 12:59:11 +01:00
|
|
|
BuildArch: noarch
|
2016-06-29 14:00:51 +02:00
|
|
|
Conflicts: %{name}-python < 4.2.91
|
2015-12-07 13:52:38 +01:00
|
|
|
%{?python_provide:%python_provide python2-ipalib}
|
2017-03-15 14:23:10 +01:00
|
|
|
%{!?python_provide:Provides: python-ipalib = %{version}-%{release}}
|
2015-12-07 13:52:38 +01:00
|
|
|
Provides: python2-ipapython = %{version}-%{release}
|
|
|
|
|
%{?python_provide:%python_provide python2-ipapython}
|
2017-03-15 14:23:10 +01:00
|
|
|
%{!?python_provide:Provides: python-ipapython = %{version}-%{release}}
|
2015-12-07 13:52:38 +01:00
|
|
|
Provides: python2-ipaplatform = %{version}-%{release}
|
|
|
|
|
%{?python_provide:%python_provide python2-ipaplatform}
|
2017-03-15 14:23:10 +01:00
|
|
|
%{!?python_provide:Provides: python-ipaplatform = %{version}-%{release}}
|
2015-12-07 13:52:38 +01:00
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2017-10-25 16:09:28 +02:00
|
|
|
Requires: python2-gssapi >= 1.2.0-5
|
2018-05-22 14:12:10 +02:00
|
|
|
Requires: gnupg2
|
2013-07-23 17:21:47 +02:00
|
|
|
Requires: keyutils
|
2017-10-25 15:16:30 +02:00
|
|
|
Requires: python2 >= 2.7.9
|
2017-05-19 16:32:28 +02:00
|
|
|
Requires: python2-cryptography >= 1.6
|
2017-10-25 15:16:30 +02:00
|
|
|
Requires: python2-netaddr >= %{python_netaddr_version}
|
2017-06-01 10:45:08 +02:00
|
|
|
Requires: python2-libipa_hbac
|
2014-09-10 17:35:37 -04:00
|
|
|
Requires: python-qrcode-core >= 5.0.0
|
2017-09-18 17:35:34 +02:00
|
|
|
Requires: python2-pyasn1 >= 0.3.2-2
|
|
|
|
|
Requires: python2-pyasn1-modules >= 0.3.2-2
|
2017-06-01 10:45:08 +02:00
|
|
|
Requires: python2-dateutil
|
|
|
|
|
Requires: python2-yubico >= 1.2.3
|
|
|
|
|
Requires: python2-sss-murmur
|
2018-01-23 19:16:38 +01:00
|
|
|
%if 0%{?fedora} >= 28
|
|
|
|
|
BuildRequires: python2-dbus
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: dbus-python
|
|
|
|
|
%endif
|
2017-06-01 10:45:08 +02:00
|
|
|
Requires: python2-setuptools
|
2017-10-25 15:16:30 +02:00
|
|
|
Requires: python2-six
|
2017-07-31 16:53:06 +02:00
|
|
|
# 0.4.2: Py3 fix https://bugzilla.redhat.com/show_bug.cgi?id=1476150
|
2017-10-25 15:16:30 +02:00
|
|
|
Requires: python2-jwcrypto >= 0.4.2
|
2017-06-01 10:45:08 +02:00
|
|
|
Requires: python2-cffi
|
2018-01-22 15:32:12 +01:00
|
|
|
Requires: python2-ldap >= %{python2_ldap_version}
|
2017-06-01 10:45:08 +02:00
|
|
|
Requires: python2-requests
|
|
|
|
|
Requires: python2-dns >= 1.15
|
2017-10-25 15:16:30 +02:00
|
|
|
Requires: python2-enum34
|
|
|
|
|
Requires: python2-netifaces >= 0.10.4
|
2016-05-27 13:45:57 +02:00
|
|
|
Requires: pyusb
|
2009-02-02 13:50:53 -05:00
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
Conflicts: %{alt_name}-python < %{version}
|
|
|
|
|
|
|
|
|
|
%description -n python2-ipalib
|
|
|
|
|
IPA is an integrated solution to provide centrally managed Identity (users,
|
|
|
|
|
hosts, services), Authentication (SSO, 2FA), and Authorization
|
|
|
|
|
(host access control, SELinux user roles, services). The solution provides
|
|
|
|
|
features for further integration with Linux based clients (SUDO, automount)
|
|
|
|
|
and integration with Active Directory based infrastructures (Trusts).
|
|
|
|
|
If you are using IPA, you need to install this package.
|
|
|
|
|
|
|
|
|
|
|
2015-11-03 16:39:40 +01:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
|
|
|
|
|
%package -n python3-ipalib
|
|
|
|
|
Summary: Python3 libraries used by IPA
|
|
|
|
|
Group: System Environment/Libraries
|
2016-01-21 12:59:11 +01:00
|
|
|
BuildArch: noarch
|
2015-11-03 16:39:40 +01:00
|
|
|
%{?python_provide:%python_provide python3-ipalib}
|
|
|
|
|
Provides: python3-ipapython = %{version}-%{release}
|
|
|
|
|
%{?python_provide:%python_provide python3-ipapython}
|
|
|
|
|
Provides: python3-ipaplatform = %{version}-%{release}
|
|
|
|
|
%{?python_provide:%python_provide python3-ipaplatform}
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2016-11-30 11:01:57 +01:00
|
|
|
Requires: python3-gssapi >= 1.2.0
|
2018-05-22 14:12:10 +02:00
|
|
|
Requires: gnupg2
|
2015-11-03 16:39:40 +01:00
|
|
|
Requires: keyutils
|
2017-01-02 13:53:18 +01:00
|
|
|
Requires: python3-cryptography >= 1.6
|
2017-04-25 12:13:00 +00:00
|
|
|
Requires: python3-netaddr >= %{python_netaddr_version}
|
2015-11-03 16:39:40 +01:00
|
|
|
Requires: python3-libipa_hbac
|
|
|
|
|
Requires: python3-qrcode-core >= 5.0.0
|
2017-09-18 17:35:34 +02:00
|
|
|
Requires: python3-pyasn1 >= 0.3.2-2
|
|
|
|
|
Requires: python3-pyasn1-modules >= 0.3.2-2
|
2015-11-03 16:39:40 +01:00
|
|
|
Requires: python3-dateutil
|
2017-08-25 08:33:54 +02:00
|
|
|
# fixes searching for yubikeys in python3
|
|
|
|
|
Requires: python3-yubico >= 1.3.2-7
|
2015-11-03 16:39:40 +01:00
|
|
|
Requires: python3-sss-murmur
|
|
|
|
|
Requires: python3-dbus
|
|
|
|
|
Requires: python3-setuptools
|
|
|
|
|
Requires: python3-six
|
2017-07-31 16:53:06 +02:00
|
|
|
# 0.4.2: Py3 fix https://bugzilla.redhat.com/show_bug.cgi?id=1476150
|
|
|
|
|
Requires: python3-jwcrypto >= 0.4.2
|
2016-01-06 13:10:11 +01:00
|
|
|
Requires: python3-cffi
|
2017-08-18 10:56:12 +02:00
|
|
|
# we need pre-requires since earlier versions may break upgrade
|
2018-01-22 15:32:12 +01:00
|
|
|
Requires(pre): python3-pyldap >= %{python3_ldap_version}
|
2016-02-25 17:47:10 +01:00
|
|
|
Requires: python3-requests
|
2016-12-14 10:12:05 +01:00
|
|
|
Requires: python3-dns >= 1.15
|
2016-04-13 16:14:42 +02:00
|
|
|
Requires: python3-netifaces >= 0.10.4
|
2016-05-27 13:45:57 +02:00
|
|
|
Requires: python3-pyusb
|
2015-11-03 16:39:40 +01:00
|
|
|
|
|
|
|
|
%description -n python3-ipalib
|
|
|
|
|
IPA is an integrated solution to provide centrally managed Identity (users,
|
|
|
|
|
hosts, services), Authentication (SSO, 2FA), and Authorization
|
|
|
|
|
(host access control, SELinux user roles, services). The solution provides
|
|
|
|
|
features for further integration with Linux based clients (SUDO, automount)
|
|
|
|
|
and integration with Active Directory based infrastructures (Trusts).
|
|
|
|
|
If you are using IPA with Python 3, you need to install this package.
|
|
|
|
|
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
%package common
|
|
|
|
|
Summary: Common files used by IPA
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
BuildArch: noarch
|
2016-06-29 14:00:51 +02:00
|
|
|
Conflicts: %{name}-python < 4.2.91
|
2011-01-17 10:26:19 +01:00
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
Provides: %{alt_name}-common = %{version}
|
|
|
|
|
Conflicts: %{alt_name}-common
|
|
|
|
|
Obsoletes: %{alt_name}-common < %{version}
|
|
|
|
|
|
|
|
|
|
Conflicts: %{alt_name}-python < %{version}
|
|
|
|
|
|
|
|
|
|
%description common
|
2015-09-21 07:56:36 -06:00
|
|
|
IPA is an integrated solution to provide centrally managed Identity (users,
|
|
|
|
|
hosts, services), Authentication (SSO, 2FA), and Authorization
|
|
|
|
|
(host access control, SELinux user roles, services). The solution provides
|
|
|
|
|
features for further integration with Linux based clients (SUDO, automount)
|
|
|
|
|
and integration with Active Directory based infrastructures (Trusts).
|
|
|
|
|
If you are using IPA, you need to install this package.
|
2009-02-02 13:50:53 -05:00
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2017-03-15 09:30:14 +01:00
|
|
|
%if 0%{?with_ipatests}
|
2015-12-07 13:52:38 +01:00
|
|
|
|
|
|
|
|
%package -n python2-ipatests
|
2013-05-21 13:40:27 +02:00
|
|
|
Summary: IPA tests and test tools
|
2015-12-07 13:52:38 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
|
Obsoletes: %{name}-tests < 4.2.91
|
2016-01-04 17:34:56 +01:00
|
|
|
Provides: %{name}-tests = %{version}-%{release}
|
2015-12-07 13:52:38 +01:00
|
|
|
%{?python_provide:%python_provide python2-ipatests}
|
2017-03-15 14:23:10 +01:00
|
|
|
%{!?python_provide:Provides: python-ipatests = %{version}-%{release}}
|
2016-06-08 10:58:05 +02:00
|
|
|
Requires: python2-ipaclient = %{version}-%{release}
|
|
|
|
|
Requires: python2-ipaserver = %{version}-%{release}
|
2013-07-24 14:43:43 +02:00
|
|
|
Requires: tar
|
|
|
|
|
Requires: xz
|
2014-10-10 14:56:29 +02:00
|
|
|
Requires: pytest >= 2.6
|
2017-06-01 10:45:08 +02:00
|
|
|
Requires: python2-paste
|
|
|
|
|
Requires: python2-coverage
|
2016-02-15 15:54:40 +01:00
|
|
|
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1096506
|
|
|
|
|
Requires: python2-polib
|
2017-10-25 15:16:30 +02:00
|
|
|
Requires: python2-pytest-multihost >= 0.5
|
|
|
|
|
Requires: python2-pytest-sourceorder
|
2016-01-06 15:05:12 +01:00
|
|
|
Requires: ldns-utils
|
2017-06-01 10:45:08 +02:00
|
|
|
Requires: python2-sssdconfig
|
2017-01-02 13:53:18 +01:00
|
|
|
Requires: python2-cryptography >= 1.6
|
2017-04-27 17:46:16 +02:00
|
|
|
Requires: iptables
|
2018-02-13 15:30:26 +01:00
|
|
|
Requires: python2-mock
|
2018-04-09 09:22:10 +02:00
|
|
|
%if 0%{?fedora} == 27
|
|
|
|
|
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1564527
|
|
|
|
|
# Tests are failing because ntpd restarts segfaults on some CPU archs.
|
|
|
|
|
Requires: glibc >= 2.26-24
|
|
|
|
|
%endif
|
2013-05-21 13:40:27 +02:00
|
|
|
|
2016-01-04 17:34:56 +01:00
|
|
|
Provides: %{alt_name}-tests = %{version}
|
2014-09-17 10:02:01 +02:00
|
|
|
Conflicts: %{alt_name}-tests
|
|
|
|
|
Obsoletes: %{alt_name}-tests < %{version}
|
|
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
%description -n python2-ipatests
|
2015-09-21 07:56:36 -06:00
|
|
|
IPA is an integrated solution to provide centrally managed Identity (users,
|
|
|
|
|
hosts, services), Authentication (SSO, 2FA), and Authorization
|
|
|
|
|
(host access control, SELinux user roles, services). The solution provides
|
|
|
|
|
features for further integration with Linux based clients (SUDO, automount)
|
|
|
|
|
and integration with Active Directory based infrastructures (Trusts).
|
2013-05-21 13:40:27 +02:00
|
|
|
This package contains tests that verify IPA functionality.
|
|
|
|
|
|
2015-11-03 16:39:40 +01:00
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
|
|
|
|
|
%package -n python3-ipatests
|
|
|
|
|
Summary: IPA tests and test tools
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%{?python_provide:%python_provide python3-ipatests}
|
2016-06-08 10:58:05 +02:00
|
|
|
Requires: python3-ipaclient = %{version}-%{release}
|
2017-09-01 09:24:48 +02:00
|
|
|
Requires: python3-ipaserver = %{version}-%{release}
|
2015-11-03 16:39:40 +01:00
|
|
|
Requires: tar
|
|
|
|
|
Requires: xz
|
|
|
|
|
Requires: python3-pytest >= 2.6
|
|
|
|
|
Requires: python3-coverage
|
|
|
|
|
Requires: python3-polib
|
|
|
|
|
Requires: python3-pytest-multihost >= 0.5
|
|
|
|
|
Requires: python3-pytest-sourceorder
|
2016-01-06 15:05:12 +01:00
|
|
|
Requires: ldns-utils
|
2016-04-22 23:43:47 +02:00
|
|
|
Requires: python3-sssdconfig
|
2017-01-02 13:53:18 +01:00
|
|
|
Requires: python3-cryptography >= 1.6
|
2017-04-27 17:46:16 +02:00
|
|
|
Requires: iptables
|
2018-04-09 09:22:10 +02:00
|
|
|
%if 0%{?fedora} == 27
|
|
|
|
|
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1564527
|
|
|
|
|
# Tests are failing because ntpd restarts segfaults on some CPU archs.
|
|
|
|
|
Requires: glibc >= 2.26-24
|
|
|
|
|
%endif
|
2015-11-03 16:39:40 +01:00
|
|
|
|
|
|
|
|
%description -n python3-ipatests
|
|
|
|
|
IPA is an integrated solution to provide centrally managed Identity (users,
|
|
|
|
|
hosts, services), Authentication (SSO, 2FA), and Authorization
|
|
|
|
|
(host access control, SELinux user roles, services). The solution provides
|
|
|
|
|
features for further integration with Linux based clients (SUDO, automount)
|
|
|
|
|
and integration with Active Directory based infrastructures (Trusts).
|
|
|
|
|
This package contains tests that verify IPA functionality under Python 3.
|
|
|
|
|
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
2017-03-15 09:30:14 +01:00
|
|
|
%endif # with_ipatests
|
2013-05-21 13:40:27 +02:00
|
|
|
|
|
|
|
|
|
2009-02-02 13:50:53 -05:00
|
|
|
%prep
|
|
|
|
|
%setup -n freeipa-%{version} -q
|
2016-11-24 17:35:24 +01:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
# Workaround: We want to build Python things twice. To be sure we do not mess
|
|
|
|
|
# up something, do two separate builds in separate directories.
|
|
|
|
|
cp -r %{_builddir}/freeipa-%{version} %{_builddir}/freeipa-%{version}-python3
|
|
|
|
|
%endif # with_python3
|
2009-02-02 13:50:53 -05:00
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2009-02-02 13:50:53 -05:00
|
|
|
%build
|
2014-01-03 13:52:54 +01:00
|
|
|
# UI compilation segfaulted on some arches when the stack was lower (#1040576)
|
2013-12-13 15:20:40 +01:00
|
|
|
export JAVA_STACK_SIZE="8m"
|
2016-11-10 15:24:50 +01:00
|
|
|
# PATH is workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1005235
|
|
|
|
|
export PATH=/usr/bin:/usr/sbin:$PATH
|
2016-11-24 17:35:24 +01:00
|
|
|
export PYTHON=%{__python2}
|
2017-08-31 10:45:31 +02:00
|
|
|
|
|
|
|
|
%if ! 0%{?with_python3}
|
2016-11-24 17:35:24 +01:00
|
|
|
# Workaround: make sure all shebangs are pointing to Python 2
|
|
|
|
|
# This should be solved properly using setuptools
|
|
|
|
|
# and this hack should be removed.
|
|
|
|
|
find \
|
|
|
|
|
! -name '*.pyc' -a \
|
|
|
|
|
! -name '*.pyo' -a \
|
|
|
|
|
-type f -exec grep -qsm1 '^#!.*\bpython' {} \; \
|
|
|
|
|
-exec sed -i -e '1 s|^#!.*\bpython[^ ]*|#!%{__python2}|' {} \;
|
2017-08-31 10:45:31 +02:00
|
|
|
%endif # ! with_python3
|
2017-06-21 17:59:57 +02:00
|
|
|
|
2017-01-11 15:02:09 +01:00
|
|
|
%configure --with-vendor-suffix=-%{release} \
|
2017-03-15 07:48:29 +01:00
|
|
|
%{enable_server_option} \
|
2017-03-15 09:30:14 +01:00
|
|
|
%{with_ipatests_option} \
|
2017-02-22 19:19:35 +01:00
|
|
|
%{linter_options}
|
2017-01-11 15:02:09 +01:00
|
|
|
|
2016-11-25 10:23:34 +01:00
|
|
|
# -Onone is workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1398405
|
|
|
|
|
%make_build -Onone
|
2009-02-02 13:50:53 -05:00
|
|
|
|
2016-11-24 17:35:24 +01:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
export PYTHON=%{__python3}
|
2017-08-31 10:45:31 +02:00
|
|
|
pushd %{_builddir}/freeipa-%{version}-python3
|
2017-01-11 15:02:09 +01:00
|
|
|
%configure --with-vendor-suffix=-%{release} \
|
2017-03-15 07:48:29 +01:00
|
|
|
%{enable_server_option} \
|
2017-03-15 09:30:14 +01:00
|
|
|
%{with_ipatests_option} \
|
2017-02-22 19:19:35 +01:00
|
|
|
%{linter_options}
|
2016-11-24 17:35:24 +01:00
|
|
|
popd
|
2017-08-31 10:45:31 +02:00
|
|
|
%endif # with_python3
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2015-11-13 07:11:38 +00:00
|
|
|
%check
|
2016-10-12 17:13:36 +02:00
|
|
|
make %{?_smp_mflags} check VERBOSE=yes LIBDIR=%{_libdir}
|
2015-11-13 07:11:38 +00:00
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2009-02-02 13:50:53 -05:00
|
|
|
%install
|
2016-11-11 12:21:58 +01:00
|
|
|
# Please put as much logic as possible into make install. It allows:
|
|
|
|
|
# - easier porting to other distributions
|
|
|
|
|
# - rapid devel & install cycle using make install
|
|
|
|
|
# (instead of full RPM build and installation each time)
|
|
|
|
|
#
|
|
|
|
|
# All files and directories created by spec install should be marked as ghost.
|
|
|
|
|
# (These are typically configuration files created by IPA installer.)
|
|
|
|
|
# All other artifacts should be created by make install.
|
2016-11-24 17:35:24 +01:00
|
|
|
#
|
|
|
|
|
# Exception to this rule are test programs which where want to install
|
|
|
|
|
# Python2/3 versions at the same time so we need to rename them. Yuck.
|
2015-11-03 16:39:40 +01:00
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
2016-11-24 17:35:24 +01:00
|
|
|
# Python 3 installation needs to be done first. Subsequent Python 2 install
|
|
|
|
|
# will overwrite /usr/bin/ipa and other scripts with variants using
|
|
|
|
|
# python2 shebang.
|
|
|
|
|
pushd %{_builddir}/freeipa-%{version}-python3
|
2018-02-22 13:38:41 +01:00
|
|
|
%{__make} python_install DESTDIR=%{?buildroot} INSTALL="%{__install} -p"
|
2016-11-24 17:35:24 +01:00
|
|
|
popd
|
|
|
|
|
|
2017-03-15 09:30:14 +01:00
|
|
|
%if 0%{?with_ipatests}
|
2015-11-03 16:39:40 +01:00
|
|
|
mv %{buildroot}%{_bindir}/ipa-run-tests %{buildroot}%{_bindir}/ipa-run-tests-%{python3_version}
|
|
|
|
|
mv %{buildroot}%{_bindir}/ipa-test-config %{buildroot}%{_bindir}/ipa-test-config-%{python3_version}
|
|
|
|
|
mv %{buildroot}%{_bindir}/ipa-test-task %{buildroot}%{_bindir}/ipa-test-task-%{python3_version}
|
|
|
|
|
ln -s %{_bindir}/ipa-run-tests-%{python3_version} %{buildroot}%{_bindir}/ipa-run-tests-3
|
|
|
|
|
ln -s %{_bindir}/ipa-test-config-%{python3_version} %{buildroot}%{_bindir}/ipa-test-config-3
|
|
|
|
|
ln -s %{_bindir}/ipa-test-task-%{python3_version} %{buildroot}%{_bindir}/ipa-test-task-3
|
2017-03-15 09:30:14 +01:00
|
|
|
%endif # with_ipatests
|
|
|
|
|
|
2015-11-03 16:39:40 +01:00
|
|
|
%endif # with_python3
|
|
|
|
|
|
2016-11-24 17:35:24 +01:00
|
|
|
# Python 2 installation
|
|
|
|
|
%make_install
|
2017-03-15 09:30:14 +01:00
|
|
|
|
|
|
|
|
%if 0%{?with_ipatests}
|
2016-11-24 17:35:24 +01:00
|
|
|
mv %{buildroot}%{_bindir}/ipa-run-tests %{buildroot}%{_bindir}/ipa-run-tests-%{python2_version}
|
|
|
|
|
mv %{buildroot}%{_bindir}/ipa-test-config %{buildroot}%{_bindir}/ipa-test-config-%{python2_version}
|
|
|
|
|
mv %{buildroot}%{_bindir}/ipa-test-task %{buildroot}%{_bindir}/ipa-test-task-%{python2_version}
|
2015-11-03 16:39:40 +01:00
|
|
|
ln -s %{_bindir}/ipa-run-tests-%{python2_version} %{buildroot}%{_bindir}/ipa-run-tests-2
|
|
|
|
|
ln -s %{_bindir}/ipa-test-config-%{python2_version} %{buildroot}%{_bindir}/ipa-test-config-2
|
|
|
|
|
ln -s %{_bindir}/ipa-test-task-%{python2_version} %{buildroot}%{_bindir}/ipa-test-task-2
|
2017-09-25 13:06:47 +02:00
|
|
|
%endif # with_ipatests
|
|
|
|
|
|
|
|
|
|
# Decide which Python (2 or 3) should be used as default for tests
|
|
|
|
|
%if 0%{?with_ipatests}
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
# Building with python3 => make it default for tests
|
|
|
|
|
ln -s %{_bindir}/ipa-run-tests-%{python3_version} %{buildroot}%{_bindir}/ipa-run-tests
|
|
|
|
|
ln -s %{_bindir}/ipa-test-config-%{python3_version} %{buildroot}%{_bindir}/ipa-test-config
|
|
|
|
|
ln -s %{_bindir}/ipa-test-task-%{python3_version} %{buildroot}%{_bindir}/ipa-test-task
|
|
|
|
|
%else
|
|
|
|
|
# Building python2 only => make it default for tests
|
2015-11-03 16:39:40 +01:00
|
|
|
ln -s %{_bindir}/ipa-run-tests-%{python2_version} %{buildroot}%{_bindir}/ipa-run-tests
|
|
|
|
|
ln -s %{_bindir}/ipa-test-config-%{python2_version} %{buildroot}%{_bindir}/ipa-test-config
|
|
|
|
|
ln -s %{_bindir}/ipa-test-task-%{python2_version} %{buildroot}%{_bindir}/ipa-test-task
|
2017-09-25 13:06:47 +02:00
|
|
|
%endif # with_python3
|
2017-03-15 09:30:14 +01:00
|
|
|
%endif # with_ipatests
|
2015-11-03 16:39:40 +01:00
|
|
|
|
2016-11-24 17:35:24 +01:00
|
|
|
# remove files which are useful only for make uninstall
|
|
|
|
|
find %{buildroot} -wholename '*/site-packages/*/install_files.txt' -exec rm {} \;
|
2016-06-14 11:41:25 +02:00
|
|
|
|
2010-02-09 13:14:25 -05:00
|
|
|
%find_lang %{gettext_domain}
|
|
|
|
|
|
2009-10-12 16:00:00 -04:00
|
|
|
%if ! %{ONLY_CLIENT}
|
2009-02-02 13:50:53 -05:00
|
|
|
# Remove .la files from libtool - we don't want to package
|
|
|
|
|
# these files
|
|
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa_pwd_extop.la
|
2009-09-14 17:04:08 -04:00
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa_enrollment_extop.la
|
2009-02-02 13:50:53 -05:00
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa_winsync.la
|
2010-06-24 10:31:52 -04:00
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa_repl_version.la
|
2010-10-15 10:49:29 -04:00
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa_uuid.la
|
2010-10-19 17:11:31 -04:00
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa_modrdn.la
|
2011-01-18 14:58:58 -05:00
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa_lockout.la
|
2011-11-09 19:03:48 -05:00
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa_cldap.la
|
2013-03-08 18:54:58 +01:00
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa_dns.la
|
2012-06-21 12:54:34 +02:00
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa_sidgen.la
|
|
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa_sidgen_task.la
|
2011-11-30 13:29:10 +01:00
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa_extdom_extop.la
|
2012-06-18 21:25:31 +02:00
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa_range_check.la
|
2014-09-10 17:31:37 -04:00
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa_otp_counter.la
|
2013-12-16 16:19:08 -05:00
|
|
|
rm %{buildroot}/%{plugin_dir}/libipa_otp_lasttoken.la
|
2015-05-20 17:28:39 +02:00
|
|
|
rm %{buildroot}/%{plugin_dir}/libtopology.la
|
2011-05-19 16:24:57 -04:00
|
|
|
rm %{buildroot}/%{_libdir}/krb5/plugins/kdb/ipadb.la
|
2011-10-25 10:33:30 +02:00
|
|
|
rm %{buildroot}/%{_libdir}/samba/pdb/ipasam.la
|
2009-02-02 13:50:53 -05:00
|
|
|
|
2009-05-14 09:29:16 -04:00
|
|
|
# So we can own our Apache configuration
|
2011-01-25 11:03:40 -05:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d/
|
|
|
|
|
/bin/touch %{buildroot}%{_sysconfdir}/httpd/conf.d/ipa.conf
|
2015-06-23 17:01:00 +02:00
|
|
|
/bin/touch %{buildroot}%{_sysconfdir}/httpd/conf.d/ipa-kdc-proxy.conf
|
2011-08-17 15:36:18 -04:00
|
|
|
/bin/touch %{buildroot}%{_sysconfdir}/httpd/conf.d/ipa-pki-proxy.conf
|
2011-01-25 11:03:40 -05:00
|
|
|
/bin/touch %{buildroot}%{_sysconfdir}/httpd/conf.d/ipa-rewrite.conf
|
2012-01-31 18:32:47 +01:00
|
|
|
/bin/touch %{buildroot}%{_usr}/share/ipa/html/ca.crt
|
|
|
|
|
/bin/touch %{buildroot}%{_usr}/share/ipa/html/krb.con
|
|
|
|
|
/bin/touch %{buildroot}%{_usr}/share/ipa/html/krb5.ini
|
|
|
|
|
/bin/touch %{buildroot}%{_usr}/share/ipa/html/krbrealm.con
|
2012-02-06 13:15:06 -05:00
|
|
|
|
2012-10-10 09:46:08 +03:00
|
|
|
mkdir -p %{buildroot}%{_libdir}/krb5/plugins/libkrb5
|
|
|
|
|
touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
|
|
|
|
|
|
2013-08-13 10:56:26 +02:00
|
|
|
%endif # ONLY_CLIENT
|
2010-12-04 15:42:14 -05:00
|
|
|
|
2011-01-25 11:03:40 -05:00
|
|
|
/bin/touch %{buildroot}%{_sysconfdir}/ipa/default.conf
|
2012-01-31 18:32:47 +01:00
|
|
|
/bin/touch %{buildroot}%{_sysconfdir}/ipa/ca.crt
|
2014-09-17 11:52:37 +02:00
|
|
|
|
|
|
|
|
%if ! %{ONLY_CLIENT}
|
2011-02-01 14:24:46 -05:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/cron.d
|
2013-08-13 10:56:26 +02:00
|
|
|
%endif # ONLY_CLIENT
|
2012-06-12 15:58:50 +03:00
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2009-02-02 13:50:53 -05:00
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2009-10-12 16:00:00 -04:00
|
|
|
%if ! %{ONLY_CLIENT}
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2009-02-02 13:50:53 -05:00
|
|
|
%post server
|
2012-11-14 16:45:41 +01:00
|
|
|
# NOTE: systemd specific section
|
2011-10-21 16:44:36 +03:00
|
|
|
/bin/systemctl --system daemon-reload 2>&1 || :
|
2012-11-14 16:45:41 +01:00
|
|
|
# END
|
2011-03-18 11:19:53 -04:00
|
|
|
if [ $1 -gt 1 ] ; then
|
2013-01-24 16:14:31 -05:00
|
|
|
/bin/systemctl condrestart certmonger.service 2>&1 || :
|
2011-03-18 11:19:53 -04:00
|
|
|
fi
|
2015-12-09 08:18:21 +01:00
|
|
|
/bin/systemctl reload-or-try-restart dbus
|
|
|
|
|
/bin/systemctl reload-or-try-restart oddjobd
|
2009-02-02 13:50:53 -05:00
|
|
|
|
2017-07-11 14:10:28 +02:00
|
|
|
%tmpfiles_create ipa.conf
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2011-11-23 16:52:40 -05:00
|
|
|
%posttrans server
|
2016-03-01 18:56:28 +01:00
|
|
|
# don't execute upgrade and restart of IPA when server is not installed
|
2017-12-06 00:53:29 +11:00
|
|
|
%{python} -c "import sys; from ipaserver.install import installutils; sys.exit(0 if installutils.is_ipa_configured() else 1);" > /dev/null 2>&1
|
2016-03-01 18:56:28 +01:00
|
|
|
|
2013-07-11 17:35:26 +03:00
|
|
|
if [ $? -eq 0 ]; then
|
2017-06-26 14:21:41 +02:00
|
|
|
# This is necessary for Fedora system upgrades which by default
|
|
|
|
|
# work with the network being offline
|
|
|
|
|
/bin/systemctl start network-online.target
|
|
|
|
|
|
2016-03-01 18:56:28 +01:00
|
|
|
# Restart IPA processes. This must be also run in postrans so that plugins
|
2017-11-01 11:53:19 -04:00
|
|
|
# and software is in consistent state. This will also perform the
|
|
|
|
|
# system upgrade.
|
2016-03-01 18:56:28 +01:00
|
|
|
# NOTE: systemd specific section
|
|
|
|
|
|
2014-06-17 16:12:47 +02:00
|
|
|
/bin/systemctl is-enabled ipa.service >/dev/null 2>&1
|
|
|
|
|
if [ $? -eq 0 ]; then
|
2017-11-01 11:53:19 -04:00
|
|
|
/bin/systemctl restart ipa.service >/dev/null
|
2014-06-17 16:12:47 +02:00
|
|
|
fi
|
2013-07-11 17:35:26 +03:00
|
|
|
fi
|
|
|
|
|
# END
|
2011-11-23 16:52:40 -05:00
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2009-02-02 13:50:53 -05:00
|
|
|
%preun server
|
|
|
|
|
if [ $1 = 0 ]; then
|
2012-11-14 16:45:41 +01:00
|
|
|
# NOTE: systemd specific section
|
2011-10-21 16:44:36 +03:00
|
|
|
/bin/systemctl --quiet stop ipa.service || :
|
|
|
|
|
/bin/systemctl --quiet disable ipa.service || :
|
2015-12-09 08:18:21 +01:00
|
|
|
/bin/systemctl reload-or-try-restart dbus
|
|
|
|
|
/bin/systemctl reload-or-try-restart oddjobd
|
2012-11-14 16:45:41 +01:00
|
|
|
# END
|
2009-02-02 13:50:53 -05:00
|
|
|
fi
|
|
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2012-02-13 09:16:26 -05:00
|
|
|
%pre server
|
|
|
|
|
# Stop ipa_kpasswd if it exists before upgrading so we don't have a
|
|
|
|
|
# zombie process when we're done.
|
|
|
|
|
if [ -e /usr/sbin/ipa_kpasswd ]; then
|
2012-11-14 16:45:41 +01:00
|
|
|
# NOTE: systemd specific section
|
2012-02-13 09:16:26 -05:00
|
|
|
/bin/systemctl stop ipa_kpasswd.service >/dev/null 2>&1 || :
|
2012-11-14 16:45:41 +01:00
|
|
|
# END
|
2012-02-13 09:16:26 -05:00
|
|
|
fi
|
|
|
|
|
|
2018-04-25 11:33:57 +02:00
|
|
|
|
|
|
|
|
%pre server-common
|
2017-04-11 11:43:40 +02:00
|
|
|
# create users and groups
|
|
|
|
|
# create kdcproxy group and user
|
|
|
|
|
getent group kdcproxy >/dev/null || groupadd -f -r kdcproxy
|
|
|
|
|
getent passwd kdcproxy >/dev/null || useradd -r -g kdcproxy -s /sbin/nologin -d / -c "IPA KDC Proxy User" kdcproxy
|
|
|
|
|
# create ipaapi group and user
|
|
|
|
|
getent group ipaapi >/dev/null || groupadd -f -r ipaapi
|
|
|
|
|
getent passwd ipaapi >/dev/null || useradd -r -g ipaapi -s /sbin/nologin -d / -c "IPA Framework User" ipaapi
|
|
|
|
|
# add apache to ipaaapi group
|
|
|
|
|
id -Gn apache | grep '\bipaapi\b' >/dev/null || usermod apache -a -G ipaapi
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2018-02-22 15:45:13 +01:00
|
|
|
|
|
|
|
|
%post server-dns
|
|
|
|
|
%systemd_post ipa-dnskeysyncd.service ipa-ods-exporter.socket ipa-ods-exporter.service
|
|
|
|
|
|
|
|
|
|
%preun server-dns
|
|
|
|
|
%systemd_preun ipa-dnskeysyncd.service ipa-ods-exporter.socket ipa-ods-exporter.service
|
|
|
|
|
|
|
|
|
|
%postun server-dns
|
|
|
|
|
%systemd_postun ipa-dnskeysyncd.service ipa-ods-exporter.socket ipa-ods-exporter.service
|
|
|
|
|
|
|
|
|
|
|
2012-10-10 09:46:08 +03:00
|
|
|
%postun server-trust-ad
|
|
|
|
|
if [ "$1" -ge "1" ]; then
|
2013-08-13 10:56:26 +02:00
|
|
|
if [ "`readlink %{_sysconfdir}/alternatives/winbind_krb5_locator.so`" == "/dev/null" ]; then
|
|
|
|
|
%{_sbindir}/alternatives --set winbind_krb5_locator.so /dev/null
|
|
|
|
|
fi
|
2012-10-10 09:46:08 +03:00
|
|
|
fi
|
|
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2012-10-10 09:46:08 +03:00
|
|
|
%post server-trust-ad
|
|
|
|
|
%{_sbindir}/update-alternatives --install %{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so \
|
2013-08-13 10:56:26 +02:00
|
|
|
winbind_krb5_locator.so /dev/null 90
|
2015-06-05 12:57:02 +00:00
|
|
|
/bin/systemctl reload-or-try-restart dbus
|
|
|
|
|
/bin/systemctl reload-or-try-restart oddjobd
|
2013-07-11 17:35:26 +03:00
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2013-07-11 17:35:26 +03:00
|
|
|
%posttrans server-trust-ad
|
2017-12-06 00:53:29 +11:00
|
|
|
%{python} -c "import sys; from ipaserver.install import installutils; sys.exit(0 if installutils.is_ipa_configured() else 1);" > /dev/null 2>&1
|
2012-10-26 13:12:17 +02:00
|
|
|
if [ $? -eq 0 ]; then
|
2012-11-14 16:45:41 +01:00
|
|
|
# NOTE: systemd specific section
|
2012-10-26 13:12:17 +02:00
|
|
|
/bin/systemctl try-restart httpd.service >/dev/null 2>&1 || :
|
2012-11-14 16:45:41 +01:00
|
|
|
# END
|
2012-10-26 13:12:17 +02:00
|
|
|
fi
|
2012-10-10 09:46:08 +03:00
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2012-10-10 09:46:08 +03:00
|
|
|
%preun server-trust-ad
|
|
|
|
|
if [ $1 -eq 0 ]; then
|
2013-08-13 10:56:26 +02:00
|
|
|
%{_sbindir}/update-alternatives --remove winbind_krb5_locator.so /dev/null
|
2015-06-05 12:57:02 +00:00
|
|
|
/bin/systemctl reload-or-try-restart dbus
|
|
|
|
|
/bin/systemctl reload-or-try-restart oddjobd
|
2012-10-10 09:46:08 +03:00
|
|
|
fi
|
2013-12-03 09:14:00 -07:00
|
|
|
|
2013-08-13 10:56:26 +02:00
|
|
|
%endif # ONLY_CLIENT
|
2009-02-02 13:50:53 -05:00
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2012-10-31 10:15:28 +01:00
|
|
|
%post client
|
|
|
|
|
if [ $1 -gt 1 ] ; then
|
|
|
|
|
# Has the client been configured?
|
|
|
|
|
restore=0
|
|
|
|
|
test -f '/var/lib/ipa-client/sysrestore/sysrestore.index' && restore=$(wc -l '/var/lib/ipa-client/sysrestore/sysrestore.index' | awk '{print $1}')
|
|
|
|
|
|
|
|
|
|
if [ -f '/etc/sssd/sssd.conf' -a $restore -ge 2 ]; then
|
2013-08-13 10:56:26 +02:00
|
|
|
if ! grep -E -q '/var/lib/sss/pubconf/krb5.include.d/' /etc/krb5.conf 2>/dev/null ; then
|
2012-10-31 10:15:28 +01:00
|
|
|
echo "includedir /var/lib/sss/pubconf/krb5.include.d/" > /etc/krb5.conf.ipanew
|
|
|
|
|
cat /etc/krb5.conf >> /etc/krb5.conf.ipanew
|
2015-07-17 16:12:07 +02:00
|
|
|
mv -Z /etc/krb5.conf.ipanew /etc/krb5.conf
|
2012-10-31 10:15:28 +01:00
|
|
|
fi
|
|
|
|
|
fi
|
2014-01-24 10:16:48 +01:00
|
|
|
|
2017-05-03 06:48:57 +00:00
|
|
|
if [ $restore -ge 2 ]; then
|
|
|
|
|
if grep -E -q '\s*pkinit_anchors = FILE:/etc/ipa/ca.crt$' /etc/krb5.conf 2>/dev/null; then
|
|
|
|
|
sed -E 's|(\s*)pkinit_anchors = FILE:/etc/ipa/ca.crt$|\1pkinit_anchors = FILE:/var/lib/ipa-client/pki/kdc-ca-bundle.pem\n\1pkinit_pool = FILE:/var/lib/ipa-client/pki/ca-bundle.pem|' /etc/krb5.conf >/etc/krb5.conf.ipanew
|
|
|
|
|
mv -Z /etc/krb5.conf.ipanew /etc/krb5.conf
|
|
|
|
|
cp /etc/ipa/ca.crt /var/lib/ipa-client/pki/kdc-ca-bundle.pem
|
|
|
|
|
cp /etc/ipa/ca.crt /var/lib/ipa-client/pki/ca-bundle.pem
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
2016-02-22 15:05:35 +01:00
|
|
|
if [ $restore -ge 2 ]; then
|
2017-12-06 00:53:29 +11:00
|
|
|
%{python} -c 'from ipaclient.install.client import update_ipa_nssdb; update_ipa_nssdb()' >/var/log/ipaupgrade.log 2>&1
|
2014-09-18 16:28:59 +02:00
|
|
|
fi
|
2012-10-31 10:15:28 +01:00
|
|
|
fi
|
2009-02-02 13:50:53 -05:00
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
|
|
|
|
%triggerin client -- openssh-server
|
2013-04-18 18:06:54 +02:00
|
|
|
# Has the client been configured?
|
|
|
|
|
restore=0
|
|
|
|
|
test -f '/var/lib/ipa-client/sysrestore/sysrestore.index' && restore=$(wc -l '/var/lib/ipa-client/sysrestore/sysrestore.index' | awk '{print $1}')
|
|
|
|
|
|
|
|
|
|
if [ -f '/etc/ssh/sshd_config' -a $restore -ge 2 ]; then
|
2013-08-13 10:56:26 +02:00
|
|
|
if grep -E -q '^(AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys|PubKeyAgent /usr/bin/sss_ssh_authorizedkeys %u)$' /etc/ssh/sshd_config 2>/dev/null; then
|
2013-04-18 18:06:54 +02:00
|
|
|
sed -r '
|
|
|
|
|
/^(AuthorizedKeysCommand(User|RunAs)|PubKeyAgentRunAs)[ \t]/ d
|
|
|
|
|
' /etc/ssh/sshd_config >/etc/ssh/sshd_config.ipanew
|
|
|
|
|
|
2016-08-11 15:39:35 +02:00
|
|
|
if /usr/sbin/sshd -t -f /dev/null -o 'AuthorizedKeysCommand=/usr/bin/sss_ssh_authorizedkeys' -o 'AuthorizedKeysCommandUser=nobody' 2>/dev/null; then
|
2013-04-18 18:06:54 +02:00
|
|
|
sed -ri '
|
|
|
|
|
s/^PubKeyAgent (.+) %u$/AuthorizedKeysCommand \1/
|
|
|
|
|
s/^AuthorizedKeysCommand .*$/\0\nAuthorizedKeysCommandUser nobody/
|
|
|
|
|
' /etc/ssh/sshd_config.ipanew
|
2016-08-11 15:39:35 +02:00
|
|
|
elif /usr/sbin/sshd -t -f /dev/null -o 'AuthorizedKeysCommand=/usr/bin/sss_ssh_authorizedkeys' -o 'AuthorizedKeysCommandRunAs=nobody' 2>/dev/null; then
|
2013-04-18 18:06:54 +02:00
|
|
|
sed -ri '
|
|
|
|
|
s/^PubKeyAgent (.+) %u$/AuthorizedKeysCommand \1/
|
|
|
|
|
s/^AuthorizedKeysCommand .*$/\0\nAuthorizedKeysCommandRunAs nobody/
|
|
|
|
|
' /etc/ssh/sshd_config.ipanew
|
2016-08-11 15:39:35 +02:00
|
|
|
elif /usr/sbin/sshd -t -f /dev/null -o 'PubKeyAgent=/usr/bin/sss_ssh_authorizedkeys %u' -o 'PubKeyAgentRunAs=nobody' 2>/dev/null; then
|
2013-04-18 18:06:54 +02:00
|
|
|
sed -ri '
|
|
|
|
|
s/^AuthorizedKeysCommand (.+)$/PubKeyAgent \1 %u/
|
|
|
|
|
s/^PubKeyAgent .*$/\0\nPubKeyAgentRunAs nobody/
|
|
|
|
|
' /etc/ssh/sshd_config.ipanew
|
|
|
|
|
fi
|
|
|
|
|
|
2015-07-17 16:12:07 +02:00
|
|
|
mv -Z /etc/ssh/sshd_config.ipanew /etc/ssh/sshd_config
|
2013-04-18 18:06:54 +02:00
|
|
|
chmod 600 /etc/ssh/sshd_config
|
|
|
|
|
|
|
|
|
|
/bin/systemctl condrestart sshd.service 2>&1 || :
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2009-10-12 16:00:00 -04:00
|
|
|
%if ! %{ONLY_CLIENT}
|
2015-12-07 13:52:38 +01:00
|
|
|
|
|
|
|
|
%files server
|
2009-02-02 13:50:53 -05:00
|
|
|
%defattr(-,root,root,-)
|
2017-02-28 19:04:03 +01:00
|
|
|
%doc README.md Contributors.txt
|
2015-08-17 10:14:05 -04:00
|
|
|
%license COPYING
|
2013-03-13 09:36:41 -04:00
|
|
|
%{_sbindir}/ipa-backup
|
|
|
|
|
%{_sbindir}/ipa-restore
|
2011-06-17 16:47:39 -04:00
|
|
|
%{_sbindir}/ipa-ca-install
|
2014-03-18 11:23:30 -04:00
|
|
|
%{_sbindir}/ipa-kra-install
|
2009-02-02 13:50:53 -05:00
|
|
|
%{_sbindir}/ipa-server-install
|
2011-05-22 19:17:07 +02:00
|
|
|
%{_sbindir}/ipa-replica-conncheck
|
2009-02-02 13:50:53 -05:00
|
|
|
%{_sbindir}/ipa-replica-install
|
|
|
|
|
%{_sbindir}/ipa-replica-prepare
|
|
|
|
|
%{_sbindir}/ipa-replica-manage
|
2011-07-14 23:35:01 -04:00
|
|
|
%{_sbindir}/ipa-csreplica-manage
|
2009-02-02 13:50:53 -05:00
|
|
|
%{_sbindir}/ipa-server-certinstall
|
2015-04-02 14:14:15 +02:00
|
|
|
%{_sbindir}/ipa-server-upgrade
|
2011-02-11 14:05:20 -05:00
|
|
|
%{_sbindir}/ipa-ldap-updater
|
2014-05-08 11:06:16 -04:00
|
|
|
%{_sbindir}/ipa-otptoken-import
|
2011-02-11 14:05:20 -05:00
|
|
|
%{_sbindir}/ipa-compat-manage
|
|
|
|
|
%{_sbindir}/ipa-nis-manage
|
2011-09-20 09:13:42 -07:00
|
|
|
%{_sbindir}/ipa-managed-entries
|
2009-02-02 13:50:53 -05:00
|
|
|
%{_sbindir}/ipactl
|
2013-06-10 14:43:24 +02:00
|
|
|
%{_sbindir}/ipa-advise
|
2014-03-13 10:28:27 +01:00
|
|
|
%{_sbindir}/ipa-cacert-manage
|
2015-04-29 08:16:12 +02:00
|
|
|
%{_sbindir}/ipa-winsync-migrate
|
2017-06-05 12:41:02 +00:00
|
|
|
%{_sbindir}/ipa-pkinit-manage
|
2013-10-16 07:26:39 +00:00
|
|
|
%{_libexecdir}/certmonger/dogtag-ipa-ca-renew-agent-submit
|
2015-01-08 09:06:46 +00:00
|
|
|
%{_libexecdir}/certmonger/ipa-server-guard
|
2014-10-19 17:04:40 +02:00
|
|
|
%dir %{_libexecdir}/ipa
|
2017-02-28 12:07:19 +01:00
|
|
|
%{_libexecdir}/ipa/ipa-custodia
|
2017-08-01 11:33:32 +02:00
|
|
|
%{_libexecdir}/ipa/ipa-custodia-check
|
2015-06-23 17:01:00 +02:00
|
|
|
%{_libexecdir}/ipa/ipa-httpd-kdcproxy
|
2018-02-26 10:15:05 +01:00
|
|
|
%{_libexecdir}/ipa/ipa-httpd-pwdreader
|
2016-06-01 08:07:33 +10:00
|
|
|
%{_libexecdir}/ipa/ipa-pki-retrieve-key
|
2016-09-30 01:00:02 +03:00
|
|
|
%{_libexecdir}/ipa/ipa-otpd
|
2015-12-09 08:17:07 +01:00
|
|
|
%dir %{_libexecdir}/ipa/oddjob
|
2015-12-09 08:18:21 +01:00
|
|
|
%attr(0755,root,root) %{_libexecdir}/ipa/oddjob/org.freeipa.server.conncheck
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freeipa.server.conf
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/oddjobd.conf.d/ipa-server.conf
|
2016-02-23 12:10:34 +01:00
|
|
|
%dir %{_libexecdir}/ipa/certmonger
|
|
|
|
|
%attr(755,root,root) %{_libexecdir}/ipa/certmonger/*
|
2015-12-07 13:52:38 +01:00
|
|
|
# NOTE: systemd specific section
|
|
|
|
|
%attr(644,root,root) %{_unitdir}/ipa.service
|
|
|
|
|
%attr(644,root,root) %{_unitdir}/ipa-otpd.socket
|
|
|
|
|
%attr(644,root,root) %{_unitdir}/ipa-otpd@.service
|
|
|
|
|
# END
|
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa_pwd_extop.so
|
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa_enrollment_extop.so
|
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa_winsync.so
|
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa_repl_version.so
|
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa_uuid.so
|
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa_modrdn.so
|
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa_lockout.so
|
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa_cldap.so
|
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa_dns.so
|
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa_range_check.so
|
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa_otp_counter.so
|
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa_otp_lasttoken.so
|
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libtopology.so
|
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa_sidgen.so
|
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa_sidgen_task.so
|
|
|
|
|
%attr(755,root,root) %{plugin_dir}/libipa_extdom_extop.so
|
|
|
|
|
%attr(755,root,root) %{_libdir}/krb5/plugins/kdb/ipadb.so
|
2016-11-04 13:36:45 +01:00
|
|
|
%{_mandir}/man1/ipa-replica-conncheck.1*
|
|
|
|
|
%{_mandir}/man1/ipa-replica-install.1*
|
|
|
|
|
%{_mandir}/man1/ipa-replica-manage.1*
|
|
|
|
|
%{_mandir}/man1/ipa-csreplica-manage.1*
|
|
|
|
|
%{_mandir}/man1/ipa-replica-prepare.1*
|
|
|
|
|
%{_mandir}/man1/ipa-server-certinstall.1*
|
|
|
|
|
%{_mandir}/man1/ipa-server-install.1*
|
|
|
|
|
%{_mandir}/man1/ipa-server-upgrade.1*
|
|
|
|
|
%{_mandir}/man1/ipa-ca-install.1*
|
|
|
|
|
%{_mandir}/man1/ipa-kra-install.1*
|
|
|
|
|
%{_mandir}/man1/ipa-compat-manage.1*
|
|
|
|
|
%{_mandir}/man1/ipa-nis-manage.1*
|
|
|
|
|
%{_mandir}/man1/ipa-managed-entries.1*
|
|
|
|
|
%{_mandir}/man1/ipa-ldap-updater.1*
|
|
|
|
|
%{_mandir}/man8/ipactl.8*
|
|
|
|
|
%{_mandir}/man1/ipa-backup.1*
|
|
|
|
|
%{_mandir}/man1/ipa-restore.1*
|
|
|
|
|
%{_mandir}/man1/ipa-advise.1*
|
|
|
|
|
%{_mandir}/man1/ipa-otptoken-import.1*
|
|
|
|
|
%{_mandir}/man1/ipa-cacert-manage.1*
|
|
|
|
|
%{_mandir}/man1/ipa-winsync-migrate.1*
|
2017-06-05 12:41:02 +00:00
|
|
|
%{_mandir}/man1/ipa-pkinit-manage.1*
|
2015-12-07 13:52:38 +01:00
|
|
|
|
|
|
|
|
|
2016-11-24 17:35:24 +01:00
|
|
|
%files -n python2-ipaserver
|
|
|
|
|
%defattr(-,root,root,-)
|
2017-02-28 19:04:03 +01:00
|
|
|
%doc README.md Contributors.txt
|
2016-11-24 17:35:24 +01:00
|
|
|
%license COPYING
|
|
|
|
|
%{python2_sitelib}/ipaserver
|
|
|
|
|
%{python2_sitelib}/ipaserver-*.egg-info
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
|
|
|
|
|
%files -n python3-ipaserver
|
2015-12-07 13:52:38 +01:00
|
|
|
%defattr(-,root,root,-)
|
2017-02-28 19:04:03 +01:00
|
|
|
%doc README.md Contributors.txt
|
2015-12-07 13:52:38 +01:00
|
|
|
%license COPYING
|
2016-11-24 17:35:24 +01:00
|
|
|
%{python3_sitelib}/ipaserver
|
|
|
|
|
%{python3_sitelib}/ipaserver-*.egg-info
|
|
|
|
|
|
|
|
|
|
%endif # with_python3
|
2015-12-07 13:52:38 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
%files server-common
|
|
|
|
|
%defattr(-,root,root,-)
|
2017-02-28 19:04:03 +01:00
|
|
|
%doc README.md Contributors.txt
|
2015-12-07 13:52:38 +01:00
|
|
|
%license COPYING
|
2015-09-23 10:35:06 +02:00
|
|
|
%ghost %verify(not owner group) %dir %{_sharedstatedir}/kdcproxy
|
2015-07-14 11:41:46 +00:00
|
|
|
%dir %attr(0755,root,root) %{_sysconfdir}/ipa/kdcproxy
|
2015-06-23 17:01:00 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/ipa/kdcproxy/kdcproxy.conf
|
2017-07-11 14:10:28 +02:00
|
|
|
# NOTE: systemd specific section
|
|
|
|
|
%{_tmpfilesdir}/ipa.conf
|
2015-05-08 13:39:29 -04:00
|
|
|
%attr(644,root,root) %{_unitdir}/ipa-custodia.service
|
2016-03-16 09:04:42 +01:00
|
|
|
%ghost %attr(644,root,root) %{etc_systemd_dir}/httpd.d/ipa.conf
|
2012-11-14 16:45:41 +01:00
|
|
|
# END
|
2010-03-01 21:41:41 -07:00
|
|
|
%{_usr}/share/ipa/wsgi.py*
|
2017-03-29 17:58:47 +02:00
|
|
|
%{_usr}/share/ipa/kdcproxy.wsgi
|
2009-02-02 13:50:53 -05:00
|
|
|
%{_usr}/share/ipa/*.ldif
|
|
|
|
|
%{_usr}/share/ipa/*.uldif
|
|
|
|
|
%{_usr}/share/ipa/*.template
|
2013-08-01 14:12:39 +02:00
|
|
|
%dir %{_usr}/share/ipa/advise
|
|
|
|
|
%dir %{_usr}/share/ipa/advise/legacy
|
|
|
|
|
%{_usr}/share/ipa/advise/legacy/*.template
|
2015-05-11 21:17:48 -04:00
|
|
|
%dir %{_usr}/share/ipa/profiles
|
2017-06-12 12:49:51 +10:00
|
|
|
%{_usr}/share/ipa/profiles/README
|
2015-05-11 21:17:48 -04:00
|
|
|
%{_usr}/share/ipa/profiles/*.cfg
|
2009-02-02 13:50:53 -05:00
|
|
|
%dir %{_usr}/share/ipa/html
|
|
|
|
|
%{_usr}/share/ipa/html/ssbrowser.html
|
|
|
|
|
%{_usr}/share/ipa/html/unauthorized.html
|
2010-01-12 16:40:09 +01:00
|
|
|
%dir %{_usr}/share/ipa/migration
|
|
|
|
|
%{_usr}/share/ipa/migration/error.html
|
|
|
|
|
%{_usr}/share/ipa/migration/index.html
|
|
|
|
|
%{_usr}/share/ipa/migration/invalid.html
|
|
|
|
|
%{_usr}/share/ipa/migration/migration.py*
|
2011-01-19 12:26:14 -05:00
|
|
|
%dir %{_usr}/share/ipa/ui
|
|
|
|
|
%{_usr}/share/ipa/ui/index.html
|
2012-06-08 16:38:17 +02:00
|
|
|
%{_usr}/share/ipa/ui/reset_password.html
|
2014-06-05 18:50:03 +02:00
|
|
|
%{_usr}/share/ipa/ui/sync_otp.html
|
2011-08-02 12:42:42 -05:00
|
|
|
%{_usr}/share/ipa/ui/*.ico
|
2011-01-19 12:26:14 -05:00
|
|
|
%{_usr}/share/ipa/ui/*.css
|
|
|
|
|
%{_usr}/share/ipa/ui/*.js
|
2013-12-04 16:15:20 +01:00
|
|
|
%dir %{_usr}/share/ipa/ui/css
|
2013-10-10 13:41:31 +02:00
|
|
|
%{_usr}/share/ipa/ui/css/*.css
|
2013-11-27 13:20:22 +00:00
|
|
|
%dir %{_usr}/share/ipa/ui/js
|
2012-11-23 17:19:37 +01:00
|
|
|
%dir %{_usr}/share/ipa/ui/js/dojo
|
|
|
|
|
%{_usr}/share/ipa/ui/js/dojo/dojo.js
|
|
|
|
|
%dir %{_usr}/share/ipa/ui/js/libs
|
|
|
|
|
%{_usr}/share/ipa/ui/js/libs/*.js
|
|
|
|
|
%dir %{_usr}/share/ipa/ui/js/freeipa
|
|
|
|
|
%{_usr}/share/ipa/ui/js/freeipa/app.js
|
2014-06-05 17:12:41 +02:00
|
|
|
%{_usr}/share/ipa/ui/js/freeipa/core.js
|
2013-03-20 17:28:17 +01:00
|
|
|
%dir %{_usr}/share/ipa/ui/js/plugins
|
2011-10-26 16:06:17 -05:00
|
|
|
%dir %{_usr}/share/ipa/ui/images
|
2013-11-13 16:02:48 +01:00
|
|
|
%{_usr}/share/ipa/ui/images/*.jpg
|
2011-10-26 16:06:17 -05:00
|
|
|
%{_usr}/share/ipa/ui/images/*.png
|
2013-04-23 19:54:21 +02:00
|
|
|
%dir %{_usr}/share/ipa/wsgi
|
|
|
|
|
%{_usr}/share/ipa/wsgi/plugins.py*
|
|
|
|
|
%dir %{_sysconfdir}/ipa
|
2009-02-02 13:50:53 -05:00
|
|
|
%dir %{_sysconfdir}/ipa/html
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/ipa/html/ssbrowser.html
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/ipa/html/unauthorized.html
|
2009-09-16 13:04:14 -04:00
|
|
|
%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/httpd/conf.d/ipa-rewrite.conf
|
|
|
|
|
%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/httpd/conf.d/ipa.conf
|
2015-06-23 17:01:00 +02:00
|
|
|
%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/httpd/conf.d/ipa-kdc-proxy.conf
|
2011-08-17 15:36:18 -04:00
|
|
|
%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/httpd/conf.d/ipa-pki-proxy.conf
|
2015-06-23 17:01:00 +02:00
|
|
|
%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/kdcproxy/ipa-kdc-proxy.conf
|
2012-01-31 18:32:47 +01:00
|
|
|
%ghost %attr(0644,root,apache) %config(noreplace) %{_usr}/share/ipa/html/ca.crt
|
|
|
|
|
%ghost %attr(0644,root,apache) %{_usr}/share/ipa/html/krb.con
|
|
|
|
|
%ghost %attr(0644,root,apache) %{_usr}/share/ipa/html/krb5.ini
|
|
|
|
|
%ghost %attr(0644,root,apache) %{_usr}/share/ipa/html/krbrealm.con
|
2009-02-02 13:50:53 -05:00
|
|
|
%dir %{_usr}/share/ipa/updates/
|
|
|
|
|
%{_usr}/share/ipa/updates/*
|
|
|
|
|
%dir %{_localstatedir}/lib/ipa
|
2013-04-16 09:44:28 +02:00
|
|
|
%attr(700,root,root) %dir %{_localstatedir}/lib/ipa/backup
|
2016-11-29 11:10:22 -05:00
|
|
|
%attr(700,root,root) %dir %{_localstatedir}/lib/ipa/gssproxy
|
2017-09-18 11:31:45 -04:00
|
|
|
%attr(711,root,root) %dir %{_localstatedir}/lib/ipa/sysrestore
|
2012-06-08 08:31:37 +02:00
|
|
|
%attr(700,root,root) %dir %{_localstatedir}/lib/ipa/sysupgrade
|
2012-10-08 15:58:48 +02:00
|
|
|
%attr(755,root,root) %dir %{_localstatedir}/lib/ipa/pki-ca
|
2018-02-09 09:39:02 +01:00
|
|
|
%attr(755,root,root) %dir %{_localstatedir}/lib/ipa/certs
|
2018-02-26 10:15:05 +01:00
|
|
|
%attr(700,root,root) %dir %{_localstatedir}/lib/ipa/private
|
|
|
|
|
%attr(700,root,root) %dir %{_localstatedir}/lib/ipa/passwds
|
2013-07-16 12:10:54 +02:00
|
|
|
%ghost %{_localstatedir}/lib/ipa/pki-ca/publish
|
2014-11-11 13:00:18 +01:00
|
|
|
%ghost %{_localstatedir}/named/dyndb-ldap/ipa
|
2015-05-08 13:39:29 -04:00
|
|
|
%dir %attr(0700,root,root) %{_sysconfdir}/ipa/custodia
|
2016-08-05 13:04:19 +03:00
|
|
|
%dir %{_usr}/share/ipa/schema.d
|
|
|
|
|
%attr(0644,root,root) %{_usr}/share/ipa/schema.d/README
|
2016-08-19 09:23:55 -04:00
|
|
|
%attr(0644,root,root) %{_usr}/share/ipa/gssapi.login
|
2017-05-18 07:57:40 +00:00
|
|
|
%{_usr}/share/ipa/ipakrb5.aug
|
2009-02-02 13:50:53 -05:00
|
|
|
|
2015-07-16 15:09:45 +02:00
|
|
|
%files server-dns
|
2015-12-07 13:52:38 +01:00
|
|
|
%defattr(-,root,root,-)
|
2017-02-28 19:04:03 +01:00
|
|
|
%doc README.md Contributors.txt
|
2015-12-07 13:52:38 +01:00
|
|
|
%license COPYING
|
2018-02-22 15:45:13 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/ipa-dnskeysyncd
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/ipa-ods-exporter
|
|
|
|
|
%dir %attr(0755,root,root) %{_sysconfdir}/ipa/dnssec
|
|
|
|
|
%{_libexecdir}/ipa/ipa-dnskeysyncd
|
|
|
|
|
%{_libexecdir}/ipa/ipa-dnskeysync-replica
|
|
|
|
|
%{_libexecdir}/ipa/ipa-ods-exporter
|
2015-07-16 15:09:45 +02:00
|
|
|
%{_sbindir}/ipa-dns-install
|
2016-11-04 13:36:45 +01:00
|
|
|
%{_mandir}/man1/ipa-dns-install.1*
|
2018-02-22 15:45:13 +01:00
|
|
|
%attr(644,root,root) %{_unitdir}/ipa-dnskeysyncd.service
|
|
|
|
|
%attr(644,root,root) %{_unitdir}/ipa-ods-exporter.socket
|
|
|
|
|
%attr(644,root,root) %{_unitdir}/ipa-ods-exporter.service
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2012-02-28 13:24:41 +02:00
|
|
|
%files server-trust-ad
|
2015-12-07 13:52:38 +01:00
|
|
|
%defattr(-,root,root,-)
|
2017-02-28 19:04:03 +01:00
|
|
|
%doc README.md Contributors.txt
|
2015-12-07 13:52:38 +01:00
|
|
|
%license COPYING
|
2012-06-12 15:58:50 +03:00
|
|
|
%{_sbindir}/ipa-adtrust-install
|
2012-02-28 13:24:41 +02:00
|
|
|
%{_usr}/share/ipa/smb.conf.empty
|
2012-06-12 15:58:50 +03:00
|
|
|
%attr(755,root,root) %{_libdir}/samba/pdb/ipasam.so
|
2016-11-04 13:36:45 +01:00
|
|
|
%{_mandir}/man1/ipa-adtrust-install.1*
|
2012-10-10 09:46:08 +03:00
|
|
|
%ghost %{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
|
2015-06-05 12:57:02 +00:00
|
|
|
%{_sysconfdir}/dbus-1/system.d/oddjob-ipa-trust.conf
|
|
|
|
|
%{_sysconfdir}/oddjobd.conf.d/oddjobd-ipa-trust.conf
|
2016-01-15 08:07:21 +01:00
|
|
|
%%attr(755,root,root) %{_libexecdir}/ipa/oddjob/com.redhat.idm.trust-fetch-domains
|
2013-12-03 09:14:00 -07:00
|
|
|
|
2013-08-13 10:56:26 +02:00
|
|
|
%endif # ONLY_CLIENT
|
2009-02-02 13:50:53 -05:00
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2009-02-02 13:50:53 -05:00
|
|
|
%files client
|
2011-01-25 11:03:40 -05:00
|
|
|
%defattr(-,root,root,-)
|
2017-02-28 19:04:03 +01:00
|
|
|
%doc README.md Contributors.txt
|
2015-08-17 10:14:05 -04:00
|
|
|
%license COPYING
|
2009-02-02 13:50:53 -05:00
|
|
|
%{_sbindir}/ipa-client-install
|
2012-05-29 14:20:38 -04:00
|
|
|
%{_sbindir}/ipa-client-automount
|
2014-06-27 12:31:50 +02:00
|
|
|
%{_sbindir}/ipa-certupdate
|
2009-02-02 13:50:53 -05:00
|
|
|
%{_sbindir}/ipa-getkeytab
|
2009-12-04 16:29:09 -05:00
|
|
|
%{_sbindir}/ipa-rmkeytab
|
2009-09-14 17:04:08 -04:00
|
|
|
%{_sbindir}/ipa-join
|
2016-08-25 11:59:34 +03:00
|
|
|
%{_bindir}/ipa
|
|
|
|
|
%config %{_sysconfdir}/bash_completion.d
|
2016-11-04 13:36:45 +01:00
|
|
|
%{_mandir}/man1/ipa.1*
|
|
|
|
|
%{_mandir}/man1/ipa-getkeytab.1*
|
|
|
|
|
%{_mandir}/man1/ipa-rmkeytab.1*
|
|
|
|
|
%{_mandir}/man1/ipa-client-install.1*
|
|
|
|
|
%{_mandir}/man1/ipa-client-automount.1*
|
|
|
|
|
%{_mandir}/man1/ipa-certupdate.1*
|
|
|
|
|
%{_mandir}/man1/ipa-join.1*
|
2015-12-07 13:52:38 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python2-ipaclient
|
|
|
|
|
%defattr(-,root,root,-)
|
2017-02-28 19:04:03 +01:00
|
|
|
%doc README.md Contributors.txt
|
2015-12-07 13:52:38 +01:00
|
|
|
%license COPYING
|
|
|
|
|
%dir %{python_sitelib}/ipaclient
|
|
|
|
|
%{python_sitelib}/ipaclient/*.py*
|
2017-05-10 18:39:22 +02:00
|
|
|
%dir %{python_sitelib}/ipaclient/install
|
2016-10-19 10:52:37 +02:00
|
|
|
%{python_sitelib}/ipaclient/install/*.py*
|
2017-05-10 18:39:22 +02:00
|
|
|
%dir %{python_sitelib}/ipaclient/plugins
|
2016-03-08 12:37:40 +01:00
|
|
|
%{python_sitelib}/ipaclient/plugins/*.py*
|
2017-05-10 18:39:22 +02:00
|
|
|
%dir %{python_sitelib}/ipaclient/remote_plugins
|
2016-06-02 10:12:26 +02:00
|
|
|
%{python_sitelib}/ipaclient/remote_plugins/*.py*
|
2017-05-30 16:55:41 +02:00
|
|
|
%dir %{python_sitelib}/ipaclient/remote_plugins/2_*
|
2016-06-30 15:51:29 +02:00
|
|
|
%{python_sitelib}/ipaclient/remote_plugins/2_*/*.py*
|
2017-05-10 18:39:22 +02:00
|
|
|
%dir %{python_sitelib}/ipaclient/csrgen
|
|
|
|
|
%dir %{python_sitelib}/ipaclient/csrgen/profiles
|
2017-03-02 16:09:53 +01:00
|
|
|
%{python_sitelib}/ipaclient/csrgen/profiles/*.json
|
2017-05-10 18:39:22 +02:00
|
|
|
%dir %{python_sitelib}/ipaclient/csrgen/rules
|
2017-03-02 16:09:53 +01:00
|
|
|
%{python_sitelib}/ipaclient/csrgen/rules/*.json
|
2017-05-10 18:39:22 +02:00
|
|
|
%dir %{python_sitelib}/ipaclient/csrgen/templates
|
2017-03-02 16:09:53 +01:00
|
|
|
%{python_sitelib}/ipaclient/csrgen/templates/*.tmpl
|
Split ipa-client/ into ipaclient/ (Python library) and client/ (C, scripts)
Make ipaclient a Python library like ipapython, ipalib, etc.
Use setup.py instead of autotools for installing it.
Move C client tools, Python scripts, and man pages, to client/.
Remove old, empty or outdated, boilerplate files (NEWS, README, AUTHORS).
Remove /setup-client.py (ipalib/setup.py should be used instead).
Update Makefiles and the spec file accordingly.
https://fedorahosted.org/freeipa/ticket/5638
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
2016-01-14 14:15:49 +01:00
|
|
|
%{python_sitelib}/ipaclient-*.egg-info
|
2015-12-07 13:52:38 +01:00
|
|
|
|
|
|
|
|
|
2016-02-19 14:54:18 +01:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
|
|
|
|
|
%files -n python3-ipaclient
|
|
|
|
|
%defattr(-,root,root,-)
|
2017-02-28 19:04:03 +01:00
|
|
|
%doc README.md Contributors.txt
|
2016-02-19 14:54:18 +01:00
|
|
|
%license COPYING
|
|
|
|
|
%dir %{python3_sitelib}/ipaclient
|
|
|
|
|
%{python3_sitelib}/ipaclient/*.py
|
|
|
|
|
%{python3_sitelib}/ipaclient/__pycache__/*.py*
|
2017-05-10 18:39:22 +02:00
|
|
|
%dir %{python3_sitelib}/ipaclient/install
|
2016-10-19 10:52:37 +02:00
|
|
|
%{python3_sitelib}/ipaclient/install/*.py
|
|
|
|
|
%{python3_sitelib}/ipaclient/install/__pycache__/*.py*
|
2017-05-10 18:39:22 +02:00
|
|
|
%dir %{python3_sitelib}/ipaclient/plugins
|
2016-03-08 12:37:40 +01:00
|
|
|
%{python3_sitelib}/ipaclient/plugins/*.py
|
|
|
|
|
%{python3_sitelib}/ipaclient/plugins/__pycache__/*.py*
|
2017-05-10 18:39:22 +02:00
|
|
|
%dir %{python3_sitelib}/ipaclient/remote_plugins
|
2016-06-02 10:12:26 +02:00
|
|
|
%{python3_sitelib}/ipaclient/remote_plugins/*.py
|
|
|
|
|
%{python3_sitelib}/ipaclient/remote_plugins/__pycache__/*.py*
|
2017-05-30 16:55:41 +02:00
|
|
|
%dir %{python3_sitelib}/ipaclient/remote_plugins/2_*
|
2016-06-30 15:51:29 +02:00
|
|
|
%{python3_sitelib}/ipaclient/remote_plugins/2_*/*.py
|
|
|
|
|
%{python3_sitelib}/ipaclient/remote_plugins/2_*/__pycache__/*.py*
|
2017-05-10 18:39:22 +02:00
|
|
|
%dir %{python3_sitelib}/ipaclient/csrgen
|
|
|
|
|
%dir %{python3_sitelib}/ipaclient/csrgen/profiles
|
2017-03-02 16:09:53 +01:00
|
|
|
%{python3_sitelib}/ipaclient/csrgen/profiles/*.json
|
2017-05-10 18:39:22 +02:00
|
|
|
%dir %{python3_sitelib}/ipaclient/csrgen/rules
|
2017-03-02 16:09:53 +01:00
|
|
|
%{python3_sitelib}/ipaclient/csrgen/rules/*.json
|
2017-05-10 18:39:22 +02:00
|
|
|
%dir %{python3_sitelib}/ipaclient/csrgen/templates
|
2017-03-02 16:09:53 +01:00
|
|
|
%{python3_sitelib}/ipaclient/csrgen/templates/*.tmpl
|
2016-02-19 14:54:18 +01:00
|
|
|
%{python3_sitelib}/ipaclient-*.egg-info
|
|
|
|
|
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
%files client-common
|
|
|
|
|
%defattr(-,root,root,-)
|
2017-02-28 19:04:03 +01:00
|
|
|
%doc README.md Contributors.txt
|
2015-12-07 13:52:38 +01:00
|
|
|
%license COPYING
|
2015-11-26 10:52:07 +01:00
|
|
|
%dir %attr(0755,root,root) %{_sysconfdir}/ipa/
|
|
|
|
|
%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/default.conf
|
|
|
|
|
%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/ca.crt
|
|
|
|
|
%dir %attr(0755,root,root) %{_sysconfdir}/ipa/nssdb
|
2017-11-08 12:10:54 +01:00
|
|
|
# old dbm format
|
2015-11-26 10:52:07 +01:00
|
|
|
%ghost %config(noreplace) %{_sysconfdir}/ipa/nssdb/cert8.db
|
|
|
|
|
%ghost %config(noreplace) %{_sysconfdir}/ipa/nssdb/key3.db
|
|
|
|
|
%ghost %config(noreplace) %{_sysconfdir}/ipa/nssdb/secmod.db
|
2017-11-08 12:10:54 +01:00
|
|
|
# new sql format
|
|
|
|
|
%ghost %config(noreplace) %{_sysconfdir}/ipa/nssdb/cert9.db
|
|
|
|
|
%ghost %config(noreplace) %{_sysconfdir}/ipa/nssdb/key4.db
|
|
|
|
|
%ghost %config(noreplace) %{_sysconfdir}/ipa/nssdb/pkcs11.txt
|
2015-11-26 10:52:07 +01:00
|
|
|
%ghost %config(noreplace) %{_sysconfdir}/ipa/nssdb/pwdfile.txt
|
|
|
|
|
%ghost %config(noreplace) %{_sysconfdir}/pki/ca-trust/source/ipa.p11-kit
|
2009-02-02 13:50:53 -05:00
|
|
|
%dir %{_localstatedir}/lib/ipa-client
|
2017-05-03 06:48:57 +00:00
|
|
|
%dir %{_localstatedir}/lib/ipa-client/pki
|
2009-02-02 13:50:53 -05:00
|
|
|
%dir %{_localstatedir}/lib/ipa-client/sysrestore
|
2016-11-04 13:36:45 +01:00
|
|
|
%{_mandir}/man5/default.conf.5*
|
2018-05-02 12:39:32 -04:00
|
|
|
%{_usr}/share/ipa/freeipa.template
|
2009-02-02 13:50:53 -05:00
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
|
|
|
|
%files python-compat
|
|
|
|
|
%defattr(-,root,root,-)
|
2017-02-28 19:04:03 +01:00
|
|
|
%doc README.md Contributors.txt
|
2015-12-07 13:52:38 +01:00
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python2-ipalib
|
2009-02-02 13:50:53 -05:00
|
|
|
%defattr(-,root,root,-)
|
2017-02-28 19:04:03 +01:00
|
|
|
%doc README.md Contributors.txt
|
2015-08-17 10:14:05 -04:00
|
|
|
%license COPYING
|
2009-02-05 15:03:08 -05:00
|
|
|
%dir %{python_sitelib}/ipapython
|
|
|
|
|
%{python_sitelib}/ipapython/*.py*
|
2015-06-02 12:04:25 +00:00
|
|
|
%dir %{python_sitelib}/ipapython/install
|
|
|
|
|
%{python_sitelib}/ipapython/install/*.py*
|
2011-01-05 15:51:56 -05:00
|
|
|
%dir %{python_sitelib}/ipalib
|
2016-11-09 12:44:22 +01:00
|
|
|
%{python_sitelib}/ipalib/*.py*
|
|
|
|
|
%dir %{python_sitelib}/ipalib/install
|
|
|
|
|
%{python_sitelib}/ipalib/install/*.py*
|
2014-06-02 07:50:12 +02:00
|
|
|
%dir %{python_sitelib}/ipaplatform
|
2014-06-19 15:09:37 +02:00
|
|
|
%{python_sitelib}/ipaplatform/*
|
2009-02-05 15:03:08 -05:00
|
|
|
%{python_sitelib}/ipapython-*.egg-info
|
2015-11-03 16:39:40 +01:00
|
|
|
%{python_sitelib}/ipalib-*.egg-info
|
2014-09-17 11:49:51 +02:00
|
|
|
%{python_sitelib}/ipaplatform-*.egg-info
|
2017-10-11 12:09:30 +02:00
|
|
|
%{python_sitelib}/ipaplatform-*-nspkg.pth
|
2009-02-02 13:50:53 -05:00
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
|
|
|
|
%files common -f %{gettext_domain}.lang
|
|
|
|
|
%defattr(-,root,root,-)
|
2017-02-28 19:04:03 +01:00
|
|
|
%doc README.md Contributors.txt
|
2015-12-07 13:52:38 +01:00
|
|
|
%license COPYING
|
2018-05-02 12:39:32 -04:00
|
|
|
%dir %{_usr}/share/ipa
|
2015-12-07 13:52:38 +01:00
|
|
|
|
|
|
|
|
|
2015-11-03 16:39:40 +01:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
|
|
|
|
|
%files -n python3-ipalib
|
|
|
|
|
%defattr(-,root,root,-)
|
2017-02-28 19:04:03 +01:00
|
|
|
%doc README.md Contributors.txt
|
2015-11-03 16:39:40 +01:00
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
|
|
%{python3_sitelib}/ipapython/
|
|
|
|
|
%{python3_sitelib}/ipalib/
|
|
|
|
|
%{python3_sitelib}/ipaplatform/
|
|
|
|
|
%{python3_sitelib}/ipapython-*.egg-info
|
|
|
|
|
%{python3_sitelib}/ipalib-*.egg-info
|
|
|
|
|
%{python3_sitelib}/ipaplatform-*.egg-info
|
2017-10-11 12:09:30 +02:00
|
|
|
%{python3_sitelib}/ipaplatform-*-nspkg.pth
|
2015-11-03 16:39:40 +01:00
|
|
|
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
2017-03-15 09:30:14 +01:00
|
|
|
%if 0%{?with_ipatests}
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2016-11-24 17:35:24 +01:00
|
|
|
%files -n python2-ipatests
|
2013-05-21 13:40:27 +02:00
|
|
|
%defattr(-,root,root,-)
|
2017-02-28 19:04:03 +01:00
|
|
|
%doc README.md Contributors.txt
|
2015-08-17 10:14:05 -04:00
|
|
|
%license COPYING
|
2016-11-24 17:35:24 +01:00
|
|
|
%{python_sitelib}/ipatests
|
|
|
|
|
%{python_sitelib}/ipatests-*.egg-info
|
2013-05-22 11:08:10 +02:00
|
|
|
%{_bindir}/ipa-run-tests
|
2013-05-24 19:55:21 +02:00
|
|
|
%{_bindir}/ipa-test-config
|
2013-06-27 10:47:58 +02:00
|
|
|
%{_bindir}/ipa-test-task
|
2015-11-03 16:39:40 +01:00
|
|
|
%{_bindir}/ipa-run-tests-2
|
|
|
|
|
%{_bindir}/ipa-test-config-2
|
|
|
|
|
%{_bindir}/ipa-test-task-2
|
|
|
|
|
%{_bindir}/ipa-run-tests-%{python2_version}
|
|
|
|
|
%{_bindir}/ipa-test-config-%{python2_version}
|
|
|
|
|
%{_bindir}/ipa-test-task-%{python2_version}
|
2016-11-04 13:36:45 +01:00
|
|
|
%{_mandir}/man1/ipa-run-tests.1*
|
|
|
|
|
%{_mandir}/man1/ipa-test-config.1*
|
|
|
|
|
%{_mandir}/man1/ipa-test-task.1*
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2015-11-03 16:39:40 +01:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
|
|
|
|
|
%files -n python3-ipatests
|
|
|
|
|
%defattr(-,root,root,-)
|
2017-02-28 19:04:03 +01:00
|
|
|
%doc README.md Contributors.txt
|
2015-11-03 16:39:40 +01:00
|
|
|
%license COPYING
|
2016-11-24 17:35:24 +01:00
|
|
|
%{python3_sitelib}/ipatests
|
|
|
|
|
%{python3_sitelib}/ipatests-*.egg-info
|
2015-11-03 16:39:40 +01:00
|
|
|
%{_bindir}/ipa-run-tests-3
|
|
|
|
|
%{_bindir}/ipa-test-config-3
|
|
|
|
|
%{_bindir}/ipa-test-task-3
|
|
|
|
|
%{_bindir}/ipa-run-tests-%{python3_version}
|
|
|
|
|
%{_bindir}/ipa-test-config-%{python3_version}
|
|
|
|
|
%{_bindir}/ipa-test-task-%{python3_version}
|
|
|
|
|
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
2017-03-15 09:30:14 +01:00
|
|
|
%endif # with_ipatests
|
2013-05-21 13:40:27 +02:00
|
|
|
|
2015-12-07 13:52:38 +01:00
|
|
|
|
2009-02-02 13:50:53 -05:00
|
|
|
%changelog
|
2016-10-21 22:35:28 +02:00
|
|
|
* Tue Nov 26 2013 Petr Viktorin <pviktori@redhat.com> - @VERSION@-@VENDOR_SUFFIX@
|
2013-11-26 13:06:07 +01:00
|
|
|
- Remove changelog. The history is kept in Git, downstreams have own logs.
|
|
|
|
|
# note, this entry is here to placate tools that expect a non-empty changelog
|