summaryrefslogtreecommitdiffstats
path: root/mkmodular
diff options
context:
space:
mode:
Diffstat (limited to 'mkmodular')
-rwxr-xr-xmkmodular28
1 files changed, 28 insertions, 0 deletions
diff --git a/mkmodular b/mkmodular
index a7592471..dea17d92 100755
--- a/mkmodular
+++ b/mkmodular
@@ -156,6 +156,7 @@ version: 1
data:
module: php
profiles:
+ remi-7.1: [common]
remi-7.2: [common]
remi-7.3: [common]
...
@@ -358,4 +359,31 @@ if (count($_SERVER['argv']) < 2 || in_array('el8', $_SERVER['argv'])) {
$mod .= $defaults;
createRepo($dest, $mod);
}
+
+if (count($_SERVER['argv']) < 2 || in_array('el7', $_SERVER['argv'])) {
+ $dest = 'enterprise/7/modular-test/x86_64';
+ echo "Populate $dest\n";
+ cleanup($dest);
+ $deps = ['platform' => 'el7'];
+ $mod = genModule('enterprise/7/test71/x86_64', $dest, '*.rpm', '7.1', 'x86_64', $deps, $template_php);
+ $mod = genModule('enterprise/7/test72/x86_64', $dest, '*.rpm', '7.2', 'x86_64', $deps, $template_php);
+ $mod .= genModule('enterprise/7/test73/x86_64', $dest, '*.rpm', '7.3', 'x86_64', $deps, $template_php);
+ $mod .= $defaults;
+ createRepo($dest, $mod);
+
+ $dest = 'enterprise/7/modular/x86_64';
+ echo "Populate $dest\n";
+ cleanup($dest);
+ $deps = ['platform' => 'el7'];
+ $mod = genModule('enterprise/7/php71/x86_64', $dest, '*.rpm', '7.1', 'x86_64', $deps, $template_php);
+ $mod .= genModule('enterprise/7/php72/x86_64', $dest, '*.rpm', '7.2', 'x86_64', $deps, $template_php);
+ $mod .= genModule('enterprise/7/php73/x86_64', $dest, '*.rpm', '7.3', 'x86_64', $deps, $template_php);
+ $mod .= genModule('enterprise/7/remi/x86_64', $dest, 'redis*.rpm', '5.0', 'x86_64', $deps, $template_redis);
+ $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);
+ $mod .= genModule('enterprise/7/glpi94/x86_64', $dest, '*.rpm', '9.4', 'x86_64', $deps, $template_glpi);
+ $mod .= $defaults;
+ createRepo($dest, $mod);
+}
echo "Done\n";