1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 42 |
%define release 43 |
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 |
|
* Fri Oct 27 2023 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-43.sme |
23 |
|
- add new elastic repos [SME: 12422] |
24 |
|
- add wandisco distribution of git [SME: 12345] |
25 |
|
- add priority to centos sclo [SME: 12278] |
26 |
|
- add lemonldap 1.4 1.9 and 2.0 on top of stable (2.0) [SME: 12143] |
27 |
|
|
28 |
* Mon Sep 04 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-42.sme |
* Mon Sep 04 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-42.sme |
29 |
- Fix the error in the spec file [SME: 12389] |
- Fix the error in the spec file [SME: 12389] |
30 |
|
|
209 |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude |
210 |
[[ "${REPO['IncludePkgs']}" != '' ]] && echo "${REPO['IncludePkgs']}" >\ |
[[ "${REPO['IncludePkgs']}" != '' ]] && echo "${REPO['IncludePkgs']}" >\ |
211 |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/IncludePkgs |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/IncludePkgs |
212 |
|
[[ "${REPO['Priority']}" != '' ]] && echo "${REPO['Priority']}" >\ |
213 |
|
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Priority |
214 |
return 0 |
return 0 |
215 |
} |
} |
216 |
|
|
337 |
REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo' |
REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo' |
338 |
REPO['Exclude']='' |
REPO['Exclude']='' |
339 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
340 |
|
REPO['Priority']='10' |
341 |
createrepo |
createrepo |
342 |
|
|
343 |
##################### |
##################### |
357 |
REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo' |
REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo' |
358 |
REPO['Exclude']='' |
REPO['Exclude']='' |
359 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
360 |
|
REPO['Priority']='10' |
361 |
createrepo |
createrepo |
362 |
|
|
363 |
##################### |
##################### |
423 |
#elastic |
#elastic |
424 |
##################### |
##################### |
425 |
##################### |
##################### |
426 |
declare -A elashort=( ['6.x']='6.x' ['5.x']='5.x' ['1.6']='1' ) |
declare -A elashort=(['oss-8.x']='oss-8.x' ['8.x']='8.x' ['7.x']='7.x' ['6.x']='6.x' ['5.x']='5.x' ['1.6']='1' ) |
427 |
for elasver in "6.x" "5.x" "1.6"; do |
for elasver in "8.x" "7.x" "6.x" "5.x" "1.6"; do |
428 |
REPO['reponame']="elastic${elashort[$elasver]}" |
REPO['reponame']="elastic${elashort[$elasver]}" |
429 |
REPO['pkgname']='elastic' |
REPO['pkgname']='elastic' |
430 |
REPO['fullreponame']="Elasticsearch repository for $elasver packages" |
REPO['fullreponame']="Elasticsearch repository for $elasver packages" |
603 |
REPO['fullreponame']='LemonLDAP::NG packages' |
REPO['fullreponame']='LemonLDAP::NG packages' |
604 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
605 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
606 |
REPO['status']='disabled' |
REPO['status']='enabled' |
607 |
REPO['BaseURL']='https://lemonldap-ng.org/redhat/stable/$releasever/noarch' |
REPO['BaseURL']='https://lemonldap-ng.org/redhat/stable/$releasever/noarch' |
608 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
609 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
626 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
627 |
createrepo |
createrepo |
628 |
|
|
629 |
|
EPO['reponame']='lemonldap-ng-1.4' |
630 |
|
REPO['pkgname']='lemonldap1.4' |
631 |
|
REPO['fullreponame']='LemonLDAP::NG packages 1.4' |
632 |
|
REPO['EnableGroups']='no' |
633 |
|
REPO['Visible']='yes' |
634 |
|
REPO['status']='disabled' |
635 |
|
REPO['BaseURL']='https://lemonldap-ng.org/redhat/1.4/$releasever/noarch' |
636 |
|
REPO['MirrorList']='' |
637 |
|
REPO['GPGCheck']='yes' |
638 |
|
REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' |
639 |
|
REPO['Exclude']='' |
640 |
|
REPO['IncludePkgs']='' |
641 |
|
createrepo |
642 |
|
|
643 |
|
REPO['reponame']='lemonldap-ng-1.9' |
644 |
|
REPO['pkgname']='lemonldap1.9' |
645 |
|
REPO['fullreponame']='LemonLDAP::NG packages 1.9' |
646 |
|
REPO['EnableGroups']='no' |
647 |
|
REPO['Visible']='yes' |
648 |
|
REPO['status']='disabled' |
649 |
|
REPO['BaseURL']='https://lemonldap-ng.org/redhat/1.9/$releasever/noarch' |
650 |
|
REPO['MirrorList']='' |
651 |
|
REPO['GPGCheck']='yes' |
652 |
|
REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' |
653 |
|
REPO['Exclude']='' |
654 |
|
REPO['IncludePkgs']='' |
655 |
|
createrepo |
656 |
|
|
657 |
|
REPO['reponame']='lemonldap-ng-2.0' |
658 |
|
REPO['pkgname']='lemonldap2.0' |
659 |
|
REPO['fullreponame']='LemonLDAP::NG packages 2.0' |
660 |
|
REPO['EnableGroups']='no' |
661 |
|
REPO['Visible']='yes' |
662 |
|
REPO['status']='disabled' |
663 |
|
REPO['BaseURL']='https://lemonldap-ng.org/redhat/2.0/$releasever/noarch' |
664 |
|
REPO['MirrorList']='' |
665 |
|
REPO['GPGCheck']='yes' |
666 |
|
REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' |
667 |
|
REPO['Exclude']='' |
668 |
|
REPO['IncludePkgs']='' |
669 |
|
createrepo |
670 |
|
|
671 |
|
|
672 |
##################### |
##################### |
1268 |
|
|
1269 |
##################### |
##################### |
1270 |
##################### |
##################### |
1271 |
|
#Wandisco git |
1272 |
|
##################### |
1273 |
|
##################### |
1274 |
|
REPO['reponame']='WANdisco-git' |
1275 |
|
REPO['pkgname']=${REPO['reponame']} |
1276 |
|
REPO['fullreponame']='WANdisco Distribution of git' |
1277 |
|
REPO['EnableGroups']='no' |
1278 |
|
REPO['Visible']='yes' |
1279 |
|
REPO['status']='enabled' |
1280 |
|
REPO['BaseURL']='' |
1281 |
|
REPO['MirrorList']='https://opensource.wandisco.com/rhel/$releasever/git/$basearch' |
1282 |
|
REPO['GPGCheck']='yes' |
1283 |
|
REPO['GPGKey']="https://opensource.wandisco.com/RPM-GPG-KEY-WANdisco" |
1284 |
|
REPO['Exclude']='' |
1285 |
|
REPO['IncludePkgs']='' |
1286 |
|
REPO['Priority']='10' |
1287 |
|
createrepo |
1288 |
|
|
1289 |
|
##################### |
1290 |
|
##################### |
1291 |
#Webtatic |
#Webtatic |
1292 |
##################### |
##################### |
1293 |
##################### |
##################### |
1573 |
cat %{name}-%{version}-filelist| grep springdale > %{name}-%{version}-filelist-springdale |
cat %{name}-%{version}-filelist| grep springdale > %{name}-%{version}-filelist-springdale |
1574 |
cat %{name}-%{version}-filelist| grep stephdl > %{name}-%{version}-filelist-stephdl |
cat %{name}-%{version}-filelist| grep stephdl > %{name}-%{version}-filelist-stephdl |
1575 |
cat %{name}-%{version}-filelist| grep virtualbox > %{name}-%{version}-filelist-virtualbox |
cat %{name}-%{version}-filelist| grep virtualbox > %{name}-%{version}-filelist-virtualbox |
1576 |
|
cat %{name}-%{version}-filelist| grep -i wandisco > %{name}-%{version}-filelist-wandisco |
1577 |
cat %{name}-%{version}-filelist| grep webtatic > %{name}-%{version}-filelist-webtatic |
cat %{name}-%{version}-filelist| grep webtatic > %{name}-%{version}-filelist-webtatic |
1578 |
cat %{name}-%{version}-filelist| grep xymon > %{name}-%{version}-filelist-xymon |
cat %{name}-%{version}-filelist| grep xymon > %{name}-%{version}-filelist-xymon |
1579 |
cat %{name}-%{version}-filelist| grep zabbix > %{name}-%{version}-filelist-zabbix |
cat %{name}-%{version}-filelist| grep zabbix > %{name}-%{version}-filelist-zabbix |
1845 |
%files virtualbox -f %{name}-%{version}-filelist-virtualbox |
%files virtualbox -f %{name}-%{version}-filelist-virtualbox |
1846 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1847 |
|
|
1848 |
|
%package wandisco |
1849 |
|
Summary: WANdisco Distribution of git |
1850 |
|
%description wandisco |
1851 |
|
WANdisco Distribution of git |
1852 |
|
%files wandisco -f %{name}-%{version}-filelist-wandisco |
1853 |
|
%defattr(-,root,root) |
1854 |
|
|
1855 |
%package webtatic |
%package webtatic |
1856 |
Summary: Webtatic Repository |
Summary: Webtatic Repository |
1857 |
%description webtatic |
%description webtatic |