pkgsrc/www/bozohttpd/Makefile
mrg c08a003c94 update bozohttpd to 20160415. changes include:
o  add search-word support for CGI
        o  fix a security issue in CGI suffix handler support which would
           allow remote code execution, from shm@netbsd.org
        o  -C option supports now CGI scripts only
        o  add CGI support for ~user translation (-E switch)
        o  add redirects to ~user translation
        o  fix bugs around ~user translation
        o  add schema detection for absolute redirects
        o  fixed few memory leaks
        o  bunch of minor tweaks
        o  removed -r support
        o  smarter redirects
2016-04-15 20:59:16 +00:00

36 lines
906 B
Makefile

# $NetBSD: Makefile,v 1.86 2016/04/15 20:59:16 mrg Exp $
#
DISTNAME= bozohttpd-20160415
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"