summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-11-30 11:59:41 +0100
committerRemi Collet <remi@remirepo.net>2020-11-30 11:59:41 +0100
commit6b75727d76febbafb8c9ec996e14fb9a91616d9b (patch)
treee6b3a0b750a35023feef6ceff4b303d0bcea0bfb
parent6f3c630188dae76fd2237bb1d05ab2f49d502765 (diff)
EL-6 repo is closed
-rw-r--r--buildfct228
-rwxr-xr-xcleanoldmeta2
-rwxr-xr-xgetmock54
3 files changed, 13 insertions, 271 deletions
diff --git a/buildfct b/buildfct
index 8728fb5..aecace9 100644
--- a/buildfct
+++ b/buildfct
@@ -124,230 +124,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 / 32bits for remi
-mockalli()
-{
-quiet=""
-if [ "$1" = "-q" ]; then
- quiet="--quiet"
- shift
-fi
-
-if [ -f "$1" ]; then
- echo -n "$(date +%X) el6 "
- setarch i686 mock $quiet --configdir=$mocketc -r el6i --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
-# Build All distribution / version / 32bits for remi with RPMFusion
-mockallir()
-{
-quiet=""
-if [ "$1" = "-q" ]; then
- quiet="--quiet"
- shift
-fi
-
-if [ -f "$1" ]; then
- echo "Nothing."
-else
- echo "file not found '$1'"
-fi
-}
-
-# Build All distribution (PHP 7) / version / 32bits for remi
-mock7i()
-{
-quiet=""
-if [ "$1" = "-q" ]; then
- quiet="--quiet"
- shift
-fi
-
-if [ -f "$1" ]; then
- echo "Nothing."
-else
- echo "file not found '$1'"
-fi
-}
-
-# Build All distribution (PHP 5) / version / 32bits for remi
-mock5i()
-{
-quiet=""
-if [ "$1" = "-q" ]; then
- quiet="--quiet"
- shift
-fi
-
-if [ -f "$1" ]; then
- echo -n "$(date +%X) el6 "
- setarch i686 mock $quiet --configdir=$mocketc -r el6i --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
-# Build All enterprise / version / 32bits for remi (php 5.4)
-mock54i()
-{
-quiet=""
-if [ "$1" = "-q" ]; then
- quiet="--quiet"
- shift
-fi
-
-if [ -f "$1" ]; then
- echo -n "$(date +%X) el6 "
- setarch i686 mock $quiet --configdir=$mocketc -r el6i --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
-# Build All distribution / version / 32bits for remi/remi-php55
-mock55i()
-{
-quiet=""
-if [ "$1" = "-q" ]; then
- quiet="--quiet"
- shift
-fi
-
-if [ -f "$1" ]; then
- echo -n "$(date +%X) 55 el6 "
- setarch i686 mock $quiet --configdir=$mocketc -r el6i55 --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
-# Build All distribution / version / 32bits for remi/remi-php56
-mock56i()
-{
-quiet=""
-if [ "$1" = "-q" ]; then
- quiet="--quiet"
- shift
-fi
-
-if [ -f "$1" ]; then
- echo -n "$(date +%X) 56 el6 "
- setarch i686 mock $quiet --configdir=$mocketc -r el6i56 --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
-# Build All distribution / version / 32bits for remi/remi-php70
-mock70i()
-{
-quiet=""
-if [ "$1" = "-q" ]; then
- quiet="--quiet"
- shift
-fi
-
-if [ -f "$1" ]; then
- echo -n "$(date +%X) 70 el6 "
- setarch i686 mock $quiet --configdir=$mocketc -r el6i70 --arch i686 rebuild "$@" && echo " Ok." || echo " Error !"
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
-# Build All distribution / version / 32bits for remi/remi-php71
-mock71i()
-{
-quiet=""
-if [ "$1" = "-q" ]; then
- quiet="--quiet"
- shift
-fi
-
-if [ -f "$1" ]; then
- echo -n "$(date +%X) 71 el6 "
- setarch i686 mock $quiet --configdir=$mocketc -r el6i71 --arch i686 rebuild "$@" && echo " Ok." || echo " Error !"
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
-# Build All distribution / version / 32bits for remi/remi-php72
-mock72i()
-{
-quiet=""
-if [ "$1" = "-q" ]; then
- quiet="--quiet"
- shift
-fi
-
-if [ -f "$1" ]; then
- echo -n "$(date +%X) 72 el6 "
- setarch i686 mock $quiet --configdir=$mocketc -r el6i72 --arch i686 rebuild "$@" && echo " Ok." || echo " Error !"
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
-# Build All distribution / version / 32bits for remi/remi-php73
-mock73i()
-{
-quiet=""
-if [ "$1" = "-q" ]; then
- quiet="--quiet"
- shift
-fi
-
-if [ -f "$1" ]; then
- echo -n "$(date +%X) 73 el6 "
- setarch i686 mock $quiet --configdir=$mocketc -r el6i73 --arch i686 rebuild "$@" && echo " Ok." || echo " Error !"
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
-# Build All distribution / version / 32bits for remi/remi-php74
-mock74i()
-{
-echo "Nothing."
-}
-
-# Build All distribution / version / 32bits for remi/remi-php80
-mock80i()
-{
-echo "Nothing."
-}
-
-# Build all distribution / version / 32bits for remi-test
-mockallit()
-{
-quiet=""
-if [ "$1" = "-q" ]; then
- quiet="--quiet"
- shift
-fi
-
-if [ -f "$1" ]; then
- echo -n "$(date +%X) test-el6 "
- setarch i686 mock $quiet --configdir=$mocketc -r el6it --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
# Build All distribution / version / 64bits for remi
mockallx()
{
@@ -593,13 +369,11 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 8 7 6
+ for i in 8 7
do
echo -n "$(date +%X) el${i}x "
mock $quiet --configdir=$mocketc -r el${i}x rebuild $1 && echo " Ok." || echo " Error !"
done
- echo -n "$(date +%X) el6i "
- setarch i686 mock $quiet --configdir=$mocketc -r el6i --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
date +%X
else
echo "file not found '$1'"
diff --git a/cleanoldmeta b/cleanoldmeta
index 18e32df..6655c95 100755
--- a/cleanoldmeta
+++ b/cleanoldmeta
@@ -32,7 +32,7 @@ function clean ($path) {
}
if ($t < $lim && unlink("$path/$f")) {
$x = array_shift($tab[$n]);
- echo " clean $x\n";
+ echo "\t$x\n";
} else {
break; // Honours time limit
}
diff --git a/getmock b/getmock
index a4f7606..8f71008 100755
--- a/getmock
+++ b/getmock
@@ -292,62 +292,35 @@ if [ $1 = devs -o $1 = dev ]; then
shift
fi
-if [ $1 = all ]; then
- for i in 6
- do
- getOneMock el${i}i $opt
- done
-elif [ $1 = all55 ]; then
- for n in 6
- do
- getOneMock el${n}i php55 '*5.5*'
- getOneMock el${n}x php55 '*5.5*'
- done
+if [ $1 = all55 ]; then
n=7
getOneMock el${n}x php55 '*5.5*'
elif [ $1 = all56 ]; then
- for n in 6
- do
- getOneMock el${n}i php56 '*5.6*'
- getOneMock el${n}x php56 '*5.6*'
- done
n=7
getOneMock el${n}x php56 '*5.6*'
elif [ $1 = all70 ]; then
[ $opt = remi ] && opt=php70
[ $opt = test ] && opt=test70
- n=6
- getOneMock el${n}i $opt '*7.0*'
- getOneMock el${n}x $opt '*7.0*'
n=7
getOneMock el${n}x $opt '*7.0*'
elif [ $1 = all71 ]; then
[ $opt = remi ] && opt=php71
[ $opt = test ] && opt=test71
- n=6
- getOneMock el${n}i $opt '*7.1*'
- getOneMock el${n}x $opt '*7.1*'
n=7
getOneMock el${n}x $opt '*7.1*'
elif [ $1 = all72 ]; then
[ $opt = remi ] && opt=php72
[ $opt = test ] && opt=test72
- n=6
- getOneMock el${n}i $opt '*7.2*'
- getOneMock el${n}x $opt '*7.2*'
getOneMock el7x $opt '*7.2*'
getOneMock el8x72 $opt '*7.2*'
elif [ $1 = all73 ]; then
[ $opt = remi ] && opt=php73
[ $opt = test ] && opt=test73
- n=6
- getOneMock el${n}i $opt '*7.3*'
- getOneMock el${n}x $opt '*7.3*'
getOneMock el7x $opt '*7.3*'
getOneMock el8x73 $opt '*7.3*'
@@ -368,22 +341,17 @@ elif [ $1 = all80 ]; then
getOneMock el8x80 $opt '*8.0*'
elif [ $1 = all54 ]; then
- for n in 6
- do
- getOneMock el${n}i remi '*5.4*'
- getOneMock el${n}x remi '*5.4*'
- done
n=7
getOneMock el${n}x remi '*5.4*'
elif [ $1 = for56 ]; then
- for i in 6 7
+ for i in 7
do
getOneMock el${i}x test
done
elif [ $1 = for55 ]; then
- for i in 6 7
+ for i in 7
do
getOneMock el${i}x test
done
@@ -393,19 +361,19 @@ elif [ $1 = allx ]; then
do
getOneMock fc${i}x $opt
done
- for i in 6 7 8
+ for i in 7 8
do
getOneMock el${i}x $opt
done
elif [ $1 = scl54 ]; then
- for i in 6 7
+ for i in 7
do
getOneMock scl54el${i}x $opt
done
elif [ $1 = scl55 ]; then
- for i in 6 7
+ for i in 7
do
getOneMock scl55el${i}x $opt
done
@@ -415,7 +383,7 @@ elif [ $1 = scl56 ]; then
do
getOneMock scl56fc${i}x $opt
done
- for i in 6 7 8
+ for i in 7 8
do
getOneMock scl56el${i}x $opt
done
@@ -425,7 +393,7 @@ elif [ $1 = scl70 ]; then
do
getOneMock scl70fc${i}x $opt
done
- for i in 6 7 8
+ for i in 7 8
do
getOneMock scl70el${i}x $opt
done
@@ -435,7 +403,7 @@ elif [ $1 = scl71 ]; then
do
getOneMock scl71fc${i}x $opt
done
- for i in 6 7 8
+ for i in 7 8
do
getOneMock scl71el${i}x $opt
done
@@ -465,7 +433,7 @@ elif [ $1 = scl73 ]; then
do
getOneMock scl73fc${i}x $opt
done
- for i in 6 7 8
+ for i in 7 8
do
getOneMock scl73el${i}x $opt
done
@@ -475,7 +443,7 @@ elif [ $1 = scl72 ]; then
do
getOneMock scl72fc${i}x $opt
done
- for i in 6 7 8
+ for i in 7 8
do
getOneMock scl72el${i}x $opt
done