head	1.30;
access;
symbols
	RELEASE_9_0_0:1.29
	RELEASE_7_4_0:1.25
	RELEASE_8_2_0:1.25
	RELEASE_6_EOL:1.24
	RELEASE_8_1_0:1.24
	RELEASE_7_3_0:1.24
	RELEASE_8_0_0:1.24
	RELEASE_7_2_0:1.23
	RELEASE_7_1_0:1.21
	RELEASE_6_4_0:1.21
	RELEASE_5_EOL:1.21
	RELEASE_7_0_0:1.14
	RELEASE_6_3_0:1.14
	PRE_XORG_7:1.13
	RELEASE_4_EOL:1.12
	RELEASE_6_2_0:1.11
	RELEASE_6_1_0:1.10
	RELEASE_5_5_0:1.10
	RELEASE_6_0_0:1.9
	RELEASE_5_4_0:1.9
	RELEASE_4_11_0:1.9
	RELEASE_5_3_0:1.9
	RELEASE_4_10_0:1.8
	RELEASE_5_2_1:1.8
	RELEASE_5_2_0:1.8
	RELEASE_4_9_0:1.7
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.3;
locks; strict;
comment	@# @;


1.30
date	2012.01.01.19.30.45;	author ohauer;	state dead;
branches;
next	1.29;

1.29
date	2011.11.02.03.43.36;	author pgollucci;	state Exp;
branches;
next	1.28;

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

1.27
date	2011.08.27.09.54.34;	author ohauer;	state Exp;
branches;
next	1.26;

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

1.25
date	2011.01.21.17.11.23;	author erwin;	state Exp;
branches;
next	1.24;

1.24
date	2009.05.21.20.45.29;	author pgollucci;	state Exp;
branches;
next	1.23;

1.23
date	2009.03.11.21.16.49;	author leeym;	state Exp;
branches;
next	1.22;

1.22
date	2008.11.02.20.53.28;	author wxs;	state Exp;
branches;
next	1.21;

1.21
date	2008.05.03.08.49.07;	author rafan;	state Exp;
branches;
next	1.20;

1.20
date	2008.03.25.08.18.31;	author jadawin;	state Exp;
branches;
next	1.19;

1.19
date	2008.03.19.07.47.40;	author ache;	state Exp;
branches;
next	1.18;

1.18
date	2008.03.16.20.57.53;	author ache;	state Exp;
branches;
next	1.17;

1.17
date	2008.03.16.20.56.01;	author ache;	state Exp;
branches;
next	1.16;

1.16
date	2008.03.16.16.44.56;	author ache;	state Exp;
branches;
next	1.15;

1.15
date	2008.03.15.11.37.10;	author mm;	state Exp;
branches;
next	1.14;

1.14
date	2007.07.22.19.53.52;	author laszlof;	state Exp;
branches;
next	1.13;

1.13
date	2007.02.06.21.05.32;	author miwi;	state Exp;
branches;
next	1.12;

1.12
date	2006.12.13.16.14.17;	author linimon;	state Exp;
branches;
next	1.11;

1.11
date	2006.08.14.22.26.37;	author shaun;	state Exp;
branches;
next	1.10;

1.10
date	2005.09.16.00.07.28;	author pav;	state Exp;
branches;
next	1.9;

1.9
date	2004.05.30.07.19.41;	author leeym;	state Exp;
branches;
next	1.8;

1.8
date	2003.11.07.09.12.53;	author marcus;	state Exp;
branches;
next	1.7;

1.7
date	2003.09.04.21.10.47;	author seanc;	state Exp;
branches;
next	1.6;

1.6
date	2003.05.19.22.11.33;	author seanc;	state Exp;
branches;
next	1.5;

1.5
date	2003.05.18.09.54.35;	author kris;	state Exp;
branches;
next	1.4;

1.4
date	2003.05.16.18.14.06;	author seanc;	state Exp;
branches;
next	1.3;

1.3
date	2003.03.07.06.12.44;	author ade;	state Exp;
branches;
next	1.2;

1.2
date	2003.01.27.19.13.50;	author seanc;	state Exp;
branches;
next	1.1;

1.1
date	2003.01.24.20.37.55;	author seanc;	state Exp;
branches;
next	;


desc
@@


1.30
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_geoip
# Date created:			24 Jan 2003
# Whom:				Sean Chittenden <seanc@@FreeBSD.org>
#
# $FreeBSD: ports/www/mod_geoip/Makefile,v 1.29 2011/11/02 03:43:36 pgollucci Exp $
#

PORTNAME=	mod_geoip
PORTVERSION=	1.3.4
PORTREVISION=	1
CATEGORIES=	www geography
MASTER_SITES=	http://geolite.maxmind.com/download/geoip/api/mod_geoip/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	yarodin@@gmail.com
COMMENT=	An Apache module that provides the country code of the client's IP

BUILD_DEPENDS=	GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
RUN_DEPENDS=	GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP

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

MAKE_JOBS_SAFE=  yes

CONFLICTS=	mod_geoip2-[0-9]*

USE_APACHE=	13
AP_FAST_BUILD=	yes
AP_GENPLIST=	yes
AP_INC+=	${LOCALBASE}/include
AP_LIB+=	${LOCALBASE}/lib -lGeoIP

SUB_FILES+=	pkg-message
PORTDOCS=	Changes INSTALL README README.php

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.29
log
@- sync apache13 related EXPIRATION_DATE

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


1.28
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
@d22 1
a22 1
EXPIRATION_DATE=	2011-11-01
@


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

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


1.26
log
@- USE_APACHE=  /1.3/13/  /2.0/20/ /2.2/22/
@
text
@d21 3
@


1.25
log
@Update MASTER_SITES to avoid redirection

PR:		154197
Submitted by:	Yar Odin <yarodin@@gmail.com> (maintainer)
Feature safe:	yes
@
text
@d25 1
a25 1
USE_APACHE=	1.3
@


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

PR:             ports/134611
Approved by:    pav (#bsdports)
@
text
@d12 1
a12 1
MASTER_SITES=	http://www.maxmind.com/download/geoip/api/mod_geoip/
@


1.23
log
@- apply patch to prevent from segfault

PR:		131450
Submitted by:	maintainer
@
text
@d21 2
@


1.22
log
@Update to 1.3.4

PR:		ports/128533
Submitted by:	Yarodin <yarodin@@gmail.com> (maintainer)
@
text
@d10 1
@


1.21
log
@- Update to 1.3.2

PR:		ports/123266
Submitted by:	Yarodin <yarodin at gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.3.2
@


1.20
log
@- Update to 1.3.1
- Pass maintainership to submitter

PR:		ports/122012
Submitter:	Yarodin <yarodin@@gmail.com>
Approved by:	tabthorpe (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	1.3.1
@


1.19
log
@Simplify and reorganize Makefile and pkg-message in the similar way
like mod_geoip2 does.
@
text
@d9 1
a9 2
PORTVERSION=	1.3.0
PORTREVISION=	2
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.18
log
@Bump portrevision
@
text
@d10 1
a10 1
PORTREVISION=	1
d21 2
d26 2
a27 3
AP_EXTRAS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib -lGeoIP

.include <bsd.port.pre.mk>
d29 2
a30 1
PORTDOCS=		Changes INSTALL README README.php
d34 2
a35 4
	${MKDIR} ${PREFIX}/share/doc/mod_geoip
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mod_geoip/
.endfor
d39 1
a39 1
.include <bsd.port.post.mk>
@


1.17
log
@Add
-L${LOCALBASE}/lib -lGeoIP
to AP_EXTRAS, unresolved without this.
The mod don't use apache's Configure, so MODULE-DEFINITION-START
section containing the stuff above isn't parsed.
@
text
@d10 1
@


1.16
log
@Add
AP_EXTRAS+=     -I${LOCALBASE}/include
for GeoIP.h
(can't compile with apache13 otherwise)
@
text
@d23 1
a23 1
AP_EXTRAS+=	-I${LOCALBASE}/include
@


1.15
log
@- update to 1.3.0
- depend on GeoIP 1.4.4
- use bsd.apache.mk infrastructure (build, install, plist)
- removed files: pkg-plist
@
text
@d23 1
@


1.14
log
@- Add even more ports to the new "geography" category

Approved by:	Pav (wearing portmgr hat)
@
text
@d9 1
a9 1
PORTVERSION=	1.2.9
d17 2
a18 1
LIB_DEPENDS=	GeoIP.5:${PORTSDIR}/net/GeoIP
d21 2
d28 1
a28 6
do-build:
	@@cd ${WRKSRC} && \
	${APXS} -c -L${LOCALBASE}/lib -I${LOCALBASE}/include -lGeoIP mod_geoip.c

do-install:
	${APXS} -i -A -n geoip ${WRKSRC}/mod_geoip.so
@


1.13
log
@- Update to 1.2.9

PR:		108798
Submitted by:	Martin Matuska <martin@@matuska.org>
@
text
@d10 1
a10 1
CATEGORIES=	www
@


1.12
log
@Reset seanc@@FreeBSD.or due to maintainer-timeouts and no response to email.

Hat:		portmgr
@
text
@d9 1
a9 2
PORTVERSION=	1.2.7
PORTREVISION=	1
d19 1
a19 1
USE_APACHE=	yes
@


1.11
log
@Chase GeoIP shared library version bump.
@
text
@d15 1
a15 1
MAINTAINER=	seanc@@FreeBSD.org
@


1.10
log
@- Update to 1.2.7

PR:		ports/81400
Submitted by:	Toni Viemero <toni.viemero@@iki.fi>
Approved by:	maintainer timeout (seanc; 4 months)
@
text
@d10 1
d18 1
a18 1
LIB_DEPENDS=	GeoIP.4:${PORTSDIR}/net/GeoIP
@


1.9
log
@- net/GeoIP uses its own libtool even if we define USE_LIBTOOL*
- add missing @@exec and remove old SIZE in net/GeoIP
- update for libGeoIP.4 in LIB_DEPENDS and bump PORTREVISION
- utilize PORTDOCS in www/mod_geoip

Noticed by:	kris
@
text
@d9 1
a9 2
PORTVERSION=	1.2.2
PORTREVISION=	1
@


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

Submitted by:	dinoex
@
text
@d10 1
d18 1
a18 1
LIB_DEPENDS=	GeoIP.3:${PORTSDIR}/net/GeoIP
d24 1
a24 1
DOCS=		Changes INSTALL README README.php
d34 1
a34 1
.for f in ${DOCS}
@


1.7
log
@Chase net/GeoIP's new API and update mod_geoip to 1.2.2
@
text
@a16 2
BUILD_DEPENDS=	${APXS}:${APACHE_PORT}
RUN_DEPENDS=	${APXS}:${APACHE_PORT}
d19 2
a21 3

APXS?=		${LOCALBASE}/sbin/apxs
APACHE_PORT?=	${PORTSDIR}/www/apache13
@


1.6
log
@Fix mod_geoip with recent GeoIP.

Submitted by:	kris/bento, Lew Payne <lew@@clickbank.com>
@
text
@d9 1
a9 2
PORTVERSION=	1.1.1
PORTREVISION=	1
@


1.5
log
@BROKEN on 5.1: does not compile
@
text
@a23 4
.if ${OSVERSION} >= 500113
BROKEN=         "Does not compile"
.endif

@


1.4
log
@Chase GeoIP so version bump.
@
text
@d22 6
d47 1
a47 1
.include <bsd.port.mk>
@


1.3
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d10 1
d20 1
a20 1
LIB_DEPENDS=	GeoIP.2:${PORTSDIR}/net/GeoIP
d29 1
a29 1
	${APXS} -c -L${LOCALBASE}/lib -I${LOCALBASE}/include mod_geoip.c
@


1.2
log
@Add GeoIP dependency. ::blush::  Not bumping port version.
@
text
@d15 1
@


1.1
log
@Add port mod_geoip.

Port returns the country code of the IP address of the client making the
request in either an Apache note or in an environment variable.  This
port does not use reverse DNS to determine the country of the IP address.
@
text
@d18 1
@

