/[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.5 by jpp, Thu Feb 15 21:16:11 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 2  %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  * Thu Feb 15 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme
70  - first multipackage version  - first multipackage version
71  - gpg keys not included  - gpg keys not included
# Line 74  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 99  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 117  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 129  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 152  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 171  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 188  REPO['fullreponame']='Centos-RH Software Line 222  REPO['fullreponame']='Centos-RH Software
222  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
223  REPO['Visible']='yes'  REPO['Visible']='yes'
224  REPO['status']='disabled'  REPO['status']='disabled'
225  REPO['BaseURL']='http://mirror.centos.org/centos/\\\$releasever/sclo/\\\$basearch/sclo/'  REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/'
226  REPO['MirrorList']=''  REPO['MirrorList']=''
227  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
228  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 206  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 214  REPO['Exclude']='' Line 248  REPO['Exclude']=''
248  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
249  createrepo  createrepo
250    
   
251  #####################  #####################
252  #####################  #####################
253  #egroupware  #egroupware
# Line 225  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 264  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 274  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 282  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 300  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 318  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 336  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 354  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 373  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 428  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 446  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 464  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 497  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 515  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 533  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 551  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 569  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'  REPO['GPGCheck']='yes'
795  REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-el-\\\$releasever'  REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-el-$releasever'
796  REPO['Exclude']=''  REPO['Exclude']=''
797  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
798  createrepo  createrepo
# Line 587  REPO['fullreponame']='Inverse SOGo 2 Rep Line 807  REPO['fullreponame']='Inverse SOGo 2 Rep
807  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
808  REPO['Visible']='yes'  REPO['Visible']='yes'
809  REPO['status']='disabled'  REPO['status']='disabled'
810  REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/2/rhel/\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/2/rhel/$releasever/$basearch'
811  REPO['MirrorList']=''  REPO['MirrorList']=''
812  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
813  REPO['GPGKey']=''  REPO['GPGKey']=''
# Line 605  REPO['fullreponame']='Inverse SOGo 3 Rep Line 825  REPO['fullreponame']='Inverse SOGo 3 Rep
825  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
826  REPO['Visible']='yes'  REPO['Visible']='yes'
827  REPO['status']='disabled'  REPO['status']='disabled'
828  REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/3/rhel/\\\$releasever/\\\$basearch'  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']=''  REPO['MirrorList']=''
848  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
849  REPO['GPGKey']=''  REPO['GPGKey']=''
# Line 623  REPO['fullreponame']='Inverse SOGo Repos Line 861  REPO['fullreponame']='Inverse SOGo Repos
861  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
862  REPO['Visible']='yes'  REPO['Visible']='yes'
863  REPO['status']='disabled'  REPO['status']='disabled'
864  REPO['BaseURL']='http://packages.inverse.ca/download/SOGo/RHEL\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://packages.inverse.ca/download/SOGo/RHEL$releasever/$basearch'
865  REPO['MirrorList']=''  REPO['MirrorList']=''
866  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
867  REPO['GPGKey']=''  REPO['GPGKey']=''
# Line 641  REPO['fullreponame']='Spectrum2' Line 879  REPO['fullreponame']='Spectrum2'
879  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
880  REPO['Visible']='yes'  REPO['Visible']='yes'
881  REPO['status']='disabled'  REPO['status']='disabled'
882  REPO['BaseURL']='http://copr-be.cloud.fedoraproject.org/results/mcepl/spectrum2/epel-\\\$releasever-\\\$basearch'  REPO['BaseURL']='http://copr-be.cloud.fedoraproject.org/results/mcepl/spectrum2/epel-$releasever-$basearch'
883  REPO['MirrorList']=''  REPO['MirrorList']=''
884  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
885  REPO['GPGKey']=''  REPO['GPGKey']=''
# Line 659  REPO['fullreponame']='Mirror Stephane de Line 897  REPO['fullreponame']='Mirror Stephane de
897  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
898  REPO['Visible']='yes'  REPO['Visible']='yes'
899  REPO['status']='disabled'  REPO['status']='disabled'
900  REPO['BaseURL']='http://mirror.de-labrusse.fr/smeserver/\\\$releasever'  REPO['BaseURL']='http://mirror.de-labrusse.fr/smeserver/$releasever'
901  REPO['MirrorList']=''  REPO['MirrorList']=''
902  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
903  REPO['GPGKey']='http://mirror.de-labrusse.fr/RPM-GPG-KEY'  REPO['GPGKey']='http://mirror.de-labrusse.fr/RPM-GPG-KEY'
# Line 677  REPO['fullreponame']='RHEL/CentOS Virtua Line 915  REPO['fullreponame']='RHEL/CentOS Virtua
915  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
916  REPO['Visible']='yes'  REPO['Visible']='yes'
917  REPO['status']='disabled'  REPO['status']='disabled'
918  REPO['BaseURL']='http://download.virtualbox.org/virtualbox/rpm/el/\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch'
919  REPO['MirrorList']=''  REPO['MirrorList']=''
920  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
921  REPO['GPGKey']='https://www.virtualbox.org/download/oracle_vbox.asc'  REPO['GPGKey']='https://www.virtualbox.org/download/oracle_vbox.asc'
# Line 696  REPO['EnableGroups']='no' Line 934  REPO['EnableGroups']='no'
934  REPO['Visible']='yes'  REPO['Visible']='yes'
935  REPO['status']='disabled'  REPO['status']='disabled'
936  REPO['BaseURL']=''  REPO['BaseURL']=''
937  REPO['MirrorList']='http://mirror.webtatic.com/yum/el-\\\$releasever/\\\$basearch/mirrolist'  REPO['MirrorList']='http://mirror.webtatic.com/yum/el-$releasever/$basearch/mirrolist'
938  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
939  if  ( "%{?dist}"  == "el5" ); then  if  ( "%{?dist}"  == "el5" ); then
940  REPO['GPGKey']='http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy'  REPO['GPGKey']='http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy'
# Line 717  REPO['fullreponame']='Xymon Terabithia R Line 955  REPO['fullreponame']='Xymon Terabithia R
955  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
956  REPO['Visible']='yes'  REPO['Visible']='yes'
957  REPO['status']='disabled'  REPO['status']='disabled'
958  REPO['BaseURL']='http://terabithia.org/rpms/xymon/el\\\$releasever/'  REPO['BaseURL']='http://terabithia.org/rpms/xymon/el$releasever/'
959  REPO['MirrorList']=''  REPO['MirrorList']=''
960  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
961  REPO['GPGKey']="http://terabithia.org/rpms/RPM-GPG-KEY-JCLEAVER"  REPO['GPGKey']="http://terabithia.org/rpms/RPM-GPG-KEY-JCLEAVER"
# Line 737  REPO['fullreponame']="Zabbix $elasver Of Line 975  REPO['fullreponame']="Zabbix $elasver Of
975  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
976  REPO['Visible']='yes'  REPO['Visible']='yes'
977  REPO['status']='disabled'  REPO['status']='disabled'
978  REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\\\\$releasever/\\\\$basearch/"  REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/"
979  REPO['MirrorList']=''  REPO['MirrorList']=''
980  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
981  REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX"  REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX"
# Line 756  REPO['fullreponame']='ZoneMinder Repo - Line 994  REPO['fullreponame']='ZoneMinder Repo -
994  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
995  REPO['Visible']='yes'  REPO['Visible']='yes'
996  REPO['status']='disabled'  REPO['status']='disabled'
997  REPO['BaseURL']='http://zmrepo.mehvc.com/el/\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch'
998  REPO['MirrorList']=''  REPO['MirrorList']=''
999  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
1000  REPO['GPGKey']=""  REPO['GPGKey']=""
# Line 765  REPO['IncludePkgs']='' Line 1003  REPO['IncludePkgs']=''
1003  createrepo  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 atomic                    > %{name}-%{version}-filelist-atomic  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic
# Line 778  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
# Line 901  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


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