Compare commits
3 Commits
0_1-49
...
0_1-51_el8
Author | SHA1 | Date | |
---|---|---|---|
![]() |
de42f83cff | ||
2fc91ec5f4 | |||
8f8423d4f4 |
@@ -1,10 +1,10 @@
|
||||
%define name smeserver-extrarepositories
|
||||
%define version 0.1
|
||||
%define release 49
|
||||
%define release 51
|
||||
Summary: easy configuration of extra yum repo
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
Release: %{release}%{?dist}
|
||||
License: GNU GPL version 2
|
||||
URL: https://wiki.koozali.org
|
||||
Group: SMEserver/addon
|
||||
@@ -20,6 +20,12 @@ Source1: https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-RHE
|
||||
Provides configuration for external yum repository comaptible with Koozali SME Server.
|
||||
|
||||
%changelog
|
||||
* Wed May 28 2025 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-51.sme
|
||||
- remove Mongo 4.x repos
|
||||
|
||||
* Thu Feb 20 2025 Jean-Philippe Pialasse <jpp@koozali.org> 0.1-50.sme
|
||||
- add mariadb LTS repos 10.5 10.6 10.11 11.4 11.7 [SME: 12936]
|
||||
|
||||
* Fri Feb 14 2025 Jean-Philippe Pialasse <jpp@koozali.org> 0.1-49.sme
|
||||
- remove epel as in core now [SME: 12920]
|
||||
|
||||
@@ -712,13 +718,35 @@ REPO['IncludePkgs']=''
|
||||
REPO['Priority']='10'
|
||||
createrepo
|
||||
|
||||
#####################
|
||||
#####################
|
||||
# Mariadb
|
||||
#####################
|
||||
#####################
|
||||
for nodever in "10.5" "10.6" "10.11" "11.4" "11.7"; do
|
||||
REPO['reponame']="mariadb$nodever"
|
||||
REPO['pkgname']='mariadb'
|
||||
REPO['fullreponame']="Mariadb $nodever LTS"
|
||||
REPO['EnableGroups']='no'
|
||||
REPO['Visible']='yes'
|
||||
REPO['status']='disabled'
|
||||
REPO['BaseURL']="https://rpm.mariadb.org/$nodever/rhel/\$releasever/\$basearch"
|
||||
REPO['MirrorList']=''
|
||||
REPO['GPGCheck']='yes'
|
||||
REPO['GPGKey']="https://rpm.mariadb.org/RPM-GPG-KEY-MariaDB"
|
||||
REPO['Exclude']=''
|
||||
REPO['IncludePkgs']=''
|
||||
REPO['Priority']=''
|
||||
createrepo
|
||||
done
|
||||
|
||||
|
||||
#####################
|
||||
#####################
|
||||
# Mongodb
|
||||
#####################
|
||||
#####################
|
||||
for nodever in "4.0" "4.1" "4.2" "4.3" "4.4" "5.0" "6.0" "7.0"; do
|
||||
for nodever in "5.0" "6.0" "7.0"; do
|
||||
REPO['reponame']="mongodb$nodever"
|
||||
REPO['pkgname']='mongodb'
|
||||
REPO['fullreponame']="Mongodb $nodever"
|
||||
@@ -1480,7 +1508,7 @@ EOF
|
||||
|
||||
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/30mongodbDeleteOldRepos
|
||||
{
|
||||
for my $dbVer (qw( 0.9 1.0 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7)) {
|
||||
for my $dbVer (qw( 0.9 1.0 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 4.0 4.1 4.2 4.3 4.4)) {
|
||||
$dataBase = "mongodb$dbVer";
|
||||
my $repo = $DB->get($dataBase);
|
||||
$repo->delete if $repo;
|
||||
@@ -1543,6 +1571,7 @@ cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws
|
||||
cat %{name}-%{version}-filelist| grep fusioninventory-agent > %{name}-%{version}-filelist-fusioninventory-agent
|
||||
cat %{name}-%{version}-filelist| grep lemonldap > %{name}-%{version}-filelist-lemonldap
|
||||
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan
|
||||
cat %{name}-%{version}-filelist| grep mariadb > %{name}-%{version}-filelist-mariadb
|
||||
cat %{name}-%{version}-filelist| grep mongodb > %{name}-%{version}-filelist-mongodb
|
||||
cat %{name}-%{version}-filelist| grep nginx > %{name}-%{version}-filelist-nginx
|
||||
cat %{name}-%{version}-filelist| grep node > %{name}-%{version}-filelist-node
|
||||
@@ -1698,6 +1727,13 @@ Libreswan Repository
|
||||
%files libreswan -f %{name}-%{version}-filelist-libreswan
|
||||
%defattr(-,root,root)
|
||||
|
||||
%package mariadb
|
||||
Summary: Mariadb Repositories
|
||||
%description mariadb
|
||||
MariaDB Repositories
|
||||
%files mariadb -f %{name}-%{version}-filelist-mariadb
|
||||
%defattr(-,root,root)
|
||||
|
||||
%package mongodb
|
||||
Summary: MongoDB Repositories
|
||||
%description mongodb
|
||||
|
Reference in New Issue
Block a user