summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--buildfct102
-rwxr-xr-xgetmock18
-rwxr-xr-xmkmodular18
3 files changed, 97 insertions, 41 deletions
diff --git a/buildfct b/buildfct
index d628a9d..1489997 100644
--- a/buildfct
+++ b/buildfct
@@ -49,6 +49,7 @@ alias mockfc33x=" mock --configdir=$mocketc -r fc33x
alias mockfc33xd=" mock --configdir=$mocketc -r fc33xd rebuild "
alias mockfc33xr=" mock --configdir=$mocketc -r fc33xr rebuild "
alias mockfc33x80=" mock --configdir=$mocketc -r fc33x80 rebuild "
+alias mockfc33x81=" mock --configdir=$mocketc -r fc33x81 rebuild "
alias mockfc33xscl56=" mock --configdir=$mocketc -r fc33xscl56 rebuild "
alias mockfc33xscl70=" mock --configdir=$mocketc -r fc33xscl70 rebuild "
alias mockfc33xscl71=" mock --configdir=$mocketc -r fc33xscl71 rebuild "
@@ -63,6 +64,7 @@ alias mockfc34x=" mock --configdir=$mocketc -r fc34x
alias mockfc34xd=" mock --configdir=$mocketc -r fc34xd rebuild "
alias mockfc34xr=" mock --configdir=$mocketc -r fc34xr rebuild "
alias mockfc34x80=" mock --configdir=$mocketc -r fc34x80 rebuild "
+alias mockfc34x81=" mock --configdir=$mocketc -r fc34x81 rebuild "
alias mockfc34xscl56=" mock --configdir=$mocketc -r fc34xscl56 rebuild "
alias mockfc34xscl70=" mock --configdir=$mocketc -r fc34xscl70 rebuild "
alias mockfc34xscl71=" mock --configdir=$mocketc -r fc34xscl71 rebuild "
@@ -109,6 +111,7 @@ alias mockel7x72=" mock --configdir=$mocketc -r el7x72 r
alias mockel7x73=" mock --configdir=$mocketc -r el7x73 rebuild "
alias mockel7x74=" mock --configdir=$mocketc -r el7x74 rebuild "
alias mockel7x80=" mock --configdir=$mocketc -r el7x80 rebuild "
+alias mockel7x81=" mock --configdir=$mocketc -r el7x81 rebuild "
alias mockel7xscl54=" mock --configdir=$mocketc -r el7xscl54 rebuild "
alias mockel7xscl55=" mock --configdir=$mocketc -r el7xscl55 rebuild "
alias mockel7xscl56=" mock --configdir=$mocketc -r el7xscl56 rebuild "
@@ -127,6 +130,7 @@ alias mockel8x72=" mock --configdir=$mocketc -r el8x72 r
alias mockel8x73=" mock --configdir=$mocketc -r el8x73 rebuild "
alias mockel8x74=" mock --configdir=$mocketc -r el8x74 rebuild "
alias mockel8x80=" mock --configdir=$mocketc -r el8x80 rebuild "
+alias mockel8x81=" mock --configdir=$mocketc -r el8x81 rebuild "
alias mockel8xscl56=" mock --configdir=$mocketc -r el8xscl56 rebuild "
alias mockel8xscl70=" mock --configdir=$mocketc -r el8xscl70 rebuild "
alias mockel8xscl71=" mock --configdir=$mocketc -r el8xscl71 rebuild "
@@ -156,12 +160,12 @@ if [ -f "$1" ]; then
for i in 33 34 32
do
echo -n "$(date +%X) fc$i "
- mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r fc${i}x rebuild "$@" && echo " Ok." || echo " Error !"
done
for i in 7
do
echo -n "$(date +%X) el$i "
- mock $quiet --configdir=$mocketc -r el${i}x rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r el${i}x rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
@@ -208,7 +212,7 @@ if [ -f "$1" ]; then
for i in 33 32 34
do
echo -n "$(date +%X) fc$i "
- mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r fc${i}x rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
@@ -229,7 +233,7 @@ if [ -f "$1" ]; then
for i in 7
do
echo -n "$(date +%X) el$i "
- mock $quiet --configdir=$mocketc -r el${i}x rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r el${i}x rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
@@ -250,7 +254,7 @@ if [ -f "$1" ]; then
for i in 7
do
echo -n "$(date +%X) el$i "
- mock $quiet --configdir=$mocketc -r el${i}x rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r el${i}x rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
@@ -258,8 +262,8 @@ else
fi
}
-# Build All distribution / version / noarch for remi using PHP >= 7.2
-mock72n()
+# Build All distribution / version / noarch for remi using PHP >= 7.3
+mock73n()
{
quiet="--quiet"
if [ "$1" = "-q" ]; then
@@ -272,17 +276,17 @@ if [ -f "$1" ]; then
for i in 32 33 34
do
echo -n ""
- (mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (7x) fc$i Ok." || echo "fc$1 Error !")&
+ (mock $quiet --configdir=$mocketc -r fc${i}x rebuild "$@" && echo "$(date +%X) (7x) fc$i Ok." || echo "fc$1 Error !")&
pids="$pids $!"
done
for i in 7
do
echo -n ""
- (mock $quiet --configdir=$mocketc -r el${i}x72 rebuild $1 && echo "$(date +%X) (72) el$i Ok." || echo "el$i Error !")&
+ (mock $quiet --configdir=$mocketc -r el${i}x73 rebuild "$@" && echo "$(date +%X) (73) el$i Ok." || echo "el$i Error !")&
pids="$pids $!"
done
echo -n ""
- (mock $quiet --configdir=$mocketc -r el8x rebuild $1 && echo "$(date +%X) (73) el8 Ok." || echo "el8 Error !")&
+ (mock $quiet --configdir=$mocketc -r el8x rebuild "$@" && echo "$(date +%X) (73) el8 Ok." || echo "el8 Error !")&
pids="$pids $!"
wait $pids
date +%X
@@ -291,8 +295,8 @@ else
fi
}
-# Build All distribution / version / noarch for remi using PHP >= 7.3
-mock73n()
+# Build All distribution / version / noarch for remi using PHP >= 7.4
+mock74n()
{
quiet="--quiet"
if [ "$1" = "-q" ]; then
@@ -305,17 +309,17 @@ if [ -f "$1" ]; then
for i in 32 33 34
do
echo -n ""
- (mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (7x) fc$i Ok." || echo "fc$1 Error !")&
+ (mock $quiet --configdir=$mocketc -r fc${i}x rebuild "$@" && echo "$(date +%X) (7x) fc$i Ok." || echo "fc$1 Error !")&
pids="$pids $!"
done
for i in 7
do
echo -n ""
- (mock $quiet --configdir=$mocketc -r el${i}x73 rebuild $1 && echo "$(date +%X) (73) el$i Ok." || echo "el$i Error !")&
+ (mock $quiet --configdir=$mocketc -r el${i}x74 rebuild "$@" && echo "$(date +%X) (73) el$i Ok." || echo "el$i Error !")&
pids="$pids $!"
done
echo -n ""
- (mock $quiet --configdir=$mocketc -r el8x rebuild $1 && echo "$(date +%X) (73) el8 Ok." || echo "el8 Error !")&
+ (mock $quiet --configdir=$mocketc -r el8x rebuild "$@" && echo "$(date +%X) (73) el8 Ok." || echo "el8 Error !")&
pids="$pids $!"
wait $pids
date +%X
@@ -337,7 +341,7 @@ 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 $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r el${i}x55 rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
@@ -358,7 +362,7 @@ if [ -f "$1" ]; then
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 !"
+ mock $quiet --configdir=$mocketc -r el${i}x rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
@@ -379,7 +383,7 @@ 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 $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r el${i}x56 rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
@@ -518,7 +522,33 @@ else
fi
}
-# Build All distribution / version / 64bits for remi/remi-php74
+# Build All distribution / version / 64bits for remi/remi-php81
+mock81x()
+{
+quiet=""
+if [ "$1" = "-q" ]; then
+ quiet="--quiet"
+ shift
+fi
+
+if [ -f "$1" ]; then
+ for i in 33 34
+ do
+ 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 7
+ do
+ echo -n "$(date +%X) 81 el$i "
+ mock $quiet --configdir=$mocketc -r el${i}x81 rebuild "$@"&& echo " Ok." || echo " Error !"
+ done
+ date +%X
+else
+ echo "file not found '$1'"
+fi
+}
+
+# Build All distribution / version / 64bits for remi/remi-php80
mock80x()
{
quiet=""
@@ -557,12 +587,12 @@ if [ -f "$1" ]; then
for i in 33 34 32
do
echo -n "$(date +%X) scl80 fc$i "
- mock $quiet --configdir=$mocketc -r fc${i}xscl80 rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r fc${i}xscl80 rebuild "$@" && echo " Ok." || echo " Error !"
done
for i in 7 8
do
echo -n "$(date +%X) scl80 el$i "
- mock $quiet --configdir=$mocketc -r el${i}xscl80 rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r el${i}xscl80 rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
@@ -583,12 +613,12 @@ if [ -f "$1" ]; then
for i in 33 32 34
do
echo -n "$(date +%X) scl74 fc$i "
- mock $quiet --configdir=$mocketc -r fc${i}xscl74 rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r fc${i}xscl74 rebuild "$@" && echo " Ok." || echo " Error !"
done
for i in 7 8
do
echo -n "$(date +%X) scl74 el$i "
- mock $quiet --configdir=$mocketc -r el${i}xscl74 rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r el${i}xscl74 rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
@@ -609,12 +639,12 @@ if [ -f "$1" ]; then
for i in 33 34 32
do
echo -n "$(date +%X) scl73 fc$i "
- mock $quiet --configdir=$mocketc -r fc${i}xscl73 rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r fc${i}xscl73 rebuild "$@" && echo " Ok." || echo " Error !"
done
for i in 7 8
do
echo -n "$(date +%X) scl73 el$i "
- mock $quiet --configdir=$mocketc -r el${i}xscl73 rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r el${i}xscl73 rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
@@ -635,12 +665,12 @@ if [ -f "$1" ]; then
for i in 33 32 34
do
echo -n "$(date +%X) scl72 fc$i "
- mock $quiet --configdir=$mocketc -r fc${i}xscl72 rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r fc${i}xscl72 rebuild "$@" && echo " Ok." || echo " Error !"
done
for i in 8 7
do
echo -n "$(date +%X) scl72 el$i "
- mock $quiet --configdir=$mocketc -r el${i}xscl72 rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r el${i}xscl72 rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
@@ -661,12 +691,12 @@ if [ -f "$1" ]; then
for i in 33 32 34
do
echo -n "$(date +%X) scl71 fc$i "
- mock $quiet --configdir=$mocketc -r fc${i}xscl71 rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r fc${i}xscl71 rebuild "$@" && echo " Ok." || echo " Error !"
done
for i in 8 7
do
echo -n "$(date +%X) scl71 el$i "
- mock $quiet --configdir=$mocketc -r el${i}xscl71 rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r el${i}xscl71 rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
@@ -687,12 +717,12 @@ if [ -f "$1" ]; then
for i in 33 34 32
do
echo -n "$(date +%X) scl70 fc$i "
- mock $quiet --configdir=$mocketc -r fc${i}xscl70 rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r fc${i}xscl70 rebuild "$@" && echo " Ok." || echo " Error !"
done
for i in 8 7
do
echo -n "$(date +%X) scl70 el$i "
- mock $quiet --configdir=$mocketc -r el${i}xscl70 rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r el${i}xscl70 rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
@@ -713,12 +743,12 @@ if [ -f "$1" ]; then
for i in 33 32 34
do
echo -n "$(date +%X) scl56 fc$i "
- mock $quiet --configdir=$mocketc -r fc${i}xscl56 rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r fc${i}xscl56 rebuild "$@" && echo " Ok." || echo " Error !"
done
for i in 8 7
do
echo -n "$(date +%X) scl56 el$i "
- mock $quiet --configdir=$mocketc -r el${i}xscl56 rebuild $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r el${i}xscl56 rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
@@ -739,7 +769,7 @@ 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 $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r el${i}xscl55 rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
@@ -760,7 +790,7 @@ 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 $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r el${i}xscl54 rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
@@ -781,7 +811,7 @@ 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 $1 && echo " Ok." || echo " Error !"
+ mock $quiet --configdir=$mocketc -r el${i}xt rebuild "$@" && echo " Ok." || echo " Error !"
done
date +%X
else
diff --git a/getmock b/getmock
index 9ab7468..fb596c8 100755
--- a/getmock
+++ b/getmock
@@ -85,6 +85,16 @@ el8x80)
fi
type=enterprise
;;
+el8x81)
+ dep=8
+ if [ "$2" == "php81" -o "$2" == "test81" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php81
+ else rep=${2}81
+ fi
+ type=enterprise
+ ;;
el*) dep=${dep#el}
type=enterprise
;;
@@ -317,6 +327,14 @@ elif [ $1 = all80 ]; then
getOneMock el7x $opt '*8.0*'
getOneMock el8x80 $opt '*8.0*'
+elif [ $1 = all81 ]; then
+ [ $opt = remi ] && opt=php81
+ [ $opt = test ] && opt=test81
+ getOneMock fc33x $opt '*8.1*'
+ getOneMock fc34x $opt '*8.1*'
+ getOneMock el7x $opt '*8.1*'
+ getOneMock el8x81 $opt '*8.1*'
+
elif [ $1 = all54 ]; then
n=7
getOneMock el${n}x remi '*5.4*'
diff --git a/mkmodular b/mkmodular
index 51fd59a..3cf25cc 100755
--- a/mkmodular
+++ b/mkmodular
@@ -417,7 +417,8 @@ if (count($_SERVER['argv']) < 2 || in_array('f33', $_SERVER['argv'])) {
$deps = ['platform' => 'f33'];
$mod = genModule('fedora/33/remi/x86_64', $dest, ['unit-php*rpm', 'php-*7.4*.rpm'], '7.4', 'x86_64', $deps, $template_php);
$mod .= genModule('fedora/33/php80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php);
- $mod .= genDefaults('php', false, ['remi-7.4', 'remi-8.0']);
+ $mod .= genModule('fedora/33/php81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
+ $mod .= genDefaults('php', false, ['remi-7.4', 'remi-8.0', 'remi-8.1']);
createRepo($dest, $mod);
}
if (in_array('f33', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) {
@@ -427,6 +428,7 @@ if (in_array('f33', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) {
$deps = ['platform' => 'f33'];
$mod = genModule('fedora/33/test/x86_64', $dest, ['unit-php*rpm', 'php-*7.4*.rpm'], '7.4', 'x86_64', $deps, $template_php);
$mod .= genModule('fedora/33/test80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php);
+ $mod .= genModule('fedora/33/test81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
createRepo($dest, $mod);
}
@@ -437,7 +439,8 @@ if (count($_SERVER['argv']) < 2 || in_array('f34', $_SERVER['argv'])) {
$deps = ['platform' => 'f34'];
$mod = genModule('fedora/34/remi/x86_64', $dest, ['unit-php*rpm', 'php-*7.4*.rpm'], '7.4', 'x86_64', $deps, $template_php);
$mod .= genModule('fedora/34/php80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php);
- $mod .= genDefaults('php', false, ['remi-7.4', 'remi-8.0']);
+ $mod .= genModule('fedora/34/php81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
+ $mod .= genDefaults('php', false, ['remi-7.4', 'remi-8.0', 'remi-8.1']);
createRepo($dest, $mod);
}
if (in_array('f34', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) {
@@ -447,6 +450,7 @@ if (in_array('f34', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) {
$deps = ['platform' => 'f34'];
$mod = genModule('fedora/34/test/x86_64', $dest, ['unit-php*rpm', 'php-*7.4*.rpm'], '7.4', 'x86_64', $deps, $template_php);
$mod .= genModule('fedora/34/test80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php);
+ $mod .= genModule('fedora/34/test81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
createRepo($dest, $mod);
}
@@ -459,6 +463,7 @@ if (in_array('el8', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) {
$mod .= genModule('enterprise/8/test73/x86_64', $dest, '*.rpm', '7.3', 'x86_64', $deps, $template_php);
$mod .= genModule('enterprise/8/test74/x86_64', $dest, '*.rpm', '7.4', 'x86_64', $deps, $template_php);
$mod .= genModule('enterprise/8/test80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php);
+ $mod .= genModule('enterprise/8/test81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
createRepo($dest, $mod);
}
if (count($_SERVER['argv']) < 2 || in_array('el8', $_SERVER['argv'])) {
@@ -470,7 +475,8 @@ if (count($_SERVER['argv']) < 2 || in_array('el8', $_SERVER['argv'])) {
$mod .= genModule('enterprise/8/php73/x86_64', $dest, '*.rpm', '7.3', 'x86_64', $deps, $template_php);
$mod .= genModule('enterprise/8/php74/x86_64', $dest, '*.rpm', '7.4', 'x86_64', $deps, $template_php);
$mod .= genModule('enterprise/8/php80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php);
- $mod .= genDefaults('php', '7.2', ['remi-7.2', 'remi-7.3', 'remi-7.4', 'remi-8.0']);
+ $mod .= genModule('enterprise/8/php81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
+ $mod .= genDefaults('php', '7.2', ['remi-7.2', 'remi-7.3', 'remi-7.4', 'remi-8.0', 'remi-8.1']);
$deps = ['platform' => 'el8'];
$mod .= genModule('enterprise/8/redis50/x86_64', $dest, 'redis*.rpm', '5.0', 'x86_64', $deps, $template_redis);
$mod .= genModule('enterprise/8/redis60/x86_64', $dest, 'redis*.rpm', '6.0', 'x86_64', $deps, $template_redis);
@@ -511,6 +517,7 @@ if (in_array('el7', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) {
$mod .= genModule('enterprise/7/test73/x86_64', $dest, '*.rpm', '7.3', 'x86_64', $deps, $template_php);
$mod .= genModule('enterprise/7/test74/x86_64', $dest, '*.rpm', '7.4', 'x86_64', $deps, $template_php);
$mod .= genModule('enterprise/7/test80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php);
+ $mod .= genModule('enterprise/7/test81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
createRepo($dest, $mod);
}
if (count($_SERVER['argv']) < 2 || in_array('el7', $_SERVER['argv'])) {
@@ -523,11 +530,12 @@ if (count($_SERVER['argv']) < 2 || in_array('el7', $_SERVER['argv'])) {
$mod .= genModule('enterprise/7/php73/x86_64', $dest, '*.rpm', '7.3', 'x86_64', $deps, $template_php);
$mod .= genModule('enterprise/7/php74/x86_64', $dest, '*.rpm', '7.4', 'x86_64', $deps, $template_php);
$mod .= genModule('enterprise/7/php80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php);
- $mod .= genDefaults('php', '7.2', ['remi-7.1', 'remi-7.2', 'remi-7.3', 'remi-7.4']);
+ $mod .= genModule('enterprise/7/php81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
+ $mod .= genDefaults('php', '7.2', ['remi-7.1', 'remi-7.2', 'remi-7.3', 'remi-7.4', 'remi-8.0', 'remi-8.1']);
$mod .= genModule('enterprise/7/remi/x86_64', $dest, 'redis*5.0*.rpm', '5.0', 'x86_64', $deps, $template_redis);
$mod .= genModule('enterprise/7/remi/x86_64', $dest, 'redis*6.0*.rpm', '6.0', 'x86_64', $deps, $template_redis);
$mod .= genModule('enterprise/7/remi/x86_64', $dest, 'redis*6.2*.rpm', '6.0', 'x86_64', $deps, $template_redis);
- $mod .= genDefaults('redis', '5', ['remi-5.0', 'remi-6.0']);
+ $mod .= genDefaults('redis', '5', ['remi-5.0', 'remi-6.0', 'remi-6.2']);
$deps = ['platform' => 'el7', 'php' => ''];
$mod .= genModule('enterprise/7/glpi92/x86_64', $dest, '*.rpm', '9.2', 'x86_64', $deps, $template_glpi);
$mod .= genModule('enterprise/7/glpi93/x86_64', $dest, '*.rpm', '9.3', 'x86_64', $deps, $template_glpi);