Accepting request 22845 from network
Copy from network/freeradius-server based on submit request 22845 from user puzel OBS-URL: https://build.opensuse.org/request/show/22845 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/freeradius-server?expand=0&rev=20
This commit is contained in:
parent
6b04953d85
commit
8450405363
13
freeradius-server-no-default-case.patch
Normal file
13
freeradius-server-no-default-case.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: freeradius-server-2.1.6/src/modules/rlm_ldap/rlm_ldap.c
|
||||||
|
===================================================================
|
||||||
|
--- freeradius-server-2.1.6.orig/src/modules/rlm_ldap/rlm_ldap.c 2009-10-22 10:56:37.000000000 +0200
|
||||||
|
+++ freeradius-server-2.1.6/src/modules/rlm_ldap/rlm_ldap.c 2009-10-22 10:56:37.000000000 +0200
|
||||||
|
@@ -1883,7 +1883,7 @@ static int ldap_authenticate(void *insta
|
||||||
|
RDEBUG("ldap auth option = %s", vp_auth_opt->vp_strvalue);
|
||||||
|
strncpy(seq, vp_auth_opt->vp_strvalue, vp_auth_opt->length);
|
||||||
|
seq[vp_auth_opt->length] = '\0';
|
||||||
|
- if( strcmp(seq, "<No Default>") ){
|
||||||
|
+ if( strcasecmp(seq, "<No Default>") ){
|
||||||
|
|
||||||
|
/* Get the client IP address to check for packet validity */
|
||||||
|
inet_ntop(AF_INET, &request->packet->src_ipaddr, host_ipaddr, sizeof(host_ipaddr));
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 22 09:05:35 UTC 2009 - puzel@novell.com
|
||||||
|
|
||||||
|
- freeradius-server-no-default-case.patch (bnc#527742)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 15 09:05:18 UTC 2009 - puzel@novell.com
|
Thu Oct 15 09:05:18 UTC 2009 - puzel@novell.com
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
Name: freeradius-server
|
Name: freeradius-server
|
||||||
Version: 2.1.6
|
Version: 2.1.6
|
||||||
Release: 3
|
Release: 4
|
||||||
License: GPL v2 only ; LGPL v2.1 only
|
License: GPL v2 only ; LGPL v2.1 only
|
||||||
Group: Productivity/Networking/Radius/Servers
|
Group: Productivity/Networking/Radius/Servers
|
||||||
Provides: radiusd
|
Provides: radiusd
|
||||||
@ -37,6 +37,7 @@ Patch4: %{name}-%{version}-edir-64bit.patch
|
|||||||
Patch5: %{name}-%{version}-overflow.patch
|
Patch5: %{name}-%{version}-overflow.patch
|
||||||
Patch6: freeradius-server-sha1-default.patch
|
Patch6: freeradius-server-sha1-default.patch
|
||||||
Patch7: freeradius-server-fix-cert-bootstrap.patch
|
Patch7: freeradius-server-fix-cert-bootstrap.patch
|
||||||
|
Patch8: freeradius-server-no-default-case.patch
|
||||||
PreReq: perl openssl pwdutils coreutils
|
PreReq: perl openssl pwdutils coreutils
|
||||||
PreReq: %insserv_prereq %fillup_prereq
|
PreReq: %insserv_prereq %fillup_prereq
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -216,6 +217,7 @@ Authors:
|
|||||||
%patch5
|
%patch5
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
|
%patch8 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# This package failed when testing with -Wl,-as-needed being default.
|
# This package failed when testing with -Wl,-as-needed being default.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user