head	1.121;
access;
symbols
	RELEASE_8_3_0:1.107
	RELEASE_9_0_0:1.103
	RELEASE_7_4_0:1.95
	RELEASE_8_2_0:1.95
	RELEASE_6_EOL:1.94
	RELEASE_8_1_0:1.80
	RELEASE_7_3_0:1.77
	RELEASE_8_0_0:1.74
	RELEASE_7_2_0:1.69
	RELEASE_7_1_0:1.64
	RELEASE_6_4_0:1.64
	RELEASE_5_EOL:1.60
	RELEASE_7_0_0:1.57
	RELEASE_6_3_0:1.57
	PRE_XORG_7:1.50
	RELEASE_4_EOL:1.47
	RELEASE_6_2_0:1.42
	RELEASE_6_1_0:1.37
	RELEASE_5_5_0:1.37
	RELEASE_6_0_0:1.23
	RELEASE_5_4_0:1.16
	RELEASE_4_11_0:1.9
	RELEASE_5_3_0:1.4;
locks; strict;
comment	@# @;


1.121
date	2012.12.10.19.24.05;	author svnexp;	state Exp;
branches;
next	1.120;

1.120
date	2012.11.21.14.39.11;	author svnexp;	state Exp;
branches;
next	1.119;

1.119
date	2012.11.17.06.02.38;	author svnexp;	state Exp;
branches;
next	1.118;

1.118
date	2012.10.23.19.51.19;	author mm;	state Exp;
branches;
next	1.117;

1.117
date	2012.08.05.23.19.36;	author dougb;	state Exp;
branches;
next	1.116;

1.116
date	2012.07.26.05.40.22;	author bapt;	state Exp;
branches;
next	1.115;

1.115
date	2012.07.18.18.32.10;	author mm;	state Exp;
branches;
next	1.114;

1.114
date	2012.07.16.12.57.18;	author mm;	state Exp;
branches;
next	1.113;

1.113
date	2012.07.16.06.42.50;	author mm;	state Exp;
branches;
next	1.112;

1.112
date	2012.06.16.22.28.41;	author mm;	state Exp;
branches;
next	1.111;

1.111
date	2012.06.16.10.21.47;	author mm;	state Exp;
branches;
next	1.110;

1.110
date	2012.06.16.09.15.26;	author mm;	state Exp;
branches;
next	1.109;

1.109
date	2012.05.31.17.38.58;	author mm;	state Exp;
branches;
next	1.108;

1.108
date	2012.05.11.20.38.08;	author ade;	state Exp;
branches;
next	1.107;

1.107
date	2012.03.19.09.18.13;	author mm;	state Exp;
branches;
next	1.106;

1.106
date	2012.02.14.12.45.33;	author mm;	state Exp;
branches;
next	1.105;

1.105
date	2012.01.10.20.56.52;	author mm;	state Exp;
branches;
next	1.104;

1.104
date	2011.12.24.00.25.38;	author mm;	state Exp;
branches;
next	1.103;

1.103
date	2011.12.19.07.56.10;	author mm;	state Exp;
branches;
next	1.102;

1.102
date	2011.09.23.22.26.02;	author amdmi3;	state Exp;
branches;
next	1.101;

1.101
date	2011.09.19.21.06.11;	author pav;	state Exp;
branches;
next	1.100;

1.100
date	2011.09.12.13.46.58;	author gabor;	state Exp;
branches;
next	1.99;

1.99
date	2011.09.09.09.55.17;	author mm;	state Exp;
branches;
next	1.98;

1.98
date	2011.07.06.12.52.24;	author mm;	state Exp;
branches;
next	1.97;

1.97
date	2011.05.18.21.43.41;	author mm;	state Exp;
branches;
next	1.96;

1.96
date	2011.03.23.15.49.11;	author mm;	state Exp;
branches;
next	1.95;

1.95
date	2010.12.04.07.33.57;	author ade;	state Exp;
branches;
next	1.94;

1.94
date	2010.10.16.11.52.42;	author ade;	state Exp;
branches;
next	1.93;

1.93
date	2010.10.06.22.15.16;	author mm;	state Exp;
branches;
next	1.92;

1.92
date	2010.10.05.19.57.53;	author ade;	state Exp;
branches;
next	1.91;

1.91
date	2010.09.15.18.35.20;	author ade;	state Exp;
branches;
next	1.90;

1.90
date	2010.08.31.10.11.59;	author mm;	state Exp;
branches;
next	1.89;

1.89
date	2010.08.28.10.53.22;	author mm;	state Exp;
branches;
next	1.88;

1.88
date	2010.08.28.08.33.33;	author mm;	state Exp;
branches;
next	1.87;

1.87
date	2010.08.27.18.39.54;	author mm;	state Exp;
branches;
next	1.86;

1.86
date	2010.08.27.14.46.54;	author mm;	state Exp;
branches;
next	1.85;

1.85
date	2010.08.18.22.13.21;	author mm;	state Exp;
branches;
next	1.84;

1.84
date	2010.08.18.17.01.43;	author mm;	state Exp;
branches;
next	1.83;

1.83
date	2010.08.15.21.48.12;	author mm;	state Exp;
branches;
next	1.82;

1.82
date	2010.08.03.19.09.14;	author mm;	state Exp;
branches;
next	1.81;

1.81
date	2010.08.03.01.08.14;	author linimon;	state Exp;
branches;
next	1.80;

1.80
date	2010.06.17.19.46.05;	author garga;	state Exp;
branches;
next	1.79;

1.79
date	2010.06.17.08.38.47;	author mm;	state Exp;
branches;
next	1.78;

1.78
date	2010.05.21.07.49.36;	author mm;	state Exp;
branches;
next	1.77;

1.77
date	2010.02.16.21.22.00;	author delphij;	state Exp;
branches;
next	1.76;

1.76
date	2009.11.30.17.48.17;	author garga;	state Exp;
branches;
next	1.75;

1.75
date	2009.11.09.10.24.23;	author garga;	state Exp;
branches;
next	1.74;

1.74
date	2009.08.02.19.36.01;	author mezz;	state Exp;
branches;
next	1.73;

1.73
date	2009.06.29.01.26.13;	author mnag;	state Exp;
branches;
next	1.72;

1.72
date	2009.06.28.05.07.13;	author mnag;	state Exp;
branches;
next	1.71;

1.71
date	2009.06.06.23.09.27;	author mnag;	state Exp;
branches;
next	1.70;

1.70
date	2009.04.25.04.17.03;	author mnag;	state Exp;
branches;
next	1.69;

1.69
date	2009.03.21.22.22.43;	author mnag;	state Exp;
branches;
next	1.68;

1.68
date	2009.02.24.19.06.36;	author mnag;	state Exp;
branches;
next	1.67;

1.67
date	2009.02.24.14.32.40;	author mnag;	state Exp;
branches;
next	1.66;

1.66
date	2009.02.21.18.38.00;	author danger;	state Exp;
branches;
next	1.65;

1.65
date	2008.10.08.01.17.28;	author mnag;	state Exp;
branches;
next	1.64;

1.64
date	2008.09.28.00.54.08;	author mnag;	state Exp;
branches;
next	1.63;

1.63
date	2008.09.27.23.47.57;	author mnag;	state Exp;
branches;
next	1.62;

1.62
date	2008.09.07.14.48.53;	author mnag;	state Exp;
branches;
next	1.61;

1.61
date	2008.08.21.06.18.35;	author rafan;	state Exp;
branches;
next	1.60;

1.60
date	2008.04.13.04.15.02;	author mnag;	state Exp;
branches;
next	1.59;

1.59
date	2008.04.13.03.50.27;	author mnag;	state Exp;
branches;
next	1.58;

1.58
date	2008.03.16.21.01.10;	author mnag;	state Exp;
branches;
next	1.57;

1.57
date	2007.09.22.23.13.46;	author mnag;	state Exp;
branches;
next	1.56;

1.56
date	2007.09.10.13.36.49;	author mnag;	state Exp;
branches;
next	1.55;

1.55
date	2007.08.30.12.42.04;	author mnag;	state Exp;
branches;
next	1.54;

1.54
date	2007.07.26.12.02.25;	author mnag;	state Exp;
branches;
next	1.53;

1.53
date	2007.07.23.09.36.43;	author rafan;	state Exp;
branches;
next	1.52;

1.52
date	2007.07.21.02.22.08;	author mnag;	state Exp;
branches;
next	1.51;

1.51
date	2007.05.25.17.55.12;	author mnag;	state Exp;
branches;
next	1.50;

1.50
date	2007.04.14.14.41.53;	author mnag;	state Exp;
branches;
next	1.49;

1.49
date	2007.03.26.03.31.57;	author mnag;	state Exp;
branches;
next	1.48;

1.48
date	2007.03.12.19.34.52;	author mnag;	state Exp;
branches;
next	1.47;

1.47
date	2006.12.13.13.20.51;	author mnag;	state Exp;
branches;
next	1.46;

1.46
date	2006.12.13.12.51.45;	author mnag;	state Exp;
branches;
next	1.45;

1.45
date	2006.12.13.12.43.13;	author linimon;	state Exp;
branches;
next	1.44;

1.44
date	2006.12.11.03.39.13;	author clsung;	state Exp;
branches;
next	1.43;

1.43
date	2006.10.31.03.22.20;	author mnag;	state Exp;
branches;
next	1.42;

1.42
date	2006.09.26.09.07.17;	author clsung;	state Exp;
branches;
next	1.41;

1.41
date	2006.09.15.08.17.10;	author linimon;	state Exp;
branches;
next	1.40;

1.40
date	2006.06.09.15.35.49;	author ehaupt;	state Exp;
branches;
next	1.39;

1.39
date	2006.05.03.13.25.07;	author pav;	state Exp;
branches;
next	1.38;

1.38
date	2006.03.15.14.58.35;	author garga;	state Exp;
branches;
next	1.37;

1.37
date	2006.02.23.10.39.41;	author ade;	state Exp;
branches;
next	1.36;

1.36
date	2006.02.20.14.52.58;	author mnag;	state Exp;
branches;
next	1.35;

1.35
date	2006.02.15.11.06.47;	author garga;	state Exp;
branches;
next	1.34;

1.34
date	2006.01.21.18.11.54;	author mnag;	state Exp;
branches;
next	1.33;

1.33
date	2006.01.04.23.40.57;	author edwin;	state Exp;
branches;
next	1.32;

1.32
date	2005.11.29.10.40.14;	author barner;	state Exp;
branches;
next	1.31;

1.31
date	2005.11.23.01.43.54;	author mnag;	state Exp;
branches;
next	1.30;

1.30
date	2005.11.15.06.51.32;	author ade;	state Exp;
branches;
next	1.29;

1.29
date	2005.10.10.18.01.50;	author ehaupt;	state Exp;
branches;
next	1.28;

1.28
date	2005.10.03.21.36.39;	author mnag;	state Exp;
branches;
next	1.27;

1.27
date	2005.09.19.13.20.40;	author garga;	state Exp;
branches;
next	1.26;

1.26
date	2005.09.01.14.49.48;	author garga;	state Exp;
branches;
next	1.25;

1.25
date	2005.08.30.11.38.21;	author vs;	state Exp;
branches;
next	1.24;

1.24
date	2005.08.29.10.13.32;	author garga;	state Exp;
branches;
next	1.23;

1.23
date	2005.07.31.14.21.10;	author sem;	state Exp;
branches;
next	1.22;

1.22
date	2005.07.15.22.26.56;	author pav;	state Exp;
branches;
next	1.21;

1.21
date	2005.06.16.08.04.20;	author pav;	state Exp;
branches;
next	1.20;

1.20
date	2005.06.15.21.09.27;	author pav;	state Exp;
branches;
next	1.19;

1.19
date	2005.04.12.03.26.43;	author obrien;	state Exp;
branches;
next	1.18;

1.18
date	2005.04.11.08.04.20;	author obrien;	state Exp;
branches;
next	1.17;

1.17
date	2005.04.05.08.12.13;	author sem;	state Exp;
branches;
next	1.16;

1.16
date	2005.03.11.06.00.23;	author vanilla;	state Exp;
branches;
next	1.15;

1.15
date	2005.03.03.12.14.54;	author flz;	state Exp;
branches;
next	1.14;

1.14
date	2005.02.22.18.42.58;	author sem;	state Exp;
branches;
next	1.13;

1.13
date	2005.02.12.16.51.31;	author sem;	state Exp;
branches;
next	1.12;

1.12
date	2005.02.07.14.05.35;	author sem;	state Exp;
branches;
next	1.11;

1.11
date	2005.02.06.16.30.35;	author sem;	state Exp;
branches;
next	1.10;

1.10
date	2005.01.30.18.52.21;	author vanilla;	state Exp;
branches;
next	1.9;

1.9
date	2004.12.12.17.16.56;	author vanilla;	state Exp;
branches;
next	1.8;

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

1.7
date	2004.11.26.03.14.29;	author vanilla;	state Exp;
branches;
next	1.6;

1.6
date	2004.11.01.08.54.19;	author vanilla;	state Exp;
branches;
next	1.5;

1.5
date	2004.10.12.07.02.43;	author linimon;	state Exp;
branches;
next	1.4;

1.4
date	2004.08.12.02.50.26;	author vanilla;	state Exp;
branches;
next	1.3;

1.3
date	2004.08.01.12.05.54;	author vanilla;	state Exp;
branches;
next	1.2;

1.2
date	2004.06.04.17.29.35;	author ade;	state Exp;
branches;
next	1.1;

1.1
date	2004.06.03.17.57.42;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.121
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308630
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308630 | mm | 2012-12-10 19:11:11 +0000 (Mon, 10 Dec 2012) | 4 lines
## SVN ##
## SVN ## Update PCRE to 8.32
## SVN ## Introduces the UTF-32 library pcre32
## SVN ## Bump PORTREVISION in dependent ports
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# New ports collection makefile for:		lighttpd
# Date created:					20 May 2004
# Whom:						k@@123.org
#
# $FreeBSD: head/www/lighttpd/Makefile 308630 2012-12-10 19:11:11Z mm $
#

PORTNAME?=	lighttpd
PORTVERSION=	1.4.32
PORTREVISION=	1
CATEGORIES?=	www
MASTER_SITES?=	http://download.lighttpd.net/lighttpd/releases-1.4.x/

MAINTAINER?=	mm@@FreeBSD.org
COMMENT?=	A secure, fast, compliant, and very flexible Web Server

.if !defined(_BUILDING_LIGHTTPD_MODULE)
LICENSE=	BSD
LICENSE_FILE=	${WRKSRC}/COPYING
.endif

LIB_DEPENDS+=	pcre.3:${PORTSDIR}/devel/pcre

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
USE_GNOME=	lthack
USE_GMAKE=	yes
USE_PKGCONFIG=	yes
MAKE_JOBS_SAFE=	yes

#.if !defined(_BUILDING_LIGHTTPD_MODULE)
#USE_AUTOTOOLS=	libtool
#.else
USE_AUTOTOOLS=	autoconf autoheader aclocal automake libtool
ACLOCAL_ARGS=	-I m4
AUTOMAKE_ARGS=	--add-missing
#.endif
CONFIGURE_ARGS+=	--libdir=${PREFIX}/lib/lighttpd --enable-static

CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

.if !defined(_BUILDING_LIGHTTPD_MODULE)
USE_RC_SUBR=	lighttpd

MAN8=		lighttpd.8

OPTIONS_DEFINE=	BZIP2 FAM GDBM IPV6 LIBEV LUA MEMCACHE MYSQL MYSQLAUTH \
		NODELAY LDAP OPENSSL SPAWNFCGI VALGRIND WEBDAV REMOTEUSER

OPTIONS_DEFAULT=	IPV6 OPENSSL 

BZIP2_DESC=	bzip2 support (mod_compress)
GDBM_DESC=	gdbm storage (mod_trigger_b4_dl)
LDAP_DESC=	LDAP authentication
LUA_DESC=	lua support (mod_cml, mod_magnet)
MEMCACHE_DESC=	memcached storage (mod_trigger_b4_dl)
MYSQL_DESC=	MySQL support (mod_mysql_vhost)
MYSQLAUTH_DESC=	MySQL authentication (requires WITH_MYSQL)
NODELAY_DESC=	Set TCP_NODELAY on listening sockets
SPAWNFCGI_DESC=	Depend on spawn-fcgi utility
VALGRIND_DESC=	valgrind support
WEBDAV_DESC=	WebDAV support
REMOTEUSER_DESC=	Add remote-user to conditionals

LIGHTTPD_CONF_FILES=	lighttpd.conf modules.conf

LIGHTTPD_CONF_D_FILES=	access_log.conf \
	auth.conf cgi.conf cml.conf \
	compress.conf debug.conf dirlisting.conf \
	evhost.conf expire.conf fastcgi.conf \
	magnet.conf mime.conf mysql_vhost.conf proxy.conf \
	rrdtool.conf scgi.conf secdownload.conf \
	simple_vhost.conf ssi.conf status.conf \
	trigger_b4_dl.conf userdir.conf webdav.conf

LIGHTTPD_LOGROOT?=	/var/log/lighttpd
LIGHTTPD_WEBROOT?=	${PREFIX}/www/data
LIGHTTPD_USER?=		www
LIGHTTPD_GROUP?=	www

PLIST_SUB+=		LOGROOT="${LIGHTTPD_LOGROOT}" \
			USER="${LIGHTTPD_USER}" \
			GROUP="${LIGHTTPD_GROUP}" \
			MKDIR="${MKDIR}" \
			CHOWN="${CHOWN}"

.endif # !defined(_BUILDING_LIGHTTPD_MODULE)

.include <bsd.port.pre.mk>

.if !defined(_BUILDING_LIGHTTPD_MODULE)
# Default REQUIRE to rc.d script
_REQUIRE=	DAEMON

.if ${PORT_OPTIONS:MDOCS}
DOCS=		AUTHORS COPYING INSTALL NEWS README
PORTDOCS=	${DOCS}
.endif

.if ${PORT_OPTIONS:MOPENSSL}
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
CONFIGURE_ARGS+=	--with-openssl \
			--with-openssl-includes=${OPENSSLINC} \
			--with-openssl-libs=${OPENSSLLIB}
.endif

.if ${PORT_OPTIONS:MBZIP2}
CONFIGURE_ARGS+=	--with-bzip2
.endif

.if ${PORT_OPTIONS:MFAM}
USE_FAM=		yes
CONFIGURE_ARGS+=	--with-fam
CONFIGURE_ENV+=		FAM_CFLAGS="-I${LOCALBASE}/include" FAM_LIBS="-L${LOCALBASE}/lib"
.endif

.if ${PORT_OPTIONS:MGDBM}
LIB_DEPENDS+=		gdbm:${PORTSDIR}/databases/gdbm
CONFIGURE_ARGS+=	--with-gdbm
.endif

.if empty(PORT_OPTIONS:MIPV6)
CONFIGURE_ARGS+=	--disable-ipv6
.endif

.if ${PORT_OPTIONS:MLIBEV}
CONFIGURE_ARGS+=	--with-libev=${LOCALBASE}
LIB_DEPENDS+=		ev.4:${PORTSDIR}/devel/libev
.endif

.if ${PORT_OPTIONS:MLUA}
USE_LUA=		5.1
CONFIGURE_ARGS+=	--with-lua
CONFIGURE_ENV+=		LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua"
.endif

.if ${PORT_OPTIONS:MMEMCACHE}
LIB_DEPENDS+=		memcache.4:${PORTSDIR}/databases/libmemcache
CONFIGURE_ARGS+=	--with-memcache
.endif

.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL=		yes
CONFIGURE_ARGS+=	--with-mysql
_REQUIRE+=		mysql
.endif

.if ${PORT_OPTIONS:MMYSQLAUTH} && empty(PORT_OPTIONS:MMYSQL)
IGNORE=		option WITH_MYSQLAUTH requires WITH_MYSQL
.endif

.if ${PORT_OPTIONS:MMYSQLAUTH}
EXTRA_PATCHES+=		${FILESDIR}/extra-patch-mysqlauth
PORTDOCS+=		README.mysqlauth mysql_auth.sql
.endif

.if ${PORT_OPTIONS:MNODELAY}
EXTRA_PATCHES+=		${FILESDIR}/extra-patch-nodelay
.endif

.if ${PORT_OPTIONS:MLDAP}
USE_OPENLDAP=		yes
CONFIGURE_ARGS+=	--with-ldap
_REQUIRE+=		slapd
.endif

.if ${PORT_OPTIONS:MSPAWNFCGI}
RUN_DEPENDS+=		spawn-fcgi:${PORTSDIR}/www/spawn-fcgi
.endif

.if ${PORT_OPTIONS:MVALGRIND}
BUILD_DEPENDS+=		valgrind:${PORTSDIR}/devel/valgrind
RUN_DEPENDS+=		valgrind:${PORTSDIR}/devel/valgrind
CONFIGURE_ARGS+=	--with-valgrind
.endif

.if ${PORT_OPTIONS:MWEBDAV}
USE_GNOME+=		libxml2
LIB_DEPENDS+=		uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid \
			sqlite3.8:${PORTSDIR}/databases/sqlite3
CONFIGURE_ARGS+=	--with-webdav-props --with-webdav-locks
.endif

# 3rd party remoteuser patch (lighttpd feature request #2415)
.if ${PORT_OPTIONS:MREMOTEUSER}
EXTRA_PATCHES+=		${FILESDIR}/extra-patch-remoteuser
.endif

SUB_LIST+=		REQUIRE="${_REQUIRE}"

post-patch:
	@@${REINPLACE_CMD} -e 's|-std=gnu99||' \
		${WRKSRC}/configure ${WRKSRC}/configure.ac
	@@${REINPLACE_CMD} -E -e \
		's|^(server.document-root.*=).*|\1 "${PREFIX}/www/data/"|' \
		-e "s|/etc/lighttpd|${PREFIX}/etc/lighttpd|g" \
		-e 's|^(server.event-handler.*=).*|\1 "freebsd-kqueue"|' \
		-e 's|^(server.network-backend.*=).*|\1 "writev"|' \
		-e "s|^(server.username.*=).*|\1 \"${LIGHTTPD_USER}\"|" \
		-e "s|^(server.groupname.*=).*|\1 \"${LIGHTTPD_GROUP}\"|" \
		-e "s|^(var.log_root.*=).*|\1 \"${LIGHTTPD_LOGROOT}\"|" \
		-e "s|^(var.home_dir.*=).*|\1 \"/var/spool/lighttpd\"|" \
		-e "s|^(var.server_root.*=).*|\1 \"${LIGHTTPD_WEBROOT}\"|" \
		${WRKSRC}/doc/config/lighttpd.conf
	@@${REINPLACE_CMD} -e "s|/etc/lighttpd|${PREFIX}/etc/lighttpd|g" \
		${WRKSRC}/doc/config/conf.d/auth.conf
	@@${REINPLACE_CMD} -e "s|/usr/bin/python|${LOCALBASE}/bin/python|" \
		${WRKSRC}/doc/config/conf.d/cgi.conf \
		${WRKSRC}/tests/*.conf
	@@${ECHO} >> ${WRKSRC}/doc/config/lighttpd.conf
	@@${ECHO} "# IPv4 listening socket" >> \
		${WRKSRC}/doc/config/lighttpd.conf
	@@${ECHO} "\$$SERVER[\"socket\"] == \"0.0.0.0:80\" { }" >> \
		${WRKSRC}/doc/config/lighttpd.conf

post-install:
	@@${MKDIR} ${PREFIX}/etc/lighttpd/conf.d ${PREFIX}/etc/lighttpd/vhosts.d
.for FILE in ${LIGHTTPD_CONF_FILES}
	@@${INSTALL_DATA} ${WRKSRC}/doc/config/${FILE} \
		${PREFIX}/etc/lighttpd/${FILE}.sample
.if !exists(${PREFIX}/etc/lighttpd/${FILE})
	@@${INSTALL_DATA} ${WRKSRC}/doc/config/${FILE} \
		${PREFIX}/etc/lighttpd/${FILE}
.endif
.endfor
.for FILE in ${LIGHTTPD_CONF_D_FILES}
	@@${INSTALL_DATA} ${WRKSRC}/doc/config/conf.d/${FILE} \
		${PREFIX}/etc/lighttpd/conf.d/${FILE}.sample
.if !exists(${PREFIX}/etc/lighttpd/conf.d/${FILE})
	@@${INSTALL_DATA} ${WRKSRC}/doc/config/conf.d/${FILE} \
		${PREFIX}/etc/lighttpd/conf.d/${FILE}
.endif
.endfor
	@@${INSTALL_DATA} ${WRKSRC}/doc/config/vhosts.d/vhosts.template \
		${PREFIX}/etc/lighttpd/vhosts.d/vhosts.template
	@@${MKDIR} -m 0700 ${LIGHTTPD_LOGROOT}
	@@${CHOWN} ${LIGHTTPD_USER}:${LIGHTTPD_GROUP} ${LIGHTTPD_LOGROOT}

.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
. for FILE in ${DOCS}
	@@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/${FILE}
. endfor
.endif
.if ${PORT_OPTIONS:MMYSQLAUTH}
. for FILE in README.mysqlauth mysql_auth.sql
	@@${INSTALL_DATA} ${FILESDIR}/${FILE} ${DOCSDIR}/${FILE}
. endfor
.endif

test: build
	@@cd ${WRKSRC}/tests && ${SETENV} ${MAKE_ENV} ${MAKE} \
		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} \
		check-TESTS

regression-test: test

.endif # !defined(_BUILDING_LIGHTTPD_MODULE)

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


1.120
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307617
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307617 | mm | 2012-11-21 14:36:24 +0000 (Wed, 21 Nov 2012) | 4 lines
## SVN ##
## SVN ## Update lighttpd to 1.4.32 (fixes CVE-2012-5533)
## SVN ##
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d5 1
a5 1
# $FreeBSD: head/www/lighttpd/Makefile 307617 2012-11-21 14:36:24Z mm $
d10 1
d22 1
a22 1
LIB_DEPENDS+=	pcre.1:${PORTSDIR}/devel/pcre
@


1.119
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/www/lighttpd/Makefile 306323 2012-10-23 19:51:19Z mm $
d9 1
a9 2
PORTVERSION=	1.4.31
PORTREVISION=	5
@


1.118
log
@SVN rev 306323 on 2012-10-23 19:51:19Z by mm

Fix python path in configuration files

PR:		ports/172165
Submitted by:	crees
Feature safe:	yes
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.117
log
@SVN rev 302141 on 2012-08-05 23:19:36Z by dougb

Move the rc.d scripts of the form *.sh.in to *.in

Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
@
text
@d10 1
a10 1
PORTREVISION=	4
d208 3
@


1.116
log
@SVN rev 301539 on 2012-07-26 05:40:22Z by bapt

new devel/pkgconf added to replace devel/pkg-config. new version of pkg-config
are no more self hosting so we are stuck with 0.25 version while pkgconf provide
the same set of features as 0.27 and a compatible frontend. A symlink to
pkg-config has been added for convenience and compatibility

This also introduces a new macro to use pkgconf in your ports:
USE_PKGCONFIG

it can take the following arguments:
 - yes (meaning build only dep)
 - build (meaning build only dep)
 - run (meaning run only dep)
 - both (meaning run and build dep)

From now USE_GNOME= pkgconfig is deprecated in favour of USE_PKGCONFIG
The old gnome macro has been modified to use pkgconf but still the sameway: run
and build dep to avoid large breakage.

While here fix some ports relying on pkg-config but not specifying it, fix some
ports broken because testing wrong .pc files, and fix ports using pkg-config
--version to determine pkg-config version instead of
pkg-config --modversion pkg-config like recommanded by pkg-config

With Hat:	portmgr
Exp-runs by:	bapt (pointhat-west), beat (pointyhat)
@
text
@d44 1
a44 1
USE_RC_SUBR=	lighttpd.sh
@


1.115
log
@SVN rev 301114 on 2012-07-18 18:32:10Z by mm

Fix IPv6 support broken in last update

PR:		ports/169931
Reported by:	Arnaud Houdelette
@
text
@a21 1
BUILD_DEPENDS+=	pkg-config:${PORTSDIR}/devel/pkg-config
d28 1
@


1.114
log
@SVN rev 300949 on 2012-07-16 12:57:18Z by mm

Reorganize options of www/lighttpd
Add two new default options
@
text
@d10 1
a10 1
PORTREVISION=	3
d123 1
a123 1
.if ${PORT_OPTIONS:MIPV6}
@


1.113
log
@SVN rev 300924 on 2012-07-16 06:42:50Z by mm

Update to new options framework
@
text
@d10 1
a10 1
PORTREVISION=	2
d48 2
a49 2
OPTIONS_DEFINE=	BZIP2 CML FAM GDBM IPV6 LIBEV MAGNET MEMCACHE MYSQL MYSQLAUTH \
		NODELAY OPENLDAP OPENSSL SPAWNFCGI VALGRIND WEBDAV REMOTEUSER
d53 6
a58 8
BZIP2_DESC=	bzip2 support
CML_DESC=	Cache Meta Language support
FAM_DESC=	fam/gamin support
GDBM_DESC=	gdbm storage support
LIBEV_DESC=	libev support
MAGNET_DESC=	magnet support
MEMCACHE_DESC=	Memory caching support
MYSQL_DESC=	MySQL support
a60 1
OPENLDAP_DESC=	LDAP support
a111 6
.if ${PORT_OPTIONS:MCML}
USE_LUA=		yes
CONFIGURE_ARGS+=	--with-lua
CONFIGURE_ENV+=		LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua"
.endif

d132 2
a133 2
.if ${PORT_OPTIONS:MMAGNET}
USE_LUA=		5.1+
d162 1
a162 1
.if ${PORT_OPTIONS:MOPENLDAP}
@


1.112
log
@Add 3rd party remoteuser patch (optional)
http://redmine.lighttpd.net/issues/2415

PR:		ports/167209
Submitted by:	Ryan Steinmetz <rpsfa@@rit.edu>
@
text
@d48 2
a49 17
OPTIONS=	BZIP2		"Enable Bzip2 support" off \
		CML		"Enable Cache Meta Language support" off \
		FAM		"Enable fam/gamin support" off \
		GDBM		"Enable gdbm storage support" off \
		IPV6		"Enable IPV6 support" on \
		LIBEV		"Enable libev support" off \
		MAGNET		"Enable magnet support" off \
		MEMCACHE	"Enable memory caching support" off \
		MYSQL		"Enable MYSQL support" off \
		MYSQLAUTH	"Enable mysql auth (requires WITH_MYSQL)" off \
		NODELAY		"Set TCP_NODELAY on listening sockets" off \
		OPENLDAP	"Enable LDAP support" off \
		OPENSSL		"Enable SSL support" on \
		SPAWNFCGI	"Depend on spawn-fcgi utility" off \
		VALGRIND	"Enable valgrind support" off \
		WEBDAV		"Enable WebDAV support"	off \
		REMOTEUSER	"Add remote-user to conditionals" off
d51 17
a67 4
.if !defined(NOPORTDOCS)
DOCS=		AUTHORS COPYING INSTALL NEWS README
PORTDOCS=	${DOCS}
.endif
d99 6
a104 1
.if !defined(WITHOUT_OPENSSL)
d111 1
a111 1
.if defined(WITH_BZIP2)
d115 1
a115 1
.if defined(WITH_CML)
d121 1
a121 1
.if defined(WITH_FAM)
d127 1
a127 1
.if defined(WITH_GDBM)
d132 1
a132 1
.if defined(WITHOUT_IPV6)
d136 1
a136 1
.if defined(WITH_LIBEV)
d141 1
a141 1
.if defined(WITH_MAGNET)
d147 1
a147 1
.if defined(WITH_MEMCACHE)
d152 1
a152 1
.if defined(WITH_MYSQL)
d158 1
a158 1
.if defined(WITH_MYSQLAUTH) && !defined(WITH_MYSQL)
d162 1
a162 1
.if defined(WITH_MYSQLAUTH)
d167 1
a167 1
.if defined(WITH_NODELAY)
d171 1
a171 1
.if defined(WITH_OPENLDAP)
d177 1
a177 1
.if defined(WITH_SPAWNFCGI)
d181 1
a181 1
.if defined(WITH_VALGRIND)
d187 1
a187 1
.if defined(WITH_WEBDAV)
d195 1
a195 1
.if defined(WITH_REMOTEUSER)
d246 1
a246 1
.if !defined(NOPORTDOCS)
d252 1
a252 1
.if defined(WITH_MYSQLAUTH)
@


1.111
log
@Do a configtest before performing a graceful restart
@
text
@d63 2
a64 1
		WEBDAV		"Enable WebDAV support"	off
d191 5
@


1.110
log
@Alter lighttpd startup script subcommands to behave like the apache script:
"reload" now sends a SIGHUP and cycles logfiles
"graceful" now performs a graceful restart
"gracefulstop" now performs a graceful stp
"configtest" now checks the configuration file for correct syntax

Removed subcommand:
"check" (replaced by "configtest")
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.109
log
@Update to 1.4.31
@
text
@d10 1
@


1.108
log
@Update autoconf to 2.69 and automake to 1.12

PR:		166836
Tested by:	Multiple -exp runs (pav)
@
text
@d9 1
a9 2
PORTVERSION=	1.4.30
PORTREVISION=	3
@


1.107
log
@Add patch for upstream bug #2391
Reorganize patches

Feature safe:	yes
@
text
@d36 1
@


1.106
log
@Bump pcre library dependency due to 8.30 update
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.105
log
@Switch to GNU make and mark port MAKE_JOBS_SAFE

PR:		ports/158715
Submitted by:	mandree@@FreeBSD.org
@
text
@d10 1
a10 1
PORTREVISION=	1
d23 1
a23 1
LIB_DEPENDS+=	pcre.0:${PORTSDIR}/devel/pcre
@


1.104
log
@Add patch to fix vendor issue 2377 (SSL renegotiations) [1]
Add patch to correctly report supported network handlers (lighttpd -V) [2]

References:
http://redmine.lighttpd.net/issues/2377 [1]

Reported by:	Christos Chatzaras <chris_at_cretaforce_dot_gr> [1] [2]
Obtained from:	lighttpd svn rev. 2822 [1]
@
text
@d28 2
@


1.103
log
@Update to 1.4.30
Unbreak build if using libev
@
text
@d10 1
@


1.102
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
@d9 1
a9 2
PORTVERSION=	1.4.29
PORTREVISION=	2
@


1.101
log
@- Chase libev shlib bump

Pointy hat to:	vsevolod
@
text
@a39 2
CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS}"

@


1.100
log
@- Track dependencies after databases/gdbm update
@
text
@d133 1
a133 1
LIB_DEPENDS+=		ev.3:${PORTSDIR}/devel/libev
@


1.99
log
@Add patches from upstream (svn revisions):
 - r2799: Always use our 'own' md5 implementation (fixes #2331)
 - r2800: fix some gcc warnings
 - r2801: Limit amount of bytes we send in one go; fixes stalling in one
	  connection and timeouts on slow systems.
 - r2802: [ssl] fix build errors when Elliptic-Curve Diffie-Hellman
	  is disabled
 - r2803: Add static-file.disable-pathinfo option to prevent handling
	  of urls like .../secret.php/image.jpg as static file
 - r2804: Don't overwrite 401 (auth required) with 501 (unknown method)
	  (fixes #2341)

Add test and regression-test targets.
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.98
log
@Update to 1.4.29

PR:		ports/158618
Submitted by:	Zhihao Yuan <lichray@@gmail.com>
@
text
@d10 1
d29 3
a31 3
.if !defined(_BUILDING_LIGHTTPD_MODULE)
USE_AUTOTOOLS=	libtool
.else
d34 1
a34 1
.endif
d247 8
@


1.97
log
@- Rename CONF_FILES to avoid conflict with incoming feature [1]
- Rename CONFD_FILES to match changed naming
- Fix IGNORE message

PR:		ports/157163 [1]
Submitted by:	Chris Rees <utisoft@@gmail.com> [1]
@
text
@d9 1
a9 2
PORTVERSION=	1.4.28
PORTREVISION=	4
d16 5
a28 2
LICENSE=	BSD
LICENSE_FILE=	${WRKSRC}/COPYING
@


1.96
log
@- Add LICENSE knobs
- Bundle license for mod_h264_streaming
@
text
@d66 1
a66 1
CONF_FILES=	lighttpd.conf modules.conf
d68 8
a75 7
CONFD_FILES=	access_log.conf auth.conf cgi.conf cml.conf \
		compress.conf debug.conf dirlisting.conf \
		evhost.conf expire.conf fastcgi.conf \
		magnet.conf mime.conf mysql_vhost.conf proxy.conf \
		rrdtool.conf scgi.conf secdownload.conf \
		simple_vhost.conf ssi.conf status.conf \
		trigger_b4_dl.conf userdir.conf webdav.conf
d151 1
a151 1
IGNORE=		WITH_MYSQLAUTH requires WITH_MYSQL
d212 1
a212 1
.for FILE in ${CONF_FILES}
d220 1
a220 1
.for FILE in ${CONFD_FILES}
@


1.95
log
@Sync to new bsd.autotools.mk
@
text
@d25 2
@


1.94
log
@Punt autoconf267->autoconf268
@
text
@d25 1
a25 1
USE_AUTOTOOLS=	libtool:22
d27 1
a27 1
USE_AUTOTOOLS=	autoconf:268 autoheader:268 aclocal:111 automake:111 libtool:22
@


1.93
log
@- Use autotools only if building lighttpd modules
@
text
@d27 1
a27 1
USE_AUTOTOOLS=	autoconf:267 autoheader:267 aclocal:111 automake:111 libtool:22
@


1.92
log
@Round one migration of ports from automake{19,110} to automake111
@
text
@d23 4
d29 1
@


1.91
log
@Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
@
text
@d23 1
a23 1
USE_AUTOTOOLS=	autoconf:267 autoheader:267 aclocal:110 automake:110 libtool:22
@


1.90
log
@- Add multiple instances ability to rc script
@
text
@d10 1
a10 1
PORTREVISION=	3
d23 1
a23 1
USE_AUTOTOOLS=	autoconf:262 autoheader:262 aclocal:110 automake:110 libtool:22
@


1.89
log
@- Integrate www/lighttpd-mysqlauth into www/lighttpd (optional)
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.88
log
@- Use autoconf and automake on build time (avoid re-run of configure)
- Remove AUTOTOOLS knobs from slave ports
@
text
@d10 1
a10 1
PORTREVISION=	1
d46 1
d55 2
a56 1
PORTDOCS=	AUTHORS COPYING INSTALL NEWS README
d142 9
d227 1
a227 1
. for FILE in ${PORTDOCS}
d231 5
@


1.87
log
@- Move lighttpd mod_geoip and mod_h264_streaming into slave ports
@
text
@d23 3
a25 7
.if defined(_BUILDING_LIGHTTPD_MODULE)
USE_AUTOTOOLS?=	libtool:22
CONFIGURE_ARGS?=	--libdir=${PREFIX}/lib/lighttpd --enable-static
.else
USE_AUTOTOOLS=	libtool:22
CONFIGURE_ARGS=		--libdir=${PREFIX}/lib/lighttpd --enable-static
.endif # defined(_BUILDING_LIGHTTPD_MODULE)
@


1.86
log
@- Update to 1.4.28
- remove fdevent patch (already included)
@
text
@d8 1
a8 1
PORTNAME=	lighttpd
d10 3
a12 2
CATEGORIES=	www
MASTER_SITES=	http://download.lighttpd.net/lighttpd/releases-1.4.x/
d14 2
a15 2
MAINTAINER=	mm@@FreeBSD.org
COMMENT=	A secure, fast, compliant, and very flexible Web Server
d17 2
a18 2
BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkg-config
LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre
a20 1
USE_AUTOTOOLS=	libtool:22
d23 7
a29 2
USE_RC_SUBR=	lighttpd.sh
CONFIGURE_ARGS=	--libdir=${PREFIX}/lib/lighttpd --enable-static
d34 5
a44 2
		GEOIP		"Enable GeoIP support" off \
		H264		"Enable H.264 streaming" off \
d65 1
a65 1
		evhost.conf expire.conf fastcgi.conf geoip.conf \
d82 2
d86 1
a89 24
.if defined(WITH_H264) || defined(WITH_GEOIP)
PATCH_SITES+=		${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR+=	mm
USE_AUTOTOOLS+=		autoconf:262 autoheader:262 aclocal:110 automake:110
ACLOCAL_ARGS+=		-I m4
.endif

.if defined(WITH_H264)
PATCHFILES+=		lighttpd-1.4.26_mod_h264_streaming-2.2.9.patch.gz
PORTDOCS+=		COPYING_H264
#MANUAL_PACKAGE_BUILD=	free for non-commercial use only
PLIST_SUB+=		H264=""
.else
PLIST_SUB+=		H264="@@comment "
.endif

.if defined(WITH_GEOIP)
PATCHFILES+=		lighttpd-1.4.26_mod_geoip.patch.gz
LIB_DEPENDS+=		GeoIP.5:${PORTSDIR}/net/GeoIP
PLIST_SUB+=		GEOIP=""
.else
PLIST_SUB+=		GEOIP="@@comment "
.endif

a193 4
.if defined(WITH_H264)
	@@${CAT} ${WRKSRC}/COPYING_H264
	@@sleep 10
.endif
d224 1
@


1.85
log
@- Update lighttpd configuration file layout
- Do configuration sanity checks before restarting gracefully
@
text
@d9 1
a9 2
PORTVERSION=	1.4.27
PORTREVISION=	2
@


1.84
log
@- Add bugfix for lighttpd issue #2249
@
text
@d10 1
a10 1
PORTREVISION=	1
d54 21
d188 15
a202 10
	@@${REINPLACE_CMD} -e 's|-std=gnu99||' ${WRKSRC}/configure ${WRKSRC}/configure.ac
	@@${REINPLACE_CMD} -E -e 's|(server.document-root.*=).*|\1 "${PREFIX}/www/data/"|' \
		-e 's|(server.errorlog.*=).*|\1 "/var/log/lighttpd.error.log"|' \
		-e 's|# server.event-handler|server.event-handler|' \
		-e 's|(accesslog.filename.*=).*|\1 "/var/log/lighttpd.access.log"|' \
		-e 's|#server.pid-file|server.pid-file|' \
		-e 's|#server.username.*|server.username            = "www"|' \
		-e 's|#server.groupname.*|server.groupname           = "www"|' \
		-e 's|/usr/local/bin/php|${PREFIX}/bin/php-cgi|' \
			${WRKSRC}/doc/config/lighttpd.conf
d204 1
a204 1
	@@${ECHO} "# IPv4 listening socket" >> ${WRKSRC}/doc/lighttpd.conf >> \
a207 7
.if !defined(WITHOUT_IPV6)
	@@${ECHO} >> ${WRKSRC}/doc/config/lighttpd.conf
	@@${ECHO} "# IPv6 listening socket" >> ${WRKSRC}/doc/lighttpd.conf >> \
		${WRKSRC}/doc/config/lighttpd.conf
	@@${ECHO} "\$$SERVER[\"socket\"] == \"[::]:80\" { }" >> \
		${WRKSRC}/doc/config/lighttpd.conf
.endif
d214 22
a235 5
	@@${INSTALL_DATA} ${WRKSRC}/doc/config/lighttpd.conf ${PREFIX}/etc/lighttpd.conf.sample
.if !exists(${PREFIX}/etc/lighttpd.conf)
	@@${INSTALL_DATA} ${WRKSRC}/doc/config/lighttpd.conf ${PREFIX}/etc/lighttpd.conf
.endif
	@@${LIBTOOL} --finish ${PREFIX}/lib
@


1.83
log
@- Update to 1.4.27
- Add fdevent kqueue patch from upstream (SVN revision 2764)
- Add libev support (optional)
- Do not depend on spawn-fcgi by default
- Add IPv4 and IPv6 sockets to configuration example
@
text
@d10 1
@


1.82
log
@Fix stalls while reading from ssl sockets [1]
Fix reload signal in rc script [2]
Fix use of IPv6 adresses in mod_extforward [3]
Add optional support for mod_geoip [4]
Move pkg-config to BUILD_DEPENDS

References:
http://redmine.lighttpd.net/issues/2197 [1]
http://redmine.lighttpd.net/issues/1889 [3]
http://redmine.lighttpd.net/wiki/1/Docs:ModGeoip [4]

PR:	ports/145749 [1], ports/148869 [2], ports/144110 [3], ports/137664 [4]
@
text
@d9 1
a9 2
PORTVERSION=	1.4.26
PORTREVISION=	4
d38 1
d45 1
a45 1
		SPAWNFCGI	"Enable spawn-fcgi utility" on \
d114 5
d175 6
a180 1
			${WRKSRC}/doc/lighttpd.conf
d182 5
a186 4
	@@${ECHO} "" >> ${WRKSRC}/doc/lighttpd.conf
	@@${ECHO} "# Enable IPV6 and IPV4 together" >> ${WRKSRC}/doc/lighttpd.conf
	@@${ECHO} "server.use-ipv6 = \"enable\"" >> ${WRKSRC}/doc/lighttpd.conf
	@@${ECHO} "\$$SERVER[\"socket\"] == \"0.0.0.0:80\" { }" >> ${WRKSRC}/doc/lighttpd.conf
d194 1
a194 1
	@@${INSTALL_DATA} ${WRKSRC}/doc/lighttpd.conf ${PREFIX}/etc/lighttpd.conf.sample
d196 1
a196 1
	@@${INSTALL_DATA} ${WRKSRC}/doc/lighttpd.conf ${PREFIX}/etc/lighttpd.conf
@


1.81
log
@Over to new volunteer.

Approved by:	old maintainer
@
text
@d10 1
a10 1
PORTREVISION=	3
d17 1
d23 1
a23 1
USE_GNOME=	lthack pkgconfig
d36 1
d58 1
a58 1
.if defined(WITH_H264)
a60 1
PATCHFILES+=		lighttpd-1.4.26_mod_h264_streaming-2.2.9.patch.gz
d63 4
d68 1
a68 1
MANUAL_PACKAGE_BUILD=	free for non-commercial use only
d74 8
@


1.80
log
@- Fix SSL related error, lighttpd bug #2157
- Bump PORTREVISION

PR:		ports/147187
Submitted by:	Hartmann, "O." <ohartman@@mail.zedat.fu-berlin.de>
Approved by:	mnag (maintainer)
Obtained from:	http://redmine.lighttpd.net/issues/2157
@
text
@d14 1
a14 1
MAINTAINER=	mnag@@FreeBSD.org
@


1.79
log
@- Add basic docs to portdocs
- Add optional mod_h264_streaming

PR:		ports/147439
Approved by:	maintainer (timeout)
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.78
log
@- Add optional TCP_NODELAY patch

PR:		ports/145985
Approved by:	maintainer (timeout)
@
text
@d10 1
a10 1
PORTREVISION=	1
d24 1
a24 1
CONFIGURE_ARGS=	--libdir=${PREFIX}/lib/lighttpd
d35 1
d47 4
d56 13
d164 4
d175 6
@


1.77
log
@Security update to 1.4.26.

PR:		143980
Submitted by:	john <smallpox gmail com>
Security:	vuln 1a3bd81f-1b25-11df-bd1a-002170daae37
With hat:	secteam
Feature safe:	yes
@
text
@d10 1
d39 1
d100 4
@


1.76
log
@Update to 1.4.25

PR:		ports/141027
Submitted by:	Ralf van der Enden <tremere@@cainites.net>
Approved by:	mnag (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.4.25
@


1.75
log
@Update to 1.4.24

PR:		ports/140316
Approved by:	maintainer by email
@
text
@d9 1
a9 1
PORTVERSION=	1.4.24
d11 1
a11 2
MASTER_SITES=	http://www.lighttpd.net/download/ \
		http://mirrors.cat.pdx.edu/lighttpd/
@


1.74
log
@-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
@
text
@d9 1
a9 1
PORTVERSION=	1.4.23
d20 1
a20 2
USE_AUTOTOOLS=	aclocal:110 autoconf:262 autoheader:262 automake:110 libtool:22
ACLOCAL_ARGS=	--force
@


1.73
log
@- Upgrade fix.

PR:		136125
Submitted by:	Martin Matuska <mm___FreeBSD.org>
@
text
@d20 1
a20 1
USE_AUTOTOOLS=	aclocal:110 autoconf:262 autoheader:262 automake:110 libtool:15
@


1.72
log
@- Update to 1.4.23

PR:		136026
Submitted by:	Martin Matuska <mm___FreeBSD.org>
@
text
@d20 2
a21 1
USE_AUTOTOOLS=	libtool:15
d23 1
a23 1
USE_GNOME=	lthack
@


1.71
log
@- Workaround for a problem when access one symbolic link and end with /.
- Bump PORTREVISION.

Take from:	http://redmine.lighttpd.net/issues/1989
@
text
@d9 1
a9 2
PORTVERSION=	1.4.22
PORTREVISION=	2
d29 1
a29 1
MAN1=		lighttpd.1
d125 1
a125 1
	@@${REINPLACE_CMD} -e 's|-std=gnu99||' ${WRKSRC}/configure.in
@


1.70
log
@- Modify lighttpd to use www/spawn-fcgi port.
- Bump PORTREVISION

PR:		133707
Submitted by:	Aragon Gouveia <aragon___phat.za.net>
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.69
log
@- Update to 1.4.22

PR:		132395
Submitted by:	Daniel Gerzo <danger___freebsd.org>
@
text
@d10 1
d30 1
a30 1
MAN1=		lighttpd.1 spawn-fcgi.1
d42 1
d106 4
@


1.68
log
@- Backport EPIPE case in sendfile backend. [1]
- portlint(1)
- Bump PORTREVISION

Reported by:	Jeroen Ruigrok van der Werven <asmodai__in-nomine.org> [1]
@
text
@d9 1
a9 2
PORTVERSION=	1.4.21
PORTREVISION=	2
@


1.67
log
@- Backport r2403 to fix sendfile backend.
- Bump PORTREVISION

Notified by:	Albert Vernon <aev__vernon.nu>
@
text
@d10 1
a10 1
PORTREVISION=	1
a25 1
CONFIGURE_ENV+=	CFLAGS="${CFLAGS}"
@


1.66
log
@- update to 1.4.21

Changelog can be found at:
http://www.lighttpd.net/2009/2/16/1-4-21-yes-we-can-do-another-release

PR:		ports/131755
Reviewed by:	miwi
Approved by:	portmgr (linimon)
@
text
@d10 1
@


1.65
log
@- Update to 1.4.20

PR:		127861
Submitted by:	Daniel Gerzo <danger___FreeBSD.org>
@
text
@d9 1
a9 1
PORTVERSION=	1.4.20
@


1.64
log
@- Fix dependency of fam/gamin

Submitted by:	Vsevolod Kozlov <zaba___thorium.homeunix.org>
@
text
@d9 1
a9 2
PORTVERSION=	1.4.19
PORTREVISION=	3
@


1.63
log
@- Multiple security fixes.
- Bump PORTREVISION

Notified by:	miwi
Security:	http://www.vuxml.org/freebsd/fb911e31-8ceb-11dd-bb29-000c6e274733.html
@
text
@d69 1
a69 1
LIB_DEPENDS+=		fam:${PORTSDIR}/devel/fam
@


1.62
log
@- Allow change location of pidfile in rc script [1]
- Fix dependency of libmemcache [2]
- Add IPv6 support to mod_proxy [3]

PR:		123933 [1], 124576 [2], 126527 [3]
Submitted by:	Marshal Newrock <marshal___freedombi.com> [1],
		Tilman Linneweh <arved___FreeBSD.org> [3]
Notified by:	Jean-Dominique Baylac <jdb___venigo.net> [2]
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.61
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d10 1
a10 1
PORTREVISION=	1
d90 1
@


1.60
log
@- Describe better MEMCACHE option

Submitted by:	Peter van Dijk <peter___nextgear.nl>
@
text
@a26 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.59
log
@- Fix DOS in SSL connection

PR:		122526
Submitted by:	Harald Schmalzbauer <harry___omnisec.de>
Security:	http://www.vuxml.org/freebsd/1ac77649-0908-11dd-974d-000fea2763ce.html
@
text
@d40 1
a40 1
		MEMCACHE	"Enable memcached storage support" off \
@


1.58
log
@- Update to 1.4.19. Fix several vulnerabilities.

PR:		121245
@
text
@d10 1
@


1.57
log
@- Respect EAGAIN and retry sendfile() instead close connection.
- Remove empty lines and add two more cases to switch(errno)
- Bump PORTREVISION
@
text
@d9 1
a9 2
PORTVERSION=	1.4.18
PORTREVISION=	1
d19 1
@


1.56
log
@- Update to 1.4.18

PR:		116243
Submitted by:	Gea-Suan Lin <gslin___gslin.org>
Security:	http://www.vuxml.org/freebsd/4b673ae7-5f9a-11dc-84dd-000102cc8983.html
@
text
@d10 1
@


1.55
log
@- Update to 1.4.17

PR:		115917
Submitted by:	Gea-Suan Lin <gslin___gslin.org>
@
text
@d9 1
a9 1
PORTVERSION=	1.4.17
@


1.54
log
@- Update to 1.4.16

PR:		114920
Submitted by:	Gea-Suan Lin <gslin___gslin.org>
@
text
@d9 1
a9 1
PORTVERSION=	1.4.16
@


1.53
log
@- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
  supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
@
text
@d9 1
a9 2
PORTVERSION=	1.4.15
PORTREVISION=	1
@


1.52
log
@- Apply security fixes
- Bump PORTREVISION

Security:	http://secunia.com/advisories/26130/
@
text
@d24 1
a24 1
CONFIGURE_ARGS=	--libdir=${PREFIX}/lib/lighttpd --mandir=${PREFIX}/man
@


1.51
log
@- Remove spurious bzip2 dependency

PR:		112832
Submitted by:	delphij
@
text
@d10 1
@


1.50
log
@- Update to 1.4.15

PR:		111552
Submitted by:	Gea-Suan Lin <gslin___gslin.org>
@
text
@a57 1
LIB_DEPENDS+=		bz2:${PORTSDIR}/archivers/bzip2
@


1.49
log
@- Add WEBDAV support [1]
- Add workaround to enable IPV6 in lighttpd.conf [2]
- Add support to graceful restart [3]

PR:		107599 [1], 110371 [2], 110683 [3]
Submitted by:	Dazza<dazza___luckydonkey.com> [1],
		Joseph Terner<jtsn___gmx.de> [2],
		Peter Beckman <beckman___purplecow.com> [3]
@
text
@d9 1
a9 2
PORTVERSION=	1.4.13
PORTREVISION=	2
d19 1
a19 1
USE_AUTOTOOLS=	autoconf:259 libtool:15
d23 1
a23 1
CONFIGURE_ARGS=	--libdir=${PREFIX}/lib/lighttpd
@


1.48
log
@- Apply a vendor patch that fixes CPU starvation
- Bump PORTREVISION

Submitted by:	delphij
@
text
@d43 2
a44 1
		VALGRIND	"Enable valgrind support" off
d112 7
d122 16
a137 2
	@@${REINPLACE_CMD} -e 's|-D_XOPEN_SOURCE=600||' -e 's|-std=gnu99||' \
		${WRKSRC}/configure.in
d140 1
a140 1
	@@${INSTALL_DATA} ${FILESDIR}/lighttpd.conf.sample ${PREFIX}/etc
d142 1
a142 1
	@@${INSTALL_DATA} ${FILESDIR}/lighttpd.conf.sample ${PREFIX}/etc/lighttpd.conf
@


1.47
log
@- Fix CML option using -llua.

PR:		105863
Submitted by:	Jun MUKAI <mukai___jmuk.org>
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.46
log
@- Take maintainership
@
text
@d65 1
a65 1
CONFIGURE_ENV+=		LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR}"
@


1.45
log
@Reset hendrik@@scholz.net due to a number of timeouts.

Hat:		portmgr
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.44
log
@- add mog_magnet support
- Ref: http://blog.lighttpd.net/articles/2006/09/16/a-new-power-magnet
- bump PORTREVISION

PR:		ports/105284
Submitted by:	clsung
Approved by:	maintainer (timeout)
@
text
@d15 1
a15 1
MAINTAINER=	hendrik@@scholz.net
@


1.43
log
@- Update to 1.4.13 [1]
- Add options for bzip2, fam, gdbm, memcache, and valgrind [1]
- Fix build in 4.x

PR:		104239 [1]
Submitted by:	Gea-Suan Lin <gslin___gslin.org> [1]
Approved by:	maintainer timeout (21 days)
@
text
@d10 1
d38 1
d83 6
@


1.42
log
@- Update to 1.4.12
- Add mirror sites listed on the official page
- Now FastCGI PHP is /usr/local/bin/php-cgi

PR:		ports/103618
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
Approved by:	maintainer (Hendrik Scholz)
@
text
@d9 1
a9 1
PORTVERSION=	1.4.12
d32 10
a41 5
OPTIONS=	OPENSSL		"Enable SSL support"	on  \
		OPENLDAP	"Enable LDAP support"	off \
		MYSQL		"Enable MYSQL support"	off \
		IPV6		"Enable IPV6 support"	on \
		CML		"Enable Cache Meta Language support" off
d55 28
a82 4
.if defined(WITH_OPENLDAP)
USE_OPENLDAP=		yes
CONFIGURE_ARGS+=	--with-ldap
_REQUIRE+=		slapd
d91 4
a94 2
.if defined(WITHOUT_IPV6)
CONFIGURE_ARGS+=	--disable-ipv6
d97 4
a100 4
.if defined(WITH_CML)
USE_LUA=	5.0
CONFIGURE_ARGS+=	--with-lua
CONFIGURE_ENV+=		CPPFLAGS="-I${LUA_INCDIR}" LDFLAGS="-L${LUA_LIBDIR}"
d106 2
a107 1
	@@${REINPLACE_CMD} -E -e 's|-D_XOPEN_SOURCE=600||' ${WRKSRC}/configure.in
@


1.41
log
@Modify these files to reflect bsd.lua.mk as tested on the cluster.

PR:		ports/101612
Submitted by:	alepulver
Hat:		portmgr
@
text
@d9 1
a9 2
PORTVERSION=	1.4.11
PORTREVISION=	1
d11 2
a12 1
MASTER_SITES=	http://www.lighttpd.net/download/
@


1.40
log
@- Fix LDAP support
- Bump PORTREVISION

PR:		97161 (based on)
Submitted by:	Jakob van Santen <jakob@@somethingpretentious.net>
Approved by:	hendrik@@scholz.net (maintainer)
@
text
@d67 1
a67 1
LIB_DEPENDS+=		lua.5:${PORTSDIR}/lang/lua50
d69 1
a69 1
CONFIGURE_ENV+=		CFLAGS=-I${LOCALBASE}/include LDFLAGS=-L/${LOCALBASE}/lib
@


1.39
log
@- Switch lua dependency to lang/lua50
@
text
@d10 1
d24 1
d27 3
@


1.38
log
@- Update to 1.4.11

PR:		ports/94451
Submitted by:	maintainer
@
text
@d62 1
a62 1
LIB_DEPENDS+=		lua.5:${PORTSDIR}/lang/lua
@


1.37
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@d9 1
a9 2
PORTVERSION=	1.4.10
PORTREVISION=	2
@


1.36
log
@- Fix typo in REQUIRE
- Bump PORTREVISION

PR:		93437
Submitted by:	Michael Proto <mike@@jellydonut.org>
Approved by:	maintainer timeout (bypassed by linimon)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.35
log
@- Update to 1.4.10

PR:		ports/93348
Submitted by:	maintainer
@
text
@d10 1
d37 1
a37 1
_REQUIRE=	DEAMON
@


1.34
log
@Update to 1.4.9 [1]
Remove obsolete MASTER_SITES [1]
Update lighttpd.conf.sample [1]
Fix REQUIRE in rc.d script [2]
Reorganize Makefile and rc.d script [2]

PR:		92078 [1], 92069 [2]
Submitted by:	Rui Lopes <rui@@ruilopes.com> [1], mnag [2]
Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.4.9
d69 3
@


1.33
log
@better example in sample config for lighttpd

	The lighttpd port installs a sample config file into
	      /usr/local/etc/lighttpd.conf.sample
	this file should probably include the line:
	      server.event-handler        = "freebsd-kqueue"
	lighttpd is a high performance web server, and it should
	use kqueue when running on FreeBSD.

PR:		ports/90354
Submitted by:	Mike <mspam@@ideaway.net>
Approved by:	maintainer timeout
@
text
@d9 1
a9 2
PORTVERSION=	1.4.8
PORTREVISION=	1
d11 1
a11 3
MASTER_SITES=	http://www.lighttpd.net/download/ \
		http://dl.fkb.wormulon.net/lighttpd/ \
		http://dl.kel.wormulon.net/lighttpd/
d19 4
a22 3
USE_REINPLACE=		yes
USE_RC_SUBR=		lighttpd.sh
USE_GNOME=		lthack
a23 1
CONFIGURE_ARGS=		--libdir=${PREFIX}/lib/lighttpd
d35 3
d46 1
a46 1
USE_OPENLDAP=	yes
d48 1
d52 1
a52 1
USE_MYSQL=	yes
d54 1
d67 2
@


1.32
log
@- Update to 1.4.8 [1]
- Fix detection of OpenSSL if world is build with NO_OPENSSL [2]

Submitted by:	delphij [1], Artis Caune <Artis.Caune@@latnet.lv> [2]
PR:		ports/89709 [1], ports/89370 [2]
Approved by:	Hendrik Scholz <hscholz@@raisdorf.net> (maintainer) [1, 2]
@
text
@d10 1
@


1.31
log
@Update to 1.4.7
Fix IPV6 OPTIONS
Add SHA256

PR:		89319
Submitted by:	delphij
Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.4.7
d39 3
a41 1
CONFIGURE_ARGS+=	--with-openssl
@


1.30
log
@Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
@
text
@d9 1
a9 1
PORTVERSION=	1.4.6
d32 1
a32 1
		IPV6		"Disable IPV6 support"	off \
d52 1
a52 1
.if defined(WITH_IPV6)
@


1.29
log
@- Update to 1.4.6
- Added pkg-plist magic to preserve changed config file

PR:		87178
Submitted by:	Toni Viemero <toni.viemero@@iki.fi>
Reworked by:	hendrik@@scholz.net (maintainer)
Approved by:	novel (mentor)
@
text
@d20 1
a20 1
USE_AUTOCONF_VER=	259
a22 1
USE_LIBTOOL_VER=	15
@


1.28
log
@Update to 1.4.5

PR:		86877
Submitted by:	Hendrik Scholz <hendrik@@scholz.net> (maintainer)
Approved by:	pav (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	1.4.5
a25 1
CONFIGURE_ENV=		CPPFLAGS=-I${PREFIX}/include LIBS=-L${PREFIX}/lib
d30 1
a30 1
OPTIONS=	OPENSSL		"Enable SSL support"	on \
d33 2
a34 1
		IPV6		"Disable IPV6 support"	off
d57 6
d64 4
a67 1
	@@${INSTALL_DATA} ${FILESDIR}/lighttpd.conf.sample ${PREFIX}/etc/
@


1.27
log
@- Update to 1.4.4

PR:		ports/86323
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.4.4
@


1.26
log
@- Update to 1.4.3

PR:		ports/85571
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.4.3
@


1.25
log
@Update to to 1.4.2: bugfix release

PR:		ports/85463
Submitted by:	Hendrik Scholz (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.4.2
@


1.24
log
@- Update to 1.4.1

PR:		ports/85177
Submitted by:	Hendrik Scholz <hendrik@@scholz.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.4.1
@


1.23
log
@- Update to 1.3.16

PR:		ports/84391
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.3.16
d22 1
a22 1
USE_RC_SUBR=		yes
a27 2
STARTUP_FILE=		${PREFIX}/etc/rc.d/lighttpd.sh
RC_SCRIPTS_SUB=		PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
a39 1
USE_OPENSSL=	yes
a57 3
	@@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
		${FILESDIR}/lighttpd.sh.tmpl > ${STARTUP_FILE}
	@@${CHMOD} 755 ${STARTUP_FILE}
@


1.22
log
@- Update to 1.3.15

PR:		ports/83523
Submitted by:	Hendrik Scholz <hendrik@@scholz.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.3.15
@


1.21
log
@- Dodge WITH_OPENSSL in OPTIONS oddity

Submitted by:	sem
@
text
@d9 1
a9 1
PORTVERSION=	1.3.14
@


1.20
log
@- Update to 1.3.14
- Fix OPTIONS

PR:		ports/82288
Submitted by:	Hendrik Scholz <hendrik@@scholz.net> (maintainer)
@
text
@a37 4
.if !defined(WITHOUT_OPENSSL)
USE_OPENSSL=	yes
.endif

d41 2
@


1.19
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@d9 1
a9 2
PORTVERSION=	1.3.13
PORTREVISION=	1
d38 4
d44 1
a44 2
.if defined(WITH_OPENSSL)
USE_OPENSSL=	yes
d48 1
a48 1
.if !defined(WITHOUT_OPENLDAP)
d53 1
a53 1
.if !defined(WITHOUT_MYSQL)
d58 1
a58 1
.if !defined(WITHOUT_IPV6)
@


1.18
log
@Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
@
text
@d26 1
a26 1
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
@


1.17
log
@- Add OPENLDAP option [1]
- Add MYSQL and IPV6 options [2]

PR:		ports/78680
Submitted by:	Dick Davies <rasputnik@@hellooperator.net> [1]
		Marcus Grando <marcus@@corp.grupos.com.br> [2]
Approved by:	maintainer
@
text
@d26 1
a26 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.16
log
@1: Upgrade to lastest version.
2: sync lighttpd.conf.sample.

PR:		ports/78594
Submitted by:	maintainer
@
text
@d10 1
d22 2
a23 2
USE_REINPLACE=	yes
USE_RC_SUBR=	yes
d25 1
a25 1
USE_GNOME=	lthack
d27 4
a30 4
CONFIGURE_ENV=	CPPFLAGS=-I${PREFIX}/include LIBS=-L${PREFIX}/lib
CONFIGURE_ARGS=	--libdir=${PREFIX}/lib/lighttpd
STARTUP_FILE=	${PREFIX}/etc/rc.d/lighttpd.sh
RC_SCRIPTS_SUB=	PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
d32 10
a41 1
.if !defined(WITHOUT_OPENSSL)
d46 9
a54 1
MAN1=		lighttpd.1 spawn-fcgi.1
d56 2
a57 4
pre-everything::
.if !defined(WITHOUT_OPENSSL)
	@@${ECHO_MSG}
	@@${ECHO_MSG} "You can disable SSL support by defining WITHOUT_OPENSSL"
a58 3
	@@${ECHO_MSG}
	@@${ECHO_MSG} "If you want MySQL virtual host support install"
	@@${ECHO_MSG} "databases/mysql*-client/ prior to building lighttpd!"
d67 1
a67 1
.include <bsd.port.mk>
@


1.15
log
@- Update to 1.3.12.

PR:		ports/78351
Submitted by:	Hendrik Scholz <hendrik@@scholz.net> (maintainer)
Approved by:	pav (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	1.3.12
d12 2
a13 2
				http://dl.fkb.wormulon.net/lighttpd/ \
				http://dl.kel.wormulon.net/lighttpd/
@


1.14
log
@- update to 1.3.11
- add --libdir configure arg to preserve correct module directory

PR:		ports/77811 (based on)
Submitted by:	Rui Lopes <rui(at)ruilopes.com>
Modified by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.3.11
d36 1
a36 1
MAN1=		lighttpd.1
@


1.13
log
@- The patch fixes a CGI handler bug in the config file.
  Obtained from:
  http://wiki.lighttpd.net/7.html#A14 and
  http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/lighttpd-empty_cgi_handler.patch?rev=1.1
- Bump PORTREVISON.

PR:		ports/77418
Submitted by:	maintainer
@
text
@d9 1
a9 2
PORTVERSION=	1.3.10
PORTREVISION=	1
d27 1
@


1.12
log
@- Update to 1.3.10

PR:		ports/77203
Submitted by:	maintainer
@
text
@d10 1
@


1.11
log
@- Update to 1.3.9
- Fix rc script

PR:		ports/77164
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.3.9
@


1.10
log
@- update from 1.3.7 to 1.3.8
- update pkg-plist
- add note about MySQL module

PR:		ports/76866
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.3.8
@


1.9
log
@Upgrade to 1.3.7.

PR:		ports/74958
Submitted by:	gslin at gslin_dot_org
Approved by:	maintainer.
@
text
@d9 1
a9 1
PORTVERSION=	1.3.7
d11 1
a11 1
MASTER_SITES=	http://jan.kneschke.de/projects/lighttpd/download/ \
d42 3
@


1.8
log
@- add mirror sites managed by myself
- server.pid-file config file entry needed by init script
- WITHOUT_OPENSSL tunable to disable SSL support (enabled by default)

PR:		ports/74812
Submitted by:	Hendrik Scholz <hendrik@@scholz.net> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	1.3.6
PORTREVISION=	1
@


1.7
log
@1: upgrade to 1.3.6
2: SSL fix
3: change maintainer to submitter.
4: sync lighttpd.conf

PR:		ports/74196
Submitted by:	Hendrik Scholz <hendrik(at)scholz.net>
Approved by:	maintainer
@
text
@d10 1
d12 3
a14 1
MASTER_SITES=	http://jan.kneschke.de/projects/lighttpd/download/
d31 5
d38 6
@


1.6
log
@Upgrade to 1.3.5.

Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.3.5
d13 1
a13 1
MAINTAINER=	k@@123.org
d18 1
d35 1
@


1.5
log
@Upgrade from 1.2.5 to 1.2.7 and adds an additional patch directly from
the author.

PR:		ports/71377
Submitted by:	Hendrik Scholz <hendrik at scholz dot net>
Approved by:	maintainer
@
text
@d9 1
a9 2
PORTVERSION=	1.2.7
PORTREVISION=	1
a11 4

PATCH_SITES=	http://jan.kneschke.de/projects/lighttpd/download/
PATCHFILES=	lighttpd-1.2.7-cond.patch
PATCH_DIST_STRIP=	-p1
@


1.4
log
@1: Upgrade to 1.2.5
2: sync lighttpd.conf.sample to current version
3: make rc files workable.

Approved by:	maintainer
@
text
@d9 2
a10 1
PORTVERSION=	1.2.5
d13 4
@


1.3
log
@Upgrade to 1.2.4.

Approved by:	maintainer.
@
text
@d9 1
a9 1
PORTVERSION=	1.2.4
@


1.2
log
@Sync with new bsd.autotools.mk
@
text
@d9 1
a9 1
PORTVERSION=	1.2.1
d20 1
a20 1
USE_LIBTOOL_VER=13
@


1.1
log
@Add lighttpd 1.2.1, a secure, fast, compliant, and very flexible Web
Server.

PR:		ports/66943
Submitted by:	k@@123.org
Some part by:	me
@
text
@d20 1
a20 1
USE_LIBTOOL=	yes
@

