/[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.10 by jpp, Fri Mar 26 05:52:14 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 30
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 18  AutoReqProv: no Line 18  AutoReqProv: no
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    * Thu Mar 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-30.sme
22    - fix zabbix key
23    - fix update event for packages with multiple repo
24    
25    * Thu Mar 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-29.sme
26    - add new zabbix version
27    
28    * Mon Mar 22 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-28.sme
29    - add extra packages from openfusion [SME: 11223]
30    - fix wrong event for remi-unsafe  [SME: 11181]
31    - add repo for postgsql
32    - remove digium asterisk repo for SME10  [SME: 11482]
33    - remove geekery repo [SME: 11483]
34    
35    * Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-27.sme
36    - Add perl-Disk-Free and perl-Type-Tiny to Migrate script [SME: 11024]
37    
38    * Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-26.sme
39    - Add perl-Disk-Free for smeserver-affa [SME: 11024]
40    
41    * Wed Dec 02 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-25.sme
42    - add extar packages from Openfusion for NextCloud [SME: 11223]
43    - perl-Array-Compare perl-Type-Tiny perl-Exporter-Tiny
44    
45    * Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-24.sme
46    - add event on update to avoid reboot [SME: 11181]
47    - remove remi-safe as it is now in core rpm [SME: 11182]
48    
49  * 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
50  - Initial import to SME10 tree [SME: 11057]  - Initial import to SME10 tree [SME: 11057]
51    
# Line 114  echo "${REPO['fullreponame']}" > $RPM_BU Line 142  echo "${REPO['fullreponame']}" > $RPM_BU
142  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
143  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
144  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
145    
146    mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['pkgname']}-update/templates2expand/etc/yum.smerepos.d/
147    touch $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['pkgname']}-update/templates2expand/etc/yum.smerepos.d/sme-base.repo
148    
149  [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\
150                  $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
151  [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\
# Line 129  return 0 Line 161  return 0
161    
162    
163    
 ######################  
 #####################  
 # 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  
   
164  #####################  #####################
165  #####################  #####################
166  #atomic  #atomic
167  #####################  #####################
168  #####################  #####################
169  REPO['reponame']='atomic'  REPO['reponame']='atomic'
170    REPO['pkgname']=${REPO['reponame']}
171  REPO['fullreponame']='Atomic'  REPO['fullreponame']='Atomic'
172  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
173  REPO['Visible']='no'  REPO['Visible']='no'
# Line 225  createrepo Line 186  createrepo
186  #####################  #####################
187  #####################  #####################
188  REPO['reponame']='centos-sclo-centos'  REPO['reponame']='centos-sclo-centos'
189    REPO['pkgname']=${REPO['reponame']}
190  REPO['fullreponame']='Centos-RH Software collections'  REPO['fullreponame']='Centos-RH Software collections'
191  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
192  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 243  createrepo Line 205  createrepo
205  #####################  #####################
206  #####################  #####################
207  REPO['reponame']='centos-sclo-rh'  REPO['reponame']='centos-sclo-rh'
208    REPO['pkgname']=${REPO['reponame']}
209  REPO['fullreponame']='Centos-RH Software collections'  REPO['fullreponame']='Centos-RH Software collections'
210  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
211  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 261  createrepo Line 224  createrepo
224  #####################  #####################
225  #####################  #####################
226  REPO['reponame']='egroupware'  REPO['reponame']='egroupware'
227    REPO['pkgname']=${REPO['reponame']}
228  REPO['fullreponame']='server_eGroupWare'  REPO['fullreponame']='server_eGroupWare'
229  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
230  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 281  createrepo Line 245  createrepo
245  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' )
246  for elasver  in "6.x" "5.x" "1.6"; do  for elasver  in "6.x" "5.x" "1.6"; do
247  REPO['reponame']="elastic${elashort[$elasver]}"  REPO['reponame']="elastic${elashort[$elasver]}"
248    REPO['pkgname']='elastic'
249  REPO['fullreponame']="Elasticsearch repository for $elasver packages"  REPO['fullreponame']="Elasticsearch repository for $elasver packages"
250  REPO['EnableGroups']='yes'  REPO['EnableGroups']='yes'
251  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 300  done Line 265  done
265  #####################  #####################
266  #####################  #####################
267  REPO['reponame']='elrepo'  REPO['reponame']='elrepo'
268    REPO['pkgname']='elrepo'
269  REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository'  REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository'
270  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
271  REPO['Visible']='no'  REPO['Visible']='no'
# Line 318  createrepo Line 284  createrepo
284  #####################  #####################
285  #####################  #####################
286  REPO['reponame']='elrepo-kernel'  REPO['reponame']='elrepo-kernel'
287    REPO['pkgname']='elrepo'
288  REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel'  REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel'
289  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
290  REPO['Visible']='no'  REPO['Visible']='no'
# Line 336  createrepo Line 303  createrepo
303  #####################  #####################
304  #####################  #####################
305  REPO['reponame']='epel'  REPO['reponame']='epel'
306    REPO['pkgname']=${REPO['reponame']}
307  REPO['fullreponame']='EPEL'  REPO['fullreponame']='EPEL'
308  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
309  REPO['Visible']='no'  REPO['Visible']='no'
# Line 354  createrepo Line 322  createrepo
322  #####################  #####################
323  #####################  #####################
324  REPO['reponame']='erlang'  REPO['reponame']='erlang'
325    REPO['pkgname']=${REPO['reponame']}
326  REPO['fullreponame']='erlang programming language'  REPO['fullreponame']='erlang programming language'
327  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
328  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 372  createrepo Line 341  createrepo
341  #####################  #####################
342  #####################  #####################
343  REPO['reponame']='freeswitch'  REPO['reponame']='freeswitch'
344    REPO['pkgname']=${REPO['reponame']}
345  REPO['fullreponame']='Freeswitch'  REPO['fullreponame']='Freeswitch'
346  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
347  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 390  createrepo Line 360  createrepo
360  #####################  #####################
361  #####################  #####################
362  REPO['reponame']='fws'  REPO['reponame']='fws'
363    REPO['pkgname']=${REPO['reponame']}
364  REPO['fullreponame']='Firewall Services'  REPO['fullreponame']='Firewall Services'
365  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
366  REPO['Visible']='no'  REPO['Visible']='no'
# Line 408  createrepo Line 379  createrepo
379  #####################  #####################
380  #####################  #####################
381  REPO['reponame']='fws-testing'  REPO['reponame']='fws-testing'
382    REPO['pkgname']='fws'
383  REPO['fullreponame']='Firewall Services testing'  REPO['fullreponame']='Firewall Services testing'
384  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
385  REPO['Visible']='no'  REPO['Visible']='no'
# Line 422  createrepo Line 394  createrepo
394    
395  #####################  #####################
396  #####################  #####################
 # 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  
   
 #####################  
 #####################  
397  # Libreswan  # Libreswan
398  #####################  #####################
399  #####################  #####################
400  REPO['reponame']='libreswan'  REPO['reponame']='libreswan'
401    REPO['pkgname']=${REPO['reponame']}
402  REPO['fullreponame']='Libreswan'  REPO['fullreponame']='Libreswan'
403  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
404  REPO['Visible']='no'  REPO['Visible']='no'
# Line 462  createrepo Line 417  createrepo
417  # NodeJS 4  # NodeJS 4
418  #####################  #####################
419  #####################  #####################
420  REPO['reponame']='node4'  for nodever  in "4" "5" "6" "7" "8" "9" "10" "11"; do
421  REPO['fullreponame']='NodeJS 4'  REPO['reponame']="node$nodever"
422  REPO['EnableGroups']='no'  REPO['pkgname']='node'
423  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'  
424  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
425  REPO['Visible']='no'  REPO['Visible']='no'
426  REPO['status']='disabled'  REPO['status']='disabled'
427  REPO['BaseURL']='https://rpm.nodesource.com/pub_5.x/el/$releasever/$basearch/'  REPO['BaseURL']='https://rpm.nodesource.com/pub_'.$nodever.'.x/el/$releasever/$basearch/'
428  REPO['MirrorList']=''  REPO['MirrorList']=''
429  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
430  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
431  REPO['Exclude']=''  REPO['Exclude']=''
432  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
433  createrepo  createrepo
434    done
435    
 #####################  
 #####################  
 # 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  
436    
437    if  ( "%{?dist}"  == "el7" ); then
438  #####################  #####################
439  #####################  #####################
440  # NodeJS 7  # Odoo10-nightly
441  #####################  #####################
442  #####################  #####################
443  REPO['reponame']='node7'  REPO['reponame']='odoo10-nightly'
444  REPO['fullreponame']='NodeJS 7'  REPO['pkgname']='odoo'
445    REPO['fullreponame']='Odoo 10 Nightly - EL7'
446  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
447  REPO['Visible']='no'  REPO['Visible']='no'
448  REPO['status']='disabled'  REPO['status']='disabled'
449  REPO['BaseURL']='https://rpm.nodesource.com/pub_7.x/el/$releasever/$basearch/'  REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'
450  REPO['MirrorList']=''  REPO['MirrorList']=''
451  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
452  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']='https://nightly.odoo.com/odoo.key'
453  REPO['Exclude']=''  REPO['Exclude']=''
454  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
455  createrepo  createrepo
456    
457  #####################  #####################
458  #####################  #####################
459  # NodeJS  # Odoo9-nightly
460  #####################  #####################
461  #####################  #####################
462  REPO['reponame']='node8'  REPO['reponame']='odoo9-nightly'
463  REPO['fullreponame']='NodeJS 8'  REPO['pkgname']='odoo'
464    REPO['fullreponame']='Odoo 9 Nightly - EL7'
465  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
466  REPO['Visible']='no'  REPO['Visible']='no'
467  REPO['status']='disabled'  REPO['status']='disabled'
468  REPO['BaseURL']='https://rpm.nodesource.com/pub_8.x/el/$releasever/$basearch/'  REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'
469  REPO['MirrorList']=''  REPO['MirrorList']=''
470  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
471  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']='https://nightly.odoo.com/odoo.key'
472  REPO['Exclude']=''  REPO['Exclude']=''
473  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
474  createrepo  createrepo
475    fi
476    
477  #####################  #####################
478  #####################  #####################
479  # NodeJS 9  # Okay
480  #####################  #####################
481  #####################  #####################
482  REPO['reponame']='node9'  REPO['reponame']='okay'
483  REPO['fullreponame']='NodeJS 9'  REPO['pkgname']=${REPO['reponame']}
484    REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'
485  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
486  REPO['Visible']='no'  REPO['Visible']='no'
487  REPO['status']='disabled'  REPO['status']='disabled'
488  REPO['BaseURL']='https://rpm.nodesource.com/pub_9.x/el/$releasever/$basearch/'  REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'
489  REPO['MirrorList']=''  REPO['MirrorList']=''
490  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
491  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']=''
492  REPO['Exclude']=''  REPO['Exclude']=''
493  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
494  createrepo  createrepo
495    
496  #####################  #####################
497  #####################  #####################
498  # NodeJS 10  # Openfusion
499  #####################  #####################
500  #####################  #####################
501  REPO['reponame']='node10'  REPO['reponame']='openfusion'
502  REPO['fullreponame']='NodeJS 10'  REPO['pkgname']=${REPO['reponame']}
503    REPO['fullreponame']='Openfusion'
504  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
505  REPO['Visible']='no'  REPO['Visible']='yes'
506  REPO['status']='disabled'  REPO['status']='disabled'
507  REPO['BaseURL']='https://rpm.nodesource.com/pub_10.x/el/$releasever/$basearch/'  REPO['BaseURL']='http://repo.openfusion.net/centos$releasever-$basearch'
508  REPO['MirrorList']=''  REPO['MirrorList']=''
509  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
510  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'
511  REPO['Exclude']=''  REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-ExtUtils-Install,perl-parent'
512  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'
513  createrepo  createrepo
514    
515  #####################  #####################
516  #####################  #####################
517  # NodeJS 11  # Postgresql
518  #####################  #####################
519  #####################  #####################
520  REPO['reponame']='node11'  for pgsqlver  in  "9.6" "10" "11" "12" "13"; do
521  REPO['fullreponame']='NodeJS 11'  REPO['reponame']="pgsql$pgsqlver"
522    REPO['pkgname']='pgsql'
523    REPO['fullreponame']="Postgresql $pgsqlver"
524  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
525  REPO['Visible']='no'  REPO['Visible']='no'
526  REPO['status']='disabled'  REPO['status']='disabled'
527  REPO['BaseURL']='https://rpm.nodesource.com/pub_11.x/el/$releasever/$basearch/'  REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/'
528  REPO['MirrorList']=''  REPO['MirrorList']=''
529  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
530  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  ext=$pgsqlver;
531    [[ "$pgsqlver" == "9.6" ]] && ext="96";
532    REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext
533  REPO['Exclude']=''  REPO['Exclude']=''
534  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
535  createrepo  createrepo
536    
537    
538    REPO['reponame']="pgsql$pgsqlver-nonfree"
539  if  ( "%{?dist}"  == "el7" ); then  REPO['pkgname']='pgsql'
540  #####################  REPO['fullreponame']="Postgresql $pgsqlver non free"
 #####################  
 # Odoo10-nightly  
 #####################  
 #####################  
 REPO['reponame']='odoo10-nightly'  
 REPO['fullreponame']='Odoo 10 Nightly - EL7'  
541  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
542  REPO['Visible']='no'  REPO['Visible']='no'
543  REPO['status']='disabled'  REPO['status']='disabled'
544  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/'
545  REPO['MirrorList']=''  REPO['MirrorList']=''
546  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
547  REPO['GPGKey']='https://nightly.odoo.com/odoo.key'  ext=$pgsqlver;
548    [[ "$pgsqlver" == "9.6" ]] && ext="96";
549    REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext
550  REPO['Exclude']=''  REPO['Exclude']=''
551  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
552  createrepo  createrepo
553    
554  #####################  REPO['reponame']="pgsql$pgsqlver-common"
555  #####################  REPO['pkgname']='pgsql'
556  # Odoo9-nightly  REPO['fullreponame']="Postgresql $pgsqlver non free"
 #####################  
 #####################  
 REPO['reponame']='odoo9-nightly'  
 REPO['fullreponame']='Odoo 9 Nightly - EL7'  
557  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
558  REPO['Visible']='no'  REPO['Visible']='no'
559  REPO['status']='disabled'  REPO['status']='disabled'
560  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/'
561  REPO['MirrorList']=''  REPO['MirrorList']=''
562  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
563  REPO['GPGKey']='https://nightly.odoo.com/odoo.key'  ext=$pgsqlver;
564  REPO['Exclude']=''  [[ "$pgsqlver" == "9.6" ]] && ext="96";
565  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']=''  
566  REPO['Exclude']=''  REPO['Exclude']=''
567  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
568  createrepo  createrepo
569    
570  #####################  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  
571    
572  #####################  #####################
573  #####################  #####################
# Line 683  createrepo Line 575  createrepo
575  #####################  #####################
576  #####################  #####################
577  REPO['reponame']='reetp'  REPO['reponame']='reetp'
578    REPO['pkgname']=${REPO['reponame']}
579  REPO['fullreponame']='Mirror John Crisp reetspetit.com'  REPO['fullreponame']='Mirror John Crisp reetspetit.com'
580  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
581  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 697  createrepo Line 590  createrepo
590    
591  #####################  #####################
592  #####################  #####################
 #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  
   
 #####################  
 #####################  
593  #remi  #remi
594  #####################  #####################
595  #####################  #####################
596  REPO['reponame']='remi'  REPO['reponame']='remi'
597    REPO['pkgname']='remi-unsafe'
598  REPO['fullreponame']='Remi - EL unsafe, will conflict with your base rpms'  REPO['fullreponame']='Remi - EL unsafe, will conflict with your base rpms'
599  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
600  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
# Line 737  createrepo Line 613  createrepo
613  #####################  #####################
614  #####################  #####################
615  REPO['reponame']='remi-ocsinventory'  REPO['reponame']='remi-ocsinventory'
616    REPO['pkgname']=${REPO['reponame']}
617  REPO['fullreponame']='Remi ocsinventory - EL'  REPO['fullreponame']='Remi ocsinventory - EL'
618  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
619  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
# Line 755  createrepo Line 632  createrepo
632  #####################  #####################
633  #####################  #####################
634  REPO['reponame']='remi-roundcube'  REPO['reponame']='remi-roundcube'
635    REPO['pkgname']=${REPO['reponame']}
636  REPO['fullreponame']='Remi Roundcube - EL'  REPO['fullreponame']='Remi Roundcube - EL'
637  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
638  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
# Line 774  createrepo Line 652  createrepo
652  #####################  #####################
653  #####################  #####################
654  REPO['reponame']='rpmfusion'  REPO['reponame']='rpmfusion'
655    REPO['pkgname']=${REPO['reponame']}
656  REPO['fullreponame']='rpmfusion free EL'  REPO['fullreponame']='rpmfusion free EL'
657  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
658  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 792  createrepo Line 671  createrepo
671  #####################  #####################
672  #####################  #####################
673  REPO['reponame']='rpmfusion-nonfree'  REPO['reponame']='rpmfusion-nonfree'
674    REPO['pkgname']='rpmfusion'
675  REPO['fullreponame']='rpmfusion nonfree EL'  REPO['fullreponame']='rpmfusion nonfree EL'
676  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
677  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 810  createrepo Line 690  createrepo
690  #####################  #####################
691  #####################  #####################
692  REPO['reponame']='sogo'  REPO['reponame']='sogo'
693    REPO['pkgname']=${REPO['reponame']}
694  REPO['fullreponame']='Inverse SOGo 2 Repository'  REPO['fullreponame']='Inverse SOGo 2 Repository'
695  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
696  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 828  createrepo Line 709  createrepo
709  #####################  #####################
710  #####################  #####################
711  REPO['reponame']='sogo3'  REPO['reponame']='sogo3'
712    REPO['pkgname']='sogo'
713  REPO['fullreponame']='Inverse SOGo 3 Repository'  REPO['fullreponame']='Inverse SOGo 3 Repository'
714  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
715  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 846  createrepo Line 728  createrepo
728  #####################  #####################
729  #####################  #####################
730  REPO['reponame']='sogo4'  REPO['reponame']='sogo4'
731    REPO['pkgname']='sogo'
732  REPO['fullreponame']='Inverse SOGo 4 Repository'  REPO['fullreponame']='Inverse SOGo 4 Repository'
733  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
734  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 864  createrepo Line 747  createrepo
747  #####################  #####################
748  #####################  #####################
749  REPO['reponame']='sogo-subscription'  REPO['reponame']='sogo-subscription'
750    REPO['pkgname']='sogo'
751  REPO['fullreponame']='Inverse SOGo Repository only with subscription'  REPO['fullreponame']='Inverse SOGo Repository only with subscription'
752  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
753  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 882  createrepo Line 766  createrepo
766  #####################  #####################
767  #####################  #####################
768  REPO['reponame']='spectrum2'  REPO['reponame']='spectrum2'
769    REPO['pkgname']=${REPO['reponame']}
770  REPO['fullreponame']='Spectrum2'  REPO['fullreponame']='Spectrum2'
771  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
772  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 900  createrepo Line 785  createrepo
785  #####################  #####################
786  #####################  #####################
787  REPO['reponame']='springdale-core'  REPO['reponame']='springdale-core'
788    REPO['pkgname']='springdale'
789  REPO['fullreponame']='PUIAS core Base'  REPO['fullreponame']='PUIAS core Base'
790  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
791  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 913  REPO['IncludePkgs']='' Line 799  REPO['IncludePkgs']=''
799  createrepo  createrepo
800    
801  REPO['reponame']='springdale-updates'  REPO['reponame']='springdale-updates'
802    REPO['pkgname']='springdale'
803  REPO['fullreponame']='PUIAS core Updates'  REPO['fullreponame']='PUIAS core Updates'
804  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
805  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 926  REPO['IncludePkgs']='' Line 813  REPO['IncludePkgs']=''
813  createrepo  createrepo
814    
815  REPO['reponame']='springdale-addons'  REPO['reponame']='springdale-addons'
816    REPO['pkgname']='springdale'
817  REPO['fullreponame']='PUIAS Addons'  REPO['fullreponame']='PUIAS Addons'
818  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
819  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 939  REPO['IncludePkgs']='' Line 827  REPO['IncludePkgs']=''
827  createrepo  createrepo
828    
829  REPO['reponame']='springdale-addons-updates'  REPO['reponame']='springdale-addons-updates'
830    REPO['pkgname']='springdale'
831  REPO['fullreponame']='PUIAS Addons Updates'  REPO['fullreponame']='PUIAS Addons Updates'
832  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
833  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 953  createrepo Line 842  createrepo
842    
843    
844  REPO['reponame']='springdale-unsupported'  REPO['reponame']='springdale-unsupported'
845    REPO['pkgname']='springdale'
846  REPO['fullreponame']='PUIAS Unsupported'  REPO['fullreponame']='PUIAS Unsupported'
847  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
848  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 966  REPO['IncludePkgs']='' Line 856  REPO['IncludePkgs']=''
856  createrepo  createrepo
857    
858  REPO['reponame']='springdale-computational'  REPO['reponame']='springdale-computational'
859    REPO['pkgname']='springdale'
860  REPO['fullreponame']='PUIAS Computational'  REPO['fullreponame']='PUIAS Computational'
861  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
862  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 987  createrepo Line 878  createrepo
878  #####################  #####################
879  #####################  #####################
880  REPO['reponame']='stephdl'  REPO['reponame']='stephdl'
881    REPO['pkgname']=${REPO['reponame']}
882  REPO['fullreponame']='Mirror Stephane de Labrusse'  REPO['fullreponame']='Mirror Stephane de Labrusse'
883  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
884  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1005  createrepo Line 897  createrepo
897  #####################  #####################
898  #####################  #####################
899  REPO['reponame']='virtualbox'  REPO['reponame']='virtualbox'
900    REPO['pkgname']=${REPO['reponame']}
901  REPO['fullreponame']='RHEL/CentOS VirtualBox'  REPO['fullreponame']='RHEL/CentOS VirtualBox'
902  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
903  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1023  createrepo Line 916  createrepo
916  #####################  #####################
917  #####################  #####################
918  REPO['reponame']='webtatic'  REPO['reponame']='webtatic'
919    REPO['pkgname']=${REPO['reponame']}
920  REPO['fullreponame']='webtatic - EL'  REPO['fullreponame']='webtatic - EL'
921  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
922  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1045  createrepo Line 939  createrepo
939  #####################  #####################
940  #####################  #####################
941  REPO['reponame']='xymon'  REPO['reponame']='xymon'
942    REPO['pkgname']=${REPO['reponame']}
943  REPO['fullreponame']='Xymon Terabithia RPMS - EL'  REPO['fullreponame']='Xymon Terabithia RPMS - EL'
944  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
945  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1062  createrepo Line 957  createrepo
957  #Zabbix2.4  #Zabbix2.4
958  #####################  #####################
959  #####################  #####################
960  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')
961  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
962  REPO['reponame']="zabbix${zabshort[$elasver]}"  REPO['reponame']="zabbix${zabshort[$elasver]}"
963    REPO['pkgname']='zabbix'
964  REPO['fullreponame']="Zabbix $elasver Official Repository"  REPO['fullreponame']="Zabbix $elasver Official Repository"
965  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
966  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1072  REPO['status']='disabled' Line 968  REPO['status']='disabled'
968  REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/"  REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/"
969  REPO['MirrorList']=''  REPO['MirrorList']=''
970  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
971  REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX"  REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591"
972  REPO['Exclude']=''  REPO['Exclude']=''
973  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
974  createrepo  createrepo
# Line 1084  done Line 980  done
980  #####################  #####################
981  #####################  #####################
982  REPO['reponame']='zmrepo'  REPO['reponame']='zmrepo'
983    REPO['pkgname']=${REPO['reponame']}
984  REPO['fullreponame']='ZoneMinder Repo - EL'  REPO['fullreponame']='ZoneMinder Repo - EL'
985  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
986  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1177  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi Line 1074  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi
1074    
1075  EOF  EOF
1076    
 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  
1077    
1078  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
1079  {  {
1080      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");
1081      my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version');      my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version');
1082      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");
1083    
1084      my %removeinclude = map { $_ => 1 } split(/[,; ]+/, '');      my %removeinclude = map { $_ => 1 } split(/[,; ]+/, '');
1085    
1086      for my $name ( qw(openfusion) )      for my $name ( qw(openfusion) )
# Line 1249  rm -f %{name}-%{version}-filelist* Line 1134  rm -f %{name}-%{version}-filelist*
1134  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist
1135  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic
1136  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  
1137  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware
1138  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic
1139  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 1141  cat %{name}-%{version}-filelist| grep ep
1141  cat %{name}-%{version}-filelist| grep erlang                    > %{name}-%{version}-filelist-erlang  cat %{name}-%{version}-filelist| grep erlang                    > %{name}-%{version}-filelist-erlang
1142  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch
1143  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  
1144  cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan  cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan
1145  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
1146  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 1149  cat %{name}-%{version}-filelist| grep ok
1149  cat %{name}-%{version}-filelist| grep openfusion                > %{name}-%{version}-filelist-openfusion  cat %{name}-%{version}-filelist| grep openfusion                > %{name}-%{version}-filelist-openfusion
1150  cat %{name}-%{version}-filelist| grep node                      > %{name}-%{version}-filelist-node  cat %{name}-%{version}-filelist| grep node                      > %{name}-%{version}-filelist-node
1151  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  
1152  cat %{name}-%{version}-filelist| grep remi-ocsinventory         > %{name}-%{version}-filelist-remi-ocsinventory  cat %{name}-%{version}-filelist| grep remi-ocsinventory         > %{name}-%{version}-filelist-remi-ocsinventory
1153  cat %{name}-%{version}-filelist| grep remi-roundcube            > %{name}-%{version}-filelist-remi-roundcube  cat %{name}-%{version}-filelist| grep remi-roundcube            > %{name}-%{version}-filelist-remi-roundcube
1154  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
1155  cat %{name}-%{version}-filelist| grep rpmfusion                 > %{name}-%{version}-filelist-rpmfusion  cat %{name}-%{version}-filelist| grep rpmfusion                 > %{name}-%{version}-filelist-rpmfusion
1156  cat %{name}-%{version}-filelist| grep sogo                      > %{name}-%{version}-filelist-sogo  cat %{name}-%{version}-filelist| grep sogo                      > %{name}-%{version}-filelist-sogo
1157  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 1162  cat %{name}-%{version}-filelist| grep we
1162  cat %{name}-%{version}-filelist| grep xymon                     > %{name}-%{version}-filelist-xymon  cat %{name}-%{version}-filelist| grep xymon                     > %{name}-%{version}-filelist-xymon
1163  cat %{name}-%{version}-filelist| grep zabbix                    > %{name}-%{version}-filelist-zabbix  cat %{name}-%{version}-filelist| grep zabbix                    > %{name}-%{version}-filelist-zabbix
1164  cat %{name}-%{version}-filelist| grep zmrepo                    > %{name}-%{version}-filelist-zmrepo  cat %{name}-%{version}-filelist| grep zmrepo                    > %{name}-%{version}-filelist-zmrepo
1165    cat %{name}-%{version}-filelist| grep pgsql                    > %{name}-%{version}-filelist-pgsql
1166  %clean  %clean
1167  cd ..  cd ..
1168  rm -rf %{name}-%{version}  rm -rf %{name}-%{version}
# Line 1321  CentOS Red-Hat software collection repos Line 1203  CentOS Red-Hat software collection repos
1203  %files centos-sclo -f  %{name}-%{version}-filelist-centos-sclo  %files centos-sclo -f  %{name}-%{version}-filelist-centos-sclo
1204  %defattr(-,root,root)  %defattr(-,root,root)
1205    
 %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)  
   
1206  %package egroupware  %package egroupware
1207  Summary: Repository for eGroupWare  Summary: Repository for eGroupWare
1208  %description egroupware  %description egroupware
# Line 1377  Firewall Services repository Line 1252  Firewall Services repository
1252  %files fws -f  %{name}-%{version}-filelist-fws  %files fws -f  %{name}-%{version}-filelist-fws
1253  %defattr(-,root,root)  %defattr(-,root,root)
1254    
 %package geekery  
 Summary: Geekery Repository  
 %description geekery  
 Geekery Repository  
 %files geekery -f  %{name}-%{version}-filelist-geekery  
 %defattr(-,root,root)  
   
1255  %package libreswan  %package libreswan
1256  Summary: Libreswan Repository  Summary: Libreswan Repository
1257  %description libreswan  %description libreswan
# Line 1421  Openfusion Repository Line 1289  Openfusion Repository
1289  %files openfusion -f  %{name}-%{version}-filelist-openfusion  %files openfusion -f  %{name}-%{version}-filelist-openfusion
1290  %defattr(-,root,root)  %defattr(-,root,root)
1291    
1292    %package pgsql
1293    Summary: PostGreSQL Repositories
1294    %description pgsql
1295    PostGreSQL Repositories
1296    %files pgsql -f  %{name}-%{version}-filelist-pgsql
1297    %defattr(-,root,root)
1298    
1299  %package reetp  %package reetp
1300  Summary: Mirror John Crisp reetspetit.com  Summary: Mirror John Crisp reetspetit.com
1301  %description reetp  %description reetp
# Line 1428  Mirror John Crisp reetspetit.com Line 1303  Mirror John Crisp reetspetit.com
1303  %files reetp -f  %{name}-%{version}-filelist-reetp  %files reetp -f  %{name}-%{version}-filelist-reetp
1304  %defattr(-,root,root)  %defattr(-,root,root)
1305    
 %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)  
   
1306  %package remi-ocsinventory  %package remi-ocsinventory
1307  Summary: Remi repository filtered to install OCSinventory  Summary: Remi repository filtered to install OCSinventory
1308  %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