lighttpd: Bump to 1.4.71

This commit is contained in:
Tee KOBAYASHI 2023-06-16 07:11:40 +09:00 committed by xtkoba
parent d650cd69f5
commit b02d56cb69
1 changed files with 12 additions and 4 deletions

View File

@ -2,12 +2,15 @@ TERMUX_PKG_HOMEPAGE=https://www.lighttpd.net
TERMUX_PKG_DESCRIPTION="Fast webserver with minimal memory footprint"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.4.70
TERMUX_PKG_REVISION=2
TERMUX_PKG_VERSION=1.4.71
TERMUX_PKG_SRCURL=https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=921ebe1cf4b6b9897e03779ab7a23a31f4ba40a1abe2067525c33cd3ce61fe85
TERMUX_PKG_SHA256=b8b6915da20396fdc354df3324d5e440169b2e5ea7859e3a775213841325afac
TERMUX_PKG_DEPENDS="libandroid-glob, libbz2, libcrypt, openssl, pcre2, zlib"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-bzip2 --with-openssl --with-zlib"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-Dwith_bzip=enabled
-Dwith_openssl=true
-Dwith_zlib=enabled
"
TERMUX_PKG_RM_AFTER_INSTALL="bin/lighttpd-angel"
TERMUX_PKG_SERVICE_SCRIPT=("lighttpd" "if [ -f \"$TERMUX_ANDROID_HOME/.lighttpd/lighttpd.conf\" ]; then CONFIG=\"$TERMUX_ANDROID_HOME/.lighttpd/lighttpd.conf\"; else CONFIG=\"$TERMUX_PREFIX/etc/lighttpd/lighttpd.conf\"; fi\nexec lighttpd -D -f \$CONFIG 2>&1")
@ -16,6 +19,11 @@ etc/lighttpd/lighttpd.conf
etc/lighttpd/modules.conf
"
termux_step_post_get_source() {
mv configure{,.unused}
mv CMakeLists.txt{,.unused}
}
termux_step_pre_configure() {
LDFLAGS="$LDFLAGS -landroid-glob"
}