/[smecontribs]/rpms/smeserver-extrarepositories/contribs10/smeserver-extrarepositories.spec
ViewVC logotype

Diff of /rpms/smeserver-extrarepositories/contribs10/smeserver-extrarepositories.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.11 by jcrisp, Sun May 2 13:04:29 2021 UTC Revision 1.24 by jcrisp, Mon Sep 4 14:55:43 2023 UTC
# Line 1  Line 1 
1  %define name smeserver-extrarepositories  %define name smeserver-extrarepositories
2  %define version 0.1  %define version 0.1
3  %define release 31  %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}
# Line 11  Group: SMEserver/addon Line 11  Group: SMEserver/addon
11  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
12  BuildArchitectures: noarch  BuildArchitectures: noarch
13  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
14  Requires: e-smith-release >= 9.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    * 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
30    - add mongodb repos [SME: 11905]
31    - add onlyoffice repo [SME: 12078]
32    - add nginx repo [SME: 12079]
33    
34    * Sat May 28 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-39.sme
35    - fix typo in pgsql url
36    
37    * Thu Mar 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-38.sme
38    - add docker-ce repo [SME: 11894]
39    
40    * Wed Mar 09 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-37.sme
41    - add collaboraoffice repo [SME: 11888]
42    
43    * Thu Feb 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-36.sme
44    - add Copr repo for fusioninventory-agent owned by trasher [SME: 11751]
45    - fix update event for sclo [SME: 11876]
46    
47    * Mon Nov 29 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-35.sme
48    - fix node repos
49    
50    * Tue Nov 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-34.sme
51    - add asterisk [SME: 11512]
52    - add lemonldap [SME: 11740]
53    - add bareos [SME: 11741]
54    - add zabbix repo up to 55 and add scl sub repos [SME: 11744]
55    
56    * Tue Jul 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-33.sme
57    - add migrate fragment for pwauth in epel [SME: 11639]
58    
59    * Wed Jun 30 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-32.sme
60    - Requires e-smith >= 10
61    - exclude pwauh from EPEL [SME: 11639]
62    
63  * Sun May 02 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-31.sme  * Sun May 02 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-31.sme
64  - add perl-JSON to openfusion [SME: 11579]  - add perl-JSON to openfusion [SME: 11579]
65    
# Line 123  mkdir -p $RPM_BUILD_ROOT/usr/share/rpm-g Line 165  mkdir -p $RPM_BUILD_ROOT/usr/share/rpm-g
165  # if needing to add a gpg key  # if needing to add a gpg key
166  #cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/  #cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/
167  #/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']}  #/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']}
168    cp %SOURCE0  $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/
169    
170    
171  # if needing to migrate something :  # if needing to migrate something :
172  #mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate  #mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate
# Line 163  return 0 Line 207  return 0
207  }  }
208    
209    
210    #####################
211    #####################
212    # asterisk
213    #####################
214    #####################
215    for elasver  in "13" "16"  '17' '18' ; do
216    REPO['reponame']="asterisk-$elasver"
217    REPO['pkgname']='asterisk'
218    REPO['fullreponame']="Asterisk $elasver (LTS) Packages @ tucny.com"
219    REPO['EnableGroups']='no'
220    REPO['Visible']='yes'
221    REPO['status']='disabled'
222    REPO['BaseURL']=""#https://ast.tucny.com/repo/asterisk-$elasver/el\$releasever/\$basearch/
223    REPO['MirrorList']="https://ast.tucny.com/mirrorlist.php?release=\$releasever&arch=\$basearch&repo=asterisk-$elasver"
224    REPO['GPGCheck']='yes'
225    REPO['GPGKey']="https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny"
226    REPO['Exclude']=''
227    REPO['IncludePkgs']=''
228    createrepo
229    done
230    
231    REPO['reponame']='asterisk-common'
232    REPO['pkgname']='asterisk'
233    REPO['fullreponame']='Asterisk Common Requirement Packages @ tucny.com'
234    REPO['EnableGroups']='no'
235    REPO['Visible']='no'
236    REPO['status']='disabled'
237    REPO['BaseURL']=''#https://ast.tucny.com/repo/asterisk-common/el$releasever/$basearch/
238    REPO['MirrorList']='https://ast.tucny.com/mirrorlist.php?release=$releasever&arch=$basearch&repo=asterisk-common'
239    REPO['GPGCheck']='yes'
240    REPO['GPGKey']='https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny'
241    REPO['Exclude']=''
242    REPO['IncludePkgs']=''
243    createrepo
244    
245    
246    
247  #####################  #####################
248  #####################  #####################
# Line 185  createrepo Line 265  createrepo
265    
266  #####################  #####################
267  #####################  #####################
268    # BareOS
269    #####################
270    #####################
271    REPO['reponame']='bareos20'
272    REPO['pkgname']='bareos'
273    REPO['fullreponame']='Backup Archiving Recovery Open Sourced'
274    REPO['EnableGroups']='no'
275    REPO['Visible']='yes'
276    REPO['status']='disabled'
277    REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever'
278    REPO['MirrorList']=''
279    REPO['GPGCheck']='yes'
280    REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key'
281    REPO['Exclude']=''
282    REPO['IncludePkgs']=''
283    createrepo
284    
285    REPO['reponame']='bareos20-source'
286    REPO['pkgname']='bareos'
287    REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Sources'
288    REPO['EnableGroups']='no'
289    REPO['Visible']='no'
290    REPO['status']='disabled'
291    REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/src'
292    REPO['MirrorList']=''
293    REPO['GPGCheck']='yes'
294    REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key'
295    REPO['Exclude']=''
296    REPO['IncludePkgs']=''
297    createrepo
298    
299    REPO['reponame']='bareos20-debuginfo'
300    REPO['pkgname']='bareos'
301    REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Debuginfo'
302    REPO['EnableGroups']='no'
303    REPO['Visible']='no'
304    REPO['status']='disabled'
305    REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/debug'
306    REPO['MirrorList']=''
307    REPO['GPGCheck']='yes'
308    REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key'
309    REPO['Exclude']=''
310    REPO['IncludePkgs']=''
311    createrepo
312    
313    
314    
315    #####################
316    #####################
317  #centos-sclo-centos  #centos-sclo-centos
318  #####################  #####################
319  #####################  #####################
320  REPO['reponame']='centos-sclo-centos'  REPO['reponame']='centos-sclo-centos'
321  REPO['pkgname']=${REPO['reponame']}  REPO['pkgname']="centos-sclo" #${REPO['reponame']}
322  REPO['fullreponame']='Centos-RH Software collections'  REPO['fullreponame']='Centos-RH Software collections'
323  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
324  REPO['Visible']='yes'  REPO['Visible']='yes'
325  REPO['status']='disabled'  REPO['status']='enabled'
326  REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/'  REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/'
327  REPO['MirrorList']=''  REPO['MirrorList']=''
328  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
# Line 208  createrepo Line 337  createrepo
337  #####################  #####################
338  #####################  #####################
339  REPO['reponame']='centos-sclo-rh'  REPO['reponame']='centos-sclo-rh'
340  REPO['pkgname']=${REPO['reponame']}  REPO['pkgname']='centos-sclo' #${REPO['reponame']}
341  REPO['fullreponame']='Centos-RH Software collections'  REPO['fullreponame']='Centos-RH Software collections'
342  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
343  REPO['Visible']='yes'  REPO['Visible']='yes'
344  REPO['status']='disabled'  REPO['status']='enabled'
345  REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/'  REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/'
346  REPO['MirrorList']=''  REPO['MirrorList']=''
347  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
# Line 223  createrepo Line 352  createrepo
352    
353  #####################  #####################
354  #####################  #####################
355    #collaboraoffice.com
356    #####################
357    #####################
358    REPO['reponame']='collaboraoffice'
359    REPO['pkgname']=${REPO['reponame']}
360    REPO['fullreponame']='collaboraoffice.com_repos_CollaboraOnline_CODE-centos'
361    REPO['EnableGroups']='no'
362    REPO['Visible']='yes'
363    REPO['status']='enabled'
364    REPO['BaseURL']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos$releasever'
365    REPO['MirrorList']=''
366    REPO['GPGCheck']='yes'
367    REPO['GPGKey']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos7/repodata/repomd.xml.key'
368    REPO['Exclude']=''
369    REPO['IncludePkgs']=''
370    createrepo
371    
372    #####################
373    #####################
374    #docker-ce
375    #####################
376    #####################
377    REPO['reponame']='docker-ce'
378    REPO['pkgname']=${REPO['reponame']}
379    REPO['fullreponame']='docker-ce'
380    REPO['EnableGroups']='no'
381    REPO['Visible']='yes'
382    REPO['status']='enabled'
383    REPO['BaseURL']='https://download.docker.com/linux/centos/$releasever/$basearch/stable'
384    REPO['MirrorList']=''
385    REPO['GPGCheck']='yes'
386    REPO['GPGKey']='https://download.docker.com/linux/centos/gpg'
387    REPO['Exclude']=''
388    REPO['IncludePkgs']=''
389    createrepo
390    
391    
392    #####################
393    #####################
394  #egroupware  #egroupware
395  #####################  #####################
396  #####################  #####################
# Line 315  REPO['BaseURL']='http://download.fedorap Line 483  REPO['BaseURL']='http://download.fedorap
483  REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch'  REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch'
484  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
485  REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'  REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
486  REPO['Exclude']='perl-Razor-Agent'  REPO['Exclude']='perl-Razor-Agent,pwauth'
487  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
488  createrepo  createrepo
489    
# Line 397  createrepo Line 565  createrepo
565    
566  #####################  #####################
567  #####################  #####################
568    #fusion inventory
569    #####################
570    #####################
571    REPO['reponame']='fusioninventory-agent'
572    REPO['pkgname']='fusioninventory-agent'
573    REPO['fullreponame']='Copr repo for fusioninventory-agent owned by trasher'
574    REPO['EnableGroups']='no'
575    REPO['Visible']='no'
576    REPO['status']='disabled'
577    REPO['BaseURL']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/epel-$releasever-$basearch/'
578    REPO['MirrorList']=''
579    REPO['GPGCheck']='yes'
580    REPO['GPGKey']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/pubkey.gpg'
581    REPO['Exclude']=''
582    REPO['IncludePkgs']=''
583    createrepo
584    
585    
586    #####################
587    #####################
588    # LemonLDAP-NG
589    #####################
590    #####################
591    REPO['reponame']='lemonldap-ng'
592    REPO['pkgname']='lemonldap'
593    REPO['fullreponame']='LemonLDAP::NG packages'
594    REPO['EnableGroups']='no'
595    REPO['Visible']='yes'
596    REPO['status']='disabled'
597    REPO['BaseURL']='https://lemonldap-ng.org/redhat/stable/$releasever/noarch'
598    REPO['MirrorList']=''
599    REPO['GPGCheck']='yes'
600    REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2'
601    REPO['Exclude']=''
602    REPO['IncludePkgs']=''
603    createrepo
604    
605    REPO['reponame']='lemonldap-ng-extras'
606    REPO['pkgname']='lemonldap'
607    REPO['fullreponame']='LemonLDAP::NG extra packages'
608    REPO['EnableGroups']='no'
609    REPO['Visible']='yes'
610    REPO['status']='disabled'
611    REPO['BaseURL']='https://lemonldap-ng.org/redhat/extras/$releasever/noarch'
612    REPO['MirrorList']=''
613    REPO['GPGCheck']='yes'
614    REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2'
615    REPO['Exclude']=''
616    REPO['IncludePkgs']=''
617    createrepo
618    
619    
620    
621    #####################
622    #####################
623  # Libreswan  # Libreswan
624  #####################  #####################
625  #####################  #####################
# Line 404  REPO['reponame']='libreswan' Line 627  REPO['reponame']='libreswan'
627  REPO['pkgname']=${REPO['reponame']}  REPO['pkgname']=${REPO['reponame']}
628  REPO['fullreponame']='Libreswan'  REPO['fullreponame']='Libreswan'
629  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
630  REPO['Visible']='no'  REPO['Visible']='yes'
631  REPO['status']='disabled'  REPO['status']='disabled'
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    
642  #####################  #####################
643  #####################  #####################
644    # Mongodb
645    #####################
646    #####################
647    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"
649    REPO['pkgname']='mongodb'
650    REPO['fullreponame']="Mongodb $nodever"
651    REPO['EnableGroups']='no'
652    REPO['Visible']='yes'
653    REPO['status']='disabled'
654    REPO['BaseURL']="https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/$nodever/\$basearch/"
655    REPO['MirrorList']=''
656    REPO['GPGCheck']='yes'
657    REPO['GPGKey']="https://www.mongodb.org/static/pgp/server-$nodever.asc"
658    REPO['Exclude']=''
659    REPO['IncludePkgs']=''
660    createrepo
661    done
662    
663    #####################
664    #####################
665    # Nginx
666    #####################
667    #####################
668    REPO['reponame']='nginx'
669    REPO['pkgname']='nginx'
670    REPO['fullreponame']='nginx stable repo'
671    REPO['EnableGroups']='no'
672    REPO['Visible']='yes'
673    REPO['status']='enabled'
674    REPO['BaseURL']='http://nginx.org/packages/centos/$releasever/$basearch/'
675    REPO['MirrorList']=''
676    REPO['GPGCheck']='yes'
677    REPO['GPGKey']='https://nginx.org/keys/nginx_signing.key'
678    REPO['Exclude']=''
679    REPO['IncludePkgs']=''
680    createrepo
681    
682    REPO['reponame']='nginx-mainline'
683    REPO['pkgname']='nginx'
684    REPO['fullreponame']='nginx mainline repo'
685    REPO['EnableGroups']='no'
686    REPO['Visible']='yes'
687    REPO['status']='disabled'
688    REPO['BaseURL']='http://nginx.org/packages/mainline/centos/$releasever/$basearch/'
689    REPO['MirrorList']=''
690    REPO['GPGCheck']='yes'
691    REPO['GPGKey']='https://nginx.org/keys/nginx_signing.key'
692    REPO['Exclude']=''
693    REPO['IncludePkgs']=''
694    createrepo
695    
696    
697    
698    
699    #####################
700    #####################
701  # NodeJS 4  # NodeJS 4
702  #####################  #####################
703  #####################  #####################
704  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
705  REPO['reponame']="node$nodever"  REPO['reponame']="node$nodever"
706  REPO['pkgname']='node'  REPO['pkgname']='node'
707  REPO['fullreponame']="NodeJS $nodever"  REPO['fullreponame']="NodeJS $nodever"
708  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
709  REPO['Visible']='no'  REPO['Visible']='yes'
710  REPO['status']='disabled'  REPO['status']='disabled'
711  REPO['BaseURL']='https://rpm.nodesource.com/pub_'.$nodever.'.x/el/$releasever/$basearch/'  REPO['BaseURL']="https://rpm.nodesource.com/pub_$nodever.x/el/\$releasever/\$basearch/"
712  REPO['MirrorList']=''  REPO['MirrorList']=''
713  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
714  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']='https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL'
715    #'https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
716    #'https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL'
717  REPO['Exclude']=''  REPO['Exclude']=''
718  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
719  createrepo  createrepo
# Line 447  REPO['reponame']='odoo10-nightly' Line 730  REPO['reponame']='odoo10-nightly'
730  REPO['pkgname']='odoo'  REPO['pkgname']='odoo'
731  REPO['fullreponame']='Odoo 10 Nightly - EL7'  REPO['fullreponame']='Odoo 10 Nightly - EL7'
732  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
733  REPO['Visible']='no'  REPO['Visible']='yes'
734  REPO['status']='disabled'  REPO['status']='disabled'
735  REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'  REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'
736  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 466  REPO['reponame']='odoo9-nightly' Line 749  REPO['reponame']='odoo9-nightly'
749  REPO['pkgname']='odoo'  REPO['pkgname']='odoo'
750  REPO['fullreponame']='Odoo 9 Nightly - EL7'  REPO['fullreponame']='Odoo 9 Nightly - EL7'
751  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
752  REPO['Visible']='no'  REPO['Visible']='yes'
753  REPO['status']='disabled'  REPO['status']='disabled'
754  REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'  REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'
755  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 486  REPO['reponame']='okay' Line 769  REPO['reponame']='okay'
769  REPO['pkgname']=${REPO['reponame']}  REPO['pkgname']=${REPO['reponame']}
770  REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'  REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'
771  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
772  REPO['Visible']='no'  REPO['Visible']='yes'
773  REPO['status']='disabled'  REPO['status']='disabled'
774  REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'  REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'
775  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 498  createrepo Line 781  createrepo
781    
782  #####################  #####################
783  #####################  #####################
784    # Onlyoffice
785    #####################
786    #####################
787    REPO['reponame']='onlyoffice'
788    REPO['pkgname']=${REPO['reponame']}
789    REPO['fullreponame']='Onlyoffice document server - community edition'
790    REPO['EnableGroups']='no'
791    REPO['Visible']='yes'
792    REPO['status']='enabled'
793    REPO['BaseURL']='https://download.onlyoffice.com/repo/centos/main/noarch/'
794    REPO['MirrorList']=''
795    REPO['GPGCheck']='no'
796    REPO['GPGKey']='https://raw.githubusercontent.com/ONLYOFFICE/repo/master/centos/RPM-GPG-KEY-ONLYOFFICE'
797    REPO['Exclude']=''
798    REPO['IncludePkgs']=''
799    createrepo
800    
801    #####################
802    #####################
803  # Openfusion  # Openfusion
804  #####################  #####################
805  #####################  #####################
# Line 525  REPO['reponame']="pgsql$pgsqlver" Line 827  REPO['reponame']="pgsql$pgsqlver"
827  REPO['pkgname']='pgsql'  REPO['pkgname']='pgsql'
828  REPO['fullreponame']="Postgresql $pgsqlver"  REPO['fullreponame']="Postgresql $pgsqlver"
829  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
830  REPO['Visible']='no'  REPO['Visible']='yes'
831  REPO['status']='disabled'  REPO['status']='disabled'
832  REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/'  REPO['BaseURL']='https://yum.postgresql.org/'$pgsqlver'/redhat/rhel-$releasever-$basearch/'
833  REPO['MirrorList']=''  REPO['MirrorList']=''
834  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
835  ext=$pgsqlver;  ext=$pgsqlver;
836  [[ "$pgsqlver" == "9.6" ]] && ext="96";  [[ "$pgsqlver" == "9.6" ]] && ext="96";
837  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
838  REPO['Exclude']=''  REPO['Exclude']=''
839  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
840  createrepo  createrepo
# Line 542  REPO['reponame']="pgsql$pgsqlver-nonfree Line 844  REPO['reponame']="pgsql$pgsqlver-nonfree
844  REPO['pkgname']='pgsql'  REPO['pkgname']='pgsql'
845  REPO['fullreponame']="Postgresql $pgsqlver non free"  REPO['fullreponame']="Postgresql $pgsqlver non free"
846  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
847  REPO['Visible']='no'  REPO['Visible']='yes'
848  REPO['status']='disabled'  REPO['status']='disabled'
849  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/'
850  REPO['MirrorList']=''  REPO['MirrorList']=''
851  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
852  ext=$pgsqlver;  ext=$pgsqlver;
853  [[ "$pgsqlver" == "9.6" ]] && ext="96";  [[ "$pgsqlver" == "9.6" ]] && ext="96";
854  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
855  REPO['Exclude']=''  REPO['Exclude']=''
856  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
857  createrepo  createrepo
# Line 558  REPO['reponame']="pgsql$pgsqlver-common" Line 860  REPO['reponame']="pgsql$pgsqlver-common"
860  REPO['pkgname']='pgsql'  REPO['pkgname']='pgsql'
861  REPO['fullreponame']="Postgresql $pgsqlver non free"  REPO['fullreponame']="Postgresql $pgsqlver non free"
862  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
863  REPO['Visible']='no'  REPO['Visible']='yes'
864  REPO['status']='disabled'  REPO['status']='disabled'
865  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/'
866  REPO['MirrorList']=''  REPO['MirrorList']=''
867  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
868  ext=$pgsqlver;  ext=$pgsqlver;
869  [[ "$pgsqlver" == "9.6" ]] && ext="96";  [[ "$pgsqlver" == "9.6" ]] && ext="96";
870  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
871  REPO['Exclude']=''  REPO['Exclude']=''
872  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
873  createrepo  createrepo
# Line 960  createrepo Line 1262  createrepo
1262  #Zabbix2.4  #Zabbix2.4
1263  #####################  #####################
1264  #####################  #####################
1265  declare -A zabshort=( ['1.8']='18' ['2.0']='20' ['2.0']='20' ['2.4']='24' ['3.0']='30' ['3.2']='32' ['3.4']='34' ['4.0']='40' ['4.2']='42' ['4.4']='44' ['4.5']='45' ['5.0']='50' ['5.1']='51' ['5.2']='52' ['5.3']='53')  declare -A zabshort=( ['1.8']='18' ['2.0']='20' ['2.0']='20' ['2.4']='24' ['3.0']='30' ['3.2']='32' ['3.4']='34' ['4.0']='40' ['4.2']='42' ['4.4']='44' ['4.5']='45' ['5.0']='50' ['5.1']='51' ['5.2']='52' ['5.3']='53' ['5.4']='54'  ['5.5']='55' )
1266  for elasver  in "4.2" "4.4"  '4.5' '5.0' '5.1' '5.2' '5.3'; do  for elasver  in "4.2" "4.4"  '4.5' '5.0' '5.1' '5.2' '5.3' '5.4' '5.5'; do
1267  REPO['reponame']="zabbix${zabshort[$elasver]}"  REPO['reponame']="zabbix${zabshort[$elasver]}"
1268  REPO['pkgname']='zabbix'  REPO['pkgname']='zabbix'
1269  REPO['fullreponame']="Zabbix $elasver Official Repository"  REPO['fullreponame']="Zabbix $elasver Official Repository"
# Line 977  REPO['IncludePkgs']='' Line 1279  REPO['IncludePkgs']=''
1279  createrepo  createrepo
1280  done  done
1281    
1282    # webfront sclo
1283    for elasver  in '5.0' '5.1'; do
1284    REPO['reponame']="zabbix${zabshort[$elasver]}-frontend"
1285    REPO['pkgname']='zabbix'
1286    REPO['fullreponame']="Zabbix $elasver Official Repository"
1287    REPO['EnableGroups']='no'
1288    REPO['Visible']='yes'
1289    REPO['status']='disabled'
1290    REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/frontend/"
1291    REPO['MirrorList']=''
1292    REPO['GPGCheck']='yes'
1293    REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591"
1294    REPO['Exclude']=''
1295    REPO['IncludePkgs']=''
1296    createrepo
1297    done
1298    
1299    
1300    
1301  #####################  #####################
1302  #####################  #####################
1303  #zmrepo  #zmrepo
# Line 1034  EOF Line 1355  EOF
1355    
1356  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel
1357  {  {
1358      my @add = split(/[,; ]+/, '');      my @add = split(/[,; ]+/, 'pwauth');
1359      my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make');      my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make');
1360    
1361      for my $name ( qw(epel) )      for my $name ( qw(epel) )
# Line 1120  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi Line 1441  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi
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
# Line 1135  EOF Line 1467  EOF
1467    
1468  rm -f %{name}-%{version}-filelist*  rm -f %{name}-%{version}-filelist*
1469  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist
1470    cat %{name}-%{version}-filelist|grep asterisk                   > %{name}-%{version}-filelist-asterisk
1471  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic
1472    cat %{name}-%{version}-filelist| grep bareos                    > %{name}-%{version}-filelist-bareos
1473  cat %{name}-%{version}-filelist| grep centos-sclo               > %{name}-%{version}-filelist-centos-sclo  cat %{name}-%{version}-filelist| grep centos-sclo               > %{name}-%{version}-filelist-centos-sclo
1474    cat %{name}-%{version}-filelist| grep collaboraoffice           > %{name}-%{version}-filelist-collaboraoffice
1475    cat %{name}-%{version}-filelist| grep docker-ce                 > %{name}-%{version}-filelist-docker-ce
1476  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware
1477  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic
1478  cat %{name}-%{version}-filelist| grep elrepo                    > %{name}-%{version}-filelist-elrepo  cat %{name}-%{version}-filelist| grep elrepo                    > %{name}-%{version}-filelist-elrepo
# Line 1144  cat %{name}-%{version}-filelist| grep ep Line 1480  cat %{name}-%{version}-filelist| grep ep
1480  cat %{name}-%{version}-filelist| grep erlang                    > %{name}-%{version}-filelist-erlang  cat %{name}-%{version}-filelist| grep erlang                    > %{name}-%{version}-filelist-erlang
1481  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch
1482  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws
1483    cat %{name}-%{version}-filelist| grep fusioninventory-agent     > %{name}-%{version}-filelist-fusioninventory-agent
1484    cat %{name}-%{version}-filelist| grep lemonldap                 > %{name}-%{version}-filelist-lemonldap
1485  cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan  cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan
1486    cat %{name}-%{version}-filelist| grep mongodb                   > %{name}-%{version}-filelist-mongodb
1487    cat %{name}-%{version}-filelist| grep nginx                     > %{name}-%{version}-filelist-nginx
1488    cat %{name}-%{version}-filelist| grep node                      > %{name}-%{version}-filelist-node
1489  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
1490  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo
1491  fi  fi
1492  cat %{name}-%{version}-filelist| grep okay                      > %{name}-%{version}-filelist-okay  cat %{name}-%{version}-filelist| grep okay                      > %{name}-%{version}-filelist-okay
1493    cat %{name}-%{version}-filelist| grep -i onlyoffice             > %{name}-%{version}-filelist-onlyoffice
1494  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  
1495  cat %{name}-%{version}-filelist| grep reetp                     > %{name}-%{version}-filelist-reetp  cat %{name}-%{version}-filelist| grep reetp                     > %{name}-%{version}-filelist-reetp
1496  cat %{name}-%{version}-filelist| grep remi-ocsinventory         > %{name}-%{version}-filelist-remi-ocsinventory  cat %{name}-%{version}-filelist| grep remi-ocsinventory         > %{name}-%{version}-filelist-remi-ocsinventory
1497  cat %{name}-%{version}-filelist| grep remi-roundcube            > %{name}-%{version}-filelist-remi-roundcube  cat %{name}-%{version}-filelist| grep remi-roundcube            > %{name}-%{version}-filelist-remi-roundcube
# Line 1192  case "$1" in Line 1533  case "$1" in
1533                  # this is an upgrade                  # this is an upgrade
1534          ;;          ;;
1535  esac  esac
1536    %package asterisk
1537    Summary: Asterisk Repository tucny.com
1538    %description asterisk
1539    Asterisk Repository tucny.com
1540    %files asterisk -f  %{name}-%{version}-filelist-asterisk
1541    %defattr(-,root,root)
1542    
1543  %package atomic  %package atomic
1544  Summary: Atomic Repository  Summary: Atomic Repository
1545  %description atomic  %description atomic
# Line 1199  Atomic Repository Line 1547  Atomic Repository
1547  %files atomic -f  %{name}-%{version}-filelist-atomic  %files atomic -f  %{name}-%{version}-filelist-atomic
1548  %defattr(-,root,root)  %defattr(-,root,root)
1549    
1550    %package bareos
1551    Summary: Backup Archiving Recovery Open Sourced
1552    %description bareos
1553    Backup Archiving Recovery Open Sourced  repository
1554    %files bareos -f  %{name}-%{version}-filelist-bareos
1555    %defattr(-,root,root)
1556    
1557  %package centos-sclo  %package centos-sclo
1558  Summary: CentOS Red-Hat software collection repository  Summary: CentOS Red-Hat software collection repository
1559  %description centos-sclo  %description centos-sclo
# Line 1206  CentOS Red-Hat software collection repos Line 1561  CentOS Red-Hat software collection repos
1561  %files centos-sclo -f  %{name}-%{version}-filelist-centos-sclo  %files centos-sclo -f  %{name}-%{version}-filelist-centos-sclo
1562  %defattr(-,root,root)  %defattr(-,root,root)
1563    
1564    %package collaboraoffice
1565    Summary: collaboraoffice repo
1566    %description collaboraoffice
1567    collaboraoffice repo
1568    %files collaboraoffice -f  %{name}-%{version}-filelist-collaboraoffice
1569    %defattr(-,root,root)
1570    
1571    %package docker-ce
1572    Summary: docker-ce
1573    %description docker-ce
1574    docker-ce repo
1575    %files docker-ce -f  %{name}-%{version}-filelist-docker-ce
1576    %defattr(-,root,root)
1577    
1578  %package egroupware  %package egroupware
1579  Summary: Repository for eGroupWare  Summary: Repository for eGroupWare
1580  %description egroupware  %description egroupware
# Line 1255  Firewall Services repository Line 1624  Firewall Services repository
1624  %files fws -f  %{name}-%{version}-filelist-fws  %files fws -f  %{name}-%{version}-filelist-fws
1625  %defattr(-,root,root)  %defattr(-,root,root)
1626    
1627    %package fusioninventory-agent
1628    Summary: Copr repo for fusioninventory-agent owned by trasher
1629    %description fusioninventory-agent
1630    Copr repo for fusioninventory-agent owned by trasher
1631    %files fusioninventory-agent -f  %{name}-%{version}-filelist-fusioninventory-agent
1632    %defattr(-,root,root)
1633    
1634    %package lemonldap
1635    Summary: Lemonldap NG Repository
1636    %description lemonldap
1637    LemonLDAP::NG Repository
1638    %files lemonldap -f  %{name}-%{version}-filelist-lemonldap
1639    %defattr(-,root,root)
1640    
1641  %package libreswan  %package libreswan
1642  Summary: Libreswan Repository  Summary: Libreswan Repository
1643  %description libreswan  %description libreswan
# Line 1262  Libreswan Repository Line 1645  Libreswan Repository
1645  %files libreswan -f  %{name}-%{version}-filelist-libreswan  %files libreswan -f  %{name}-%{version}-filelist-libreswan
1646  %defattr(-,root,root)  %defattr(-,root,root)
1647    
1648    %package mongodb
1649    Summary: MongoDB Repositories
1650    %description mongodb
1651    MongoDB Repositories
1652    %files mongodb -f  %{name}-%{version}-filelist-mongodb
1653    %defattr(-,root,root)
1654    
1655    %package nginx
1656    Summary: nginx Repositories
1657    %description nginx
1658    Nginx Repositories
1659    %files nginx -f  %{name}-%{version}-filelist-nginx
1660    %defattr(-,root,root)
1661    
1662  %package node  %package node
1663  Summary: NodeJS Repositories  Summary: NodeJS Repositories
1664  %description node  %description node
# Line 1285  Extra OKay Packages for Enterprise Linux Line 1682  Extra OKay Packages for Enterprise Linux
1682  %files okay -f  %{name}-%{version}-filelist-okay  %files okay -f  %{name}-%{version}-filelist-okay
1683  %defattr(-,root,root)  %defattr(-,root,root)
1684    
1685    %package onlyoffice
1686    Summary: onlyoffice Repository
1687    %description onlyoffice
1688    onlyoffice Repository
1689    %files onlyoffice  -f %{name}-%{version}-filelist-onlyoffice
1690    %defattr(-,root,root)
1691    
1692  %package openfusion  %package openfusion
1693  Summary: Openfusion Repository  Summary: Openfusion Repository
1694  %description openfusion  %description openfusion


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed