From: Michael Heimpold Date: Tue, 5 Oct 2021 21:27:04 +0000 (+0200) Subject: hs20: switch dependencies to php8 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b22aa5b9e6da092786bce8c90100b728ed053502;p=feed%2Fpackages.git hs20: switch dependencies to php8 Signed-off-by: Michael Heimpold --- diff --git a/net/hs20/Makefile b/net/hs20/Makefile index e244f50a1c..336b44d406 100644 --- a/net/hs20/Makefile +++ b/net/hs20/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hs20 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE_URL:=http://w1.fi/hostap.git PKG_SOURCE_PROTO:=git @@ -77,7 +77,7 @@ define Package/hs20-server SUBMENU:=WirelessAPD TITLE:=Hotspot 2.0 OSU server URL:=http://hostap.epitest.fi/ - DEPENDS:=+hs20-common +libopenssl +libsqlite3 +libxml2 +php7 +php7-cgi +php7-mod-xml +php7-mod-pdo-sqlite +openssl-util +sqlite3-cli +uhttpd +xxd + DEPENDS:=+hs20-common +libopenssl +libsqlite3 +libxml2 +php8 +php8-cgi +php8-mod-xml +php8-mod-pdo-sqlite +openssl-util +sqlite3-cli +uhttpd +xxd endef define Package/hs20-server/description diff --git a/net/hs20/files/hs20-server.defaults b/net/hs20/files/hs20-server.defaults index 7ec5332ed5..72554e6094 100644 --- a/net/hs20/files/hs20-server.defaults +++ b/net/hs20/files/hs20-server.defaults @@ -1,7 +1,7 @@ #!/bin/sh uci -q get uhttpd.main.interpreter | grep -q "^\.php" || uci -q batch <<-EOF >/dev/null -add_list uhttpd.main.interpreter='.php=/usr/bin/php-cgi' +add_list uhttpd.main.interpreter='.php=/usr/bin/php8-cgi' commit uhttpd EOF