Search
j0ke.net Open Build Service
>
Projects
>
Apache
:
Modules
>
apache2-mod_auth_openid
> fix_modulename.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File fix_modulename.patch of Package apache2-mod_auth_openid
Index: mod_auth_openid-0.6/mod_auth_openid.cpp =================================================================== --- mod_auth_openid-0.6.orig/mod_auth_openid.cpp +++ mod_auth_openid-0.6/mod_auth_openid.cpp @@ -31,7 +31,7 @@ Created by bmuller <bmuller@butterfat.ne #define APWARN(r, msg, ...) ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, msg, __VA_ARGS__); #define APERR(r, msg, ...) ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, msg, __VA_ARGS__); -extern "C" module AP_MODULE_DECLARE_DATA authopenid_module; +extern "C" module AP_MODULE_DECLARE_DATA auth_openid_module; typedef struct { const char *db_location; @@ -415,7 +415,7 @@ static int validate_authentication_sessi static int mod_authopenid_method_handler(request_rec *r) { modauthopenid_config *s_cfg; - s_cfg = (modauthopenid_config *) ap_get_module_config(r->per_dir_config, &authopenid_module); + s_cfg = (modauthopenid_config *) ap_get_module_config(r->per_dir_config, &auth_openid_module); // if we're not enabled for this location/dir, decline doing anything const char *current_auth = ap_auth_type(r); @@ -455,7 +455,7 @@ static int mod_authopenid_method_handler static int mod_authopenid_check_user_access(request_rec *r) { modauthopenid_config *s_cfg; - s_cfg = (modauthopenid_config *) ap_get_module_config(r->per_dir_config, &authopenid_module); + s_cfg = (modauthopenid_config *) ap_get_module_config(r->per_dir_config, &auth_openid_module); char *user = r->user; int m = r->method_number; int required_user = 0; @@ -501,7 +501,7 @@ static void mod_authopenid_register_hook } //module AP_MODULE_DECLARE_DATA -module AP_MODULE_DECLARE_DATA authopenid_module = { +module AP_MODULE_DECLARE_DATA auth_openid_module = { STANDARD20_MODULE_STUFF, create_modauthopenid_config, NULL, // config merge function - default is to override Index: mod_auth_openid-0.6/Makefile.am =================================================================== --- mod_auth_openid-0.6.orig/Makefile.am +++ mod_auth_openid-0.6/Makefile.am @@ -18,8 +18,8 @@ db_info_LDFLAGS = -lmodauthopenid db_info_DEPENDENCIES = libmodauthopenid.la install-exec-local: - ${APXS} -i -a -n 'authopenid' mod_auth_openid.la + ${APXS} -i -a mod_auth_openid.la mod_auth_openid.la: libmodauthopenid.la ${APXS} -c -o $@ $< ${APACHE_CFLAGS} ${OPKELE_CFLAGS} ${OPKELE_LIBS} \ - ${SQLITE3_CFLAGS} ${PCRE_LIBS} ${CURL_LIBS} \ No newline at end of file + ${SQLITE3_CFLAGS} ${PCRE_LIBS} ${CURL_LIBS}