@ -8,14 +8,14 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := lighttpd
PKG_NAME := lighttpd
PKG_VERSION := 1.4.61
PKG_VERSION := 1.4.62
PKG_RELEASE := 1
PKG_RELEASE := 1
# release candidate ~rcX testing; remove for release
# release candidate ~rcX testing; remove for release
#PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-1.4.61
#PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-1.4.62
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := https://download.lighttpd.net/lighttpd/releases-1.4.x
PKG_SOURCE_URL := https://download.lighttpd.net/lighttpd/releases-1.4.x
PKG_HASH := 43f0d63d04a1b7c5b8aab07e0612e44ccad0afc0614bab784c5b019872363432
PKG_HASH := 36cf483cf34a06f7c75c724a4237d8779b0d88ce208a1742763793d317114ab7
PKG_MAINTAINER := W. Michael Petullo <mike@flyn.org>
PKG_MAINTAINER := W. Michael Petullo <mike@flyn.org>
PKG_LICENSE := BSD-3-Clause
PKG_LICENSE := BSD-3-Clause
@ -40,7 +40,7 @@ endef
d e f i n e P a c k a g e / l i g h t t p d
d e f i n e P a c k a g e / l i g h t t p d
$( call Package/lighttpd/Default)
$( call Package/lighttpd/Default)
MENU:= 1
MENU:= 1
DEPENDS:= +libnettle +libpcre +libpthread +LIGHTTPD_LOGROTATE:logrotate
DEPENDS:= +libnettle +libpcre2 +libpthread +LIGHTTPD_LOGROTATE:logrotate
TITLE:= A flexible and lightweight web server
TITLE:= A flexible and lightweight web server
e n d e f
e n d e f
@ -96,7 +96,7 @@ MESON_ARGS += \
-Dwith_nss= $( if $( CONFIG_PACKAGE_lighttpd-mod-nss) ,true,false) \
-Dwith_nss= $( if $( CONFIG_PACKAGE_lighttpd-mod-nss) ,true,false) \
-Dwith_openssl= $( if $( CONFIG_PACKAGE_lighttpd-mod-openssl) ,true,false) \
-Dwith_openssl= $( if $( CONFIG_PACKAGE_lighttpd-mod-openssl) ,true,false) \
-Dwith_pam= $( if $( CONFIG_PACKAGE_lighttpd-mod-authn_pam) ,true,false) \
-Dwith_pam= $( if $( CONFIG_PACKAGE_lighttpd-mod-authn_pam) ,true,false) \
-Dwith_pcre= true \
-Dwith_pcre2 = true \
-Dwith_pgsql= $( if $( CONFIG_PACKAGE_lighttpd-mod-vhostdb_pgsql) ,true,false) \
-Dwith_pgsql= $( if $( CONFIG_PACKAGE_lighttpd-mod-vhostdb_pgsql) ,true,false) \
-Dwith_sasl= $( if $( CONFIG_PACKAGE_lighttpd-mod-authn_sasl) ,true,false) \
-Dwith_sasl= $( if $( CONFIG_PACKAGE_lighttpd-mod-authn_sasl) ,true,false) \
-Dwith_webdav_locks= $( if $( CONFIG_PACKAGE_lighttpd-mod-webdav) ,true,false) \
-Dwith_webdav_locks= $( if $( CONFIG_PACKAGE_lighttpd-mod-webdav) ,true,false) \
@ -169,7 +169,7 @@ endef
$( eval $ ( call BuildPackage ,lighttpd ) )
$( eval $ ( call BuildPackage ,lighttpd ) )
# First, permit redirect from HTTP to HTTPS.
# First, permit redirect from HTTP to HTTPS.
$(eval $(call BuildPlugin,redirect,URL redirection,+PACKAGE_lighttpd-mod-redirect : libpcre , 10))
$(eval $(call BuildPlugin,redirect,URL redirection,+PACKAGE_lighttpd-mod-redirect : libpcre 2 , 10))
# Next, permit authentication.
# Next, permit authentication.
$(eval $(call BuildPlugin,auth,Authentication,+PACKAGE_lighttpd-mod-auth : libnettle , 20))
$(eval $(call BuildPlugin,auth,Authentication,+PACKAGE_lighttpd-mod-auth : libnettle , 20))
@ -202,17 +202,17 @@ $(eval $(call BuildPlugin,mbedtls,TLS using mbedtls,@LIGHTTPD_SSL +PACKAGE_light
$(eval $(call BuildPlugin,nss,TLS using nss,@LIGHTTPD_SSL +PACKAGE_lighttpd-mod-nss : libnss , 30))
$(eval $(call BuildPlugin,nss,TLS using nss,@LIGHTTPD_SSL +PACKAGE_lighttpd-mod-nss : libnss , 30))
$(eval $(call BuildPlugin,openssl,TLS using openssl,@LIGHTTPD_SSL +PACKAGE_lighttpd-mod-openssl : libopenssl , 30))
$(eval $(call BuildPlugin,openssl,TLS using openssl,@LIGHTTPD_SSL +PACKAGE_lighttpd-mod-openssl : libopenssl , 30))
$( eval $ ( call BuildPlugin ,proxy ,Proxy ,,30) )
$( eval $ ( call BuildPlugin ,proxy ,Proxy ,,30) )
$(eval $(call BuildPlugin,rewrite,URL rewriting,+PACKAGE_lighttpd-mod-rewrite : libpcre , 30))
$(eval $(call BuildPlugin,rewrite,URL rewriting,+PACKAGE_lighttpd-mod-rewrite : libpcre 2 , 30))
$( eval $ ( call BuildPlugin ,rrdtool ,RRDtool ,,30) )
$( eval $ ( call BuildPlugin ,rrdtool ,RRDtool ,,30) )
$( eval $ ( call BuildPlugin ,scgi ,SCGI ,,30) )
$( eval $ ( call BuildPlugin ,scgi ,SCGI ,,30) )
$(eval $(call BuildPlugin,secdownload,Secure and fast download,+PACKAGE_lighttpd-mod-secdownload : libnettle , 30))
$(eval $(call BuildPlugin,secdownload,Secure and fast download,+PACKAGE_lighttpd-mod-secdownload : libnettle , 30))
$( eval $ ( call BuildPlugin ,setenv ,Environment variable setting ,,30) )
$( eval $ ( call BuildPlugin ,setenv ,Environment variable setting ,,30) )
$( eval $ ( call BuildPlugin ,simple_vhost ,Simple virtual hosting ,,30) )
$( eval $ ( call BuildPlugin ,simple_vhost ,Simple virtual hosting ,,30) )
$( eval $ ( call BuildPlugin ,sockproxy ,sockproxy ,,30) )
$( eval $ ( call BuildPlugin ,sockproxy ,sockproxy ,,30) )
$(eval $(call BuildPlugin,ssi,SSI,+PACKAGE_lighttpd-mod-ssi : libpcre , 30))
$( eval $ ( call BuildPlugin ,ssi ,SSI ,,30) )
$( eval $ ( call BuildPlugin ,staticfile ,staticfile ,,30) )
$( eval $ ( call BuildPlugin ,staticfile ,staticfile ,,30) )
$( eval $ ( call BuildPlugin ,status ,Server status display ,,30) )
$( eval $ ( call BuildPlugin ,status ,Server status display ,,30) )
$(eval $(call BuildPlugin,trigger_b4_dl,Trigger before download,+PACKAGE_lighttpd-mod-trigger_b4_dl : libpcre +PACKAGE_lighttpd -mod -trigger_b 4_dl :libgdbm , 30))
$(eval $(call BuildPlugin,trigger_b4_dl,Trigger before download,+PACKAGE_lighttpd-mod-trigger_b4_dl : libpcre 2 +PACKAGE_lighttpd -mod -trigger_b 4_dl :libgdbm , 30))
$( eval $ ( call BuildPlugin ,uploadprogress ,Upload Progress ,,30) )
$( eval $ ( call BuildPlugin ,uploadprogress ,Upload Progress ,,30) )
$( eval $ ( call BuildPlugin ,userdir ,User directory ,,30) )
$( eval $ ( call BuildPlugin ,userdir ,User directory ,,30) )
$(eval $(call BuildPlugin,usertrack,User tracking,+PACKAGE_lighttpd-mod-usertrack : libnettle , 30))
$(eval $(call BuildPlugin,usertrack,User tracking,+PACKAGE_lighttpd-mod-usertrack : libnettle , 30))