diff options
Diffstat (limited to 'getmock')
-rwxr-xr-x | getmock | 202 |
1 files changed, 75 insertions, 127 deletions
@@ -50,52 +50,6 @@ scl70el*) dep=${dep#scl70el} scl56el*) dep=${dep#scl56el} type=enterprise ;; -scl55el*) dep=${dep#scl55el} - type=enterprise - ;; -scl54el*) dep=${dep#scl54el} - type=enterprise - ;; -el?x55) - dep=${1:2:1} - if [ "$2" == "php55" -o "$2" == "test55" ] - then rep=$rep - elif [ "$2" == "remi" ] - then rep=php55 - else rep=${2}55 - fi - type=enterprise - ;; -el?x56) - dep=${1:2:1} - if [ "$2" == "php56" -o "$2" == "test56" ] - then rep=$rep - elif [ "$2" == "remi" ] - then rep=php56 - else rep=${2}56 - fi - type=enterprise - ;; -el?x70) - dep=${1:2:1} - if [ "$2" == "php70" -o "$2" == "test70" ] - then rep=$rep - elif [ "$2" == "remi" ] - then rep=php70 - else rep=${2}70 - fi - type=enterprise - ;; -el?x71) - dep=${1:2:1} - if [ "$2" == "php71" -o "$2" == "test71" ] - then rep=$rep - elif [ "$2" == "remi" ] - then rep=php71 - else rep=${2}71 - fi - type=enterprise - ;; el??72) dep=${1:2:1} if [ "$2" == "php72" -o "$2" == "test72" ] @@ -166,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" ] @@ -216,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 ;; @@ -240,27 +214,6 @@ scl80fc*) dep=${dep#scl80fc} scl74fc*) dep=${dep#scl74fc} type=fedora ;; -scl73fc*) dep=${dep#scl73fc} - type=fedora - ;; -scl72fc*) dep=${dep#scl72fc} - type=fedora - ;; -scl71fc*) dep=${dep#scl71fc} - type=fedora - ;; -scl70fc*) dep=${dep#scl70fc} - type=fedora - ;; -scl56fc*) dep=${dep#scl56fc} - type=fedora - ;; -scl55fc*) dep=${dep#scl55fc} - type=fedora - ;; -scl54fc*) dep=${dep#scl54fc} - type=fedora - ;; *) echo Connais pas $dep ;; esac @@ -312,6 +265,13 @@ do cp $i priv/el9.x86_64 && echo + $i copied priv EL9 fi ;; + remi-crypto*fc41*) + if [ -f priv/fc41.x86_64/$j ]; then + echo " " $i already there + else + cp $i priv/fc41.x86_64 && echo + $i copied priv FC41 + fi + ;; remi-crypto*fc40*) if [ -f priv/fc40.x86_64/$j ]; then echo " " $i already there @@ -448,11 +408,7 @@ if [ $1 = devs -o $1 = dev ]; then shift fi -if [ $1 = all55 ]; then - n=7 - getOneMock el${n}x55 php55 '*5.5*' - -elif [ $1 = all56 ]; then +if [ $1 = all56 ]; then n=7 getOneMock el${n}x56 php56 '*5.6*' @@ -487,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*' @@ -499,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*' @@ -511,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*' @@ -523,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*' @@ -535,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*' @@ -588,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*' @@ -597,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 @@ -607,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 @@ -635,80 +617,46 @@ elif [ $1 = scl71 ]; then done elif [ $1 = scl84 ]; then - for i in fc39 fc40 el8 el9 + for dis in fc39 fc40 fc41 el8 el9 do - getOneMock scl84${i}x $opt + getOneMock scl84${dis}a $opt + getOneMock scl84${dis}x $opt done - getOneMock scl84fc39a $opt - getOneMock scl84fc40a $opt - getOneMock scl84el8a $opt - getOneMock scl84el9a $opt elif [ $1 = scl83 ]; then - for i in fc39 fc40 el8 el9 + for dis in fc39 fc40 fc41 el8 el9 do - getOneMock scl83${i}x $opt + getOneMock scl83${dis}x $opt + getOneMock scl83${dis}a $opt done - getOneMock scl83fc39a $opt - getOneMock scl83fc40a $opt - getOneMock scl83el8a $opt - getOneMock scl83el9a $opt elif [ $1 = scl82 ]; then - for i in 39 40 - do - getOneMock scl82fc${i}x $opt - done - getOneMock scl82fc39a $opt - getOneMock scl82fc40a $opt - for i in 8 9 + for dis in fc39 fc40 fc41 el8 el9 do - getOneMock scl82el${i}x $opt + getOneMock scl82${dis}x $opt + getOneMock scl82${dis}a $opt done - getOneMock scl82el8a $opt - getOneMock scl82el9a $opt elif [ $1 = scl81 ]; then - for i in 39 40 + for dis in fc39 fc40 fc41 el8 el9 do - getOneMock scl81fc${i}x $opt + getOneMock scl81${dis}x $opt + getOneMock scl81${dis}a $opt done - getOneMock scl81fc39a $opt - getOneMock scl81fc40a $opt - for i in 8 9 - do - getOneMock scl81el${i}x $opt - done - getOneMock scl81el8a $opt - getOneMock scl81el9a $opt elif [ $1 = scl80 ]; then - for i in 39 40 + for dis in fc39 fc40 fc41 el8 el9 do - getOneMock scl80fc${i}x $opt + getOneMock scl80${dis}x $opt + getOneMock scl80${dis}a $opt done - getOneMock scl80fc39a $opt - getOneMock scl80fc40a $opt - for i in 8 9 - do - getOneMock scl80el${i}x $opt - done - getOneMock scl80el8a $opt - getOneMock scl80el9a $opt elif [ $1 = scl74 ]; then - for i in 39 40 - do - getOneMock scl74fc${i}x $opt - done - getOneMock scl74fc39a $opt - getOneMock scl74fc40a $opt - for i in 8 9 + for dis in fc39 fc40 fc41 el8 el9 do - getOneMock scl74el${i}x $opt + getOneMock scl74${dis}x $opt + getOneMock scl74${dis}a $opt done - getOneMock scl74el8a $opt - getOneMock scl74el9a $opt elif [ $1 = scl73 ]; then for i in 8 @@ -726,7 +674,7 @@ elif [ $1 = scl72 ]; then elif [ $1 = allphp ]; then LOG=$(mktemp out.XXXXXXXXXX) - MOD="all72 all73 all74 all80 all81 all82 all83" + MOD="all72 all73 all74 all80 all81 all82 all83 all84" SCL="scl56 scl70 scl71 scl72 scl73 scl74 scl80 scl81 scl82 scl83 scl84" for i in $SCL $MOD do $0 $opt $i | tee $LOG |