head	1.29;
access;
symbols
	RELEASE_9_0_0:1.28
	RELEASE_7_4_0:1.23
	RELEASE_8_2_0:1.23
	RELEASE_6_EOL:1.23
	RELEASE_8_1_0:1.23
	RELEASE_7_3_0:1.18
	RELEASE_8_0_0:1.18
	RELEASE_7_2_0:1.16
	RELEASE_7_1_0:1.16
	RELEASE_6_4_0:1.16
	RELEASE_5_EOL:1.15
	RELEASE_7_0_0:1.14
	RELEASE_6_3_0:1.14
	PRE_XORG_7:1.14
	RELEASE_4_EOL:1.14
	RELEASE_6_2_0:1.14
	RELEASE_6_1_0:1.14
	RELEASE_5_5_0:1.14
	RELEASE_6_0_0:1.12
	RELEASE_5_4_0:1.12
	RELEASE_4_11_0:1.11
	RELEASE_5_3_0:1.10
	RELEASE_4_10_0:1.9
	RELEASE_5_2_1:1.7
	RELEASE_5_2_0:1.7
	RELEASE_4_9_0:1.6;
locks; strict;
comment	@# @;


1.29
date	2012.01.01.19.30.39;	author ohauer;	state dead;
branches;
next	1.28;

1.28
date	2011.11.02.03.43.32;	author pgollucci;	state Exp;
branches;
next	1.27;

1.27
date	2011.09.07.03.00.38;	author pgollucci;	state Exp;
branches;
next	1.26;

1.26
date	2011.08.27.09.54.31;	author ohauer;	state Exp;
branches;
next	1.25;

1.25
date	2011.07.02.16.04.28;	author ohauer;	state Exp;
branches;
next	1.24;

1.24
date	2011.03.19.13.15.31;	author ale;	state Exp;
branches;
next	1.23;

1.23
date	2010.06.07.03.43.54;	author pgollucci;	state Exp;
branches;
next	1.22;

1.22
date	2010.06.07.03.33.28;	author pgollucci;	state Exp;
branches;
next	1.21;

1.21
date	2010.06.07.03.29.27;	author pgollucci;	state Exp;
branches;
next	1.20;

1.20
date	2010.06.07.03.22.47;	author pgollucci;	state Exp;
branches;
next	1.19;

1.19
date	2010.05.25.20.17.26;	author pgollucci;	state Exp;
branches;
next	1.18;

1.18
date	2009.08.22.00.38.12;	author amdmi3;	state Exp;
branches;
next	1.17;

1.17
date	2009.05.17.07.24.25;	author pgollucci;	state Exp;
branches;
next	1.16;

1.16
date	2008.06.06.14.07.01;	author edwin;	state Exp;
branches;
next	1.15;

1.15
date	2008.04.16.12.06.57;	author dinoex;	state Exp;
branches;
next	1.14;

1.14
date	2005.12.04.20.51.08;	author clement;	state Exp;
branches;
next	1.13;

1.13
date	2005.09.19.09.25.31;	author clement;	state Exp;
branches;
next	1.12;

1.12
date	2005.01.31.00.35.54;	author girgen;	state Exp;
branches;
next	1.11;

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

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

1.9
date	2004.02.04.05.09.30;	author marcus;	state Exp;
branches;
next	1.8;

1.8
date	2004.01.13.15.04.48;	author clement;	state Exp;
branches;
next	1.7;

1.7
date	2003.11.07.09.12.50;	author marcus;	state Exp;
branches;
next	1.6;

1.6
date	2003.08.28.12.14.21;	author edwin;	state Exp;
branches;
next	1.5;

1.5
date	2003.08.05.05.30.14;	author daichi;	state Exp;
branches;
next	1.4;

1.4
date	2003.07.30.10.29.50;	author krion;	state Exp;
branches;
next	1.3;

1.3
date	2003.07.26.13.26.32;	author oliver;	state Exp;
branches;
next	1.2;

1.2
date	2003.07.25.17.19.36;	author oliver;	state Exp;
branches;
next	1.1;

1.1
date	2003.07.24.19.28.51;	author oliver;	state Exp;
branches;
next	;


desc
@@


1.29
log
@- remove apache13 and ports depending on apache13 from portstree
  ( EXPIRATION_DATE=2012-01-01 )

with hat apache@@
@
text
@# New ports collection makefile for:	mod_accounting
# Date created:				15 November 2002
# Whom:					Clment Lafort <sheepkiller@@cultdeadsheep.org>
#
# $FreeBSD: ports/www/mod_accounting/Makefile,v 1.28 2011/11/02 03:43:32 pgollucci Exp $
#

PORTNAME=	mod_accounting
PORTVERSION=	0.5
PORTREVISION=	8
CATEGORIES=	www
MASTER_SITES=	SF/mod-acct/mod-acct/${PORTVERSION}
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}

MAINTAINER=	apache@@FreeBSD.org
COMMENT=	An Apache module that records traffic statistics into a database

MAKE_JOBS_SAFE=  yes

OPTIONS=	MYSQL	"Enable MySQL support" on \
			PGSQL	"Enable PGSQL support" off

DEPRECATED=	apache13 is deprecated, migrate to 2.2.x+ now
EXPIRATION_DATE=	2012-01-01

USE_APACHE=	13
MAKE_ARGS+=	APXS="${APXS}"

.include <bsd.port.options.mk>

.if defined(WITH_PGSQL)
USE_PGSQL=	YES
AP_EXTRAS+=	-DNEED_PGSQL
.endif

.if defined(WITH_MYSQL)
USE_MYSQL=	YES
AP_EXTRAS+=	-DNEED_MYSQL
.endif

AP_FAST_BUILD=	yes
AP_GENPLIST=	yes
PLIST_FILES+=	%%DATADIR%%/schema.sql
PLIST_DIRS+=	%%DATADIR%%

PORTDOCS=		README FAQ.txt LICENSE

post-install:
	@@${MKDIR} ${DATADIR}/
	${INSTALL_DATA} ${WRKSRC}/schema.sql ${DATADIR}/
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}/
.for doc in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}/
.endfor
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.28
log
@- sync apache13 related EXPIRATION_DATE

With Hat:	apache@@
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.27
log
@- Set EXPIRATION_DATE to an actual date (9.0 is behind, so guess 2 months from now).
- This can be changed later as needed, if at all, either way we won't remove them
  until after 9.0 is released.

With Hat:   apache@@
Reported by:    dvl via freshports
@
text
@d24 1
a24 1
EXPIRATION_DATE=	2011-11-01
@


1.26
log
@- set EXPIRATION_DATE to "one week after FreeBSD 9.0-RELEASE-p0"

with hat apache@@
@
text
@d24 1
a24 1
EXPIRATION_DATE=	one week after FreeBSD 9.0-RELEASE-p0
@


1.25
log
@- fix a typo /WIT_PGSQL/WITH_PGSQL/
@
text
@d23 3
@


1.24
log
@Bump PORTREVISION for ports linking to default libmysqlclient.
@
text
@d28 1
a28 1
.if defined(WIT_PGSQL)
@


1.23
log
@- And finally, convert to AP_FAST_BUILD/AP_GENPLIST
@
text
@d10 1
a10 1
PORTREVISION=	7
@


1.22
log
@- Lets only link one db backend in by default
- Bump PORTREVISION
@
text
@d28 1
a28 3
.if defined(WITHOUT_PGSQL)
MAKE_ARGS+=	WITHOUT_PGSQL=YES
.else
d30 1
d33 1
a33 3
.if defined(WITHOUT_MYSQL)
MAKE_ARGS+=	WITHOUT_MYSQL=YES
.else
d35 1
d38 5
@


1.21
log
@- Convert from pre-everything to OPTIONS
@
text
@d10 1
a10 1
PORTREVISION=	6
d21 1
a21 1
			PGSQL	"Enable PGSQL support" on
@


1.20
log
@- Use PORTDOCS and DATADIR (no-ops)
@
text
@d20 3
d26 2
a41 6
pre-everything::
	@@${ECHO} ""
	@@${ECHO} "      WITHOUT_MYSQL        Disable MySQL support"
	@@${ECHO} "      WITHOUT_PGSQL        Disable PostgreSQL support"
	@@${ECHO} ""

@


1.19
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
@d35 1
a35 1
DOCS=		README FAQ.txt LICENSE
d44 2
a45 2
	@@${MKDIR} ${PREFIX}/share/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/schema.sql ${PREFIX}/share/${PORTNAME}
d47 3
a49 3
	@@${MKDIR} ${DOCSDIR}
.for doc in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
@


1.18
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d13 1
@


1.17
log
@- Mark SAFE apache@@ ports MAKE_JOBS_SAFE=yes
@
text
@d12 1
a12 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	mod-acct
@


1.16
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d18 2
@


1.15
log
@- fix Incorrect parsing structure fields in mod_accounting, func BytesRecvd() on empty request.
PR:		89308
Submitted by:	Andrey Yakovlev
@
text
@d10 1
a10 1
PORTREVISION=	5
@


1.14
log
@- Convert to new USE_APACHE
- Add SHA256
@
text
@d10 1
a10 1
PORTREVISION=	4
@


1.13
log
@- Use USE_APACHE
@
text
@d18 1
a18 1
USE_APACHE=	YES
@


1.12
log
@Split the postgresql ports into a server and a client part.

All ports depending on postgresql shall use the USE_PGSQL=yes knob
defined in Mk/bsd.ports.mk. Bumping portrevisions where needed.

PR:		75344
Approved by:	portmgr@@ (kris), ade & sean (mentors)
@
text
@d18 1
a18 2
BUILD_DEPENDS+=	${APXS}:${PORTSDIR}/${APACHE_PORT}

@


1.11
log
@- Fix plist and use DATADIR

Reported by:	pointyhat via kris
Approved by:	portmgr
Pointy hat to:	me
@
text
@d25 1
a25 1
LIB_DEPENDS+=	pq.3:${PORTSDIR}/databases/postgresql7
@


1.10
log
@- Assign maintainership to freshly created apache@@ mailing list
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.9
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d15 1
a15 1
MAINTAINER=	clement@@FreeBSD.org
@


1.8
log
@- Update my email address

Approved and reviewed by:    erwin (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.7
log
@Use the new Apache bits from bsd.port.mk.

Submitted by:	dinoex
@
text
@d15 1
a15 1
MAINTAINER=	sheepkiller@@cultdeadsheep.org
@


1.6
log
@[update ports]: Use USE_MYSQL and USE_OPENLDAP in my ports

	www/mod_accounting [1]
	mail/perdition [2]
	security/prelude-manager [3]

PR:		ports/56026
Submitted by:	Clement Laforet <sheepkiller@@cultdeadsheep.org>
@
text
@d18 1
a18 1
BUILD_DEPENDS+=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
a20 1
APXS?=		${LOCALBASE}/sbin/apxs
@


1.5
log
@update www/mod_accounting: CVS version, which is in port is not usable

PR:		55211
Submitted by:	Clement Laforet <sheepkiller@@cultdeadsheep.org> (maintainer)
Pointed out by:	Alexandr Kovalenko <never@@nevermind.kiev.ua>
@
text
@a22 19
# MySQL deps hack
MYSQL323_LIBVER=10
MYSQL40_LIBVER=	12
MYSQL41_LIBVER=	14

.include <bsd.port.pre.mk>

.if defined(WITH_MYSQL_VER)
MYSQL_VER=	${WITH_MYSQL_VER}
.elif exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.${MYSQL_323_LIBVER})
MYSQL_VER=	323
.elif exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.${MYSQL40_LIBVER})
MYSQL_VER=	40
.elif exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.${MYSQL41_LIBVER})
MYSQL_VER=	41
.else
MYSQL_VER=	323
.endif

d32 1
a32 1
LIB_DEPENDS+=	mysqlclient.${MYSQL${MYSQL_VER}_LIBVER}:${PORTSDIR}/databases/mysql${MYSQL_VER}-client
a38 6
	@@${ECHO} "You may use the following build options:"
	@@${ECHO} ""
	@@${ECHO} "      WITH_MYSQL_VER=323   Enable MySQL 3.23 support (default)"
	@@${ECHO} "      WITH_MYSQL_VER=40    Enable MySQL 4.0 support"
	@@${ECHO} "      WITH_MYSQL_VER=41    Enable MySQL 4.1 support"
	@@${ECHO} ""
d54 1
a54 1
.include <bsd.port.post.mk>
@


1.4
log
@- update to cvs version
- fix typo

PR:		55042
Submitted by:	maintainer
Approved by:	fjoe (mentor) (implicit)
@
text
@d10 1
a10 1
PORTREVISION=	1
a14 4
PATCH_SITES=	http://www.cultdeadsheep.org/FreeBSD/ports/download/distfiles/
PATCHFILES=	mod_accounting-patch-0.5_to_0.6-cvs.gz
PATCH_DIST_STRIP=-p1

d54 1
a54 1
DOCS=		README docs/FAQ.txt LICENSE
a65 1
	@@${ECHO} "      WITHOUT_PLAINTEXT    Disable file (plain text) support"
d70 1
a70 1
	${INSTALL_DATA} ${WRKSRC}/docs/schema.sql ${PREFIX}/share/${PORTNAME}
@


1.3
log
@fix DOCS installation

Noted by:	Jeremy Chadwick <freebsd@@jdc.parodius.com>
Approved by:	maintainer (implicit)
@
text
@d10 1
d15 4
a45 1

d58 1
a58 1
DOCS=		README FAQ.txt LICENSE
d70 1
d75 1
a75 1
	${INSTALL_DATA} ${WRKSRC}/schema.sql ${PREFIX}/share/${PORTNAME}
@


1.2
log
@add support for MySQL 4.0 and 4.1

Submitted by:	Jeremy Chadwick <freebsd@@jdc.parodius.com>, maintainer, oliver
Approved by:	maintainer
@
text
@d54 2
d73 3
a75 3
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/FAQ.txt
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/LICENSE
@


1.1
log
@Add mod_accounting 0.5,
an Apache module that records traffic
statistics into a database.

PR:		45502
Submitted by:	Clment Lafort <sheepkiller@@cultdeadsheep.org>
@
text
@d22 20
d51 1
a51 1
LIB_DEPENDS+=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
d54 11
a64 7
pre-everything:
	@@${ECHO} "*-----------------------------------------*"
	@@${ECHO} "To disable MySQL support just define :"
	@@${ECHO} "	WITHOUT_MYSQL=YES"
	@@${ECHO} "To disable PostgreSQL support just define :"
	@@${ECHO} "	WITHOUT_PGSQL=YES"
	@@${ECHO} "*-----------------------------------------*"
d77 1
a77 1
.include <bsd.port.mk>
@

