aboutsummaryrefslogtreecommitdiff
path: root/www/mod_log_mysql
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-02-02 05:37:22 +0000
committerPatrick Li <pat@FreeBSD.org>2002-02-02 05:37:22 +0000
commitf764b1e0a5d6170590f14eccb34be949bb3e1952 (patch)
tree71b216b83cfa6d9985d1f7bdef98bd272954a9c4 /www/mod_log_mysql
parent5c1e5a6694eb50357d2794b998468d88b84e92e4 (diff)
downloadports-f764b1e0a5d6170590f14eccb34be949bb3e1952.tar.gz
ports-f764b1e0a5d6170590f14eccb34be949bb3e1952.zip
Notes
Diffstat (limited to 'www/mod_log_mysql')
-rw-r--r--www/mod_log_mysql/Makefile1
-rw-r--r--www/mod_log_mysql/files/patch-mod_log_mysql.c85
2 files changed, 84 insertions, 2 deletions
diff --git a/www/mod_log_mysql/Makefile b/www/mod_log_mysql/Makefile
index dd416ebe1d83..5d0772beeba8 100644
--- a/www/mod_log_mysql/Makefile
+++ b/www/mod_log_mysql/Makefile
@@ -6,6 +6,7 @@
PORTNAME= mod_log_mysql
PORTVERSION= 1.13
+PORTREVISION= 1
CATEGORIES= www databases
MASTER_SITES= http://www.grubbybaby.com/mod_log_mysql/
diff --git a/www/mod_log_mysql/files/patch-mod_log_mysql.c b/www/mod_log_mysql/files/patch-mod_log_mysql.c
index 1abd8257ea86..0ae52e1ea56b 100644
--- a/www/mod_log_mysql/files/patch-mod_log_mysql.c
+++ b/www/mod_log_mysql/files/patch-mod_log_mysql.c
@@ -1,5 +1,86 @@
---- mod_log_mysql.c.orig Sun Jan 27 20:03:27 2002
-+++ mod_log_mysql.c Sun Jan 27 20:03:47 2002
+--- mod_log_mysql.c.orig Fri Feb 1 11:02:55 2002
++++ mod_log_mysql.c Fri Feb 1 11:03:36 2002
+@@ -31,7 +31,7 @@
+
+
+ /* DECLARATIONS */
+-module mysql_log_module;
++module log_mysql_module;
+
+ MYSQL sql_server, *mysql_log = NULL;
+
+@@ -539,7 +539,7 @@
+
+ const char *set_referer_log_mysql_table(cmd_parms *parms, void *dummy, char *arg)
+ {
+- log_mysql_state *cls = get_module_config(parms->server->module_config, &mysql_log_module);
++ log_mysql_state *cls = get_module_config(parms->server->module_config, &log_mysql_module);
+
+ cls->referer_table_name = arg;
+ return NULL;
+@@ -548,7 +548,7 @@
+
+ const char *set_agent_log_mysql_table(cmd_parms *parms, void *dummy, char *arg)
+ {
+- log_mysql_state *cls = get_module_config(parms->server->module_config, &mysql_log_module);
++ log_mysql_state *cls = get_module_config(parms->server->module_config, &log_mysql_module);
+
+ cls->agent_table_name = arg;
+ return NULL;
+@@ -557,7 +557,7 @@
+
+ const char *set_transfer_log_mysql_table(cmd_parms *parms, void *dummy, char *arg)
+ {
+- log_mysql_state *cls = get_module_config(parms->server->module_config, &mysql_log_module);
++ log_mysql_state *cls = get_module_config(parms->server->module_config, &log_mysql_module);
+
+ cls->transfer_table_name = arg;
+ return NULL;
+@@ -566,7 +566,7 @@
+
+ const char *set_transfer_log_format(cmd_parms *parms, void *dummy, char *arg)
+ {
+- log_mysql_state *cls = get_module_config(parms->server->module_config, &mysql_log_module);
++ log_mysql_state *cls = get_module_config(parms->server->module_config, &log_mysql_module);
+
+ cls->transfer_log_format = arg;
+ return NULL;
+@@ -604,7 +604,7 @@
+ {
+ char **addme;
+ log_mysql_state *cls = get_module_config(parms->server->module_config,
+- &mysql_log_module);
++ &log_mysql_module);
+
+ addme = push_array(cls->referer_ignore_list);
+ *addme = pstrdup(cls->referer_ignore_list->pool, arg);
+@@ -615,7 +615,7 @@
+ {
+ char **addme;
+ log_mysql_state *cls = get_module_config(parms->server->module_config,
+- &mysql_log_module);
++ &log_mysql_module);
+
+ addme = push_array(cls->transfer_ignore_list);
+ *addme = pstrdup(cls->transfer_ignore_list->pool, arg);
+@@ -626,7 +626,7 @@
+ {
+ char **addme;
+ log_mysql_state *cls = get_module_config(parms->server->module_config,
+- &mysql_log_module);
++ &log_mysql_module);
+
+ addme = push_array(cls->remhost_ignore_list);
+ *addme = pstrdup(cls->remhost_ignore_list->pool, arg);
+@@ -702,7 +702,7 @@
+ {
+ char **ptrptr, **ptrptr2;
+ log_mysql_state *cls = get_module_config(orig->server->module_config,
+- &mysql_log_module);
++ &log_mysql_module);
+ char *str;
+ const char *referer;
+ request_rec *r;
@@ -856,7 +856,7 @@