summaryrefslogtreecommitdiffstats
path: root/getmock
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-09-25 10:56:44 +0200
committerRemi Collet <remi@php.net>2024-09-25 10:56:44 +0200
commit027e0257999c1fdbff700ea6648d84883de801f8 (patch)
treec170bf18a334090aaaf6e2ae609216946e92ba06 /getmock
parent3d67c8569bb330a1be33669c1da9bbd855c33404 (diff)
php 8.4 as module helpers
Diffstat (limited to 'getmock')
-rwxr-xr-xgetmock50
1 files changed, 48 insertions, 2 deletions
diff --git a/getmock b/getmock
index 9d60cd1..09b4634 100755
--- a/getmock
+++ b/getmock
@@ -120,6 +120,16 @@ el??83)
fi
type=enterprise
;;
+el??84)
+ dep=${1:2:1}
+ if [ "$2" == "php84" -o "$2" == "test84" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php84
+ else rep=${2}84
+ fi
+ type=enterprise
+ ;;
fc???74)
dep=${1:2:2}
if [ "$2" == "php74" -o "$2" == "test74" ]
@@ -170,6 +180,16 @@ fc???83)
fi
type=fedora
;;
+fc???84)
+ dep=${1:2:2}
+ if [ "$2" == "php84" -o "$2" == "test84" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php84
+ else rep=${2}84
+ fi
+ type=fedora
+ ;;
el*) dep=${dep#el}
type=enterprise
;;
@@ -423,6 +443,8 @@ elif [ $1 = all74 ]; then
getOneMock fc39a74 $opt '*7.4*'
getOneMock fc40x74 $opt '*7.4*'
getOneMock fc40a74 $opt '*7.4*'
+ getOneMock fc41x74 $opt '*7.4*'
+ getOneMock fc41a74 $opt '*7.4*'
getOneMock el8x74 $opt '*7.4*'
getOneMock el8a74 $opt '*7.4*'
getOneMock el9x74 $opt '*7.4*'
@@ -435,6 +457,8 @@ elif [ $1 = all80 ]; then
getOneMock fc39a80 $opt '*8.0*'
getOneMock fc40x80 $opt '*8.0*'
getOneMock fc40a80 $opt '*8.0*'
+ getOneMock fc41x80 $opt '*8.0*'
+ getOneMock fc41a80 $opt '*8.0*'
getOneMock el8x80 $opt '*8.0*'
getOneMock el8a80 $opt '*8.0*'
getOneMock el9x80 $opt '*8.0*'
@@ -447,6 +471,8 @@ elif [ $1 = all81 ]; then
getOneMock fc39a81 $opt '*8.1*'
getOneMock fc40x81 $opt '*8.1*'
getOneMock fc40a81 $opt '*8.1*'
+ getOneMock fc41x81 $opt '*8.1*'
+ getOneMock fc41a81 $opt '*8.1*'
getOneMock el8x81 $opt '*8.1*'
getOneMock el8a81 $opt '*8.1*'
getOneMock el9x81 $opt '*8.1*'
@@ -459,6 +485,8 @@ elif [ $1 = all82 ]; then
getOneMock fc39a82 $opt '*8.2*'
getOneMock fc40x82 $opt '*8.2*'
getOneMock fc40a82 $opt '*8.2*'
+ getOneMock fc41x82 $opt '*8.2*'
+ getOneMock fc41a82 $opt '*8.2*'
getOneMock el8x82 $opt '*8.2*'
getOneMock el8a82 $opt '*8.2*'
getOneMock el9x82 $opt '*8.2*'
@@ -471,11 +499,27 @@ elif [ $1 = all83 ]; then
getOneMock fc39a83 $opt '*8.3*'
getOneMock fc40x83 $opt '*8.3*'
getOneMock fc40a83 $opt '*8.3*'
+ getOneMock fc41x83 $opt '*8.3*'
+ getOneMock fc41a83 $opt '*8.3*'
getOneMock el8x83 $opt '*8.3*'
getOneMock el8a83 $opt '*8.3*'
getOneMock el9x83 $opt '*8.3*'
getOneMock el9a83 $opt '*8.3*'
+elif [ $1 = all84 ]; then
+ [ $opt = remi ] && opt=php84
+ [ $opt = test ] && opt=test84
+ getOneMock fc39x84 $opt '*8.4*'
+ getOneMock fc39a84 $opt '*8.4*'
+ getOneMock fc40x84 $opt '*8.4*'
+ getOneMock fc40a84 $opt '*8.4*'
+ getOneMock fc41x84 $opt '*8.4*'
+ getOneMock fc41a84 $opt '*8.4*'
+ getOneMock el8x84 $opt '*8.4*'
+ getOneMock el8a84 $opt '*8.4*'
+ getOneMock el9x84 $opt '*8.4*'
+ getOneMock el9a84 $opt '*8.4*'
+
elif [ $1 = allr60 ]; then
opt=redis60
getOneMock fc39x $opt '*6.0*'
@@ -524,6 +568,8 @@ elif [ $1 = allm ]; then
opt=remi
getOneMock el8x $opt '*1.6*'
getOneMock el8a $opt '*1.6*'
+ getOneMock fc41x $opt '*1.6*'
+ getOneMock fc41a $opt '*1.6*'
opt=memcached
getOneMock fc39x $opt '*1.6*'
getOneMock fc39a $opt '*1.6*'
@@ -533,7 +579,7 @@ elif [ $1 = allm ]; then
getOneMock el9a $opt '*1.6*'
elif [ $1 = allx ]; then
- for i in 39 40
+ for i in 39 40 41
do
getOneMock fc${i}x $opt
done
@@ -543,7 +589,7 @@ elif [ $1 = allx ]; then
done
elif [ $1 = alla ]; then
- for i in 39 40
+ for i in 39 40 41
do
getOneMock fc${i}a $opt
done