From e9c14f778efd9a13f4e507b5bb8132632271b853 Mon Sep 17 00:00:00 2001 From: bad Date: Wed, 7 Dec 2005 17:01:22 +0000 Subject: Enable HTTP basic auth support and .htpasswd files by setting: PKG_OPTIONS.bozohttpd do_htpasswd --- www/bozohttpd/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'www') diff --git a/www/bozohttpd/Makefile b/www/bozohttpd/Makefile index db730d83233..70e9bc2b8b6 100644 --- a/www/bozohttpd/Makefile +++ b/www/bozohttpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.49 2005/04/25 14:29:07 mrg Exp $ +# $NetBSD: Makefile,v 1.50 2005/12/07 17:01:22 bad Exp $ # DISTNAME= bozohttpd-20050410 @@ -14,6 +14,8 @@ BUILD_DEFS+= USE_INET6 PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_OPTIONS_VAR= PKG_OPTIONS.bozohttpd +PKG_SUPPORTED_OPTIONS= do_htpasswd .include "../../mk/bsd.prefs.mk" @@ -23,6 +25,12 @@ CPPFLAGS+= -DINET6 CPPFLAGS+= -Wno-error MAKE_ENV+= BINDIR=${PREFIX}/libexec MANDIR=${PREFIX}/man +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mdo_htpasswd) +CPPFLAGS+= -DDO_HTPASSWD +.endif + INSTALLATION_DIRS= libexec man/cat8 man/man8 .include "../../security/openssl/buildlink3.mk" -- cgit v1.2.3