openbsd-ports/www/hiawatha/Makefile
ajacoutot 9efd6b93ef Import hiawatha-5.4
Hiawatha is a 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.
Hiawatha does not have all the fancy features, but it is very secure and
fast and is really easy to configure.  Rootjail, run CGIs under any
uid/gid you want, prevention of SQL injection and cross-site scripting,
banning of clients who try such exploits and many other features make
Hiawatha an interesting webserver for those who need more security than
what the other available webservers are offering.

ok steven@
2006-12-31 10:32:42 +00:00

44 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2006/12/31 10:32:42 ajacoutot Exp $
COMMENT= "secure webserver"
DISTNAME= hiawatha-5.4
CATEGORIES= www net
HOMEPAGE= http://hiawatha.leisink.org
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/files/
WANTLIB= c crypto pthread ssl
WEBROOTDIR= /var/hiawatha
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= webrootdir=${WEBROOTDIR}
CONFIGURE_ARGS= --localstatedir=/var
pre-configure:
perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g;' \
-e 's,!!SYSCONFDIR!!,${SYSCONFDIR},g' \
${WRKSRC}/etc/hiawatha/httpd.conf.in \
${WRKSRC}/etc/hiawatha/cgi_wrapper.conf \
${WRKSRC}/doc/cgi_wrapper.1 \
${WRKSRC}/doc/hiawatha.1
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/hiawatha/
${INSTALL_DATA} ${WRKSRC}/etc/hiawatha/*.conf \
${PREFIX}/share/examples/hiawatha
${INSTALL_DATA} ${WRKSRC}/doc/index.html \
${PREFIX}/share/examples/hiawatha
.include <bsd.port.mk>