Skip to content

Commit

Permalink
force debian pkg to use patched openssl, and disable version check
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnewton authored and arr2036 committed Apr 17, 2014
1 parent afc48b2 commit d3977f9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
15 changes: 15 additions & 0 deletions debian/patches/disable-openssl-check.diff
@@ -0,0 +1,15 @@
--- a/raddb/radiusd.conf.in
+++ b/raddb/radiusd.conf.in
@@ -483,7 +483,11 @@
# and may not reflect patches applied to libssl by
# distribution maintainers.
#
- allow_vulnerable_openssl = no
+ # This version of FreeRADIUS is built as a Debian package that
+ # depends on the right version of OpenSSL, so this is set by
+ # default to allow the server to start.
+ #
+ allow_vulnerable_openssl = 'CVE-2014-0160'
}

# PROXY CONFIGURATION
1 change: 1 addition & 0 deletions debian/patches/series
@@ -1 +1,2 @@
radiusd-to-freeradius.diff
disable-openssl-check.diff
2 changes: 1 addition & 1 deletion debian/rules
Expand Up @@ -160,7 +160,7 @@ install-arch: build-arch-stamp

dh_strip -a --dbg-package=freeradius-dbg

dh_makeshlibs -a -n
dh_makeshlibs -a -n -V 'libssl1.0.0 (>= 1.0.1e-2+deb7u6)'
dh_shlibdeps -l$(freeradius_dir)/usr/lib/freeradius

binary-common:
Expand Down
1 change: 1 addition & 0 deletions debian/shlibs.local
@@ -0,0 +1 @@
libssl 1.0.0 libssl1.0.0 (>= 1.0.1e-2+deb7u6)

1 comment on commit d3977f9

@arr2036
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This patch makes it impossible to use the built packages on ubuntu. Could you redo it taking into account debian-like distros?

Please sign in to comment.