head	1.21;
access;
symbols
	RELEASE_8_3_0:1.18
	RELEASE_9_0_0:1.18
	RELEASE_7_4_0:1.15
	RELEASE_8_2_0:1.15
	RELEASE_6_EOL:1.14
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.14
	RELEASE_8_0_0:1.14
	RELEASE_7_2_0:1.13
	RELEASE_7_1_0:1.12
	RELEASE_6_4_0:1.12
	RELEASE_5_EOL:1.12
	RELEASE_7_0_0:1.12
	RELEASE_6_3_0:1.12
	PRE_XORG_7:1.12
	RELEASE_4_EOL:1.12
	RELEASE_6_2_0:1.12
	RELEASE_6_1_0:1.11
	RELEASE_5_5_0:1.11
	RELEASE_6_0_0:1.10
	RELEASE_5_4_0:1.10
	RELEASE_4_11_0:1.10
	RELEASE_5_3_0:1.10
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.6
	RELEASE_5_0_0:1.5
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	RELEASE_5_0_DP1:1.4
	RELEASE_4_5_0:1.1;
locks; strict;
comment	@# @;


1.21
date	2012.11.17.06.02.41;	author svnexp;	state Exp;
branches;
next	1.20;

1.20
date	2012.09.24.20.55.01;	author ohauer;	state Exp;
branches;
next	1.19;

1.19
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.18;

1.18
date	2011.08.20.17.27.44;	author ohauer;	state Exp;
branches;
next	1.17;

1.17
date	2011.07.06.23.06.18;	author ohauer;	state Exp;
branches;
next	1.16;

1.16
date	2011.03.19.13.15.32;	author ale;	state Exp;
branches;
next	1.15;

1.15
date	2010.12.07.21.29.33;	author pgollucci;	state Exp;
branches;
next	1.14;

1.14
date	2009.05.17.07.24.32;	author pgollucci;	state Exp;
branches;
next	1.13;

1.13
date	2009.04.12.01.27.30;	author pgollucci;	state Exp;
branches;
next	1.12;

1.12
date	2006.05.11.17.52.29;	author clement;	state Exp;
branches;
next	1.11;

1.11
date	2005.12.04.00.18.12;	author clement;	state Exp;
branches;
next	1.10;

1.10
date	2004.08.18.16.21.51;	author clement;	state Exp;
branches;
next	1.9;

1.9
date	2004.05.02.20.12.55;	author clement;	state Exp;
branches;
next	1.8;

1.8
date	2003.07.12.19.07.53;	author lev;	state dead;
branches;
next	1.7;

1.7
date	2003.06.17.13.53.45;	author lev;	state Exp;
branches;
next	1.6;

1.6
date	2003.02.21.14.01.20;	author knu;	state Exp;
branches;
next	1.5;

1.5
date	2002.06.22.17.00.48;	author ijliao;	state Exp;
branches;
next	1.4;

1.4
date	2002.03.03.07.30.32;	author pat;	state Exp;
branches;
next	1.3;

1.3
date	2002.02.02.05.37.21;	author pat;	state Exp;
branches;
next	1.2;

1.2
date	2002.01.27.17.42.06;	author dwcjr;	state Exp;
branches;
next	1.1;

1.1
date	2001.11.25.09.22.45;	author petef;	state Exp;
branches;
next	;


desc
@@


1.21
log
@Switch exporter over
@
text
@# Created by: Clement Laforet <clement@@FreeBSD.org>
# $FreeBSD: head/www/mod_log_mysql/Makefile 304797 2012-09-24 20:55:01Z ohauer $

PORTNAME=	mod_log_mysql
PORTVERSION=	1.0
PORTREVISION=	3
CATEGORIES=	www
# Original location: http://bitbrook.de/software/mod_log_mysql/mod_log_mysql.c
# Please handle update requests with care!
# sheepkiller was hacked and not cleaned over a long periode.
# (First notice 2011-03 not cleaned until 2011-07)
# Provide distfile now from LOCAL
#MASTER_SITES=	http://sheepkiller.nerim.net/ports/${PORTNAME}/
MASTER_SITES=	LOCAL/ohauer
DIST_SUBDIR=	apache2

MAINTAINER=	apache@@FreeBSD.org
COMMENT=	Allows Apache 2 to log to a MySQL database

RUN_DEPENDS+=	${LOCALBASE}/${APACHEMODDIR}/mod_log_config-st.so:${PORTSDIR}/www/mod_log_config-st

MAKE_JOBS_SAFE=	yes

USE_APACHE=	22
AP_FAST_BUILD=	yes
AP_GENPLIST=	yes
USE_MYSQL=	yes

AP_INC+=	${LOCALBASE}/include/mysql
AP_LIB+=	${LOCALBASE}/lib/mysql -lmysqlclient

.include <bsd.port.mk>
@


1.20
log
@SVN rev 304797 on 2012-09-24 20:55:01Z by ohauer

- USE_APACHE s/22+/22/

some additional cleanups/fixes
- adopt new Makefile header
- convert to optionsNG
- use BROKEN instead IGNORE in bsd.apache.mk

with hat apache@@
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.19
log
@SVN rev 302724 on 2012-08-18 14:29:08Z by ohauer

- remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@@
@
text
@d1 1
a1 4
# New ports collection makefile for:	mod_mod_mysql
# Date created:				Sun May 2 2004
# Whom:					Clement Laforet <clement@@FreeBSD.org>
#
a2 1
#
d24 1
a24 1
USE_APACHE=	22+
@


1.18
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@d28 4
a31 4
USE_APACHE=	20+
AP_FAST_BUILD=	YES
AP_GENPLIST=	YES
USE_MYSQL=	YES
@


1.17
log
@- change MASTER_SITES to LOCAL/ohauer
- add a note about the last MASER_SITE which was hacked and not
  cleaned over a long period.

 (Noted by Jerry Walsh <jerry.walsh _at_ gmail.com> on apache@@)
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.16
log
@Bump PORTREVISION for ports linking to default libmysqlclient.
@
text
@d13 6
a18 1
MASTER_SITES=	http://sheepkiller.nerim.net/ports/${PORTNAME}/
@


1.15
log
@- enable auto-reconnect support

PR:             ports/152644
Submitted by:   Alex Samorukov <samm@@os2.kiev.ua>
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.14
log
@- Mark SAFE apache@@ ports MAKE_JOBS_SAFE=yes
@
text
@d10 1
d21 1
a21 1
MAKE_JOBS_SAFE=  yes
@


1.13
log
@- Fix compile with www/apache22
@
text
@d20 2
@


1.12
log
@- Get rid of Makefile.modules.3rd dependency
- And yes it works with www/apache22
@
text
@d18 1
a18 1
RUN_DEPENDS+=	${LOCALBASE}/libexec/apache2/mod_log_config-st.so:${PORTSDIR}/www/mod_log_config-st
@


1.11
log
@- prepare removal of www/apache2 in favor of www/apache20 for naming
  consistency
- add entries in UPDATING (for apache22 too)

PR:		ports/78119
Repocopied by:	marcus
@
text
@d20 1
a20 1
WANT_APACHE=	2
d28 1
a28 3
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/apache20/Makefile.modules.3rd"
.include <bsd.port.post.mk>
@


1.10
log
@- Assign maintainership to freshly created apache@@ mailing list
@
text
@d29 1
a29 1
.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
@


1.9
log
@Add mod_log_mysql 1.0.

mod_log_mysql is a module for the Apache 2 webserver which permits
request logging into a MySQL database.

Key features are:
    * Seamless integration into the standard Apache logging
      configuration.
    * Only one configuration line needed to start logging.
    * Free SQL use.
    * Multiple databases, database users and/or database servers.
    * Connection pooling, only one connection per log target per
      child process.
    * Logs data as it is: e.g. times as SQL DATETIME and n/a items
      as SQL NULL.
    * Won't loose data if the database server is down.

Note: this module requires mod_log_config-st

WWW: http://bitbrook.de/software/mod_log_mysql/
@
text
@d15 1
a15 1
MAINTAINER=	clement@@FreeBSD.org
@


1.8
log
@  www/mod_log_mysql -> www/mod_log_sql
  Renamed by author in latest version.
@
text
@d1 5
a5 3
# New ports collection makefile for:    apache mod_log_mysql
# Date created:		2001/11/22
# Whom:			lev@@serebryakov.spb.ru
a6 1
# $FreeBSD: ports/www/mod_log_mysql/Makefile,v 1.7 2003/06/17 13:53:45 lev Exp $
d9 22
a30 45
PORTVERSION=	1.16
CATEGORIES=	www databases
MASTER_SITES=	http://www.grubbybaby.com/mod_log_sql/
DISTFILES=	mod_log_sql-${PORTVERSION}

MAINTAINER=	lev@@FreeBSD.org
COMMENT=	Allows Apache to log to a MySQL database

BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/${AP_PORT}
LIB_DEPENDS=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
RUN_DEPENDS=	${LOCALBASE}/sbin/httpd:${PORTSDIR}/${AP_PORT}

WRKSRC=		${WRKDIR}/${PORTNAME}

AP_PORT?=	www/apache13
APXS?=		${LOCALBASE}/sbin/apxs

# Here is no mod_ssl by default
HAVE_MOD_SSL=

MOD_SSL_HEADER=	${LOCALBASE}/include/apache/mod_ssl.h

.if exists(${MOD_SSL_HEADER})
do-configure:
	@@${ECHO_MSG} "Make with mod_ssl support"
.else
do-configure:
	@@${ECHO_MSG} "Make without mod_ssl support"
	@@${PERL} -pi -e 's/#define WANT_SSL_LOGGING/#undef WANT_SSL_LOGGING/' ${WRKSRC}/mod_log_mysql.c
.endif

do-build:
	@@cd ${WRKSRC} && ${APXS} -c -o ${PORTNAME}.so -I${LOCALBASE}/include \
		-L${LOCALBASE}/lib/mysql -lmysqlclient ${PORTNAME}.c

do-install:
	cd ${WRKSRC} && ${APXS} -i -n${PORTNAME:S/^mod_//}  -A ${PORTNAME}.so
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for file in CONFIGURATION INSTALL README access_log.sql make_combined_log.pl
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
@


1.7
log
@Change MAINTAINER field of my ports to lev@@FReeBSD.org, my brand-new
committer's e-mail

Approved by:	sobomax
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.6
log
@De-pkg-comment.
@
text
@d13 1
a13 1
MAINTAINER=	lev@@serebryakov.spb.ru
@


1.5
log
@upgrade to 1.16

PR:		39122
Submitted by:	maintainer
@
text
@d14 1
@


1.4
log
@Update to 1.14

PR:		35478
Submitted by:	maintainer
@
text
@d8 1
a8 1
PORTVERSION=	1.14
d10 2
a11 1
MASTER_SITES=	http://www.grubbybaby.com/mod_log_mysql/
a29 1
HAVE_MOD_SSL=	-DWANT_SSL_LOGGING
d35 1
d40 1
a40 1
		-L${LOCALBASE}/lib/mysql -lmysqlclient -DMYSQLSOCKET=\\\"/tmp/mysql.sock\\\" ${HAVE_MOD_SSL} ${PORTNAME}.c
@


1.3
log
@Fix breakage that would cause this module to not work at all
Bump PORTREVISION.

PR:		34522
Submitted by:	maintainer
@
text
@d8 1
a8 2
PORTVERSION=	1.13
PORTREVISION=	1
@


1.2
log
@Update to 1.13

PR:		34342
Submitted by:	maintainer
@
text
@d9 1
@


1.1
log
@Add mod_log_mysql-1.09, allows Apache to log to a MySQL database

PR:		32192
Submitted by:	Lev Serebryakov <lev@@serebryakov.spb.ru>
@
text
@d8 1
a8 1
PORTVERSION=	1.09
a10 1
DISTNAME=	${PORTNAME}
d18 2
d23 14
d39 1
a39 1
		-L${LOCALBASE}/lib/mysql -lmysqlclient ${PORTNAME}.c
d42 1
a42 1
	cd ${WRKSRC} && ${APXS} -i -n ${PORTNAME:S/^mod_//} -A ${PORTNAME}.so
@

