head	1.19;
access;
symbols
	RELEASE_8_3_0:1.17
	RELEASE_9_0_0:1.17
	RELEASE_7_4_0:1.15
	RELEASE_8_2_0:1.15
	RELEASE_6_EOL:1.15
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.10
	RELEASE_7_2_0:1.6
	RELEASE_7_1_0:1.6
	RELEASE_6_4_0:1.6
	RELEASE_5_EOL:1.6
	RELEASE_7_0_0:1.6
	RELEASE_6_3_0:1.6
	PRE_XORG_7:1.6
	RELEASE_4_EOL:1.5;
locks; strict;
comment	@# @;


1.19
date	2012.11.17.06.02.41;	author svnexp;	state Exp;
branches;
next	1.18;

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

1.17
date	2011.03.19.13.15.33;	author ale;	state Exp;
branches;
next	1.16;

1.16
date	2011.03.07.15.59.27;	author clsung;	state Exp;
branches;
next	1.15;

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

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

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

1.12
date	2010.05.05.21.54.06;	author pgollucci;	state Exp;
branches;
next	1.11;

1.11
date	2009.12.27.01.45.01;	author pgollucci;	state Exp;
branches;
next	1.10;

1.10
date	2009.07.10.00.36.46;	author pgollucci;	state Exp;
branches;
next	1.9;

1.9
date	2009.06.13.20.56.57;	author linimon;	state Exp;
branches;
next	1.8;

1.8
date	2009.05.31.20.31.07;	author pav;	state Exp;
branches;
next	1.7;

1.7
date	2009.05.21.20.45.31;	author pgollucci;	state Exp;
branches;
next	1.6;

1.6
date	2007.04.09.04.52.15;	author scrappy;	state Exp;
branches;
next	1.5;

1.5
date	2006.12.20.11.51.54;	author erwin;	state Exp;
branches;
next	1.4;

1.4
date	2006.12.19.15.24.42;	author scrappy;	state Exp;
branches;
next	1.3;

1.3
date	2006.11.28.22.20.54;	author scrappy;	state Exp;
branches;
next	1.2;

1.2
date	2006.11.21.02.23.59;	author scrappy;	state Exp;
branches;
next	1.1;

1.1
date	2006.11.20.06.13.45;	author scrappy;	state Exp;
branches;
next	;


desc
@@


1.19
log
@Switch exporter over
@
text
@# Created by: Marc G. Fournier <scrappy@@freebsd.org>
# $FreeBSD: head/www/mod_log_sql2-dtc/Makefile 304723 2012-09-22 21:15:50Z ohauer $

PORTNAME=	mod_log_sql
PORTVERSION=	1.101
PORTREVISION=	5
CATEGORIES=	www databases
MASTER_SITES=	http://www.outoforder.cc/downloads/${PORTNAME}/
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
PKGNAMESUFFIX=	-dtc

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

MAKE_JOBS_SAFE=	yes

LATEST_LINK=	mod_log_sql2-dtc
GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_GMAKE=	yes
USE_APACHE=	22
CONFIGURE_ARGS+=	--with-apxs=${APXS}
SSL_PLIST=	""
PLIST_SUB+=	SSL=${SSL_PLIST}

USE_MYSQL=	yes
CONFIGURE_ENV+=	LIBS="-L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql"

.include <bsd.port.pre.mk>
.if defined(WITH_DBI) || exists(${LOCALBASE}/include/dbi/dbi.h)
CONFIGURE_ARGS+=	--with-dbi=${LOCALBASE}
LIB_DEPENDS+=		dbi.1:${PORTSDIR}/databases/libdbi
.endif

.include <bsd.port.post.mk>
@


1.18
log
@SVN rev 304723 on 2012-09-22 21:15:50Z by ohauer

- USE_APACHE= s/22+/22/
- adopt new Makefile header

Port build fails on local exp-run with apache24 with
 error: 'conn_rec' has no member named 'remote_ip'

or various other apache22 specific functions/parameters

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


1.17
log
@Bump PORTREVISION for ports linking to default libmysqlclient.
@
text
@d1 1
a1 4
# New ports collection makefile for:	mod_log_sql2-dtc
# Date created:				2006/11/20
# Whom:					Marc G. Fournier <scrappy@@freebsd.org>
#
d21 1
a21 1
USE_APACHE=	22+
@


1.16
log
@- dbi.0 => dbi.1
- bump PORTREVISION
@
text
@d9 1
a9 1
PORTREVISION=	4
@


1.15
log
@- Fix bytes_sent bug [1]
- Fix a apache scoreboard bug

PR:              ports/150296, ports/121134
Submitted by:    Charles Sprickman <css@@morefoo.com>
Obtained from:   Fernando Kiernan, http://www.imagenesdigitales.com.ar/ [1]
@
text
@d9 1
a9 1
PORTREVISION=	3
d35 1
a35 1
LIB_DEPENDS+=		dbi.0:${PORTSDIR}/databases/libdbi
@


1.14
log
@Mk/bsd.apache.mk can not sufficiently alter things before Mk/bsd.options.mk
in Mk/bsd.ports.mk due to ordering in Mk/bsd.port.mk.  This causes OPTIONSFILE
to be incorrectly set during some make phases as a result of the recent
PKGNAMEPREFIX for apache ports.

'Revert' some of the PKGNAMEPREFIX changes for apXX-.
   - Must be manually requested in tbe port Makefile either by
     a) AP_FAST_BUILD=yes
     b) PKGNAMEPREFIX=${APACHE_PKGNAMEPREFIX}
   - Going forward, we will only do this for ports where WITH_APACHE
       is NOT optional, but required.  mod_* ports are a good fit.

141 ports are mod_ ports
  80 of those use AP_FAST_BUILD and thus are auto hooked by this patch [a].
  61 remaining are then patched to mirror the other $lang frameworks [b].

PR:             ports/146956
Reported by:    Hans F. Nordhaug <Hans.F.Nordhaug@@hiMolde.no>, several
Discussed with: pav, itectu on #bsdports
Tested by:      P6 TB run
Approved by:    portmgr (pav)
@
text
@d9 1
a9 1
PORTREVISION=	2
@


1.13
log
@- Chase devel/apr -> devel/apr1 shuffling

PR:             ports/146553
Submitted by:   myself (pgollucci@@)
With Hat:       apache@@
@
text
@d12 1
@


1.12
log
@5/5: Chase www/apache22 (bundled apr shlib bump)

PR:             ports/146130
Approved by:    portmgr (pav)
Tested by:      -exp run (pav)
With Hat:       apache@@
@
text
@d9 1
a9 1
PORTREVISION=	1
@


1.11
log
@- Update to 1.101
@
text
@d9 1
@


1.10
log
@- pass to apache@@
@
text
@d8 1
a8 2
PORTVERSION=	1.100
PORTREVISION=	3
d16 1
a16 1
MAKE_JOBS_SAFE=  yes
@


1.9
log
@scrappy's bit has been taken for safekeeping, so return these ports to
the pool.

Hat:		portmgr
@
text
@d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.8
log
@- Resolve LATEST_LINK conflict
@
text
@d14 1
a14 1
MAINTAINER=	scrappy@@freebsd.org
@


1.7
log
@- Mark remaining mod_* ports MAKE_JOBS_SAFE=yes

PR:             ports/134611
Approved by:    pav (#bsdports)
@
text
@d19 1
a19 1
LATEST_LINK=	mod_log_sql2
@


1.6
log
@Ensure that this builds with Apache 2.2.x ...
@
text
@d17 2
@


1.5
log
@Back out previous commit as it breaks INDEX.

Hat:		portmgr
@
text
@d9 1
a9 1
PORTREVISION=	2
d21 1
a33 12
.include "${PORTSDIR}/www/apache20/Makefile.modules.3rd"
.   if ${AP_VER} == 13
WITHOUT_SSL=	YES
.   endif
.if defined(WITHOUT_SSL)
CONFIGURE_ARGS+=	--disable-ssl
SSL_PLIST=	"@@comment "
.else
.if !exists(${LOCALBASE}/include/apache2/mod_ssl.h)
BROKEN=		Please recompile apache2 with SSL support
.endif
.endif
@


1.4
log
@Add USE_APACHE=2.2+, else it tries to build Apache1.3 is nothing is installed
yet  ...
@
text
@d9 1
a9 1
PORTREVISION=	1
a20 1
USE_APACHE=	2.2+
@


1.3
log
@PKGNAMESUFFIX needs a - before the string ...
@
text
@d9 1
d21 1
@


1.2
log
@re-Add PKGNAMESUFFIX=dtc
@
text
@d11 1
a11 1
PKGNAMESUFFIX=	dtc
@


1.1
log
@DTC specific port of mod_log_sql2 ...
@
text
@d11 1
@

