pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/bozohttpd Enable HTTP basic auth support and .htpa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bdd56deae119
branches: trunk
changeset: 504246:bdd56deae119
user: bad <bad%pkgsrc.org@localhost>
date: Wed Dec 07 17:01:22 2005 +0000
description:
Enable HTTP basic auth support and .htpasswd files by setting:
PKG_OPTIONS.bozohttpd do_htpasswd
diffstat:
www/bozohttpd/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 073f6fa0dedd -r bdd56deae119 www/bozohttpd/Makefile
--- a/www/bozohttpd/Makefile Wed Dec 07 16:45:47 2005 +0000
+++ b/www/bozohttpd/Makefile Wed Dec 07 17:01:22 2005 +0000
@@ -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 @@
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+= -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"
Home |
Main Index |
Thread Index |
Old Index