summaryrefslogtreecommitdiffstats
path: root/getmock
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-11-19 10:57:41 +0100
committerRemi Collet <remi@php.net>2024-11-19 10:57:41 +0100
commitdf49bfd377f9a0e7402e2ffb4770a2f3ab2648ed (patch)
tree0c2f5894d0aa89163774e546b32f90c0fe10aa62 /getmock
parent4e47b1c4178d91d211ac87d41d859b6c8f6568c8 (diff)
EL-10 helpers
Diffstat (limited to 'getmock')
-rwxr-xr-xgetmock95
1 files changed, 87 insertions, 8 deletions
diff --git a/getmock b/getmock
index d5df66b..fe067ba 100755
--- a/getmock
+++ b/getmock
@@ -80,6 +80,16 @@ el??74)
fi
type=enterprise
;;
+el???74)
+ dep=${1:2:2}
+ if [ "$2" == "php74" -o "$2" == "test74" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php74
+ else rep=${2}74
+ fi
+ type=enterprise
+ ;;
el??80)
dep=${1:2:1}
if [ "$2" == "php80" -o "$2" == "test80" ]
@@ -90,6 +100,16 @@ el??80)
fi
type=enterprise
;;
+el???80)
+ dep=${1:2:2}
+ if [ "$2" == "php80" -o "$2" == "test80" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php80
+ else rep=${2}80
+ fi
+ type=enterprise
+ ;;
el??81)
dep=${1:2:1}
if [ "$2" == "php81" -o "$2" == "test81" ]
@@ -100,6 +120,16 @@ el??81)
fi
type=enterprise
;;
+el???81)
+ dep=${1:2:2}
+ if [ "$2" == "php81" -o "$2" == "test81" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php81
+ else rep=${2}81
+ fi
+ type=enterprise
+ ;;
el??82)
dep=${1:2:1}
if [ "$2" == "php82" -o "$2" == "test82" ]
@@ -110,6 +140,16 @@ el??82)
fi
type=enterprise
;;
+el???82)
+ dep=${1:2:2}
+ if [ "$2" == "php82" -o "$2" == "test82" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php82
+ else rep=${2}82
+ fi
+ type=enterprise
+ ;;
el??83)
dep=${1:2:1}
if [ "$2" == "php83" -o "$2" == "test83" ]
@@ -120,6 +160,16 @@ el??83)
fi
type=enterprise
;;
+el???83)
+ dep=${1:2:2}
+ if [ "$2" == "php83" -o "$2" == "test83" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php83
+ else rep=${2}83
+ fi
+ type=enterprise
+ ;;
el??84)
dep=${1:2:1}
if [ "$2" == "php84" -o "$2" == "test84" ]
@@ -130,6 +180,16 @@ el??84)
fi
type=enterprise
;;
+el???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=enterprise
+ ;;
fc???74)
dep=${1:2:2}
if [ "$2" == "php74" -o "$2" == "test74" ]
@@ -265,6 +325,13 @@ do
cp $i priv/el9.x86_64 && echo + $i copied priv EL9
fi
;;
+ remi-crypto*el10*)
+ if [ -f priv/el10.x86_64/$j ]; then
+ echo " " $i already there
+ else
+ cp $i priv/el10.x86_64 && echo + $i copied priv EL10
+ fi
+ ;;
remi-crypto*fc41*)
if [ -f priv/fc41.x86_64/$j ]; then
echo " " $i already there
@@ -449,6 +516,8 @@ elif [ $1 = all74 ]; then
getOneMock el8a74 $opt '*7.4*'
getOneMock el9x74 $opt '*7.4*'
getOneMock el9a74 $opt '*7.4*'
+ getOneMock el10x74 $opt '*7.4*'
+ getOneMock el10a74 $opt '*7.4*'
elif [ $1 = all80 ]; then
[ $opt = remi ] && opt=php80
@@ -463,6 +532,8 @@ elif [ $1 = all80 ]; then
getOneMock el8a80 $opt '*8.0*'
getOneMock el9x80 $opt '*8.0*'
getOneMock el9a80 $opt '*8.0*'
+ getOneMock el10x80 $opt '*8.0*'
+ getOneMock el10a80 $opt '*8.0*'
elif [ $1 = all81 ]; then
[ $opt = remi ] && opt=php81
@@ -477,6 +548,8 @@ elif [ $1 = all81 ]; then
getOneMock el8a81 $opt '*8.1*'
getOneMock el9x81 $opt '*8.1*'
getOneMock el9a81 $opt '*8.1*'
+ getOneMock el10x81 $opt '*8.1*'
+ getOneMock el10a81 $opt '*8.1*'
elif [ $1 = all82 ]; then
[ $opt = remi ] && opt=php82
@@ -491,6 +564,8 @@ elif [ $1 = all82 ]; then
getOneMock el8a82 $opt '*8.2*'
getOneMock el9x82 $opt '*8.2*'
getOneMock el9a82 $opt '*8.2*'
+ getOneMock el10x82 $opt '*8.2*'
+ getOneMock el10a82 $opt '*8.2*'
elif [ $1 = all83 ]; then
[ $opt = remi ] && opt=php83
@@ -505,6 +580,8 @@ elif [ $1 = all83 ]; then
getOneMock el8a83 $opt '*8.3*'
getOneMock el9x83 $opt '*8.3*'
getOneMock el9a83 $opt '*8.3*'
+ getOneMock el10x83 $opt '*8.3*'
+ getOneMock el10a83 $opt '*8.3*'
elif [ $1 = all84 ]; then
[ $opt = remi ] && opt=php84
@@ -519,6 +596,8 @@ elif [ $1 = all84 ]; then
getOneMock el8a84 $opt '*8.4*'
getOneMock el9x84 $opt '*8.4*'
getOneMock el9a84 $opt '*8.4*'
+ getOneMock el10x84 $opt '*8.4*'
+ getOneMock el10a84 $opt '*8.4*'
elif [ $1 = allr60 ]; then
opt=redis60
@@ -583,7 +662,7 @@ elif [ $1 = allx ]; then
do
getOneMock fc${i}x $opt
done
- for i in 8 9
+ for i in 8 9 10
do
getOneMock el${i}x $opt
done
@@ -593,7 +672,7 @@ elif [ $1 = alla ]; then
do
getOneMock fc${i}a $opt
done
- for i in 8 9
+ for i in 8 9 10
do
getOneMock el${i}a $opt
done
@@ -617,42 +696,42 @@ elif [ $1 = scl71 ]; then
done
elif [ $1 = scl84 ]; then
- for dis in fc39 fc40 fc41 el8 el9
+ for dis in fc39 fc40 fc41 el8 el9 el10
do
getOneMock scl84${dis}a $opt
getOneMock scl84${dis}x $opt
done
elif [ $1 = scl83 ]; then
- for dis in fc39 fc40 fc41 el8 el9
+ for dis in fc39 fc40 fc41 el8 el9 el10
do
getOneMock scl83${dis}x $opt
getOneMock scl83${dis}a $opt
done
elif [ $1 = scl82 ]; then
- for dis in fc39 fc40 fc41 el8 el9
+ for dis in fc39 fc40 fc41 el8 el9 el10
do
getOneMock scl82${dis}x $opt
getOneMock scl82${dis}a $opt
done
elif [ $1 = scl81 ]; then
- for dis in fc39 fc40 fc41 el8 el9
+ for dis in fc39 fc40 fc41 el8 el9 el10
do
getOneMock scl81${dis}x $opt
getOneMock scl81${dis}a $opt
done
elif [ $1 = scl80 ]; then
- for dis in fc39 fc40 fc41 el8 el9
+ for dis in fc39 fc40 fc41 el8 el9 el10
do
getOneMock scl80${dis}x $opt
getOneMock scl80${dis}a $opt
done
elif [ $1 = scl74 ]; then
- for dis in fc39 fc40 fc41 el8 el9
+ for dis in fc39 fc40 fc41 el8 el9 el10
do
getOneMock scl74${dis}x $opt
getOneMock scl74${dis}a $opt