diff options
author | Remi Collet <remi@remirepo.net> | 2024-07-02 12:04:44 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-07-02 12:04:44 +0200 |
commit | 491be9cbf68b47e4e23c166179d8ed7e7fb87b2c (patch) | |
tree | e1b263c10e2a4e3561f018cf665bd0e13f6ba94a /mkmodular | |
parent | efb262ecbde1ab10e6f08c10c450e7ef434b9926 (diff) |
EL-7 is EOL
Diffstat (limited to 'mkmodular')
-rwxr-xr-x | mkmodular | 301 |
1 files changed, 0 insertions, 301 deletions
@@ -388,265 +388,6 @@ rename($data, "$data.$arch"); exec("gpg --armor --detach-sign --default-key \"$GPG_NAME\" --homedir \"$GPG_PATH\" repodata/repomd.xml"); chdir($old); } -/* -if (count($_SERVER['argv']) < 2 || in_array('f33', $_SERVER['argv'])) { - $dest = 'fedora/33/modular/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $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 .= 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'])) { - $dest = 'fedora/33/modular-test/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $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); -} - -if (count($_SERVER['argv']) < 2 || in_array('f34', $_SERVER['argv'])) { - $dest = 'fedora/34/modular/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $deps = ['platform' => 'f34']; - $mod .= genModule('fedora/34/remi/x86_64', $dest, ['uwsgi-plugin-php*rpm', '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 .= 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); - - $dest = 'fedora/34/debug-modular/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $deps = ['platform' => 'f34']; - $mod .= genModule('fedora/34/debug-remi/x86_64', $dest, ['uwsgi-plugin-php*rpm', 'unit-php*rpm', 'php-*7.4*.rpm'], '7.4', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/34/debug-php80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/34/debug-php81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php); - createRepo($dest, $mod); -} -if (in_array('f34', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) { - $dest = 'fedora/34/modular-test/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $deps = ['platform' => 'f34']; - $mod .= genModule('fedora/34/test/x86_64', $dest, ['uwsgi-plugin-php*rpm', '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); - - $dest = 'fedora/34/debug-modular-test/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $deps = ['platform' => 'f34']; - $mod .= genModule('fedora/34/debug-test/x86_64', $dest, ['uwsgi-plugin-php*rpm', 'unit-php*rpm', 'php-*7.4*.rpm'], '7.4', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/34/debug-test80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/34/debug-test81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php); - createRepo($dest, $mod); -} - -if (count($_SERVER['argv']) < 2 || in_array('f35', $_SERVER['argv'])) { - $dest = 'fedora/35/modular/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $deps = ['platform' => 'f35']; - $mod .= genModule('fedora/35/php74/x86_64', $dest, '*rpm', '7.4', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/35/remi/x86_64', $dest, ['uwsgi-plugin-php*rpm', 'unit-php*rpm', 'php-*8.0*.rpm'], '8.0', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/35/php81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/35/php82/x86_64', $dest, '*.rpm', '8.2', 'x86_64', $deps, $template_php); - $mod .= genDefaults('php', false, ['remi-7.4', 'remi-8.0', 'remi-8.1', 'remi-8.2']); - createRepo($dest, $mod); - - $dest = 'fedora/35/debug-modular/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $deps = ['platform' => 'f35']; - $mod .= genModule('fedora/35/debug-php74/x86_64', $dest, '*.rpm', '7.4', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/35/debug-remi/x86_64', $dest, ['uwsgi-plugin-php*rpm', 'unit-php*rpm', 'php-*8.0*.rpm'], '8.0', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/35/debug-php81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/35/debug-php82/x86_64', $dest, '*.rpm', '8.2', 'x86_64', $deps, $template_php); - createRepo($dest, $mod); -} -if (in_array('f35', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) { - $dest = 'fedora/35/modular-test/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $deps = ['platform' => 'f35']; - $mod .= genModule('fedora/35/test74/x86_64', $dest, '*.rpm', '7.4', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/35/test/x86_64', $dest, ['uwsgi-plugin-php*rpm', 'unit-php*rpm', 'php-*8.0*.rpm'], '8.0', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/35/test81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/35/test82/x86_64', $dest, '*.rpm', '8.2', 'x86_64', $deps, $template_php); - createRepo($dest, $mod); - - $dest = 'fedora/35/debug-modular-test/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $deps = ['platform' => 'f35']; - $mod .= genModule('fedora/35/debug-test74/x86_64', $dest, '*.rpm', '7.4', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/35/debug-test/x86_64', $dest, ['uwsgi-plugin-php*rpm', 'unit-php*rpm', 'php-*8.0*.rpm'], '8.0', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/35/debug-test81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/35/debug-test82/x86_64', $dest, '*.rpm', '8.2', 'x86_64', $deps, $template_php); - createRepo($dest, $mod); -} - -if (count($_SERVER['argv']) < 2 || in_array('f36', $_SERVER['argv'])) { - $dest = 'fedora/36/modular/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $deps = ['platform' => 'f36']; - $mod .= genModule('fedora/36/php74/x86_64', $dest, '*.rpm', '7.4', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/36/php80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/36/php81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/36/php82/x86_64', $dest, '*.rpm', '8.2', 'x86_64', $deps, $template_php); - $mod .= genDefaults('php', false, ['remi-7.4', 'remi-8.0', 'remi-8.1', 'remi-8.2']); - $mod .= genModule('fedora/36/redis60/x86_64',$dest, '*.rpm', '6.0', 'x86_64', $deps, $template_redis); - $mod .= genModule('fedora/36/redis62/x86_64',$dest, '*.rpm', '6.2', 'x86_64', $deps, $template_redis); - $mod .= genModule('fedora/36/redis70/x86_64',$dest, '*.rpm', '7.0', 'x86_64', $deps, $template_redis); - $mod .= genModule('fedora/36/redis72/x86_64',$dest, '*.rpm', '7.2', 'x86_64', $deps, $template_redis); - $mod .= genDefaults('redis', false, ['remi-6.0', 'remi-6.2', 'remi-7.0', 'remi-7.2']); - $mod .= genModule('fedora/36/memcached/x86_64',$dest, '*.rpm', false, 'x86_64', $deps, $template_memcached); - $mod .= genDefaults('memcached', false, ['remi']); - createRepo($dest, $mod); - - $dest = 'fedora/36/debug-modular/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $deps = ['platform' => 'f36']; - $mod .= genModule('fedora/36/debug-php74/x86_64', $dest, '*.rpm', '7.4', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/36/debug-php80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/36/debug-php81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/36/debug-php82/x86_64', $dest, '*.rpm', '8.2', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/36/debug-redis60/x86_64',$dest, '*.rpm', '6.0', 'x86_64', $deps, $template_redis); - $mod .= genModule('fedora/36/debug-redis62/x86_64',$dest, '*.rpm', '6.2', 'x86_64', $deps, $template_redis); - $mod .= genModule('fedora/36/debug-redis70/x86_64',$dest, '*.rpm', '7.0', 'x86_64', $deps, $template_redis); - $mod .= genModule('fedora/36/debug-redis72/x86_64',$dest, '*.rpm', '7.2', 'x86_64', $deps, $template_redis); - $mod .= genModule('fedora/36/debug-memcached/x86_64',$dest, '*.rpm', false, 'x86_64', $deps, $template_memcached); - createRepo($dest, $mod); -} -if (in_array('f36', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) { - $dest = 'fedora/36/modular-test/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $deps = ['platform' => 'f36']; - $mod .= genModule('fedora/36/test74/x86_64', $dest, '*.rpm', '7.4', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/36/test80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/36/test81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/36/test82/x86_64', $dest, '*.rpm', '8.2', 'x86_64', $deps, $template_php); - createRepo($dest, $mod); - - $dest = 'fedora/36/debug-modular-test/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $deps = ['platform' => 'f36']; - $mod .= genModule('fedora/36/debug-test74/x86_64', $dest, '*.rpm', '7.4', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/36/debug-test80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/36/debug-test81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/36/debug-test82/x86_64', $dest, '*.rpm', '8.2', 'x86_64', $deps, $template_php); - createRepo($dest, $mod); -} - -if (count($_SERVER['argv']) < 2 || in_array('f37', $_SERVER['argv'])) { - $dest = 'fedora/37/modular/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $deps = ['platform' => 'f37']; - $mod .= genModule('fedora/37/php74/x86_64', $dest, '*.rpm', '7.4', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/php80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/php81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/php82/x86_64', $dest, '*.rpm', '8.2', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/php83/x86_64', $dest, '*.rpm', '8.3', 'x86_64', $deps, $template_php); - $mod .= genDefaults('php', false, ['remi-7.4', 'remi-8.0', 'remi-8.1', 'remi-8.2', 'remi-8.3']); - $mod .= genModule('fedora/37/redis60/x86_64',$dest, '*.rpm', '6.0', 'x86_64', $deps, $template_redis); - $mod .= genModule('fedora/37/redis62/x86_64',$dest, '*.rpm', '6.2', 'x86_64', $deps, $template_redis); - $mod .= genModule('fedora/37/redis70/x86_64',$dest, '*.rpm', '7.0', 'x86_64', $deps, $template_redis); - $mod .= genModule('fedora/37/redis72/x86_64',$dest, '*.rpm', '7.2', 'x86_64', $deps, $template_redis); - $mod .= genDefaults('redis', false, ['remi-6.0', 'remi-6.2', 'remi-7.0', 'remi-7.2']); - $mod .= genModule('fedora/37/memcached/x86_64',$dest, '*.rpm', false, 'x86_64', $deps, $template_memcached); - $mod .= genDefaults('memcached', false, ['remi']); - createRepo($dest, $mod); - - $dest = 'fedora/37/debug-modular/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $deps = ['platform' => 'f37']; - $mod .= genModule('fedora/37/debug-php74/x86_64', $dest, '*.rpm', '7.4', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/debug-php80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/debug-php81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/debug-php82/x86_64', $dest, '*.rpm', '8.2', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/debug-php83/x86_64', $dest, '*.rpm', '8.3', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/debug-redis60/x86_64',$dest, '*.rpm', '6.0', 'x86_64', $deps, $template_redis); - $mod .= genModule('fedora/37/debug-redis62/x86_64',$dest, '*.rpm', '6.2', 'x86_64', $deps, $template_redis); - $mod .= genModule('fedora/37/debug-redis70/x86_64',$dest, '*.rpm', '7.0', 'x86_64', $deps, $template_redis); - $mod .= genModule('fedora/37/debug-redis72/x86_64',$dest, '*.rpm', '7.2', 'x86_64', $deps, $template_redis); - $mod .= genModule('fedora/37/debug-memcached/x86_64',$dest, '*.rpm', false, 'x86_64', $deps, $template_memcached); - createRepo($dest, $mod); -} -if (in_array('f37', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) { - $dest = 'fedora/37/modular-test/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $deps = ['platform' => 'f37']; - $mod .= genModule('fedora/37/test74/x86_64', $dest, '*.rpm', '7.4', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/test80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/test81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/test82/x86_64', $dest, '*.rpm', '8.2', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/test83/x86_64', $dest, '*.rpm', '8.3', 'x86_64', $deps, $template_php); - createRepo($dest, $mod); - - $dest = 'fedora/37/debug-modular-test/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $deps = ['platform' => 'f37']; - $mod .= genModule('fedora/37/debug-test74/x86_64', $dest, '*.rpm', '7.4', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/debug-test80/x86_64', $dest, '*.rpm', '8.0', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/debug-test81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/debug-test82/x86_64', $dest, '*.rpm', '8.2', 'x86_64', $deps, $template_php); - $mod .= genModule('fedora/37/debug-test83/x86_64', $dest, '*.rpm', '8.3', 'x86_64', $deps, $template_php); - createRepo($dest, $mod); -} -*/ if (count($_SERVER['argv']) < 2 || in_array('f38', $_SERVER['argv'])) { $dest = 'fedora/38/modular/x86_64'; @@ -1350,46 +1091,4 @@ if (count($_SERVER['argv']) > 1 && in_array('epel', $_SERVER['argv'])) { createRepo($dest, $mod); } -if (in_array('el7', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) { - $dest = 'enterprise/7/modular-test/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $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 .= 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); - $mod .= genModule('enterprise/7/test82/x86_64', $dest, '*.rpm', '8.2', 'x86_64', $deps, $template_php); - $mod .= genModule('enterprise/7/test83/x86_64', $dest, '*.rpm', '8.3', 'x86_64', $deps, $template_php); - createRepo($dest, $mod); -} -if (count($_SERVER['argv']) < 2 || in_array('el7', $_SERVER['argv']) - || in_array('7.3', $_SERVER['argv']) || in_array('7.2', $_SERVER['argv']) || in_array('7.1', $_SERVER['argv'])) { - $dest = 'enterprise/7/modular/x86_64'; - echo "Populate $dest\n"; - cleanup($dest); - $mod = ''; - - $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/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 .= genModule('enterprise/7/php81/x86_64', $dest, '*.rpm', '8.1', 'x86_64', $deps, $template_php); - $mod .= genModule('enterprise/7/php82/x86_64', $dest, '*.rpm', '8.2', 'x86_64', $deps, $template_php); - $mod .= genModule('enterprise/7/php83/x86_64', $dest, '*.rpm', '8.3', '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', 'remi-8.2', 'remi-8.3']); - - $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.2', 'x86_64', $deps, $template_redis); - $mod .= genModule('enterprise/7/remi/x86_64', $dest, 'redis*7.0*.rpm', '7.0', 'x86_64', $deps, $template_redis); - $mod .= genDefaults('redis', '5', ['remi-5.0', 'remi-6.0', 'remi-6.2', 'remi-7.0', 'remi-7.2']); - createRepo($dest, $mod); -} echo "Done\n"; |