ports/185585: [PATCH] www/mod_log_mysql - new MASTER_SITES, new maintainer, new version
C Hutchinson
portmaster at bsdforge.com
Wed Jan 8 16:20:01 UTC 2014
>Number: 185585
>Category: ports
>Synopsis: [PATCH] www/mod_log_mysql - new MASTER_SITES, new maintainer, new version
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 08 16:20:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: C Hutchinson
>Release: 8.4-STABLE amd64
>Organization:
>Environment:
FreeBSD udns 8.4-STABLE FreeBSD 8.4-STABLE #3: Tue Jul 2 13:41:21 PDT 2013 root at udns:/usr/obj/usr/src/sys/AMD64 amd64
>Description:
The current list for MASTER_SITES points to LOCAL/ohauer because the old MAINTAINER abandoned the source. As such, this port is destined for removal.
I can easily maintain the source for as long as the FreeBSD project, and it's users finds it a useful port.
>How-To-Repeat:
Attempt to install it.
>Fix:
USE the following in the Makefile, as well as replacing the current patch-mod_log_mysql.c with the one attached to this message.
IMPORTANT - I will also HOST www/mod_log_config-st as a dependency of this port.
See an additional PR.
Makefile:
PORTVERSION= 1.04
#PORTREVISION= 3
MASTER_SITES= http://bsdforge.com/projects/source/apache2/
Patch attached with submission follows:
--- mod_log_mysql.c 2014-01-07 18:35:25.910689055 -0800
+++ mod_log_mysql.c.new 2014-01-07 18:35:40.854250876 -0800
@@ -186,11 +186,13 @@
{
mysql_log *l = param;
MYSQL *db;
+ my_bool do_reconnect = 1;
db = apr_palloc(p, sizeof(MYSQL));
mysql_init(db);
mysql_options(db, MYSQL_READ_DEFAULT_GROUP, "mod_log_mysql");
+ mysql_options(db, MYSQL_OPT_RECONNECT,&do_reconnect);
if (! mysql_real_connect(db, l->host, l->user, l->passwd, l->database, l->port, l->socket, 0)) {
ap_log_perror(APLOG_MARK, APLOG_CRIT, 0, p, "log database %s: %s", l->uri, mysql_error(db));
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list