2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
Name: pki-core
|
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%global product_name IDM PKI
|
|
|
|
%global product_id idm-pki
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} Package
|
2021-03-30 10:37:36 +00:00
|
|
|
URL: https://www.dogtagpki.org
|
2019-08-01 00:45:25 +00:00
|
|
|
# The entire source code is GPLv2 except for 'pki-tps' which is LGPLv2
|
|
|
|
License: GPLv2 and LGPLv2
|
|
|
|
|
2021-03-30 10:37:36 +00:00
|
|
|
# For development (i.e. unsupported) releases, use x.y.z-0.n.<phase>.
|
|
|
|
# For official (i.e. supported) releases, use x.y.z-r where r >=1.
|
2023-03-28 12:29:48 +00:00
|
|
|
%global release_number 1
|
|
|
|
Version: 10.14.3
|
|
|
|
Release: %{?release_number}%{?_timestamp}%{?_commit_id}%{?dist}
|
|
|
|
#global _phase
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
# To create a tarball from a version tag:
|
|
|
|
# $ git archive \
|
|
|
|
# --format=tar.gz \
|
|
|
|
# --prefix pki-<version>/ \
|
|
|
|
# -o pki-<version>.tar.gz \
|
|
|
|
# <version tag>
|
|
|
|
Source: https://github.com/dogtagpki/pki/archive/v%{version}%{?_phase}/pki-%{version}%{?_phase}.tar.gz
|
|
|
|
|
|
|
|
# To create a patch for all changes since a version tag:
|
|
|
|
# $ git format-patch \
|
|
|
|
# --stdout \
|
|
|
|
# <version tag> \
|
|
|
|
# > pki-VERSION-RELEASE.patch
|
|
|
|
# Patch: pki-VERSION-RELEASE.patch
|
2022-03-29 17:34:44 +00:00
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
# md2man isn't available on i686. Additionally, we aren't generally multi-lib
|
|
|
|
# compatible (https://fedoraproject.org/wiki/Packaging:Java)
|
2022-09-27 13:48:41 +00:00
|
|
|
# md2man has now also been dropped in RHEL 8 so exlcude from RHEL 8+
|
|
|
|
%if ! 0%{?rhel} || 0%{?rhel} >= 8
|
2021-10-06 04:32:07 +00:00
|
|
|
ExcludeArch: i686
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# NSS
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
%global nss_default_db_type sql
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# Python
|
|
|
|
################################################################################
|
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 8
|
2020-07-28 13:21:19 +00:00
|
|
|
%global python_executable /usr/libexec/platform-python
|
2019-08-01 00:45:25 +00:00
|
|
|
%else
|
2020-07-28 13:21:19 +00:00
|
|
|
%global python_executable /usr/bin/python3
|
2019-08-01 00:45:25 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# Java
|
|
|
|
################################################################################
|
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
%if 0%{?fedora} && 0%{?fedora} <= 32 || 0%{?rhel} && 0%{?rhel} <= 8
|
|
|
|
%define java_devel java-1.8.0-openjdk-devel
|
|
|
|
%define java_headless java-1.8.0-openjdk-headless
|
|
|
|
%define java_home /usr/lib/jvm/jre-1.8.0-openjdk
|
2021-03-30 10:37:36 +00:00
|
|
|
%else
|
2021-10-06 04:32:07 +00:00
|
|
|
%define java_devel java-11-openjdk-devel
|
|
|
|
%define java_headless java-11-openjdk-headless
|
|
|
|
%define java_home /usr/lib/jvm/jre-11-openjdk
|
2021-03-30 10:37:36 +00:00
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# RESTEasy
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
%define jaxrs_api_jar /usr/share/java/jboss-jaxrs-2.0-api.jar
|
|
|
|
%define resteasy_lib /usr/share/java/resteasy
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# PKI
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# By default the build will execute unit tests unless --without test
|
|
|
|
# option is specified.
|
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
%bcond_without test
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
# By default all packages will be built except the ones specified with
|
|
|
|
# --without <package> option (exclusion method).
|
|
|
|
|
|
|
|
# If --with pkgs option is specified, only packages specified with
|
|
|
|
# --with <package> will be built (inclusion method).
|
|
|
|
|
|
|
|
# bcond_with pkgs
|
|
|
|
%global with_pkgs 1
|
|
|
|
|
|
|
|
# Define package_option macro to wrap bcond_with or bcond_without macro
|
|
|
|
# depending on package selection method.
|
|
|
|
|
|
|
|
%if %{with pkgs}
|
|
|
|
%define package_option() %bcond_with %1
|
|
|
|
%else
|
|
|
|
%define package_option() %bcond_without %1
|
2020-07-28 13:21:19 +00:00
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
# Define --with <package> or --without <package> options depending on
|
|
|
|
# package selection method.
|
|
|
|
|
|
|
|
# package_option base
|
|
|
|
%global with_base 1
|
|
|
|
# package_option server
|
|
|
|
%global with_server 1
|
2021-03-30 10:37:36 +00:00
|
|
|
# package_option acme
|
|
|
|
%global with_acme 1
|
2019-08-01 00:45:25 +00:00
|
|
|
# package_option ca
|
|
|
|
%global with_ca 1
|
|
|
|
# package_option kra
|
|
|
|
%global with_kra 1
|
|
|
|
# package_option ocsp
|
|
|
|
# package_option tks
|
|
|
|
# package_option tps
|
|
|
|
# package_option javadoc
|
|
|
|
# package_option console
|
|
|
|
# package_option theme
|
|
|
|
# package_option meta
|
2020-07-28 13:21:19 +00:00
|
|
|
# package_option tests
|
2019-08-01 00:45:25 +00:00
|
|
|
# package_option debug
|
|
|
|
%global with_debug 1
|
|
|
|
|
|
|
|
%if ! %{with debug}
|
|
|
|
%define debug_package %{nil}
|
2020-01-21 23:17:51 +00:00
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
# ignore unpackaged files from native 'tpsclient'
|
|
|
|
# REMINDER: Remove this '%%define' once 'tpsclient' is rewritten as a Java app
|
|
|
|
%define _unpackaged_files_terminate_build 0
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# The PKI UID and GID are preallocated, see:
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=476316
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=476782
|
|
|
|
# https://pagure.io/setup/blob/master/f/uidgid
|
|
|
|
# /usr/share/doc/setup/uidgid
|
2019-08-01 00:45:25 +00:00
|
|
|
%define pki_username pkiuser
|
|
|
|
%define pki_uid 17
|
|
|
|
%define pki_groupname pkiuser
|
|
|
|
%define pki_gid 17
|
|
|
|
%define pki_homedir /usr/share/pki
|
|
|
|
|
|
|
|
%global saveFileContext() \
|
|
|
|
if [ -s /etc/selinux/config ]; then \
|
|
|
|
. %{_sysconfdir}/selinux/config; \
|
|
|
|
FILE_CONTEXT=%{_sysconfdir}/selinux/%1/contexts/files/file_contexts; \
|
|
|
|
if [ "${SELINUXTYPE}" == %1 -a -f ${FILE_CONTEXT} ]; then \
|
|
|
|
cp -f ${FILE_CONTEXT} ${FILE_CONTEXT}.%{name}; \
|
|
|
|
fi \
|
|
|
|
fi;
|
|
|
|
|
|
|
|
%global relabel() \
|
|
|
|
. %{_sysconfdir}/selinux/config; \
|
|
|
|
FILE_CONTEXT=%{_sysconfdir}/selinux/%1/contexts/files/file_contexts; \
|
|
|
|
selinuxenabled; \
|
|
|
|
if [ $? == 0 -a "${SELINUXTYPE}" == %1 -a -f ${FILE_CONTEXT}.%{name} ]; then \
|
|
|
|
fixfiles -C ${FILE_CONTEXT}.%{name} restore; \
|
|
|
|
rm -f ${FILE_CONTEXT}.%name; \
|
|
|
|
fi;
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# Build Dependencies
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
BuildRequires: make
|
2020-07-28 13:21:19 +00:00
|
|
|
BuildRequires: cmake >= 3.0.2
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: zip
|
2021-10-06 04:32:07 +00:00
|
|
|
BuildRequires: %{java_devel}
|
2021-03-30 10:37:36 +00:00
|
|
|
BuildRequires: javapackages-tools
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildRequires: redhat-rpm-config
|
2021-10-06 04:32:07 +00:00
|
|
|
BuildRequires: ldapjdk >= 4.23.0, ldapjdk < 5.0.0
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildRequires: apache-commons-cli
|
|
|
|
BuildRequires: apache-commons-codec
|
|
|
|
BuildRequires: apache-commons-io
|
2021-03-30 10:37:36 +00:00
|
|
|
BuildRequires: apache-commons-lang3 >= 3.2
|
2021-10-06 04:32:07 +00:00
|
|
|
BuildRequires: apache-commons-logging
|
2020-07-28 13:21:19 +00:00
|
|
|
BuildRequires: apache-commons-net
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildRequires: glassfish-jaxb-api
|
|
|
|
BuildRequires: slf4j
|
|
|
|
BuildRequires: slf4j-jdk14
|
|
|
|
BuildRequires: nspr-devel
|
|
|
|
BuildRequires: nss-devel >= 3.36.1
|
|
|
|
|
|
|
|
BuildRequires: openldap-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: policycoreutils
|
|
|
|
|
|
|
|
BuildRequires: python3-lxml
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
|
|
|
BuildRequires: xalan-j2
|
|
|
|
BuildRequires: xerces-j2
|
|
|
|
|
|
|
|
BuildRequires: resteasy >= 3.0.26
|
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
BuildRequires: python3 >= 3.5
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildRequires: python3-devel
|
2020-07-28 13:21:19 +00:00
|
|
|
BuildRequires: python3-setuptools
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildRequires: python3-cryptography
|
|
|
|
BuildRequires: python3-lxml
|
|
|
|
BuildRequires: python3-ldap
|
|
|
|
BuildRequires: python3-libselinux
|
|
|
|
BuildRequires: python3-requests >= 2.6.0
|
|
|
|
BuildRequires: python3-six
|
2020-01-21 23:17:51 +00:00
|
|
|
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildRequires: junit
|
|
|
|
BuildRequires: jpackage-utils >= 0:1.7.5-10
|
2021-10-06 04:32:07 +00:00
|
|
|
BuildRequires: jss >= 4.9.0, jss < 5.0.0
|
|
|
|
BuildRequires: tomcatjss >= 7.7.0, tomcatjss < 8.0.0
|
2021-03-30 10:37:36 +00:00
|
|
|
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildRequires: systemd-units
|
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
%if 0%{?rhel} && ! 0%{?eln}
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildRequires: pki-servlet-engine
|
|
|
|
%else
|
|
|
|
BuildRequires: tomcat >= 1:9.0.7
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# additional build requirements needed to build native 'tpsclient'
|
|
|
|
# REMINDER: Revisit these once 'tpsclient' is rewritten as a Java app
|
|
|
|
BuildRequires: apr-devel
|
|
|
|
BuildRequires: apr-util-devel
|
|
|
|
BuildRequires: cyrus-sasl-devel
|
|
|
|
BuildRequires: httpd-devel >= 2.4.2
|
|
|
|
BuildRequires: pcre-devel
|
|
|
|
BuildRequires: systemd
|
|
|
|
BuildRequires: zlib
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
|
|
# build dependency to build man pages
|
2021-10-06 04:32:07 +00:00
|
|
|
%if 0%{?fedora} && 0%{?fedora} <= 30 || 0%{?rhel} && 0%{?rhel} <= 8
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildRequires: go-md2man
|
2020-01-21 23:17:51 +00:00
|
|
|
%else
|
|
|
|
BuildRequires: golang-github-cpuguy83-md2man
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
# pki-healthcheck depends on the following library
|
|
|
|
%if 0%{?rhel}
|
|
|
|
BuildRequires: ipa-healthcheck-core
|
|
|
|
%else
|
|
|
|
BuildRequires: freeipa-healthcheck-core
|
|
|
|
%endif
|
|
|
|
|
2019-08-01 00:45:25 +00:00
|
|
|
# PKICertImport depends on certutil and openssl
|
|
|
|
BuildRequires: nss-tools
|
|
|
|
BuildRequires: openssl
|
|
|
|
|
|
|
|
# description for top-level package (if there is a separate meta package)
|
2022-09-27 13:48:41 +00:00
|
|
|
%if "%{name}" != "%{product_id}"
|
2019-08-01 00:45:25 +00:00
|
|
|
%description
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%{product_name} is an enterprise software system designed
|
2019-08-01 00:45:25 +00:00
|
|
|
to manage enterprise Public Key Infrastructure deployments.
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%{product_name} consists of the following components:
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2021-03-30 10:37:36 +00:00
|
|
|
* Automatic Certificate Management Environment (ACME) Responder
|
2019-08-01 00:45:25 +00:00
|
|
|
* Certificate Authority (CA)
|
|
|
|
* Key Recovery Authority (KRA)
|
|
|
|
* Online Certificate Status Protocol (OCSP) Manager
|
|
|
|
* Token Key Service (TKS)
|
|
|
|
* Token Processing Service (TPS)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with meta}
|
2022-09-27 13:48:41 +00:00
|
|
|
%if "%{name}" != "%{product_id}"
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} Package
|
2019-08-01 00:45:25 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
# Make certain that this 'meta' package requires the latest version(s)
|
|
|
|
# of ALL PKI theme packages
|
2022-09-27 13:48:41 +00:00
|
|
|
Requires: %{product_id}-server-theme = %{version}-%{release}
|
|
|
|
Requires: %{product_id}-console-theme = %{version}-%{release}
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
# Make certain that this 'meta' package requires the latest version(s)
|
|
|
|
# of ALL PKI core packages
|
2022-09-27 13:48:41 +00:00
|
|
|
Requires: %{product_id}-acme = %{version}-%{release}
|
|
|
|
Requires: %{product_id}-ca = %{version}-%{release}
|
|
|
|
Requires: %{product_id}-kra = %{version}-%{release}
|
|
|
|
Requires: %{product_id}-ocsp = %{version}-%{release}
|
|
|
|
Requires: %{product_id}-tks = %{version}-%{release}
|
|
|
|
Requires: %{product_id}-tps = %{version}-%{release}
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
# Make certain that this 'meta' package requires the latest version(s)
|
|
|
|
# of PKI console
|
2022-09-27 13:48:41 +00:00
|
|
|
Requires: %{product_id}-console = %{version}-%{release}
|
|
|
|
Requires: %{product_id}-javadoc = %{version}-%{release}
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
# Make certain that this 'meta' package requires the latest version(s)
|
2021-10-06 04:32:07 +00:00
|
|
|
# of ALL PKI clients -- except for s390/s390x where 'esc' is not built
|
|
|
|
%ifnarch s390 s390x
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires: esc >= 1.1.1
|
2021-10-06 04:32:07 +00:00
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
# description for top-level package (unless there is a separate meta package)
|
2022-09-27 13:48:41 +00:00
|
|
|
%if "%{name}" == "%{product_id}"
|
2019-08-01 00:45:25 +00:00
|
|
|
%description
|
|
|
|
%else
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n %{product_id}
|
2019-08-01 00:45:25 +00:00
|
|
|
%endif
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%{product_name} is an enterprise software system designed
|
2019-08-01 00:45:25 +00:00
|
|
|
to manage enterprise Public Key Infrastructure deployments.
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%{product_name} consists of the following components:
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2021-03-30 10:37:36 +00:00
|
|
|
* Automatic Certificate Management Environment (ACME) Responder
|
2019-08-01 00:45:25 +00:00
|
|
|
* Certificate Authority (CA)
|
|
|
|
* Key Recovery Authority (KRA)
|
|
|
|
* Online Certificate Status Protocol (OCSP) Manager
|
|
|
|
* Token Key Service (TKS)
|
|
|
|
* Token Processing Service (TPS)
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with meta
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with base}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}-symkey
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} Symmetric Key Package
|
|
|
|
|
|
|
|
Obsoletes: pki-symkey < %{version}-%{release}
|
|
|
|
Provides: pki-symkey = %{version}-%{release}
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
Requires: %{java_headless}
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires: jpackage-utils >= 0:1.7.5-10
|
2021-10-06 04:32:07 +00:00
|
|
|
Requires: jss >= 4.9.0, jss < 5.0.0
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires: nss >= 3.38.0
|
|
|
|
|
|
|
|
# Ensure we end up with a useful installation
|
|
|
|
Conflicts: pki-symkey < %{version}
|
|
|
|
Conflicts: pki-javadoc < %{version}
|
|
|
|
Conflicts: pki-server-theme < %{version}
|
|
|
|
Conflicts: pki-console-theme < %{version}
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n %{product_id}-symkey
|
|
|
|
This package provides library for symmetric key operations.
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}-base
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} Base Package
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2022-03-29 17:34:44 +00:00
|
|
|
Obsoletes: pki-base < %{version}-%{release}
|
|
|
|
Provides: pki-base = %{version}-%{release}
|
|
|
|
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires: nss >= 3.36.1
|
2020-01-21 23:17:51 +00:00
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
Requires: python3-pki = %{version}-%{release}
|
|
|
|
Requires(post): python3-pki = %{version}-%{release}
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
# Ensure we end up with a useful installation
|
|
|
|
Conflicts: pki-symkey < %{version}
|
|
|
|
Conflicts: pki-javadoc < %{version}
|
|
|
|
Conflicts: pki-server-theme < %{version}
|
|
|
|
Conflicts: pki-console-theme < %{version}
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n %{product_id}-base
|
|
|
|
This package provides default configuration files for %{product_name} client.
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n python3-%{product_id}
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} Python 3 Package
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Obsoletes: python3-pki < %{version}-%{release}
|
|
|
|
Provides: python3-pki = %{version}-%{release}
|
|
|
|
|
|
|
|
Obsoletes: pki-base-python3 < %{version}-%{release}
|
2021-10-06 04:32:07 +00:00
|
|
|
Provides: pki-base-python3 = %{version}-%{release}
|
2022-03-29 17:34:44 +00:00
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 8
|
2019-08-01 00:45:25 +00:00
|
|
|
%{?python_provide:%python_provide python3-pki}
|
|
|
|
%endif
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Requires: %{product_id}-base = %{version}-%{release}
|
2020-07-28 13:21:19 +00:00
|
|
|
Requires: python3 >= 3.5
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires: python3-cryptography
|
2021-03-30 10:37:36 +00:00
|
|
|
Requires: python3-ldap
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires: python3-lxml
|
|
|
|
Requires: python3-requests >= 2.6.0
|
|
|
|
Requires: python3-six
|
2021-10-06 04:32:07 +00:00
|
|
|
%if 0%{?rhel} < 9 || 0%{?fedora} < 34
|
|
|
|
Recommends: python3-nss
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n python3-%{product_id}
|
|
|
|
This package provides common and client library for Python 3.
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}-base-java
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} Base Java Package
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2022-03-29 17:34:44 +00:00
|
|
|
Obsoletes: pki-base-java < %{version}-%{release}
|
|
|
|
Provides: pki-base-java = %{version}-%{release}
|
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
Requires: %{java_headless}
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires: apache-commons-cli
|
|
|
|
Requires: apache-commons-codec
|
|
|
|
Requires: apache-commons-io
|
2021-03-30 10:37:36 +00:00
|
|
|
Requires: apache-commons-lang3 >= 3.2
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires: apache-commons-logging
|
2020-07-28 13:21:19 +00:00
|
|
|
Requires: apache-commons-net
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires: glassfish-jaxb-api
|
|
|
|
Requires: slf4j
|
|
|
|
Requires: slf4j-jdk14
|
|
|
|
Requires: jpackage-utils >= 0:1.7.5-10
|
2021-10-06 04:32:07 +00:00
|
|
|
Requires: jss >= 4.9.0, jss < 5.0.0
|
|
|
|
Requires: ldapjdk >= 4.23.0, ldapjdk < 5.0.0
|
2022-09-27 13:48:41 +00:00
|
|
|
Requires: %{product_id}-base = %{version}-%{release}
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 8
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires: resteasy >= 3.0.26
|
|
|
|
%else
|
|
|
|
Requires: resteasy-client >= 3.0.17-1
|
|
|
|
Requires: resteasy-jaxb-provider >= 3.0.17-1
|
|
|
|
Requires: resteasy-core >= 3.0.17-1
|
|
|
|
Requires: resteasy-jackson2-provider >= 3.0.17-1
|
|
|
|
%endif
|
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
%if 0%{?fedora} >= 33 || 0%{?rhel} > 8
|
2021-03-30 10:37:36 +00:00
|
|
|
Requires: jaxb-impl >= 2.3.3
|
|
|
|
Requires: jakarta-activation >= 1.2.2
|
|
|
|
%endif
|
|
|
|
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires: xalan-j2
|
|
|
|
Requires: xerces-j2
|
|
|
|
Requires: xml-commons-apis
|
|
|
|
Requires: xml-commons-resolver
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n %{product_id}-base-java
|
|
|
|
This package provides common and client libraries for Java.
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}-tools
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} Tools Package
|
|
|
|
|
|
|
|
Obsoletes: pki-tools < %{version}-%{release}
|
|
|
|
Provides: pki-tools = %{version}-%{release}
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
Requires: openldap-clients
|
|
|
|
Requires: nss-tools >= 3.36.1
|
2022-09-27 13:48:41 +00:00
|
|
|
Requires: %{product_id}-base-java = %{version}-%{release}
|
2020-01-21 23:17:51 +00:00
|
|
|
Requires: p11-kit-trust
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
# PKICertImport depends on certutil and openssl
|
|
|
|
Requires: nss-tools
|
|
|
|
Requires: openssl
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n %{product_id}-tools
|
|
|
|
This package provides tools that can be used to help make
|
|
|
|
%{product_name} into a more complete and robust PKI solution.
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with base
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with server}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}-server
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} Server Package
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2022-03-29 17:34:44 +00:00
|
|
|
Obsoletes: pki-server < %{version}-%{release}
|
|
|
|
Provides: pki-server = %{version}-%{release}
|
|
|
|
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires: hostname
|
|
|
|
|
|
|
|
Requires: policycoreutils
|
|
|
|
Requires: procps-ng
|
|
|
|
Requires: openldap-clients
|
|
|
|
Requires: openssl
|
2022-09-27 13:48:41 +00:00
|
|
|
Requires: %{product_id}-symkey = %{version}-%{release}
|
|
|
|
Requires: %{product_id}-tools = %{version}-%{release}
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
Requires: keyutils
|
|
|
|
|
|
|
|
Requires: policycoreutils-python-utils
|
|
|
|
|
|
|
|
Requires: python3-lxml
|
|
|
|
Requires: python3-libselinux
|
|
|
|
Requires: python3-policycoreutils
|
|
|
|
|
|
|
|
Requires: selinux-policy-targeted >= 3.13.1-159
|
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
%if 0%{?rhel} && ! 0%{?eln}
|
|
|
|
Requires: pki-servlet-engine
|
2019-08-01 00:45:25 +00:00
|
|
|
%else
|
|
|
|
Requires: tomcat >= 1:9.0.7
|
|
|
|
%endif
|
|
|
|
|
2021-03-30 10:37:36 +00:00
|
|
|
Requires: sudo
|
|
|
|
Requires: systemd
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
Requires(pre): shadow-utils
|
2021-10-06 04:32:07 +00:00
|
|
|
Requires: tomcatjss >= 7.7.0, tomcatjss < 8.0.0
|
2020-07-28 13:21:19 +00:00
|
|
|
|
|
|
|
# pki-healthcheck depends on the following library
|
|
|
|
%if 0%{?rhel}
|
|
|
|
Requires: ipa-healthcheck-core
|
2019-08-01 00:45:25 +00:00
|
|
|
%else
|
2020-07-28 13:21:19 +00:00
|
|
|
Requires: freeipa-healthcheck-core
|
2019-08-01 00:45:25 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
# https://pagure.io/freeipa/issue/7742
|
|
|
|
%if 0%{?rhel}
|
|
|
|
Conflicts: ipa-server < 4.7.1
|
|
|
|
%else
|
|
|
|
Conflicts: freeipa-server < 4.7.1
|
|
|
|
%endif
|
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
Provides: bundled(js-backbone) = 1.4.0
|
|
|
|
Provides: bundled(js-bootstrap) = 3.4.1
|
|
|
|
Provides: bundled(js-jquery) = 3.5.1
|
|
|
|
Provides: bundled(js-jquery-i18n-properties) = 1.2.7
|
|
|
|
Provides: bundled(js-patternfly) = 3.59.2
|
|
|
|
Provides: bundled(js-underscore) = 1.9.2
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n %{product_id}-server
|
|
|
|
This package provides libraries and utilities needed by %{product_name} services.
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with server
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2021-03-30 10:37:36 +00:00
|
|
|
%if %{with acme}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}-acme
|
2021-03-30 10:37:36 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} ACME Package
|
2021-03-30 10:37:36 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Obsoletes: pki-acme < %{version}-%{release}
|
|
|
|
Provides: pki-acme = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: %{product_id}-server = %{version}-%{release}
|
2021-03-30 10:37:36 +00:00
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n %{product_id}-acme
|
|
|
|
%{product_name} ACME responder is a service that provides an automatic certificate
|
2021-03-30 10:37:36 +00:00
|
|
|
management via ACME v2 protocol defined in RFC 8555.
|
|
|
|
|
|
|
|
# with acme
|
|
|
|
%endif
|
|
|
|
|
2019-08-01 00:45:25 +00:00
|
|
|
%if %{with ca}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}-ca
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} CA Package
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Obsoletes: pki-ca < %{version}-%{release}
|
|
|
|
Provides: pki-ca = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: %{product_id}-server = %{version}-%{release}
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n %{product_id}-ca
|
|
|
|
%{product_name} Certificate Authority (CA) is a required subsystem which issues,
|
2019-08-01 00:45:25 +00:00
|
|
|
renews, revokes, and publishes certificates as well as compiling and
|
|
|
|
publishing Certificate Revocation Lists (CRLs).
|
|
|
|
|
|
|
|
The Certificate Authority can be configured as a self-signing Certificate
|
|
|
|
Authority, where it is the root CA, or it can act as a subordinate CA,
|
|
|
|
where it obtains its own signing certificate from a public CA.
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with ca
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with kra}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}-kra
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} KRA Package
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Obsoletes: pki-kra < %{version}-%{release}
|
|
|
|
Provides: pki-kra = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: %{product_id}-server = %{version}-%{release}
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n %{product_id}-kra
|
|
|
|
%{product_name} Key Recovery Authority (KRA) is an optional subsystem that can act
|
2019-08-01 00:45:25 +00:00
|
|
|
as a key archival facility. When configured in conjunction with the
|
|
|
|
Certificate Authority (CA), the KRA stores private encryption keys as part of
|
|
|
|
the certificate enrollment process. The key archival mechanism is triggered
|
|
|
|
when a user enrolls in the PKI and creates the certificate request. Using the
|
|
|
|
Certificate Request Message Format (CRMF) request format, a request is
|
|
|
|
generated for the user's private encryption key. This key is then stored in
|
|
|
|
the KRA which is configured to store keys in an encrypted format that can only
|
|
|
|
be decrypted by several agents requesting the key at one time, providing for
|
|
|
|
protection of the public encryption keys for the users in the PKI deployment.
|
|
|
|
|
|
|
|
Note that the KRA archives encryption keys; it does NOT archive signing keys,
|
|
|
|
since such archival would undermine non-repudiation properties of signing keys.
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with kra
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with ocsp}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}-ocsp
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} OCSP Package
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Obsoletes: pki-ocsp < %{version}-%{release}
|
|
|
|
Provides: pki-ocsp = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: %{product_id}-server = %{version}-%{release}
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n %{product_id}-ocsp
|
|
|
|
%{product_name} Online Certificate Status Protocol (OCSP) Manager is an optional
|
2019-08-01 00:45:25 +00:00
|
|
|
subsystem that can act as a stand-alone OCSP service. The OCSP Manager
|
|
|
|
performs the task of an online certificate validation authority by enabling
|
|
|
|
OCSP-compliant clients to do real-time verification of certificates. Note
|
|
|
|
that an online certificate-validation authority is often referred to as an
|
|
|
|
OCSP Responder.
|
|
|
|
|
|
|
|
Although the Certificate Authority (CA) is already configured with an
|
|
|
|
internal OCSP service. An external OCSP Responder is offered as a separate
|
|
|
|
subsystem in case the user wants the OCSP service provided outside of a
|
|
|
|
firewall while the CA resides inside of a firewall, or to take the load of
|
|
|
|
requests off of the CA.
|
|
|
|
|
|
|
|
The OCSP Manager can receive Certificate Revocation Lists (CRLs) from
|
|
|
|
multiple CA servers, and clients can query the OCSP Manager for the
|
|
|
|
revocation status of certificates issued by all of these CA servers.
|
|
|
|
|
|
|
|
When an instance of OCSP Manager is set up with an instance of CA, and
|
|
|
|
publishing is set up to this OCSP Manager, CRLs are published to it
|
|
|
|
whenever they are issued or updated.
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with ocsp
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with tks}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}-tks
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} TKS Package
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Obsoletes: pki-tks < %{version}-%{release}
|
|
|
|
Provides: pki-tks = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: %{product_id}-server = %{version}-%{release}
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n %{product_id}-tks
|
|
|
|
%{product_name} Token Key Service (TKS) is an optional subsystem that manages the
|
2019-08-01 00:45:25 +00:00
|
|
|
master key(s) and the transport key(s) required to generate and distribute
|
|
|
|
keys for hardware tokens. TKS provides the security between tokens and an
|
|
|
|
instance of Token Processing System (TPS), where the security relies upon the
|
|
|
|
relationship between the master key and the token keys. A TPS communicates
|
|
|
|
with a TKS over SSL using client authentication.
|
|
|
|
|
|
|
|
TKS helps establish a secure channel (signed and encrypted) between the token
|
|
|
|
and the TPS, provides proof of presence of the security token during
|
|
|
|
enrollment, and supports key changeover when the master key changes on the
|
|
|
|
TKS. Tokens with older keys will get new token keys.
|
|
|
|
|
|
|
|
Because of the sensitivity of the data that TKS manages, TKS should be set up
|
|
|
|
behind the firewall with restricted access.
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with tks
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with tps}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}-tps
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} TPS Package
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Obsoletes: pki-tps < %{version}-%{release}
|
|
|
|
Provides: pki-tps = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: %{product_id}-server = %{version}-%{release}
|
2019-08-01 00:45:25 +00:00
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
|
|
|
|
# additional runtime requirements needed to run native 'tpsclient'
|
|
|
|
# REMINDER: Revisit these once 'tpsclient' is rewritten as a Java app
|
|
|
|
|
|
|
|
Requires: nss-tools >= 3.36.1
|
|
|
|
Requires: openldap-clients
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n %{product_id}-tps
|
|
|
|
%{product_name} Token Processing System (TPS) is an optional subsystem that acts
|
2019-08-01 00:45:25 +00:00
|
|
|
as a Registration Authority (RA) for authenticating and processing
|
|
|
|
enrollment requests, PIN reset requests, and formatting requests from
|
|
|
|
the Enterprise Security Client (ESC).
|
|
|
|
|
|
|
|
TPS is designed to communicate with tokens that conform to
|
|
|
|
Global Platform's Open Platform Specification.
|
|
|
|
|
|
|
|
TPS communicates over SSL with various PKI backend subsystems (including
|
|
|
|
the Certificate Authority (CA), the Key Recovery Authority (KRA), and the
|
|
|
|
Token Key Service (TKS)) to fulfill the user's requests.
|
|
|
|
|
|
|
|
TPS also interacts with the token database, an LDAP server that stores
|
|
|
|
information about individual tokens.
|
|
|
|
|
|
|
|
The utility "tpsclient" is a test tool that interacts with TPS. This
|
|
|
|
tool is useful to test TPS server configs without risking an actual
|
|
|
|
smart card.
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with tps
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with javadoc}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}-javadoc
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} Javadoc Package
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2022-03-29 17:34:44 +00:00
|
|
|
Obsoletes: pki-javadoc < %{version}-%{release}
|
|
|
|
Provides: pki-javadoc = %{version}-%{release}
|
|
|
|
|
2019-08-01 00:45:25 +00:00
|
|
|
# Ensure we end up with a useful installation
|
|
|
|
Conflicts: pki-base < %{version}
|
|
|
|
Conflicts: pki-symkey < %{version}
|
|
|
|
Conflicts: pki-server-theme < %{version}
|
|
|
|
Conflicts: pki-console-theme < %{version}
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n %{product_id}-javadoc
|
|
|
|
This package provides %{product_name} API documentation.
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with javadoc
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with console}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}-console
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} Console Package
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2022-03-29 17:34:44 +00:00
|
|
|
Obsoletes: pki-console < %{version}-%{release}
|
|
|
|
Provides: pki-console = %{version}-%{release}
|
|
|
|
|
2023-03-28 12:29:48 +00:00
|
|
|
BuildRequires: idm-console-framework >= 1.2.0, idm-console-framework < 2.0.0
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2023-03-28 12:29:48 +00:00
|
|
|
Requires: idm-console-framework >= 1.2.0, idm-console-framework < 2.0.0
|
2022-09-27 13:48:41 +00:00
|
|
|
Requires: %{product_id}-base-java = %{version}-%{release}
|
|
|
|
Requires: %{product_id}-console-theme = %{version}-%{release}
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n %{product_id}-console
|
|
|
|
%{product_name} Console is a Java application used to administer %{product_name} Server.
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with console
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with theme}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}-server-theme
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} Server Theme Package
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2022-03-29 17:34:44 +00:00
|
|
|
Obsoletes: pki-server-theme < %{version}-%{release}
|
2021-10-06 04:32:07 +00:00
|
|
|
Provides: pki-server-theme = %{version}-%{release}
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
# Ensure we end up with a useful installation
|
|
|
|
Conflicts: pki-base < %{version}
|
|
|
|
Conflicts: pki-symkey < %{version}
|
|
|
|
Conflicts: pki-console-theme < %{version}
|
|
|
|
Conflicts: pki-javadoc < %{version}
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n %{product_id}-server-theme
|
|
|
|
This package provides theme files for %{product_name} Server.
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}-console-theme
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} Console Theme Package
|
2019-08-01 00:45:25 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2022-03-29 17:34:44 +00:00
|
|
|
Obsoletes: pki-console-theme < %{version}-%{release}
|
2021-10-06 04:32:07 +00:00
|
|
|
Provides: pki-console-theme = %{version}-%{release}
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
# Ensure we end up with a useful installation
|
|
|
|
Conflicts: pki-base < %{version}
|
|
|
|
Conflicts: pki-symkey < %{version}
|
|
|
|
Conflicts: pki-server-theme < %{version}
|
|
|
|
Conflicts: pki-javadoc < %{version}
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%description -n %{product_id}-console-theme
|
|
|
|
This package provides theme files for %{product_name} Console.
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with theme
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
%if %{with tests}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%package -n %{product_id}-tests
|
2020-07-28 13:21:19 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Summary: %{product_name} Tests
|
2020-07-28 13:21:19 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
Obsoletes: pki-tests < %{version}-%{release}
|
|
|
|
Provides: pki-tests = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: python3-pylint
|
|
|
|
Requires: python3-flake8
|
|
|
|
|
|
|
|
%description -n %{product_id}-tests
|
|
|
|
This package provides test suite for %{product_name}.
|
2020-07-28 13:21:19 +00:00
|
|
|
|
|
|
|
# with tests
|
|
|
|
%endif
|
|
|
|
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
%prep
|
|
|
|
################################################################################
|
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
%autosetup -n pki-%{version}%{?_phase} -p 1
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
%build
|
|
|
|
################################################################################
|
|
|
|
|
2021-03-30 10:37:36 +00:00
|
|
|
# get Java <major>.<minor> version number
|
|
|
|
java_version=`%{java_home}/bin/java -XshowSettings:properties -version 2>&1 | sed -n 's/ *java.version *= *\([0-9]\+\.[0-9]\+\).*/\1/p'`
|
|
|
|
|
|
|
|
# if <major> == 1, get <minor> version number
|
|
|
|
# otherwise get <major> version number
|
|
|
|
java_version=`echo $java_version | sed -e 's/^1\.//' -e 's/\..*$//'`
|
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
# assume tomcat app_server
|
|
|
|
app_server=tomcat-9.0
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 8
|
2019-08-01 00:45:25 +00:00
|
|
|
%{__mkdir_p} build
|
|
|
|
cd build
|
2021-03-30 10:37:36 +00:00
|
|
|
%endif
|
|
|
|
|
2019-08-01 00:45:25 +00:00
|
|
|
%cmake \
|
|
|
|
--no-warn-unused-cli \
|
|
|
|
-DVERSION=%{version}-%{release} \
|
|
|
|
-DVAR_INSTALL_DIR:PATH=/var \
|
2020-01-21 23:17:51 +00:00
|
|
|
-DP11_KIT_TRUST=/etc/alternatives/libnssckbi.so.%{_arch} \
|
2021-03-30 10:37:36 +00:00
|
|
|
-DJAVA_VERSION=${java_version} \
|
2021-10-06 04:32:07 +00:00
|
|
|
-DJAVA_HOME=%{java_home} \
|
|
|
|
-DPKI_JAVA_PATH=%{java_home}/bin/java \
|
2019-08-01 00:45:25 +00:00
|
|
|
-DJAVA_LIB_INSTALL_DIR=%{_jnidir} \
|
|
|
|
-DSYSTEMD_LIB_INSTALL_DIR=%{_unitdir} \
|
|
|
|
-DAPP_SERVER=$app_server \
|
|
|
|
-DJAXRS_API_JAR=%{jaxrs_api_jar} \
|
|
|
|
-DRESTEASY_LIB=%{resteasy_lib} \
|
|
|
|
-DNSS_DEFAULT_DB_TYPE=%{nss_default_db_type} \
|
|
|
|
-DBUILD_PKI_CORE:BOOL=ON \
|
2020-07-28 13:21:19 +00:00
|
|
|
-DPYTHON_EXECUTABLE=%{python_executable} \
|
2021-03-30 10:37:36 +00:00
|
|
|
%if ! %{with server} && ! %{with acme} && ! %{with ca} && ! %{with kra} && ! %{with ocsp} && ! %{with tks} && ! %{with tps}
|
2019-08-01 00:45:25 +00:00
|
|
|
-DWITH_SERVER:BOOL=OFF \
|
|
|
|
%endif
|
2021-03-30 10:37:36 +00:00
|
|
|
-DWITH_CA:BOOL=%{?with_ca:ON}%{!?with_ca:OFF} \
|
|
|
|
-DWITH_KRA:BOOL=%{?with_kra:ON}%{!?with_kra:OFF} \
|
|
|
|
-DWITH_OCSP:BOOL=%{?with_ocsp:ON}%{!?with_ocsp:OFF} \
|
|
|
|
-DWITH_TKS:BOOL=%{?with_tks:ON}%{!?with_tks:OFF} \
|
|
|
|
-DWITH_TPS:BOOL=%{?with_tps:ON}%{!?with_tps:OFF} \
|
|
|
|
-DWITH_ACME:BOOL=%{?with_acme:ON}%{!?with_acme:OFF} \
|
2019-08-01 00:45:25 +00:00
|
|
|
-DWITH_JAVADOC:BOOL=%{?with_javadoc:ON}%{!?with_javadoc:OFF} \
|
2021-03-30 10:37:36 +00:00
|
|
|
-DWITH_TEST:BOOL=%{?with_test:ON}%{!?with_test:OFF} \
|
2019-08-01 00:45:25 +00:00
|
|
|
-DBUILD_PKI_CONSOLE:BOOL=%{?with_console:ON}%{!?with_console:OFF} \
|
2022-09-27 13:48:41 +00:00
|
|
|
-DTHEME=%{?with_theme:%{theme}} \
|
2021-10-06 04:32:07 +00:00
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 8
|
2019-08-01 00:45:25 +00:00
|
|
|
..
|
2021-03-30 10:37:36 +00:00
|
|
|
%else
|
|
|
|
-B %{_vpath_builddir}
|
|
|
|
%endif
|
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 8
|
2021-03-30 10:37:36 +00:00
|
|
|
cd %{_vpath_builddir}
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
# Do not use _smp_mflags to preserve build order
|
|
|
|
%{__make} \
|
|
|
|
VERBOSE=%{?_verbose} \
|
|
|
|
CMAKE_NO_VERBOSE=1 \
|
|
|
|
DESTDIR=%{buildroot} \
|
|
|
|
INSTALL="install -p" \
|
|
|
|
--no-print-directory \
|
|
|
|
all
|
|
|
|
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
%install
|
|
|
|
################################################################################
|
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 8
|
2019-08-01 00:45:25 +00:00
|
|
|
cd build
|
2021-03-30 10:37:36 +00:00
|
|
|
%else
|
|
|
|
cd %{_vpath_builddir}
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%{__make} \
|
|
|
|
VERBOSE=%{?_verbose} \
|
|
|
|
CMAKE_NO_VERBOSE=1 \
|
|
|
|
DESTDIR=%{buildroot} \
|
|
|
|
INSTALL="install -p" \
|
|
|
|
--no-print-directory \
|
2020-07-28 13:21:19 +00:00
|
|
|
install
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
%if %{with test}
|
2019-08-01 00:45:25 +00:00
|
|
|
ctest --output-on-failure
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with meta}
|
|
|
|
%{__mkdir_p} %{buildroot}%{_datadir}/doc/pki
|
|
|
|
|
|
|
|
cat > %{buildroot}%{_datadir}/doc/pki/README << EOF
|
|
|
|
This package is a "meta-package" whose dependencies pull in all of the
|
2022-09-27 13:48:41 +00:00
|
|
|
packages comprising the %{product_name} Suite.
|
2019-08-01 00:45:25 +00:00
|
|
|
EOF
|
2020-01-21 23:17:51 +00:00
|
|
|
|
|
|
|
# with meta
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
# Customize client library links in /usr/share/pki/lib
|
2020-07-28 13:21:19 +00:00
|
|
|
ln -sf /usr/share/java/jboss-logging/jboss-logging.jar %{buildroot}%{_datadir}/pki/lib/jboss-logging.jar
|
2021-10-06 04:32:07 +00:00
|
|
|
%if 0%{?fedora} && 0%{?fedora} <= 34 || 0%{?rhel} && 0%{?rhel} <= 8
|
2020-07-28 13:21:19 +00:00
|
|
|
ln -sf /usr/share/java/jboss-annotations-1.2-api/jboss-annotations-api_1.2_spec.jar %{buildroot}%{_datadir}/pki/lib/jboss-annotations-api_1.2_spec.jar
|
2021-10-06 04:32:07 +00:00
|
|
|
%else
|
|
|
|
ln -sf /usr/share/java/jakarta-annotations/jakarta.annotation-api.jar %{buildroot}%{_datadir}/pki/lib/jakarta.annotation-api.jar
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with server}
|
|
|
|
|
|
|
|
# Customize server common library links in /usr/share/pki/server/common/lib
|
2020-07-28 13:21:19 +00:00
|
|
|
ln -sf %{jaxrs_api_jar} %{buildroot}%{_datadir}/pki/server/common/lib/jboss-jaxrs-2.0-api.jar
|
|
|
|
ln -sf /usr/share/java/jboss-logging/jboss-logging.jar %{buildroot}%{_datadir}/pki/server/common/lib/jboss-logging.jar
|
2021-10-06 04:32:07 +00:00
|
|
|
%if 0%{?fedora} && 0%{?fedora} <= 34 || 0%{?rhel} && 0%{?rhel} <= 8
|
2020-07-28 13:21:19 +00:00
|
|
|
ln -sf /usr/share/java/jboss-annotations-1.2-api/jboss-annotations-api_1.2_spec.jar %{buildroot}%{_datadir}/pki/server/common/lib/jboss-annotations-api_1.2_spec.jar
|
2021-10-06 04:32:07 +00:00
|
|
|
%else
|
|
|
|
ln -sf /usr/share/java/jakarta-annotations/jakarta.annotation-api.jar %{buildroot}%{_datadir}/pki/server/common/lib/jakarta.annotation-api.jar
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with server
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with server}
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%pre -n %{product_id}-server
|
2019-08-01 00:45:25 +00:00
|
|
|
getent group %{pki_groupname} >/dev/null || groupadd -f -g %{pki_gid} -r %{pki_groupname}
|
|
|
|
if ! getent passwd %{pki_username} >/dev/null ; then
|
2020-01-21 23:17:51 +00:00
|
|
|
useradd -r -u %{pki_uid} -g %{pki_groupname} -d %{pki_homedir} -s /sbin/nologin -c "Certificate System" %{pki_username}
|
2019-08-01 00:45:25 +00:00
|
|
|
fi
|
|
|
|
exit 0
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with server
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with base}
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%post -n %{product_id}-base
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
if [ $1 -eq 1 ]
|
|
|
|
then
|
|
|
|
# On RPM installation create system upgrade tracker
|
|
|
|
echo "Configuration-Version: %{version}" > %{_sysconfdir}/pki/pki.version
|
|
|
|
|
|
|
|
else
|
|
|
|
# On RPM upgrade run system upgrade
|
2020-07-28 13:21:19 +00:00
|
|
|
echo "Upgrading PKI system configuration at `/bin/date`." >> /var/log/pki/pki-upgrade-%{version}.log
|
|
|
|
/sbin/pki-upgrade 2>&1 | tee -a /var/log/pki/pki-upgrade-%{version}.log
|
|
|
|
echo >> /var/log/pki/pki-upgrade-%{version}.log
|
2019-08-01 00:45:25 +00:00
|
|
|
fi
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%postun -n %{product_id}-base
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
if [ $1 -eq 0 ]
|
|
|
|
then
|
|
|
|
# On RPM uninstallation remove system upgrade tracker
|
|
|
|
rm -f %{_sysconfdir}/pki/pki.version
|
|
|
|
fi
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with base
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with server}
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%post -n %{product_id}-server
|
2021-10-06 04:32:07 +00:00
|
|
|
# CVE-2021-3551
|
|
|
|
# Remove world access from existing installation logs
|
|
|
|
find /var/log/pki -maxdepth 1 -type f -exec chmod o-rwx {} \;
|
|
|
|
|
2019-08-01 00:45:25 +00:00
|
|
|
# Reload systemd daemons on upgrade only
|
|
|
|
if [ "$1" == "2" ]
|
|
|
|
then
|
|
|
|
systemctl daemon-reload
|
|
|
|
fi
|
|
|
|
|
|
|
|
## preun -n pki-server
|
|
|
|
## NOTE: At this time, NO attempt has been made to update ANY PKI subsystem
|
|
|
|
## from EITHER 'sysVinit' OR previous 'systemd' processes to the new
|
|
|
|
## PKI deployment process
|
|
|
|
|
|
|
|
|
|
|
|
## postun -n pki-server
|
|
|
|
## NOTE: At this time, NO attempt has been made to update ANY PKI subsystem
|
|
|
|
## from EITHER 'sysVinit' OR previous 'systemd' processes to the new
|
|
|
|
## PKI deployment process
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with server
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with meta}
|
2022-09-27 13:48:41 +00:00
|
|
|
%if "%{name}" != "%{product_id}"
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
%else
|
|
|
|
%files
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%doc %{_datadir}/doc/pki/README
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with meta
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with base}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}-symkey
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
%license base/symkey/LICENSE
|
2019-08-01 00:45:25 +00:00
|
|
|
%{_jnidir}/symkey.jar
|
|
|
|
%{_libdir}/symkey/
|
|
|
|
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}-base
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
%license base/common/LICENSE
|
|
|
|
%license base/common/LICENSE.LESSER
|
2019-08-01 00:45:25 +00:00
|
|
|
%doc %{_datadir}/doc/pki-base/html
|
|
|
|
%dir %{_datadir}/pki
|
|
|
|
%{_datadir}/pki/VERSION
|
2020-01-21 23:17:51 +00:00
|
|
|
%{_datadir}/pki/pom.xml
|
2019-08-01 00:45:25 +00:00
|
|
|
%dir %{_datadir}/pki/etc
|
|
|
|
%{_datadir}/pki/etc/pki.conf
|
|
|
|
%{_datadir}/pki/etc/logging.properties
|
2020-01-21 23:17:51 +00:00
|
|
|
%dir %{_datadir}/pki/lib
|
2019-08-01 00:45:25 +00:00
|
|
|
%dir %{_datadir}/pki/scripts
|
|
|
|
%{_datadir}/pki/scripts/config
|
|
|
|
%{_datadir}/pki/upgrade/
|
|
|
|
%{_datadir}/pki/key/templates
|
|
|
|
%dir %{_sysconfdir}/pki
|
|
|
|
%config(noreplace) %{_sysconfdir}/pki/pki.conf
|
|
|
|
%dir %{_localstatedir}/log/pki
|
|
|
|
%{_sbindir}/pki-upgrade
|
|
|
|
%{_mandir}/man1/pki-python-client.1.gz
|
|
|
|
%{_mandir}/man5/pki-logging.5.gz
|
|
|
|
%{_mandir}/man8/pki-upgrade.8.gz
|
|
|
|
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}-base-java
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
%license base/common/LICENSE
|
|
|
|
%license base/common/LICENSE.LESSER
|
2019-08-01 00:45:25 +00:00
|
|
|
%{_datadir}/pki/examples/java/
|
2020-01-21 23:17:51 +00:00
|
|
|
%{_datadir}/pki/lib/*.jar
|
2019-08-01 00:45:25 +00:00
|
|
|
%dir %{_javadir}/pki
|
|
|
|
%{_javadir}/pki/pki-cmsutil.jar
|
|
|
|
%{_javadir}/pki/pki-certsrv.jar
|
|
|
|
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n python3-%{product_id}
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
%license base/common/LICENSE
|
|
|
|
%license base/common/LICENSE.LESSER
|
|
|
|
%if %{with server}
|
2019-08-01 00:45:25 +00:00
|
|
|
%exclude %{python3_sitelib}/pki/server
|
|
|
|
%endif
|
|
|
|
%{python3_sitelib}/pki
|
2020-01-21 23:17:51 +00:00
|
|
|
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}-tools
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2021-03-30 10:37:36 +00:00
|
|
|
%license base/tools/LICENSE
|
|
|
|
%doc base/tools/doc/README
|
2019-08-01 00:45:25 +00:00
|
|
|
%{_bindir}/p7tool
|
2022-03-29 17:34:44 +00:00
|
|
|
%{_bindir}/p12tool
|
2020-01-21 23:17:51 +00:00
|
|
|
%{_bindir}/pistool
|
|
|
|
%{_bindir}/pki
|
2019-08-01 00:45:25 +00:00
|
|
|
%{_bindir}/revoker
|
|
|
|
%{_bindir}/setpin
|
|
|
|
%{_bindir}/sslget
|
|
|
|
%{_bindir}/tkstool
|
|
|
|
%{_bindir}/AtoB
|
|
|
|
%{_bindir}/AuditVerify
|
|
|
|
%{_bindir}/BtoA
|
|
|
|
%{_bindir}/CMCEnroll
|
|
|
|
%{_bindir}/CMCRequest
|
|
|
|
%{_bindir}/CMCResponse
|
|
|
|
%{_bindir}/CMCRevoke
|
|
|
|
%{_bindir}/CMCSharedToken
|
|
|
|
%{_bindir}/CRMFPopClient
|
|
|
|
%{_bindir}/DRMTool
|
|
|
|
%{_bindir}/ExtJoiner
|
|
|
|
%{_bindir}/GenExtKeyUsage
|
|
|
|
%{_bindir}/GenIssuerAltNameExt
|
|
|
|
%{_bindir}/GenSubjectAltNameExt
|
|
|
|
%{_bindir}/HttpClient
|
|
|
|
%{_bindir}/KRATool
|
|
|
|
%{_bindir}/OCSPClient
|
|
|
|
%{_bindir}/PKCS10Client
|
|
|
|
%{_bindir}/PKCS12Export
|
|
|
|
%{_bindir}/PKICertImport
|
|
|
|
%{_bindir}/PrettyPrintCert
|
|
|
|
%{_bindir}/PrettyPrintCrl
|
|
|
|
%{_bindir}/TokenInfo
|
|
|
|
%{_javadir}/pki/pki-tools.jar
|
2021-03-30 10:37:36 +00:00
|
|
|
%{_datadir}/pki/tools/
|
2020-01-21 23:17:51 +00:00
|
|
|
%{_datadir}/pki/lib/p11-kit-trust.so
|
2019-08-01 00:45:25 +00:00
|
|
|
%{_mandir}/man1/AtoB.1.gz
|
|
|
|
%{_mandir}/man1/AuditVerify.1.gz
|
|
|
|
%{_mandir}/man1/BtoA.1.gz
|
|
|
|
%{_mandir}/man1/CMCEnroll.1.gz
|
|
|
|
%{_mandir}/man1/CMCRequest.1.gz
|
|
|
|
%{_mandir}/man1/CMCSharedToken.1.gz
|
|
|
|
%{_mandir}/man1/CMCResponse.1.gz
|
|
|
|
%{_mandir}/man1/DRMTool.1.gz
|
|
|
|
%{_mandir}/man1/KRATool.1.gz
|
|
|
|
%{_mandir}/man1/PrettyPrintCert.1.gz
|
|
|
|
%{_mandir}/man1/PrettyPrintCrl.1.gz
|
|
|
|
%{_mandir}/man1/pki.1.gz
|
|
|
|
%{_mandir}/man1/pki-audit.1.gz
|
|
|
|
%{_mandir}/man1/pki-ca-cert.1.gz
|
|
|
|
%{_mandir}/man1/pki-ca-kraconnector.1.gz
|
|
|
|
%{_mandir}/man1/pki-ca-profile.1.gz
|
|
|
|
%{_mandir}/man1/pki-client.1.gz
|
|
|
|
%{_mandir}/man1/pki-group.1.gz
|
|
|
|
%{_mandir}/man1/pki-group-member.1.gz
|
|
|
|
%{_mandir}/man1/pki-kra-key.1.gz
|
|
|
|
%{_mandir}/man1/pki-pkcs12-cert.1.gz
|
|
|
|
%{_mandir}/man1/pki-pkcs12-key.1.gz
|
|
|
|
%{_mandir}/man1/pki-pkcs12.1.gz
|
|
|
|
%{_mandir}/man1/pki-securitydomain.1.gz
|
|
|
|
%{_mandir}/man1/pki-tps-profile.1.gz
|
|
|
|
%{_mandir}/man1/pki-user.1.gz
|
|
|
|
%{_mandir}/man1/pki-user-cert.1.gz
|
|
|
|
%{_mandir}/man1/pki-user-membership.1.gz
|
|
|
|
%{_mandir}/man1/PKCS10Client.1.gz
|
|
|
|
%{_mandir}/man1/PKICertImport.1.gz
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with base
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with server}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}-server
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
%license base/common/THIRD_PARTY_LICENSES
|
|
|
|
%license base/server/LICENSE
|
2019-08-01 00:45:25 +00:00
|
|
|
%doc base/server/README
|
|
|
|
%attr(755,-,-) %dir %{_sysconfdir}/sysconfig/pki
|
|
|
|
%attr(755,-,-) %dir %{_sysconfdir}/sysconfig/pki/tomcat
|
|
|
|
%{_sbindir}/pkispawn
|
|
|
|
%{_sbindir}/pkidestroy
|
|
|
|
%{_sbindir}/pki-server
|
|
|
|
%{_sbindir}/pki-server-upgrade
|
2020-07-28 13:21:19 +00:00
|
|
|
%{_sbindir}/pki-healthcheck
|
2021-10-06 04:32:07 +00:00
|
|
|
%{python3_sitelib}/pki/server/
|
2020-07-28 13:21:19 +00:00
|
|
|
%{python3_sitelib}/pkihealthcheck-*.egg-info/
|
|
|
|
%config(noreplace) %{_sysconfdir}/pki/healthcheck.conf
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%{_datadir}/pki/etc/tomcat.conf
|
|
|
|
%dir %{_datadir}/pki/deployment
|
|
|
|
%{_datadir}/pki/deployment/config/
|
|
|
|
%{_datadir}/pki/scripts/operations
|
|
|
|
%{_bindir}/pkidaemon
|
|
|
|
%{_bindir}/pki-server-nuxwdog
|
|
|
|
%dir %{_sysconfdir}/systemd/system/pki-tomcatd.target.wants
|
|
|
|
%attr(644,-,-) %{_unitdir}/pki-tomcatd@.service
|
|
|
|
%attr(644,-,-) %{_unitdir}/pki-tomcatd.target
|
|
|
|
%dir %{_sysconfdir}/systemd/system/pki-tomcatd-nuxwdog.target.wants
|
|
|
|
%attr(644,-,-) %{_unitdir}/pki-tomcatd-nuxwdog@.service
|
|
|
|
%attr(644,-,-) %{_unitdir}/pki-tomcatd-nuxwdog.target
|
|
|
|
%{_javadir}/pki/pki-cms.jar
|
|
|
|
%{_javadir}/pki/pki-cmsbundle.jar
|
|
|
|
%{_javadir}/pki/pki-tomcat.jar
|
|
|
|
%dir %{_sharedstatedir}/pki
|
|
|
|
%{_mandir}/man1/pkidaemon.1.gz
|
|
|
|
%{_mandir}/man5/pki_default.cfg.5.gz
|
2021-03-30 10:37:36 +00:00
|
|
|
%{_mandir}/man5/pki_healthcheck.conf.5.gz
|
2019-08-01 00:45:25 +00:00
|
|
|
%{_mandir}/man5/pki-server-logging.5.gz
|
|
|
|
%{_mandir}/man8/pki-server-upgrade.8.gz
|
|
|
|
%{_mandir}/man8/pkidestroy.8.gz
|
|
|
|
%{_mandir}/man8/pkispawn.8.gz
|
|
|
|
%{_mandir}/man8/pki-server.8.gz
|
2020-07-28 13:21:19 +00:00
|
|
|
%{_mandir}/man8/pki-server-acme.8.gz
|
2019-08-01 00:45:25 +00:00
|
|
|
%{_mandir}/man8/pki-server-instance.8.gz
|
|
|
|
%{_mandir}/man8/pki-server-subsystem.8.gz
|
|
|
|
%{_mandir}/man8/pki-server-nuxwdog.8.gz
|
|
|
|
%{_mandir}/man8/pki-server-migrate.8.gz
|
|
|
|
%{_mandir}/man8/pki-server-cert.8.gz
|
|
|
|
%{_mandir}/man8/pki-server-ca.8.gz
|
|
|
|
%{_mandir}/man8/pki-server-kra.8.gz
|
|
|
|
%{_mandir}/man8/pki-server-ocsp.8.gz
|
|
|
|
%{_mandir}/man8/pki-server-tks.8.gz
|
|
|
|
%{_mandir}/man8/pki-server-tps.8.gz
|
2020-07-28 13:21:19 +00:00
|
|
|
%{_mandir}/man8/pki-healthcheck.8.gz
|
2019-08-01 00:45:25 +00:00
|
|
|
%{_datadir}/pki/setup/
|
|
|
|
%{_datadir}/pki/server/
|
2021-03-30 10:37:36 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with server
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2021-03-30 10:37:36 +00:00
|
|
|
%if %{with acme}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}-acme
|
2021-03-30 10:37:36 +00:00
|
|
|
################################################################################
|
|
|
|
|
|
|
|
%{_javadir}/pki/pki-acme.jar
|
|
|
|
%{_datadir}/pki/acme/
|
|
|
|
|
|
|
|
# with acme
|
|
|
|
%endif
|
|
|
|
|
2019-08-01 00:45:25 +00:00
|
|
|
%if %{with ca}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}-ca
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
%license base/ca/LICENSE
|
2019-08-01 00:45:25 +00:00
|
|
|
%{_javadir}/pki/pki-ca.jar
|
2021-03-30 10:37:36 +00:00
|
|
|
%{_datadir}/pki/ca/
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with ca
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with kra}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}-kra
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
%license base/kra/LICENSE
|
2019-08-01 00:45:25 +00:00
|
|
|
%{_javadir}/pki/pki-kra.jar
|
2021-03-30 10:37:36 +00:00
|
|
|
%{_datadir}/pki/kra/
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with kra
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with ocsp}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}-ocsp
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
%license base/ocsp/LICENSE
|
2019-08-01 00:45:25 +00:00
|
|
|
%{_javadir}/pki/pki-ocsp.jar
|
2021-03-30 10:37:36 +00:00
|
|
|
%{_datadir}/pki/ocsp/
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with ocsp
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with tks}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}-tks
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
%license base/tks/LICENSE
|
2019-08-01 00:45:25 +00:00
|
|
|
%{_javadir}/pki/pki-tks.jar
|
2021-03-30 10:37:36 +00:00
|
|
|
%{_datadir}/pki/tks/
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with tks
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with tps}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}-tps
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
%license base/tps/LICENSE
|
2019-08-01 00:45:25 +00:00
|
|
|
%{_javadir}/pki/pki-tps.jar
|
2021-03-30 10:37:36 +00:00
|
|
|
%{_datadir}/pki/tps/
|
2019-08-01 00:45:25 +00:00
|
|
|
%{_mandir}/man5/pki-tps-connector.5.gz
|
|
|
|
%{_mandir}/man5/pki-tps-profile.5.gz
|
|
|
|
%{_mandir}/man1/tpsclient.1.gz
|
|
|
|
|
|
|
|
# files for native 'tpsclient'
|
|
|
|
# REMINDER: Remove this comment once 'tpsclient' is rewritten as a Java app
|
|
|
|
|
|
|
|
%{_bindir}/tpsclient
|
|
|
|
%{_libdir}/tps/libtps.so
|
|
|
|
%{_libdir}/tps/libtokendb.so
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with tps
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with javadoc}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}-javadoc
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
|
|
|
%{_javadocdir}/pki-%{version}/
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with javadoc
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with console}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}-console
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
%license base/console/LICENSE
|
2019-08-01 00:45:25 +00:00
|
|
|
%{_bindir}/pkiconsole
|
|
|
|
%{_javadir}/pki/pki-console.jar
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with console
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
%if %{with theme}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}-server-theme
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%license themes/%{theme}/common-ui/LICENSE
|
2019-08-01 00:45:25 +00:00
|
|
|
%dir %{_datadir}/pki
|
|
|
|
%{_datadir}/pki/CS_SERVER_VERSION
|
|
|
|
%{_datadir}/pki/common-ui/
|
|
|
|
%{_datadir}/pki/server/webapps/pki/ca
|
|
|
|
%{_datadir}/pki/server/webapps/pki/css
|
|
|
|
%{_datadir}/pki/server/webapps/pki/esc
|
|
|
|
%{_datadir}/pki/server/webapps/pki/fonts
|
|
|
|
%{_datadir}/pki/server/webapps/pki/images
|
|
|
|
%{_datadir}/pki/server/webapps/pki/kra
|
|
|
|
%{_datadir}/pki/server/webapps/pki/ocsp
|
|
|
|
%{_datadir}/pki/server/webapps/pki/pki.properties
|
|
|
|
%{_datadir}/pki/server/webapps/pki/tks
|
|
|
|
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}-console-theme
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
%license themes/%{theme}/console-ui/LICENSE
|
2019-08-01 00:45:25 +00:00
|
|
|
%{_javadir}/pki/pki-console-theme.jar
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
# with theme
|
|
|
|
%endif
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
%if %{with tests}
|
|
|
|
################################################################################
|
2022-09-27 13:48:41 +00:00
|
|
|
%files -n %{product_id}-tests
|
2020-07-28 13:21:19 +00:00
|
|
|
################################################################################
|
|
|
|
|
|
|
|
%{_datadir}/pki/tests/
|
|
|
|
|
|
|
|
# with tests
|
|
|
|
%endif
|
|
|
|
|
2019-08-01 00:45:25 +00:00
|
|
|
################################################################################
|
|
|
|
%changelog
|
2023-03-28 12:29:48 +00:00
|
|
|
* Fri Feb 03 2023 Red Hat PKI Team <rhcs-maint@redhat.com> 10.14.3-1
|
|
|
|
- Rebase to PKI 10.14.3
|
|
|
|
- Bug 1959057 - An error has ocorred (IPA Error 4301:CertificateOperationError)
|
|
|
|
- Bug 2016164 - IdM Install fails on RHEL 8.5 Beta when DISA STIG is applied
|
|
|
|
- Bug 2022561 - ipa-healthcheck CADogtagCertsConfigCheck fail to process the scenario of renewed IPA CA certificates ( ipa get_cert_from_db() )
|
|
|
|
|
|
|
|
* Tue Nov 29 2022 Red Hat PKI Team <rhcs-maint@redhat.com> 10.14.2-1
|
|
|
|
- Rebase to PKI 10.14.2
|
|
|
|
- Bug 2149253 - Rebase to upstream version v2.14.2
|
|
|
|
|
2022-09-27 13:48:41 +00:00
|
|
|
* Mon Jul 25 2022 Red Hat PKI Team <rhcs-maint@redhat.com> 10.12.0-4
|
|
|
|
- Bug 2107334 - CVE-2022-2414 access to external entities when parsing XML can lead to XXE
|
|
|
|
- Rename packages to idm-pki
|
|
|
|
|
|
|
|
* Wed Jun 01 2022 Red Hat PKI Team <rhcs-maint@redhat.com> 10.12.0-3
|
|
|
|
- ExcludeArch i686 as md2man not available in RHEL 8.7
|
|
|
|
|
2022-03-29 17:34:44 +00:00
|
|
|
* Thu Feb 03 2022 Red Hat PKI Team <rhcs-maint@redhat.com> 10.12.0-2
|
|
|
|
- Bug 2027470 - pki-healthcheck ClonesConnectivyAndDataCheck fails
|
|
|
|
|
|
|
|
* Tue Nov 09 2021 Red Hat PKI Team <rhcs-maint@redhat.com> 10.12.0-0.1
|
|
|
|
- Rebase to PKI 10.12.0
|
|
|
|
- Bug 1904112 - pki fails to start if empty dir /var/lib/pki/pki-tomcat/kra exists
|
|
|
|
- Bug 1984455 - [RFE] Date Format on the TPS Agent Page
|
|
|
|
- Bug 1980378 - 'keyctl_search: Required key not available' message when running 'ipa-healthcheck'
|
|
|
|
- Bug 2004084 - Reinstall of the same ipa-replica fails with 'RuntimeError: CA configuration failed.'
|
|
|
|
- Bug 2006070 - Upgrades incorrectly add secret attribute to connectors
|
|
|
|
|
2021-10-06 04:32:07 +00:00
|
|
|
* Thu Aug 12 2021 Red Hat PKI Team <rhcs-maint@redhat.com> 10.11.0-2
|
|
|
|
- Bug 1992337 - Double issuance of non-CA subsystem certs at installation
|
|
|
|
|
|
|
|
* Mon Jul 26 2021 Red Hat PKI Team <rhcs-maint@redhat.com> 10.11.0-1
|
|
|
|
- Rebase to PKI 10.11.0
|
|
|
|
|
|
|
|
* Mon Jun 14 2021 Red Hat PKI Team <rhcs-maint@redhat.com> 10.11.0-0.3
|
|
|
|
- Rebase to PKI 10.11.0-alpha3
|
|
|
|
|
|
|
|
* Thu Jun 03 2021 Red Hat PKI Team <rhcs-maint@redhat.com> 10.11.0-0.2
|
|
|
|
- Fix JAVA_HOME
|
|
|
|
|
|
|
|
* Wed Jun 02 2021 Red Hat PKI Team <rhcs-maint@redhat.com> 10.11.0-0.1
|
|
|
|
- Rebase to PKI 10.11.0-alpha2
|
|
|
|
|
2021-03-30 10:37:36 +00:00
|
|
|
* Mon Feb 08 2021 Red Hat PKI Team <rhcs-maint@redhat.com> 10.10.4-1
|
|
|
|
- Rebase to PKI 10.10.4
|
|
|
|
- Bug 1664435 - Error instantiating class for challenge_password with SCEP request
|
|
|
|
- Bug 1912418 - OCSP and TKS cloning failed due to duplicate replica ID
|
|
|
|
- Bug 1916686 - Memory leak during ACME performance test
|
|
|
|
- Bug 1919282 - ACME cert enrollment failed with HTTP 500
|
|
|
|
|
|
|
|
* Thu Jan 14 2021 Red Hat PKI Team <rhcs-maint@redhat.com> 10.10.3-1
|
|
|
|
- Rebase to PKI 10.10.3
|
|
|
|
- Bug 1584550 - CRMFPopClient: unexpected behavior with -y option when values are specified
|
|
|
|
- Bug 1590942 - CMCResponse treats -d as optional
|
|
|
|
- Bug 1890639 - Two-step installation with external certificates fails on HSM configured system
|
|
|
|
- Bug 1912493 - pkispawn reports incorrect FIPS mode
|
|
|
|
|
|
|
|
* Tue Dec 08 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.10.2-1
|
|
|
|
- Rebase to PKI 10.10.2
|
|
|
|
- Bug 1392616 - KRA key recovery cli kra-key-retrieve generates an invalid p12 file
|
|
|
|
- Bug 1897120 - pki-server cert-fix command failing
|
|
|
|
- Bug 1694664 - ipa: ERROR: Certificate operation cannot be completed: Unable to communicate with CMS (503)
|
|
|
|
|
|
|
|
* Tue Nov 17 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.10.1-1
|
|
|
|
- Rebase to PKI 10.10.1
|
|
|
|
- Bug 1843416 - kra-audit-mod fail with Invalid event configuration
|
|
|
|
- Bug 1889691 - ACME failed when run with more than 1 thread/connection
|
|
|
|
- Bug 1891577 - Sub-ordinate installation is failing with NullPointerException
|
|
|
|
|
|
|
|
* Wed Oct 28 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.10.0-1
|
|
|
|
- Rebase to PKI 10.10.0
|
|
|
|
- Add workaround for missing capture_output in Python 3.6
|
|
|
|
- Fix JSS initialization in pki-server <subsystem>-user-cert-add
|
|
|
|
- Fix NPE in UGSubsystem.findUsersByKeyword()
|
|
|
|
- Bug 1787115 - Need Method to copy SKI from CSR to Certificate signed
|
|
|
|
- Bug 1875563 - Add KRA Transport and Storage Certificates profiles, audit for IPA
|
|
|
|
- Bug 1883996 - Inconsistent folders in pki-tools
|
|
|
|
|
|
|
|
* Tue Oct 20 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.10.0-0.2.beta1
|
|
|
|
- Rebase to PKI 10.10.0-beta1
|
|
|
|
- Bug 1868233 - Disabling AIA and cert policy extensions in ACME examples
|
|
|
|
|
|
|
|
* Fri Sep 11 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.4-1
|
|
|
|
- Rebase to PKI 10.9.4
|
|
|
|
- Bug 1873235 - Fix SSL_ERROR_INAPPROPRIATE_FALLBACK_ALERT in pki ca-user-cert-add
|
|
|
|
|
|
|
|
* Thu Sep 03 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.3-1
|
|
|
|
- Rebase to PKI 10.9.3
|
|
|
|
- Bug 1869893 - Common certificates are missing in CS.cfg on shared PKI instance
|
|
|
|
|
|
|
|
* Tue Aug 18 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.2-2
|
|
|
|
- Bug 1871064 - Replica install failing during pki-ca component configuration
|
|
|
|
|
|
|
|
* Tue Aug 18 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.2-1
|
|
|
|
- Rebase to PKI 10.9.2
|
|
|
|
|
|
|
|
* Wed Aug 12 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.1-2
|
|
|
|
- Bug 1857933 - CA Installation is failing with ncipher v12.30 HSM
|
|
|
|
- Bug 1868233 - Disabling AIA and cert policy extensions in ACME examples
|
|
|
|
|
|
|
|
* Thu Aug 06 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.1-1
|
|
|
|
- Rebase to PKI 10.9.1
|
|
|
|
- Bug 1426572 - Fix Secure connection issue when server is down
|
|
|
|
|
|
|
|
* Fri Jul 31 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.0-1
|
|
|
|
- Rebase to PKI 10.9.0
|
|
|
|
|
|
|
|
* Tue Jul 14 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.0-0.7
|
|
|
|
- Fix pki kra-key-generate failure
|
|
|
|
- Fix error handling in PKIRealm
|
|
|
|
|
|
|
|
* Fri Jul 10 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.0-0.6
|
|
|
|
- Rebase to PKI 10.9.0-b4
|
|
|
|
|
2020-07-28 13:21:19 +00:00
|
|
|
* Thu Jun 25 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.0-0.4
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.9.0-b2
|
2020-07-28 13:21:19 +00:00
|
|
|
|
|
|
|
* Mon Jun 22 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.0-0.3
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.9.0-b1
|
2020-07-28 13:21:19 +00:00
|
|
|
|
|
|
|
* Tue May 26 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.0-0.1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.9.0-a1
|
2020-07-28 13:21:19 +00:00
|
|
|
|
|
|
|
* Tue Mar 03 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.3-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.8.3
|
|
|
|
- Bug 1809210 - TPS installation failure on HSM machine
|
|
|
|
- Bug 1807421 - Subordinate CA installation failed
|
|
|
|
- Bug 1806840 - KRA cloning with HSM failed
|
2020-07-28 13:21:19 +00:00
|
|
|
|
|
|
|
* Wed Feb 19 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.2-2
|
2021-03-30 10:37:36 +00:00
|
|
|
- Bug 1795215 - pkispawn interactive installation failed
|
2020-07-28 13:21:19 +00:00
|
|
|
|
|
|
|
* Mon Feb 17 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.2-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.8.2
|
|
|
|
- Bug 1802006 - KRA installation failed to create ECC admin cert
|
2020-07-28 13:21:19 +00:00
|
|
|
|
|
|
|
* Mon Feb 10 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.1-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.8.1
|
2020-07-28 13:21:19 +00:00
|
|
|
|
|
|
|
* Fri Feb 07 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.0-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.8.0
|
2020-07-28 13:21:19 +00:00
|
|
|
|
|
|
|
* Thu Jan 16 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.0-0.5
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.8.0-b3
|
2020-07-28 13:21:19 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Fri Dec 13 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.0-0.4
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.8.0-b2
|
2020-01-21 23:17:51 +00:00
|
|
|
|
|
|
|
* Wed Dec 11 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.0-0.3
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.8.0-b1
|
2020-01-21 23:17:51 +00:00
|
|
|
|
|
|
|
* Fri Nov 22 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.0-0.2
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.8.0-a2
|
2020-01-21 23:17:51 +00:00
|
|
|
|
|
|
|
* Thu Oct 31 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.0-0.1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.8.0-a1
|
2020-01-21 23:17:51 +00:00
|
|
|
|
|
|
|
* Wed Aug 14 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.7.3-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.7.3
|
|
|
|
- Bug 1698084 - pkidestroy not working as expected
|
|
|
|
- Bug 1468050 and Bug #1448235 - Support AES for LWCA key replication
|
2020-01-21 23:17:51 +00:00
|
|
|
|
|
|
|
* Tue Jul 23 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.7.2-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.7.2
|
|
|
|
- Bug 1721340 - TPS installation failure
|
|
|
|
- Bug 1248216 - Incorrect pkidaemon status
|
|
|
|
- Bug 1729215 - cert-fix: detect and prevent pkidbuser being used as --agent-uid
|
|
|
|
- Bug 1698059 - pki-core implements crypto
|
2020-01-21 23:17:51 +00:00
|
|
|
|
|
|
|
* Thu Jun 13 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.7.1-2
|
2021-03-30 10:37:36 +00:00
|
|
|
- Fix cloning issue
|
|
|
|
- Fix TPS installation issue
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Wed Jun 12 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.7.1-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.7.1
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Wed Apr 24 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.7.0-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.7.0
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Mon Jan 28 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.9-2
|
2021-03-30 10:37:36 +00:00
|
|
|
- Bug 1652269 - Replace Nuxwdog
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Mon Jan 14 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.9-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.6.9
|
|
|
|
- Bug 1629048 - X500Name.directoryStringEncodingOrder overridden by CSR encoding
|
|
|
|
- Bug 1652269 - Replace Nuxwdog
|
|
|
|
- Bug 1656856 - Need Method to Include SKI in CA Signing Certificate Request
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Thu Nov 29 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.8-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.6.8
|
|
|
|
- Bug 1602659 - Fix issues found by covscan
|
|
|
|
- Bug 1566360 - Fix missing serial number from pki-server subsystem-cert-find
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Fri Oct 26 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.7-3
|
2021-03-30 10:37:36 +00:00
|
|
|
- Bug 1643101 - Fix problems due to token normalization
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Tue Oct 23 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.7-2
|
2021-03-30 10:37:36 +00:00
|
|
|
- Bug 1623444 - Fix Python KeyClient KeyRequestResponse parsing
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Fri Oct 05 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.7-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.6.7
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Fri Aug 24 2018 Alexander Bokovoy <abokovoy@redhat.com> 10.6.6-3
|
2019-08-01 00:45:25 +00:00
|
|
|
- Build on s390x
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Wed Aug 22 2018 Alexander Bokovoy <abokovoy@redhat.com> 10.6.6-2
|
2019-08-01 00:45:25 +00:00
|
|
|
- Use platform-python interpreter
|
2021-03-30 10:37:36 +00:00
|
|
|
- Bug 1620066 - pkispawn crashes as /usr/bin/python3 does not exist
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Mon Aug 13 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.6-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.6.6
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Wed Aug 08 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.5-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.6.5
|
2019-08-01 00:45:25 +00:00
|
|
|
|
|
|
|
* Tue Aug 07 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.4-4
|
2021-03-30 10:37:36 +00:00
|
|
|
- Bug 1612063 - Do not override system crypto policy (support TLS 1.3)
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Wed Aug 01 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.4-3
|
2019-08-01 00:45:25 +00:00
|
|
|
- Patch PKI to use Jackson 2 and avoid Jackson 1 dependency.
|
|
|
|
Add direct dependency on slf4j-jdk14.
|
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Tue Jul 31 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.4-2
|
2021-03-30 10:37:36 +00:00
|
|
|
- Update Jackson and RESTEasy dependencies
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Fri Jul 20 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.4-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.6.4
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Thu Jul 05 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.3-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.6.3
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> 10.6.2-4
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebuild for Python 3.7
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Thu Jun 28 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.2-3
|
2021-03-30 10:37:36 +00:00
|
|
|
- Fix macro expressions
|
|
|
|
- Bug 1566606 - pki-core: Switch to Python 3
|
|
|
|
- Bug 1590467 - pki-core: Drop pylint dependency from RHEL 8
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> 10.6.2-2
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebuild for Python 3.7
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Fri Jun 15 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.2-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.6.2
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Wed May 30 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.1-3
|
2021-03-30 10:37:36 +00:00
|
|
|
- Update JSS dependency
|
|
|
|
- Update Tomcat dependency
|
|
|
|
- Fix rpmlint warnings
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Fri May 04 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.1-2
|
2021-03-30 10:37:36 +00:00
|
|
|
- Bug 1574711 - pki-tools cannot be installed on current Rawhide
|
|
|
|
- Fix rpmlint warnings
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Thu May 03 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.1-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.6.1
|
|
|
|
- Bug 1559047 - pki-core misses a dependency to pki-symkey
|
|
|
|
- Bug 1573094 - FreeIPA external CA installation fails
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Wed Apr 11 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.0-1
|
2021-03-30 10:37:36 +00:00
|
|
|
- Update project URL and package descriptions
|
|
|
|
- Clean up spec file
|
|
|
|
- Rebase to PKI 10.6.0 final
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Thu Mar 29 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.0-0.3
|
2019-08-01 00:45:25 +00:00
|
|
|
- Iryna Shcherbina <ishcherb@redhat.com>: Update Python 2 dependency declarations to new packaging standards
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.6.0 beta2
|
2019-08-01 00:45:25 +00:00
|
|
|
|
2020-01-21 23:17:51 +00:00
|
|
|
* Thu Mar 15 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.0-0.2
|
2021-03-30 10:37:36 +00:00
|
|
|
- Rebase to PKI 10.6.0 beta
|
2019-08-01 00:45:25 +00:00
|
|
|
|