summaryrefslogtreecommitdiff
path: root/www/bozohttpd
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>2005-12-07 17:01:22 +0000
committerbad <bad@pkgsrc.org>2005-12-07 17:01:22 +0000
commite9c14f778efd9a13f4e507b5bb8132632271b853 (patch)
tree04477704476207d6251ff4116141cf6bcbdbfb81 /www/bozohttpd
parent6de7cd0f8c7f2e9c976e5cd43cbb2bbadec8f5d7 (diff)
downloadpkgsrc-e9c14f778efd9a13f4e507b5bb8132632271b853.tar.gz
Enable HTTP basic auth support and .htpasswd files by setting:
PKG_OPTIONS.bozohttpd do_htpasswd
Diffstat (limited to 'www/bozohttpd')
-rw-r--r--www/bozohttpd/Makefile10
1 files changed, 9 insertions, 1 deletions
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"