Require OpenSSL with patched heartbleed
This commit is contained in:
parent
72d1fd0ce9
commit
e529cbbf6e
13
freeradius-heartbleed-confirm.patch
Normal file
13
freeradius-heartbleed-confirm.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/raddb/radiusd.conf.in b/raddb/radiusd.conf.in
|
||||||
|
index 307ae10..c533f56 100644
|
||||||
|
--- a/raddb/radiusd.conf.in
|
||||||
|
+++ b/raddb/radiusd.conf.in
|
||||||
|
@@ -483,7 +483,7 @@ security {
|
||||||
|
# and may not reflect patches applied to libssl by
|
||||||
|
# distribution maintainers.
|
||||||
|
#
|
||||||
|
- allow_vulnerable_openssl = no
|
||||||
|
+ allow_vulnerable_openssl = CVE-2014-0160
|
||||||
|
}
|
||||||
|
|
||||||
|
# PROXY CONFIGURATION
|
@ -1,7 +1,7 @@
|
|||||||
Summary: High-performance and highly configurable free RADIUS server
|
Summary: High-performance and highly configurable free RADIUS server
|
||||||
Name: freeradius
|
Name: freeradius
|
||||||
Version: 3.0.3
|
Version: 3.0.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.freeradius.org/
|
URL: http://www.freeradius.org/
|
||||||
@ -27,6 +27,7 @@ Patch3: freeradius-case-insensitive-matching.patch
|
|||||||
Patch4: freeradius-perl-string-escaping.patch
|
Patch4: freeradius-perl-string-escaping.patch
|
||||||
Patch5: freeradius-segfault-on-config-parse.patch
|
Patch5: freeradius-segfault-on-config-parse.patch
|
||||||
Patch6: freeradius-foreach.patch
|
Patch6: freeradius-foreach.patch
|
||||||
|
Patch7: freeradius-heartbleed-confirm.patch
|
||||||
|
|
||||||
%global docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
|
%global docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
|
||||||
|
|
||||||
@ -50,7 +51,7 @@ BuildRequires: libyubikey-devel
|
|||||||
BuildRequires: ykclient-devel
|
BuildRequires: ykclient-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Requires: openssl
|
Requires: openssl >= 1.0.1e-37.fc20.1
|
||||||
Requires(pre): shadow-utils glibc-common
|
Requires(pre): shadow-utils glibc-common
|
||||||
Requires(post): systemd-sysv
|
Requires(post): systemd-sysv
|
||||||
Requires(post): systemd-units
|
Requires(post): systemd-units
|
||||||
@ -189,6 +190,7 @@ This plugin provides the unixODBC support for the FreeRADIUS server project.
|
|||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
|
%patch7 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Force compile/link options, extra security for network facing daemon
|
# Force compile/link options, extra security for network facing daemon
|
||||||
@ -759,6 +761,12 @@ exit 0
|
|||||||
%files unixODBC
|
%files unixODBC
|
||||||
%{_libdir}/freeradius/rlm_sql_unixodbc.so
|
%{_libdir}/freeradius/rlm_sql_unixodbc.so
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jun 2 2014 Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> - 3.0.3-2
|
||||||
|
- Add explicit dependency on OpenSSL package with fixed CVE-2014-0160
|
||||||
|
(Heartbleed bug).
|
||||||
|
- Add confirmation of CVE-2014-0160 being fixed in OpenSSL to radiusd.conf.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed May 14 2014 Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> - 3.0.3-1
|
* Wed May 14 2014 Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> - 3.0.3-1
|
||||||
- Upgrade to upstream 3.0.3 release.
|
- Upgrade to upstream 3.0.3 release.
|
||||||
|
Loading…
Reference in New Issue
Block a user