Accepting request 263591 from home:msmeissn:branches:network

- freeradius-server-opensslversion.patch: do not check the minor
  version of openssl, minor versions are supposed to be compatible.
  bnc#906682

OBS-URL: https://build.opensuse.org/request/show/263591
OBS-URL: https://build.opensuse.org/package/show/network/freeradius-server?expand=0&rev=64
This commit is contained in:
Vítězslav Čížek 2014-12-01 11:50:00 +00:00 committed by Git OBS Bridge
parent 1bde74c711
commit 135ea14879
3 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Index: freeradius-server-3.0.3/src/main/version.c
===================================================================
--- freeradius-server-3.0.3.orig/src/main/version.c
+++ freeradius-server-3.0.3/src/main/version.c
@@ -48,7 +48,7 @@ int ssl_check_consistency(void)
ssl_linked = SSLeay();
- if (ssl_linked != ssl_built) {
+ if ((ssl_linked&~0xfff) != (ssl_built&~0xfff)) {
ERROR("libssl version mismatch. built: %lx linked: %lx",
(unsigned long) ssl_built,
(unsigned long) ssl_linked);

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Dec 1 10:52:28 UTC 2014 - meissner@suse.com
- freeradius-server-opensslversion.patch: do not check the minor
version of openssl, minor versions are supposed to be compatible.
bnc#906682
-------------------------------------------------------------------
Sun Aug 3 18:31:49 UTC 2014 - sfalken@opensuse.org

View File

@ -42,6 +42,7 @@ Patch9: freeradius-server-radius-reload-logrotate.patch
# PATCH-FIX-SUSE use 'su' logrotate option (bnc#677335)
Patch12: freeradius-server-2.1.1-logrotate_su.patch
Patch13: freeradius-server-var_run.patch
Patch14: freeradius-server-opensslversion.patch
BuildRequires: apache2-devel
BuildRequires: cyrus-sasl-devel
BuildRequires: db-devel
@ -201,6 +202,7 @@ This plugin provides the SQLite support for the FreeRADIUS server project.
%patch9 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%build
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"