head	1.97;
access;
symbols
	RELEASE_8_3_0:1.89
	RELEASE_9_0_0:1.88
	RELEASE_7_4_0:1.85
	RELEASE_8_2_0:1.85
	RELEASE_6_EOL:1.83
	RELEASE_8_1_0:1.83
	RELEASE_7_3_0:1.79
	RELEASE_8_0_0:1.76
	RELEASE_7_2_0:1.73
	RELEASE_7_1_0:1.69
	RELEASE_6_4_0:1.69
	RELEASE_5_EOL:1.63
	RELEASE_7_0_0:1.60
	RELEASE_6_3_0:1.60
	PRE_XORG_7:1.58
	RELEASE_4_EOL:1.53
	RELEASE_6_2_0:1.53
	RELEASE_6_1_0:1.52
	RELEASE_5_5_0:1.52
	RELEASE_6_0_0:1.49
	RELEASE_5_4_0:1.48
	RELEASE_4_11_0:1.48
	RELEASE_5_3_0:1.45
	RELEASE_4_10_0:1.45
	RELEASE_5_2_1:1.45
	RELEASE_5_2_0:1.45
	RELEASE_4_9_0:1.44
	RELEASE_5_1_0:1.40
	RELEASE_4_8_0:1.40
	RELEASE_5_0_0:1.39
	RELEASE_4_7_0:1.39
	RELEASE_4_6_2:1.38
	RELEASE_4_6_1:1.38
	RELEASE_4_6_0:1.38
	RELEASE_5_0_DP1:1.33
	RELEASE_4_5_0:1.31
	RELEASE_4_4_0:1.29
	RELEASE_4_3_0:1.23
	RELEASE_4_2_0:1.20
	RELEASE_4_1_1:1.18
	RELEASE_4_1_0:1.15
	RELEASE_3_5_0:1.15
	RELEASE_4_0_0:1.13
	RELEASE_3_4_0:1.12
	RELEASE_3_3_0:1.11
	RELEASE_3_2_0:1.6
	RELEASE_3_1_0:1.5
	RELEASE_2_2_8:1.4
	RELEASE_3_0_0:1.4
	RELEASE_2_2_7:1.1.1.1
	v1_12_09:1.1.1.1
	BRADFORD:1.1.1;
locks; strict;
comment	@# @;


1.97
date	2012.12.30.13.00.40;	author svnexp;	state Exp;
branches;
next	1.96;

1.96
date	2012.12.30.12.54.58;	author svnexp;	state Exp;
branches;
next	1.95;

1.95
date	2012.11.17.06.03.10;	author svnexp;	state Exp;
branches;
next	1.94;

1.94
date	2012.10.13.13.39.56;	author dinoex;	state Exp;
branches;
next	1.93;

1.93
date	2012.09.16.16.35.19;	author dinoex;	state Exp;
branches;
next	1.92;

1.92
date	2012.06.08.08.47.56;	author dinoex;	state Exp;
branches;
next	1.91;

1.91
date	2012.06.08.01.13.51;	author adamw;	state Exp;
branches;
next	1.90;

1.90
date	2012.06.01.05.25.03;	author dinoex;	state Exp;
branches;
next	1.89;

1.89
date	2012.01.12.15.54.22;	author dinoex;	state Exp;
branches;
next	1.88;

1.88
date	2011.09.23.22.26.06;	author amdmi3;	state Exp;
branches;
next	1.87;

1.87
date	2011.04.21.05.13.48;	author dinoex;	state Exp;
branches;
next	1.86;

1.86
date	2011.04.19.05.11.10;	author dinoex;	state Exp;
branches;
next	1.85;

1.85
date	2011.02.02.06.31.33;	author dinoex;	state Exp;
branches;
next	1.84;

1.84
date	2011.01.14.12.20.08;	author dinoex;	state Exp;
branches;
next	1.83;

1.83
date	2010.06.04.13.49.15;	author dinoex;	state Exp;
branches;
next	1.82;

1.82
date	2010.06.04.07.25.36;	author dinoex;	state Exp;
branches;
next	1.81;

1.81
date	2010.04.07.04.32.42;	author dinoex;	state Exp;
branches;
next	1.80;

1.80
date	2010.03.28.06.45.09;	author dinoex;	state Exp;
branches;
next	1.79;

1.79
date	2010.02.05.12.40.24;	author dinoex;	state Exp;
branches;
next	1.78;

1.78
date	2010.02.05.11.45.11;	author dinoex;	state Exp;
branches;
next	1.77;

1.77
date	2009.11.17.20.33.03;	author dinoex;	state Exp;
branches;
next	1.76;

1.76
date	2009.07.31.13.56.37;	author dinoex;	state Exp;
branches;
next	1.75;

1.75
date	2009.07.06.07.52.55;	author dinoex;	state Exp;
branches;
next	1.74;

1.74
date	2009.05.04.22.46.33;	author dinoex;	state Exp;
branches;
next	1.73;

1.73
date	2009.01.25.10.13.56;	author dinoex;	state Exp;
branches;
next	1.72;

1.72
date	2009.01.25.09.45.24;	author dinoex;	state Exp;
branches;
next	1.71;

1.71
date	2009.01.17.11.32.38;	author dinoex;	state Exp;
branches;
next	1.70;

1.70
date	2008.12.19.18.40.57;	author dinoex;	state Exp;
branches;
next	1.69;

1.69
date	2008.08.12.16.36.12;	author dinoex;	state Exp;
branches;
next	1.68;

1.68
date	2008.08.05.19.33.16;	author dinoex;	state Exp;
branches;
next	1.67;

1.67
date	2008.07.22.07.15.01;	author dinoex;	state Exp;
branches;
next	1.66;

1.66
date	2008.07.18.18.17.12;	author dinoex;	state Exp;
branches;
next	1.65;

1.65
date	2008.07.18.04.16.48;	author dinoex;	state Exp;
branches;
next	1.64;

1.64
date	2008.07.17.14.08.55;	author dinoex;	state Exp;
branches;
next	1.63;

1.63
date	2008.05.30.17.09.01;	author dinoex;	state Exp;
branches;
next	1.62;

1.62
date	2008.01.17.09.07.58;	author dinoex;	state Exp;
branches;
next	1.61;

1.61
date	2008.01.14.09.24.05;	author dinoex;	state Exp;
branches;
next	1.60;

1.60
date	2007.05.25.04.07.44;	author dinoex;	state Exp;
branches;
next	1.59;

1.59
date	2007.05.19.20.25.36;	author flz;	state Exp;
branches;
next	1.58;

1.58
date	2007.04.03.14.49.05;	author dinoex;	state Exp;
branches;
next	1.57;

1.57
date	2007.03.25.11.44.24;	author dinoex;	state Exp;
branches;
next	1.56;

1.56
date	2007.03.10.17.04.07;	author dinoex;	state Exp;
branches;
next	1.55;

1.55
date	2007.02.10.22.38.06;	author dinoex;	state Exp;
branches;
next	1.54;

1.54
date	2007.02.10.06.27.53;	author dinoex;	state Exp;
branches;
next	1.53;

1.53
date	2006.08.14.22.26.37;	author shaun;	state Exp;
branches;
next	1.52;

1.52
date	2005.11.20.09.10.18;	author dinoex;	state Exp;
branches;
next	1.51;

1.51
date	2005.09.05.11.58.31;	author dinoex;	state Exp;
branches;
next	1.50;

1.50
date	2005.09.04.15.46.49;	author dinoex;	state Exp;
branches;
next	1.49;

1.49
date	2005.07.18.10.46.45;	author dinoex;	state Exp;
branches;
next	1.48;

1.48
date	2004.11.07.05.19.30;	author dinoex;	state Exp;
branches;
next	1.47;

1.47
date	2004.10.17.06.10.26;	author dinoex;	state Exp;
branches;
next	1.46;

1.46
date	2004.10.15.21.03.05;	author ache;	state Exp;
branches;
next	1.45;

1.45
date	2003.10.19.19.21.10;	author dinoex;	state Exp;
branches;
next	1.44;

1.44
date	2003.09.04.06.46.16;	author dinoex;	state Exp;
branches;
next	1.43;

1.43
date	2003.08.18.16.15.10;	author nork;	state Exp;
branches;
next	1.42;

1.42
date	2003.07.08.03.28.01;	author dinoex;	state Exp;
branches;
next	1.41;

1.41
date	2003.07.01.17.02.46;	author dinoex;	state Exp;
branches;
next	1.40;

1.40
date	2003.02.21.04.07.03;	author dinoex;	state Exp;
branches;
next	1.39;

1.39
date	2002.06.16.15.03.10;	author dinoex;	state Exp;
branches;
next	1.38;

1.38
date	2002.05.23.04.35.38;	author dinoex;	state Exp;
branches;
next	1.37;

1.37
date	2002.05.02.06.05.45;	author dinoex;	state Exp;
branches;
next	1.36;

1.36
date	2002.04.19.18.45.32;	author dinoex;	state Exp;
branches;
next	1.35;

1.35
date	2002.04.19.05.14.58;	author dinoex;	state Exp;
branches;
next	1.34;

1.34
date	2002.04.18.04.23.54;	author dinoex;	state Exp;
branches;
next	1.33;

1.33
date	2002.02.12.05.22.17;	author dinoex;	state Exp;
branches;
next	1.32;

1.32
date	2002.01.27.15.49.35;	author dinoex;	state Exp;
branches;
next	1.31;

1.31
date	2002.01.05.23.43.13;	author dinoex;	state Exp;
branches;
next	1.30;

1.30
date	2001.10.25.07.04.50;	author dinoex;	state Exp;
branches;
next	1.29;

1.29
date	2001.06.28.20.00.42;	author dinoex;	state Exp;
branches;
next	1.28;

1.28
date	2001.06.24.04.28.55;	author dinoex;	state Exp;
branches;
next	1.27;

1.27
date	2001.06.23.13.02.17;	author dinoex;	state Exp;
branches;
next	1.26;

1.26
date	2001.06.04.11.29.30;	author dinoex;	state Exp;
branches;
next	1.25;

1.25
date	2001.05.28.19.57.20;	author dinoex;	state Exp;
branches;
next	1.24;

1.24
date	2001.05.18.19.30.26;	author dinoex;	state Exp;
branches;
next	1.23;

1.23
date	2001.03.10.19.03.14;	author dinoex;	state Exp;
branches;
next	1.22;

1.22
date	2001.02.23.05.48.23;	author dinoex;	state Exp;
branches;
next	1.21;

1.21
date	2001.02.12.10.01.07;	author knu;	state Exp;
branches;
next	1.20;

1.20
date	2000.10.21.12.44.32;	author kevlo;	state Exp;
branches;
next	1.19;

1.19
date	2000.10.10.04.31.37;	author kevlo;	state Exp;
branches;
next	1.18;

1.18
date	2000.08.18.13.17.06;	author jedgar;	state Exp;
branches;
next	1.17;

1.17
date	2000.08.10.16.21.46;	author kevlo;	state Exp;
branches;
next	1.16;

1.16
date	2000.08.08.04.00.38;	author kevlo;	state Exp;
branches;
next	1.15;

1.15
date	2000.06.06.17.56.52;	author will;	state Exp;
branches;
next	1.14;

1.14
date	2000.04.10.00.07.13;	author cpiazza;	state Exp;
branches;
next	1.13;

1.13
date	99.12.27.21.28.28;	author steve;	state Exp;
branches;
next	1.12;

1.12
date	99.11.01.00.58.47;	author steve;	state Exp;
branches;
next	1.11;

1.11
date	99.08.31.02.43.26;	author peter;	state Exp;
branches;
next	1.10;

1.10
date	99.08.14.03.16.29;	author cpiazza;	state Exp;
branches;
next	1.9;

1.9
date	99.08.01.20.30.04;	author billf;	state Exp;
branches;
next	1.8;

1.8
date	99.07.04.18.54.16;	author obrien;	state Exp;
branches;
next	1.7;

1.7
date	99.06.10.08.15.16;	author steve;	state Exp;
branches;
next	1.6;

1.6
date	99.03.31.15.15.13;	author steve;	state Exp;
branches;
next	1.5;

1.5
date	99.01.26.02.18.07;	author steve;	state Exp;
branches;
next	1.4;

1.4
date	98.08.17.00.34.42;	author steve;	state Exp;
branches;
next	1.3;

1.3
date	98.07.31.08.48.02;	author andreas;	state Exp;
branches;
next	1.2;

1.2
date	98.07.30.13.23.24;	author andreas;	state Exp;
branches;
next	1.1;

1.1
date	98.06.28.12.42.08;	author andreas;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.06.28.12.42.08;	author andreas;	state Exp;
branches;
next	;


desc
@@


1.97
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309657
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309657 | dinoex | 2012-12-30 09:33:16 +0000 (Sun, 30 Dec 2012) | 3 lines
## SVN ##
## SVN ## - fix wording of option
## SVN ## Submitted by:	Alexander Sheiko
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# $FreeBSD: head/www/webalizer/Makefile 309657 2012-12-30 09:33:16Z dinoex $

PORTNAME=	webalizer
PORTVERSION=	2.23.5
PORTREVISION=	4
CATEGORIES+=	www
MASTER_SITES=	ftp://ftp.mrunix.net/pub/webalizer/:main \
MASTER_SITES=	ftp://ftp.mrunix.net/pub/webalizer/geodb/:geodb \
		ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/:main \
		http://flags.blogpotato.de/zip/:flags
PKGNAMESUFFIX?=	${WEBALIZER_SUFFIX}${PKGNAMESUFFIX2}
DISTNAME=	${PORTNAME}-2.23-05-src
DISTFILES=	${DISTNAME}.tgz:main

MAINTAINER?=	dinoex@@FreeBSD.org
COMMENT=	A web server log file analysis program

LICENSE=	GPLv2

GNU_CONFIGURE=	yes
DOCSDIR?=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR?=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
GD_PORT?=	graphics/gd

CONFLICTS=	geolizer-2*

.if defined(BATCH)
# no cosmetique spaces allowed
WEBALIZER_LANG?=english
.endif

OPTIONS_DEFINE=	GEOIP GEODB BDB1 BDB WEBALIZER_CONV \
		FULL_CGI_REFS CLICKABLE_REFERER LARGE_URL
OPTIONS_DEFAULT=
NO_OPTIONS_SORT=yes
GEODB_DESC=Enable Webalizers IP-Database support
WEBALIZER_CONV_DESC=Japanese character code convert patch
FULL_CGI_REFS_DESC=Show full cgi parameters in referers
CLICKABLE_REFERER_DESC=Make referers clickable
LARGE_URL_DESC=Enable URLs longer 512 bytes

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGEODB} || ${PORT_OPTIONS:MGEOIP} || make(makesum) || defined(FETCH_ALL)
DISTFILES+=	webalizer-flags.tgz:main
.endif
.if ${PORT_OPTIONS:MGEODB} || make(makesum) || defined(FETCH_ALL)
DISTFILES+=	webalizer-geodb-20121201.tgz:geodb
.endif

# slave ports override with languages specific gd
.if !defined(LIB_DEPENDS)
LIB_DEPENDS=	gd:${PORTSDIR}/${GD_PORT}
.endif

.if ${PORT_OPTIONS:MGEOIP}
LIB_DEPENDS+=	GeoIP:${PORTSDIR}/net/GeoIP
.endif

.if ${PORT_OPTIONS:MGEODB}
.if empty(PORT_OPTIONS:MBDB1)
WITH_BDB=	yes
.endif
PLIST_SUB+=	WITH_GEODB=""
.else
PLIST_SUB+=	WITH_GEODB="@@comment "
.endif

.if ${PORT_OPTIONS:MGEOIP}
WEBALIZER_SUFFIX=	-geoip
CONFLICTS+=	${PKGNAMEPREFIX}webalizer-2*
CONFIGURE_ARGS+=	--enable-geoip \
			--with-geoip-lib=${LOCALBASE}/lib \
			--with-geoip-inc=${LOCALBASE}/include
.else
CONFLICTS+=	${PKGNAMEPREFIX}webalizer-geoip-2*
.endif

.if ${PORT_OPTIONS:MGEODB} || ${PORT_OPTIONS:MGEOIP} 
PLIST_SUB+=	WITH_GEOIP=""
.else
PLIST_SUB+=	WITH_GEOIP="@@comment "
.endif

.if defined(WITH_BDB_VER) || ${PORT_OPTIONS:MBDB}
USE_BDB=	yes
INVALID_BDB_VER=	2 3 40
LDFLAGS+=	-L${BDB_LIB_DIR}
CFLAGS+=	-I${BDB_INCLUDE_DIR}
.else
CFLAGS+=	-DUSE_DB185
.endif

CONFIGURE_ARGS+=	--enable-dns \
			--enable-bz2 \
			--with-geodb=${PREFIX}/share/webalizer \
			--sysconfdir=${PREFIX}/etc \
			--with-gdlib=${LOCALBASE}/lib \
			--with-gd=${LOCALBASE}/include

LDFLAGS+=	-L${PREFIX}/lib
CFLAGS+=	-Wall
MAN1=		${PKGNAMEPREFIX}webalizer.1 ${PKGNAMEPREFIX}wcmgr.1
DOC1=		CHANGES Copyright INSTALL \
		README README.FIRST DNS.README country-codes.txt
DOC2=		INSTALL GeoIP.README
WRKSRC=		${WRKDIR}/${DISTNAME:S/-src$//}
PLIST_SUB+=	PKGNAMEPREFIX=${PKGNAMEPREFIX}
SUPP_LANG=	albanian arabic catalan chinese croatian czech danish dutch \
		english estonian finnish french galician german greek \
		hungarian icelandic indonesian italian japanese korean \
		latvian lithuanian malay norwegian polish portuguese \
		portuguese_brazil romanian romanian-iso-8859-2 russian \
		serbian simplified_chinese slovak slovene spanish swedish \
		thai turkish ukrainian

.if defined(WEBALIZER_LANG)
CONFIGURE_ARGS+=	--with-language=${WEBALIZER_LANG}
#	The patch file is written by URASHIMA Akira
#	see http://tyche.pu-toyama.ac.jp/~a-urasim/webalizer/
.if ${WEBALIZER_LANG} == japanese
EXTRA_PATCHES+=		${FILESDIR}/ja-webalizer.conf-dist.patch
.endif
.endif

.if ${PORT_OPTIONS:MWEBALIZER_CONV}
USE_ICONV=yes
# 	The patch file is written by URASHIMA Akira
#	see http://tyche.pu-toyama.ac.jp/~a-urasim/webalizer/
EXTRA_PATCHES+=		${FILESDIR}/webalizer-a-urasim_2.patch
CONFIGURE_ARGS+=	--enable-mininls
CONFIGURE_ENV+=		LIBS="-L${LOCALBASE}/lib -liconv"
CFLAGS+=		-I${LOCALBASE}/include
.endif

.if ${PORT_OPTIONS:MFULL_CGI_REFS}
CFLAGS+=	-DUSE_FULL_CGI_REFS
.endif

.if ${PORT_OPTIONS:MCLICKABLE_REFERER}
CFLAGS+=	-DUSE_CLICKABLE_REFERER
.endif

pre-configure:
	${REINPLACE_CMD} -e "s|/etc|${PREFIX}/etc|" \
		${WRKSRC}/webalizer.1
	${REINPLACE_CMD} \
		-e "s|webalizer.conf|${PKGNAMEPREFIX}webalizer.conf|" \
		${WRKSRC}/webalizer.c
.if ${PORT_OPTIONS:MLARGE_URL}
	${REINPLACE_CMD} \
		-e "s|MAXURLH  512 |MAXURLH  2048|" \
		${WRKSRC}/webalizer.h
.endif
.if defined(WITH_BDB_VER) || ${PORT_OPTIONS:MBDB}
	${REINPLACE_CMD} -e "s|-ldb|-l${BDB_LIB_NAME}|" \
		${WRKSRC}/configure
.else
	${REINPLACE_CMD} -e "s|-ldb||" \
		${WRKSRC}/configure
.endif

.if !defined(WEBALIZER_LANG)
	@@${ECHO_MSG} "You can customize the language by typing"
	@@${ECHO_MSG} "       make WEBALIZER_LANG=<lang>"
	@@${ECHO_MSG} "where <lang> is one of:"
	@@${ECHO_MSG} ${SUPP_LANG}
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/webalizer \
		${PREFIX}/bin/${PKGNAMEPREFIX}webalizer
	${INSTALL_PROGRAM} ${WRKSRC}/wcmgr \
		${PREFIX}/bin/${PKGNAMEPREFIX}wcmgr
	${LN} -sf ${PKGNAMEPREFIX}webalizer \
		${PREFIX}/bin/${PKGNAMEPREFIX}webazolver
	${INSTALL_DATA} ${WRKSRC}/sample.conf \
		${PREFIX}/etc/${PKGNAMEPREFIX}webalizer.conf-dist ;

post-install:
.for i in ${MAN1}
	${INSTALL_MAN} ${WRKSRC}/${i:S/^${PKGNAMEPREFIX}//} ${PREFIX}/man/man1/${i}
.endfor
.if ${PORT_OPTIONS:MGEODB} || ${PORT_OPTIONS:MGEOIP} 
	${MKDIR} ${PREFIX}/share/geolizer
	@@${INSTALL_DATA} ${WRKDIR}/flags/* ${PREFIX}/share/geolizer/
.endif
.if ${PORT_OPTIONS:MGEODB}
	@@${INSTALL_DATA} ${WRKDIR}/GeoDB.dat ${PREFIX}/share/geolizer/
.endif
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in ${DOC1}
	@@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
.endfor
.endif
.if !defined(NOPORTEXAMPLES)
	${MKDIR} ${EXAMPLESDIR}
.for i in msfree.png sample.conf webalizer.png
	@@${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}/${i}
.endfor
.endif

.include <bsd.port.mk>
@


1.96
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309656
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309656 | dinoex | 2012-12-30 09:32:08 +0000 (Sun, 30 Dec 2012) | 5 lines
## SVN ##
## SVN ## - fix wording of option
## SVN ## Submitted by:	Alexander Sheiko
## SVN ##
## SVN ## - update geodb
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: head/www/webalizer/Makefile 309656 2012-12-30 09:32:08Z dinoex $
d37 1
a37 1
WEBALIZER_CONV_DESC=Use character code convert patch
@


1.95
log
@Switch exporter over
@
text
@d1 1
a1 1
# $FreeBSD: head/www/webalizer/Makefile 305832 2012-10-13 13:39:56Z dinoex $
d48 1
a48 1
DISTFILES+=	webalizer-geodb-20120901.tgz:geodb
d53 1
a53 1
LIB_DEPENDS=	gd.4:${PORTSDIR}/${GD_PORT}
d57 1
a57 1
LIB_DEPENDS+=	GeoIP.5:${PORTSDIR}/net/GeoIP
@


1.94
log
@SVN rev 305832 on 2012-10-13 13:39:56Z by dinoex

- cleanup comments
Feature safe: yes
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.93
log
@SVN rev 304366 on 2012-09-16 16:35:19Z by dinoex

- use OPTIONS_DEFINE
- option GEODB defaults to bdb4
- update GEODB
- extend OPTIONS
@
text
@a0 4
# New ports collection makefile for:	webalizer
# Date created:		02.Jun 1998
# Whom:			dirk.meyer@@dinoex.sub.org
#
a1 1
#
@


1.92
log
@- revert last commit.
Code had no effect. If it has effect it would breal all existing dns caches
PR:		164127
@
text
@d10 1
a10 1
PORTREVISION=	3
d37 9
a45 1
.include <bsd.port.pre.mk>
d47 3
a49 1
.if defined(WITH_GEODB) || defined(WITH_GEOIP)|| make(makesum) || defined(FETCH_ALL)
d52 2
a53 2
.if defined(WITH_GEODB) || make(makesum) || defined(FETCH_ALL)
DISTFILES+=	webalizer-geodb-20120101.tgz:geodb
d56 1
d60 2
a61 1
.if defined(WITH_GEOIP)
d65 4
a68 1
.if defined(WITH_GEODB)
d74 1
a74 1
.if defined(WITH_GEOIP)
d84 1
a84 1
.if defined(WITH_GEODB) || defined(WITH_GEOIP)
d90 1
a90 1
.if defined(WITH_BDB_VER) || defined(WITH_BDB)
d131 1
a131 1
.if defined(WITH_WEBALIZER_CONV)
d141 1
a141 1
.if !defined(WITHOUT_WEBALIZER_FULL_CGI_REFS)
d145 1
a145 1
.if defined(WITH_WEBALIZER_CLICKABLE_REFERER)
d155 1
a155 1
.if defined(WITH_MAXURLH)
d160 1
a160 1
.if defined(WITH_BDB_VER) || defined(WITH_BDB)
d189 1
a189 1
.if defined(WITH_GEODB) || defined(WITH_GEOIP)
d193 1
a193 1
.if defined(WITH_GEODB)
d209 1
a209 1
.include <bsd.port.post.mk>
@


1.91
log
@The GeoDB is Berkeley DB-based, and requires bdb support at runtime.

PORTREVISION bumped to bring in the extra dependency.

PR:			ports/164127
@
text
@d10 1
a10 1
PORTREVISION=	2
a51 3
.if defined(WITH_GEODB)
USE_BDB=		yes
.endif
@


1.90
log
@- update png to 1.5.10
@
text
@d10 1
a10 1
PORTREVISION=	1
d52 3
@


1.89
log
@- update to geodb-20120101
@
text
@d10 1
@


1.88
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d42 1
a42 1
DISTFILES+=	webalizer-geodb-20110101.tgz:geodb
@


1.87
log
@- fix build WEBALIZER_LANG=ukrainian
@
text
@d90 1
a90 1
CONFIGURE_ENV+=	LDFLAGS="-L${PREFIX}/lib"
@


1.86
log
@- update to 2.23-05
@
text
@a112 4
.if ${WEBALIZER_LANG} == ukrainian
EXTRA_PATCHES+=		${FILESDIR}/uk-lang.h
EXTRA_PATCHES+=		${FILESDIR}/uk-output.c
.endif
@


1.85
log
@- fix regression in HideURL
Reported by:	Alexander Sheiko
Feature safe:	yes
@
text
@d9 1
a9 2
PORTVERSION=	2.23.4
PORTREVISION=	1
d16 1
a16 1
DISTNAME=	${PORTNAME}-2.23-04-src
@


1.84
log
@- update to 2.23-04
Feature safe:	yes
@
text
@d10 1
@


1.83
log
@LICENSE GPLv2
@
text
@d9 1
a9 2
PORTVERSION=	2.21.2
PORTREVISION=	3
d16 1
a16 1
DISTNAME=	${PORTNAME}-2.21-02-src
d42 1
a42 1
DISTFILES+=	webalizer-geodb-20100601.tgz:geodb
@


1.82
log
@- update WITH_GEODB to geodb-20100601
- allow new version of Berkeley DB
@
text
@d23 2
@


1.81
log
@- update WITH_GEODB to geodb-20100401
@
text
@d41 1
a41 1
DISTFILES+=	webalizer-geodb-20100401.tgz:geodb
a75 3
.if defined(WITH_GEODB)
INVALID_BDB_VER+=	41 42 43 44 45
.endif
@


1.80
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d41 1
a41 1
DISTFILES+=	webalizer-geodb-20100201.tgz:geodb
@


1.79
log
@- update option WITH_GEODB to 20100201
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.78
log
@- update to jpeg-8
@
text
@d41 1
a41 1
DISTFILES+=	webalizer-geodb-20091101.tgz:geodb
@


1.77
log
@- update geodb-20091101
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.76
log
@- bump all port that indirectly depends on libjpeg and have not yet been bumped or updated
Requested by:	edwin
@
text
@d41 1
a41 1
DISTFILES+=	webalizer-geodb-20090701.tgz:geodb
@


1.75
log
@- update webalizer-geodb-20090701
@
text
@d10 1
a10 1
PORTREVISION=	0
@


1.74
log
@- update geodb-20090501
@
text
@d41 1
a41 1
DISTFILES+=	webalizer-geodb-20090501.tgz:geodb
@


1.73
log
@- support all options in Makefile.local
@
text
@d41 1
a41 1
DISTFILES+=	webalizer-geodb-20090101.tgz:geodb
@


1.72
log
@- update to 2.21-02
@
text
@a18 6
.if defined(WITH_GEODB) || defined(WITH_GEOIP)|| make(makesum) || defined(FETCH_ALL)
DISTFILES+=	webalizer-flags.tgz:main
.endif
.if defined(WITH_GEODB) || make(makesum) || defined(FETCH_ALL)
DISTFILES+=	webalizer-geodb-20090101.tgz:geodb
.endif
a22 7
.if !defined(LIB_DEPENDS)
LIB_DEPENDS=	gd.4:${PORTSDIR}/${GD_PORT}
.endif
.if defined(WITH_GEOIP)
LIB_DEPENDS+=	GeoIP.5:${PORTSDIR}/net/GeoIP
.endif

d37 14
@


1.71
log
@- new OPTION MAXURLH
PR:		130100
Suggested by:	Jeremy Chadwick

- update geodb-20090101
@
text
@d9 1
a9 1
PORTVERSION=	2.20.3
d17 1
a17 1
DISTNAME=	${PORTNAME}-2.20-03-src
d72 1
a72 1
.if defined(WITH_BDB_VER) || defined(WITH_BDB) 
a119 1

d149 1
a149 1
.if defined(WITH_BDB_VER) || defined(WITH_BDB) 
@


1.70
log
@- upate to 2.20-03
- update geodb to 20080801
@
text
@d23 1
a23 1
DISTFILES+=	webalizer-geodb-20081202.tgz:geodb
d145 5
@


1.69
log
@- fix WITH_GEODB without WITH_BDB
Submitted by:	Nicolas Rachinsky

- update GeoDB.dat
@
text
@d9 2
a10 2
PORTVERSION=	2.20.1
PORTREVISION=	2
d17 1
a17 1
DISTNAME=	${PORTNAME}-2.20-01-src
d23 1
a23 1
DISTFILES+=	webalizer-geodb-20080801.tgz:geodb
@


1.68
log
@- add patches for WEBALIZER_LANG=ukrainian
@
text
@d10 1
a10 1
PORTREVISION=	1
d23 1
a23 1
DISTFILES+=	webalizer-geodb-20080701.tgz:geodb
d75 3
@


1.67
log
@- support bzip2 compressed logfiles
Submitted by:	ache (Andrey Chernov)
@
text
@d111 3
d115 2
@


1.66
log
@- new values for WEBALIZER_LANG:
  albanian arabic lithuanian thai
- fix fetch for WITH_GEODB
- updated country icons
- build with 4.x berkley db
@
text
@d82 1
@


1.65
log
@- new option WITH_GEODB
@
text
@d10 1
d13 1
d18 3
a20 3
DISTFILES=	${DISTNAME}.tgz:main webalizer-geodb-20080701.tgz:main
.if defined(WITH_GEOIP) || make(makesum) || defined(FETCH_ALL)
DISTFILES+=	world.small.zip:flags special.small.zip:flags
d23 1
a23 1
DISTFILES+=	webalizer-geodb-20080701.tgz:main
a33 1
EXTRACT_DEPENDS+=	unzip:${PORTSDIR}/archivers/unzip
a35 1
USE_BZIP2=	yes
d62 5
a68 1
CONFLICTS+=	${PKGNAMEPREFIX}webalizer-geoip-2*
d72 9
d88 1
a88 1
CFLAGS+=	-DUSE_DB185 -Wall
d95 7
a101 7
SUPP_LANG=	catalan chinese croatian czech danish dutch english \
		estonian finnish french galician german greek hungarian \
		icelandic indonesian italian japanese korean latvian \
		malay norwegian polish portuguese portuguese_brazil \
		romanian romanian-iso-8859-2 russian serbian \
		simplified_chinese slovak slovene spanish swedish \
		turkish ukrainian
a129 38
do-extract:
	@@${RM} -rf ${WRKDIR}
	@@${MKDIR} ${WRKDIR}
	@@for f in ${EXTRACT_ONLY}; do \
		case $$f in \
		*.Z|*.gz|*.tgz) \
			if ! (cd ${WRKDIR} && \
				${GZCAT} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$f ${EXTRACT_AFTER_ARGS});\
			then \
				exit 1; \
			fi \
			;; \
		*.bz2) \
			if ! (cd ${WRKDIR} && \
				${BZCAT} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$f ${EXTRACT_AFTER_ARGS});\
			then \
				exit 1; \
			fi \
			;; \
		*.zip) \
			if ! (cd ${WRKDIR} && \
				${UNZIP_CMD} -qo ${_DISTDIR}/$$f -d ${WRKDIR});\
			then \
				exit 1; \
			fi \
			;; \
		*) \
			exit 1; \
			;; \
		esac; \
	done
.if !defined(EXTRACT_PRESERVE_OWNERSHIP)
	@@if [ `${ID} -u` = 0 ]; then \
		${CHMOD} -R ug-s ${WRKDIR}; \
		${CHOWN} -R 0:0 ${WRKDIR}; \
	fi
.endif

d136 4
d142 2
d167 1
a167 3
.endif
.if defined(WITH_GEOIP)
	@@${INSTALL_DATA} ${WRKDIR}/*.png ${PREFIX}/share/geolizer/
@


1.64
log
@- update to 2.20-01
@
text
@d20 3
d50 6
d184 3
a187 1
	${MKDIR} ${PREFIX}/share/geolizer
d189 2
@


1.63
log
@- use PORTEXAMPLES
@
text
@d9 1
a9 2
PORTVERSION=	2.1.10
PORTREVISION=	13
a12 1
		http://sysd.org/stas/files/active/0/:geo \
d15 2
a16 2
DISTNAME=	${PORTNAME}-2.01-10-src
DISTFILES=	${DISTNAME}.tar.bz2:main
a17 1
DISTFILES+=	geolizer_2.01-10-patch.20070115.tar.gz:geo
d40 6
a49 4
EXTRA_PATCHES+=	${WRKDIR}/geolizer_2.01-10-patch/geolizer.patch
EXTRA_PATCHES+=	${FILESDIR}/output.geo.patch
EXTRA_PATCHES+=	${FILESDIR}/linklist.geo.patch
PATCH_STRIP=	-p1
a55 2
EXTRA_PATCHES+=	${FILESDIR}/output.patch
EXTRA_PATCHES+=	${FILESDIR}/linklist.patch
a58 7
.if defined(BATCH)
# no cosmetique spaces allowed
WEBALIZER_LANG?=english
.endif

.include <bsd.port.pre.mk>

d60 2
a61 1
			--with-etcdir=${PREFIX}/etc \
d66 2
a67 2
CFLAGS+=	-DLINKLIST_MAX_STRING=256
MAN1=		${PKGNAMEPREFIX}webalizer.1
a86 2
.else
EXTRA_PATCHES+=		${FILESDIR}/sample.conf.patch
d100 2
a101 2
.if !defined(WITHOUT_WEBALIZER_FULLREFS)
EXTRA_PATCHES+=		${FILESDIR}/webalizer-fullrefs.patch
d104 2
a105 2
.if defined(WITH_WEBALIZER_LOWERCASE_SEARCH)
CFLAGS+=	-DWEBALIZER_LOWERCASE_SEARCH
d112 2
a113 2
                case $$f in \
		*.Z|*.gz) \
d152 1
a152 3
.if defined(WITH_GEOIP)
	${REINPLACE_CMD} \
		-e 's|USE_GEOIP=""|USE_GEOIP="yes"|' \
a153 1
.endif
d164 2
d173 1
a173 1
	${INSTALL_MAN} ${WRKSRC}/webalizer.1 ${PREFIX}/man/man1/${i}
d178 1
a184 7
.if defined(WITH_GEOIP)
	${MKDIR} ${DOCSDIR}/geolizer
.for i in ${DOC2}
	@@${INSTALL_DATA} ${WRKDIR}/geolizer_2.01-10-patch/${i} \
		${DOCSDIR}/geolizer/${i}
.endfor
.endif
@


1.62
log
@- fix build of japanese language
- cosmetic changes to make portlint happier
PR:		119715
Submitted by:	TAKATSU Tomonari
@
text
@a195 4
	${MKDIR} ${EXAMPLESDIR}
.for i in msfree.png sample.conf webalizer.png
	@@${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}/${i}
.endfor
d204 6
@


1.61
log
@- new option WITH_WEBALIZER_LOWERCASE_SEARCH
lowercase search strings like in unpathced webalizer
default is to not lowercase search strings to honor intenational charsets.
Submitted by:	Frank Altpeter

- adding default HTMLHead to sample.conf
HTMLHead <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
Reported by:	Lapo Luchini
@
text
@d96 2
d122 2
a123 2
	@@for file in ${EXTRACT_ONLY}; do \
                case $$file in \
d126 1
a126 1
				${GZCAT} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\
d133 1
a133 1
				${BZCAT} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\
d140 1
a140 1
				${UNZIP_CMD} -qo ${_DISTDIR}/$$file -d ${WRKDIR});\
d148 1
a148 1
                esac; \
@


1.60
log
@- new option WITHOUT_WEBALIZER_FULLREFS
default now shows full references
Submitted by:	Andrey Chernov
@
text
@d10 1
a10 1
PORTREVISION=	12
d113 4
@


1.59
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d10 1
a10 1
PORTREVISION=	11
d109 4
@


1.58
log
@- update flags for geolizer
@
text
@d10 1
a10 1
PORTREVISION=	10
@


1.57
log
@- fix option WITH_GEOIP
PR:		110761
Submitted by:	Leonhard Wimmer
@
text
@d10 1
a10 1
PORTREVISION=	9
@


1.56
log
@- fix unescape bug for default
Submitted by:	Andrey Chernov
@
text
@d148 10
a157 6
	@@${MV} ${WRKSRC}/webalizer.1 ${WRKSRC}/webalizer.1.sed
	${SED} -e "s=/etc=${PREFIX}/etc=" \
		${WRKSRC}/webalizer.1.sed > ${WRKSRC}/webalizer.1
	@@${MV} ${WRKSRC}/webalizer.c ${WRKSRC}/webalizer.c.sed
	${SED} -e "s=webalizer.conf=${PKGNAMEPREFIX}webalizer.conf=" \
		${WRKSRC}/webalizer.c.sed > ${WRKSRC}/webalizer.c
@


1.55
log
@- move imgaes for geolizer
Suggested by: Andrey Chernov
@
text
@d10 1
a10 1
PORTREVISION=	8
@


1.54
log
@- update option WITH_GEOIP (geolizer)
- added icons for countrys
Suggested by: Andrey Chernov
@
text
@d173 4
d187 1
a187 1
	${MKDIR} ${DOCSDIR}/geolizer/flags
a191 1
	@@${INSTALL_DATA} ${WRKDIR}/*.png ${DOCSDIR}/geolizer/flags/
@


1.53
log
@Chase GeoIP shared library version bump.
@
text
@d10 1
a10 1
PORTREVISION=	7
d14 2
a15 1
		http://sysd.org/proj/:geo
d19 4
d32 1
a42 3
.if defined(WITH_GEOIP) || make(makesum) || defined(FETCH_ALL)
DISTFILES+=	geolizer_2.01-10-patch.20050520.tar.bz2:geo
.endif
d109 38
d183 1
a183 1
	${MKDIR} ${DOCSDIR}/geolizer
d188 1
@


1.52
log
@- Security Fix
Submitted by:	Andrey Chernov
@
text
@d10 1
a10 1
PORTREVISION=	6
d26 1
a26 1
LIB_DEPENDS+=	GeoIP.4:${PORTSDIR}/net/GeoIP
@


1.51
log
@- fix geolizer option
Submitted by:	Andrey Chernov
@
text
@d10 1
a10 1
PORTREVISION=	5
@


1.50
log
@- add geolizer patches
(merge from www/geolizer)
Suggested by: Steve Clement, David Raison
Reviewed by:	Andrey Chernov
@
text
@d48 3
d68 3
a70 2
			--with-gdlib=${PREFIX}/lib \
			--with-gd=${PREFIX}/include
a72 1
MAKE_ARGS+=	CFLAGS="${CFLAGS}"
d103 1
a103 1
CFLAGS+=		-I${PREFIX}/include
@


1.49
log
@- Correct the spelling of word "slovak"
PR:		83632
Submitted by:	Juraj Lutter
@
text
@d12 4
a15 2
MASTER_SITES=	ftp://ftp.mrunix.net/pub/webalizer/ \
		ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
d17 1
d25 3
d37 19
d73 1
d138 7
@


1.48
log
@- fix spelling
Reported by: Nikolaj Karpov
@
text
@d55 1
a55 1
		simplified_chinese slowak slovene spanish swedish \
@


1.47
log
@- support JIS SJIS EUC UTF-8
PR:		72776
Submitted by:	Fumihiko Kimura
Obtained from:	Dr. URASHIMA Akira
@
text
@d54 1
a54 1
		romanian romanian-iso-8859-2 russain serbian \
@


1.46
log
@Register CONFLICTS with geolizer-2*
@
text
@d60 15
@


1.45
log
@- remove COPYING
@
text
@d10 1
a10 1
PORTREVISION=	4
d28 2
@


1.44
log
@- Fix option GD_PORT
@
text
@d44 1
a44 1
DOC1=		CHANGES COPYING Copyright INSTALL \
@


1.43
log
@o Main modification
  graphics/gd(based on 1.8.4)    -> graphics/gd1
  graphics/gd2(based on 2.0.15)  -> graphics/gd
  graphics/p5-GD(based on 1.41)  -> graphics/p5-GD1
  graphics/p5-GD2(based on 2.07) -> graphics/p5-GD
  japanese/gd                    -> japanese/gd1
  japanese/gd2                   -> japanese/gd
o Include some feature
  WITH_XPM(w/, w/o WITHOUT_X11)
o Chase this modification
o Fix build error [1]

PR:		ports/54540
Submitted by:	Ports Fury
Approved by:	maintainer (blanket)
Reported by:	bento via kris [1]
@
text
@d10 1
a10 1
PORTREVISION=	3
d20 1
a20 1
LIB_DEPENDS=	gd.4:${PORTSDIR}/graphics/gd
d27 1
@


1.42
log
@- add patch lowercase-url-bug.patch from MASTER_SITTE
@
text
@d10 1
a10 1
PORTREVISION=	2
d20 1
a20 4
LIB_DEPENDS=	gd.4:${PORTSDIR}/${GD_PORT}
.if defined(WEBALIZER_WITH_GD2) 
GD_PORT?=	graphics/gd2
.endif
a26 1
GD_PORT?=	graphics/gd-nox11
d38 1
a38 1
			--with-gd=${PREFIX}/include/gd
@


1.41
log
@- New option GD_PORT
- fix version of shared lib after gd changes.
- allow to build without X11 again
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.40
log
@- Add COMMENT
@
text
@d20 3
a22 4
.if defined(WEBALIZER_WITH_GD2)
LIB_DEPENDS=	gd.4:${PORTSDIR}/graphics/gd2
.else
LIB_DEPENDS=	gd.2:${PORTSDIR}/graphics/gd
d30 1
@


1.39
log
@- Get rid of PERL and use SED
@
text
@d17 1
@


1.38
log
@Update to gd.4
for Option WEBALIZER_WITH_GD2
@
text
@d63 6
a68 3
	@@${PERL5} -pi -e "s=/etc=${PREFIX}/etc=" ${WRKSRC}/webalizer.1
	@@${PERL5} -pi -e "s=webalizer.conf=${PKGNAMEPREFIX}webalizer.conf=" \
		${WRKSRC}/webalizer.c
@


1.37
log
@Allow overwrite of Maintainer by slave-ports
@
text
@d20 1
a20 1
LIB_DEPENDS=	gd.3:${PORTSDIR}/graphics/gd2
@


1.36
log
@-----------------
Changelog: webalizer-2.01-10

Fixes:
 o Fix posible obscure buffer overflow bug in DNS resolver code

 o Added additional extended character fixes

 o Let code accept partial content response codes along with 200's

 o Added code to catch blank hostnames (yes, they have been found!)
   Will convert them into 'Unknown'

 o Security fix for cross-site scripting vulnerability found by
   Flavio Veloso (www.magnux.com).

Updates in languages:
	webalizer_lang.czech
	webalizer_lang.portuguese
	webalizer_lang.spanish

-----------------
Distfiles remaden on Master site:

old tarball:
webalizer-2.01-10-src.tgz
(had an extra CVS dir)

new tarball:
webalizer-2.01-10-src.tar.bz2

-----------------

Add Option:
	WEBALIZER_WITH_GD2

builds okay, but won't run without X11 if compiled with this option.
@
text
@d16 1
a16 1
MAINTAINER=	dinoex@@FreeBSD.org
@


1.35
log
@- Update, distfiles has changed,
- switched back to bzip2 tarball
@
text
@d19 3
d23 1
@


1.34
log
@- Update to 2.1.10,
- fixes buffer-overflow repoted on BUGTRAQ
- part of patch is now in the distribution
@
text
@d10 1
d22 1
a22 2
#USE_BZIP2=	yes
EXTRACT_SUFX=	.tgz
@


1.33
log
@- Apply a patch, bump PORTREVISION

The problem is that webalizer strips down all national characters from
query strings making impossible to use its Search String report for
non-English sites.

Submitted by:	ache
@
text
@d9 1
a9 2
PORTVERSION=	2.1.9
PORTREVISION=	1
d13 1
a13 1
DISTNAME=	${PORTNAME}-2.01-09-src
d21 2
a22 1
USE_BZIP2=	yes
@


1.32
log
@Make new languages public:
	croatian galician icelandic japanese latvian
	malay norwegian romanian-iso-8859-2 serbian
	simplified_chinese ukrainian
@
text
@d10 1
@


1.31
log
@- make portlint happier
- use DOCSDIR or EXAMPLESDIR
- get rid of some INTERACTIVE scrips in news/ifmail
@
text
@d45 7
a51 4
SUPP_LANG=	catalan chinese czech danish dutch english estonian \
		finnish french german greek hungarian indonesian \
		italian korean polish portuguese portuguese_brazil \
		romanian russain slowak slovene spanish swedish turkish
@


1.30
log
@Update to: 2.1.9

 o Security fix for cross-site scripting vulnerability found by
   Flavio Veloso (www.magnux.com).

 o Fixed a TOTAL_RC off by one error, which would prevent the last
   response code from being saved when using incremental mode.
@
text
@d23 2
d78 1
a78 1
	${MKDIR} ${PREFIX}/share/doc/${PKGNAMEPREFIX}webalizer
d80 1
a80 2
	@@${INSTALL_DATA} ${WRKSRC}/${i} \
		${PREFIX}/share/doc/${PKGNAMEPREFIX}webalizer/${i}
d82 1
a82 1
	${MKDIR} ${PREFIX}/share/examples/${PKGNAMEPREFIX}webalizer
d84 1
a84 2
	@@${INSTALL_DATA} ${WRKSRC}/${i} \
		${PREFIX}/share/examples/${PKGNAMEPREFIX}webalizer/${i}
@


1.29
log
@Attached is a patch to fix a problem I noticed where webalizer
was crashing everytime it was run with -M1 and it encountered a
log entry created by Opera/5.0.  Here's an example entry just
for reference.

as6-5-2.kp.g.bonet.se - - [28/Jun/2001:03:32:35 -0500] "GET / HTTP/1.1" 200 2078 "-" "Opera/5.0 (Linux 2.4.5 i686; U)  [en]"

Submitted by:	steve
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.28 2001/06/24 04:28:55 dinoex Exp $
d9 1
a9 2
PORTVERSION=	2.1.6
PORTREVISION=	4
d13 1
a13 1
DISTNAME=	${PORTNAME}-2.01-06-src
@


1.28
log
@change MAINTAINER to FreeBSD.org address
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.27 2001/06/23 13:02:17 dinoex Exp $
d10 1
a10 1
PORTREVISION=	3
@


1.27
log
@Max maximum length of each entry configureable:
Port uses now -DLINKLIST_MAX_STRING=256

PR:		28268
Submitted by:	Yen-Shuo Su <yssu@@ccca.nctu.edu.tw>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.26 2001/06/04 11:29:30 dinoex Exp $
d16 1
a16 1
MAINTAINER=	dirk.meyer@@dinoex.sub.org
@


1.26
log
@- Allow SLAVE-ports to override  LIB_DEPENDS,
  e.g. ukrainian/webalizer will use this.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.25 2001/05/28 19:57:20 dinoex Exp $
d10 1
a10 1
PORTREVISION=	2
d37 1
@


1.25
log
@- Support PKGNAMEPREFIX, taken from german/webalizer
- Make this port as new MASTERPORT
- pkg-plist will create symbolic link.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.24 2001/05/18 19:30:26 dinoex Exp $
d18 1
d20 1
@


1.24
log
@- Bump Portrevision after successfull repro-copy.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.23 2001/03/10 19:03:14 dinoex Exp $
d11 1
a11 1
CATEGORIES=	www
d22 8
d35 2
a36 2

MAN1=		webalizer.1
d39 2
a44 7
WRKSRC=		${WRKDIR}/${DISTNAME:S/-src$//}
MAKE_ARGS+=	CFLAGS="${CFLAGS}"

.if defined(BATCH)
# no cosmetique spaces allowed
WEBALIZER_LANG=english
.endif
d52 2
d62 6
a67 2
	${INSTALL_PROGRAM} ${WRKSRC}/webalizer ${PREFIX}/bin
	${LN} -sf webalizer ${PREFIX}/bin/webazolver
d71 1
a71 1
	${INSTALL_MAN} ${WRKSRC}/${i} ${PREFIX}/man/man1
d74 1
a74 1
	${MKDIR} ${PREFIX}/share/doc/webalizer
d76 2
a77 1
	@@${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/webalizer/${i}
d79 1
a79 2
.endif
	${MKDIR} ${PREFIX}/share/examples/webalizer
d81 2
a82 1
	@@${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/examples/webalizer/${i}
d84 1
a84 4
	@@if [ ! -f ${PREFIX}/etc/webalizer.conf-dist ]; then \
		${INSTALL_DATA} ${WRKSRC}/sample.conf \
			${PREFIX}/etc/webalizer.conf-dist ; \
	fi
d86 1
a86 1
.include <bsd.port.mk>
@


1.23
log
@path in manpage gives now the true location of the configuration file

PR:		25583
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.22 2001/02/23 05:48:23 dinoex Exp $
d10 1
a10 1
PORTREVISION=	1
@


1.22
log
@Master-Sites changed, renaming of directories.

Approved by:	will
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.21 2001/02/12 10:01:07 knu Exp $
d48 1
@


1.21
log
@Chase graphics/gd's shlib version bump.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.20 2000/10/21 12:44:32 kevlo Exp $
d13 1
a13 1
		ftp://ftp.lan-ks.de/pub/FreeBSD/distfiles/
@


1.20
log
@Upgrade to version 2.1.6

PR: 22157
Submitted by: MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.19 2000/10/10 04:31:37 kevlo Exp $
d10 1
d18 1
a18 1
LIB_DEPENDS=	gd.1:${PORTSDIR}/graphics/gd
@


1.19
log
@Update to version 2.1.5

PR: 21876
Submitted by: MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.18 2000/08/18 13:17:06 jedgar Exp $
d9 1
a9 1
PORTVERSION=	2.1.5
d13 1
a13 1
DISTNAME=	${PORTNAME}-2.01-05-src
@


1.18
log
@Fix MASTER_SITES

PR:		20596
Submitted by:	Maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.17 2000/08/10 16:21:46 kevlo Exp $
d9 1
a9 1
PORTVERSION= 	1.30.4
d13 1
a13 2
DISTNAME=	${PORTNAME}-1.30-04-src
EXTRACT_SUFX=	.tgz
d19 1
d21 3
a23 1
CONFIGURE_ARGS+=	--with-gdlib=${PREFIX}/lib \
a26 1
BIN1=		webalizer
d29 5
a33 5
		README country-codes.txt webalizer.LSM
SUPP_LANG=	catalan chinese czech dutch english french \
		german italian korean polish portuguese \
		portuguese_brazil romanian russain slowak \
		spanish swedish
d38 1
a46 1
	@@${PERL5} -pi -e "s=/etc=${PREFIX}/etc=" ${WRKSRC}/webalizer.c
d49 3
a51 3
.for i in ${SUPP_LANG}
		@@${ECHO_MSG} "make WEBALIZER_LANG=${i}"
.endfor
d55 2
a56 3
.for i in ${BIN1}
	@@${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin/${i}
.endfor
d69 1
a69 1
.for i in msfree.gif sample.conf webalizer.gif
@


1.17
log
@Substitute the extra spaces.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.16 2000/08/08 04:00:38 kevlo Exp $
d12 1
a12 1
		ftp://ftp.lan-ks.de/pub/FreeBSD/distfiles
@


1.16
log
@Update MASTER_SITES

PR: 20465
Submitted by: MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.15 2000/06/06 17:56:52 will Exp $
d13 1
a13 1
DISTNAME=      	${PORTNAME}-1.30-04-src
@


1.15
log
@Update LIB_DEPENDS for gd: gd.0 -> gd.1.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.14 2000/04/10 00:07:13 cpiazza Exp $
d12 2
a13 2
		ftp://ftp.lan-ks.de/pub/approved/
DISTNAME=	webalizer-1.30-04-src
@


1.14
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.13 1999/12/27 21:28:28 steve Exp $
d18 1
a18 1
LIB_DEPENDS=	gd.0:${PORTSDIR}/graphics/gd
@


1.13
log
@These ports now need 'LIB_DEPENDS=gd.0:...'.
@
text
@a1 1
# Version required:	1.30.*
d5 2
a6 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.12 1999/11/01 00:58:47 steve Exp $
d8 2
a9 2
DISTNAME=	webalizer-1.30-04-src
PKGNAME=	webalizer-1.30.4
d13 1
@


1.12
log
@Add '-lpng' for linking the against the static libgd.a.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/webalizer/Makefile,v 1.11 1999/08/31 02:43:26 peter Exp $
d17 1
a17 1
BUILD_DEPENDS=	${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd
@


1.11
log
@$Id$ -> $FreeBSD$
@
text
@d6 1
a6 1
# $FreeBSD$
d17 1
a17 1
LIB_DEPENDS=	gd.0:${PORTSDIR}/graphics/gd
d22 2
@


1.10
log
@Update MASTER_SITES and a few minor nits.

PR:		13120
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.9 1999/08/01 20:30:04 billf Exp $
@


1.9
log
@o Upgrade to 1.30-04
o Use new API for GD functions

PR:		ports/12857
Submitted by:	Dirk Meyer <dirk.meyer@@dinoex.sub.org>

o Pass information to configure that will allow this port to work
  for people with alternative PREFIXes
o Make this port respect CFLAGS
o Change BUILD_DEPENDS on the static gd library to a LIB_DEPENDS on the
  shared library, which is what this port really uses.
o Remove a patch and a one-line(functionally) script and simply use a perl
  command in pre-configure:
@
text
@d2 1
a2 1
# Version required:	1.22
d6 1
a6 1
# $Id: Makefile,v 1.8 1999/07/04 18:54:16 obrien Exp $
d12 1
a12 1
		ftp://ftp.dinoex.sub.de/pub/approved/
d30 1
a30 1
WRKSRC=		${WRKDIR}/webalizer-1.30-04
@


1.8
log
@Move noise from "pre-fetch" to "pre-configure" where it actually matters.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.7 1999/06/10 08:15:16 steve Exp $
d8 2
a9 2
DISTNAME=	webalizer-1.22-06-src
PKGNAME=	webalizer-1.22.6
d17 1
a17 1
BUILD_DEPENDS=	${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd
d20 2
a21 1
CONFIGURE_ARGS=	--prefix=${PREFIX}
d30 2
a31 1
WRKSRC=		${WRKDIR}/webalizer-1.22-06
d42 1
@


1.7
log
@Update to version 1.22.6.

PR:		12101
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.6 1999/03/31 15:15:13 steve Exp $
d39 1
a39 1
pre-fetch:
@


1.6
log
@Update to version 1.22.3.

PR:		10875
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.5 1999/01/26 02:18:07 steve Exp $
d8 2
a9 2
DISTNAME=	webalizer-1.22-03-src
PKGNAME=	webalizer-1.22.3
d19 2
d25 5
a29 4
SUPP_LANG=	english german french spanish dutch italian polish \
		catalan czech portuguese_brazil russian slovak swedish \
		portugues
WRKSRC=		${WRKDIR}/webalizer-1.22-03
d34 4
a37 1
WEBALIZER_LANG=english
a45 9

post-configure:
.for i in ${SUPP_LANG}
.if defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == ${i}
		@@${ECHO_MSG} "===> customizing for ${i}"
		@@cd ${WRKSRC}; \
		${LN} -sf lang/webalizer_lang.${i} webalizer_lang.h
.endif
.endfor
@


1.5
log
@Install the manpage and support more languages.

PR:		9621
Submitted by:	maintainer
@
text
@d2 1
a2 1
# Version required:	1.20
d6 1
a6 1
# $Id: Makefile,v 1.4 1998/08/17 00:34:42 steve Exp $
d8 2
a9 2
DISTNAME=	webalizer-1.20-07-src
PKGNAME=	webalizer-1.20
d23 4
a26 2
SUPP_LANG=	english german french spanish dutch italian polish
WRKSRC=		${WRKDIR}
d31 1
d45 2
a46 2
		${LN} -sf ${WRKSRC}/webalizer_lang.${i} \
			  ${WRKSRC}/webalizer_lang.h
d66 1
a66 1
.for i in msfree.gif sample.conf
@


1.4
log
@Update to version 1.20-07.

PR:		7563
Submitted by:	Ron Rosson <insane@@oneinsane.net>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1998/07/31 08:48:02 andreas Exp $
d20 4
d33 3
a35 5
	@@${ECHO_MSG} "make WEBALIZER_LANG=english"
	@@${ECHO_MSG} "make WEBALIZER_LANG=german"
	@@${ECHO_MSG} "make WEBALIZER_LANG=french"
	@@${ECHO_MSG} "make WEBALIZER_LANG=spanish"
	@@${ECHO_MSG} "make WEBALIZER_LANG=dutch"
d39 5
a43 15
.if defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == english
	@@${ECHO_MSG} "===> customizing for english"
	${LN} -sf ${WRKSRC}/webalizer_lang.english ${WRKSRC}/webalizer_lang.h
.elif defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == german
	@@${ECHO_MSG} "===> customizing for german"
	${LN} -sf ${WRKSRC}/webalizer_lang.german ${WRKSRC}/webalizer_lang.h
.elif defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == french
	@@${ECHO_MSG} "===> customizing for french"
	${LN} -sf ${WRKSRC}/webalizer_lang.french ${WRKSRC}/webalizer_lang.h
.elif defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == spanish
	@@${ECHO_MSG} "===> customizing for spanish"
	${LN} -sf ${WRKSRC}/webalizer_lang.spanish ${WRKSRC}/webalizer_lang.h
.elif defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == dutch
	@@${ECHO_MSG} "===> customizing for dutch"
	${LN} -sf ${WRKSRC}/webalizer_lang.dutch ${WRKSRC}/webalizer_lang.h
d45 1
d49 1
a49 1
	@@${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin
d53 3
d58 1
a58 1
.for i in CHANGES COPYING Copyright README webalizer.LSM
@


1.3
log
@language support
if defined batch then WEBALIZER_LANG=english
notify people how to build german, french, spanish, english, dutch
version, if WEBALIZER_LANG isn't defined ...
@
text
@d2 1
a2 1
# Version required:	1.12
d6 1
a6 1
# $Id: Makefile,v 1.2 1998/07/30 13:23:24 andreas Exp $
d8 2
a9 2
DISTNAME=	webalizer-1.12-09-src
PKGNAME=	webalizer-1.12
d62 1
a62 1
.for i in CHANGES COPYING Copyright README TODO webalizer.LSM
@


1.2
log
@Install sample comfig file as $PREFIX/etc/webalizer.conf-dist
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1998/06/28 12:42:08 andreas Exp $
d21 32
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d38 4
@


1.1.1.1
log
@Import of new port webalizer 1.12.09
The Webalizer is a web server log file analysis program which produces
usage statistics in HTML format for viewing with a browser.  The results
are presented in both columnar and graphical format, which facilitates
interpretation.  Yearly, monthly, daily and hourly usage statistics are
presented, along with the ability to display usage by site, URL, referrer,
user agent (browser) and country (user agent and referrer are only
available if your web server procduces Combined log format files).
PR:		closes 7000
Submitted by:	dirk.meyer@@dinoex.sub.org
@
text
@@
