diff options
author | Remi Collet <remi@remirepo.net> | 2024-07-02 12:04:44 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-07-02 12:04:44 +0200 |
commit | 491be9cbf68b47e4e23c166179d8ed7e7fb87b2c (patch) | |
tree | e1b263c10e2a4e3561f018cf665bd0e13f6ba94a /buildfct | |
parent | efb262ecbde1ab10e6f08c10c450e7ef434b9926 (diff) |
EL-7 is EOL
Diffstat (limited to 'buildfct')
-rw-r--r-- | buildfct | 267 |
1 files changed, 20 insertions, 247 deletions
@@ -239,27 +239,6 @@ alias mockepel874=" mock --configdir=$mocketc -r epel874 r alias mockdevi="setarch i686 mock -r fedora-devel-i386 rebuild " alias mockdevx=" mock -r fedora-devel-x86_64 rebuild " -# Build All distribution / version / 64bits for remi -mockallx() -{ -quiet="" -if [ "$1" = "-q" ]; then - quiet="--quiet" - shift -fi - -if [ -f "$1" ]; then - for i in 7 - do - echo -n "$(date +%X) el$i " - mock $quiet --configdir=$mocketc -r el${i}x rebuild "$@" && echo " Ok." || echo " Error !" - done - date +%X -else - echo "file not found '$1'" -fi -} - # Build All distribution / version / 64bits for remi with RPMFusion mockallxr() { @@ -270,7 +249,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 7 8 + for i in 8 do echo -n "$(date +%X) el$i " mock $quiet --configdir=$mocketc -r el${i}xr rebuild "$@" && echo " Ok." || echo " Error !" @@ -281,48 +260,6 @@ else fi } -# Build All distribution (PHP 5) / version / 64bits for remi -mock5x() -{ -quiet="" -if [ "$1" = "-q" ]; then - quiet="--quiet" - shift -fi - -if [ -f "$1" ]; then - for i in 7 - do - echo -n "$(date +%X) el$i " - mock $quiet --configdir=$mocketc -r el${i}x rebuild "$@" && echo " Ok." || echo " Error !" - done - date +%X -else - echo "file not found '$1'" -fi -} - -# Build enterprise / version / 64bits for remi (php 5.4) -mock54x() -{ -quiet="" -if [ "$1" = "-q" ]; then - quiet="--quiet" - shift -fi - -if [ -f "$1" ]; then - for i in 7 - do - echo -n "$(date +%X) el$i " - mock $quiet --configdir=$mocketc -r el${i}x rebuild "$@" && echo " Ok." || echo " Error !" - done - date +%X -else - echo "file not found '$1'" -fi -} - # Build All distribution / version / noarch for remi using PHP >= 8.0 mock80n() { @@ -341,9 +278,6 @@ if [ -f "$1" ]; then pids="$pids $!" done echo -n "" - (mock $quiet --configdir=$mocketc -r el7x --enablerepo=remi-php80 rebuild "$@" && echo "$(date +%X) (74) el7 Ok." || echo "el7 Error !")& - pids="$pids $!" - echo -n "" (mock $quiet --configdir=$mocketc -r el8x rebuild "$@" && echo "$(date +%X) (74) el8 Ok." || echo "el8 Error !")& pids="$pids $!" echo -n "" @@ -377,9 +311,6 @@ if [ -f "$1" ]; then (mock $quiet --configdir=$mocketc -r fc38x rebuild "$@" && echo "$(date +%X) (82) fc38 Ok." || echo "fc38 Error !")& pids="$pids $!" echo -n "" - (mock $quiet --configdir=$mocketc -r el7x --enablerepo=remi-php81 rebuild "$@" && echo "$(date +%X) (81) el7 Ok." || echo "el7 Error !")& - pids="$pids $!" - echo -n "" (mock $quiet --configdir=$mocketc -r el8n81 rebuild "$@" && echo "$(date +%X) (81) el8 Ok." || echo "el8 Error !")& pids="$pids $!" echo -n "" @@ -413,9 +344,6 @@ if [ -f "$1" ]; then (mock $quiet --configdir=$mocketc -r fc38x rebuild "$@" && echo "$(date +%X) (82) fc38 Ok." || echo "fc38 Error !")& pids="$pids $!" echo -n "" - (mock $quiet --configdir=$mocketc -r el7x --enablerepo=remi-php82 rebuild "$@" && echo "$(date +%X) (81) el7 Ok." || echo "el7 Error !")& - pids="$pids $!" - echo -n "" (mock $quiet --configdir=$mocketc -r el8n82 rebuild "$@" && echo "$(date +%X) (81) el8 Ok." || echo "el8 Error !")& pids="$pids $!" echo -n "" @@ -428,27 +356,6 @@ else fi } -# Build All distribution / version / 64bits for remi/remi-php55 -mock55x() -{ -quiet="" -if [ "$1" = "-q" ]; then - quiet="--quiet" - shift -fi - -if [ -f "$1" ]; then - for i in 7 - do - echo -n "$(date +%X) 55 el$i " - mock $quiet --configdir=$mocketc -r el${i}x55 rebuild "$@" && echo " Ok." || echo " Error !" - done - date +%X -else - echo "file not found '$1'" -fi -} - # Build All EL distributions mockel() { @@ -459,7 +366,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 8 7 + for i in 8 do echo -n "$(date +%X) el${i}x " mock $quiet --configdir=$mocketc -r el${i}x rebuild "$@" && echo " Ok." || echo " Error !" @@ -470,69 +377,6 @@ else fi } -# Build All distribution / version / 64bits for remi/remi-php56 -mock56x() -{ -quiet="" -if [ "$1" = "-q" ]; then - quiet="--quiet" - shift -fi - -if [ -f "$1" ]; then - for i in 7 - do - echo -n "$(date +%X) 56 el$i " - mock $quiet --configdir=$mocketc -r el${i}x56 rebuild "$@" && echo " Ok." || echo " Error !" - done - date +%X -else - echo "file not found '$1'" -fi -} - -# Build All distribution / version / 64bits for remi/remi-php70 -mock70x() -{ -quiet="" -if [ "$1" = "-q" ]; then - quiet="--quiet" - shift -fi - -if [ -f "$1" ]; then - for i in 7 - do - echo -n "$(date +%X) 70 el$i " - mock $quiet --configdir=$mocketc -r el${i}x70 rebuild "$@" && echo " Ok." || echo " Error !" - done - date +%X -else - echo "file not found '$1'" -fi -} - -# Build All distribution / version / 64bits for remi/remi-php71 -mock71x() -{ -quiet="" -if [ "$1" = "-q" ]; then - quiet="--quiet" - shift -fi - -if [ -f "$1" ]; then - for i in 7 - do - echo -n "$(date +%X) 71 el$i " - mock $quiet --configdir=$mocketc -r el${i}x71 rebuild "$@" && echo " Ok." || echo " Error !" - done - date +%X -else - echo "file not found '$1'" -fi -} - # Build All distribution / version / 64bits for remi/remi-php72 mock72x() { @@ -543,7 +387,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 8 7 + for i in 8 do echo -n "$(date +%X) 72 el$i " mock $quiet --configdir=$mocketc -r el${i}x72 rebuild "$@" && echo " Ok." || echo " Error !" @@ -564,7 +408,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 8 7 + for i in 8 do echo -n "$(date +%X) 73 el$i " mock $quiet --configdir=$mocketc -r el${i}x73 rebuild "$@" && echo " Ok." || echo " Error !" @@ -590,7 +434,7 @@ if [ -f "$1" ]; then echo -n "$(date +%X) 74 fc$i " mock $quiet --configdir=$mocketc -r fc${i}x74 rebuild "$@" && echo " Ok." || echo " Error !" done - for i in 9 8 7 + for i in 9 8 do echo -n "$(date +%X) 74 el$i " mock $quiet --configdir=$mocketc -r el${i}x74 rebuild "$@" && echo " Ok." || echo " Error !" @@ -616,7 +460,7 @@ if [ -f "$1" ]; then echo -n "$(date +%X) scl83 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl83 rebuild "$@" && echo " Ok." || echo " Error !" done - for i in 7 8 9 + for i in 8 9 do echo -n "$(date +%X) scl83 el$i " mock $quiet --configdir=$mocketc -r el${i}xscl83 rebuild "$@" && echo " Ok." || echo " Error !" @@ -642,7 +486,7 @@ if [ -f "$1" ]; then echo -n "$(date +%X) scl82 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl82 rebuild "$@" && echo " Ok." || echo " Error !" done - for i in 7 8 9 + for i in 8 9 do echo -n "$(date +%X) scl82 el$i " mock $quiet --configdir=$mocketc -r el${i}xscl82 rebuild "$@" && echo " Ok." || echo " Error !" @@ -668,7 +512,7 @@ if [ -f "$1" ]; then echo -n "$(date +%X) scl81 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl81 rebuild "$@" && echo " Ok." || echo " Error !" done - for i in 7 8 9 + for i in 8 9 do echo -n "$(date +%X) scl81 el$i " mock $quiet --configdir=$mocketc -r el${i}xscl81 rebuild "$@" && echo " Ok." || echo " Error !" @@ -697,8 +541,6 @@ if [ -f "$1" ]; then mock $quiet --configdir=$mocketc -r el9xr60 rebuild "$@" && echo " Ok." || echo " Error !" echo -n "$(date +%X) r60 el8 " mock $quiet --configdir=$mocketc -r el8xr60 rebuild "$@" && echo " Ok." || echo " Error !" - echo -n "$(date +%X) r60 el7 " - mock $quiet --configdir=$mocketc -r el7x rebuild "$@" && echo " Ok." || echo " Error !" date +%X else echo "file not found '$1'" @@ -723,8 +565,6 @@ if [ -f "$1" ]; then mock $quiet --configdir=$mocketc -r el9xr62 rebuild "$@" && echo " Ok." || echo " Error !" echo -n "$(date +%X) r62 el8 " mock $quiet --configdir=$mocketc -r el8xr62 rebuild "$@" && echo " Ok." || echo " Error !" - echo -n "$(date +%X) r62 el7 " - mock $quiet --configdir=$mocketc -r el7x rebuild "$@" && echo " Ok." || echo " Error !" date +%X else echo "file not found '$1'" @@ -749,8 +589,6 @@ if [ -f "$1" ]; then mock $quiet --configdir=$mocketc -r el9xr72 rebuild "$@" && echo " Ok." || echo " Error !" echo -n "$(date +%X) r72 el8 " mock $quiet --configdir=$mocketc -r el8xr72 rebuild "$@" && echo " Ok." || echo " Error !" - echo -n "$(date +%X) r72 el7 " - mock $quiet --configdir=$mocketc -r el7x rebuild "$@" && echo " Ok." || echo " Error !" date +%X else echo "file not found '$1'" @@ -775,8 +613,6 @@ if [ -f "$1" ]; then mock $quiet --configdir=$mocketc -r el9xr70 rebuild "$@" && echo " Ok." || echo " Error !" echo -n "$(date +%X) r70 el8 " mock $quiet --configdir=$mocketc -r el8xr70 rebuild "$@" && echo " Ok." || echo " Error !" - echo -n "$(date +%X) r70 el7 " - mock $quiet --configdir=$mocketc -r el7x rebuild "$@" && echo " Ok." || echo " Error !" date +%X else echo "file not found '$1'" @@ -798,7 +634,7 @@ if [ -f "$1" ]; then echo -n "$(date +%X) 83 fc$i " mock $quiet --configdir=$mocketc -r fc${i}x83 rebuild "$@" && echo " Ok." || echo " Error !" done - for i in 8 9 7 + for i in 8 9 do echo -n "$(date +%X) 83 el$i " mock $quiet --configdir=$mocketc -r el${i}x83 rebuild "$@"&& echo " Ok." || echo " Error !" @@ -819,7 +655,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 8 9 7 + for i in 8 9 do echo -n "$(date +%X) 83 el$i " mock $quiet --configdir=$mocketc -r el${i}x83 rebuild "$@"&& echo " Ok." || echo " Error !" @@ -866,7 +702,7 @@ if [ -f "$1" ]; then echo -n "$(date +%X) 82 fc$i " mock $quiet --configdir=$mocketc -r fc${i}x82 rebuild "$@" && echo " Ok." || echo " Error !" done - for i in 8 9 7 + for i in 8 9 do echo -n "$(date +%X) 82 el$i " mock $quiet --configdir=$mocketc -r el${i}x82 rebuild "$@"&& echo " Ok." || echo " Error !" @@ -892,7 +728,7 @@ if [ -f "$1" ]; then echo -n "$(date +%X) 81 fc$i " mock $quiet --configdir=$mocketc -r fc${i}x81 rebuild "$@" && echo " Ok." || echo " Error !" done - for i in 8 9 7 + for i in 8 9 do echo -n "$(date +%X) 81 el$i " mock $quiet --configdir=$mocketc -r el${i}x81 rebuild "$@"&& echo " Ok." || echo " Error !" @@ -918,7 +754,7 @@ if [ -f "$1" ]; then echo -n "$(date +%X) 80 fc$i " mock $quiet --configdir=$mocketc -r fc${i}x80 rebuild "$@" && echo " Ok." || echo " Error !" done - for i in 9 8 7 + for i in 9 8 do echo -n "$(date +%X) 80 el$i " mock $quiet --configdir=$mocketc -r el${i}x80 rebuild "$@"&& echo " Ok." || echo " Error !" @@ -944,7 +780,7 @@ if [ -f "$1" ]; then echo -n "$(date +%X) scl80 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl80 rebuild "$@" && echo " Ok." || echo " Error !" done - for i in 9 7 8 + for i in 9 8 do echo -n "$(date +%X) scl80 el$i " mock $quiet --configdir=$mocketc -r el${i}xscl80 rebuild "$@" && echo " Ok." || echo " Error !" @@ -970,7 +806,7 @@ if [ -f "$1" ]; then echo -n "$(date +%X) scl74 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl74 rebuild "$@" && echo " Ok." || echo " Error !" done - for i in 7 9 8 + for i in 9 8 do echo -n "$(date +%X) scl74 el$i " mock $quiet --configdir=$mocketc -r el${i}xscl74 rebuild "$@" && echo " Ok." || echo " Error !" @@ -991,7 +827,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 7 8 + for i in 8 do echo -n "$(date +%X) scl73 el$i " mock $quiet --configdir=$mocketc -r el${i}xscl73 rebuild "$@" && echo " Ok." || echo " Error !" @@ -1012,7 +848,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 8 7 + for i in 8 do echo -n "$(date +%X) scl72 el$i " mock $quiet --configdir=$mocketc -r el${i}xscl72 rebuild "$@" && echo " Ok." || echo " Error !" @@ -1033,7 +869,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 8 7 + for i in 8 do echo -n "$(date +%X) scl71 el$i " mock $quiet --configdir=$mocketc -r el${i}xscl71 rebuild "$@" && echo " Ok." || echo " Error !" @@ -1054,7 +890,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 8 7 + for i in 8 do echo -n "$(date +%X) scl70 el$i " mock $quiet --configdir=$mocketc -r el${i}xscl70 rebuild "$@" && echo " Ok." || echo " Error !" @@ -1075,7 +911,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 8 7 + for i in 8 do echo -n "$(date +%X) scl56 el$i " mock $quiet --configdir=$mocketc -r el${i}xscl56 rebuild "$@" && echo " Ok." || echo " Error !" @@ -1086,67 +922,4 @@ else fi } -# Build All distribution / version / 64bits for remi/scl-php55 -mockscl55x() -{ -quiet="" -if [ "$1" = "-q" ]; then - quiet="--quiet" - shift -fi - -if [ -f "$1" ]; then - for i in 7 - do - echo -n "$(date +%X) scl55 el$i " - mock $quiet --configdir=$mocketc -r el${i}xscl55 rebuild "$@" && echo " Ok." || echo " Error !" - done - date +%X -else - echo "file not found '$1'" -fi -} - -# Build All distribution / version / 64bits for remi/scl-php54 -mockscl54x() -{ -quiet="" -if [ "$1" = "-q" ]; then - quiet="--quiet" - shift -fi - -if [ -f "$1" ]; then - for i in 7 - do - echo -n "$(date +%X) scl54 el$i " - mock $quiet --configdir=$mocketc -r el${i}xscl54 rebuild "$@" && echo " Ok." || echo " Error !" - done - date +%X -else - echo "file not found '$1'" -fi -} - -# Build All distribution / version / 64bits for remi-test -mockallxt() -{ -quiet="" -if [ "$1" = "-q" ]; then - quiet="--quiet" - shift -fi - -if [ -f "$1" ]; then - for i in 7 - do - echo -n "$(date +%X) test-el$i " - mock $quiet --configdir=$mocketc -r el${i}xt rebuild "$@" && echo " Ok." || echo " Error !" - done - date +%X -else - echo "file not found '$1'" -fi -} - |