pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/lighttpd Enable --with-nettle as recommended in th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/34d983b0e365
branches:  trunk
changeset: 442819:34d983b0e365
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Dec 01 09:44:12 2020 +0000

description:
Enable --with-nettle as recommended in the release announcement; we'll
add options for other SSL libraries later. Add 'libdbi' option to enable
mod_vhostdb_dbi and the new mod_authn_dbi module, off by default. Bump
PKGREVISION.

diffstat:

 www/lighttpd/Makefile   |   3 ++-
 www/lighttpd/PLIST      |   6 +++---
 www/lighttpd/options.mk |  19 ++++++++++++++++---
 3 files changed, 21 insertions(+), 7 deletions(-)

diffs (87 lines):

diff -r 13d8f21491c8 -r 34d983b0e365 www/lighttpd/Makefile
--- a/www/lighttpd/Makefile     Tue Dec 01 09:33:45 2020 +0000
+++ b/www/lighttpd/Makefile     Tue Dec 01 09:44:12 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.92 2020/11/30 10:28:33 schmonz Exp $
+# $NetBSD: Makefile,v 1.93 2020/12/01 09:44:12 schmonz Exp $
 
 DISTNAME=      lighttpd-1.4.56
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES=  https://download.lighttpd.net/lighttpd/releases-1.4.x/
 EXTRACT_SUFX=  .tar.xz
diff -r 13d8f21491c8 -r 34d983b0e365 www/lighttpd/PLIST
--- a/www/lighttpd/PLIST        Tue Dec 01 09:33:45 2020 +0000
+++ b/www/lighttpd/PLIST        Tue Dec 01 09:44:12 2020 +0000
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.21 2020/11/30 10:28:33 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.22 2020/12/01 09:44:12 schmonz Exp $
 lib/lighttpd/mod_access.la
 lib/lighttpd/mod_accesslog.la
 lib/lighttpd/mod_alias.la
 lib/lighttpd/mod_auth.la
+${PLIST.libdbi}lib/lighttpd/mod_authn_dbi.la
 lib/lighttpd/mod_authn_file.la
 ${PLIST.gssapi}lib/lighttpd/mod_authn_gssapi.la
 ${PLIST.ldap}lib/lighttpd/mod_authn_ldap.la
@@ -36,13 +37,12 @@
 lib/lighttpd/mod_status.la
 ${PLIST.gdbm}lib/lighttpd/mod_trigger_b4_dl.la
 ${PLIST.memcached}lib/lighttpd/mod_trigger_b4_dl.la
-${PLIST.memcached}lib/lighttpd/mod_trigger_b4_dl.so
 lib/lighttpd/mod_uploadprogress.la
 lib/lighttpd/mod_userdir.la
 lib/lighttpd/mod_usertrack.la
 lib/lighttpd/mod_vhostdb.la
+${PLIST.libdbi}lib/lighttpd/mod_vhostdb_dbi.la
 ${PLIST.ldap}lib/lighttpd/mod_vhostdb_ldap.la
-${PLIST.ldap}lib/lighttpd/mod_vhostdb_ldap.so
 ${PLIST.mysql}lib/lighttpd/mod_vhostdb_mysql.la
 lib/lighttpd/mod_webdav.la
 lib/lighttpd/mod_wstunnel.la
diff -r 13d8f21491c8 -r 34d983b0e365 www/lighttpd/options.mk
--- a/www/lighttpd/options.mk   Tue Dec 01 09:33:45 2020 +0000
+++ b/www/lighttpd/options.mk   Tue Dec 01 09:44:12 2020 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: options.mk,v 1.24 2020/11/30 10:28:33 schmonz Exp $
+# $NetBSD: options.mk,v 1.25 2020/12/01 09:44:12 schmonz Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.lighttpd
-PKG_SUPPORTED_OPTIONS=         brotli bzip2 fam gdbm inet6 ldap lua mysql ssl memcached geoip gssapi webdav
+PKG_SUPPORTED_OPTIONS=         brotli bzip2 fam gdbm inet6 ldap libdbi lua mysql ssl memcached geoip gssapi webdav
 PKG_SUGGESTED_OPTIONS=         inet6 ssl
 
 .include "../../mk/bsd.options.mk"
 
-PLIST_VARS+=           gdbm geoip gssapi ldap lua memcached mysql ssl
+PLIST_VARS+=           gdbm geoip gssapi ldap libdbi lua memcached mysql ssl
 
 ###
 ### Allow using brotli as a compression method in the "deflate" module.
@@ -64,6 +64,17 @@
 .endif
 
 ###
+### libdbi
+###
+.if !empty(PKG_OPTIONS:Mlibdbi)
+.  include "../../databases/libdbi/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-dbi
+PLIST.libdbi=          yes
+.else
+CONFIGURE_ARGS+=       --without-dbi
+.endif
+
+###
 ### Support enabling the Cache Meta Language module with the Lua engine.
 ###
 .if !empty(PKG_OPTIONS:Mlua)
@@ -96,6 +107,8 @@
 ### HTTPS support
 ###
 .if !empty(PKG_OPTIONS:Mssl)
+.  include "../../security/nettle/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-nettle
 .  include "../../security/openssl/buildlink3.mk"
 CONFIGURE_ARGS+=       --with-openssl=${SSLBASE:Q}
 PLIST.ssl=             yes



Home | Main Index | Thread Index | Old Index