4310f377b4
Provided in PR 17227 by Dawid Szymanski (dawszy@tgr.lubin.edu.pl), modified slightly by myself. lhs is a beta version of very simple http server. Only static files are supported - CGI, PHP and SSI are not allowed. However, there is support for both IPv6 and SSL. By default it will listen on ports 8000 and 8001 and read files from ${PREFIX}/share/httpd/htdocs and will not change uid for other unless you use the -u option.
25 lines
578 B
Makefile
25 lines
578 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2002/06/18 12:09:25 agc Exp $
|
|
#
|
|
|
|
DISTNAME= lhs-0.1
|
|
CATEGORIES= www
|
|
MASTER_SITES= ftp://dev.null.pl/pub/
|
|
|
|
MAINTAINER= dawszy@arhea.net
|
|
HOMEPAGE= http://dev.null.pl/
|
|
COMMENT= Lightweight HTTP Server, IPv6-aware and SSL-enabled
|
|
|
|
WRKSRC= ${WRKDIR}/lhs
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
MAKE_ENV+= OPENSSL_ROOT=${BUILDLINK_PREFIX.openssl}
|
|
MAKE_ENV+= DEFAULT_ROOT_DIR=${PREFIX}/share/httpd/htdocs
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lhs ${PREFIX}/sbin/lhs
|
|
|
|
.include "../../security/openssl/buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|