/[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.2 by brianr, Tue Oct 27 11:30:16 2020 UTC Revision 1.13 by jpp, Wed Jul 7 03:42:23 2021 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 22  %define release 33
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    
17  %description  %description
18  Provides configuration for external yum repository comaptible with Koozali SME Server.  Provides configuration for external yum repository comaptible with Koozali SME Server.
19    
20  %changelog  %changelog
21    * Tue Jul 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-33.sme
22    - add migrate fragment for pwauth in epel [SME: 11639]
23    
24    * Wed Jun 30 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-32.sme
25    - Requires e-smith >= 10
26    - exclude pwauh from EPEL [SME: 11639]
27    
28    * Sun May 02 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-31.sme
29    - add perl-JSON to openfusion [SME: 11579]
30    
31    * Thu Mar 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-30.sme
32    - fix zabbix key
33    - fix update event for packages with multiple repo
34    
35    * Thu Mar 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-29.sme
36    - add new zabbix version
37    
38    * Mon Mar 22 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-28.sme
39    - add extra packages from openfusion [SME: 11223]
40    - fix wrong event for remi-unsafe  [SME: 11181]
41    - add repo for postgsql
42    - remove digium asterisk repo for SME10  [SME: 11482]
43    - remove geekery repo [SME: 11483]
44    
45    * Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-27.sme
46    - Add perl-Disk-Free and perl-Type-Tiny to Migrate script [SME: 11024]
47    
48    * Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-26.sme
49    - Add perl-Disk-Free for smeserver-affa [SME: 11024]
50    
51    * Wed Dec 02 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-25.sme
52    - add extar packages from Openfusion for NextCloud [SME: 11223]
53    - perl-Array-Compare perl-Type-Tiny perl-Exporter-Tiny
54    
55    * Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-24.sme
56    - add event on update to avoid reboot [SME: 11181]
57    - remove remi-safe as it is now in core rpm [SME: 11182]
58    
59  * Tue Oct 27 2020 Brian Read <brianr@bjsystems.co.uk> 0.1-22.sme  * Tue Oct 27 2020 Brian Read <brianr@bjsystems.co.uk> 0.1-22.sme
60  - Initial import to SME10 tree [SME: 11057]  - Initial import to SME10 tree [SME: 11057]
61    
# Line 114  echo "${REPO['fullreponame']}" > $RPM_BU Line 152  echo "${REPO['fullreponame']}" > $RPM_BU
152  echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible  echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible
153  echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status  echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status
154  echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type  echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type
155    
156    mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['pkgname']}-update/templates2expand/etc/yum.smerepos.d/
157    touch $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['pkgname']}-update/templates2expand/etc/yum.smerepos.d/sme-base.repo
158    
159  [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\
160                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL
161  [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\
# Line 129  return 0 Line 171  return 0
171    
172    
173    
 ######################  
 #####################  
 # asterisk 13 LTS  
 #####################  
 #####################  
 REPO['reponame']='asterisk-13'  
 REPO['fullreponame']='Asterisk-13 - EL'  
 REPO['EnableGroups']='yes'  
 REPO['GPGCheck']='no'  
 REPO['Visible']='no'  
 REPO['status']='disabled'  
 REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/asterisk-13/$basearch/'  
 REPO['MirrorList']=''  
 REPO['GPGKey']=''  
 REPO['Exclude']=''  
 REPO['IncludePkgs']=''  
 createrepo  
   
 ######################  
 #####################  
 # asterisk current  
 #####################  
 #####################  
 REPO['reponame']='asterisk-current'  
 REPO['fullreponame']='Asterisk-current - EL'  
 REPO['EnableGroups']='yes'  
 REPO['GPGCheck']='no'  
 REPO['Visible']='no'  
 REPO['status']='disabled'  
 REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/'  
 REPO['MirrorList']=''  
 REPO['GPGKey']=''  
 REPO['Exclude']=''  
 REPO['IncludePkgs']=''  
 createrepo  
   
 #####################  
 #####################  
 # Digium Repo  
 #####################  
 #####################  
 REPO['reponame']='digium-current'  
 REPO['fullreponame']='Digium packages - EL'  
 REPO['EnableGroups']='no'  
 REPO['Visible']='no'  
 REPO['status']='disabled'  
 REPO['BaseURL']='http://packages.digium.com/centos/$releasever/current/$basearch/'  
 REPO['MirrorList']=''  
 REPO['GPGCheck']='no'  
 REPO['GPGKey']=''  
 REPO['Exclude']=''  
 REPO['IncludePkgs']=''  
 createrepo  
   
 #####################  
 #####################  
 # Digium 13  
 #####################  
 #####################  
 REPO['reponame']='digium-13'  
 REPO['fullreponame']='Digium-13 packages - EL'  
 REPO['EnableGroups']='no'  
 REPO['Visible']='no'  
 REPO['status']='disabled'  
 REPO['BaseURL']='http://packages.digium.com/centos/$releasever/digium-13/$basearch/'  
 REPO['MirrorList']=''  
 REPO['GPGCheck']='no'  
 REPO['GPGKey']=''  
 REPO['Exclude']=''  
 REPO['IncludePkgs']=''  
 createrepo  
   
174  #####################  #####################
175  #####################  #####################
176  #atomic  #atomic
177  #####################  #####################
178  #####################  #####################
179  REPO['reponame']='atomic'  REPO['reponame']='atomic'
180    REPO['pkgname']=${REPO['reponame']}
181  REPO['fullreponame']='Atomic'  REPO['fullreponame']='Atomic'
182  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
183  REPO['Visible']='no'  REPO['Visible']='no'
# Line 225  createrepo Line 196  createrepo
196  #####################  #####################
197  #####################  #####################
198  REPO['reponame']='centos-sclo-centos'  REPO['reponame']='centos-sclo-centos'
199    REPO['pkgname']=${REPO['reponame']}
200  REPO['fullreponame']='Centos-RH Software collections'  REPO['fullreponame']='Centos-RH Software collections'
201  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
202  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 243  createrepo Line 215  createrepo
215  #####################  #####################
216  #####################  #####################
217  REPO['reponame']='centos-sclo-rh'  REPO['reponame']='centos-sclo-rh'
218    REPO['pkgname']=${REPO['reponame']}
219  REPO['fullreponame']='Centos-RH Software collections'  REPO['fullreponame']='Centos-RH Software collections'
220  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
221  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 261  createrepo Line 234  createrepo
234  #####################  #####################
235  #####################  #####################
236  REPO['reponame']='egroupware'  REPO['reponame']='egroupware'
237    REPO['pkgname']=${REPO['reponame']}
238  REPO['fullreponame']='server_eGroupWare'  REPO['fullreponame']='server_eGroupWare'
239  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
240  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 281  createrepo Line 255  createrepo
255  declare -A elashort=( ['6.x']='6.x' ['5.x']='5.x' ['1.6']='1' )  declare -A elashort=( ['6.x']='6.x' ['5.x']='5.x' ['1.6']='1' )
256  for elasver  in "6.x" "5.x" "1.6"; do  for elasver  in "6.x" "5.x" "1.6"; do
257  REPO['reponame']="elastic${elashort[$elasver]}"  REPO['reponame']="elastic${elashort[$elasver]}"
258    REPO['pkgname']='elastic'
259  REPO['fullreponame']="Elasticsearch repository for $elasver packages"  REPO['fullreponame']="Elasticsearch repository for $elasver packages"
260  REPO['EnableGroups']='yes'  REPO['EnableGroups']='yes'
261  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 300  done Line 275  done
275  #####################  #####################
276  #####################  #####################
277  REPO['reponame']='elrepo'  REPO['reponame']='elrepo'
278    REPO['pkgname']='elrepo'
279  REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository'  REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository'
280  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
281  REPO['Visible']='no'  REPO['Visible']='no'
# Line 318  createrepo Line 294  createrepo
294  #####################  #####################
295  #####################  #####################
296  REPO['reponame']='elrepo-kernel'  REPO['reponame']='elrepo-kernel'
297    REPO['pkgname']='elrepo'
298  REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel'  REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel'
299  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
300  REPO['Visible']='no'  REPO['Visible']='no'
# Line 336  createrepo Line 313  createrepo
313  #####################  #####################
314  #####################  #####################
315  REPO['reponame']='epel'  REPO['reponame']='epel'
316    REPO['pkgname']=${REPO['reponame']}
317  REPO['fullreponame']='EPEL'  REPO['fullreponame']='EPEL'
318  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
319  REPO['Visible']='no'  REPO['Visible']='no'
# Line 344  REPO['BaseURL']='http://download.fedorap Line 322  REPO['BaseURL']='http://download.fedorap
322  REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch'  REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch'
323  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
324  REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'  REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
325  REPO['Exclude']='perl-Razor-Agent'  REPO['Exclude']='perl-Razor-Agent,pwauth'
326  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
327  createrepo  createrepo
328    
# Line 354  createrepo Line 332  createrepo
332  #####################  #####################
333  #####################  #####################
334  REPO['reponame']='erlang'  REPO['reponame']='erlang'
335    REPO['pkgname']=${REPO['reponame']}
336  REPO['fullreponame']='erlang programming language'  REPO['fullreponame']='erlang programming language'
337  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
338  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 372  createrepo Line 351  createrepo
351  #####################  #####################
352  #####################  #####################
353  REPO['reponame']='freeswitch'  REPO['reponame']='freeswitch'
354    REPO['pkgname']=${REPO['reponame']}
355  REPO['fullreponame']='Freeswitch'  REPO['fullreponame']='Freeswitch'
356  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
357  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 390  createrepo Line 370  createrepo
370  #####################  #####################
371  #####################  #####################
372  REPO['reponame']='fws'  REPO['reponame']='fws'
373    REPO['pkgname']=${REPO['reponame']}
374  REPO['fullreponame']='Firewall Services'  REPO['fullreponame']='Firewall Services'
375  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
376  REPO['Visible']='no'  REPO['Visible']='no'
# Line 408  createrepo Line 389  createrepo
389  #####################  #####################
390  #####################  #####################
391  REPO['reponame']='fws-testing'  REPO['reponame']='fws-testing'
392    REPO['pkgname']='fws'
393  REPO['fullreponame']='Firewall Services testing'  REPO['fullreponame']='Firewall Services testing'
394  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
395  REPO['Visible']='no'  REPO['Visible']='no'
# Line 422  createrepo Line 404  createrepo
404    
405  #####################  #####################
406  #####################  #####################
 # Geekery  (last update 2016-09-25)  
 #####################  
 #####################  
 REPO['reponame']='geekery'  
 REPO['fullreponame']='geekery repository'  
 REPO['EnableGroups']='no'  
 REPO['Visible']='no'  
 REPO['status']='disabled'  
 REPO['BaseURL']=''  
 REPO['MirrorList']='http://geekery.epac.to/geekery/el$releasever-mirrors'  
 REPO['GPGCheck']='yes'  
 REPO['GPGKey']='http://geekery.altervista.org/download.php?filename=GEEKERY-GPG-KEY'  
 REPO['Exclude']=''  
 REPO['IncludePkgs']=''  
 createrepo  
   
 #####################  
 #####################  
407  # Libreswan  # Libreswan
408  #####################  #####################
409  #####################  #####################
410  REPO['reponame']='libreswan'  REPO['reponame']='libreswan'
411    REPO['pkgname']=${REPO['reponame']}
412  REPO['fullreponame']='Libreswan'  REPO['fullreponame']='Libreswan'
413  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
414  REPO['Visible']='no'  REPO['Visible']='no'
# Line 462  createrepo Line 427  createrepo
427  # NodeJS 4  # NodeJS 4
428  #####################  #####################
429  #####################  #####################
430  REPO['reponame']='node4'  for nodever  in "4" "5" "6" "7" "8" "9" "10" "11"; do
431  REPO['fullreponame']='NodeJS 4'  REPO['reponame']="node$nodever"
432  REPO['EnableGroups']='no'  REPO['pkgname']='node'
433  REPO['Visible']='no'  REPO['fullreponame']="NodeJS $nodever"
 REPO['status']='disabled'  
 REPO['BaseURL']='https://rpm.nodesource.com/pub_4.x/el/$releasever/$basearch/'  
 REPO['MirrorList']=''  
 REPO['GPGCheck']='no'  
 REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  
 REPO['Exclude']=''  
 REPO['IncludePkgs']=''  
 createrepo  
   
 #####################  
 #####################  
 # NodeJS 5  
 #####################  
 #####################  
 REPO['reponame']='node5'  
 REPO['fullreponame']='NodeJS 5'  
434  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
435  REPO['Visible']='no'  REPO['Visible']='no'
436  REPO['status']='disabled'  REPO['status']='disabled'
437  REPO['BaseURL']='https://rpm.nodesource.com/pub_5.x/el/$releasever/$basearch/'  REPO['BaseURL']='https://rpm.nodesource.com/pub_'.$nodever.'.x/el/$releasever/$basearch/'
438  REPO['MirrorList']=''  REPO['MirrorList']=''
439  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
440  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
441  REPO['Exclude']=''  REPO['Exclude']=''
442  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
443  createrepo  createrepo
444    done
445    
 #####################  
 #####################  
 # NodeJS 6  
 #####################  
 #####################  
 REPO['reponame']='node6'  
 REPO['fullreponame']='NodeJS 6'  
 REPO['EnableGroups']='no'  
 REPO['Visible']='no'  
 REPO['status']='disabled'  
 REPO['BaseURL']='https://rpm.nodesource.com/pub_6.x/el/$releasever/$basearch/'  
 REPO['MirrorList']=''  
 REPO['GPGCheck']='no'  
 REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  
 REPO['Exclude']=''  
 REPO['IncludePkgs']=''  
 createrepo  
446    
447    if  ( "%{?dist}"  == "el7" ); then
448  #####################  #####################
449  #####################  #####################
450  # NodeJS 7  # Odoo10-nightly
451  #####################  #####################
452  #####################  #####################
453  REPO['reponame']='node7'  REPO['reponame']='odoo10-nightly'
454  REPO['fullreponame']='NodeJS 7'  REPO['pkgname']='odoo'
455    REPO['fullreponame']='Odoo 10 Nightly - EL7'
456  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
457  REPO['Visible']='no'  REPO['Visible']='no'
458  REPO['status']='disabled'  REPO['status']='disabled'
459  REPO['BaseURL']='https://rpm.nodesource.com/pub_7.x/el/$releasever/$basearch/'  REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'
460  REPO['MirrorList']=''  REPO['MirrorList']=''
461  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
462  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']='https://nightly.odoo.com/odoo.key'
463  REPO['Exclude']=''  REPO['Exclude']=''
464  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
465  createrepo  createrepo
466    
467  #####################  #####################
468  #####################  #####################
469  # NodeJS  # Odoo9-nightly
470  #####################  #####################
471  #####################  #####################
472  REPO['reponame']='node8'  REPO['reponame']='odoo9-nightly'
473  REPO['fullreponame']='NodeJS 8'  REPO['pkgname']='odoo'
474    REPO['fullreponame']='Odoo 9 Nightly - EL7'
475  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
476  REPO['Visible']='no'  REPO['Visible']='no'
477  REPO['status']='disabled'  REPO['status']='disabled'
478  REPO['BaseURL']='https://rpm.nodesource.com/pub_8.x/el/$releasever/$basearch/'  REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'
479  REPO['MirrorList']=''  REPO['MirrorList']=''
480  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
481  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']='https://nightly.odoo.com/odoo.key'
482  REPO['Exclude']=''  REPO['Exclude']=''
483  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
484  createrepo  createrepo
485    fi
486    
487  #####################  #####################
488  #####################  #####################
489  # NodeJS 9  # Okay
490  #####################  #####################
491  #####################  #####################
492  REPO['reponame']='node9'  REPO['reponame']='okay'
493  REPO['fullreponame']='NodeJS 9'  REPO['pkgname']=${REPO['reponame']}
494    REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'
495  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
496  REPO['Visible']='no'  REPO['Visible']='no'
497  REPO['status']='disabled'  REPO['status']='disabled'
498  REPO['BaseURL']='https://rpm.nodesource.com/pub_9.x/el/$releasever/$basearch/'  REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'
499  REPO['MirrorList']=''  REPO['MirrorList']=''
500  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
501  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']=''
502  REPO['Exclude']=''  REPO['Exclude']=''
503  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
504  createrepo  createrepo
505    
506  #####################  #####################
507  #####################  #####################
508  # NodeJS 10  # Openfusion
509  #####################  #####################
510  #####################  #####################
511  REPO['reponame']='node10'  REPO['reponame']='openfusion'
512  REPO['fullreponame']='NodeJS 10'  REPO['pkgname']=${REPO['reponame']}
513    REPO['fullreponame']='Openfusion'
514  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
515  REPO['Visible']='no'  REPO['Visible']='yes'
516  REPO['status']='disabled'  REPO['status']='disabled'
517  REPO['BaseURL']='https://rpm.nodesource.com/pub_10.x/el/$releasever/$basearch/'  REPO['BaseURL']='http://repo.openfusion.net/centos$releasever-$basearch'
518  REPO['MirrorList']=''  REPO['MirrorList']=''
519  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
520  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'
521  REPO['Exclude']=''  REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-ExtUtils-Install,perl-parent'
522  REPO['IncludePkgs']=''  REPO['IncludePkgs']='perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent,perl-Array-Compare,perl-Type-Tiny,perl-Filesys-DiskFree,perl-Array-Compare,perl-Type-Tiny,perl-JSON'
523  createrepo  createrepo
524    
525  #####################  #####################
526  #####################  #####################
527  # NodeJS 11  # Postgresql
528  #####################  #####################
529  #####################  #####################
530  REPO['reponame']='node11'  for pgsqlver  in  "9.6" "10" "11" "12" "13"; do
531  REPO['fullreponame']='NodeJS 11'  REPO['reponame']="pgsql$pgsqlver"
532    REPO['pkgname']='pgsql'
533    REPO['fullreponame']="Postgresql $pgsqlver"
534  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
535  REPO['Visible']='no'  REPO['Visible']='no'
536  REPO['status']='disabled'  REPO['status']='disabled'
537  REPO['BaseURL']='https://rpm.nodesource.com/pub_11.x/el/$releasever/$basearch/'  REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/'
538  REPO['MirrorList']=''  REPO['MirrorList']=''
539  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
540  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  ext=$pgsqlver;
541    [[ "$pgsqlver" == "9.6" ]] && ext="96";
542    REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext
543  REPO['Exclude']=''  REPO['Exclude']=''
544  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
545  createrepo  createrepo
546    
547    
548    REPO['reponame']="pgsql$pgsqlver-nonfree"
549  if  ( "%{?dist}"  == "el7" ); then  REPO['pkgname']='pgsql'
550  #####################  REPO['fullreponame']="Postgresql $pgsqlver non free"
 #####################  
 # Odoo10-nightly  
 #####################  
 #####################  
 REPO['reponame']='odoo10-nightly'  
 REPO['fullreponame']='Odoo 10 Nightly - EL7'  
551  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
552  REPO['Visible']='no'  REPO['Visible']='no'
553  REPO['status']='disabled'  REPO['status']='disabled'
554  REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'  REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/non-free/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/'
555  REPO['MirrorList']=''  REPO['MirrorList']=''
556  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
557  REPO['GPGKey']='https://nightly.odoo.com/odoo.key'  ext=$pgsqlver;
558    [[ "$pgsqlver" == "9.6" ]] && ext="96";
559    REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext
560  REPO['Exclude']=''  REPO['Exclude']=''
561  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
562  createrepo  createrepo
563    
564  #####################  REPO['reponame']="pgsql$pgsqlver-common"
565  #####################  REPO['pkgname']='pgsql'
566  # Odoo9-nightly  REPO['fullreponame']="Postgresql $pgsqlver non free"
 #####################  
 #####################  
 REPO['reponame']='odoo9-nightly'  
 REPO['fullreponame']='Odoo 9 Nightly - EL7'  
567  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
568  REPO['Visible']='no'  REPO['Visible']='no'
569  REPO['status']='disabled'  REPO['status']='disabled'
570  REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'  REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/common/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/'
571  REPO['MirrorList']=''  REPO['MirrorList']=''
572  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
573  REPO['GPGKey']='https://nightly.odoo.com/odoo.key'  ext=$pgsqlver;
574  REPO['Exclude']=''  [[ "$pgsqlver" == "9.6" ]] && ext="96";
575  REPO['IncludePkgs']=''  REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext
 createrepo  
 fi  
   
 #####################  
 #####################  
 # Okay  
 #####################  
 #####################  
 REPO['reponame']='okay'  
 REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'  
 REPO['EnableGroups']='no'  
 REPO['Visible']='no'  
 REPO['status']='disabled'  
 REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'  
 REPO['MirrorList']=''  
 REPO['GPGCheck']='no'  
 REPO['GPGKey']=''  
576  REPO['Exclude']=''  REPO['Exclude']=''
577  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
578  createrepo  createrepo
579    
580  #####################  done
 #####################  
 # Openfusion  
 #####################  
 #####################  
 REPO['reponame']='openfusion'  
 REPO['fullreponame']='Openfusion'  
 REPO['EnableGroups']='no'  
 REPO['Visible']='yes'  
 REPO['status']='disabled'  
 REPO['BaseURL']='http://repo.openfusion.net/centos$releasever-$basearch'  
 REPO['MirrorList']=''  
 REPO['GPGCheck']='yes'  
 REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'  
 REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-Exporter-Tiny,perl-ExtUtils-Install,perl-parent'  
 REPO['IncludePkgs']='perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent'  
 createrepo  
581    
582  #####################  #####################
583  #####################  #####################
# Line 683  createrepo Line 585  createrepo
585  #####################  #####################
586  #####################  #####################
587  REPO['reponame']='reetp'  REPO['reponame']='reetp'
588    REPO['pkgname']=${REPO['reponame']}
589  REPO['fullreponame']='Mirror John Crisp reetspetit.com'  REPO['fullreponame']='Mirror John Crisp reetspetit.com'
590  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
591  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 697  createrepo Line 600  createrepo
600    
601  #####################  #####################
602  #####################  #####################
 #remi-safe  
 #####################  
 #####################  
 REPO['reponame']='remi-safe'  
 REPO['fullreponame']='Remi - safe'  
 REPO['EnableGroups']='no'  
 REPO['GPGCheck']='yes'  
 REPO['Visible']='yes'  
 REPO['status']='enabled'  
 REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/safe/$basearch/'  
 REPO['MirrorList']=''  
 REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'  
 REPO['Exclude']=''  
 REPO['IncludePkgs']=''  
 createrepo  
   
 #####################  
 #####################  
603  #remi  #remi
604  #####################  #####################
605  #####################  #####################
606  REPO['reponame']='remi'  REPO['reponame']='remi'
607    REPO['pkgname']='remi-unsafe'
608  REPO['fullreponame']='Remi - EL unsafe, will conflict with your base rpms'  REPO['fullreponame']='Remi - EL unsafe, will conflict with your base rpms'
609  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
610  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
# Line 737  createrepo Line 623  createrepo
623  #####################  #####################
624  #####################  #####################
625  REPO['reponame']='remi-ocsinventory'  REPO['reponame']='remi-ocsinventory'
626    REPO['pkgname']=${REPO['reponame']}
627  REPO['fullreponame']='Remi ocsinventory - EL'  REPO['fullreponame']='Remi ocsinventory - EL'
628  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
629  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
# Line 755  createrepo Line 642  createrepo
642  #####################  #####################
643  #####################  #####################
644  REPO['reponame']='remi-roundcube'  REPO['reponame']='remi-roundcube'
645    REPO['pkgname']=${REPO['reponame']}
646  REPO['fullreponame']='Remi Roundcube - EL'  REPO['fullreponame']='Remi Roundcube - EL'
647  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
648  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
# Line 774  createrepo Line 662  createrepo
662  #####################  #####################
663  #####################  #####################
664  REPO['reponame']='rpmfusion'  REPO['reponame']='rpmfusion'
665    REPO['pkgname']=${REPO['reponame']}
666  REPO['fullreponame']='rpmfusion free EL'  REPO['fullreponame']='rpmfusion free EL'
667  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
668  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 792  createrepo Line 681  createrepo
681  #####################  #####################
682  #####################  #####################
683  REPO['reponame']='rpmfusion-nonfree'  REPO['reponame']='rpmfusion-nonfree'
684    REPO['pkgname']='rpmfusion'
685  REPO['fullreponame']='rpmfusion nonfree EL'  REPO['fullreponame']='rpmfusion nonfree EL'
686  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
687  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 810  createrepo Line 700  createrepo
700  #####################  #####################
701  #####################  #####################
702  REPO['reponame']='sogo'  REPO['reponame']='sogo'
703    REPO['pkgname']=${REPO['reponame']}
704  REPO['fullreponame']='Inverse SOGo 2 Repository'  REPO['fullreponame']='Inverse SOGo 2 Repository'
705  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
706  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 828  createrepo Line 719  createrepo
719  #####################  #####################
720  #####################  #####################
721  REPO['reponame']='sogo3'  REPO['reponame']='sogo3'
722    REPO['pkgname']='sogo'
723  REPO['fullreponame']='Inverse SOGo 3 Repository'  REPO['fullreponame']='Inverse SOGo 3 Repository'
724  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
725  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 846  createrepo Line 738  createrepo
738  #####################  #####################
739  #####################  #####################
740  REPO['reponame']='sogo4'  REPO['reponame']='sogo4'
741    REPO['pkgname']='sogo'
742  REPO['fullreponame']='Inverse SOGo 4 Repository'  REPO['fullreponame']='Inverse SOGo 4 Repository'
743  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
744  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 864  createrepo Line 757  createrepo
757  #####################  #####################
758  #####################  #####################
759  REPO['reponame']='sogo-subscription'  REPO['reponame']='sogo-subscription'
760    REPO['pkgname']='sogo'
761  REPO['fullreponame']='Inverse SOGo Repository only with subscription'  REPO['fullreponame']='Inverse SOGo Repository only with subscription'
762  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
763  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 882  createrepo Line 776  createrepo
776  #####################  #####################
777  #####################  #####################
778  REPO['reponame']='spectrum2'  REPO['reponame']='spectrum2'
779    REPO['pkgname']=${REPO['reponame']}
780  REPO['fullreponame']='Spectrum2'  REPO['fullreponame']='Spectrum2'
781  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
782  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 900  createrepo Line 795  createrepo
795  #####################  #####################
796  #####################  #####################
797  REPO['reponame']='springdale-core'  REPO['reponame']='springdale-core'
798    REPO['pkgname']='springdale'
799  REPO['fullreponame']='PUIAS core Base'  REPO['fullreponame']='PUIAS core Base'
800  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
801  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 913  REPO['IncludePkgs']='' Line 809  REPO['IncludePkgs']=''
809  createrepo  createrepo
810    
811  REPO['reponame']='springdale-updates'  REPO['reponame']='springdale-updates'
812    REPO['pkgname']='springdale'
813  REPO['fullreponame']='PUIAS core Updates'  REPO['fullreponame']='PUIAS core Updates'
814  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
815  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 926  REPO['IncludePkgs']='' Line 823  REPO['IncludePkgs']=''
823  createrepo  createrepo
824    
825  REPO['reponame']='springdale-addons'  REPO['reponame']='springdale-addons'
826    REPO['pkgname']='springdale'
827  REPO['fullreponame']='PUIAS Addons'  REPO['fullreponame']='PUIAS Addons'
828  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
829  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 939  REPO['IncludePkgs']='' Line 837  REPO['IncludePkgs']=''
837  createrepo  createrepo
838    
839  REPO['reponame']='springdale-addons-updates'  REPO['reponame']='springdale-addons-updates'
840    REPO['pkgname']='springdale'
841  REPO['fullreponame']='PUIAS Addons Updates'  REPO['fullreponame']='PUIAS Addons Updates'
842  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
843  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 953  createrepo Line 852  createrepo
852    
853    
854  REPO['reponame']='springdale-unsupported'  REPO['reponame']='springdale-unsupported'
855    REPO['pkgname']='springdale'
856  REPO['fullreponame']='PUIAS Unsupported'  REPO['fullreponame']='PUIAS Unsupported'
857  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
858  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 966  REPO['IncludePkgs']='' Line 866  REPO['IncludePkgs']=''
866  createrepo  createrepo
867    
868  REPO['reponame']='springdale-computational'  REPO['reponame']='springdale-computational'
869    REPO['pkgname']='springdale'
870  REPO['fullreponame']='PUIAS Computational'  REPO['fullreponame']='PUIAS Computational'
871  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
872  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 987  createrepo Line 888  createrepo
888  #####################  #####################
889  #####################  #####################
890  REPO['reponame']='stephdl'  REPO['reponame']='stephdl'
891    REPO['pkgname']=${REPO['reponame']}
892  REPO['fullreponame']='Mirror Stephane de Labrusse'  REPO['fullreponame']='Mirror Stephane de Labrusse'
893  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
894  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1005  createrepo Line 907  createrepo
907  #####################  #####################
908  #####################  #####################
909  REPO['reponame']='virtualbox'  REPO['reponame']='virtualbox'
910    REPO['pkgname']=${REPO['reponame']}
911  REPO['fullreponame']='RHEL/CentOS VirtualBox'  REPO['fullreponame']='RHEL/CentOS VirtualBox'
912  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
913  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1023  createrepo Line 926  createrepo
926  #####################  #####################
927  #####################  #####################
928  REPO['reponame']='webtatic'  REPO['reponame']='webtatic'
929    REPO['pkgname']=${REPO['reponame']}
930  REPO['fullreponame']='webtatic - EL'  REPO['fullreponame']='webtatic - EL'
931  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
932  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1045  createrepo Line 949  createrepo
949  #####################  #####################
950  #####################  #####################
951  REPO['reponame']='xymon'  REPO['reponame']='xymon'
952    REPO['pkgname']=${REPO['reponame']}
953  REPO['fullreponame']='Xymon Terabithia RPMS - EL'  REPO['fullreponame']='Xymon Terabithia RPMS - EL'
954  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
955  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1062  createrepo Line 967  createrepo
967  #Zabbix2.4  #Zabbix2.4
968  #####################  #####################
969  #####################  #####################
970  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')  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')
971  for elasver  in "4.2" "4.4" ; do  for elasver  in "4.2" "4.4"  '4.5' '5.0' '5.1' '5.2' '5.3'; do
972  REPO['reponame']="zabbix${zabshort[$elasver]}"  REPO['reponame']="zabbix${zabshort[$elasver]}"
973    REPO['pkgname']='zabbix'
974  REPO['fullreponame']="Zabbix $elasver Official Repository"  REPO['fullreponame']="Zabbix $elasver Official Repository"
975  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
976  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1072  REPO['status']='disabled' Line 978  REPO['status']='disabled'
978  REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/"  REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/"
979  REPO['MirrorList']=''  REPO['MirrorList']=''
980  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
981  REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX"  REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591"
982  REPO['Exclude']=''  REPO['Exclude']=''
983  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
984  createrepo  createrepo
# Line 1084  done Line 990  done
990  #####################  #####################
991  #####################  #####################
992  REPO['reponame']='zmrepo'  REPO['reponame']='zmrepo'
993    REPO['pkgname']=${REPO['reponame']}
994  REPO['fullreponame']='ZoneMinder Repo - EL'  REPO['fullreponame']='ZoneMinder Repo - EL'
995  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
996  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1134  EOF Line 1041  EOF
1041    
1042  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
1043  {  {
1044      my @add = split(/[,; ]+/, '');      my @add = split(/[,; ]+/, 'pwauth');
1045      my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make');      my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make');
1046    
1047      for my $name ( qw(epel) )      for my $name ( qw(epel) )
# Line 1177  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi Line 1084  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi
1084    
1085  EOF  EOF
1086    
 cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk  
 {  
     for my $name ( qw(asterisk-current) )  
     {  
         my $repo = $DB->get($name) or next;  
         my $BaseURL = $repo->prop('BaseURL') || '';  
         if ($BaseURL =~ s/centos\$/centos\/\$/g)  
                 {$repo->set_prop('BaseURL', $BaseURL);}  
     }  
   
 }  
   
 EOF  
1087    
1088  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10openfusion  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10openfusion
1089  {  {
1090      my @addexclude = split(/,/,"perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-Exporter-Tiny,perl-ExtUtils-Install,perl-parent");      my @addexclude = split(/,/,"perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-ExtUtils-Install,perl-parent");
1091      my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version');      my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version');
1092      my @addinclude = split(/,/,"perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent");      my @addinclude = split(/,/,"perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent,perl-Array-Compare,perl-Type-Tiny,perl-Filesys-DiskFree,perl-Array-Compare,perl-Type-Tiny");
1093    
1094      my %removeinclude = map { $_ => 1 } split(/[,; ]+/, '');      my %removeinclude = map { $_ => 1 } split(/[,; ]+/, '');
1095    
1096      for my $name ( qw(openfusion) )      for my $name ( qw(openfusion) )
# Line 1249  rm -f %{name}-%{version}-filelist* Line 1144  rm -f %{name}-%{version}-filelist*
1144  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist
1145  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic
1146  cat %{name}-%{version}-filelist| grep centos-sclo               > %{name}-%{version}-filelist-centos-sclo  cat %{name}-%{version}-filelist| grep centos-sclo               > %{name}-%{version}-filelist-centos-sclo
 cat %{name}-%{version}-filelist| egrep 'digium|asterisk'        > %{name}-%{version}-filelist-asterisk  
1147  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware
1148  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic
1149  cat %{name}-%{version}-filelist| grep elrepo                    > %{name}-%{version}-filelist-elrepo  cat %{name}-%{version}-filelist| grep elrepo                    > %{name}-%{version}-filelist-elrepo
# Line 1257  cat %{name}-%{version}-filelist| grep ep Line 1151  cat %{name}-%{version}-filelist| grep ep
1151  cat %{name}-%{version}-filelist| grep erlang                    > %{name}-%{version}-filelist-erlang  cat %{name}-%{version}-filelist| grep erlang                    > %{name}-%{version}-filelist-erlang
1152  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch
1153  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws
 cat %{name}-%{version}-filelist| grep geekery                   > %{name}-%{version}-filelist-geekery  
1154  cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan  cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan
1155  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
1156  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo
# Line 1266  cat %{name}-%{version}-filelist| grep ok Line 1159  cat %{name}-%{version}-filelist| grep ok
1159  cat %{name}-%{version}-filelist| grep openfusion                > %{name}-%{version}-filelist-openfusion  cat %{name}-%{version}-filelist| grep openfusion                > %{name}-%{version}-filelist-openfusion
1160  cat %{name}-%{version}-filelist| grep node                      > %{name}-%{version}-filelist-node  cat %{name}-%{version}-filelist| grep node                      > %{name}-%{version}-filelist-node
1161  cat %{name}-%{version}-filelist| grep reetp                     > %{name}-%{version}-filelist-reetp  cat %{name}-%{version}-filelist| grep reetp                     > %{name}-%{version}-filelist-reetp
 cat %{name}-%{version}-filelist| grep remi-safe                 > %{name}-%{version}-filelist-remi-safe  
1162  cat %{name}-%{version}-filelist| grep remi-ocsinventory         > %{name}-%{version}-filelist-remi-ocsinventory  cat %{name}-%{version}-filelist| grep remi-ocsinventory         > %{name}-%{version}-filelist-remi-ocsinventory
1163  cat %{name}-%{version}-filelist| grep remi-roundcube            > %{name}-%{version}-filelist-remi-roundcube  cat %{name}-%{version}-filelist| grep remi-roundcube            > %{name}-%{version}-filelist-remi-roundcube
1164  cat %{name}-%{version}-filelist| grep remi|egrep -v 'safe|ocsinventory|roundcube'       > %{name}-%{version}-filelist-remi  cat %{name}-%{version}-filelist| grep remi|egrep -v 'ocsinventory|roundcube'    > %{name}-%{version}-filelist-remi
1165  cat %{name}-%{version}-filelist| grep rpmfusion                 > %{name}-%{version}-filelist-rpmfusion  cat %{name}-%{version}-filelist| grep rpmfusion                 > %{name}-%{version}-filelist-rpmfusion
1166  cat %{name}-%{version}-filelist| grep sogo                      > %{name}-%{version}-filelist-sogo  cat %{name}-%{version}-filelist| grep sogo                      > %{name}-%{version}-filelist-sogo
1167  cat %{name}-%{version}-filelist| grep spectrum2                 > %{name}-%{version}-filelist-spectrum2  cat %{name}-%{version}-filelist| grep spectrum2                 > %{name}-%{version}-filelist-spectrum2
# Line 1280  cat %{name}-%{version}-filelist| grep we Line 1172  cat %{name}-%{version}-filelist| grep we
1172  cat %{name}-%{version}-filelist| grep xymon                     > %{name}-%{version}-filelist-xymon  cat %{name}-%{version}-filelist| grep xymon                     > %{name}-%{version}-filelist-xymon
1173  cat %{name}-%{version}-filelist| grep zabbix                    > %{name}-%{version}-filelist-zabbix  cat %{name}-%{version}-filelist| grep zabbix                    > %{name}-%{version}-filelist-zabbix
1174  cat %{name}-%{version}-filelist| grep zmrepo                    > %{name}-%{version}-filelist-zmrepo  cat %{name}-%{version}-filelist| grep zmrepo                    > %{name}-%{version}-filelist-zmrepo
1175    cat %{name}-%{version}-filelist| grep pgsql                    > %{name}-%{version}-filelist-pgsql
1176  %clean  %clean
1177  cd ..  cd ..
1178  rm -rf %{name}-%{version}  rm -rf %{name}-%{version}
# Line 1321  CentOS Red-Hat software collection repos Line 1213  CentOS Red-Hat software collection repos
1213  %files centos-sclo -f  %{name}-%{version}-filelist-centos-sclo  %files centos-sclo -f  %{name}-%{version}-filelist-centos-sclo
1214  %defattr(-,root,root)  %defattr(-,root,root)
1215    
 %package asterisk  
 Summary: All repositories you need for Asterisk and FreePBX  
 %description asterisk  
 All repositories you need for Asterisk and FreePBX  
 %files asterisk -f  %{name}-%{version}-filelist-asterisk  
 %defattr(-,root,root)  
   
1216  %package egroupware  %package egroupware
1217  Summary: Repository for eGroupWare  Summary: Repository for eGroupWare
1218  %description egroupware  %description egroupware
# Line 1377  Firewall Services repository Line 1262  Firewall Services repository
1262  %files fws -f  %{name}-%{version}-filelist-fws  %files fws -f  %{name}-%{version}-filelist-fws
1263  %defattr(-,root,root)  %defattr(-,root,root)
1264    
 %package geekery  
 Summary: Geekery Repository  
 %description geekery  
 Geekery Repository  
 %files geekery -f  %{name}-%{version}-filelist-geekery  
 %defattr(-,root,root)  
   
1265  %package libreswan  %package libreswan
1266  Summary: Libreswan Repository  Summary: Libreswan Repository
1267  %description libreswan  %description libreswan
# Line 1421  Openfusion Repository Line 1299  Openfusion Repository
1299  %files openfusion -f  %{name}-%{version}-filelist-openfusion  %files openfusion -f  %{name}-%{version}-filelist-openfusion
1300  %defattr(-,root,root)  %defattr(-,root,root)
1301    
1302    %package pgsql
1303    Summary: PostGreSQL Repositories
1304    %description pgsql
1305    PostGreSQL Repositories
1306    %files pgsql -f  %{name}-%{version}-filelist-pgsql
1307    %defattr(-,root,root)
1308    
1309  %package reetp  %package reetp
1310  Summary: Mirror John Crisp reetspetit.com  Summary: Mirror John Crisp reetspetit.com
1311  %description reetp  %description reetp
# Line 1428  Mirror John Crisp reetspetit.com Line 1313  Mirror John Crisp reetspetit.com
1313  %files reetp -f  %{name}-%{version}-filelist-reetp  %files reetp -f  %{name}-%{version}-filelist-reetp
1314  %defattr(-,root,root)  %defattr(-,root,root)
1315    
 %package remi-safe  
 Summary: Remi safe repository  
 %description remi-safe  
 Remi safe repository  
 %files remi-safe -f  %{name}-%{version}-filelist-remi-safe  
 %defattr(-,root,root)  
   
1316  %package remi-ocsinventory  %package remi-ocsinventory
1317  Summary: Remi repository filtered to install OCSinventory  Summary: Remi repository filtered to install OCSinventory
1318  %description remi-ocsinventory  %description remi-ocsinventory


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