From 9080dce60f8c3013747058971b9af38867ba1073 Mon Sep 17 00:00:00 2001 From: Michael Heimpold Date: Thu, 29 Jul 2021 21:46:37 +0200 Subject: [PATCH 1/2] php8: update to 8.0.9 Signed-off-by: Michael Heimpold --- lang/php8/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/php8/Makefile b/lang/php8/Makefile index 2907a9941..ff3e112fd 100644 --- a/lang/php8/Makefile +++ b/lang/php8/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=php -PKG_VERSION:=8.0.8 +PKG_VERSION:=8.0.9 PKG_RELEASE:=1 PKG_MAINTAINER:=Michael Heimpold @@ -16,7 +16,7 @@ PKG_CPE_ID:=cpe:/a:php:php PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://www.php.net/distributions/ -PKG_HASH:=dc1668d324232dec1d05175ec752dade92d29bb3004275118bc3f7fc7cbfbb1c +PKG_HASH:=71a01b2b56544e20e28696ad5b366e431a0984eaa39aa5e35426a4843e172010 PKG_BUILD_PARALLEL:=1 PKG_USE_MIPS16:=0 From 2dad6524460a62f879e0df2786090d99e6c837fa Mon Sep 17 00:00:00 2001 From: Michael Heimpold Date: Thu, 29 Jul 2021 22:20:45 +0200 Subject: [PATCH 2/2] php8: add CI runtime test Signed-off-by: Michael Heimpold --- lang/php8/test.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 lang/php8/test.sh diff --git a/lang/php8/test.sh b/lang/php8/test.sh new file mode 100644 index 000000000..7b2de6ee7 --- /dev/null +++ b/lang/php8/test.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +case "$1" in + php8-cgi) + php8-cgi -v | grep "$2" + ;; + php8-cli) + php8-cli -v | grep "$2" + ;; + php8-fpm) + php8-fpm -v | grep "$2" + ;; + php8-mod-*) + PHP_MOD="${1#php8-mod-}" + PHP_MOD="${PHP_MOD//-/_}" + + opkg install php8-cli + + php8-cli -m | grep -i "$PHP_MOD" + ;; + *) + ;; +esac