diff options
author | Michal Hrusecky <michal@hrusecky.net> | 2020-06-15 11:47:41 +0200 |
---|---|---|
committer | Michal Hrusecky <michal@hrusecky.net> | 2020-06-22 17:22:39 +0200 |
commit | 8b5f98d989850dca8ec317266a969d76553a8553 (patch) | |
tree | 617abe5c8c00ceecc3a1d9611ef6a03418918c32 | |
parent | 3031fb367025658d5505d8d2f97b34a42304a7a4 (diff) |
lighttpd: Add subpackage containing authn_pam module
Add new subpackage containing pam authentication module. Shouldn't
affect dependencies and nothing changes, there is just one more module
enabled for people interested in it.
Signed-off-by: Michal Hrusecky <michal@hrusecky.net>
-rw-r--r-- | net/lighttpd/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/net/lighttpd/Makefile b/net/lighttpd/Makefile index 015cfb530..c20d16245 100644 --- a/net/lighttpd/Makefile +++ b/net/lighttpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lighttpd PKG_VERSION:=1.4.55 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://download.lighttpd.net/lighttpd/releases-1.4.x @@ -138,6 +138,14 @@ else --without-webdav-props endif +ifneq ($(SDK)$(CONFIG_PACKAGE_lighttpd-mod-authn_pam),) + CONFIGURE_ARGS+= \ + --with-pam +else + CONFIGURE_ARGS+= \ + --without-pam +endif + define Build/Configure $(call Build/Configure/Default) # XXX: override pcre (mis)detection by ./configure when cross-compiling @@ -209,6 +217,7 @@ $(eval $(call BuildPlugin,authn_file,File-based authentication,lighttpd-mod-auth $(eval $(call BuildPlugin,authn_gssapi,Kerberos-based authentication,lighttpd-mod-auth +PACKAGE_lighttpd-mod-authn_gssapi:krb5-libs,20)) $(eval $(call BuildPlugin,authn_ldap,LDAP-based authentication,lighttpd-mod-auth +PACKAGE_lighttpd-mod-authn_ldap:libopenldap,20)) $(eval $(call BuildPlugin,authn_mysql,Mysql-based authentication,lighttpd-mod-auth +PACKAGE_lighttpd-mod-authn_mysql:libmysqlclient,20)) +$(eval $(call BuildPlugin,authn_pam,PAM-based authentication,lighttpd-mod-auth +PACKAGE_lighttpd-mod-authn_pam:libpam,20)) # Finally, everything else. $(eval $(call BuildPlugin,access,Access restrictions,,30)) |