mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
hs20: switch dependencies to php8
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
This commit is contained in:
committed by
Daniel Golle
parent
6786e35ff8
commit
b22aa5b9e6
@@ -1,7 +1,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=hs20
|
PKG_NAME:=hs20
|
||||||
PKG_RELEASE:=4
|
PKG_RELEASE:=5
|
||||||
|
|
||||||
PKG_SOURCE_URL:=http://w1.fi/hostap.git
|
PKG_SOURCE_URL:=http://w1.fi/hostap.git
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
@@ -77,7 +77,7 @@ define Package/hs20-server
|
|||||||
SUBMENU:=WirelessAPD
|
SUBMENU:=WirelessAPD
|
||||||
TITLE:=Hotspot 2.0 OSU server
|
TITLE:=Hotspot 2.0 OSU server
|
||||||
URL:=http://hostap.epitest.fi/
|
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
|
endef
|
||||||
|
|
||||||
define Package/hs20-server/description
|
define Package/hs20-server/description
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci -q get uhttpd.main.interpreter | grep -q "^\.php" || uci -q batch <<-EOF >/dev/null
|
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
|
commit uhttpd
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user