1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 40 |
%define release 42 |
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 |
|
* Mon Sep 04 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-42.sme |
23 |
|
- Fix the error in the spec file [SME: 12389] |
24 |
|
|
25 |
|
* Wed Jul 26 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-41.sme |
26 |
|
- fix issues with libreswan repo [SME: 12389] |
27 |
|
- Remove old mongodb repos prior to 4.0 |
28 |
|
|
29 |
* 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 |
30 |
- add mongodb repos [SME: 11905] |
- add mongodb repos [SME: 11905] |
31 |
- add onlyoffice repo [SME: 12078] |
- add onlyoffice repo [SME: 12078] |
632 |
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/' |
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/' |
633 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
634 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
635 |
REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan' |
REPO['GPGKey']='http://download.libreswan.org/RPM-GPG-KEY-libreswan' |
636 |
REPO['Exclude']='' |
REPO['Exclude']='' |
637 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
638 |
|
REPO['Priority']='10' |
639 |
createrepo |
createrepo |
640 |
|
|
641 |
|
|
644 |
# Mongodb |
# Mongodb |
645 |
##################### |
##################### |
646 |
##################### |
##################### |
647 |
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 |
648 |
REPO['reponame']="mongodb$nodever" |
REPO['reponame']="mongodb$nodever" |
649 |
REPO['pkgname']='mongodb' |
REPO['pkgname']='mongodb' |
650 |
REPO['fullreponame']="Mongodb $nodever" |
REPO['fullreponame']="Mongodb $nodever" |
1441 |
$repo->delete('IncludePkgs'); |
$repo->delete('IncludePkgs'); |
1442 |
} |
} |
1443 |
|
|
1444 |
|
} |
1445 |
|
|
1446 |
|
} |
1447 |
|
|
|
} |
|
1448 |
|
|
1449 |
|
EOF |
1450 |
|
|
1451 |
|
|
1452 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/30mongodbDeleteOldRepos |
1453 |
|
{ |
1454 |
|
for my $dbVer (qw( 0.9 1.0 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7)) { |
1455 |
|
$dataBase = "mongodb$dbVer"; |
1456 |
|
my $repo = $DB->get($dataBase); |
1457 |
|
$repo->delete if $repo; |
1458 |
|
} |
1459 |
} |
} |
1460 |
|
|
1461 |
EOF |
EOF |