/[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.24 by jpp, Sat Jan 5 03:54:38 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 19
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    * Fri Jan 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-19.sme
22    - improve zmrepo migrate fragment to avoid action if not needed.
23    - migrate fragment for openfusion
24    
25    * Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-18.sme
26    - remove perl-version from pkg lists
27    
28    * Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-17.sme
29    - revised Include and Exclude to prevident accidental update
30    - updated incorrect changelog dates
31    
32    * Thu Jan 03 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-16.sme
33    - Add more Excludes to Openfusion
34    
35    * Tue Jan 01 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-15.sme
36    - Exclude mod_perl and other files from OpenFusion repo
37    
38    * Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-14.sme
39    - fix typo in asterisk-current
40    - fix typo in migrate fragment for zmrepo
41    - renamed digium as digium-current
42    
43    * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme
44    - zoneminder needs ffmpeg from zmrepo [SME: 10539]
45    
46    * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-11.sme
47    - zmrepo url has changed [SME: 10675]
48    
49    * Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme
50    - Add libreswan repo  [SME: 10605]
51    - remove duplicate remi-safe entry
52    
53    * Mon Jun 25 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6.sme
54    - Update reetp URL  [SME: 10604]
55    
56    * Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme
57    - add elrepo-kernel repo  [SME: 10581]
58    
59    * Sun Mar 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme
60    - exclude ffmpeg-2.6.4 and celt-0.11 from zmrepo [SME: 10543]
61    - add Sogo4 repo + migrate to exclude gnustep from epel if sogo repo present
62    
63    * Sun Feb 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-3.sme
64    - fix wrong escape sequence for $basearch and $releasever [SME: 10239]
65    
66  * 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
67  - first multipackage version  - first multipackage version
68  - gpg keys not included  - gpg keys not included
# Line 74  return 0 Line 119  return 0
119    
120    
121    
 #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  
   
122  ######################  ######################
123  #####################  #####################
124  # asterisk 13 LTS  # asterisk 13 LTS
# Line 99  REPO['EnableGroups']='yes' Line 130  REPO['EnableGroups']='yes'
130  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
131  REPO['Visible']='no'  REPO['Visible']='no'
132  REPO['status']='disabled'  REPO['status']='disabled'
133  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/asterisk-13/\\\$basearch/'  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/asterisk-13/$basearch/'
134  REPO['MirrorList']=''  REPO['MirrorList']=''
135  REPO['GPGKey']=''  REPO['GPGKey']=''
136  REPO['Exclude']=''  REPO['Exclude']=''
# Line 117  REPO['EnableGroups']='yes' Line 148  REPO['EnableGroups']='yes'
148  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
149  REPO['Visible']='no'  REPO['Visible']='no'
150  REPO['status']='disabled'  REPO['status']='disabled'
151  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/\\\$basearch/'  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/'
152  REPO['MirrorList']=''  REPO['MirrorList']=''
153  REPO['GPGKey']=''  REPO['GPGKey']=''
154  REPO['Exclude']=''  REPO['Exclude']=''
# Line 129  createrepo Line 160  createrepo
160  # Digium Repo  # Digium Repo
161  #####################  #####################
162  #####################  #####################
163  REPO['reponame']='digium'  REPO['reponame']='digium-current'
164  REPO['fullreponame']='Digium packages - EL'  REPO['fullreponame']='Digium packages - EL'
165  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
166  REPO['Visible']='no'  REPO['Visible']='no'
167  REPO['status']='disabled'  REPO['status']='disabled'
168  REPO['BaseURL']='http://packages.digium.com/centos/\\\$releasever/current/\\\$basearch/'  REPO['BaseURL']='http://packages.digium.com/centos/$releasever/current/$basearch/'
169  REPO['MirrorList']=''  REPO['MirrorList']=''
170  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
171  REPO['GPGKey']=''  REPO['GPGKey']=''
# Line 152  REPO['fullreponame']='Digium-13 packages Line 183  REPO['fullreponame']='Digium-13 packages
183  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
184  REPO['Visible']='no'  REPO['Visible']='no'
185  REPO['status']='disabled'  REPO['status']='disabled'
186  REPO['BaseURL']='http://packages.digium.com/centos/\\\$releasever/digium-13/\\\$basearch/'  REPO['BaseURL']='http://packages.digium.com/centos/$releasever/digium-13/$basearch/'
187  REPO['MirrorList']=''  REPO['MirrorList']=''
188  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
189  REPO['GPGKey']=''  REPO['GPGKey']=''
# Line 171  REPO['EnableGroups']='no' Line 202  REPO['EnableGroups']='no'
202  REPO['Visible']='no'  REPO['Visible']='no'
203  REPO['status']='disabled'  REPO['status']='disabled'
204  REPO['BaseURL']=''  REPO['BaseURL']=''
205  REPO['MirrorList']='http://www.atomicorp.com/mirrorlist/atomic/centos-\\\$releasever-\\\$basearch'  REPO['MirrorList']='http://www.atomicorp.com/mirrorlist/atomic/centos-$releasever-$basearch'
206  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
207  REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt'  REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt'
208  REPO['Exclude']=''  REPO['Exclude']=''
# Line 188  REPO['fullreponame']='Centos-RH Software Line 219  REPO['fullreponame']='Centos-RH Software
219  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
220  REPO['Visible']='yes'  REPO['Visible']='yes'
221  REPO['status']='disabled'  REPO['status']='disabled'
222  REPO['BaseURL']='http://mirror.centos.org/centos/\\\$releasever/sclo/\\\$basearch/sclo/'  REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/'
223  REPO['MirrorList']=''  REPO['MirrorList']=''
224  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
225  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 237  REPO['fullreponame']='Centos-RH Software
237  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
238  REPO['Visible']='yes'  REPO['Visible']='yes'
239  REPO['status']='disabled'  REPO['status']='disabled'
240  REPO['BaseURL']='http://mirror.centos.org/centos/\\\$releasever/sclo/\\\$basearch/rh/'  REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/'
241  REPO['MirrorList']=''  REPO['MirrorList']=''
242  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
243  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 245  REPO['Exclude']=''
245  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
246  createrepo  createrepo
247    
   
248  #####################  #####################
249  #####################  #####################
250  #egroupware  #egroupware
# Line 225  REPO['fullreponame']='server_eGroupWare' Line 255  REPO['fullreponame']='server_eGroupWare'
255  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
256  REPO['Visible']='yes'  REPO['Visible']='yes'
257  REPO['status']='disabled'  REPO['status']='disabled'
258  REPO['BaseURL']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_\\\$releasever/'  REPO['BaseURL']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_$releasever/'
259  REPO['MirrorList']=''  REPO['MirrorList']=''
260  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
261  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'
262  REPO['Exclude']=''  REPO['Exclude']=''
263  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
264  createrepo  createrepo
# Line 264  REPO['fullreponame']='ELRepo.org Communi Line 294  REPO['fullreponame']='ELRepo.org Communi
294  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
295  REPO['Visible']='no'  REPO['Visible']='no'
296  REPO['status']='disabled'  REPO['status']='disabled'
297  REPO['BaseURL']='http://elrepo.org/linux/elrepo/el\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch'
298  REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.\\\$releasever'  REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.el$releasever'
299  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
300  REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'  REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
301  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 304  createrepo
304    
305  #####################  #####################
306  #####################  #####################
307    #ELRepo kernel
308    #####################
309    #####################
310    REPO['reponame']='elrepo-kernel'
311    REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel'
312    REPO['EnableGroups']='no'
313    REPO['Visible']='no'
314    REPO['status']='disabled'
315    REPO['BaseURL']='http://elrepo.org/linux/kernel/el$releasever/$basearch'
316    REPO['MirrorList']='http://elrepo.org/mirrors-elrepo-kernel.el$releasever'
317    REPO['GPGCheck']='yes'
318    REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
319    REPO['Exclude']=''
320    REPO['IncludePkgs']=''
321    createrepo
322    
323    #####################
324    #####################
325  #EPEL  #EPEL
326  #####################  #####################
327  #####################  #####################
# Line 282  REPO['fullreponame']='EPEL' Line 330  REPO['fullreponame']='EPEL'
330  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
331  REPO['Visible']='no'  REPO['Visible']='no'
332  REPO['status']='disabled'  REPO['status']='disabled'
333  REPO['BaseURL']='http://download.fedoraproject.org/pub/epel/\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://download.fedoraproject.org/pub/epel/$releasever/$basearch'
334  REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-\\\$releasever&arch=\\\$basearch'  REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch'
335  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
336  REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'  REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
337  REPO['Exclude']='perl-Razor-Agent'  REPO['Exclude']='perl-Razor-Agent'
# Line 300  REPO['fullreponame']='erlang programming Line 348  REPO['fullreponame']='erlang programming
348  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
349  REPO['Visible']='yes'  REPO['Visible']='yes'
350  REPO['status']='disabled'  REPO['status']='disabled'
351  REPO['BaseURL']='http://packages.erlang-solutions.com/rpm/centos/\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch'
352  REPO['MirrorList']=''  REPO['MirrorList']=''
353  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
354  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 366  REPO['fullreponame']='Freeswitch'
366  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
367  REPO['Visible']='yes'  REPO['Visible']='yes'
368  REPO['status']='disabled'  REPO['status']='disabled'
369  REPO['BaseURL']='http://files.freeswitch.org/yum/\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://files.freeswitch.org/yum/$releasever/$basearch'
370  REPO['MirrorList']=''  REPO['MirrorList']=''
371  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
372  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 384  REPO['fullreponame']='Firewall Services'
384  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
385  REPO['Visible']='no'  REPO['Visible']='no'
386  REPO['status']='disabled'  REPO['status']='disabled'
387  REPO['BaseURL']='http://repo.firewall-services.com/centos/\\\$releasever'  REPO['BaseURL']='http://repo.firewall-services.com/centos/$releasever'
388  REPO['MirrorList']=''  REPO['MirrorList']=''
389  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
390  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 402  REPO['fullreponame']='Firewall Services
402  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
403  REPO['Visible']='no'  REPO['Visible']='no'
404  REPO['status']='disabled'  REPO['status']='disabled'
405  REPO['BaseURL']='http://repo.firewall-services.com/centos-testing/\\\$releasever'  REPO['BaseURL']='http://repo.firewall-services.com/centos-testing/$releasever'
406  REPO['MirrorList']=''  REPO['MirrorList']=''
407  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
408  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 421  REPO['EnableGroups']='no'
421  REPO['Visible']='no'  REPO['Visible']='no'
422  REPO['status']='disabled'  REPO['status']='disabled'
423  REPO['BaseURL']=''  REPO['BaseURL']=''
424  REPO['MirrorList']='http://geekery.epac.to/geekery/el\\\$releasever-mirrors'  REPO['MirrorList']='http://geekery.epac.to/geekery/el$releasever-mirrors'
425  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
426  REPO['GPGKey']='http://geekery.altervista.org/download.php?filename=GEEKERY-GPG-KEY'  REPO['GPGKey']='http://geekery.altervista.org/download.php?filename=GEEKERY-GPG-KEY'
427  REPO['Exclude']=''  REPO['Exclude']=''
428  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
429  createrepo  createrepo
430    
431    #####################
432    #####################
433    # Libreswan
434    #####################
435    #####################
436    REPO['reponame']='libreswan'
437    REPO['fullreponame']='Libreswan'
438    REPO['EnableGroups']='no'
439    REPO['Visible']='no'
440    REPO['status']='disabled'
441    REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/6/x86_64/'
442    REPO['MirrorList']=''
443    REPO['GPGCheck']='yes'
444    REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan'
445    REPO['Exclude']=''
446    REPO['IncludePkgs']=''
447    createrepo
448    
449    
450  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
451  #####################  #####################
452  #####################  #####################
# Line 428  REPO['fullreponame']='Extra OKay Package Line 495  REPO['fullreponame']='Extra OKay Package
495  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
496  REPO['Visible']='no'  REPO['Visible']='no'
497  REPO['status']='disabled'  REPO['status']='disabled'
498  REPO['BaseURL']='http://repo.okay.com.mx/centos/\\\$releasever/\\\$basearch/release'  REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'
499  REPO['MirrorList']=''  REPO['MirrorList']=''
500  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
501  REPO['GPGKey']=''  REPO['GPGKey']=''
# Line 446  REPO['fullreponame']='Openfusion' Line 513  REPO['fullreponame']='Openfusion'
513  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
514  REPO['Visible']='yes'  REPO['Visible']='yes'
515  REPO['status']='disabled'  REPO['status']='disabled'
516  REPO['BaseURL']='http://repo.openfusion.net/centos\\\$releasever-\\\$basearch'  REPO['BaseURL']='http://repo.openfusion.net/centos$releasever-$basearch'
517  REPO['MirrorList']=''  REPO['MirrorList']=''
518  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
519  REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'  REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'
520  REPO['Exclude']=''  REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-Exporter-Tiny,perl-ExtUtils-Install,perl-parent'
521  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'
522  createrepo  createrepo
523    
524  #####################  #####################
# Line 464  REPO['fullreponame']='Mirror John Crisp Line 531  REPO['fullreponame']='Mirror John Crisp
531  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
532  REPO['Visible']='yes'  REPO['Visible']='yes'
533  REPO['status']='disabled'  REPO['status']='disabled'
534  REPO['BaseURL']='https://reetspetit.com/smeserver/\\\$releasever'  REPO['BaseURL']='https://www.reetspetit.com/smeserver/$releasever'
535  REPO['MirrorList']=''  REPO['MirrorList']=''
536  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
537  REPO['GPGKey']='https://reetspetit.com/RPM-GPG-KEY'  REPO['GPGKey']='https://www.reetspetit.com/RPM-GPG-KEY'
538  REPO['Exclude']=''  REPO['Exclude']=''
539  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
540  createrepo  createrepo
541    
542    #####################
543    #####################
544  #remi-safe  #remi-safe
545    #####################
546    #####################
547  REPO['reponame']='remi-safe'  REPO['reponame']='remi-safe'
548  REPO['fullreponame']='Remi - safe'  REPO['fullreponame']='Remi - safe'
549  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
550  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
551  REPO['Visible']='yes'  REPO['Visible']='yes'
552  REPO['status']='enabled'  REPO['status']='enabled'
553  REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/\\\$releasever/safe/\\\$basearch/'  REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/safe/$basearch/'
554  REPO['MirrorList']=''  REPO['MirrorList']=''
555  REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'  REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
556  REPO['Exclude']=''  REPO['Exclude']=''
# Line 497  REPO['EnableGroups']='no' Line 568  REPO['EnableGroups']='no'
568  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
569  REPO['Visible']='no'  REPO['Visible']='no'
570  REPO['status']='enabled'  REPO['status']='enabled'
571  REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/\\\$releasever/remi/\\\$basearch/'  REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
572  REPO['MirrorList']=''  REPO['MirrorList']=''
573  REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'  REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
574  REPO['Exclude']='mysql*,php-*,phpMyAdmin'  REPO['Exclude']='mysql*,php-*,phpMyAdmin'
# Line 515  REPO['EnableGroups']='no' Line 586  REPO['EnableGroups']='no'
586  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
587  REPO['Visible']='yes'  REPO['Visible']='yes'
588  REPO['status']='enabled'  REPO['status']='enabled'
589  REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/\\\$releasever/remi/\\\$basearch/'  REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
590  REPO['MirrorList']=''  REPO['MirrorList']=''
591  REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'  REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
592  REPO['Exclude']=''  REPO['Exclude']=''
# Line 533  REPO['EnableGroups']='no' Line 604  REPO['EnableGroups']='no'
604  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
605  REPO['Visible']='yes'  REPO['Visible']='yes'
606  REPO['status']='enabled'  REPO['status']='enabled'
607  REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/\\\$releasever/remi/\\\$basearch/'  REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
608  REPO['MirrorList']=''  REPO['MirrorList']=''
609  REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'  REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
610  REPO['Exclude']=''  REPO['Exclude']=''
# Line 551  REPO['fullreponame']='rpmfusion free EL' Line 622  REPO['fullreponame']='rpmfusion free EL'
622  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
623  REPO['Visible']='yes'  REPO['Visible']='yes'
624  REPO['status']='disabled'  REPO['status']='disabled'
625  REPO['BaseURL']='http://download1.rpmfusion.org/free/el/updates/\\\$releasever/\\\$basearch/'  REPO['BaseURL']='http://download1.rpmfusion.org/free/el/updates/$releasever/$basearch/'
626  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'
627  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
628  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'
629  REPO['Exclude']=''  REPO['Exclude']=''
630  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
631  createrepo  createrepo
# Line 569  REPO['fullreponame']='rpmfusion nonfree Line 640  REPO['fullreponame']='rpmfusion nonfree
640  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
641  REPO['Visible']='yes'  REPO['Visible']='yes'
642  REPO['status']='disabled'  REPO['status']='disabled'
643  REPO['BaseURL']='http://download1.rpmfusion.org/nonfree/el/updates/\\\$releasever/\\\$basearch/'  REPO['BaseURL']='http://download1.rpmfusion.org/nonfree/el/updates/$releasever/$basearch/'
644  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'
645  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
646  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'
647  REPO['Exclude']=''  REPO['Exclude']=''
648  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
649  createrepo  createrepo
# Line 587  REPO['fullreponame']='Inverse SOGo 2 Rep Line 658  REPO['fullreponame']='Inverse SOGo 2 Rep
658  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
659  REPO['Visible']='yes'  REPO['Visible']='yes'
660  REPO['status']='disabled'  REPO['status']='disabled'
661  REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/2/rhel/\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/2/rhel/$releasever/$basearch'
662  REPO['MirrorList']=''  REPO['MirrorList']=''
663  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
664  REPO['GPGKey']=''  REPO['GPGKey']=''
# Line 605  REPO['fullreponame']='Inverse SOGo 3 Rep Line 676  REPO['fullreponame']='Inverse SOGo 3 Rep
676  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
677  REPO['Visible']='yes'  REPO['Visible']='yes'
678  REPO['status']='disabled'  REPO['status']='disabled'
679  REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/3/rhel/\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/3/rhel/$releasever/$basearch'
680    REPO['MirrorList']=''
681    REPO['GPGCheck']='no'
682    REPO['GPGKey']=''
683    REPO['Exclude']=''
684    REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
685    createrepo
686    
687    #####################
688    #####################
689    #Sogo4 nightly
690    #####################
691    #####################
692    REPO['reponame']='sogo4'
693    REPO['fullreponame']='Inverse SOGo 4 Repository'
694    REPO['EnableGroups']='no'
695    REPO['Visible']='yes'
696    REPO['status']='disabled'
697    REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/4/rhel/$releasever/$basearch'
698  REPO['MirrorList']=''  REPO['MirrorList']=''
699  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
700  REPO['GPGKey']=''  REPO['GPGKey']=''
# Line 623  REPO['fullreponame']='Inverse SOGo Repos Line 712  REPO['fullreponame']='Inverse SOGo Repos
712  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
713  REPO['Visible']='yes'  REPO['Visible']='yes'
714  REPO['status']='disabled'  REPO['status']='disabled'
715  REPO['BaseURL']='http://packages.inverse.ca/download/SOGo/RHEL\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://packages.inverse.ca/download/SOGo/RHEL$releasever/$basearch'
716  REPO['MirrorList']=''  REPO['MirrorList']=''
717  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
718  REPO['GPGKey']=''  REPO['GPGKey']=''
# Line 641  REPO['fullreponame']='Spectrum2' Line 730  REPO['fullreponame']='Spectrum2'
730  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
731  REPO['Visible']='yes'  REPO['Visible']='yes'
732  REPO['status']='disabled'  REPO['status']='disabled'
733  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'
734  REPO['MirrorList']=''  REPO['MirrorList']=''
735  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
736  REPO['GPGKey']=''  REPO['GPGKey']=''
# Line 659  REPO['fullreponame']='Mirror Stephane de Line 748  REPO['fullreponame']='Mirror Stephane de
748  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
749  REPO['Visible']='yes'  REPO['Visible']='yes'
750  REPO['status']='disabled'  REPO['status']='disabled'
751  REPO['BaseURL']='http://mirror.de-labrusse.fr/smeserver/\\\$releasever'  REPO['BaseURL']='http://mirror.de-labrusse.fr/smeserver/$releasever'
752  REPO['MirrorList']=''  REPO['MirrorList']=''
753  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
754  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 766  REPO['fullreponame']='RHEL/CentOS Virtua
766  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
767  REPO['Visible']='yes'  REPO['Visible']='yes'
768  REPO['status']='disabled'  REPO['status']='disabled'
769  REPO['BaseURL']='http://download.virtualbox.org/virtualbox/rpm/el/\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch'
770  REPO['MirrorList']=''  REPO['MirrorList']=''
771  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
772  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 785  REPO['EnableGroups']='no'
785  REPO['Visible']='yes'  REPO['Visible']='yes'
786  REPO['status']='disabled'  REPO['status']='disabled'
787  REPO['BaseURL']=''  REPO['BaseURL']=''
788  REPO['MirrorList']='http://mirror.webtatic.com/yum/el-\\\$releasever/\\\$basearch/mirrolist'  REPO['MirrorList']='http://mirror.webtatic.com/yum/el-$releasever/$basearch/mirrolist'
789  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
790  if  ( "%{?dist}"  == "el5" ); then  if  ( "%{?dist}"  == "el5" ); then
791  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 806  REPO['fullreponame']='Xymon Terabithia R
806  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
807  REPO['Visible']='yes'  REPO['Visible']='yes'
808  REPO['status']='disabled'  REPO['status']='disabled'
809  REPO['BaseURL']='http://terabithia.org/rpms/xymon/el\\\$releasever/'  REPO['BaseURL']='http://terabithia.org/rpms/xymon/el$releasever/'
810  REPO['MirrorList']=''  REPO['MirrorList']=''
811  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
812  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 826  REPO['fullreponame']="Zabbix $elasver Of
826  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
827  REPO['Visible']='yes'  REPO['Visible']='yes'
828  REPO['status']='disabled'  REPO['status']='disabled'
829  REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\\\\$releasever/\\\\$basearch/"  REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/"
830  REPO['MirrorList']=''  REPO['MirrorList']=''
831  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
832  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 845  REPO['fullreponame']='ZoneMinder Repo -
845  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
846  REPO['Visible']='yes'  REPO['Visible']='yes'
847  REPO['status']='disabled'  REPO['status']='disabled'
848  REPO['BaseURL']='http://zmrepo.mehvc.com/el/\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch'
849  REPO['MirrorList']=''  REPO['MirrorList']=''
850  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
851  REPO['GPGKey']=""  REPO['GPGKey']=""
# Line 765  REPO['IncludePkgs']='' Line 854  REPO['IncludePkgs']=''
854  createrepo  createrepo
855    
856    
857    #####################################################
858    # migrates
859    ######################################################
860    mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate
861    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/90sogo
862    {
863        my @add = split(/[,; ]+/, 'gnustep-*');
864        my %remove = map { $_ => 1 } split(/[,; ]+/, '');
865    
866        for my $name ( qw(epel) )
867        {
868            my $repo = $DB->get($name) or next;
869    
870            my @exclude = split(/,/, $repo->prop('Exclude') || '');
871            push @exclude, @add;
872            @exclude = grep(!defined $remove{$_} && !/^CENTOS_/, @exclude);
873    
874            # remove duplicates
875            undef %saw;
876            @exclude = grep(!$saw{$_}++, @exclude);
877    
878            if ($#exclude >= 0)
879            {
880                $repo->set_prop('Exclude', join(',', @exclude));
881            }
882            else
883            {
884                $repo->delete('Exclude');
885            }
886        }
887    }
888    
889    EOF
890    
891    
892    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel
893    {
894        my @add = split(/[,; ]+/, '');
895        my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make');
896    
897        for my $name ( qw(epel) )
898        {
899            my $repo = $DB->get($name) or next;
900    
901            my @exclude = split(/,/, $repo->prop('Exclude') || '');
902            push @exclude, @add;
903            @exclude = grep(!defined $remove{$_} && !/^CENTOS_/, @exclude);
904    
905            # remove duplicates
906            undef %saw;
907            @exclude = grep(!$saw{$_}++, @exclude);
908    
909            if ($#exclude >= 0)
910            {
911                $repo->set_prop('Exclude', join(',', @exclude));
912            }
913            else
914            {
915                $repo->delete('Exclude');
916            }
917        }
918    }
919    
920    EOF
921    
922    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10zmrepo
923    {
924        for my $name ( qw(zmrepo) )
925        {
926            my $repo = $DB->get($name) or next;
927            my $BaseURL = $repo->prop('BaseURL') || '';
928            if ($BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g)
929                    {$repo->set_prop('BaseURL', $BaseURL);}
930            $repo->delete('Exclude') if $repo->prop('delete');
931        }
932    
933    }
934    
935    EOF
936    
937    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk
938    {
939        for my $name ( qw(asterisk-current) )
940        {
941            my $repo = $DB->get($name) or next;
942            my $BaseURL = $repo->prop('BaseURL') || '';
943            if ($BaseURL =~ s/centos\$/centos\/\$/g)
944                    {$repo->set_prop('BaseURL', $BaseURL);}
945        }
946    
947    }
948    
949    EOF
950    
951    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10openfusion
952    {
953        my @addexclude = split(/,/,"perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-Exporter-Tiny,perl-ExtUtils-Install,perl-parent");
954        my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version');
955        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");
956        my %removeinclude = map { $_ => 1 } split(/[,; ]+/, '');
957    
958        for my $name ( qw(openfusion) )
959        {
960            my $repo = $DB->get($name) or next;
961    
962            my @exclude = split(/,/, $repo->prop('Exclude') || '');
963            push @exclude, @addexclude;
964            @exclude = grep(!defined $removeexclude{$_} , @exclude);
965            # remove duplicates
966            undef %saw;
967            @exclude = grep(!$saw{$_}++, @exclude);
968            if ($#exclude >= 0)
969            {
970                $repo->set_prop('Exclude', join(',', @exclude));
971            }
972            else
973            {
974                $repo->delete('Exclude');
975            }
976    
977            my @include = split(/,/, $repo->prop('IncludePkgs') || '');
978            push @include, @addinclude;
979            @include = grep(!defined $removeinclude{$_} , @include);
980            # remove duplicates
981            undef %saw;
982            @include = grep(!$saw{$_}++, @include);
983            if ($#include >= 0)
984            {
985                $repo->set_prop('IncludePkgs', join(',', @include));
986            }
987            else
988            {
989                $repo->delete('IncludePkgs');
990            }
991    
992    
993    
994        }
995    
996    }
997    
998    EOF
999    
1000    
1001    
1002    
1003    ##########################################################
1004    
1005  rm -f %{name}-%{version}-filelist*  rm -f %{name}-%{version}-filelist*
1006  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist
1007  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 1015  cat %{name}-%{version}-filelist| grep er
1015  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch
1016  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws
1017  cat %{name}-%{version}-filelist| grep geekery                   > %{name}-%{version}-filelist-geekery  cat %{name}-%{version}-filelist| grep geekery                   > %{name}-%{version}-filelist-geekery
1018    cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan
1019  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
1020  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo
1021  fi  fi
# Line 901  Geekery Repository Line 1139  Geekery Repository
1139  %files geekery -f  %{name}-%{version}-filelist-geekery  %files geekery -f  %{name}-%{version}-filelist-geekery
1140  %defattr(-,root,root)  %defattr(-,root,root)
1141    
1142    %package libreswan
1143    Summary: Libreswan Repository
1144    %description libreswan
1145    Geekery Repository
1146    %files libreswan -f  %{name}-%{version}-filelist-libreswan
1147    %defattr(-,root,root)
1148    
1149  %package odoo  %package odoo
1150  Summary: Odoo 10 Nightly - EL7 Repository  Summary: Odoo 10 Nightly - EL7 Repository
1151  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