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

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

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

Revision 1.4 by jpp, Thu Feb 15 20:18:44 2018 UTC Revision 1.25 by jpp, Sun Jan 27 17:02:31 2019 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 1  %define release 20
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    * Sun Jan 27 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-20.sme
22    - add node repos [SME: 10727]
23    
24    * Fri Jan 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-19.sme
25    - improve zmrepo migrate fragment to avoid action if not needed.
26    - migrate fragment for openfusion
27    
28    * Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-18.sme
29    - remove perl-version from pkg lists
30    
31    * Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-17.sme
32    - revised Include and Exclude to prevident accidental update
33    - updated incorrect changelog dates
34    
35    * Thu Jan 03 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-16.sme
36    - Add more Excludes to Openfusion
37    
38    * Tue Jan 01 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-15.sme
39    - Exclude mod_perl and other files from OpenFusion repo
40    
41    * Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-14.sme
42    - fix typo in asterisk-current
43    - fix typo in migrate fragment for zmrepo
44    - renamed digium as digium-current
45    
46    * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme
47    - zoneminder needs ffmpeg from zmrepo [SME: 10539]
48    
49    * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-11.sme
50    - zmrepo url has changed [SME: 10675]
51    
52    * Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme
53    - Add libreswan repo  [SME: 10605]
54    - remove duplicate remi-safe entry
55    
56    * Mon Jun 25 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6.sme
57    - Update reetp URL  [SME: 10604]
58    
59    * Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme
60    - add elrepo-kernel repo  [SME: 10581]
61    
62    * Sun Mar 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme
63    - exclude ffmpeg-2.6.4 and celt-0.11 from zmrepo [SME: 10543]
64    - add Sogo4 repo + migrate to exclude gnustep from epel if sogo repo present
65    
66    * Sun Feb 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-3.sme
67    - fix wrong escape sequence for $basearch and $releasever [SME: 10239]
68    
69    * Thu Feb 15 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme
70    - first multipackage version
71    - gpg keys not included
72    
73  * Mon May 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme  * Mon May 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme
74  - initial release  - initial release
75    
# Line 70  return 0 Line 122  return 0
122    
123    
124    
 #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  
   
125  ######################  ######################
126  #####################  #####################
127  # asterisk 13 LTS  # asterisk 13 LTS
# Line 95  REPO['EnableGroups']='yes' Line 133  REPO['EnableGroups']='yes'
133  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
134  REPO['Visible']='no'  REPO['Visible']='no'
135  REPO['status']='disabled'  REPO['status']='disabled'
136  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/asterisk-13/\\\$basearch/'  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/asterisk-13/$basearch/'
137  REPO['MirrorList']=''  REPO['MirrorList']=''
138  REPO['GPGKey']=''  REPO['GPGKey']=''
139  REPO['Exclude']=''  REPO['Exclude']=''
# Line 113  REPO['EnableGroups']='yes' Line 151  REPO['EnableGroups']='yes'
151  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
152  REPO['Visible']='no'  REPO['Visible']='no'
153  REPO['status']='disabled'  REPO['status']='disabled'
154  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/\\\$basearch/'  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/'
155  REPO['MirrorList']=''  REPO['MirrorList']=''
156  REPO['GPGKey']=''  REPO['GPGKey']=''
157  REPO['Exclude']=''  REPO['Exclude']=''
# Line 125  createrepo Line 163  createrepo
163  # Digium Repo  # Digium Repo
164  #####################  #####################
165  #####################  #####################
166  REPO['reponame']='digium'  REPO['reponame']='digium-current'
167  REPO['fullreponame']='Digium packages - EL'  REPO['fullreponame']='Digium packages - EL'
168  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
169  REPO['Visible']='no'  REPO['Visible']='no'
170  REPO['status']='disabled'  REPO['status']='disabled'
171  REPO['BaseURL']='http://packages.digium.com/centos/\\\$releasever/current/\\\$basearch/'  REPO['BaseURL']='http://packages.digium.com/centos/$releasever/current/$basearch/'
172  REPO['MirrorList']=''  REPO['MirrorList']=''
173  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
174  REPO['GPGKey']=''  REPO['GPGKey']=''
# Line 148  REPO['fullreponame']='Digium-13 packages Line 186  REPO['fullreponame']='Digium-13 packages
186  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
187  REPO['Visible']='no'  REPO['Visible']='no'
188  REPO['status']='disabled'  REPO['status']='disabled'
189  REPO['BaseURL']='http://packages.digium.com/centos/\\\$releasever/digium-13/\\\$basearch/'  REPO['BaseURL']='http://packages.digium.com/centos/$releasever/digium-13/$basearch/'
190  REPO['MirrorList']=''  REPO['MirrorList']=''
191  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
192  REPO['GPGKey']=''  REPO['GPGKey']=''
# Line 167  REPO['EnableGroups']='no' Line 205  REPO['EnableGroups']='no'
205  REPO['Visible']='no'  REPO['Visible']='no'
206  REPO['status']='disabled'  REPO['status']='disabled'
207  REPO['BaseURL']=''  REPO['BaseURL']=''
208  REPO['MirrorList']='http://www.atomicorp.com/mirrorlist/atomic/centos-\\\$releasever-\\\$basearch'  REPO['MirrorList']='http://www.atomicorp.com/mirrorlist/atomic/centos-$releasever-$basearch'
209  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
210  REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt'  REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt'
211  REPO['Exclude']=''  REPO['Exclude']=''
# Line 176  createrepo Line 214  createrepo
214    
215  #####################  #####################
216  #####################  #####################
217    #centos-sclo-centos
218    #####################
219    #####################
220    REPO['reponame']='centos-sclo-centos'
221    REPO['fullreponame']='Centos-RH Software collections'
222    REPO['EnableGroups']='no'
223    REPO['Visible']='yes'
224    REPO['status']='disabled'
225    REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/'
226    REPO['MirrorList']=''
227    REPO['GPGCheck']='yes'
228    REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'
229    REPO['Exclude']=''
230    REPO['IncludePkgs']=''
231    createrepo
232    
233    #####################
234    #####################
235  #centos-sclo-rh  #centos-sclo-rh
236  #####################  #####################
237  #####################  #####################
# Line 184  REPO['fullreponame']='Centos-RH Software Line 240  REPO['fullreponame']='Centos-RH Software
240  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
241  REPO['Visible']='yes'  REPO['Visible']='yes'
242  REPO['status']='disabled'  REPO['status']='disabled'
243  REPO['BaseURL']='http://mirror.centos.org/centos/\\\$releasever/sclo/\\\$basearch/rh'  REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/'
244  REPO['MirrorList']=''  REPO['MirrorList']=''
245  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
246  REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'  REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'
# Line 202  REPO['fullreponame']='server_eGroupWare' Line 258  REPO['fullreponame']='server_eGroupWare'
258  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
259  REPO['Visible']='yes'  REPO['Visible']='yes'
260  REPO['status']='disabled'  REPO['status']='disabled'
261  REPO['BaseURL']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_\\\$releasever/'  REPO['BaseURL']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_$releasever/'
262  REPO['MirrorList']=''  REPO['MirrorList']=''
263  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
264  REPO['GPGKey']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_\\\$releasever/repodata/repomd.xml.key'  REPO['GPGKey']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_$releasever/repodata/repomd.xml.key'
265  REPO['Exclude']=''  REPO['Exclude']=''
266  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
267  createrepo  createrepo
# Line 241  REPO['fullreponame']='ELRepo.org Communi Line 297  REPO['fullreponame']='ELRepo.org Communi
297  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
298  REPO['Visible']='no'  REPO['Visible']='no'
299  REPO['status']='disabled'  REPO['status']='disabled'
300  REPO['BaseURL']='http://elrepo.org/linux/elrepo/el\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch'
301  REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.\\\$releasever'  REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.el$releasever'
302  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
303  REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'  REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
304  REPO['Exclude']='clamav,spamassassin,libselinux,perl-HTML-Parser,lm_sensors,perl-IO-stringy,perl-XML-Parser,razor-agents,libgcrypt,rpm-python,libxml2,zlib,gnupg,libxml2-python,yum,module-init-tools,rpm,gettext,librpm4,glib2,perl-libwww-perl,perl-Convert-ASN1,beecrypt,fetchmail,libacl,libtool-ltdl,popt,libgpg-error,freetype,perl-MIME-tools,mutt,gd,perl-TimeDate,librpm4.4'  REPO['Exclude']='clamav,spamassassin,libselinux,perl-HTML-Parser,lm_sensors,perl-IO-stringy,perl-XML-Parser,razor-agents,libgcrypt,rpm-python,libxml2,zlib,gnupg,libxml2-python,yum,module-init-tools,rpm,gettext,librpm4,glib2,perl-libwww-perl,perl-Convert-ASN1,beecrypt,fetchmail,libacl,libtool-ltdl,popt,libgpg-error,freetype,perl-MIME-tools,mutt,gd,perl-TimeDate,librpm4.4'
# Line 251  createrepo Line 307  createrepo
307    
308  #####################  #####################
309  #####################  #####################
310    #ELRepo kernel
311    #####################
312    #####################
313    REPO['reponame']='elrepo-kernel'
314    REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel'
315    REPO['EnableGroups']='no'
316    REPO['Visible']='no'
317    REPO['status']='disabled'
318    REPO['BaseURL']='http://elrepo.org/linux/kernel/el$releasever/$basearch'
319    REPO['MirrorList']='http://elrepo.org/mirrors-elrepo-kernel.el$releasever'
320    REPO['GPGCheck']='yes'
321    REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
322    REPO['Exclude']=''
323    REPO['IncludePkgs']=''
324    createrepo
325    
326    #####################
327    #####################
328  #EPEL  #EPEL
329  #####################  #####################
330  #####################  #####################
# Line 259  REPO['fullreponame']='EPEL' Line 333  REPO['fullreponame']='EPEL'
333  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
334  REPO['Visible']='no'  REPO['Visible']='no'
335  REPO['status']='disabled'  REPO['status']='disabled'
336  REPO['BaseURL']='http://download.fedoraproject.org/pub/epel/\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://download.fedoraproject.org/pub/epel/$releasever/$basearch'
337  REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-\\\$releasever&arch=\\\$basearch'  REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch'
338  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
339  REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'  REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
340  REPO['Exclude']='perl-Razor-Agent'  REPO['Exclude']='perl-Razor-Agent'
# Line 277  REPO['fullreponame']='erlang programming Line 351  REPO['fullreponame']='erlang programming
351  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
352  REPO['Visible']='yes'  REPO['Visible']='yes'
353  REPO['status']='disabled'  REPO['status']='disabled'
354  REPO['BaseURL']='http://packages.erlang-solutions.com/rpm/centos/\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch'
355  REPO['MirrorList']=''  REPO['MirrorList']=''
356  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
357  REPO['GPGKey']='http://packages.erlang-solutions.com/rpm/erlang_solutions.asc'  REPO['GPGKey']='http://packages.erlang-solutions.com/rpm/erlang_solutions.asc'
# Line 295  REPO['fullreponame']='Freeswitch' Line 369  REPO['fullreponame']='Freeswitch'
369  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
370  REPO['Visible']='yes'  REPO['Visible']='yes'
371  REPO['status']='disabled'  REPO['status']='disabled'
372  REPO['BaseURL']='http://files.freeswitch.org/yum/\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://files.freeswitch.org/yum/$releasever/$basearch'
373  REPO['MirrorList']=''  REPO['MirrorList']=''
374  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
375  REPO['GPGKey']='file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH'  REPO['GPGKey']='file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH'
# Line 313  REPO['fullreponame']='Firewall Services' Line 387  REPO['fullreponame']='Firewall Services'
387  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
388  REPO['Visible']='no'  REPO['Visible']='no'
389  REPO['status']='disabled'  REPO['status']='disabled'
390  REPO['BaseURL']='http://repo.firewall-services.com/centos/\\\$releasever'  REPO['BaseURL']='http://repo.firewall-services.com/centos/$releasever'
391  REPO['MirrorList']=''  REPO['MirrorList']=''
392  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
393  REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY'  REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY'
# Line 331  REPO['fullreponame']='Firewall Services Line 405  REPO['fullreponame']='Firewall Services
405  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
406  REPO['Visible']='no'  REPO['Visible']='no'
407  REPO['status']='disabled'  REPO['status']='disabled'
408  REPO['BaseURL']='http://repo.firewall-services.com/centos-testing/\\\$releasever'  REPO['BaseURL']='http://repo.firewall-services.com/centos-testing/$releasever'
409  REPO['MirrorList']=''  REPO['MirrorList']=''
410  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
411  REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY'  REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY'
# Line 350  REPO['EnableGroups']='no' Line 424  REPO['EnableGroups']='no'
424  REPO['Visible']='no'  REPO['Visible']='no'
425  REPO['status']='disabled'  REPO['status']='disabled'
426  REPO['BaseURL']=''  REPO['BaseURL']=''
427  REPO['MirrorList']='http://geekery.epac.to/geekery/el\\\$releasever-mirrors'  REPO['MirrorList']='http://geekery.epac.to/geekery/el$releasever-mirrors'
428  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
429  REPO['GPGKey']='http://geekery.altervista.org/download.php?filename=GEEKERY-GPG-KEY'  REPO['GPGKey']='http://geekery.altervista.org/download.php?filename=GEEKERY-GPG-KEY'
430  REPO['Exclude']=''  REPO['Exclude']=''
431  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
432  createrepo  createrepo
433    
434    #####################
435    #####################
436    # Libreswan
437    #####################
438    #####################
439    REPO['reponame']='libreswan'
440    REPO['fullreponame']='Libreswan'
441    REPO['EnableGroups']='no'
442    REPO['Visible']='no'
443    REPO['status']='disabled'
444    REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/'
445    REPO['MirrorList']=''
446    REPO['GPGCheck']='yes'
447    REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan'
448    REPO['Exclude']=''
449    REPO['IncludePkgs']=''
450    createrepo
451    
452    
453    #####################
454    #####################
455    # NodeJS 4
456    #####################
457    #####################
458    REPO['reponame']='node4'
459    REPO['fullreponame']='NodeJS 4'
460    REPO['EnableGroups']='no'
461    REPO['Visible']='no'
462    REPO['status']='disabled'
463    REPO['BaseURL']='https://rpm.nodesource.com/pub_4.x/el/$releasever/$basearch/'
464    REPO['MirrorList']=''
465    REPO['GPGCheck']='no'
466    REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
467    REPO['Exclude']=''
468    REPO['IncludePkgs']=''
469    createrepo
470    
471    #####################
472    #####################
473    # NodeJS 5
474    #####################
475    #####################
476    REPO['reponame']='node5'
477    REPO['fullreponame']='NodeJS 5'
478    REPO['EnableGroups']='no'
479    REPO['Visible']='no'
480    REPO['status']='disabled'
481    REPO['BaseURL']='https://rpm.nodesource.com/pub_5.x/el/$releasever/$basearch/'
482    REPO['MirrorList']=''
483    REPO['GPGCheck']='no'
484    REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
485    REPO['Exclude']=''
486    REPO['IncludePkgs']=''
487    createrepo
488    
489    #####################
490    #####################
491    # NodeJS 6
492    #####################
493    #####################
494    REPO['reponame']='node6'
495    REPO['fullreponame']='NodeJS 6'
496    REPO['EnableGroups']='no'
497    REPO['Visible']='no'
498    REPO['status']='disabled'
499    REPO['BaseURL']='https://rpm.nodesource.com/pub_6.x/el/$releasever/$basearch/'
500    REPO['MirrorList']=''
501    REPO['GPGCheck']='no'
502    REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
503    REPO['Exclude']=''
504    REPO['IncludePkgs']=''
505    createrepo
506    
507    #####################
508    #####################
509    # NodeJS 7
510    #####################
511    #####################
512    REPO['reponame']='node7'
513    REPO['fullreponame']='NodeJS 7'
514    REPO['EnableGroups']='no'
515    REPO['Visible']='no'
516    REPO['status']='disabled'
517    REPO['BaseURL']='https://rpm.nodesource.com/pub_7.x/el/$releasever/$basearch/'
518    REPO['MirrorList']=''
519    REPO['GPGCheck']='no'
520    REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
521    REPO['Exclude']=''
522    REPO['IncludePkgs']=''
523    createrepo
524    
525    #####################
526    #####################
527    # NodeJS
528    #####################
529    #####################
530    REPO['reponame']='node8'
531    REPO['fullreponame']='NodeJS 8'
532    REPO['EnableGroups']='no'
533    REPO['Visible']='no'
534    REPO['status']='disabled'
535    REPO['BaseURL']='https://rpm.nodesource.com/pub_8.x/el/$releasever/$basearch/'
536    REPO['MirrorList']=''
537    REPO['GPGCheck']='no'
538    REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
539    REPO['Exclude']=''
540    REPO['IncludePkgs']=''
541    createrepo
542    
543    #####################
544    #####################
545    # NodeJS 9
546    #####################
547    #####################
548    REPO['reponame']='node9'
549    REPO['fullreponame']='NodeJS 9'
550    REPO['EnableGroups']='no'
551    REPO['Visible']='no'
552    REPO['status']='disabled'
553    REPO['BaseURL']='https://rpm.nodesource.com/pub_9.x/el/$releasever/$basearch/'
554    REPO['MirrorList']=''
555    REPO['GPGCheck']='no'
556    REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
557    REPO['Exclude']=''
558    REPO['IncludePkgs']=''
559    createrepo
560    
561    #####################
562    #####################
563    # NodeJS 10
564    #####################
565    #####################
566    REPO['reponame']='node10'
567    REPO['fullreponame']='NodeJS 10'
568    REPO['EnableGroups']='no'
569    REPO['Visible']='no'
570    REPO['status']='disabled'
571    REPO['BaseURL']='https://rpm.nodesource.com/pub_10.x/el/$releasever/$basearch/'
572    REPO['MirrorList']=''
573    REPO['GPGCheck']='no'
574    REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
575    REPO['Exclude']=''
576    REPO['IncludePkgs']=''
577    createrepo
578    
579    #####################
580    #####################
581    # NodeJS 11
582    #####################
583    #####################
584    REPO['reponame']='node11'
585    REPO['fullreponame']='NodeJS 11'
586    REPO['EnableGroups']='no'
587    REPO['Visible']='no'
588    REPO['status']='disabled'
589    REPO['BaseURL']='https://rpm.nodesource.com/pub_11.x/el/$releasever/$basearch/'
590    REPO['MirrorList']=''
591    REPO['GPGCheck']='no'
592    REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
593    REPO['Exclude']=''
594    REPO['IncludePkgs']=''
595    createrepo
596    
597    
598    
599  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
600  #####################  #####################
601  #####################  #####################
# Line 405  REPO['fullreponame']='Extra OKay Package Line 644  REPO['fullreponame']='Extra OKay Package
644  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
645  REPO['Visible']='no'  REPO['Visible']='no'
646  REPO['status']='disabled'  REPO['status']='disabled'
647  REPO['BaseURL']='http://repo.okay.com.mx/centos/\\\$releasever/\\\$basearch/release'  REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'
648  REPO['MirrorList']=''  REPO['MirrorList']=''
649  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
650  REPO['GPGKey']=''  REPO['GPGKey']=''
# Line 423  REPO['fullreponame']='Openfusion' Line 662  REPO['fullreponame']='Openfusion'
662  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
663  REPO['Visible']='yes'  REPO['Visible']='yes'
664  REPO['status']='disabled'  REPO['status']='disabled'
665  REPO['BaseURL']='http://repo.openfusion.net/centos\\\$releasever-\\\$basearch'  REPO['BaseURL']='http://repo.openfusion.net/centos$releasever-$basearch'
666  REPO['MirrorList']=''  REPO['MirrorList']=''
667  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
668  REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'  REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'
669  REPO['Exclude']=''  REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-Exporter-Tiny,perl-ExtUtils-Install,perl-parent'
670  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'
671  createrepo  createrepo
672    
673  #####################  #####################
# Line 441  REPO['fullreponame']='Mirror John Crisp Line 680  REPO['fullreponame']='Mirror John Crisp
680  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
681  REPO['Visible']='yes'  REPO['Visible']='yes'
682  REPO['status']='disabled'  REPO['status']='disabled'
683  REPO['BaseURL']='https://reetspetit.com/smeserver/\\\$releasever'  REPO['BaseURL']='https://www.reetspetit.com/smeserver/$releasever'
684  REPO['MirrorList']=''  REPO['MirrorList']=''
685  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
686  REPO['GPGKey']='https://reetspetit.com/RPM-GPG-KEY'  REPO['GPGKey']='https://www.reetspetit.com/RPM-GPG-KEY'
687  REPO['Exclude']=''  REPO['Exclude']=''
688  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
689  createrepo  createrepo
690    
691    #####################
692    #####################
693  #remi-safe  #remi-safe
694    #####################
695    #####################
696  REPO['reponame']='remi-safe'  REPO['reponame']='remi-safe'
697  REPO['fullreponame']='Remi - safe'  REPO['fullreponame']='Remi - safe'
698  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
699  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
700  REPO['Visible']='yes'  REPO['Visible']='yes'
701  REPO['status']='enabled'  REPO['status']='enabled'
702  REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/\\\$releasever/safe/\\\$basearch/'  REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/safe/$basearch/'
703  REPO['MirrorList']=''  REPO['MirrorList']=''
704  REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'  REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
705  REPO['Exclude']=''  REPO['Exclude']=''
# Line 474  REPO['EnableGroups']='no' Line 717  REPO['EnableGroups']='no'
717  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
718  REPO['Visible']='no'  REPO['Visible']='no'
719  REPO['status']='enabled'  REPO['status']='enabled'
720  REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/\\\$releasever/remi/\\\$basearch/'  REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
721  REPO['MirrorList']=''  REPO['MirrorList']=''
722  REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'  REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
723  REPO['Exclude']='mysql*,php-*,phpMyAdmin'  REPO['Exclude']='mysql*,php-*,phpMyAdmin'
# Line 492  REPO['EnableGroups']='no' Line 735  REPO['EnableGroups']='no'
735  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
736  REPO['Visible']='yes'  REPO['Visible']='yes'
737  REPO['status']='enabled'  REPO['status']='enabled'
738  REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/\\\$releasever/remi/\\\$basearch/'  REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
739  REPO['MirrorList']=''  REPO['MirrorList']=''
740  REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'  REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
741  REPO['Exclude']=''  REPO['Exclude']=''
# Line 510  REPO['EnableGroups']='no' Line 753  REPO['EnableGroups']='no'
753  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
754  REPO['Visible']='yes'  REPO['Visible']='yes'
755  REPO['status']='enabled'  REPO['status']='enabled'
756  REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/\\\$releasever/remi/\\\$basearch/'  REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
757  REPO['MirrorList']=''  REPO['MirrorList']=''
758  REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'  REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
759  REPO['Exclude']=''  REPO['Exclude']=''
# Line 528  REPO['fullreponame']='rpmfusion free EL' Line 771  REPO['fullreponame']='rpmfusion free EL'
771  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
772  REPO['Visible']='yes'  REPO['Visible']='yes'
773  REPO['status']='disabled'  REPO['status']='disabled'
774  REPO['BaseURL']='http://download1.rpmfusion.org/free/el/updates/\\\$releasever/\\\$basearch/'  REPO['BaseURL']='http://download1.rpmfusion.org/free/el/updates/$releasever/$basearch/'
775  REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-\\\$releasever&arch=\\\$basearch'  REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-$releasever&arch=$basearch'
776  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
777  REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-el-\\\$releasever'  REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-el-$releasever'
778  REPO['Exclude']=''  REPO['Exclude']=''
779  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
780  createrepo  createrepo
# Line 546  REPO['fullreponame']='rpmfusion nonfree Line 789  REPO['fullreponame']='rpmfusion nonfree
789  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
790  REPO['Visible']='yes'  REPO['Visible']='yes'
791  REPO['status']='disabled'  REPO['status']='disabled'
792  REPO['BaseURL']='http://download1.rpmfusion.org/nonfree/el/updates/\\\$releasever/\\\$basearch/'  REPO['BaseURL']='http://download1.rpmfusion.org/nonfree/el/updates/$releasever/$basearch/'
793  REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-released-\\\$releasever&arch=\\\$basearch'  REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-released-$releasever&arch=$basearch'
794    REPO['GPGCheck']='yes'
795    REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-el-$releasever'
796    REPO['Exclude']=''
797    REPO['IncludePkgs']=''
798    createrepo
799    
800    #####################
801    #####################
802    #Sogo nightly
803    #####################
804    #####################
805    REPO['reponame']='sogo'
806    REPO['fullreponame']='Inverse SOGo 2 Repository'
807    REPO['EnableGroups']='no'
808    REPO['Visible']='yes'
809    REPO['status']='disabled'
810    REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/2/rhel/$releasever/$basearch'
811    REPO['MirrorList']=''
812    REPO['GPGCheck']='no'
813    REPO['GPGKey']=''
814    REPO['Exclude']=''
815    REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
816    createrepo
817    
818    #####################
819    #####################
820    #Sogo3 nightly
821    #####################
822    #####################
823    REPO['reponame']='sogo3'
824    REPO['fullreponame']='Inverse SOGo 3 Repository'
825    REPO['EnableGroups']='no'
826    REPO['Visible']='yes'
827    REPO['status']='disabled'
828    REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/3/rhel/$releasever/$basearch'
829    REPO['MirrorList']=''
830    REPO['GPGCheck']='no'
831    REPO['GPGKey']=''
832    REPO['Exclude']=''
833    REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
834    createrepo
835    
836    #####################
837    #####################
838    #Sogo4 nightly
839    #####################
840    #####################
841    REPO['reponame']='sogo4'
842    REPO['fullreponame']='Inverse SOGo 4 Repository'
843    REPO['EnableGroups']='no'
844    REPO['Visible']='yes'
845    REPO['status']='disabled'
846    REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/4/rhel/$releasever/$basearch'
847    REPO['MirrorList']=''
848    REPO['GPGCheck']='no'
849    REPO['GPGKey']=''
850    REPO['Exclude']=''
851    REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
852    createrepo
853    
854    #####################
855    #####################
856    #Sogo stable
857    #####################
858    #####################
859    REPO['reponame']='sogo-subscription'
860    REPO['fullreponame']='Inverse SOGo Repository only with subscription'
861    REPO['EnableGroups']='no'
862    REPO['Visible']='yes'
863    REPO['status']='disabled'
864    REPO['BaseURL']='http://packages.inverse.ca/download/SOGo/RHEL$releasever/$basearch'
865    REPO['MirrorList']=''
866    REPO['GPGCheck']='no'
867    REPO['GPGKey']=''
868    REPO['Exclude']=''
869    REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
870    createrepo
871    
872    #####################
873    #####################
874    #Spectrum2
875    #####################
876    #####################
877    REPO['reponame']='spectrum2'
878    REPO['fullreponame']='Spectrum2'
879    REPO['EnableGroups']='no'
880    REPO['Visible']='yes'
881    REPO['status']='disabled'
882    REPO['BaseURL']='http://copr-be.cloud.fedoraproject.org/results/mcepl/spectrum2/epel-$releasever-$basearch'
883    REPO['MirrorList']=''
884    REPO['GPGCheck']='no'
885    REPO['GPGKey']=''
886    REPO['Exclude']=''
887    REPO['IncludePkgs']=''
888    createrepo
889    
890    #####################
891    #####################
892    #stephDL
893    #####################
894    #####################
895    REPO['reponame']='stephdl'
896    REPO['fullreponame']='Mirror Stephane de Labrusse'
897    REPO['EnableGroups']='no'
898    REPO['Visible']='yes'
899    REPO['status']='disabled'
900    REPO['BaseURL']='http://mirror.de-labrusse.fr/smeserver/$releasever'
901    REPO['MirrorList']=''
902    REPO['GPGCheck']='yes'
903    REPO['GPGKey']='http://mirror.de-labrusse.fr/RPM-GPG-KEY'
904    REPO['Exclude']=''
905    REPO['IncludePkgs']=''
906    createrepo
907    
908    #####################
909    #####################
910    #VirtualBox
911    #####################
912    #####################
913    REPO['reponame']='virtualbox'
914    REPO['fullreponame']='RHEL/CentOS VirtualBox'
915    REPO['EnableGroups']='no'
916    REPO['Visible']='yes'
917    REPO['status']='disabled'
918    REPO['BaseURL']='http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch'
919    REPO['MirrorList']=''
920    REPO['GPGCheck']='yes'
921    REPO['GPGKey']='https://www.virtualbox.org/download/oracle_vbox.asc'
922    REPO['Exclude']=''
923    REPO['IncludePkgs']=''
924    createrepo
925    
926    #####################
927    #####################
928    #Webtatic
929    #####################
930    #####################
931    REPO['reponame']='webtatic'
932    REPO['fullreponame']='webtatic - EL'
933    REPO['EnableGroups']='no'
934    REPO['Visible']='yes'
935    REPO['status']='disabled'
936    REPO['BaseURL']=''
937    REPO['MirrorList']='http://mirror.webtatic.com/yum/el-$releasever/$basearch/mirrolist'
938    REPO['GPGCheck']='yes'
939    if  ( "%{?dist}"  == "el5" ); then
940    REPO['GPGKey']='http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy'
941    else
942    REPO['GPGKey']="http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-%{?dist}"
943    fi
944    REPO['Exclude']=''
945    REPO['IncludePkgs']=''
946    createrepo
947    
948    #####################
949    #####################
950    #Xymon
951    #####################
952    #####################
953    REPO['reponame']='xymon'
954    REPO['fullreponame']='Xymon Terabithia RPMS - EL'
955    REPO['EnableGroups']='no'
956    REPO['Visible']='yes'
957    REPO['status']='disabled'
958    REPO['BaseURL']='http://terabithia.org/rpms/xymon/el$releasever/'
959    REPO['MirrorList']=''
960  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
961  REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-el-\\\$releasever'  REPO['GPGKey']="http://terabithia.org/rpms/RPM-GPG-KEY-JCLEAVER"
962  REPO['Exclude']=''  REPO['Exclude']=''
963  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
964  createrepo  createrepo
965    
966    #####################
967    #####################
968    #Zabbix2.4
969    #####################
970    #####################
971    declare -A zabshort=( ['2.4']='24' ['2.5']='25' ['3.0']='30' ['3.1']='31' ['3.2']='32' ['3.4']='35' ['3.5']='35')
972    for elasver  in "2.4" "2.5" "3.0"; do
973    REPO['reponame']="zabbix${zabshort[$elasver]}"
974    REPO['fullreponame']="Zabbix $elasver Official Repository"
975    REPO['EnableGroups']='no'
976    REPO['Visible']='yes'
977    REPO['status']='disabled'
978    REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/"
979    REPO['MirrorList']=''
980    REPO['GPGCheck']='yes'
981    REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX"
982    REPO['Exclude']=''
983    REPO['IncludePkgs']=''
984    createrepo
985    done
986    
987    #####################
988    #####################
989    #zmrepo
990    #####################
991    #####################
992    REPO['reponame']='zmrepo'
993    REPO['fullreponame']='ZoneMinder Repo - EL'
994    REPO['EnableGroups']='no'
995    REPO['Visible']='yes'
996    REPO['status']='disabled'
997    REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch'
998    REPO['MirrorList']=''
999    REPO['GPGCheck']='no'
1000    REPO['GPGKey']=""
1001    REPO['Exclude']=''
1002    REPO['IncludePkgs']=''
1003    createrepo
1004    
1005    
1006    #####################################################
1007    # migrates
1008    ######################################################
1009    mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate
1010    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/90sogo
1011    {
1012        my @add = split(/[,; ]+/, 'gnustep-*');
1013        my %remove = map { $_ => 1 } split(/[,; ]+/, '');
1014    
1015        for my $name ( qw(epel) )
1016        {
1017            my $repo = $DB->get($name) or next;
1018    
1019            my @exclude = split(/,/, $repo->prop('Exclude') || '');
1020            push @exclude, @add;
1021            @exclude = grep(!defined $remove{$_} && !/^CENTOS_/, @exclude);
1022    
1023            # remove duplicates
1024            undef %saw;
1025            @exclude = grep(!$saw{$_}++, @exclude);
1026    
1027            if ($#exclude >= 0)
1028            {
1029                $repo->set_prop('Exclude', join(',', @exclude));
1030            }
1031            else
1032            {
1033                $repo->delete('Exclude');
1034            }
1035        }
1036    }
1037    
1038    EOF
1039    
1040    
1041    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel
1042    {
1043        my @add = split(/[,; ]+/, '');
1044        my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make');
1045    
1046        for my $name ( qw(epel) )
1047        {
1048            my $repo = $DB->get($name) or next;
1049    
1050            my @exclude = split(/,/, $repo->prop('Exclude') || '');
1051            push @exclude, @add;
1052            @exclude = grep(!defined $remove{$_} && !/^CENTOS_/, @exclude);
1053    
1054            # remove duplicates
1055            undef %saw;
1056            @exclude = grep(!$saw{$_}++, @exclude);
1057    
1058            if ($#exclude >= 0)
1059            {
1060                $repo->set_prop('Exclude', join(',', @exclude));
1061            }
1062            else
1063            {
1064                $repo->delete('Exclude');
1065            }
1066        }
1067    }
1068    
1069    EOF
1070    
1071    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10zmrepo
1072    {
1073        for my $name ( qw(zmrepo) )
1074        {
1075            my $repo = $DB->get($name) or next;
1076            my $BaseURL = $repo->prop('BaseURL') || '';
1077            if ($BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g)
1078                    {$repo->set_prop('BaseURL', $BaseURL);}
1079            $repo->delete('Exclude') if $repo->prop('delete');
1080        }
1081    
1082    }
1083    
1084    EOF
1085    
1086    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk
1087    {
1088        for my $name ( qw(asterisk-current) )
1089        {
1090            my $repo = $DB->get($name) or next;
1091            my $BaseURL = $repo->prop('BaseURL') || '';
1092            if ($BaseURL =~ s/centos\$/centos\/\$/g)
1093                    {$repo->set_prop('BaseURL', $BaseURL);}
1094        }
1095    
1096    }
1097    
1098    EOF
1099    
1100    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10openfusion
1101    {
1102        my @addexclude = split(/,/,"perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-Exporter-Tiny,perl-ExtUtils-Install,perl-parent");
1103        my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version');
1104        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");
1105        my %removeinclude = map { $_ => 1 } split(/[,; ]+/, '');
1106    
1107        for my $name ( qw(openfusion) )
1108        {
1109            my $repo = $DB->get($name) or next;
1110    
1111            my @exclude = split(/,/, $repo->prop('Exclude') || '');
1112            push @exclude, @addexclude;
1113            @exclude = grep(!defined $removeexclude{$_} , @exclude);
1114            # remove duplicates
1115            undef %saw;
1116            @exclude = grep(!$saw{$_}++, @exclude);
1117            if ($#exclude >= 0)
1118            {
1119                $repo->set_prop('Exclude', join(',', @exclude));
1120            }
1121            else
1122            {
1123                $repo->delete('Exclude');
1124            }
1125    
1126            my @include = split(/,/, $repo->prop('IncludePkgs') || '');
1127            push @include, @addinclude;
1128            @include = grep(!defined $removeinclude{$_} , @include);
1129            # remove duplicates
1130            undef %saw;
1131            @include = grep(!$saw{$_}++, @include);
1132            if ($#include >= 0)
1133            {
1134                $repo->set_prop('IncludePkgs', join(',', @include));
1135            }
1136            else
1137            {
1138                $repo->delete('IncludePkgs');
1139            }
1140    
1141    
1142    
1143        }
1144    
1145    }
1146    
1147    EOF
1148    
1149    
1150    
1151    
1152    ##########################################################
1153    
1154  rm -f %{name}-%{version}-filelist*  rm -f %{name}-%{version}-filelist*
1155  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist
1156  cat %{name}-%{version}-filelist| grep centos-sclo-rh            > %{name}-%{version}-filelist-centos-sclo-rh  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic
1157    cat %{name}-%{version}-filelist| grep centos-sclo               > %{name}-%{version}-filelist-centos-sclo
1158  cat %{name}-%{version}-filelist| egrep 'digium|asterisk'        > %{name}-%{version}-filelist-asterisk  cat %{name}-%{version}-filelist| egrep 'digium|asterisk'        > %{name}-%{version}-filelist-asterisk
1159  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware
1160  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic
# Line 569  cat %{name}-%{version}-filelist| grep er Line 1164  cat %{name}-%{version}-filelist| grep er
1164  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch
1165  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws
1166  cat %{name}-%{version}-filelist| grep geekery                   > %{name}-%{version}-filelist-geekery  cat %{name}-%{version}-filelist| grep geekery                   > %{name}-%{version}-filelist-geekery
1167    cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan
1168  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
1169  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo
1170  fi  fi
1171  cat %{name}-%{version}-filelist| grep okay                      > %{name}-%{version}-filelist-okay  cat %{name}-%{version}-filelist| grep okay                      > %{name}-%{version}-filelist-okay
1172  cat %{name}-%{version}-filelist| grep openfusion                > %{name}-%{version}-filelist-openfusion  cat %{name}-%{version}-filelist| grep openfusion                > %{name}-%{version}-filelist-openfusion
1173    cat %{name}-%{version}-filelist| grep node                      > %{name}-%{version}-filelist-node
1174  cat %{name}-%{version}-filelist| grep reetp                     > %{name}-%{version}-filelist-reetp  cat %{name}-%{version}-filelist| grep reetp                     > %{name}-%{version}-filelist-reetp
1175  cat %{name}-%{version}-filelist| grep remi-safe                 > %{name}-%{version}-filelist-remi-safe  cat %{name}-%{version}-filelist| grep remi-safe                 > %{name}-%{version}-filelist-remi-safe
1176  cat %{name}-%{version}-filelist| grep remi-ocsinventory         > %{name}-%{version}-filelist-remi-ocsinventory  cat %{name}-%{version}-filelist| grep remi-ocsinventory         > %{name}-%{version}-filelist-remi-ocsinventory
1177  cat %{name}-%{version}-filelist| grep remi-roundcube            > %{name}-%{version}-filelist-remi-roundcube  cat %{name}-%{version}-filelist| grep remi-roundcube            > %{name}-%{version}-filelist-remi-roundcube
1178  cat %{name}-%{version}-filelist| grep remi|egrep -v 'safe|ocsinventory|roundcube'       > %{name}-%{version}-filelist-remi  cat %{name}-%{version}-filelist| grep remi|egrep -v 'safe|ocsinventory|roundcube'       > %{name}-%{version}-filelist-remi
1179  cat %{name}-%{version}-filelist| grep rpmfusion                 > %{name}-%{version}-filelist-rpmfusion  cat %{name}-%{version}-filelist| grep rpmfusion                 > %{name}-%{version}-filelist-rpmfusion
1180    cat %{name}-%{version}-filelist| grep sogo                      > %{name}-%{version}-filelist-sogo
1181    cat %{name}-%{version}-filelist| grep spectrum2                 > %{name}-%{version}-filelist-spectrum2
1182    cat %{name}-%{version}-filelist| grep stephdl                   > %{name}-%{version}-filelist-stephdl
1183    cat %{name}-%{version}-filelist| grep virtualbox                > %{name}-%{version}-filelist-virtualbox
1184    cat %{name}-%{version}-filelist| grep webtatic                  > %{name}-%{version}-filelist-webtatic
1185    cat %{name}-%{version}-filelist| grep xymon                     > %{name}-%{version}-filelist-xymon
1186    cat %{name}-%{version}-filelist| grep zabbix                    > %{name}-%{version}-filelist-zabbix
1187    cat %{name}-%{version}-filelist| grep zmrepo                    > %{name}-%{version}-filelist-zmrepo
1188    
1189  %clean  %clean
1190  cd ..  cd ..
1191  rm -rf %{name}-%{version}  rm -rf %{name}-%{version}
1192    
1193  %files -f %{name}-%{version}-filelist  
1194    #%files -f %{name}-%{version}-filelist
1195    %files
1196  %defattr(-,root,root)  %defattr(-,root,root)
1197    
1198  %pre  %pre
# Line 605  case "$1" in Line 1212  case "$1" in
1212                  # this is an upgrade                  # this is an upgrade
1213          ;;          ;;
1214  esac  esac
1215    %package atomic
1216    Summary: Atomic Repository
1217    %description atomic
1218    Atomic Repository
1219    %files atomic -f  %{name}-%{version}-filelist-atomic
1220    %defattr(-,root,root)
1221    
1222  %package centos-sclo-rh  %package centos-sclo
1223  Summary: CentOS Red-Hat software collection repository  Summary: CentOS Red-Hat software collection repository
1224  %description centos-sclo-rh  %description centos-sclo
1225  CentOS Red-Hat software collection repository  CentOS Red-Hat software collection repository only for  x86_64 arch
1226  %files centos-sclo-rh -f  %{name}-%{version}-filelist-centos-sclo-rh  %files centos-sclo -f  %{name}-%{version}-filelist-centos-sclo
1227  %defattr(-,root,root)  %defattr(-,root,root)
1228    
1229  %package asterisk  %package asterisk
# Line 676  Geekery Repository Line 1289  Geekery Repository
1289  %files geekery -f  %{name}-%{version}-filelist-geekery  %files geekery -f  %{name}-%{version}-filelist-geekery
1290  %defattr(-,root,root)  %defattr(-,root,root)
1291    
1292    %package libreswan
1293    Summary: Libreswan Repository
1294    %description libreswan
1295    Libreswan Repository
1296    %files libreswan -f  %{name}-%{version}-filelist-libreswan
1297    %defattr(-,root,root)
1298    
1299    %package node
1300    Summary: NodeJS Repositories
1301    %description node
1302    NodeJS Repositories
1303    %files node -f  %{name}-%{version}-filelist-node
1304    %defattr(-,root,root)
1305    
1306  %package odoo  %package odoo
1307  Summary: Odoo 10 Nightly - EL7 Repository  Summary: Odoo 10 Nightly - EL7 Repository
1308  Distribution: el7  Distribution: el7
# Line 741  RPMFusion repositories Line 1368  RPMFusion repositories
1368  %files rpmfusion -f  %{name}-%{version}-filelist-rpmfusion  %files rpmfusion -f  %{name}-%{version}-filelist-rpmfusion
1369  %defattr(-,root,root)  %defattr(-,root,root)
1370    
1371    %package sogo
1372    Summary: SOGo repositories
1373    %description sogo
1374    SOGo repositories
1375    %files sogo -f  %{name}-%{version}-filelist-sogo
1376    %defattr(-,root,root)
1377    
1378    %package spectrum2
1379    Summary: Spectrum2 Repository
1380    %description spectrum2
1381    Spectrum2 Repository
1382    %files spectrum2 -f  %{name}-%{version}-filelist-spectrum2
1383    %defattr(-,root,root)
1384    
1385    %package stephdl
1386    Summary: Stephane De Labrusse Repository
1387    %description stephdl
1388    Stephane De Labrusse Repository
1389    %files stephdl -f  %{name}-%{version}-filelist-stephdl
1390    %defattr(-,root,root)
1391    
1392    %package virtualbox
1393    Summary: Virtualbox Repository
1394    %description virtualbox
1395    Virtualbox Repository
1396    %files virtualbox -f  %{name}-%{version}-filelist-virtualbox
1397    %defattr(-,root,root)
1398    
1399    %package webtatic
1400    Summary: Webtatic Repository
1401    %description webtatic
1402    Webtatic Repository
1403    %files webtatic -f  %{name}-%{version}-filelist-webtatic
1404    %defattr(-,root,root)
1405    
1406    %package xymon
1407    Summary: Xymon Terabithia Repository
1408    %description xymon
1409    Xymon Terabithia Repository
1410    %files xymon -f  %{name}-%{version}-filelist-xymon
1411    %defattr(-,root,root)
1412    
1413    %package zabbix
1414    Summary: Zabbix official Repository
1415    %description zabbix
1416    Zabbix official Repository
1417    %files zabbix -f  %{name}-%{version}-filelist-zabbix
1418    %defattr(-,root,root)
1419    
1420    %package zmrepo
1421    Summary: Zone Minder Repository
1422    %description zmrepo
1423    Zone Minder Repository
1424    %files zmrepo -f  %{name}-%{version}-filelist-zmrepo
1425    %defattr(-,root,root)
1426    
1427    
1428    


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