summaryrefslogtreecommitdiffstats
path: root/buildfct
diff options
context:
space:
mode:
Diffstat (limited to 'buildfct')
-rw-r--r--buildfct90
1 files changed, 90 insertions, 0 deletions
diff --git a/buildfct b/buildfct
index 080d6bf..58fd6c8 100644
--- a/buildfct
+++ b/buildfct
@@ -152,6 +152,49 @@ else
fi
}
+# Build All distribution (PHP 7) / version / 32bits for remi
+mock7i()
+{
+quiet=""
+if [ "$1" = "-q" ]; then
+ quiet="--quiet"
+ shift
+fi
+
+if [ -f "$1" ]; then
+ for i in 25 26 27
+ do
+ echo -n "$(date +%X) fc$i "
+ setarch i686 mock $quiet --configdir=$mocketc -r fc${i}i --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
+ done
+else
+ echo "file not found p$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
+ for i in 24
+ do
+ echo -n "$(date +%X) fc$i "
+ setarch i686 mock $quiet --configdir=$mocketc -r fc${i}i --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
+ done
+ 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 p$1'"
+fi
+}
+
# Build All enterprise / version / 32bits for remi (php 5.4)
mock54i()
{
@@ -321,6 +364,53 @@ else
fi
}
+# Build All distribution (PHP 7) / version / 64bits for remi
+mock7x()
+{
+quiet=""
+if [ "$1" = "-q" ]; then
+ quiet="--quiet"
+ shift
+fi
+
+if [ -f "$1" ]; then
+ for i in 25 26 27
+ do
+ echo -n "$(date +%X) fc$i "
+ mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !"
+ done
+ date +%X
+else
+ echo "file not found '$1'"
+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 24
+ do
+ echo -n "$(date +%X) fc$i "
+ mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !"
+ done
+ for i in 7 6
+ do
+ echo -n "$(date +%X) el$i "
+ mock $quiet --configdir=$mocketc -r el${i}x rebuild $1 && echo " Ok." || echo " Error !"
+ done
+ date +%X
+else
+ echo "file not found '$1'"
+fi
+}
+
# Build enterprise / version / 64bits for remi (php 5.4)
mock54x()
{