summaryrefslogtreecommitdiffstats
path: root/mkmodular
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-08-02 14:45:40 +0200
committerRemi Collet <remi@php.net>2022-08-02 14:45:40 +0200
commit29f539534a062769b1d7cfb154786e9a256912c2 (patch)
treea253660ad807e9ae96cbdd1f09b194e678c0ce58 /mkmodular
parent14f4f0bb015e255d004f30c998e4d93dab1bf875 (diff)
el9 aarch64 helpers
Diffstat (limited to 'mkmodular')
-rwxr-xr-xmkmodular50
1 files changed, 48 insertions, 2 deletions
diff --git a/mkmodular b/mkmodular
index a455ff0..66fbf97 100755
--- a/mkmodular
+++ b/mkmodular
@@ -245,9 +245,11 @@ function findPackages($from, $dest, $pat) {
global $oldrpms;
$excl = [
'php-amqplib', 'php-jsonlint', 'php-cs-fixer', 'php-tecnickcom-tc-lib-unicode-data',
- 'php-doctrine-orm',
+ 'php-doctrine-orm', 'php-pear-phing',
'php-laminas-authentication', 'php-laminas-diactoros2', 'php-laminas-mime', 'php-laminas-i18n-resources',
- 'php-laminas-memory', 'php-laminas-test', 'php-laminas-view',
+ 'php-laminas-memory', 'php-laminas-test', 'php-laminas-validator', 'php-laminas-view',
+ 'php-laminas-inputfilter', 'php-laminas-crypt', 'php-laminas-di3', 'php-laminas-mvc-plugin-flashmessenger',
+ 'php-react-promise-timer', 'php-laminas-filter', 'php-laminas-router',
'php-icewind-streams', 'php-masterminds-html5', 'php-league-mime-type-detection',
];
$rpms = [];
@@ -651,6 +653,7 @@ if (in_array('el9', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) {
$mod .= genModule('enterprise/9/debug-test81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php);
createRepo($dest, $mod);
}
+
if (count($_SERVER['argv']) < 2 || in_array('el9', $_SERVER['argv'])) {
$dest = 'enterprise/9/modular/x86_64';
echo "Populate $dest\n";
@@ -695,6 +698,49 @@ if (count($_SERVER['argv']) < 2 || in_array('el9', $_SERVER['argv'])) {
createRepo($dest, $mod);
}
+if (count($_SERVER['argv']) > 1 && in_array('el9a', $_SERVER['argv'])) {
+ $dest = 'enterprise/9/modular/aarch64';
+ echo "Populate $dest\n";
+ cleanup($dest);
+ $mod = '';
+
+ $deps = ['platform' => 'el9'];
+ $mod .= genModule('enterprise/9/php74/aarch64', $dest, '*.rpm', '7.4', 'aarch64', $deps, $template_php);
+ $mod .= genModule('enterprise/9/php80/aarch64', $dest, '*.rpm', '8.0', 'aarch64', $deps, $template_php);
+ $mod .= genModule('enterprise/9/php81/aarch64', $dest, '*.rpm', '8.1', 'aarch64', $deps, $template_php);
+ $mod .= genDefaults('php', false, ['remi-7.4']);
+
+// $mod .= genModule('enterprise/9/redis50/aarch64', $dest, 'redis*.rpm', '5.0', 'aarch64', $deps, $template_redis);
+// $mod .= genModule('enterprise/9/redis60/aarch64', $dest, 'redis*.rpm', '6.0', 'aarch64', $deps, $template_redis);
+// $mod .= genModule('enterprise/9/redis62/aarch64', $dest, 'redis*.rpm', '6.2', 'aarch64', $deps, $template_redis);
+// $mod .= genModule('enterprise/9/redis70/aarch64', $dest, 'redis*.rpm', '7.0', 'aarch64', $deps, $template_redis);
+// $mod .= genDefaults('redis', false, ['remi-5.0', 'remi-6.0', 'remi-6.2', 'remi-7.0']);
+
+// $mod .= genModule('enterprise/9/memcached/aarch64', $dest, 'mem*.rpm', false, 'aarch64', $deps, $template_memcached);
+// $mod .= genDefaults('memcached', false, ['remi']);
+
+ $mod .= genModule('enterprise/9/composer2/x86_64', $dest, '*noarch.rpm', '2', 'aarch64', $deps, $template_comp);
+ $mod .= genDefaults('composer', false, ['2']);
+ createRepo($dest, $mod);
+
+ $dest = 'enterprise/9/debug-modular/aarch64';
+ echo "Populate $dest\n";
+ cleanup($dest);
+ $mod = '';
+
+ $deps = ['platform' => 'el9'];
+ $mod .= genModule('enterprise/9/debug-php74/aarch64', $dest, '*.rpm', '7.4', 'aarch64', $deps, $template_php);
+ $mod .= genModule('enterprise/9/debug-php80/aarch64', $dest, '*.rpm', '8.0', 'aarch64', $deps, $template_php);
+ $mod .= genModule('enterprise/9/debug-php81/aarch64', $dest, '*.rpm', '8.1', 'aarch64', $deps, $template_php);
+
+// $mod .= genModule('enterprise/9/debug-redis50/aarch64', $dest, 'redis*.rpm', '5.0', 'aarch64', $deps, $template_redis);
+// $mod .= genModule('enterprise/9/debug-redis60/aarch64', $dest, 'redis*.rpm', '6.0', 'aarch64', $deps, $template_redis);
+// $mod .= genModule('enterprise/9/debug-redis62/aarch64', $dest, 'redis*.rpm', '6.2', 'aarch64', $deps, $template_redis);
+// $mod .= genModule('enterprise/9/debug-redis70/aarch64', $dest, 'redis*.rpm', '7.0', 'aarch64', $deps, $template_redis);
+
+// $mod .= genModule('enterprise/9/debug-memcached/aarch64', $dest, 'mem*.rpm', false, 'aarch64', $deps, $template_memcached);
+ createRepo($dest, $mod);
+}
if (count($_SERVER['argv']) > 1 && in_array('epel', $_SERVER['argv'])) {
$dest = 'temp/epel-8-modular';