Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a3188e70f | ||
|
|
0512891873 |
3 changed files with 67 additions and 11 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -47,3 +47,4 @@ jss-4.2.6.tar.gz
|
|||
/jss-5.4.2.tar.gz
|
||||
/jss-5.5.0-alpha2.tar.gz
|
||||
/jss-5.5.0.tar.gz
|
||||
/jss-5.6.0.tar.gz
|
||||
|
|
|
|||
75
jss.spec
75
jss.spec
|
|
@ -2,11 +2,12 @@
|
|||
Name: jss
|
||||
################################################################################
|
||||
|
||||
%global product_id dogtag-jss
|
||||
%global vendor_id dogtag
|
||||
%global product_id %{vendor_id}-jss
|
||||
|
||||
# Upstream version number:
|
||||
%global major_version 5
|
||||
%global minor_version 5
|
||||
%global minor_version 6
|
||||
%global update_version 0
|
||||
|
||||
# Downstream release number:
|
||||
|
|
@ -25,9 +26,9 @@ Name: jss
|
|||
|
||||
Summary: Java Security Services (JSS)
|
||||
URL: https://github.com/dogtagpki/jss
|
||||
License: (MPL-1.1 or GPL-2.0-or-later or LGPL-2.1-or-later) and Apache-2.0
|
||||
License: (MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later) AND Apache-2.0
|
||||
Version: %{major_version}.%{minor_version}.%{update_version}
|
||||
Release: %{release_number}%{?phase:.}%{?phase}%{?timestamp:.}%{?timestamp}%{?commit_id:.}%{?commit_id}%{?dist}.1
|
||||
Release: %{release_number}%{?phase:.}%{?phase}%{?timestamp:.}%{?timestamp}%{?commit_id:.}%{?commit_id}%{?dist}
|
||||
|
||||
# To generate the source tarball:
|
||||
# $ git clone https://github.com/dogtagpki/jss.git
|
||||
|
|
@ -55,9 +56,26 @@ ExcludeArch: i686
|
|||
# Java
|
||||
################################################################################
|
||||
|
||||
# use Java 17 on Fedora 39 or older and RHEL 9 or older
|
||||
# otherwise, use Java 21
|
||||
|
||||
# maven-local is a subpackage of javapackages-tools
|
||||
|
||||
%if 0%{?fedora} && 0%{?fedora} <= 39 || 0%{?rhel} && 0%{?rhel} <= 9
|
||||
|
||||
%define java_devel java-17-openjdk-devel
|
||||
%define java_headless java-17-openjdk-headless
|
||||
%define java_home %{_jvmdir}/jre-17-openjdk
|
||||
%define maven_local maven-local-openjdk17
|
||||
|
||||
%else
|
||||
|
||||
%define java_devel java-21-openjdk-devel
|
||||
%define java_headless java-21-openjdk-headless
|
||||
%define java_home %{_jvmdir}/jre-21-openjdk
|
||||
%define maven_local maven-local
|
||||
|
||||
%endif
|
||||
|
||||
################################################################################
|
||||
# Build Options
|
||||
|
|
@ -83,11 +101,11 @@ BuildRequires: zip
|
|||
BuildRequires: unzip
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: nss-devel >= 3.66
|
||||
BuildRequires: nss-tools >= 3.66
|
||||
BuildRequires: nss-devel >= 3.97
|
||||
BuildRequires: nss-tools >= 3.97
|
||||
|
||||
BuildRequires: %{java_devel}
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: %{maven_local}
|
||||
BuildRequires: mvn(org.apache.commons:commons-lang3)
|
||||
BuildRequires: mvn(org.slf4j:slf4j-api)
|
||||
BuildRequires: mvn(org.slf4j:slf4j-jdk14)
|
||||
|
|
@ -103,7 +121,7 @@ This only works with gcj. Other JREs require that JCE providers be signed.
|
|||
|
||||
Summary: Java Security Services (JSS)
|
||||
|
||||
Requires: nss >= 3.66
|
||||
Requires: nss >= 3.97
|
||||
|
||||
Requires: %{java_headless}
|
||||
Requires: mvn(org.apache.commons:commons-lang3)
|
||||
|
|
@ -134,18 +152,24 @@ Summary: Java Security Services (JSS) Connector for Tomcat
|
|||
BuildRequires: mvn(org.apache.tomcat:tomcat-catalina) >= 9.0.62
|
||||
BuildRequires: mvn(org.apache.tomcat:tomcat-coyote) >= 9.0.62
|
||||
BuildRequires: mvn(org.apache.tomcat:tomcat-juli) >= 9.0.62
|
||||
%if 0%{?rhel} && 0%{?rhel} >= 10
|
||||
BuildRequires: tomcat9-lib
|
||||
%endif
|
||||
|
||||
Requires: %{product_id} = %{version}-%{release}
|
||||
Requires: mvn(org.apache.tomcat:tomcat-catalina) >= 9.0.62
|
||||
Requires: mvn(org.apache.tomcat:tomcat-coyote) >= 9.0.62
|
||||
Requires: mvn(org.apache.tomcat:tomcat-juli) >= 9.0.62
|
||||
%if 0%{?rhel} && 0%{?rhel} >= 10
|
||||
Requires: tomcat9 >= 1:9.0.62
|
||||
%endif
|
||||
|
||||
# Tomcat JSS has been replaced with JSS Connector for Tomcat.
|
||||
# This will remove installed Tomcat JSS packages.
|
||||
Obsoletes: tomcatjss <= 8.5
|
||||
Conflicts: tomcatjss <= 8.5
|
||||
Obsoletes: dogtag-tomcatjss <= 8.5
|
||||
Conflicts: dogtag-tomcatjss <= 8.5
|
||||
Obsoletes: %{vendor_id}-tomcatjss <= 8.5
|
||||
Conflicts: %{vendor_id}-tomcatjss <= 8.5
|
||||
|
||||
%if 0%{?rhel} <= 8
|
||||
# PKI Servlet Engine has been replaced with Tomcat.
|
||||
|
|
@ -159,6 +183,23 @@ JSS Connector for Tomcat is a Java Secure Socket Extension (JSSE)
|
|||
module for Apache Tomcat that uses Java Security Services (JSS),
|
||||
a Java interface to Network Security Services (NSS).
|
||||
|
||||
################################################################################
|
||||
%package -n %{product_id}-tools
|
||||
################################################################################
|
||||
|
||||
Summary: Java Security Services (JSS) Tools
|
||||
|
||||
Provides: jss-tools = %{version}-%{release}
|
||||
Provides: jss-tools = %{major_version}.%{minor_version}
|
||||
Provides: %{product_id}-tools = %{major_version}.%{minor_version}
|
||||
|
||||
# Some PKI tools have been moved into jss-tools.
|
||||
Conflicts: pki-tools < 11.6
|
||||
Conflicts: %{vendor_id}-pki-tools < 11.6
|
||||
|
||||
%description -n %{product_id}-tools
|
||||
This package contains JSS tools.
|
||||
|
||||
%if %{with javadoc}
|
||||
################################################################################
|
||||
%package -n %{product_id}-javadoc
|
||||
|
|
@ -332,6 +373,14 @@ cp base/target/jss-tests.jar %{buildroot}%{_datadir}/jss/tests/lib
|
|||
%files -n %{product_id}-tomcat -f .mfiles-jss-tomcat
|
||||
################################################################################
|
||||
|
||||
################################################################################
|
||||
%files -n %{product_id}-tools
|
||||
################################################################################
|
||||
|
||||
%{_bindir}/p12tool
|
||||
%{_bindir}/p7tool
|
||||
%{_bindir}/sslget
|
||||
|
||||
%if %{with javadoc}
|
||||
################################################################################
|
||||
%files -n %{product_id}-javadoc -f .mfiles-javadoc
|
||||
|
|
@ -350,6 +399,12 @@ cp base/target/jss-tests.jar %{buildroot}%{_datadir}/jss/tests/lib
|
|||
|
||||
################################################################################
|
||||
%changelog
|
||||
* Thu Mar 6 2025 Dogtag PKI Team <devel@lists.dogtagpki.org> 5.6.0-2
|
||||
- respin for purposes of using side tag.
|
||||
|
||||
* Wed Mar 5 2025 Dogtag PKI Team <devel@lists.dogtagpki.org> 5.6.0-1
|
||||
- Rebase to JSS 5.6.0
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.0-2.1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (jss-5.5.0.tar.gz) = bda0b4df1ef08a264525c9124a29f57945e3a24adadda609b54032d840a1c311d522e34f29bb2246d03d493d108d425a64e4826edcc8a296a2f55b1cdd8a95c0
|
||||
SHA512 (jss-5.6.0.tar.gz) = e2516e26173694b63b755258629e5c88692c1c0d9c09240c67e8b76af846b399ffcdbe262de2b6ddd7a7a2a316777a9ef34ed3ca47c0865f755c86ed4ff90ff3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue