head	1.47;
access;
symbols
	RELEASE_8_3_0:1.39
	RELEASE_9_0_0:1.39
	RELEASE_7_4_0:1.28
	RELEASE_8_2_0:1.28
	RELEASE_6_EOL:1.28
	RELEASE_8_1_0:1.26
	RELEASE_7_3_0:1.21
	RELEASE_8_0_0:1.18
	RELEASE_7_2_0:1.14
	RELEASE_7_1_0:1.12
	RELEASE_6_4_0:1.12
	RELEASE_5_EOL:1.11
	RELEASE_7_0_0:1.9
	RELEASE_6_3_0:1.9
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.2;
locks; strict;
comment	@# @;


1.47
date	2013.03.22.23.30.11;	author svnexp;	state Exp;
branches;
next	1.46;

1.46
date	2013.01.14.22.59.53;	author svnexp;	state Exp;
branches;
next	1.45;

1.45
date	2012.11.17.06.02.35;	author svnexp;	state Exp;
branches;
next	1.44;

1.44
date	2012.11.04.14.14.16;	author cs;	state Exp;
branches;
next	1.43;

1.43
date	2012.09.21.08.53.58;	author cs;	state Exp;
branches;
next	1.42;

1.42
date	2012.06.08.09.13.13;	author cs;	state Exp;
branches;
next	1.41;

1.41
date	2012.06.04.21.21.00;	author cs;	state Exp;
branches;
next	1.40;

1.40
date	2012.05.30.22.09.26;	author cs;	state Exp;
branches;
next	1.39;

1.39
date	2011.11.18.22.48.15;	author cs;	state Exp;
branches;
next	1.38;

1.38
date	2011.11.18.21.00.36;	author cs;	state Exp;
branches;
next	1.37;

1.37
date	2011.11.09.23.39.20;	author cs;	state Exp;
branches;
next	1.36;

1.36
date	2011.10.07.06.58.20;	author cs;	state Exp;
branches;
next	1.35;

1.35
date	2011.09.23.22.26.01;	author amdmi3;	state Exp;
branches;
next	1.34;

1.34
date	2011.09.15.12.33.27;	author cs;	state Exp;
branches;
next	1.33;

1.33
date	2011.08.24.17.18.10;	author glarkin;	state Exp;
branches;
next	1.32;

1.32
date	2011.08.23.20.03.35;	author glarkin;	state Exp;
branches;
next	1.31;

1.31
date	2011.07.07.14.48.19;	author glarkin;	state Exp;
branches;
next	1.30;

1.30
date	2011.04.22.19.21.55;	author glarkin;	state Exp;
branches;
next	1.29;

1.29
date	2011.03.17.17.45.40;	author glarkin;	state Exp;
branches;
next	1.28;

1.28
date	2010.11.12.00.30.55;	author glarkin;	state Exp;
branches;
next	1.27;

1.27
date	2010.09.16.00.23.07;	author glarkin;	state Exp;
branches;
next	1.26;

1.26
date	2010.06.08.01.30.52;	author sahil;	state Exp;
branches;
next	1.25;

1.25
date	2010.06.05.03.41.35;	author sahil;	state Exp;
branches;
next	1.24;

1.24
date	2010.05.27.01.12.09;	author sahil;	state Exp;
branches;
next	1.23;

1.23
date	2010.04.05.23.38.31;	author sylvio;	state Exp;
branches;
next	1.22;

1.22
date	2010.03.15.19.46.04;	author tobez;	state Exp;
branches;
next	1.21;

1.21
date	2009.12.27.11.04.51;	author wen;	state Exp;
branches;
next	1.20;

1.20
date	2009.11.16.01.00.24;	author wen;	state Exp;
branches;
next	1.19;

1.19
date	2009.10.06.12.59.10;	author amdmi3;	state Exp;
branches;
next	1.18;

1.18
date	2009.08.01.15.15.53;	author wxs;	state Exp;
branches;
next	1.17;

1.17
date	2009.07.08.01.01.38;	author amdmi3;	state Exp;
branches;
next	1.16;

1.16
date	2009.06.08.01.32.42;	author lippe;	state Exp;
branches;
next	1.15;

1.15
date	2009.05.31.13.18.55;	author amdmi3;	state Exp;
branches;
next	1.14;

1.14
date	2009.01.20.08.22.41;	author jadawin;	state Exp;
branches;
next	1.13;

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

1.12
date	2008.08.21.06.18.35;	author rafan;	state Exp;
branches;
next	1.11;

1.11
date	2008.05.31.15.12.21;	author rafan;	state Exp;
branches;
next	1.10;

1.10
date	2008.02.17.12.24.03;	author araujo;	state Exp;
branches;
next	1.9;

1.9
date	2007.10.26.20.21.15;	author pav;	state Exp;
branches;
next	1.8;

1.8
date	2007.10.13.21.45.57;	author lme;	state Exp;
branches;
next	1.7;

1.7
date	2007.09.09.12.37.29;	author edwin;	state Exp;
branches;
next	1.6;

1.6
date	2007.07.23.09.36.43;	author rafan;	state Exp;
branches;
next	1.5;

1.5
date	2007.06.16.19.20.11;	author rafan;	state Exp;
branches;
next	1.4;

1.4
date	2007.03.07.22.59.00;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2007.02.17.04.43.21;	author rafan;	state Exp;
branches;
next	1.2;

1.2
date	2006.12.27.10.06.14;	author itetcu;	state Exp;
branches;
next	1.1;

1.1
date	2006.12.03.20.56.24;	author itetcu;	state Exp;
branches;
next	;


desc
@@


1.47
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314960
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Hugo Leisink
# $FreeBSD: head/www/hiawatha/Makefile 314960 2013-03-22 20:06:14Z makc $
#

PORTNAME=	hiawatha
PORTVERSION=	8.7
CATEGORIES=	www
MASTER_SITES=	http://www.hiawatha-webserver.org/files/ \
		http://www.c-s.li/ports/

MAINTAINER=	cs@@FreeBSD.org
COMMENT=	Advanced and secure webserver for Unix

LICENSE=	GPLv2

PORTDOCS=	AUTHORS ChangeLog INSTALL
CONFIG_FILES=	hiawatha.conf mimetype.conf cgi-wrapper.conf toolkit.conf \
		index.xslt

MAN1=		cgi-wrapper.1 hiawatha.1 ssi-cgi.1 wigwam.1

MAKE_JOBS_SAFE=	yes
SUB_FILES=	pkg-message
USES=		cmake
USE_LDCONFIG=	yes
USE_RC_SUBR=	hiawatha
WANT_GNOME=	yes

CMAKE_ARGS+=	-DCMAKE_INSTALL_BINDIR=${PREFIX}/bin \
		-DCMAKE_INSTALL_SBINDIR=${PREFIX}/sbin \
		-DCMAKE_INSTALL_SYSCONFDIR=${ETCDIR} \
		-DCMAKE_INSTALL_LIBDIR=${PREFIX}/lib \
		-DCONFIG_DIR=${ETCDIR} \
		-DWEBROOT_DIR=${WWWDIR} \
		-DCMAKE_INSTALL_MANDIR=${PREFIX}/man \
		-DLOG_DIR=/var/log/hiawatha \
		-DPID_DIR=/var/run

OPTIONS_DEFINE=	CACHE \
		CHROOT \
		COMMAND \
		DEBUG \
		DOCS \
		IPV6 \
		MONITOR \
		RPROXY \
		SSL \
		TOOLKIT \
		XSLT

OPTIONS_DEFAULT=CACHE IPV6 RPROXY SSL TOOLKIT XSLT DOCS

CACHE_DESC=	Enable cache support
CHROOT_DESC=	Enable chroot support
COMMAND_DESC=	Enable Hiawatha command channel
MONITOR_DESC=	Enable Hiawatha Monitor
RPROXY_DESC=	Enable reverse proxy
TOOLKIT_DESC=	Enable URL toolkit
XSLT_DESC=	Enable XSLT support

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MCACHE}
CMAKE_ARGS+=	-DENABLE_CACHE=on
.else
CMAKE_ARGS+=	-DENABLE_CACHE=off
.endif

.if ${PORT_OPTIONS:MCHROOT}
CMAKE_ARGS+=	-DENABLE_CHROOT=on
.else
CMAKE_ARGS+=	-DENABLE_CHROOT=off
.endif

.if ${PORT_OPTIONS:MCOMMAND}
CMAKE_ARGS+=	-DENABLE_COMMAND=on
.else
CMAKE_ARGS+=	-DENABLE_COMMAND=off
.endif

.if ${PORT_OPTIONS:MDEBUG}
CMAKE_ARGS+=	-DENABLE_DEBUG=on
.else
CMAKE_ARGS+=	-DENABLE_DEBUG=off
.endif

.if ${PORT_OPTIONS:MIPV6}
CMAKE_ARGS+=	-DENABLE_IPV6=on
.else
CMAKE_ARGS+=	-DENABLE_IPV6=off
.endif

.if ${PORT_OPTIONS:MMONITOR}
CMAKE_ARGS+=	-DENABLE_MONITOR=on
.else
CMAKE_ARGS+=	-DENABLE_MONITOR=off
.endif

.if ${PORT_OPTIONS:MRPROXY}
CMAKE_ARGS+=	-DENABLE_RPROXY=on
.else
CMAKE_ARGS+=	-DENABLE_RPROXY=off
.endif

.if ${PORT_OPTIONS:MSSL}
CMAKE_ARGS+=	-DENABLE_SSL=on
.else
CMAKE_ARGS+=	-DENABLE_SSL=off
.endif

.if ${PORT_OPTIONS:MTOOLKIT}
CMAKE_ARGS+=	-DENABLE_TOOLKIT=on
.else
CMAKE_ARGS+=	-DENABLE_TOOLKIT=off
.endif

.if ${PORT_OPTIONS:MXSLT}
USE_GNOME+=	libxslt
CMAKE_ARGS+=	-DENABLE_XSLT=on
.else
CMAKE_ARGS+=	-DENABLE_XSLT=off
.endif

PLIST_SUB+=	ECHO_MSG=${ECHO_MSG}

.include <bsd.port.pre.mk>

post-patch:
	@@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
	${WRKSRC}/man/hiawatha.1.in ${WRKSRC}/man/cgi-wrapper.1.in \
	${WRKSRC}/config/cgi-wrapper.conf ${WRKSRC}/config/hiawatha.conf.in

	@@${REINPLACE_CMD} -e 's|/etc/hiawatha|${ETCDIR}|g' \
	${WRKSRC}/man/hiawatha.1.in ${WRKSRC}/man/cgi-wrapper.1.in

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
	@@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif

.for FILE in ${CONFIG_FILES}
	@@${INSTALL_DATA} ${WRKSRC}/config/${FILE} ${PREFIX}/etc/hiawatha/${FILE}.sample
	@@if [ ! -f ${PREFIX}/etc/hiawatha/${FILE} ]; then \
		${CP} -p ${WRKSRC}/config/${FILE} ${PREFIX}/etc/hiawatha/${FILE} ; \
	fi
.endfor

	@@if [ ! -d ${WWWDIR} ]; then \
		@@${MKDIR} ${WWWDIR} ; \
	fi
	@@${CP} ${WRKSRC}/extra/index.html ${WWWDIR}/index.hiawatha.html
	@@if [ ! -f ${WWWDIR}/index.html ] ; then \
		${CP} ${WRKSRC}/extra/index.html ${WWWDIR}/ ; \
	fi
	@@${CAT} ${PKGMESSAGE}

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


1.46
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310415
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/hiawatha/Makefile 310415 2013-01-14 22:48:21Z cs $
d24 1
a24 1
USE_CMAKE=	yes
@


1.45
log
@Switch exporter over
@
text
@d2 1
a2 1
# $FreeBSD: head/www/hiawatha/Makefile 306968 2012-11-04 14:14:16Z cs $
d6 1
a6 1
PORTVERSION=	8.6
d17 2
a18 2
CONFIG_FILES=	hiawatha.conf mimetype.conf cgi-wrapper.conf php-fcgi.conf \
		toolkit.conf index.xslt
d20 1
a20 1
MAN1=		cgi-wrapper.1 hiawatha.1 php-fcgi.1 ssi-cgi.1 wigwam.1
d26 1
a26 1
USE_RC_SUBR=	hiawatha php-fcgi
d131 1
a131 2
	${WRKSRC}/man/php-fcgi.1.in ${WRKSRC}/config/cgi-wrapper.conf \
	${WRKSRC}/config/hiawatha.conf.in ${WRKSRC}/config/php-fcgi.conf.in
d134 1
a134 2
	${WRKSRC}/man/hiawatha.1.in ${WRKSRC}/man/cgi-wrapper.1.in \
	${WRKSRC}/man/php-fcgi.1.in
@


1.44
log
@SVN rev 306968 on 2012-11-04 14:14:16Z by cs

- Update to 8.6:
	- PolarSSL updated to version 1.2. Added support for TLS 1.2 and secure
	  renegotiation.
	- Added support for Server Name Indication.
	- MinSSLversion option added.
	- ServerRoot option removed.
	- Improved MacOS X package building script.
	- Marked php-fcgi as deprecated. Use php-fpm instead.
	- Small bugfixes and improvements.

- Change Makefile header

Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.43
log
@SVN rev 304616 on 2012-09-21 08:53:58Z by cs

- Update to 8.5
- Fix COMMENT

PR:		ports/171720
Submitted by:	nemysis <nemysis@@gmx.ch>
Approved by:	cs@@ (maintainer)
@
text
@d1 1
a1 4
# New ports collection makefile for:   hiawatha
# Date created:        24 november 2006
# Whom:                Hugo Leisink <hugo@@leisink.net>
#
d6 1
a6 1
PORTVERSION=	8.5
@


1.42
log
@Update to 8.4
@
text
@d9 1
a9 1
PORTVERSION=	8.4
d15 1
a15 1
COMMENT=	An advanced and secure webserver for Unix
@


1.41
log
@Switch to OptionsNG
@
text
@d9 1
a9 1
PORTVERSION=	8.3.2
@


1.40
log
@- Update to 8.3.2
- Switch to CMAKE
- Fix paths in man pages
- Hiawatha now uses own PolarSSL library

Reviewed by:	Hugo Leisink <hugo@@hiawatha-webserver.org> (author of hiawatha)
@
text
@d42 27
a68 16
OPTIONS=	CACHE "Enable cache support" On \
		CHROOT "Enable chroot support" Off \
		COMMAND "Enable the Hiawatha CommandChannel" Off \
		DEBUG "Enable debug information (for development only)" Off \
		IPV6 "Enable IPv6 support" On \
		MONITOR "Enable Hiawatha Monitor" Off \
		RPROXY "Enable Reverse Proxy" On \
		SSL "Enable SSL support" On \
		TOOLKIT "Enable the URL toolkit" On \
		XSLT "Enable XSLT support" On

PLIST_SUB+=	ECHO_MSG=${ECHO_MSG}

.include <bsd.port.pre.mk>

.if !defined(WITH_CACHE)
d72 1
a72 1
.if defined(WITH_CHROOT)
d74 2
d78 1
a78 1
.if defined(WITH_COMMAND)
d80 2
d84 1
a84 1
.if defined(WITH_DEBUG)
d86 2
d90 3
a92 1
.if !defined(WITH_IPV6)
d96 1
a96 1
.if defined(WITH_MONITOR)
d98 2
d102 3
a104 1
.if !defined(WITH_RPROXY)
d108 3
a110 1
.if !defined(WITH_SSL)
d114 3
a116 1
.if !defined(WITH_TOOLKIT)
d120 2
a121 1
.if defined(WITH_XSLT)
d123 2
a124 1
USE_GNOME+=	libxslt
d127 4
d142 1
a142 1
.if !defined(NOPORTDOCS)
@


1.39
log
@Force commit to link to respective vulnerability which induced previous port update.

Approved by:	glarkin@@ (mentor)
Security:	eef56761-11eb-11e1-bb94-001c140104d4
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	7.8.2
d19 3
a21 4
PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL
PORTEXAMPLES=	hiawatha mkcert newroot php-fcgi
CONFIG_FILES=	hiawatha.conf mimetype.conf cgi-wrapper.conf php-fcgi.conf
MAN1=		cgi-wrapper.1 hiawatha.1 newroot.1 php-fcgi.1 ssi-cgi.1 wigwam.1
d23 6
a29 1
SUB_FILES=	pkg-message
d32 20
a51 2
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--localstatedir=/var webrootdir=${WWWDIR}
d53 1
a53 2
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
d55 1
a55 8
OPTIONS=	COMMAND "Enable the Hiawatha CommandChannel" Off \
		CACHE "Internal file caching support" On \
		IPV6 "Enable IPv6 Support" On \
		LARGEFILE "Support for large files" On \
		MONITOR "Enable Hiawatha Monitor" On \
		SSL "Support for Secure Sockets Layer (SSL)" On \
		TOOLKIT "Enable URL Toolkit" On \
		XSLT "XSLT support" On
d57 3
a59 1
PLIST_SUB+=	ECHO_MSG=${ECHO_MSG}
d61 3
a63 1
.include <bsd.port.pre.mk>
d66 1
a66 3
CONFIGURE_ARGS+=	--enable-command
.else
CONFIGURE_ARGS+=	--disable-command
d69 2
a70 2
.if !defined(WITH_CACHE)
CONFIGURE_ARGS+=	--disable-cache
d74 1
a74 1
CONFIGURE_ARGS+=	--disable-ipv6
d77 6
a82 2
.if !defined(WITH_LARGEFILE)
CONFIGURE_ARGS+=	--disable-largefile
d86 1
a86 1
CONFIGURE_ARGS+=	--disable-ssl
d90 1
a90 1
CONFIGURE_ARGS+=	--disable-toolkit
d93 2
a94 3
.if !defined(WITH_XSLT)
CONFIGURE_ARGS+=	--disable-xslt
.else
a95 1
CPPFLAGS+=	-I${LOCALBASE}/include/libxml2
d98 9
a106 7
.if !defined(WITH_MONITOR)
CONFIGURE_ARGS+=	--disable-monitor
.else
CONFIGURE_ARGS+=	--enable-xslt
USE_GNOME+=	libxslt
CPPFLAGS+=	-I${LOCALBASE}/include/libxml2
.endif
d113 1
a113 4
.if !defined(NOPORTEXAMPLES)
	@@${MKDIR} ${EXAMPLESDIR}
	@@${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/extra/,} ${EXAMPLESDIR}/
.endif
d115 1
a115 1
	@@${INSTALL_DATA} ${WRKSRC}/etc/hiawatha/${FILE} ${PREFIX}/etc/hiawatha/${FILE}.sample
d117 1
a117 1
		${CP} -p ${WRKSRC}/etc/hiawatha/${FILE} ${PREFIX}/etc/hiawatha/${FILE} ; \
d120 1
d124 1
a124 1
	@@${CP} ${WRKSRC}/doc/index.html ${WWWDIR}/index.hiawatha.html
d126 1
a126 1
		${CP} ${WRKSRC}/doc/index.html ${WWWDIR}/ ; \
@


1.38
log
@Update to 7.8.2
Changelog: http://www.hiawatha-webserver.org/changelog

Approved by:	glarkin@@ (mentor)
Feature safe:	yes
@
text
@@


1.37
log
@Update to 7.8.1
Changelog: http://www.hiawatha-webserver.org/changelog

Approved by:	glarkin@@ (mentor, implicit)
@
text
@d9 1
a9 1
PORTVERSION=	7.8.1
@


1.36
log
@Update to 7.7

Approved by:	wen@@ (co-mentor)
@
text
@d9 1
a9 1
PORTVERSION=	7.7
@


1.35
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 1
PORTVERSION=	7.6
@


1.34
log
@Change maintainer address to my FreeBSD address

Approved by:	wen@@ (mentor)
@
text
@a29 1
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
d31 2
a32 2
CPPFLAGS=	-I${LOCALBASE}/include
LDFLAGS=	-L${LOCALBASE}/lib
@


1.33
log
@- Updated to 7.6
  ChangeLog: http://www.hiawatha-webserver.org/changelog
- Tweaked rc.d files with optimizations suggested by dougb

PR:		ports/160037
Submitted by:	C-S <c-s@@c-s.li> (maintainer)
@
text
@d14 1
a14 1
MAINTAINER=	c-s@@c-s.li
@


1.32
log
@- Added rc.d file for php-fcgi (Hiawatha FastCGI daemon)
- Cleanups in hiawatha rc.d file
- Bumped PORTREVISION

PR:		ports/158944
Submitted by:	C-S <c-s@@c-s.li> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	7.5
PORTREVISION=	1
@


1.31
log
@- Updated to 7.5
  ChangeLog: http://www.hiawatha-webserver.org/changelog

PR:		ports/157439
Submitted by:	C-S <c-s@@c-s.li> (maintainer)
@
text
@d10 1
d25 1
a25 1
USE_RC_SUBR=	hiawatha
@


1.30
log
@- Updated to 7.4.1
  Changes: http://www.hiawatha-webserver.org/changelog
  (removal of local patch for critical bug after upstream distro was fixed
   and new 7.4.1 release made available)

PR:		ports/156391
Submitted by:	C-S <c-s@@c-s.li> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	7.4.1
@


1.29
log
@- Added patch to circumvent integer overflow in Content-Length header
  parsing, until new upstream package is released.

PR:		ports/155027
Submitted by:	C-S <c-s@@c-s.li>
Security:	b13414c9-50ba-11e0-975a-000c29cc39d3
Security:	http://www.hiawatha-webserver.org/weblog/16
Security:	http://secunia.com/advisories/43660/
@
text
@d9 1
a9 2
PORTVERSION=	7.4
PORTREVISION=	1
@


1.28
log
@- Updated to 7.4 (http://www.hiawatha-webserver.org/changelog) [1]
- Revised some informational messages in pkg-plist for clarity

PR:		ports/152094 [1]
Submitted by:	Carlo Strub <c-s at c-s dot li>
@
text
@d10 1
@


1.27
log
@- Added the "largefile" option to be passed to the configure script
- Makefile cleanups and option sorting
- Bumped PORTREVISION

PR:		ports/150242
Submitted by:	C-S <c-s at c-s dot li> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	7.3
PORTREVISION=	1
d44 2
@


1.26
log
@- Update to 7.3
- Pass maintainership to submitter

PR:			ports/147636
Submitted by:		C-S <c-s@@c-s.li>
Approved by:		wxs@@/itectu@@ (mentors, implicit)
@
text
@d10 1
d18 2
d39 1
d47 4
a50 2
.if !defined(WITH_SSL)
CONFIGURE_ARGS+=	--disable-ssl
d57 2
a58 2
.if !defined(WITH_TOOLKIT)
CONFIGURE_ARGS+=	--disable-toolkit
d61 2
a62 2
.if defined(WITH_COMMAND)
CONFIGURE_ARGS+=	--enable-command
d65 2
a66 2
.if !defined(WITH_IPV6)
CONFIGURE_ARGS+=	--disable-ipv6
d69 2
a70 2
.if !defined(WITH_MONITOR)
CONFIGURE_ARGS+=	--disable-monitor
d80 8
@


1.25
log
@- Reset maintainer to ports@@FreeBSD.org

Submitted by:	maintainer (via email)
Approved by:	wxs@@/itectu@@ (mentors, implicit)
@
text
@d9 1
a9 1
PORTVERSION=	7.2
d11 2
a12 1
MASTER_SITES=	http://www.hiawatha-webserver.org/files/
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.24
log
@- Update to 7.2 [1]
- Install examples conditional on NOPORTEXAMPLES (not NOPORTDOCS) [2]
- Remove MANCOMPRESSED=no since it is default [2]
- Remove redundant installation of manpages [2]

[2]: Added by me; approved by maintainer

PR:		ports/146932 [1]
Submitted by:	C-S <c-s@@c-s.li>
Approved by:	Hugo Leisink (maintainer), itetcu@@ (mentor)
@
text
@d13 1
a13 1
MAINTAINER=	hugo@@leisink.net
@


1.23
log
@- Update to 7.1

PR:		ports/145380
Submitted by:	C-S <c-s@@c-s.li>
Approved by:	Hugo Leisink <hugo@@leisink.net> (maintainer), itetcu (mentor, implicit)
@
text
@d9 1
a9 1
PORTVERSION=	7.1
d16 2
a17 2
DOCS=		AUTHORS COPYING ChangeLog INSTALL
EXAMPLES=	hiawatha mkcert newroot php-fcgi
a19 1
MANCOMPRESSED=	no
d75 6
a80 3
	@@${MKDIR} ${DOCSDIR} ${EXAMPLESDIR} ${ETCDIR}
	@@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
	@@${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/extra/,} ${EXAMPLESDIR}/
a81 1
	@@${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/doc/,} ${MAN1PREFIX}/man/man1/
@


1.22
log
@Update to 7.0.

PR:	144452
Submitted by:	maintainer
Changes:	http://www.hiawatha-webserver.org/changelog
@
text
@d9 1
a9 1
PORTVERSION=	7.0
@


1.21
log
@- Update to 6.19

PR:		ports/141654
Submitted by:	C-S <c-s@@c-s.li>
Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	6.19
d35 2
a36 1
		IPV6 "Enable IPv6 Support" Off \
d39 1
a39 1
		XSLT "XSLT support" Off
d63 7
a69 2
.if defined(WITH_XSLT)
CONFIGURE_ARGS+=	--enable-xslt
@


1.20
log
@- Update to 6.18

PR:		ports/140584
Submitted by:	Hugo Leisink <hugo@@leisink.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	6.18
@


1.19
log
@- Update to 6.17

PR:		138385
Submitted by:	Hugo Leisink <hugo@@elesoft.xlshosting.net> (maintaine from another email)
@
text
@d9 1
a9 1
PORTVERSION=	6.17
@


1.18
log
@- Don't overwrite configuration files, or index.html.
- s/ETCDIRX/ETCDIR/ in files/pkg-message.in

PR:		ports/136822
Submitted by:	Martin Lesser <ml@@bettercom.de>
Approved by:	maintainer timeout
@
text
@d9 1
a9 1
PORTVERSION=	6.15
d18 1
a18 1
CONFIG_FILES=	httpd.conf mimetype.conf cgi-wrapper.conf php-fcgi.conf
@


1.17
log
@- Update to 6.15

PR:		136406
Submitted by:	Hugo Leisink <hugo@@leisink.net> (maintainer)
@
text
@d75 13
a87 3
	@@${INSTALL_DATA} ${CONFIG_FILES:S,^,${WRKSRC}/etc/${PORTNAME}/,} ${ETCDIR}/
	@@${MKDIR} ${WWWDIR}
	@@${CP} -f ${WRKSRC}/doc/index.html ${WWWDIR}/
@


1.16
log
@- Update to 6.14.1.
- Respect PORTEXAMPLES.

PR:		ports/135336
Submitted by:	Hugo Leisink <hugo@@leisink.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	6.14.1
d19 1
a19 1
MAN1=		cgi-wrapper.1 hiawatha.1 newroot.1 php-fcgi.1 wigwam.1
@


1.15
log
@- Update to 6.13
- Fix libxslt dependency

PR:		134688
Submitted by:	Hugo Leisink <hugo@@leisink.net>
@
text
@d9 1
a9 1
PORTVERSION=	6.13
@


1.14
log
@- Update to 6.11

PR:		ports/130685
Submitted by:	Hugo Leisink <hugo _AT_ leisink _DOT_ net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	6.11
d24 1
d28 4
d64 2
@


1.13
log
@- Update to 6.10

PR:		128487
Submitted by:	Hugo Leisink <hugo@@leisink.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	6.10
@


1.12
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
@d9 1
a9 1
PORTVERSION=	6.7
d11 1
a11 1
MASTER_SITES=	http://hiawatha.leisink.org/files/
d32 1
a32 1
		REWRITE "Enable URL rewriting" On \
d45 2
a46 2
.if !defined(WITH_REWRITE)
CONFIGURE_ARGS+=	--disable-rewrite
@


1.11
log
@- Update to 6.7

PR:		ports/124159
Submitted by:	Hugo Leisink <hugo at leisink.net> (maintainer)
@
text
@a26 1
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.10
log
@- Update to 6.3.
- Now using WWWDIR.
- Added new options.

PR:		ports/120107
Submitted by:	Felippe de Meirelles Motta <lippemail@@gmail.com>
Approved by:	Hugo Leisink <hugo@@leisink.net> (maintainer),
		itetcu (mentor, implicit)
@
text
@d9 1
a9 1
PORTVERSION=	6.3
d29 1
a29 1
OPTIONS=	SSL "Support for Secure Sockets Layer (SSL)" On \
d31 2
d34 1
a34 2
		COMMAND "Enable the Hiawatha CommandChannel" Off \
		IPV6 "Enable IPv6 Support" Off
d58 4
@


1.9
log
@- Update to 6.0

PR:		ports/117538
Submitted by:	Hugo Leisink <hugo@@leisink.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	6.0
d16 4
a19 1
MAN1=		hiawatha.1 cgi-wrapper.1 php-fcgi.1 wigwam.1 newroot.1
d26 1
a26 1
CONFIGURE_ARGS=	--localstatedir=/var webrootdir=${PREFIX}/www/hiawatha
d29 5
a33 3
OPTIONS=	SSL "Support for Secure Sockets Layer (SSL)?" On
OPTIONS+=	CACHE "Internal file caching support?" On
OPTIONS+=	COMMAND "Enable the Hiawatha CommandChannel?" Off
d35 1
a35 1
CONFIG_FILES=	httpd.conf mimetype.conf cgi-wrapper.conf php-fcgi.conf
d37 3
a39 1
.include <bsd.port.pre.mk>
d41 2
a42 2
.if defined(WITHOUT_SSL)
CONFIGURE_ARGS+=--disable-ssl
d45 2
a46 2
.if defined(WITHOUT_CACHE)
CONFIGURE_ARGS+=--disable-cache
d50 5
a54 1
CONFIGURE_ARGS+=--enable-command
d58 9
a66 4
	@@for file in ${CONFIG_FILES} ; do \
	    ${CP} -f ${WRKSRC}/etc/hiawatha/$${file} ${PREFIX}/etc/hiawatha/$${file}.sample ; \
	done
	${CP} -f ${WRKSRC}/doc/index.html ${PREFIX}/www/hiawatha/index.html.sample
@


1.8
log
@Update to 5.14

PR:		ports/117157
Submitted by:	Hugo Leisink <hugo (AT) leisink.net>
Approved by:	miwi (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	5.14
@


1.7
log
@Update port: www/hiawatha

	Update to 5.11

PR:		ports/115316
Submitted by:	Hugo Leisink <hugo@@leisink.net>
@
text
@d9 1
a9 1
PORTVERSION=	5.11
@


1.6
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 1
PORTVERSION=	5.9
d24 1
d30 1
a30 1
CONFIG_FILES=	httpd.conf mimetype.conf throttle.conf cgi-wrapper.conf php-fcgi.conf
@


1.5
log
@- Update to 5.9
- Add WWW entry

PR:		ports/113754
Submitted by:	Hugo Leisink <hugo at leisink.net> (maintainer)
@
text
@d23 1
a23 1
CONFIGURE_ARGS=	--localstatedir=/var --mandir=${MANPREFIX}/man webrootdir=${PREFIX}/www/hiawatha
@


1.4
log
@- Update to 5.7

PR:             110059
Submitted by:   Hugo Leisink <hugo@@leisink.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	5.7
d16 1
a16 1
MAN1=		hiawatha.1 cgi-wrapper.1 php-fcgi.1 wigwam.1
d23 1
a23 1
CONFIGURE_ARGS=	--localstatedir=/var webrootdir=${PREFIX}/www/hiawatha
@


1.3
log
@- Update to 5.6

PR:		ports/109163
Submitted by:	Hugo Leisink <hugo at leisink.org> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	5.6
@


1.2
log
@- Update to 5.3
- fix check for OpenSSL in the Makefile

PR:		ports/106835
Submitted by:	Hugo Leisink (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	5.3
d16 1
a16 1
MAN1=		hiawatha.1 cgi_wrapper.1
d25 3
a27 2
OPTIONS=	SSL "Compile with SSL support?" On
OPTIONS+=	PHP "Include the CGI version of PHP?" On
d29 1
a29 1
CONFIG_FILES=	httpd.conf mimetype.conf throttle.conf cgi_wrapper.conf
d37 6
a42 2
.if !defined(WITHOUT_PHP)
WANT_PHP_CGI=	yes
d46 2
a47 4
	${CP} -f ${WRKSRC}/extra/fcgi-server ${PREFIX}/sbin
	${CP} -f ${WRKSRC}/extra/newroot ${PREFIX}/sbin
	@@for _file in ${CONFIG_FILES} ; do \
		${CP} -f ${WRKSRC}/etc/hiawatha/$${_file} ${PREFIX}/etc/hiawatha/$${_file}.sample ; \
@


1.1
log
@Hiawatha is an advanced and secure webserver for Unix. It has been written with
'being secure' as its main goal. Hiawatha has many security features that no
other webserver has. Besides being very secure, it's also a very fast
webserver. It's twice as fast as Apache for static content. It supports
load-balanced FastCGI, which makes it fast and scalable for serving CGI.

PR:		ports/106277
Submitted by:	Hugo Leisink <hugo at leisink.net>
@
text
@d9 1
a9 1
PORTVERSION=	5.2
d23 1
a23 1
CONFIGURE_ARGS=	--localstatedir=/var --enable-cache webrootdir=${PREFIX}/www/hiawatha
d25 2
a26 2
OPTIONS=	SSL "Compile with SSL support?" On \
		PHP "Include the CGI version of PHP?" On
d32 2
a33 2
.if !defined(WITHOUT_SSL)
CONFIGURE_ARGS+=--enable-ssl
d41 2
@

