|
|
1fec1b1 |
################################################################################
|
|
|
1fec1b1 |
Name: tomcatjss
|
|
|
1fec1b1 |
################################################################################
|
|
|
9e71873 |
|
|
|
1fec1b1 |
Summary: JSS Connector for Apache Tomcat
|
|
|
1fec1b1 |
URL: http://www.dogtagpki.org/wiki/TomcatJSS
|
|
|
1fec1b1 |
License: LGPLv2+
|
|
|
1fec1b1 |
BuildArch: noarch
|
|
|
9e71873 |
|
|
Alexander Scheel |
cd33e30 |
Version: 7.6.1
|
|
|
3162d1b |
Release: 2%{?_timestamp}%{?_commit_id}%{?dist}
|
|
Alexander Scheel |
c0ec42d |
#global _phase -a1
|
|
|
3b064df |
|
|
|
3b064df |
# To generate the source tarball:
|
|
|
3b064df |
# $ git clone https://github.com/dogtagpki/tomcatjss.git
|
|
|
3b064df |
# $ cd tomcatjss
|
|
|
3b064df |
# $ git archive \
|
|
|
3b064df |
# --format=tar.gz \
|
|
|
3b064df |
# --prefix tomcatjss-VERSION/ \
|
|
|
3b064df |
# -o tomcatjss-VERSION.tar.gz \
|
|
|
3b064df |
# <version tag>
|
|
|
7487d4d |
Source: https://github.com/dogtagpki/tomcatjss/archive/v%{version}%{?_phase}/tomcatjss-%{version}%{?_phase}.tar.gz
|
|
|
1fec1b1 |
|
|
|
3b064df |
# To create a patch for all changes since a version tag:
|
|
|
3b064df |
# $ git format-patch \
|
|
|
3b064df |
# --stdout \
|
|
|
3b064df |
# <version tag> \
|
|
|
3b064df |
# > tomcatjss-VERSION-RELEASE.patch
|
|
|
3b064df |
# Patch: tomcatjss-VERSION-RELEASE.patch
|
|
|
3b064df |
|
|
|
1fec1b1 |
################################################################################
|
|
|
1fec1b1 |
# Build Dependencies
|
|
|
1fec1b1 |
################################################################################
|
|
|
9e71873 |
|
|
Kevin Wright |
dd51398 |
# jpackage-utils requires versioning to meet both build and runtime requirements
|
|
Kevin Wright |
dd51398 |
# jss requires versioning to meet both build and runtime requirements
|
|
|
a97fa0c |
# tomcat requires versioning to meet both build and runtime requirements
|
|
|
db731a4 |
|
|
|
3b064df |
# autosetup
|
|
|
3b064df |
BuildRequires: git
|
|
|
3b064df |
|
|
|
db731a4 |
# Java
|
|
|
9e71873 |
BuildRequires: ant
|
|
Alexander Scheel |
d0c867a |
BuildRequires: apache-commons-lang3
|
|
|
a97fa0c |
BuildRequires: java-devel
|
|
|
a97fa0c |
BuildRequires: jpackage-utils >= 0:1.7.5-15
|
|
|
db731a4 |
|
|
|
3b064df |
# SLF4J
|
|
|
3b064df |
BuildRequires: slf4j
|
|
|
3b064df |
BuildRequires: slf4j-jdk14
|
|
|
3b064df |
|
|
|
db731a4 |
# JSS
|
|
Alexander Scheel |
aa6b924 |
BuildRequires: jss >= 4.8.0
|
|
|
db731a4 |
|
|
|
db731a4 |
# Tomcat
|
|
|
51efc6f |
%if 0%{?rhel} && ! 0%{?eln}
|
|
|
e8d17f8 |
BuildRequires: pki-servlet-engine >= 1:9.0.7
|
|
Alexander Scheel |
6c03eb1 |
%else
|
|
|
3b064df |
BuildRequires: tomcat >= 1:9.0.7
|
|
|
db731a4 |
%endif
|
|
|
83cd371 |
|
|
|
1fec1b1 |
################################################################################
|
|
|
1fec1b1 |
# Runtime Dependencies
|
|
|
1fec1b1 |
################################################################################
|
|
|
1fec1b1 |
|
|
|
db731a4 |
# Java
|
|
Alexander Scheel |
d0c867a |
Requires: apache-commons-lang3
|
|
|
384013e |
%if 0%{?fedora} >= 21
|
|
|
f5d3e04 |
Requires: java-headless
|
|
|
384013e |
%else
|
|
|
384013e |
Requires: java
|
|
|
384013e |
%endif
|
|
|
a97fa0c |
Requires: jpackage-utils >= 0:1.7.5-15
|
|
|
db731a4 |
|
|
|
3b064df |
# SLF4J
|
|
|
3b064df |
Requires: slf4j
|
|
|
3b064df |
Requires: slf4j-jdk14
|
|
|
3b064df |
|
|
|
db731a4 |
# JSS
|
|
Alexander Scheel |
aa6b924 |
Requires: jss >= 4.8.0
|
|
|
71ef548 |
|
|
|
7487d4d |
# Tomcat
|
|
|
51efc6f |
%if 0%{?rhel} && ! 0%{?eln}
|
|
|
e8d17f8 |
Requires: pki-servlet-engine >= 1:9.0.7
|
|
Alexander Scheel |
6c03eb1 |
%else
|
|
|
3b064df |
Requires: tomcat >= 1:9.0.7
|
|
|
db731a4 |
%endif
|
|
|
9e71873 |
|
|
|
7487d4d |
# PKI
|
|
Alexander Scheel |
fa5b6f5 |
Conflicts: pki-base < 10.10.0
|
|
|
db731a4 |
|
|
|
83cd371 |
|
|
Kevin Wright |
9080c61 |
%if 0%{?rhel}
|
|
Kevin Wright |
9080c61 |
# For EPEL, override the '_sharedstatedir' macro on RHEL
|
|
Kevin Wright |
9080c61 |
%define _sharedstatedir /var/lib
|
|
Kevin Wright |
9080c61 |
%endif
|
|
Kevin Wright |
9080c61 |
|
|
|
9e71873 |
%description
|
|
|
b5bd407 |
JSS Connector for Apache Tomcat, installed via the tomcatjss package,
|
|
|
b5bd407 |
is a Java Secure Socket Extension (JSSE) module for Apache Tomcat that
|
|
|
b5bd407 |
uses Java Security Services (JSS), a Java interface to Network Security
|
|
|
b5bd407 |
Services (NSS).
|
|
|
9e71873 |
|
|
|
1fec1b1 |
################################################################################
|
|
|
9e71873 |
%prep
|
|
|
1fec1b1 |
################################################################################
|
|
|
9e71873 |
|
|
|
7487d4d |
%autosetup -n tomcatjss-%{version}%{?_phase} -p 1 -S git
|
|
|
9e71873 |
|
|
|
1fec1b1 |
################################################################################
|
|
|
9e71873 |
%install
|
|
|
1fec1b1 |
################################################################################
|
|
|
9e71873 |
|
|
|
4d92459 |
# get Tomcat <major>.<minor> version number
|
|
|
4d92459 |
tomcat_version=`/usr/sbin/tomcat version | sed -n 's/Server number: *\([0-9]\+\.[0-9]\+\).*/\1/p'`
|
|
|
4d92459 |
|
|
|
4d92459 |
if [ $tomcat_version == "9.0" ]; then
|
|
|
4d92459 |
app_server=tomcat-8.5
|
|
|
4d92459 |
else
|
|
|
4d92459 |
app_server=tomcat-$tomcat_version
|
|
|
4d92459 |
fi
|
|
|
4d92459 |
|
|
|
1fec1b1 |
ant -f build.xml \
|
|
|
1fec1b1 |
-Dversion=%{version} \
|
|
|
4d92459 |
-Dsrc.dir=$app_server \
|
|
|
1fec1b1 |
-Djnidir=%{_jnidir} \
|
|
|
1fec1b1 |
-Dinstall.doc.dir=%{buildroot}%{_docdir}/%{name} \
|
|
|
1fec1b1 |
-Dinstall.jar.dir=%{buildroot}%{_javadir} \
|
|
|
1fec1b1 |
install
|
|
|
9e71873 |
|
|
|
1fec1b1 |
################################################################################
|
|
|
9e71873 |
%files
|
|
|
1fec1b1 |
################################################################################
|
|
|
1fec1b1 |
|
|
|
e8d17f8 |
%license LICENSE
|
|
|
e8d17f8 |
|
|
|
9e71873 |
%defattr(-,root,root)
|
|
|
1fec1b1 |
%doc README
|
|
|
1fec1b1 |
%doc LICENSE
|
|
|
9e71873 |
%{_javadir}/*
|
|
|
9e71873 |
|
|
|
1fec1b1 |
################################################################################
|
|
|
9e71873 |
%changelog
|
|
|
3162d1b |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.6.1-2
|
|
|
3162d1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
3162d1b |
|
|
Alexander Scheel |
cd33e30 |
* Thu Jan 14 2021 Dogtag PKI Team <pki-devel@redhat.com> - 7.6.1-1
|
|
Alexander Scheel |
cd33e30 |
- Rebase to latest stable release v7.6.1
|
|
Alexander Scheel |
cd33e30 |
|
|
|
51efc6f |
* Thu Dec 10 2020 Merlin Mathesius <mmathesi@redhat.com> - 7.6.0-3
|
|
|
51efc6f |
- Minor conditional updates to SPEC so package will build for ELN
|
|
|
51efc6f |
|
|
Alexander Scheel |
fa5b6f5 |
* Thu Nov 05 2020 Dogtag PKI Team <pki-devel@redhat.com> - 7.6.0-2
|
|
Alexander Scheel |
fa5b6f5 |
- Conflict with older PKI versions due to ACL3
|
|
Alexander Scheel |
fa5b6f5 |
|
|
Alexander Scheel |
d0c867a |
* Wed Oct 21 2020 Dogtag PKI Team <pki-devel@redhat.com> - 7.6.0-1
|
|
Alexander Scheel |
d0c867a |
- Rebase to match latest upstream stable version v7.6.0
|
|
Alexander Scheel |
d0c867a |
|
|
|
1e80ff0 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.5.0-0.6
|
|
|
1e80ff0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
1e80ff0 |
|
|
|
59f22a3 |
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 7.5.0-0.5
|
|
|
59f22a3 |
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
59f22a3 |
|
|
Alexander Scheel |
85b380f |
* Wed Jun 10 2020 Dogtag PKI Team <pki-devel@redhat.com> - 7.5.0-0.4
|
|
Alexander Scheel |
85b380f |
- Rebase to match latest upstream version v7.5.0-b2
|
|
Alexander Scheel |
85b380f |
|
|
|
e8d17f8 |
* Wed Jun 10 2020 Dogtag PKI Team <pki-devel@redhat.com> - 7.5.0-0.1
|
|
|
e8d17f8 |
- Rebase to match latest upstream version v7.5.0-a1
|
|
|
e8d17f8 |
- Make TomcatJSS use both SunJSSE and Mozilla-JSS
|
|
|
e8d17f8 |
|
|
|
5c0e589 |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.1-3
|
|
|
5c0e589 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
5c0e589 |
|
|
|
7828281 |
* Thu Aug 08 2019 Dogtag PKI Team <pki-team@redhat.com> - 7.4.1-2
|
|
|
7828281 |
- Bumping min requirement for jss to 4.6.0
|
|
|
7828281 |
|
|
|
709e06b |
* Thu Aug 08 2019 Dogtag PKI Team <pki-team@redhat.com> - 7.4.1-1
|
|
|
709e06b |
- Rebased to TomcatJSS 7.4.1
|
|
|
709e06b |
|
|
|
8e452a5 |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-2
|
|
|
8e452a5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
8e452a5 |
|
|
Alexander Scheel |
39d79ed |
* Mon May 06 2019 Dogtag PKI Team <pki-team@redhat.com> - 7.4.0-1
|
|
Alexander Scheel |
39d79ed |
- Rebased to TomcatJSS 7.4.0
|
|
Alexander Scheel |
39d79ed |
|
|
Alexander Scheel |
39d79ed |
* Mon May 06 2019 Dogtag PKI Team <pki-team@redhat.com> - 7.3.7-1
|
|
Alexander Scheel |
6c03eb1 |
- Rebased to Tomcatjss 7.3.7
|
|
Alexander Scheel |
6c03eb1 |
|
|
|
a1f80d0 |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.6-2
|
|
|
a1f80d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
a1f80d0 |
|
|
Alexander Scheel |
6e87616 |
* Wed Oct 03 2018 Dogtag PKI Team <pki-team@redhat.com> 7.3.6-1
|
|
Alexander Scheel |
6e87616 |
- Rebased to TomcatJSS 7.3.6
|
|
Alexander Scheel |
6e87616 |
|
|
|
e007d62 |
* Mon Aug 13 2018 Dogtag PKI Team <pki-team@redhat.com> 7.3.5-1
|
|
|
e007d62 |
- Rebased to TomcatJSS 7.3.5
|
|
|
e007d62 |
|
|
|
e007d62 |
* Tue Aug 07 2018 Dogtag PKI Team <pki-devel@redhat.com> 7.3.4-1
|
|
|
4d92459 |
- Rebased to TomcatJSS 7.3.4
|
|
|
4d92459 |
|
|
|
e007d62 |
* Tue Aug 07 2018 Dogtag PKI Team <pki-devel@redhat.com> 7.3.3-2
|
|
|
4d92459 |
- Red Hat Bugzilla #1612063 - Do not override system crypto policy (support TLS 1.3)
|
|
|
4d92459 |
|
|
|
1041134 |
* Fri Jul 20 2018 Dogtag PKI Team <pki-devel@redhat.com> 7.3.3-1
|
|
|
1041134 |
- Rebased to TomcatJSS 7.3.3
|
|
|
1041134 |
|
|
|
c4db95e |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.2-2
|
|
|
c4db95e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
c4db95e |
|
|
|
e007d62 |
* Thu Jul 05 2018 Dogtag PKI Team <pki-devel@redhat.com> 7.3.2-1
|
|
|
7487d4d |
- Rebased to TomcatJSS 7.3.2
|
|
|
7487d4d |
|
|
|
3b064df |
* Fri Jun 15 2018 Dogtag PKI Team <pki-devel@redhat.com> 7.3.1-1
|
|
|
db731a4 |
- Fixed Tomcat dependencies
|
|
|
3b064df |
- Rebased to TomcatJSS 7.3.1
|
|
|
db731a4 |
|
|
|
1fec1b1 |
* Thu Apr 12 2018 Dogtag PKI Team <pki-devel@redhat.com> 7.3.0-1
|
|
|
1fec1b1 |
- Cleaned up spec file
|
|
|
1fec1b1 |
- Rebased to TomcatJSS 7.3.0 final
|
|
|
80498f9 |
|
|
|
1fec1b1 |
* Thu Mar 15 2018 Dogtag PKI Team <pki-devel@redhat.com> 7.3.0-0.2
|
|
|
1fec1b1 |
- Rebased to TomcatJSS 7.3.0 beta
|