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


1.21
date	2012.01.01.19.30.42;	author ohauer;	state dead;
branches;
next	1.20;

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

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

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

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

1.16
date	2011.01.18.20.47.43;	author ohauer;	state Exp;
branches;
next	1.15;

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

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

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

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

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

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

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

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

1.7
date	2004.08.18.16.21.47;	author clement;	state Exp;
branches;
next	1.6;

1.6
date	2004.01.13.15.04.50;	author clement;	state Exp;
branches;
next	1.5;

1.5
date	2003.12.18.16.22.57;	author clement;	state Exp;
branches;
next	1.4;

1.4
date	2003.11.07.09.12.51;	author marcus;	state Exp;
branches;
next	1.3;

1.3
date	2003.10.14.07.21.23;	author erwin;	state Exp;
branches;
next	1.2;

1.2
date	2003.09.09.12.41.33;	author osa;	state Exp;
branches;
next	1.1;

1.1
date	2003.07.03.15.13.09;	author erwin;	state Exp;
branches;
next	;


desc
@@


1.21
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_bandwidth
# Date created:				2 July 2003
# Whom:					Clement Laforet <sheepkiller@@cultdeadsheep.org>
#
# $FreeBSD: ports/www/mod_bandwidth/Makefile,v 1.20 2011/11/02 03:43:34 pgollucci Exp $
#

#Orignal locations: ftp://ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c
#                   ftp://ftp.cohprog.com/pub/apache/module/cleanlink.pl

PORTNAME=	mod_bandwidth
PORTVERSION=	2.1.0
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	ftp://ftp.cohprog.com/pub/apache/module/:1 \
		ftp://ftp.cohprog.com/pub/apache/module/
MASTER_SITE_SUBDIR=1.3.0/:1
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
EXTRACT_SUFX=	# none
## source files are only as .c and .pl available from upstream
DISTFILES=	mod_bandwidth.c:1 cleanlink.pl
DIST_SUBDIR=	apache
EXTRACT_ONLY=

MAINTAINER=	apache@@FreeBSD.org
COMMENT=	Bandwidth management module for the Apache webserver

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

MAKE_JOBS_SAFE=	yes

CONFLICTS=	apache-contrib-1.*

USE_PERL5=	YES
USE_APACHE=	13
AP_FAST_BUILD=	yes
AP_GENPLIST=	yes
NO_WRKSUBDIR=	yes

PLIST_FILES+=	sbin/cleanlink.pl

post-extract:
.for i in ${DISTFILES:C/:1//}
	@@${CP} ${DISTDIR}/${DIST_SUBDIR}/${i} ${WRKSRC}/
.endfor

post-install:
	@@${ECHO} "@@unexec ${SED} -i '' '/AddModule.*mod_bandwidth.c/d' %D/etc/apache/httpd.conf" >> ${TMPPLIST}
	@@${INSTALL_SCRIPT} ${WRKSRC}/cleanlink.pl ${LOCALBASE}/sbin
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.20
log
@- sync apache13 related EXPIRATION_DATE

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


1.19
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
@d29 1
a29 1
EXPIRATION_DATE=	2011-11-01
@


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

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


1.17
log
@- USE_APACHE=  /1.3/13/  /2.0/20/ /2.2/22/
@
text
@d28 3
@


1.16
log
@ - make port fetch able again, use single source files
   instead self rolled tar file.
 - bump PORTREVISION
 - fix leftover in httpd.conf

   Source files are identical to the one in the last
   mod_bandwidth-2.1.0.tar.gz file.

   Fetch issue reported by erwin (pointyhat run)

Feature safe:	yes
@
text
@d33 1
a33 1
USE_APACHE=	1.3
@


1.15
log
@- Fix some MASTER_SITES

With Hat:       apache@@
Reported by:    distilator
@
text
@d13 1
d15 3
a17 2
MASTER_SITES=	ftp://ftp.cohprog.com/pub/apache/module/1.3.0/
## only .c is available from upstream, ftp.fbsd has the tgz
d19 3
d23 1
d36 1
d40 5
d46 1
d48 1
a48 1
	${CAT} ${PKGMESSAGE}
@


1.14
log
@- Convert to AP_FAST_BUILD / AP_GENPLIST
- Pet Portlint
@
text
@d14 2
a15 1
MASTER_SITES=	http://potatohead.estat.com/FreeBSD/
@


1.13
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
@d8 3
a15 2
#Orignal locations: ftp://ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c
#                   ftp://ftp.cohprog.com/pub/apache/module/cleanlink.pl
d21 1
a21 1
MAKE_JOBS_SAFE=  yes
d23 3
d27 2
a28 3
USE_PERL5=	YES

CONFLICTS=	apache-contrib-1.*
d30 1
a30 2
do-build:
	@@(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c)
d32 1
a32 2
do-install:
	@@(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so)
@


1.12
log
@- Mark SAFE apache@@ ports MAKE_JOBS_SAFE=yes
@
text
@d12 1
@


1.11
log
@- Update to 2.1.0
@
text
@d19 2
@


1.10
log
@- Fix PORTVERSION
@
text
@d9 1
a9 1
PORTVERSION=	2.0.6.2
@


1.9
log
@- Update to 2.0.6.b
@
text
@d9 1
a9 1
PORTVERSION=	2.0.6.b
@


1.8
log
@- Update to 2.0.6
@
text
@d9 1
a9 1
PORTVERSION=	2.0.6
d11 1
a11 2
MASTER_SITES=	http://sheepkiller.nerim.net/ports/${PORTNAME}/ \
		http://www.cultdeadsheep.org/FreeBSD/ports/download/distfiles/
d19 1
a19 1
USE_APACHE=	YES
@


1.7
log
@- Assign maintainership to freshly created apache@@ mailing list
@
text
@d9 1
a9 1
PORTVERSION=	2.0.5
@


1.6
log
@- Update my email address

Approved and reviewed by:    erwin (mentor)
@
text
@d17 1
a17 1
MAINTAINER=	clement@@FreeBSD.org
@


1.5
log
@- Add CONFLICTS with apache-contrib-1.*

Approved by:    erwin (mentor)
@
text
@d17 1
a17 1
MAINTAINER=	sheepkiller@@cultdeadsheep.org
@


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

Submitted by:	dinoex
@
text
@d23 2
@


1.3
log
@- Resync with authors version (2.0.5)
- add cleanlink.pl
- fix package installation (module wasn't added to httpd.conf)
- use DIST_SUBDIR=apache

PR:		57915
Submitted by:	maintainer
@
text
@d20 1
a20 3
BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
RUN_DEPENDS=	${BUILD_DEPENDS}

a21 1
APXS?=		${LOCALBASE}/sbin/apxs
@


1.2
log
@Maintainer update: add a faster mirror for distfiles/patches.

Submitted by:	Clement Laforet <sheepkiller@@cultdeadsheep.org>
PR:		56628
@
text
@d9 1
a9 1
PORTVERSION=	2.0.4
d13 3
a15 1
EXTRACT_SUFX=   .c
d23 1
a23 2
NO_WRKSUBDIR=	YES

a25 4
do-extract:
	@@${MKDIR} ${WRKDIR}
	@@${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/${PORTNAME}.c

d31 1
@


1.1
log
@Add mod_bandwidth 2.0.4,
bandwidth management module for the Apache
webserver.

PR:		54044
Submitted by:	Clement Laforet <sheepkiller@@cultdeadsheep.org>
@
text
@d11 2
a12 1
MASTER_SITES=	http://www.cultdeadsheep.org/FreeBSD/ports/download/distfiles/
@

