hs20: switch dependencies to php8
authorMichael Heimpold <mhei@heimpold.de>
Tue, 5 Oct 2021 21:27:04 +0000 (23:27 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 14 Oct 2021 13:18:46 +0000 (14:18 +0100)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
net/hs20/Makefile
net/hs20/files/hs20-server.defaults

index e244f50a1c3abf0509524fa55e35b6ada550495c..336b44d4069043f6a34a59522b0533de7f40cb08 100644 (file)
@@ -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
index 7ec5332ed591b41757c8c6205a6fc4f4e035e46b..72554e6094780b76f0f02738ec223e76092596d2 100644 (file)
@@ -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