Browse Source

hs20: switch dependencies to php8

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
lilik-openwrt-22.03
Michael Heimpold 3 years ago
committed by Daniel Golle
parent
commit
b22aa5b9e6
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      net/hs20/Makefile
  2. +1
    -1
      net/hs20/files/hs20-server.defaults

+ 2
- 2
net/hs20/Makefile View 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


+ 1
- 1
net/hs20/files/hs20-server.defaults View 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


Loading…
Cancel
Save