9a1281efaa
o extend timeout facility to ssl and stop servers hanging forever if the client never sends anything. reported by Steffen in netbsd PR#50655. o don't display special files in the directory index. they aren't served, but links to them are generated. o fix CGI '+' parameter handling, some error checking, and a double free. from rajeev_v_pillai@yahoo.com o more directory indexing clean up. from rajeev_v_pillai@yahoo.com
36 lines
906 B
Makefile
36 lines
906 B
Makefile
# $NetBSD: Makefile,v 1.93 2019/06/11 09:41:01 mrg Exp $
|
|
#
|
|
|
|
DISTNAME= bozohttpd-20190228
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= mrg@eterna.com.au
|
|
HOMEPAGE= http://www.eterna.com.au/bozohttpd/
|
|
COMMENT= Bozotic HTTP server; small and secure
|
|
|
|
.include "options.mk"
|
|
|
|
# This package is IP family agnostic.
|
|
BUILD_DEFS+= IPV6_READY
|
|
|
|
MAKE_FILE= Makefile.boot
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= Fixing paths in manual page.
|
|
SUBST_STAGE.paths= pre-build
|
|
SUBST_FILES.paths= bozohttpd.8
|
|
SUBST_SED.paths= -e "s|/usr/pkg/|"${PREFIX:Q}"/|g"
|
|
|
|
INSTALLATION_DIRS= libexec ${PKGMANDIR}/man8
|
|
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bozohttpd ${DESTDIR}${PREFIX}/libexec
|
|
${INSTALL_MAN} ${WRKSRC}/bozohttpd.8 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|