1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 40 |
%define release 41 |
4 |
Summary: easy configuration of extra yum repo |
Summary: easy configuration of extra yum repo |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
19 |
Provides configuration for external yum repository comaptible with Koozali SME Server. |
Provides configuration for external yum repository comaptible with Koozali SME Server. |
20 |
|
|
21 |
%changelog |
%changelog |
22 |
|
* Wed Jul 26 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-41.sme |
23 |
|
- fix issues with libreswan repo [SME: 12389] |
24 |
|
- Remove old mongodb repos prior to 4.0 |
25 |
|
|
26 |
* Wed Jun 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-40.sme |
* Wed Jun 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-40.sme |
27 |
- add mongodb repos [SME: 11905] |
- add mongodb repos [SME: 11905] |
28 |
- add onlyoffice repo [SME: 12078] |
- add onlyoffice repo [SME: 12078] |
629 |
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/' |
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/' |
630 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
631 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
632 |
REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan' |
REPO['GPGKey']='http://download.libreswan.org/RPM-GPG-KEY-libreswan' |
633 |
REPO['Exclude']='' |
REPO['Exclude']='' |
634 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
635 |
|
REPO['Priority']='10' |
636 |
createrepo |
createrepo |
637 |
|
|
638 |
|
|
641 |
# Mongodb |
# Mongodb |
642 |
##################### |
##################### |
643 |
##################### |
##################### |
644 |
for nodever in "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" "5.0"; do |
for nodever in "4.0" "4.1" "4.2" "4.3" "4.4" "5.0" "6.0" "7.0"; do |
645 |
REPO['reponame']="mongodb$nodever" |
REPO['reponame']="mongodb$nodever" |
646 |
REPO['pkgname']='mongodb' |
REPO['pkgname']='mongodb' |
647 |
REPO['fullreponame']="Mongodb $nodever" |
REPO['fullreponame']="Mongodb $nodever" |
1438 |
$repo->delete('IncludePkgs'); |
$repo->delete('IncludePkgs'); |
1439 |
} |
} |
1440 |
|
|
1441 |
|
} |
1442 |
|
|
1443 |
|
} |
1444 |
|
|
|
} |
|
1445 |
|
|
1446 |
|
EOF |
1447 |
|
|
1448 |
|
|
1449 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/30DeleteOldMongoDB |
1450 |
|
{ |
1451 |
|
for my $dbVer (qw( 0.9 1.0 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7)) { |
1452 |
|
$dataBase = "mongodb$dbVer"; |
1453 |
|
my $repo = $DB->get($dataBase); |
1454 |
|
$repo->delete if $repo; |
1455 |
|
} |
1456 |
} |
} |
1457 |
|
|
1458 |
EOF |
EOF |