Fixing mellon_create_metadata.sh script and publishing in CRB
Resolves: RHEL-35898 Resolves: RHEL-33585
This commit is contained in:
parent
f28aeec58d
commit
c5b1e8c345
@ -33,7 +33,7 @@ ship with two versions of the ``mod_auth_mellon`` Apache module.
|
|||||||
``/usr/lib*/httpd/modules/mod_auth_mellon.so``
|
``/usr/lib*/httpd/modules/mod_auth_mellon.so``
|
||||||
|
|
||||||
2. The ``mod_auth_mellon-diagnostics`` RPM contains the diagnostic
|
2. The ``mod_auth_mellon-diagnostics`` RPM contains the diagnostic
|
||||||
version of the Apache module
|
version of the Apache module. It is available in the CRB repository.
|
||||||
``/usr/lib*/httpd/modules/mod_auth_mellon-diagnostics.so``
|
``/usr/lib*/httpd/modules/mod_auth_mellon-diagnostics.so``
|
||||||
|
|
||||||
Because each version of the module has a different name both the
|
Because each version of the module has a different name both the
|
||||||
|
@ -56,8 +56,10 @@ umask 0077
|
|||||||
|
|
||||||
TEMPLATEFILE="$(mktemp -t mellon_create_sp.XXXXXXXXXX)"
|
TEMPLATEFILE="$(mktemp -t mellon_create_sp.XXXXXXXXXX)"
|
||||||
|
|
||||||
|
dd if=/dev/urandom of=$TEMPLATEFILE.RANDOM bs=256 count=1 2>/dev/null
|
||||||
|
|
||||||
cat >"$TEMPLATEFILE" <<EOF
|
cat >"$TEMPLATEFILE" <<EOF
|
||||||
RANDFILE = /dev/urandom
|
RANDFILE = ${TEMPLATEFILE}.RANDOM
|
||||||
[req]
|
[req]
|
||||||
default_bits = 2048
|
default_bits = 2048
|
||||||
default_keyfile = privkey.pem
|
default_keyfile = privkey.pem
|
||||||
@ -70,7 +72,7 @@ EOF
|
|||||||
|
|
||||||
openssl req -utf8 -batch -config "$TEMPLATEFILE" -new -x509 -days 3652 -nodes -out "$OUTFILE.cert" -keyout "$OUTFILE.key" 2>/dev/null
|
openssl req -utf8 -batch -config "$TEMPLATEFILE" -new -x509 -days 3652 -nodes -out "$OUTFILE.cert" -keyout "$OUTFILE.key" 2>/dev/null
|
||||||
|
|
||||||
rm -f "$TEMPLATEFILE"
|
rm -f "$TEMPLATEFILE" "${TEMPLATEFILE}.RANDOM"
|
||||||
|
|
||||||
CERT="$(grep -v '^-----' "$OUTFILE.cert")"
|
CERT="$(grep -v '^-----' "$OUTFILE.cert")"
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: A SAML 2.0 authentication module for the Apache Httpd Server
|
Summary: A SAML 2.0 authentication module for the Apache Httpd Server
|
||||||
Name: mod_auth_mellon
|
Name: mod_auth_mellon
|
||||||
Version: 0.17.0
|
Version: 0.17.0
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Source0: https://github.com/latchset/mod_auth_mellon/releases/download/v0.17.0/mod_auth_mellon-0.17.0.tar.gz
|
Source0: https://github.com/latchset/mod_auth_mellon/releases/download/v0.17.0/mod_auth_mellon-0.17.0.tar.gz
|
||||||
Source1: auth_mellon.conf
|
Source1: auth_mellon.conf
|
||||||
Source2: 10-auth_mellon.conf
|
Source2: 10-auth_mellon.conf
|
||||||
@ -103,6 +103,12 @@ in the doc directory for instructions on using the diagnostics build.
|
|||||||
%dir %attr(-, apache, apache) /run/%{name}/
|
%dir %attr(-, apache, apache) /run/%{name}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 15 2024 Tomas Halman <thalman@redhat.com> - 0.17.0-9
|
||||||
|
- Fixing mellon_create_metadata.sh script
|
||||||
|
Resolves: RHEL-35898
|
||||||
|
- Publishing diagnostic module in CRB repository
|
||||||
|
Resolves: RHEL-33585
|
||||||
|
|
||||||
* Wed Apr 5 2023 Tomas Halman <thalman@redhat.com> - 0.17.0-8
|
* Wed Apr 5 2023 Tomas Halman <thalman@redhat.com> - 0.17.0-8
|
||||||
- Fixing gating issue - rebuild
|
- Fixing gating issue - rebuild
|
||||||
Resolves: rhbz#2184763
|
Resolves: rhbz#2184763
|
||||||
|
Loading…
Reference in New Issue
Block a user