Search
j0ke.net Open Build Service
>
Projects
>
Apache
:
Modules
>
apache2-mod_auth_radius
> mod_auth_radius-symbol.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mod_auth_radius-symbol.patch of Package apache2-mod_auth_radius
--- httpd.conf.orig 2013-03-15 17:27:39.378632648 +0100 +++ httpd.conf 2013-03-15 17:29:39.290637280 +0100 @@ -16,9 +16,9 @@ # # Tell Apache to load the module. # -LoadModule radius_auth_module libexec/mod_auth_radius.so +LoadModule auth_radius_module libexec/mod_auth_radius.so # the path to the module file will depend on your Apache installation, e.g. -#LoadModule radius_auth_module /usr/lib/apache2/modules/mod_auth_radius.so +#LoadModule auth_radius_module /usr/lib/apache2/modules/mod_auth_radius.so ###################################################################### # --- mod_auth_radius-2.0.c.orig 2013-03-15 17:27:48.498636607 +0100 +++ mod_auth_radius-2.0.c 2013-03-15 17:29:16.610626236 +0100 @@ -72,7 +72,7 @@ ************************************************** Add to Configuration file BEFORE mod_auth.o: - Module radius_auth_module mod_auth_radius.o + Module auth_radius_module mod_auth_radius.o Add to server configuration file AddRadiusAuth <server>[:port] <secret> [<seconds>[:<retries>]] @@ -304,7 +304,7 @@ #include "ap_provider.h" #include "mod_auth.h" -module AP_MODULE_DECLARE_DATA radius_auth_module; +module AP_MODULE_DECLARE_DATA auth_radius_module; /* @@ -468,7 +468,7 @@ unsigned int port; char *p; - scr = ap_get_module_config(cmd->server->module_config, &radius_auth_module); + scr = ap_get_module_config(cmd->server->module_config, &auth_radius_module); /* allocate and look up the RADIUS server's IP address */ @@ -512,7 +512,7 @@ struct in_addr *a; scr = ap_get_module_config(cmd->server->module_config, - &radius_auth_module); + &auth_radius_module); if ((a = get_ip_addr(cmd->pool, arg)) == NULL) return "AuthRadiusBindAddress: invalid IP address"; scr->bind_address = a->s_addr; @@ -528,7 +528,7 @@ radius_server_config_rec *scr; scr = ap_get_module_config(cmd->server->module_config, - &radius_auth_module); + &auth_radius_module); scr->timeout = atoi(arg); return NULL; /* everything's OK */ } @@ -587,7 +587,7 @@ { server_rec *s = r->server; radius_server_config_rec *scr = (radius_server_config_rec *) - ap_get_module_config (s->module_config, &radius_auth_module); + ap_get_module_config (s->module_config, &auth_radius_module); apr_md5_ctx_t my_md5; unsigned char calculated[RADIUS_RANDOM_VECTOR_LEN]; unsigned char reply[RADIUS_RANDOM_VECTOR_LEN]; @@ -633,7 +633,7 @@ conn_rec *c = r->connection; server_rec *s = r->server; radius_server_config_rec *scr = (radius_server_config_rec *) - ap_get_module_config (s->module_config, &radius_auth_module); + ap_get_module_config (s->module_config, &auth_radius_module); const char *hostname; if ((hostname = ap_get_remote_host(c, r->per_dir_config, REMOTE_NAME, NULL)) == NULL) @@ -1153,10 +1153,10 @@ const char* sent_pw) { radius_dir_config_rec *rec = - (radius_dir_config_rec *)ap_get_module_config (r->per_dir_config, &radius_auth_module); + (radius_dir_config_rec *)ap_get_module_config (r->per_dir_config, &auth_radius_module); server_rec *s = r->server; radius_server_config_rec *scr = (radius_server_config_rec *) - ap_get_module_config (s->module_config, &radius_auth_module); + ap_get_module_config (s->module_config, &auth_radius_module); conn_rec *c = r->connection; char errstr[MAX_STRING_LEN]; int min; @@ -1313,7 +1313,7 @@ ap_hook_check_user_id(authenticate_basic_user,NULL,aszPost,APR_HOOK_MIDDLE); } -module AP_MODULE_DECLARE_DATA radius_auth_module = +module AP_MODULE_DECLARE_DATA auth_radius_module = { STANDARD20_MODULE_STUFF, create_radius_dir_config, /* dir config creater */