aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-02-02 13:37:22 +0800
committerpat <pat@FreeBSD.org>2002-02-02 13:37:22 +0800
commiteba6320a09fa9951085463210e2a47b2118a6db2 (patch)
treefe7a5e167aff3589e4e3ae3ecf14e929075bce02 /www
parent44854c0bc9c49aa5eaf3c653ffec926f39b73e0e (diff)
downloadfreebsd-ports-gnome-eba6320a09fa9951085463210e2a47b2118a6db2.tar.gz
freebsd-ports-gnome-eba6320a09fa9951085463210e2a47b2118a6db2.tar.zst
freebsd-ports-gnome-eba6320a09fa9951085463210e2a47b2118a6db2.zip
Fix breakage that would cause this module to not work at all
Bump PORTREVISION. PR: 34522 Submitted by: maintainer
Diffstat (limited to 'www')
-rw-r--r--www/mod_log_mysql/Makefile1
-rw-r--r--www/mod_log_mysql/files/patch-mod_log_mysql.c85
-rw-r--r--www/mod_log_sql/Makefile1
-rw-r--r--www/mod_log_sql/files/patch-mod_log_mysql.c85
4 files changed, 168 insertions, 4 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 @@
diff --git a/www/mod_log_sql/Makefile b/www/mod_log_sql/Makefile
index dd416ebe1d83..5d0772beeba8 100644
--- a/www/mod_log_sql/Makefile
+++ b/www/mod_log_sql/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_sql/files/patch-mod_log_mysql.c b/www/mod_log_sql/files/patch-mod_log_mysql.c
index 1abd8257ea86..0ae52e1ea56b 100644
--- a/www/mod_log_sql/files/patch-mod_log_mysql.c
+++ b/www/mod_log_sql/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 @@