summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-07-04 07:30:19 +0200
committerRemi Collet <remi@php.net>2024-07-04 07:30:19 +0200
commita641ec4f1943dd27cc7c4b3995ca156cfaf250f3 (patch)
tree01fafc0153b03f17669394709ce0025a7ee1d9be
parente00b3f901636a0a6bfa3793459452f09bac2c8aa (diff)
scl84 config
-rw-r--r--el8ascl84.cfg26
-rw-r--r--el8x.tpl4
-rw-r--r--el8xscl84.cfg26
-rw-r--r--el9ascl84.cfg26
-rw-r--r--el9x.tpl4
-rw-r--r--el9xscl84.cfg26
-rw-r--r--fc38xscl84.cfg26
-rw-r--r--fc39ascl84.cfg26
-rw-r--r--fc39xscl84.cfg27
-rw-r--r--fc40ascl84.cfg26
-rw-r--r--fc40x.tpl8
-rw-r--r--fc40xscl84.cfg26
12 files changed, 243 insertions, 8 deletions
diff --git a/el8ascl84.cfg b/el8ascl84.cfg
new file mode 100644
index 0000000..c92ba1f
--- /dev/null
+++ b/el8ascl84.cfg
@@ -0,0 +1,26 @@
+include('el8a.tpl')
+
+config_opts['root'] = 'scl84el8a'
+config_opts['resultdir'] = "/var/lib/mock/scl84el8a"
+config_opts['chroot_setup_cmd'] = 'install bash bzip2 ccache coreutils cpio diffutils redhat-release findutils gawk gcc grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz scl-utils-build nss crypto-policies php84-build php83-php-devel php83-php-pear'
+
+config_opts['module_enable'] = ['subversion:1.10', 'php:7.2', 'varnish:6', 'swig', 'javapackages-runtime', 'mariadb:10.3', 'nodejs:10', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'redis:remi-7.0']
+
+config_opts['macros']['%scl_vendor']="remi"
+config_opts['macros']['%_scl_prefix']="/opt/remi"
+config_opts['macros']['%nophptag']="1"
+# Official (but temporary) workaround for https://bugzilla.redhat.com/1484370
+#config_opts['macros']['%_debugsource_packages']="%nil"
+# workaround for https://bugzilla.redhat.com/1485310
+config_opts['macros']['%_build_id_links']='none'
+
+config_opts['yum.conf'] += """
+
+[result-scl84el8a]
+name=result-scl84el8a
+baseurl=file:/var/lib/mock/scl84el8a/
+metadata_expire=30
+enabled=1
+skip_if_unavailable=True
+
+"""
diff --git a/el8x.tpl b/el8x.tpl
index 11e241e..277f95a 100644
--- a/el8x.tpl
+++ b/el8x.tpl
@@ -61,8 +61,8 @@ enabled=1
[epel]
name=epel
-mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-8&arch=x86_64
-;baseurl=https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/
+;mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-8&arch=x86_64
+baseurl=https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/
exclude=epel-rpm-macros
enabled=1
diff --git a/el8xscl84.cfg b/el8xscl84.cfg
new file mode 100644
index 0000000..122165e
--- /dev/null
+++ b/el8xscl84.cfg
@@ -0,0 +1,26 @@
+include('el8x.tpl')
+
+config_opts['root'] = 'scl84el8x'
+config_opts['resultdir'] = "/var/lib/mock/scl84el8x"
+config_opts['chroot_setup_cmd'] = 'install bash bzip2 ccache coreutils cpio diffutils redhat-release findutils gawk gcc grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz scl-utils-build nss crypto-policies php84-build php83-php-devel php83-php-pear'
+
+config_opts['module_enable'] = ['subversion:1.10', 'php:7.2', 'varnish:6', 'swig', 'javapackages-runtime', 'mariadb:10.3', 'nodejs:10', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'redis:remi-7.0']
+
+config_opts['macros']['%scl_vendor']="remi"
+config_opts['macros']['%_scl_prefix']="/opt/remi"
+config_opts['macros']['%nophptag']="1"
+# Official (but temporary) workaround for https://bugzilla.redhat.com/1484370
+#config_opts['macros']['%_debugsource_packages']="%nil"
+# workaround for https://bugzilla.redhat.com/1485310
+config_opts['macros']['%_build_id_links']='none'
+
+config_opts['yum.conf'] += """
+
+[result-scl84el8x]
+name=result-scl84el8x
+baseurl=file:/var/lib/mock/scl84el8x/
+metadata_expire=30
+enabled=1
+skip_if_unavailable=True
+
+"""
diff --git a/el9ascl84.cfg b/el9ascl84.cfg
new file mode 100644
index 0000000..82857c8
--- /dev/null
+++ b/el9ascl84.cfg
@@ -0,0 +1,26 @@
+include('el9a.tpl')
+
+config_opts['root'] = 'scl84el9a'
+config_opts['resultdir'] = "/var/lib/mock/scl84el9a"
+config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils redhat-release findutils gawk gcc grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz scl-utils-build nss remi-crypto-legacy php84-build php83-php-devel php83-php-pear'
+
+config_opts['module_enable'] = ['redis:remi-7.0']
+
+config_opts['macros']['%scl_vendor']="remi"
+config_opts['macros']['%_scl_prefix']="/opt/remi"
+config_opts['macros']['%nophptag']="1"
+# Official (but temporary) workaround for https://bugzilla.redhat.com/1484370
+#config_opts['macros']['%_debugsource_packages']="%nil"
+# workaround for https://bugzilla.redhat.com/1485310
+config_opts['macros']['%_build_id_links']='none'
+
+config_opts['yum.conf'] += """
+
+[result-scl84el9a]
+name=result-scl84el9a
+baseurl=file:/var/lib/mock/scl84el9a/
+skip_if_unavailable=True
+metadata_expire=30
+enabled=1
+
+"""
diff --git a/el9x.tpl b/el9x.tpl
index 177fb56..ab76d7e 100644
--- a/el9x.tpl
+++ b/el9x.tpl
@@ -61,8 +61,8 @@ enabled=1
[epel]
name=epel
-mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-9&arch=x86_64
-;baseurl=https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/
+;mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-9&arch=x86_64
+baseurl=https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/
exclude=epel-rpm-macros
enabled=1
diff --git a/el9xscl84.cfg b/el9xscl84.cfg
new file mode 100644
index 0000000..f6a4144
--- /dev/null
+++ b/el9xscl84.cfg
@@ -0,0 +1,26 @@
+include('el9x.tpl')
+
+config_opts['root'] = 'scl84el9x'
+config_opts['resultdir'] = "/var/lib/mock/scl84el9x"
+config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils redhat-release findutils gawk gcc grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz scl-utils-build nss remi-crypto-legacy php84-build php83-php-devel php83-php-pear'
+
+config_opts['module_enable'] = ['redis:remi-7.0']
+
+config_opts['macros']['%scl_vendor']="remi"
+config_opts['macros']['%_scl_prefix']="/opt/remi"
+config_opts['macros']['%nophptag']="1"
+# Official (but temporary) workaround for https://bugzilla.redhat.com/1484370
+#config_opts['macros']['%_debugsource_packages']="%nil"
+# workaround for https://bugzilla.redhat.com/1485310
+config_opts['macros']['%_build_id_links']='none'
+
+config_opts['yum.conf'] += """
+
+[result-scl84el9x]
+name=result-scl84el9x
+baseurl=file:/var/lib/mock/scl84el9x/
+metadata_expire=30
+enabled=1
+skip_if_unavailable=True
+
+"""
diff --git a/fc38xscl84.cfg b/fc38xscl84.cfg
new file mode 100644
index 0000000..f048a81
--- /dev/null
+++ b/fc38xscl84.cfg
@@ -0,0 +1,26 @@
+include('fc38x.tpl')
+
+config_opts['root'] = 'scl84fc38x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php84-build php83-php-devel php83-php-pear'
+config_opts['resultdir'] = "/var/lib/mock/scl84fc38x"
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc38xscl84/"
+
+# Only needed to build main SCL package
+config_opts['macros']['%scl_vendor']="remi"
+config_opts['macros']['%_scl_prefix']="/opt/remi"
+
+config_opts['macros']['%nophptag']="1"
+# Official (but temporary) workaround for https://bugzilla.redhat.com/1484380
+#config_opts['macros']['%_debugsource_packages']="%nil"
+# workaround for https://bugzilla.redhat.com/1485310
+config_opts['macros']['%_build_id_links']='none'
+
+config_opts['yum.conf'] += """
+[result-scl84fc38x]
+name=result-scl84fc38x
+baseurl=file:///var/lib/mock/scl84fc38x/
+enabled=1
+metadata_expire=10
+skip_if_unavailable=True
+
+"""
diff --git a/fc39ascl84.cfg b/fc39ascl84.cfg
new file mode 100644
index 0000000..5f69d54
--- /dev/null
+++ b/fc39ascl84.cfg
@@ -0,0 +1,26 @@
+include('fc39a.tpl')
+
+config_opts['root'] = 'scl84fc39a'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php84-build php83-php-devel php83-php-pear'
+config_opts['resultdir'] = "/var/lib/mock/scl84fc39a"
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc39ascl84/"
+
+# Only needed to build main SCL package
+config_opts['macros']['%scl_vendor']="remi"
+config_opts['macros']['%_scl_prefix']="/opt/remi"
+
+config_opts['macros']['%nophptag']="1"
+# Official (but temporary) workaround for https://bugzilla.redhat.com/1484390
+#config_opts['macros']['%_debugsource_packages']="%nil"
+# workaround for https://bugzilla.redhat.com/1485310
+config_opts['macros']['%_build_id_links']='none'
+
+config_opts['yum.conf'] += """
+[result-scl84fc39a]
+name=result-scl84fc39a
+baseurl=file:///var/lib/mock/scl84fc39a/
+enabled=1
+metadata_expire=10
+skip_if_unavailable=True
+
+"""
diff --git a/fc39xscl84.cfg b/fc39xscl84.cfg
new file mode 100644
index 0000000..cdfd608
--- /dev/null
+++ b/fc39xscl84.cfg
@@ -0,0 +1,27 @@
+include('fc39x.tpl')
+
+config_opts['root'] = 'scl84fc39x'
+#config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php84-build php83-php-devel php83-php-pear'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php84-build'
+config_opts['resultdir'] = "/var/lib/mock/scl84fc39x"
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc39xscl84/"
+
+# Only needed to build main SCL package
+config_opts['macros']['%scl_vendor']="remi"
+config_opts['macros']['%_scl_prefix']="/opt/remi"
+
+config_opts['macros']['%nophptag']="1"
+# Official (but temporary) workaround for https://bugzilla.redhat.com/1484390
+#config_opts['macros']['%_debugsource_packages']="%nil"
+# workaround for https://bugzilla.redhat.com/1485310
+config_opts['macros']['%_build_id_links']='none'
+
+config_opts['yum.conf'] += """
+[result-scl84fc39x]
+name=result-scl84fc39x
+baseurl=file:///var/lib/mock/scl84fc39x/
+enabled=1
+metadata_expire=10
+skip_if_unavailable=True
+
+"""
diff --git a/fc40ascl84.cfg b/fc40ascl84.cfg
new file mode 100644
index 0000000..4d67e23
--- /dev/null
+++ b/fc40ascl84.cfg
@@ -0,0 +1,26 @@
+include('fc40a.tpl')
+
+config_opts['root'] = 'scl84fc40a'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build remi-crypto-legacy ccache scl-utils-build php84-build php83-php-devel php83-php-pear'
+config_opts['resultdir'] = "/var/lib/mock/scl84fc40a"
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40ascl84/"
+
+# Only needed to build main SCL package
+config_opts['macros']['%scl_vendor']="remi"
+config_opts['macros']['%_scl_prefix']="/opt/remi"
+
+config_opts['macros']['%nophptag']="1"
+# Official (but temporary) workaround for https://bugzilla.redhat.com/1484400
+#config_opts['macros']['%_debugsource_packages']="%nil"
+# workaround for https://bugzilla.redhat.com/1485310
+config_opts['macros']['%_build_id_links']='none'
+
+config_opts['yum.conf'] += """
+[result-scl84fc40a]
+name=result-scl84fc40a
+baseurl=file:///var/lib/mock/scl84fc40a/
+enabled=1
+metadata_expire=10
+skip_if_unavailable=True
+
+"""
diff --git a/fc40x.tpl b/fc40x.tpl
index dc42c10..9c41284 100644
--- a/fc40x.tpl
+++ b/fc40x.tpl
@@ -48,21 +48,21 @@ max_parallel_downloads=6
[fedora]
name=fedora
-metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
+#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
metadata_expire=80000
##mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-40&arch=x86_64
#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/40/Everything/x86_64/os/
# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/40/Everything/x86_64/os/
-#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/development/40/Everything/x86_64/os/
+baseurl=https://dl.fedoraproject.org/pub/fedora/linux/releases/40/Everything/x86_64/os/
[updates]
name=updates
-metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
+#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f40&arch=x86_64
#baseurl=http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/updates/1/x86_64/
# http://mirrors.ircam.fr/pub/fedora/linux/updates/40/x86_64/
# http://fr2.rpmfind.net/linux/fedora/updates/40/x86_64/
-#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/33/Everything/x86_64/
+baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/40/Everything/x86_64/
enabled=1
[updates-testing]
diff --git a/fc40xscl84.cfg b/fc40xscl84.cfg
new file mode 100644
index 0000000..27257de
--- /dev/null
+++ b/fc40xscl84.cfg
@@ -0,0 +1,26 @@
+include('fc40x.tpl')
+
+config_opts['root'] = 'scl84fc40x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build remi-crypto-legacy ccache scl-utils-build php84-build php83-php-devel php83-php-pear'
+config_opts['resultdir'] = "/var/lib/mock/scl84fc40x"
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40xscl84/"
+
+# Only needed to build main SCL package
+config_opts['macros']['%scl_vendor']="remi"
+config_opts['macros']['%_scl_prefix']="/opt/remi"
+
+config_opts['macros']['%nophptag']="1"
+# Official (but temporary) workaround for https://bugzilla.redhat.com/1484400
+#config_opts['macros']['%_debugsource_packages']="%nil"
+# workaround for https://bugzilla.redhat.com/1485310
+config_opts['macros']['%_build_id_links']='none'
+
+config_opts['yum.conf'] += """
+[result-scl84fc40x]
+name=result-scl84fc40x
+baseurl=file:///var/lib/mock/scl84fc40x/
+enabled=1
+metadata_expire=10
+skip_if_unavailable=True
+
+"""