1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 34 |
%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} |
13 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
14 |
Requires: e-smith-release >= 10.0 |
Requires: e-smith-release >= 10.0 |
15 |
AutoReqProv: no |
AutoReqProv: no |
16 |
|
Source0: https://raw.githubusercontent.com/ONLYOFFICE/repo/master/centos/RPM-GPG-KEY-ONLYOFFICE |
17 |
|
|
18 |
%description |
%description |
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 |
29 |
|
- Fix the error in the spec file [SME: 12389] |
30 |
|
|
31 |
|
* Wed Jul 26 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-41.sme |
32 |
|
- fix issues with libreswan repo [SME: 12389] |
33 |
|
- Remove old mongodb repos prior to 4.0 |
34 |
|
|
35 |
|
* Wed Jun 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-40.sme |
36 |
|
- add mongodb repos [SME: 11905] |
37 |
|
- add onlyoffice repo [SME: 12078] |
38 |
|
- add nginx repo [SME: 12079] |
39 |
|
|
40 |
|
* Sat May 28 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-39.sme |
41 |
|
- fix typo in pgsql url |
42 |
|
|
43 |
|
* Thu Mar 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-38.sme |
44 |
|
- add docker-ce repo [SME: 11894] |
45 |
|
|
46 |
|
* Wed Mar 09 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-37.sme |
47 |
|
- add collaboraoffice repo [SME: 11888] |
48 |
|
|
49 |
|
* Thu Feb 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-36.sme |
50 |
|
- add Copr repo for fusioninventory-agent owned by trasher [SME: 11751] |
51 |
|
- fix update event for sclo [SME: 11876] |
52 |
|
|
53 |
|
* Mon Nov 29 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-35.sme |
54 |
|
- fix node repos |
55 |
|
|
56 |
* Tue Nov 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-34.sme |
* Tue Nov 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-34.sme |
57 |
- add asterisk [SME: 11512] |
- add asterisk [SME: 11512] |
58 |
- add lemonldap [SME: 11740] |
- add lemonldap [SME: 11740] |
171 |
# if needing to add a gpg key |
# if needing to add a gpg key |
172 |
#cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/ |
#cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/ |
173 |
#/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']} |
#/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']} |
174 |
|
cp %SOURCE0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/ |
175 |
|
|
176 |
|
|
177 |
# if needing to migrate something : |
# if needing to migrate something : |
178 |
#mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate |
#mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate |
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 |
|
|
326 |
##################### |
##################### |
327 |
##################### |
##################### |
328 |
REPO['reponame']='centos-sclo-centos' |
REPO['reponame']='centos-sclo-centos' |
329 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']="centos-sclo" #${REPO['reponame']} |
330 |
REPO['fullreponame']='Centos-RH Software collections' |
REPO['fullreponame']='Centos-RH Software collections' |
331 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
332 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
333 |
REPO['status']='disabled' |
REPO['status']='enabled' |
334 |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/' |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/' |
335 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
336 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
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 |
##################### |
##################### |
346 |
##################### |
##################### |
347 |
##################### |
##################### |
348 |
REPO['reponame']='centos-sclo-rh' |
REPO['reponame']='centos-sclo-rh' |
349 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']='centos-sclo' #${REPO['reponame']} |
350 |
REPO['fullreponame']='Centos-RH Software collections' |
REPO['fullreponame']='Centos-RH Software collections' |
351 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
352 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
353 |
REPO['status']='disabled' |
REPO['status']='enabled' |
354 |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' |
355 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
356 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
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 |
362 |
|
|
363 |
|
##################### |
364 |
|
##################### |
365 |
|
#collaboraoffice.com |
366 |
|
##################### |
367 |
|
##################### |
368 |
|
REPO['reponame']='collaboraoffice' |
369 |
|
REPO['pkgname']=${REPO['reponame']} |
370 |
|
REPO['fullreponame']='collaboraoffice.com_repos_CollaboraOnline_CODE-centos' |
371 |
|
REPO['EnableGroups']='no' |
372 |
|
REPO['Visible']='yes' |
373 |
|
REPO['status']='enabled' |
374 |
|
REPO['BaseURL']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos$releasever' |
375 |
|
REPO['MirrorList']='' |
376 |
|
REPO['GPGCheck']='yes' |
377 |
|
REPO['GPGKey']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos7/repodata/repomd.xml.key' |
378 |
|
REPO['Exclude']='' |
379 |
|
REPO['IncludePkgs']='' |
380 |
|
createrepo |
381 |
|
|
382 |
|
##################### |
383 |
|
##################### |
384 |
|
#docker-ce |
385 |
|
##################### |
386 |
|
##################### |
387 |
|
REPO['reponame']='docker-ce' |
388 |
|
REPO['pkgname']=${REPO['reponame']} |
389 |
|
REPO['fullreponame']='docker-ce' |
390 |
|
REPO['EnableGroups']='no' |
391 |
|
REPO['Visible']='yes' |
392 |
|
REPO['status']='enabled' |
393 |
|
REPO['BaseURL']='https://download.docker.com/linux/centos/$releasever/$basearch/stable' |
394 |
|
REPO['MirrorList']='' |
395 |
|
REPO['GPGCheck']='yes' |
396 |
|
REPO['GPGKey']='https://download.docker.com/linux/centos/gpg' |
397 |
|
REPO['Exclude']='' |
398 |
|
REPO['IncludePkgs']='' |
399 |
createrepo |
createrepo |
400 |
|
|
401 |
|
|
402 |
##################### |
##################### |
403 |
##################### |
##################### |
404 |
#egroupware |
#egroupware |
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" |
575 |
|
|
576 |
##################### |
##################### |
577 |
##################### |
##################### |
578 |
|
#fusion inventory |
579 |
|
##################### |
580 |
|
##################### |
581 |
|
REPO['reponame']='fusioninventory-agent' |
582 |
|
REPO['pkgname']='fusioninventory-agent' |
583 |
|
REPO['fullreponame']='Copr repo for fusioninventory-agent owned by trasher' |
584 |
|
REPO['EnableGroups']='no' |
585 |
|
REPO['Visible']='no' |
586 |
|
REPO['status']='disabled' |
587 |
|
REPO['BaseURL']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/epel-$releasever-$basearch/' |
588 |
|
REPO['MirrorList']='' |
589 |
|
REPO['GPGCheck']='yes' |
590 |
|
REPO['GPGKey']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/pubkey.gpg' |
591 |
|
REPO['Exclude']='' |
592 |
|
REPO['IncludePkgs']='' |
593 |
|
createrepo |
594 |
|
|
595 |
|
|
596 |
|
##################### |
597 |
|
##################### |
598 |
# LemonLDAP-NG |
# LemonLDAP-NG |
599 |
##################### |
##################### |
600 |
##################### |
##################### |
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 |
##################### |
##################### |
683 |
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/' |
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/' |
684 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
685 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
686 |
REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan' |
REPO['GPGKey']='http://download.libreswan.org/RPM-GPG-KEY-libreswan' |
687 |
REPO['Exclude']='' |
REPO['Exclude']='' |
688 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
689 |
|
REPO['Priority']='10' |
690 |
createrepo |
createrepo |
691 |
|
|
692 |
|
|
693 |
##################### |
##################### |
694 |
##################### |
##################### |
695 |
|
# Mongodb |
696 |
|
##################### |
697 |
|
##################### |
698 |
|
for nodever in "4.0" "4.1" "4.2" "4.3" "4.4" "5.0" "6.0" "7.0"; do |
699 |
|
REPO['reponame']="mongodb$nodever" |
700 |
|
REPO['pkgname']='mongodb' |
701 |
|
REPO['fullreponame']="Mongodb $nodever" |
702 |
|
REPO['EnableGroups']='no' |
703 |
|
REPO['Visible']='yes' |
704 |
|
REPO['status']='disabled' |
705 |
|
REPO['BaseURL']="https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/$nodever/\$basearch/" |
706 |
|
REPO['MirrorList']='' |
707 |
|
REPO['GPGCheck']='yes' |
708 |
|
REPO['GPGKey']="https://www.mongodb.org/static/pgp/server-$nodever.asc" |
709 |
|
REPO['Exclude']='' |
710 |
|
REPO['IncludePkgs']='' |
711 |
|
createrepo |
712 |
|
done |
713 |
|
|
714 |
|
##################### |
715 |
|
##################### |
716 |
|
# Nginx |
717 |
|
##################### |
718 |
|
##################### |
719 |
|
REPO['reponame']='nginx' |
720 |
|
REPO['pkgname']='nginx' |
721 |
|
REPO['fullreponame']='nginx stable repo' |
722 |
|
REPO['EnableGroups']='no' |
723 |
|
REPO['Visible']='yes' |
724 |
|
REPO['status']='enabled' |
725 |
|
REPO['BaseURL']='http://nginx.org/packages/centos/$releasever/$basearch/' |
726 |
|
REPO['MirrorList']='' |
727 |
|
REPO['GPGCheck']='yes' |
728 |
|
REPO['GPGKey']='https://nginx.org/keys/nginx_signing.key' |
729 |
|
REPO['Exclude']='' |
730 |
|
REPO['IncludePkgs']='' |
731 |
|
createrepo |
732 |
|
|
733 |
|
REPO['reponame']='nginx-mainline' |
734 |
|
REPO['pkgname']='nginx' |
735 |
|
REPO['fullreponame']='nginx mainline repo' |
736 |
|
REPO['EnableGroups']='no' |
737 |
|
REPO['Visible']='yes' |
738 |
|
REPO['status']='disabled' |
739 |
|
REPO['BaseURL']='http://nginx.org/packages/mainline/centos/$releasever/$basearch/' |
740 |
|
REPO['MirrorList']='' |
741 |
|
REPO['GPGCheck']='yes' |
742 |
|
REPO['GPGKey']='https://nginx.org/keys/nginx_signing.key' |
743 |
|
REPO['Exclude']='' |
744 |
|
REPO['IncludePkgs']='' |
745 |
|
createrepo |
746 |
|
|
747 |
|
|
748 |
|
|
749 |
|
|
750 |
|
##################### |
751 |
|
##################### |
752 |
# NodeJS 4 |
# NodeJS 4 |
753 |
##################### |
##################### |
754 |
##################### |
##################### |
755 |
for nodever in "4" "5" "6" "7" "8" "9" "10" "11"; do |
for nodever in "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17"; do |
756 |
REPO['reponame']="node$nodever" |
REPO['reponame']="node$nodever" |
757 |
REPO['pkgname']='node' |
REPO['pkgname']='node' |
758 |
REPO['fullreponame']="NodeJS $nodever" |
REPO['fullreponame']="NodeJS $nodever" |
759 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
760 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
761 |
REPO['status']='disabled' |
REPO['status']='disabled' |
762 |
REPO['BaseURL']='https://rpm.nodesource.com/pub_'.$nodever.'.x/el/$releasever/$basearch/' |
REPO['BaseURL']="https://rpm.nodesource.com/pub_$nodever.x/el/\$releasever/\$basearch/" |
763 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
764 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='yes' |
765 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL' |
766 |
|
#'https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
767 |
|
#'https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL' |
768 |
REPO['Exclude']='' |
REPO['Exclude']='' |
769 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
770 |
createrepo |
createrepo |
832 |
|
|
833 |
##################### |
##################### |
834 |
##################### |
##################### |
835 |
|
# Onlyoffice |
836 |
|
##################### |
837 |
|
##################### |
838 |
|
REPO['reponame']='onlyoffice' |
839 |
|
REPO['pkgname']=${REPO['reponame']} |
840 |
|
REPO['fullreponame']='Onlyoffice document server - community edition' |
841 |
|
REPO['EnableGroups']='no' |
842 |
|
REPO['Visible']='yes' |
843 |
|
REPO['status']='enabled' |
844 |
|
REPO['BaseURL']='https://download.onlyoffice.com/repo/centos/main/noarch/' |
845 |
|
REPO['MirrorList']='' |
846 |
|
REPO['GPGCheck']='no' |
847 |
|
REPO['GPGKey']='https://raw.githubusercontent.com/ONLYOFFICE/repo/master/centos/RPM-GPG-KEY-ONLYOFFICE' |
848 |
|
REPO['Exclude']='' |
849 |
|
REPO['IncludePkgs']='' |
850 |
|
createrepo |
851 |
|
|
852 |
|
##################### |
853 |
|
##################### |
854 |
# Openfusion |
# Openfusion |
855 |
##################### |
##################### |
856 |
##################### |
##################### |
880 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
881 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
882 |
REPO['status']='disabled' |
REPO['status']='disabled' |
883 |
REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
REPO['BaseURL']='https://yum.postgresql.org/'$pgsqlver'/redhat/rhel-$releasever-$basearch/' |
884 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
885 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
886 |
ext=$pgsqlver; |
ext=$pgsqlver; |
887 |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
888 |
REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext |
REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'$ext |
889 |
REPO['Exclude']='' |
REPO['Exclude']='' |
890 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
891 |
createrepo |
createrepo |
897 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
898 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
899 |
REPO['status']='disabled' |
REPO['status']='disabled' |
900 |
REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/non-free/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/non-free/'$pgsqlver'/redhat/rhel-$releasever-$basearch/' |
901 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
902 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
903 |
ext=$pgsqlver; |
ext=$pgsqlver; |
904 |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
905 |
REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext |
REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'$ext |
906 |
REPO['Exclude']='' |
REPO['Exclude']='' |
907 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
908 |
createrepo |
createrepo |
913 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
914 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
915 |
REPO['status']='disabled' |
REPO['status']='disabled' |
916 |
REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/common/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/common/'$pgsqlver'/redhat/rhel-$releasever-$basearch/' |
917 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
918 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
919 |
ext=$pgsqlver; |
ext=$pgsqlver; |
920 |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
921 |
REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext |
REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'$ext |
922 |
REPO['Exclude']='' |
REPO['Exclude']='' |
923 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
924 |
createrepo |
createrepo |
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 |
##################### |
##################### |
1512 |
$repo->delete('IncludePkgs'); |
$repo->delete('IncludePkgs'); |
1513 |
} |
} |
1514 |
|
|
1515 |
|
} |
1516 |
|
|
1517 |
|
} |
1518 |
|
|
1519 |
|
|
1520 |
|
EOF |
1521 |
|
|
|
} |
|
1522 |
|
|
1523 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/30mongodbDeleteOldRepos |
1524 |
|
{ |
1525 |
|
for my $dbVer (qw( 0.9 1.0 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7)) { |
1526 |
|
$dataBase = "mongodb$dbVer"; |
1527 |
|
my $repo = $DB->get($dataBase); |
1528 |
|
$repo->delete if $repo; |
1529 |
|
} |
1530 |
} |
} |
1531 |
|
|
1532 |
EOF |
EOF |
1542 |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
1543 |
cat %{name}-%{version}-filelist| grep bareos > %{name}-%{version}-filelist-bareos |
cat %{name}-%{version}-filelist| grep bareos > %{name}-%{version}-filelist-bareos |
1544 |
cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo |
cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo |
1545 |
|
cat %{name}-%{version}-filelist| grep collaboraoffice > %{name}-%{version}-filelist-collaboraoffice |
1546 |
|
cat %{name}-%{version}-filelist| grep docker-ce > %{name}-%{version}-filelist-docker-ce |
1547 |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
1548 |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
1549 |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
1551 |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
1552 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
1553 |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
1554 |
|
cat %{name}-%{version}-filelist| grep fusioninventory-agent > %{name}-%{version}-filelist-fusioninventory-agent |
1555 |
cat %{name}-%{version}-filelist| grep lemonldap > %{name}-%{version}-filelist-lemonldap |
cat %{name}-%{version}-filelist| grep lemonldap > %{name}-%{version}-filelist-lemonldap |
1556 |
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
1557 |
|
cat %{name}-%{version}-filelist| grep mongodb > %{name}-%{version}-filelist-mongodb |
1558 |
|
cat %{name}-%{version}-filelist| grep nginx > %{name}-%{version}-filelist-nginx |
1559 |
|
cat %{name}-%{version}-filelist| grep node > %{name}-%{version}-filelist-node |
1560 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
1561 |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
1562 |
fi |
fi |
1563 |
cat %{name}-%{version}-filelist| grep okay > %{name}-%{version}-filelist-okay |
cat %{name}-%{version}-filelist| grep okay > %{name}-%{version}-filelist-okay |
1564 |
|
cat %{name}-%{version}-filelist| grep -i onlyoffice > %{name}-%{version}-filelist-onlyoffice |
1565 |
cat %{name}-%{version}-filelist| grep openfusion > %{name}-%{version}-filelist-openfusion |
cat %{name}-%{version}-filelist| grep openfusion > %{name}-%{version}-filelist-openfusion |
|
cat %{name}-%{version}-filelist| grep node > %{name}-%{version}-filelist-node |
|
1566 |
cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp |
cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp |
1567 |
cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory |
cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory |
1568 |
cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube |
cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube |
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 |
1633 |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
1634 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1635 |
|
|
1636 |
|
%package collaboraoffice |
1637 |
|
Summary: collaboraoffice repo |
1638 |
|
%description collaboraoffice |
1639 |
|
collaboraoffice repo |
1640 |
|
%files collaboraoffice -f %{name}-%{version}-filelist-collaboraoffice |
1641 |
|
%defattr(-,root,root) |
1642 |
|
|
1643 |
|
%package docker-ce |
1644 |
|
Summary: docker-ce |
1645 |
|
%description docker-ce |
1646 |
|
docker-ce repo |
1647 |
|
%files docker-ce -f %{name}-%{version}-filelist-docker-ce |
1648 |
|
%defattr(-,root,root) |
1649 |
|
|
1650 |
%package egroupware |
%package egroupware |
1651 |
Summary: Repository for eGroupWare |
Summary: Repository for eGroupWare |
1652 |
%description egroupware |
%description egroupware |
1696 |
%files fws -f %{name}-%{version}-filelist-fws |
%files fws -f %{name}-%{version}-filelist-fws |
1697 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1698 |
|
|
1699 |
|
%package fusioninventory-agent |
1700 |
|
Summary: Copr repo for fusioninventory-agent owned by trasher |
1701 |
|
%description fusioninventory-agent |
1702 |
|
Copr repo for fusioninventory-agent owned by trasher |
1703 |
|
%files fusioninventory-agent -f %{name}-%{version}-filelist-fusioninventory-agent |
1704 |
|
%defattr(-,root,root) |
1705 |
|
|
1706 |
%package lemonldap |
%package lemonldap |
1707 |
Summary: Lemonldap NG Repository |
Summary: Lemonldap NG Repository |
1708 |
%description lemonldap |
%description lemonldap |
1717 |
%files libreswan -f %{name}-%{version}-filelist-libreswan |
%files libreswan -f %{name}-%{version}-filelist-libreswan |
1718 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1719 |
|
|
1720 |
|
%package mongodb |
1721 |
|
Summary: MongoDB Repositories |
1722 |
|
%description mongodb |
1723 |
|
MongoDB Repositories |
1724 |
|
%files mongodb -f %{name}-%{version}-filelist-mongodb |
1725 |
|
%defattr(-,root,root) |
1726 |
|
|
1727 |
|
%package nginx |
1728 |
|
Summary: nginx Repositories |
1729 |
|
%description nginx |
1730 |
|
Nginx Repositories |
1731 |
|
%files nginx -f %{name}-%{version}-filelist-nginx |
1732 |
|
%defattr(-,root,root) |
1733 |
|
|
1734 |
%package node |
%package node |
1735 |
Summary: NodeJS Repositories |
Summary: NodeJS Repositories |
1736 |
%description node |
%description node |
1754 |
%files okay -f %{name}-%{version}-filelist-okay |
%files okay -f %{name}-%{version}-filelist-okay |
1755 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1756 |
|
|
1757 |
|
%package onlyoffice |
1758 |
|
Summary: onlyoffice Repository |
1759 |
|
%description onlyoffice |
1760 |
|
onlyoffice Repository |
1761 |
|
%files onlyoffice -f %{name}-%{version}-filelist-onlyoffice |
1762 |
|
%defattr(-,root,root) |
1763 |
|
|
1764 |
%package openfusion |
%package openfusion |
1765 |
Summary: Openfusion Repository |
Summary: Openfusion Repository |
1766 |
%description openfusion |
%description openfusion |
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 |