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

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

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

Revision 1.6 by jcrisp, Mon Dec 21 10:38:04 2020 UTC Revision 1.22 by jcrisp, Wed Jul 26 14:02:02 2023 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 26  %define release 41
4  Summary: easy configuration of extra yum repo  Summary: easy configuration of extra yum repo
5  Name: %{name}  Name: %{name}
6  Version: %{version}  Version: %{version}
# Line 11  Group: SMEserver/addon Line 11  Group: SMEserver/addon
11  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
12  BuildArchitectures: noarch  BuildArchitectures: noarch
13  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
14  Requires: e-smith-release >= 9.0  Requires: e-smith-release >= 10.0
15  AutoReqProv: no  AutoReqProv: no
16    Source0: https://raw.githubusercontent.com/ONLYOFFICE/repo/master/centos/RPM-GPG-KEY-ONLYOFFICE
17    
18  %description  %description
19  Provides configuration for external yum repository comaptible with Koozali SME Server.  Provides configuration for external yum repository comaptible with Koozali SME Server.
20    
21  %changelog  %changelog
22  * Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-26  * Wed Jul 26 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-41.sme
23    - fix issues with libreswan repo [SME: 12389]
24    - Remove old mongodb repos prior to 4.0
25    
26    * Wed Jun 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-40.sme
27    - add mongodb repos [SME: 11905]
28    - add onlyoffice repo [SME: 12078]
29    - add nginx repo [SME: 12079]
30    
31    * Sat May 28 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-39.sme
32    - fix typo in pgsql url
33    
34    * Thu Mar 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-38.sme
35    - add docker-ce repo [SME: 11894]
36    
37    * Wed Mar 09 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-37.sme
38    - add collaboraoffice repo [SME: 11888]
39    
40    * Thu Feb 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-36.sme
41    - add Copr repo for fusioninventory-agent owned by trasher [SME: 11751]
42    - fix update event for sclo [SME: 11876]
43    
44    * Mon Nov 29 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-35.sme
45    - fix node repos
46    
47    * Tue Nov 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-34.sme
48    - add asterisk [SME: 11512]
49    - add lemonldap [SME: 11740]
50    - add bareos [SME: 11741]
51    - add zabbix repo up to 55 and add scl sub repos [SME: 11744]
52    
53    * Tue Jul 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-33.sme
54    - add migrate fragment for pwauth in epel [SME: 11639]
55    
56    * Wed Jun 30 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-32.sme
57    - Requires e-smith >= 10
58    - exclude pwauh from EPEL [SME: 11639]
59    
60    * Sun May 02 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-31.sme
61    - add perl-JSON to openfusion [SME: 11579]
62    
63    * Thu Mar 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-30.sme
64    - fix zabbix key
65    - fix update event for packages with multiple repo
66    
67    * Thu Mar 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-29.sme
68    - add new zabbix version
69    
70    * Mon Mar 22 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-28.sme
71    - add extra packages from openfusion [SME: 11223]
72    - fix wrong event for remi-unsafe  [SME: 11181]
73    - add repo for postgsql
74    - remove digium asterisk repo for SME10  [SME: 11482]
75    - remove geekery repo [SME: 11483]
76    
77    * Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-27.sme
78    - Add perl-Disk-Free and perl-Type-Tiny to Migrate script [SME: 11024]
79    
80    * Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-26.sme
81  - Add perl-Disk-Free for smeserver-affa [SME: 11024]  - Add perl-Disk-Free for smeserver-affa [SME: 11024]
82    
83  * Wed Dec 02 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-25  * Wed Dec 02 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-25.sme
84  - add extar packages from Openfusion for NextCloud [SME: 11223]  - add extar packages from Openfusion for NextCloud [SME: 11223]
85  - perl-Array-Compare perl-Type-Tiny perl-Exporter-Tiny  - perl-Array-Compare perl-Type-Tiny perl-Exporter-Tiny
86    
# Line 103  mkdir -p $RPM_BUILD_ROOT/usr/share/rpm-g Line 162  mkdir -p $RPM_BUILD_ROOT/usr/share/rpm-g
162  # if needing to add a gpg key  # if needing to add a gpg key
163  #cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/  #cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/
164  #/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']}  #/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']}
165    cp %SOURCE0  $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/
166    
167    
168  # if needing to migrate something :  # if needing to migrate something :
169  #mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate  #mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate
# Line 125  echo "${REPO['fullreponame']}" > $RPM_BU Line 186  echo "${REPO['fullreponame']}" > $RPM_BU
186  echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible  echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible
187  echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status  echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status
188  echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type  echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type
189  mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['reponame']}-update/templates2expand/etc/yum.smerepos.d/  
190  touch $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['reponame']}-update/templates2expand/etc/yum.smerepos.d/sme-base.repo  mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['pkgname']}-update/templates2expand/etc/yum.smerepos.d/
191    touch $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['pkgname']}-update/templates2expand/etc/yum.smerepos.d/sme-base.repo
192    
193  [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\
194                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL
# Line 142  return 0 Line 204  return 0
204  }  }
205    
206    
   
 ######################  
207  #####################  #####################
 # asterisk 13 LTS  
208  #####################  #####################
209    # asterisk
210  #####################  #####################
211  REPO['reponame']='asterisk-13'  #####################
212  REPO['fullreponame']='Asterisk-13 - EL'  for elasver  in "13" "16"  '17' '18' ; do
213  REPO['EnableGroups']='yes'  REPO['reponame']="asterisk-$elasver"
214  REPO['GPGCheck']='no'  REPO['pkgname']='asterisk'
215  REPO['Visible']='no'  REPO['fullreponame']="Asterisk $elasver (LTS) Packages @ tucny.com"
216    REPO['EnableGroups']='no'
217    REPO['Visible']='yes'
218  REPO['status']='disabled'  REPO['status']='disabled'
219  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/asterisk-13/$basearch/'  REPO['BaseURL']=""#https://ast.tucny.com/repo/asterisk-$elasver/el\$releasever/\$basearch/
220  REPO['MirrorList']=''  REPO['MirrorList']="https://ast.tucny.com/mirrorlist.php?release=\$releasever&arch=\$basearch&repo=asterisk-$elasver"
221  REPO['GPGKey']=''  REPO['GPGCheck']='yes'
222    REPO['GPGKey']="https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny"
223  REPO['Exclude']=''  REPO['Exclude']=''
224  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
225  createrepo  createrepo
226    done
227    
228  ######################  REPO['reponame']='asterisk-common'
229  #####################  REPO['pkgname']='asterisk'
230  # asterisk current  REPO['fullreponame']='Asterisk Common Requirement Packages @ tucny.com'
231  #####################  REPO['EnableGroups']='no'
 #####################  
 REPO['reponame']='asterisk-current'  
 REPO['fullreponame']='Asterisk-current - EL'  
 REPO['EnableGroups']='yes'  
 REPO['GPGCheck']='no'  
232  REPO['Visible']='no'  REPO['Visible']='no'
233  REPO['status']='disabled'  REPO['status']='disabled'
234  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/'  REPO['BaseURL']=''#https://ast.tucny.com/repo/asterisk-common/el$releasever/$basearch/
235  REPO['MirrorList']=''  REPO['MirrorList']='https://ast.tucny.com/mirrorlist.php?release=$releasever&arch=$basearch&repo=asterisk-common'
236  REPO['GPGKey']=''  REPO['GPGCheck']='yes'
237    REPO['GPGKey']='https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny'
238  REPO['Exclude']=''  REPO['Exclude']=''
239  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
240  createrepo  createrepo
241    
242    
243    
244  #####################  #####################
245  #####################  #####################
246  # Digium Repo  #atomic
247  #####################  #####################
248  #####################  #####################
249  REPO['reponame']='digium-current'  REPO['reponame']='atomic'
250  REPO['fullreponame']='Digium packages - EL'  REPO['pkgname']=${REPO['reponame']}
251    REPO['fullreponame']='Atomic'
252  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
253  REPO['Visible']='no'  REPO['Visible']='no'
254  REPO['status']='disabled'  REPO['status']='disabled'
255  REPO['BaseURL']='http://packages.digium.com/centos/$releasever/current/$basearch/'  REPO['BaseURL']=''
256  REPO['MirrorList']=''  REPO['MirrorList']='http://www.atomicorp.com/mirrorlist/atomic/centos-$releasever-$basearch'
257  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
258  REPO['GPGKey']=''  REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt'
259  REPO['Exclude']=''  REPO['Exclude']=''
260  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
261  createrepo  createrepo
262    
263  #####################  #####################
264  #####################  #####################
265  # Digium 13  # BareOS
266  #####################  #####################
267  #####################  #####################
268  REPO['reponame']='digium-13'  REPO['reponame']='bareos20'
269  REPO['fullreponame']='Digium-13 packages - EL'  REPO['pkgname']='bareos'
270    REPO['fullreponame']='Backup Archiving Recovery Open Sourced'
271    REPO['EnableGroups']='no'
272    REPO['Visible']='yes'
273    REPO['status']='disabled'
274    REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever'
275    REPO['MirrorList']=''
276    REPO['GPGCheck']='yes'
277    REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key'
278    REPO['Exclude']=''
279    REPO['IncludePkgs']=''
280    createrepo
281    
282    REPO['reponame']='bareos20-source'
283    REPO['pkgname']='bareos'
284    REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Sources'
285  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
286  REPO['Visible']='no'  REPO['Visible']='no'
287  REPO['status']='disabled'  REPO['status']='disabled'
288  REPO['BaseURL']='http://packages.digium.com/centos/$releasever/digium-13/$basearch/'  REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/src'
289  REPO['MirrorList']=''  REPO['MirrorList']=''
290  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
291  REPO['GPGKey']=''  REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key'
292  REPO['Exclude']=''  REPO['Exclude']=''
293  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
294  createrepo  createrepo
295    
296  #####################  REPO['reponame']='bareos20-debuginfo'
297  #####################  REPO['pkgname']='bareos'
298  #atomic  REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Debuginfo'
 #####################  
 #####################  
 REPO['reponame']='atomic'  
 REPO['fullreponame']='Atomic'  
299  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
300  REPO['Visible']='no'  REPO['Visible']='no'
301  REPO['status']='disabled'  REPO['status']='disabled'
302  REPO['BaseURL']=''  REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/debug'
303  REPO['MirrorList']='http://www.atomicorp.com/mirrorlist/atomic/centos-$releasever-$basearch'  REPO['MirrorList']=''
304  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
305  REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt'  REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key'
306  REPO['Exclude']=''  REPO['Exclude']=''
307  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
308  createrepo  createrepo
309    
310    
311    
312  #####################  #####################
313  #####################  #####################
314  #centos-sclo-centos  #centos-sclo-centos
315  #####################  #####################
316  #####################  #####################
317  REPO['reponame']='centos-sclo-centos'  REPO['reponame']='centos-sclo-centos'
318    REPO['pkgname']="centos-sclo" #${REPO['reponame']}
319  REPO['fullreponame']='Centos-RH Software collections'  REPO['fullreponame']='Centos-RH Software collections'
320  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
321  REPO['Visible']='yes'  REPO['Visible']='yes'
322  REPO['status']='disabled'  REPO['status']='enabled'
323  REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/'  REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/'
324  REPO['MirrorList']=''  REPO['MirrorList']=''
325  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
# Line 257  createrepo Line 334  createrepo
334  #####################  #####################
335  #####################  #####################
336  REPO['reponame']='centos-sclo-rh'  REPO['reponame']='centos-sclo-rh'
337    REPO['pkgname']='centos-sclo' #${REPO['reponame']}
338  REPO['fullreponame']='Centos-RH Software collections'  REPO['fullreponame']='Centos-RH Software collections'
339  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
340  REPO['Visible']='yes'  REPO['Visible']='yes'
341  REPO['status']='disabled'  REPO['status']='enabled'
342  REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/'  REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/'
343  REPO['MirrorList']=''  REPO['MirrorList']=''
344  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
# Line 271  createrepo Line 349  createrepo
349    
350  #####################  #####################
351  #####################  #####################
352    #collaboraoffice.com
353    #####################
354    #####################
355    REPO['reponame']='collaboraoffice'
356    REPO['pkgname']=${REPO['reponame']}
357    REPO['fullreponame']='collaboraoffice.com_repos_CollaboraOnline_CODE-centos'
358    REPO['EnableGroups']='no'
359    REPO['Visible']='yes'
360    REPO['status']='enabled'
361    REPO['BaseURL']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos$releasever'
362    REPO['MirrorList']=''
363    REPO['GPGCheck']='yes'
364    REPO['GPGKey']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos7/repodata/repomd.xml.key'
365    REPO['Exclude']=''
366    REPO['IncludePkgs']=''
367    createrepo
368    
369    #####################
370    #####################
371    #docker-ce
372    #####################
373    #####################
374    REPO['reponame']='docker-ce'
375    REPO['pkgname']=${REPO['reponame']}
376    REPO['fullreponame']='docker-ce'
377    REPO['EnableGroups']='no'
378    REPO['Visible']='yes'
379    REPO['status']='enabled'
380    REPO['BaseURL']='https://download.docker.com/linux/centos/$releasever/$basearch/stable'
381    REPO['MirrorList']=''
382    REPO['GPGCheck']='yes'
383    REPO['GPGKey']='https://download.docker.com/linux/centos/gpg'
384    REPO['Exclude']=''
385    REPO['IncludePkgs']=''
386    createrepo
387    
388    
389    #####################
390    #####################
391  #egroupware  #egroupware
392  #####################  #####################
393  #####################  #####################
394  REPO['reponame']='egroupware'  REPO['reponame']='egroupware'
395    REPO['pkgname']=${REPO['reponame']}
396  REPO['fullreponame']='server_eGroupWare'  REPO['fullreponame']='server_eGroupWare'
397  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
398  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 295  createrepo Line 413  createrepo
413  declare -A elashort=( ['6.x']='6.x' ['5.x']='5.x' ['1.6']='1' )  declare -A elashort=( ['6.x']='6.x' ['5.x']='5.x' ['1.6']='1' )
414  for elasver  in "6.x" "5.x" "1.6"; do  for elasver  in "6.x" "5.x" "1.6"; do
415  REPO['reponame']="elastic${elashort[$elasver]}"  REPO['reponame']="elastic${elashort[$elasver]}"
416    REPO['pkgname']='elastic'
417  REPO['fullreponame']="Elasticsearch repository for $elasver packages"  REPO['fullreponame']="Elasticsearch repository for $elasver packages"
418  REPO['EnableGroups']='yes'  REPO['EnableGroups']='yes'
419  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 314  done Line 433  done
433  #####################  #####################
434  #####################  #####################
435  REPO['reponame']='elrepo'  REPO['reponame']='elrepo'
436    REPO['pkgname']='elrepo'
437  REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository'  REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository'
438  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
439  REPO['Visible']='no'  REPO['Visible']='no'
# Line 332  createrepo Line 452  createrepo
452  #####################  #####################
453  #####################  #####################
454  REPO['reponame']='elrepo-kernel'  REPO['reponame']='elrepo-kernel'
455    REPO['pkgname']='elrepo'
456  REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel'  REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel'
457  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
458  REPO['Visible']='no'  REPO['Visible']='no'
# Line 350  createrepo Line 471  createrepo
471  #####################  #####################
472  #####################  #####################
473  REPO['reponame']='epel'  REPO['reponame']='epel'
474    REPO['pkgname']=${REPO['reponame']}
475  REPO['fullreponame']='EPEL'  REPO['fullreponame']='EPEL'
476  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
477  REPO['Visible']='no'  REPO['Visible']='no'
# Line 358  REPO['BaseURL']='http://download.fedorap Line 480  REPO['BaseURL']='http://download.fedorap
480  REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch'  REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch'
481  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
482  REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'  REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
483  REPO['Exclude']='perl-Razor-Agent'  REPO['Exclude']='perl-Razor-Agent,pwauth'
484  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
485  createrepo  createrepo
486    
# Line 368  createrepo Line 490  createrepo
490  #####################  #####################
491  #####################  #####################
492  REPO['reponame']='erlang'  REPO['reponame']='erlang'
493    REPO['pkgname']=${REPO['reponame']}
494  REPO['fullreponame']='erlang programming language'  REPO['fullreponame']='erlang programming language'
495  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
496  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 386  createrepo Line 509  createrepo
509  #####################  #####################
510  #####################  #####################
511  REPO['reponame']='freeswitch'  REPO['reponame']='freeswitch'
512    REPO['pkgname']=${REPO['reponame']}
513  REPO['fullreponame']='Freeswitch'  REPO['fullreponame']='Freeswitch'
514  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
515  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 404  createrepo Line 528  createrepo
528  #####################  #####################
529  #####################  #####################
530  REPO['reponame']='fws'  REPO['reponame']='fws'
531    REPO['pkgname']=${REPO['reponame']}
532  REPO['fullreponame']='Firewall Services'  REPO['fullreponame']='Firewall Services'
533  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
534  REPO['Visible']='no'  REPO['Visible']='no'
# Line 422  createrepo Line 547  createrepo
547  #####################  #####################
548  #####################  #####################
549  REPO['reponame']='fws-testing'  REPO['reponame']='fws-testing'
550    REPO['pkgname']='fws'
551  REPO['fullreponame']='Firewall Services testing'  REPO['fullreponame']='Firewall Services testing'
552  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
553  REPO['Visible']='no'  REPO['Visible']='no'
# Line 436  createrepo Line 562  createrepo
562    
563  #####################  #####################
564  #####################  #####################
565  # Geekery  (last update 2016-09-25)  #fusion inventory
 #####################  
 #####################  
 REPO['reponame']='geekery'  
 REPO['fullreponame']='geekery repository'  
 REPO['EnableGroups']='no'  
 REPO['Visible']='no'  
 REPO['status']='disabled'  
 REPO['BaseURL']=''  
 REPO['MirrorList']='http://geekery.epac.to/geekery/el$releasever-mirrors'  
 REPO['GPGCheck']='yes'  
 REPO['GPGKey']='http://geekery.altervista.org/download.php?filename=GEEKERY-GPG-KEY'  
 REPO['Exclude']=''  
 REPO['IncludePkgs']=''  
 createrepo  
   
 #####################  
 #####################  
 # Libreswan  
566  #####################  #####################
567  #####################  #####################
568  REPO['reponame']='libreswan'  REPO['reponame']='fusioninventory-agent'
569  REPO['fullreponame']='Libreswan'  REPO['pkgname']='fusioninventory-agent'
570    REPO['fullreponame']='Copr repo for fusioninventory-agent owned by trasher'
571  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
572  REPO['Visible']='no'  REPO['Visible']='no'
573  REPO['status']='disabled'  REPO['status']='disabled'
574  REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/'  REPO['BaseURL']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/epel-$releasever-$basearch/'
575  REPO['MirrorList']=''  REPO['MirrorList']=''
576  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
577  REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan'  REPO['GPGKey']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/pubkey.gpg'
578  REPO['Exclude']=''  REPO['Exclude']=''
579  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
580  createrepo  createrepo
581    
582    
583  #####################  #####################
584  #####################  #####################
585  # NodeJS 4  # LemonLDAP-NG
586  #####################  #####################
587  #####################  #####################
588  REPO['reponame']='node4'  REPO['reponame']='lemonldap-ng'
589  REPO['fullreponame']='NodeJS 4'  REPO['pkgname']='lemonldap'
590    REPO['fullreponame']='LemonLDAP::NG packages'
591  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
592  REPO['Visible']='no'  REPO['Visible']='yes'
593  REPO['status']='disabled'  REPO['status']='disabled'
594  REPO['BaseURL']='https://rpm.nodesource.com/pub_4.x/el/$releasever/$basearch/'  REPO['BaseURL']='https://lemonldap-ng.org/redhat/stable/$releasever/noarch'
595  REPO['MirrorList']=''  REPO['MirrorList']=''
596  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
597  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2'
598  REPO['Exclude']=''  REPO['Exclude']=''
599  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
600  createrepo  createrepo
601    
602  #####################  REPO['reponame']='lemonldap-ng-extras'
603  #####################  REPO['pkgname']='lemonldap'
604  # NodeJS 5  REPO['fullreponame']='LemonLDAP::NG extra packages'
 #####################  
 #####################  
 REPO['reponame']='node5'  
 REPO['fullreponame']='NodeJS 5'  
605  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
606  REPO['Visible']='no'  REPO['Visible']='yes'
607  REPO['status']='disabled'  REPO['status']='disabled'
608  REPO['BaseURL']='https://rpm.nodesource.com/pub_5.x/el/$releasever/$basearch/'  REPO['BaseURL']='https://lemonldap-ng.org/redhat/extras/$releasever/noarch'
609  REPO['MirrorList']=''  REPO['MirrorList']=''
610  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
611  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2'
612  REPO['Exclude']=''  REPO['Exclude']=''
613  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
614  createrepo  createrepo
615    
616  #####################  
 #####################  
 # NodeJS 6  
 #####################  
 #####################  
 REPO['reponame']='node6'  
 REPO['fullreponame']='NodeJS 6'  
 REPO['EnableGroups']='no'  
 REPO['Visible']='no'  
 REPO['status']='disabled'  
 REPO['BaseURL']='https://rpm.nodesource.com/pub_6.x/el/$releasever/$basearch/'  
 REPO['MirrorList']=''  
 REPO['GPGCheck']='no'  
 REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  
 REPO['Exclude']=''  
 REPO['IncludePkgs']=''  
 createrepo  
617    
618  #####################  #####################
619  #####################  #####################
620  # NodeJS 7  # Libreswan
621  #####################  #####################
622  #####################  #####################
623  REPO['reponame']='node7'  REPO['reponame']='libreswan'
624  REPO['fullreponame']='NodeJS 7'  REPO['pkgname']=${REPO['reponame']}
625    REPO['fullreponame']='Libreswan'
626  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
627  REPO['Visible']='no'  REPO['Visible']='yes'
628  REPO['status']='disabled'  REPO['status']='disabled'
629  REPO['BaseURL']='https://rpm.nodesource.com/pub_7.x/el/$releasever/$basearch/'  REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/'
630  REPO['MirrorList']=''  REPO['MirrorList']=''
631  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
632  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']='http://download.libreswan.org/RPM-GPG-KEY-libreswan'
633  REPO['Exclude']=''  REPO['Exclude']=''
634  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
635  createrepo  REPO['Priority']='10'
636    createrepo
637    
638    
639  #####################  #####################
640  #####################  #####################
641  # NodeJS  # Mongodb
642  #####################  #####################
643  #####################  #####################
644  REPO['reponame']='node8'  for nodever  in "4.0" "4.1" "4.2" "4.3" "4.4" "5.0" "6.0" "7.0"; do
645  REPO['fullreponame']='NodeJS 8'  REPO['reponame']="mongodb$nodever"
646    REPO['pkgname']='mongodb'
647    REPO['fullreponame']="Mongodb $nodever"
648  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
649  REPO['Visible']='no'  REPO['Visible']='yes'
650  REPO['status']='disabled'  REPO['status']='disabled'
651  REPO['BaseURL']='https://rpm.nodesource.com/pub_8.x/el/$releasever/$basearch/'  REPO['BaseURL']="https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/$nodever/\$basearch/"
652  REPO['MirrorList']=''  REPO['MirrorList']=''
653  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
654  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']="https://www.mongodb.org/static/pgp/server-$nodever.asc"
655  REPO['Exclude']=''  REPO['Exclude']=''
656  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
657  createrepo  createrepo
658    done
659    
660  #####################  #####################
661  #####################  #####################
662  # NodeJS 9  # Nginx
663  #####################  #####################
664  #####################  #####################
665  REPO['reponame']='node9'  REPO['reponame']='nginx'
666  REPO['fullreponame']='NodeJS 9'  REPO['pkgname']='nginx'
667    REPO['fullreponame']='nginx stable repo'
668  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
669  REPO['Visible']='no'  REPO['Visible']='yes'
670  REPO['status']='disabled'  REPO['status']='enabled'
671  REPO['BaseURL']='https://rpm.nodesource.com/pub_9.x/el/$releasever/$basearch/'  REPO['BaseURL']='http://nginx.org/packages/centos/$releasever/$basearch/'
672  REPO['MirrorList']=''  REPO['MirrorList']=''
673  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
674  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']='https://nginx.org/keys/nginx_signing.key'
675  REPO['Exclude']=''  REPO['Exclude']=''
676  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
677  createrepo  createrepo
678    
679  #####################  REPO['reponame']='nginx-mainline'
680  #####################  REPO['pkgname']='nginx'
681  # NodeJS 10  REPO['fullreponame']='nginx mainline repo'
 #####################  
 #####################  
 REPO['reponame']='node10'  
 REPO['fullreponame']='NodeJS 10'  
682  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
683  REPO['Visible']='no'  REPO['Visible']='yes'
684  REPO['status']='disabled'  REPO['status']='disabled'
685  REPO['BaseURL']='https://rpm.nodesource.com/pub_10.x/el/$releasever/$basearch/'  REPO['BaseURL']='http://nginx.org/packages/mainline/centos/$releasever/$basearch/'
686  REPO['MirrorList']=''  REPO['MirrorList']=''
687  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
688  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']='https://nginx.org/keys/nginx_signing.key'
689  REPO['Exclude']=''  REPO['Exclude']=''
690  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
691  createrepo  createrepo
692    
693    
694    
695    
696  #####################  #####################
697  #####################  #####################
698  # NodeJS 11  # NodeJS 4
699  #####################  #####################
700  #####################  #####################
701  REPO['reponame']='node11'  for nodever  in "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17"; do
702  REPO['fullreponame']='NodeJS 11'  REPO['reponame']="node$nodever"
703    REPO['pkgname']='node'
704    REPO['fullreponame']="NodeJS $nodever"
705  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
706  REPO['Visible']='no'  REPO['Visible']='yes'
707  REPO['status']='disabled'  REPO['status']='disabled'
708  REPO['BaseURL']='https://rpm.nodesource.com/pub_11.x/el/$releasever/$basearch/'  REPO['BaseURL']="https://rpm.nodesource.com/pub_$nodever.x/el/\$releasever/\$basearch/"
709  REPO['MirrorList']=''  REPO['MirrorList']=''
710  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
711  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']='https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL'
712    #'https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
713    #'https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL'
714  REPO['Exclude']=''  REPO['Exclude']=''
715  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
716  createrepo  createrepo
717    done
718    
719    
720  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
# Line 624  if  ( "%{?dist}"  == "el7" ); then Line 724  if  ( "%{?dist}"  == "el7" ); then
724  #####################  #####################
725  #####################  #####################
726  REPO['reponame']='odoo10-nightly'  REPO['reponame']='odoo10-nightly'
727    REPO['pkgname']='odoo'
728  REPO['fullreponame']='Odoo 10 Nightly - EL7'  REPO['fullreponame']='Odoo 10 Nightly - EL7'
729  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
730  REPO['Visible']='no'  REPO['Visible']='yes'
731  REPO['status']='disabled'  REPO['status']='disabled'
732  REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'  REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'
733  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 642  createrepo Line 743  createrepo
743  #####################  #####################
744  #####################  #####################
745  REPO['reponame']='odoo9-nightly'  REPO['reponame']='odoo9-nightly'
746    REPO['pkgname']='odoo'
747  REPO['fullreponame']='Odoo 9 Nightly - EL7'  REPO['fullreponame']='Odoo 9 Nightly - EL7'
748  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
749  REPO['Visible']='no'  REPO['Visible']='yes'
750  REPO['status']='disabled'  REPO['status']='disabled'
751  REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'  REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'
752  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 661  fi Line 763  fi
763  #####################  #####################
764  #####################  #####################
765  REPO['reponame']='okay'  REPO['reponame']='okay'
766    REPO['pkgname']=${REPO['reponame']}
767  REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'  REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'
768  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
769  REPO['Visible']='no'  REPO['Visible']='yes'
770  REPO['status']='disabled'  REPO['status']='disabled'
771  REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'  REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'
772  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 675  createrepo Line 778  createrepo
778    
779  #####################  #####################
780  #####################  #####################
781    # Onlyoffice
782    #####################
783    #####################
784    REPO['reponame']='onlyoffice'
785    REPO['pkgname']=${REPO['reponame']}
786    REPO['fullreponame']='Onlyoffice document server - community edition'
787    REPO['EnableGroups']='no'
788    REPO['Visible']='yes'
789    REPO['status']='enabled'
790    REPO['BaseURL']='https://download.onlyoffice.com/repo/centos/main/noarch/'
791    REPO['MirrorList']=''
792    REPO['GPGCheck']='no'
793    REPO['GPGKey']='https://raw.githubusercontent.com/ONLYOFFICE/repo/master/centos/RPM-GPG-KEY-ONLYOFFICE'
794    REPO['Exclude']=''
795    REPO['IncludePkgs']=''
796    createrepo
797    
798    #####################
799    #####################
800  # Openfusion  # Openfusion
801  #####################  #####################
802  #####################  #####################
803  REPO['reponame']='openfusion'  REPO['reponame']='openfusion'
804    REPO['pkgname']=${REPO['reponame']}
805  REPO['fullreponame']='Openfusion'  REPO['fullreponame']='Openfusion'
806  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
807  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 687  REPO['BaseURL']='http://repo.openfusion. Line 810  REPO['BaseURL']='http://repo.openfusion.
810  REPO['MirrorList']=''  REPO['MirrorList']=''
811  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
812  REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'  REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'
813  REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-Exporter-Tiny,perl-ExtUtils-Install,perl-parent'  REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-ExtUtils-Install,perl-parent'
814  REPO['IncludePkgs']='perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent,perl-Array-Compare,perl-Type-Tiny,perl-Exporter-Tiny,perl-Filesys-DiskFree'  REPO['IncludePkgs']='perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent,perl-Array-Compare,perl-Type-Tiny,perl-Filesys-DiskFree,perl-Array-Compare,perl-Type-Tiny,perl-JSON'
815    createrepo
816    
817    #####################
818    #####################
819    # Postgresql
820    #####################
821    #####################
822    for pgsqlver  in  "9.6" "10" "11" "12" "13"; do
823    REPO['reponame']="pgsql$pgsqlver"
824    REPO['pkgname']='pgsql'
825    REPO['fullreponame']="Postgresql $pgsqlver"
826    REPO['EnableGroups']='no'
827    REPO['Visible']='yes'
828    REPO['status']='disabled'
829    REPO['BaseURL']='https://yum.postgresql.org/'$pgsqlver'/redhat/rhel-$releasever-$basearch/'
830    REPO['MirrorList']=''
831    REPO['GPGCheck']='yes'
832    ext=$pgsqlver;
833    [[ "$pgsqlver" == "9.6" ]] && ext="96";
834    REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'$ext
835    REPO['Exclude']=''
836    REPO['IncludePkgs']=''
837  createrepo  createrepo
838    
839    
840    REPO['reponame']="pgsql$pgsqlver-nonfree"
841    REPO['pkgname']='pgsql'
842    REPO['fullreponame']="Postgresql $pgsqlver non free"
843    REPO['EnableGroups']='no'
844    REPO['Visible']='yes'
845    REPO['status']='disabled'
846    REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/non-free/'$pgsqlver'/redhat/rhel-$releasever-$basearch/'
847    REPO['MirrorList']=''
848    REPO['GPGCheck']='yes'
849    ext=$pgsqlver;
850    [[ "$pgsqlver" == "9.6" ]] && ext="96";
851    REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'$ext
852    REPO['Exclude']=''
853    REPO['IncludePkgs']=''
854    createrepo
855    
856    REPO['reponame']="pgsql$pgsqlver-common"
857    REPO['pkgname']='pgsql'
858    REPO['fullreponame']="Postgresql $pgsqlver non free"
859    REPO['EnableGroups']='no'
860    REPO['Visible']='yes'
861    REPO['status']='disabled'
862    REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/common/'$pgsqlver'/redhat/rhel-$releasever-$basearch/'
863    REPO['MirrorList']=''
864    REPO['GPGCheck']='yes'
865    ext=$pgsqlver;
866    [[ "$pgsqlver" == "9.6" ]] && ext="96";
867    REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'$ext
868    REPO['Exclude']=''
869    REPO['IncludePkgs']=''
870    createrepo
871    
872    done
873    
874  #####################  #####################
875  #####################  #####################
876  # Reetspetit  # Reetspetit
877  #####################  #####################
878  #####################  #####################
879  REPO['reponame']='reetp'  REPO['reponame']='reetp'
880    REPO['pkgname']=${REPO['reponame']}
881  REPO['fullreponame']='Mirror John Crisp reetspetit.com'  REPO['fullreponame']='Mirror John Crisp reetspetit.com'
882  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
883  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 715  createrepo Line 896  createrepo
896  #####################  #####################
897  #####################  #####################
898  REPO['reponame']='remi'  REPO['reponame']='remi'
899    REPO['pkgname']='remi-unsafe'
900  REPO['fullreponame']='Remi - EL unsafe, will conflict with your base rpms'  REPO['fullreponame']='Remi - EL unsafe, will conflict with your base rpms'
901  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
902  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
# Line 733  createrepo Line 915  createrepo
915  #####################  #####################
916  #####################  #####################
917  REPO['reponame']='remi-ocsinventory'  REPO['reponame']='remi-ocsinventory'
918    REPO['pkgname']=${REPO['reponame']}
919  REPO['fullreponame']='Remi ocsinventory - EL'  REPO['fullreponame']='Remi ocsinventory - EL'
920  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
921  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
# Line 751  createrepo Line 934  createrepo
934  #####################  #####################
935  #####################  #####################
936  REPO['reponame']='remi-roundcube'  REPO['reponame']='remi-roundcube'
937    REPO['pkgname']=${REPO['reponame']}
938  REPO['fullreponame']='Remi Roundcube - EL'  REPO['fullreponame']='Remi Roundcube - EL'
939  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
940  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
# Line 770  createrepo Line 954  createrepo
954  #####################  #####################
955  #####################  #####################
956  REPO['reponame']='rpmfusion'  REPO['reponame']='rpmfusion'
957    REPO['pkgname']=${REPO['reponame']}
958  REPO['fullreponame']='rpmfusion free EL'  REPO['fullreponame']='rpmfusion free EL'
959  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
960  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 788  createrepo Line 973  createrepo
973  #####################  #####################
974  #####################  #####################
975  REPO['reponame']='rpmfusion-nonfree'  REPO['reponame']='rpmfusion-nonfree'
976    REPO['pkgname']='rpmfusion'
977  REPO['fullreponame']='rpmfusion nonfree EL'  REPO['fullreponame']='rpmfusion nonfree EL'
978  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
979  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 806  createrepo Line 992  createrepo
992  #####################  #####################
993  #####################  #####################
994  REPO['reponame']='sogo'  REPO['reponame']='sogo'
995    REPO['pkgname']=${REPO['reponame']}
996  REPO['fullreponame']='Inverse SOGo 2 Repository'  REPO['fullreponame']='Inverse SOGo 2 Repository'
997  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
998  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 824  createrepo Line 1011  createrepo
1011  #####################  #####################
1012  #####################  #####################
1013  REPO['reponame']='sogo3'  REPO['reponame']='sogo3'
1014    REPO['pkgname']='sogo'
1015  REPO['fullreponame']='Inverse SOGo 3 Repository'  REPO['fullreponame']='Inverse SOGo 3 Repository'
1016  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
1017  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 842  createrepo Line 1030  createrepo
1030  #####################  #####################
1031  #####################  #####################
1032  REPO['reponame']='sogo4'  REPO['reponame']='sogo4'
1033    REPO['pkgname']='sogo'
1034  REPO['fullreponame']='Inverse SOGo 4 Repository'  REPO['fullreponame']='Inverse SOGo 4 Repository'
1035  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
1036  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 860  createrepo Line 1049  createrepo
1049  #####################  #####################
1050  #####################  #####################
1051  REPO['reponame']='sogo-subscription'  REPO['reponame']='sogo-subscription'
1052    REPO['pkgname']='sogo'
1053  REPO['fullreponame']='Inverse SOGo Repository only with subscription'  REPO['fullreponame']='Inverse SOGo Repository only with subscription'
1054  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
1055  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 878  createrepo Line 1068  createrepo
1068  #####################  #####################
1069  #####################  #####################
1070  REPO['reponame']='spectrum2'  REPO['reponame']='spectrum2'
1071    REPO['pkgname']=${REPO['reponame']}
1072  REPO['fullreponame']='Spectrum2'  REPO['fullreponame']='Spectrum2'
1073  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
1074  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 896  createrepo Line 1087  createrepo
1087  #####################  #####################
1088  #####################  #####################
1089  REPO['reponame']='springdale-core'  REPO['reponame']='springdale-core'
1090    REPO['pkgname']='springdale'
1091  REPO['fullreponame']='PUIAS core Base'  REPO['fullreponame']='PUIAS core Base'
1092  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
1093  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 909  REPO['IncludePkgs']='' Line 1101  REPO['IncludePkgs']=''
1101  createrepo  createrepo
1102    
1103  REPO['reponame']='springdale-updates'  REPO['reponame']='springdale-updates'
1104    REPO['pkgname']='springdale'
1105  REPO['fullreponame']='PUIAS core Updates'  REPO['fullreponame']='PUIAS core Updates'
1106  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
1107  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 922  REPO['IncludePkgs']='' Line 1115  REPO['IncludePkgs']=''
1115  createrepo  createrepo
1116    
1117  REPO['reponame']='springdale-addons'  REPO['reponame']='springdale-addons'
1118    REPO['pkgname']='springdale'
1119  REPO['fullreponame']='PUIAS Addons'  REPO['fullreponame']='PUIAS Addons'
1120  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
1121  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 935  REPO['IncludePkgs']='' Line 1129  REPO['IncludePkgs']=''
1129  createrepo  createrepo
1130    
1131  REPO['reponame']='springdale-addons-updates'  REPO['reponame']='springdale-addons-updates'
1132    REPO['pkgname']='springdale'
1133  REPO['fullreponame']='PUIAS Addons Updates'  REPO['fullreponame']='PUIAS Addons Updates'
1134  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
1135  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 949  createrepo Line 1144  createrepo
1144    
1145    
1146  REPO['reponame']='springdale-unsupported'  REPO['reponame']='springdale-unsupported'
1147    REPO['pkgname']='springdale'
1148  REPO['fullreponame']='PUIAS Unsupported'  REPO['fullreponame']='PUIAS Unsupported'
1149  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
1150  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 962  REPO['IncludePkgs']='' Line 1158  REPO['IncludePkgs']=''
1158  createrepo  createrepo
1159    
1160  REPO['reponame']='springdale-computational'  REPO['reponame']='springdale-computational'
1161    REPO['pkgname']='springdale'
1162  REPO['fullreponame']='PUIAS Computational'  REPO['fullreponame']='PUIAS Computational'
1163  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
1164  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 983  createrepo Line 1180  createrepo
1180  #####################  #####################
1181  #####################  #####################
1182  REPO['reponame']='stephdl'  REPO['reponame']='stephdl'
1183    REPO['pkgname']=${REPO['reponame']}
1184  REPO['fullreponame']='Mirror Stephane de Labrusse'  REPO['fullreponame']='Mirror Stephane de Labrusse'
1185  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
1186  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1001  createrepo Line 1199  createrepo
1199  #####################  #####################
1200  #####################  #####################
1201  REPO['reponame']='virtualbox'  REPO['reponame']='virtualbox'
1202    REPO['pkgname']=${REPO['reponame']}
1203  REPO['fullreponame']='RHEL/CentOS VirtualBox'  REPO['fullreponame']='RHEL/CentOS VirtualBox'
1204  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
1205  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1019  createrepo Line 1218  createrepo
1218  #####################  #####################
1219  #####################  #####################
1220  REPO['reponame']='webtatic'  REPO['reponame']='webtatic'
1221    REPO['pkgname']=${REPO['reponame']}
1222  REPO['fullreponame']='webtatic - EL'  REPO['fullreponame']='webtatic - EL'
1223  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
1224  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1041  createrepo Line 1241  createrepo
1241  #####################  #####################
1242  #####################  #####################
1243  REPO['reponame']='xymon'  REPO['reponame']='xymon'
1244    REPO['pkgname']=${REPO['reponame']}
1245  REPO['fullreponame']='Xymon Terabithia RPMS - EL'  REPO['fullreponame']='Xymon Terabithia RPMS - EL'
1246  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
1247  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1058  createrepo Line 1259  createrepo
1259  #Zabbix2.4  #Zabbix2.4
1260  #####################  #####################
1261  #####################  #####################
1262  declare -A zabshort=( ['1.8']='18' ['2.0']='20' ['2.0']='20' ['2.4']='24' ['3.0']='30' ['3.2']='32' ['3.4']='34' ['4.0']='40' ['4.2']='42' ['4.4']='44')  declare -A zabshort=( ['1.8']='18' ['2.0']='20' ['2.0']='20' ['2.4']='24' ['3.0']='30' ['3.2']='32' ['3.4']='34' ['4.0']='40' ['4.2']='42' ['4.4']='44' ['4.5']='45' ['5.0']='50' ['5.1']='51' ['5.2']='52' ['5.3']='53' ['5.4']='54'  ['5.5']='55' )
1263  for elasver  in "4.2" "4.4" ; do  for elasver  in "4.2" "4.4"  '4.5' '5.0' '5.1' '5.2' '5.3' '5.4' '5.5'; do
1264  REPO['reponame']="zabbix${zabshort[$elasver]}"  REPO['reponame']="zabbix${zabshort[$elasver]}"
1265    REPO['pkgname']='zabbix'
1266  REPO['fullreponame']="Zabbix $elasver Official Repository"  REPO['fullreponame']="Zabbix $elasver Official Repository"
1267  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
1268  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1068  REPO['status']='disabled' Line 1270  REPO['status']='disabled'
1270  REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/"  REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/"
1271  REPO['MirrorList']=''  REPO['MirrorList']=''
1272  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
1273  REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX"  REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591"
1274    REPO['Exclude']=''
1275    REPO['IncludePkgs']=''
1276    createrepo
1277    done
1278    
1279    # webfront sclo
1280    for elasver  in '5.0' '5.1'; do
1281    REPO['reponame']="zabbix${zabshort[$elasver]}-frontend"
1282    REPO['pkgname']='zabbix'
1283    REPO['fullreponame']="Zabbix $elasver Official Repository"
1284    REPO['EnableGroups']='no'
1285    REPO['Visible']='yes'
1286    REPO['status']='disabled'
1287    REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/frontend/"
1288    REPO['MirrorList']=''
1289    REPO['GPGCheck']='yes'
1290    REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591"
1291  REPO['Exclude']=''  REPO['Exclude']=''
1292  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
1293  createrepo  createrepo
1294  done  done
1295    
1296    
1297    
1298  #####################  #####################
1299  #####################  #####################
1300  #zmrepo  #zmrepo
1301  #####################  #####################
1302  #####################  #####################
1303  REPO['reponame']='zmrepo'  REPO['reponame']='zmrepo'
1304    REPO['pkgname']=${REPO['reponame']}
1305  REPO['fullreponame']='ZoneMinder Repo - EL'  REPO['fullreponame']='ZoneMinder Repo - EL'
1306  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
1307  REPO['Visible']='yes'  REPO['Visible']='yes'
# Line 1130  EOF Line 1352  EOF
1352    
1353  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel
1354  {  {
1355      my @add = split(/[,; ]+/, '');      my @add = split(/[,; ]+/, 'pwauth');
1356      my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make');      my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make');
1357    
1358      for my $name ( qw(epel) )      for my $name ( qw(epel) )
# Line 1173  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi Line 1395  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi
1395    
1396  EOF  EOF
1397    
 cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk  
 {  
     for my $name ( qw(asterisk-current) )  
     {  
         my $repo = $DB->get($name) or next;  
         my $BaseURL = $repo->prop('BaseURL') || '';  
         if ($BaseURL =~ s/centos\$/centos\/\$/g)  
                 {$repo->set_prop('BaseURL', $BaseURL);}  
     }  
   
 }  
   
 EOF  
1398    
1399  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10openfusion  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10openfusion
1400  {  {
1401      my @addexclude = split(/,/,"perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-Exporter-Tiny,perl-ExtUtils-Install,perl-parent");      my @addexclude = split(/,/,"perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-ExtUtils-Install,perl-parent");
1402      my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version');      my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version');
1403      my @addinclude = split(/,/,"perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent,perl-Array-Compare,perl-Type-Tiny");      my @addinclude = split(/,/,"perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent,perl-Array-Compare,perl-Type-Tiny,perl-Filesys-DiskFree,perl-Array-Compare,perl-Type-Tiny");
1404    
1405      my %removeinclude = map { $_ => 1 } split(/[,; ]+/, '');      my %removeinclude = map { $_ => 1 } split(/[,; ]+/, '');
1406    
1407      for my $name ( qw(openfusion) )      for my $name ( qw(openfusion) )
# Line 1228  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi Line 1438  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi
1438              $repo->delete('IncludePkgs');              $repo->delete('IncludePkgs');
1439          }          }
1440    
1441        }
1442    
1443    }
1444    
     }  
1445    
1446    EOF
1447    
1448    
1449    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/30DeleteOldMongoDB
1450    {
1451        for my $dbVer (qw( 0.9 1.0 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7)) {
1452            $dataBase = "mongodb$dbVer";
1453            my $repo = $DB->get($dataBase);
1454            $repo->delete if $repo;
1455        }
1456  }  }
1457    
1458  EOF  EOF
# Line 1243  EOF Line 1464  EOF
1464    
1465  rm -f %{name}-%{version}-filelist*  rm -f %{name}-%{version}-filelist*
1466  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist
1467    cat %{name}-%{version}-filelist|grep asterisk                   > %{name}-%{version}-filelist-asterisk
1468  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic
1469    cat %{name}-%{version}-filelist| grep bareos                    > %{name}-%{version}-filelist-bareos
1470  cat %{name}-%{version}-filelist| grep centos-sclo               > %{name}-%{version}-filelist-centos-sclo  cat %{name}-%{version}-filelist| grep centos-sclo               > %{name}-%{version}-filelist-centos-sclo
1471  cat %{name}-%{version}-filelist| egrep 'digium|asterisk'        > %{name}-%{version}-filelist-asterisk  cat %{name}-%{version}-filelist| grep collaboraoffice           > %{name}-%{version}-filelist-collaboraoffice
1472    cat %{name}-%{version}-filelist| grep docker-ce                 > %{name}-%{version}-filelist-docker-ce
1473  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware
1474  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic
1475  cat %{name}-%{version}-filelist| grep elrepo                    > %{name}-%{version}-filelist-elrepo  cat %{name}-%{version}-filelist| grep elrepo                    > %{name}-%{version}-filelist-elrepo
# Line 1253  cat %{name}-%{version}-filelist| grep ep Line 1477  cat %{name}-%{version}-filelist| grep ep
1477  cat %{name}-%{version}-filelist| grep erlang                    > %{name}-%{version}-filelist-erlang  cat %{name}-%{version}-filelist| grep erlang                    > %{name}-%{version}-filelist-erlang
1478  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch
1479  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws
1480  cat %{name}-%{version}-filelist| grep geekery                   > %{name}-%{version}-filelist-geekery  cat %{name}-%{version}-filelist| grep fusioninventory-agent     > %{name}-%{version}-filelist-fusioninventory-agent
1481    cat %{name}-%{version}-filelist| grep lemonldap                 > %{name}-%{version}-filelist-lemonldap
1482  cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan  cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan
1483    cat %{name}-%{version}-filelist| grep mongodb                   > %{name}-%{version}-filelist-mongodb
1484    cat %{name}-%{version}-filelist| grep nginx                     > %{name}-%{version}-filelist-nginx
1485    cat %{name}-%{version}-filelist| grep node                      > %{name}-%{version}-filelist-node
1486  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
1487  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo
1488  fi  fi
1489  cat %{name}-%{version}-filelist| grep okay                      > %{name}-%{version}-filelist-okay  cat %{name}-%{version}-filelist| grep okay                      > %{name}-%{version}-filelist-okay
1490    cat %{name}-%{version}-filelist| grep -i onlyoffice             > %{name}-%{version}-filelist-onlyoffice
1491  cat %{name}-%{version}-filelist| grep openfusion                > %{name}-%{version}-filelist-openfusion  cat %{name}-%{version}-filelist| grep openfusion                > %{name}-%{version}-filelist-openfusion
 cat %{name}-%{version}-filelist| grep node                      > %{name}-%{version}-filelist-node  
1492  cat %{name}-%{version}-filelist| grep reetp                     > %{name}-%{version}-filelist-reetp  cat %{name}-%{version}-filelist| grep reetp                     > %{name}-%{version}-filelist-reetp
1493  cat %{name}-%{version}-filelist| grep remi-ocsinventory         > %{name}-%{version}-filelist-remi-ocsinventory  cat %{name}-%{version}-filelist| grep remi-ocsinventory         > %{name}-%{version}-filelist-remi-ocsinventory
1494  cat %{name}-%{version}-filelist| grep remi-roundcube            > %{name}-%{version}-filelist-remi-roundcube  cat %{name}-%{version}-filelist| grep remi-roundcube            > %{name}-%{version}-filelist-remi-roundcube
1495  cat %{name}-%{version}-filelist| grep remi|egrep -v 'safe|ocsinventory|roundcube'       > %{name}-%{version}-filelist-remi  cat %{name}-%{version}-filelist| grep remi|egrep -v 'ocsinventory|roundcube'    > %{name}-%{version}-filelist-remi
1496  cat %{name}-%{version}-filelist| grep rpmfusion                 > %{name}-%{version}-filelist-rpmfusion  cat %{name}-%{version}-filelist| grep rpmfusion                 > %{name}-%{version}-filelist-rpmfusion
1497  cat %{name}-%{version}-filelist| grep sogo                      > %{name}-%{version}-filelist-sogo  cat %{name}-%{version}-filelist| grep sogo                      > %{name}-%{version}-filelist-sogo
1498  cat %{name}-%{version}-filelist| grep spectrum2                 > %{name}-%{version}-filelist-spectrum2  cat %{name}-%{version}-filelist| grep spectrum2                 > %{name}-%{version}-filelist-spectrum2
# Line 1275  cat %{name}-%{version}-filelist| grep we Line 1503  cat %{name}-%{version}-filelist| grep we
1503  cat %{name}-%{version}-filelist| grep xymon                     > %{name}-%{version}-filelist-xymon  cat %{name}-%{version}-filelist| grep xymon                     > %{name}-%{version}-filelist-xymon
1504  cat %{name}-%{version}-filelist| grep zabbix                    > %{name}-%{version}-filelist-zabbix  cat %{name}-%{version}-filelist| grep zabbix                    > %{name}-%{version}-filelist-zabbix
1505  cat %{name}-%{version}-filelist| grep zmrepo                    > %{name}-%{version}-filelist-zmrepo  cat %{name}-%{version}-filelist| grep zmrepo                    > %{name}-%{version}-filelist-zmrepo
1506    cat %{name}-%{version}-filelist| grep pgsql                    > %{name}-%{version}-filelist-pgsql
1507  %clean  %clean
1508  cd ..  cd ..
1509  rm -rf %{name}-%{version}  rm -rf %{name}-%{version}
# Line 1302  case "$1" in Line 1530  case "$1" in
1530                  # this is an upgrade                  # this is an upgrade
1531          ;;          ;;
1532  esac  esac
1533    %package asterisk
1534    Summary: Asterisk Repository tucny.com
1535    %description asterisk
1536    Asterisk Repository tucny.com
1537    %files asterisk -f  %{name}-%{version}-filelist-asterisk
1538    %defattr(-,root,root)
1539    
1540  %package atomic  %package atomic
1541  Summary: Atomic Repository  Summary: Atomic Repository
1542  %description atomic  %description atomic
# Line 1309  Atomic Repository Line 1544  Atomic Repository
1544  %files atomic -f  %{name}-%{version}-filelist-atomic  %files atomic -f  %{name}-%{version}-filelist-atomic
1545  %defattr(-,root,root)  %defattr(-,root,root)
1546    
1547    %package bareos
1548    Summary: Backup Archiving Recovery Open Sourced
1549    %description bareos
1550    Backup Archiving Recovery Open Sourced  repository
1551    %files bareos -f  %{name}-%{version}-filelist-bareos
1552    %defattr(-,root,root)
1553    
1554  %package centos-sclo  %package centos-sclo
1555  Summary: CentOS Red-Hat software collection repository  Summary: CentOS Red-Hat software collection repository
1556  %description centos-sclo  %description centos-sclo
# Line 1316  CentOS Red-Hat software collection repos Line 1558  CentOS Red-Hat software collection repos
1558  %files centos-sclo -f  %{name}-%{version}-filelist-centos-sclo  %files centos-sclo -f  %{name}-%{version}-filelist-centos-sclo
1559  %defattr(-,root,root)  %defattr(-,root,root)
1560    
1561  %package asterisk  %package collaboraoffice
1562  Summary: All repositories you need for Asterisk and FreePBX  Summary: collaboraoffice repo
1563  %description asterisk  %description collaboraoffice
1564  All repositories you need for Asterisk and FreePBX  collaboraoffice repo
1565  %files asterisk -f  %{name}-%{version}-filelist-asterisk  %files collaboraoffice -f  %{name}-%{version}-filelist-collaboraoffice
1566    %defattr(-,root,root)
1567    
1568    %package docker-ce
1569    Summary: docker-ce
1570    %description docker-ce
1571    docker-ce repo
1572    %files docker-ce -f  %{name}-%{version}-filelist-docker-ce
1573  %defattr(-,root,root)  %defattr(-,root,root)
1574    
1575  %package egroupware  %package egroupware
# Line 1372  Firewall Services repository Line 1621  Firewall Services repository
1621  %files fws -f  %{name}-%{version}-filelist-fws  %files fws -f  %{name}-%{version}-filelist-fws
1622  %defattr(-,root,root)  %defattr(-,root,root)
1623    
1624  %package geekery  %package fusioninventory-agent
1625  Summary: Geekery Repository  Summary: Copr repo for fusioninventory-agent owned by trasher
1626  %description geekery  %description fusioninventory-agent
1627  Geekery Repository  Copr repo for fusioninventory-agent owned by trasher
1628  %files geekery -f  %{name}-%{version}-filelist-geekery  %files fusioninventory-agent -f  %{name}-%{version}-filelist-fusioninventory-agent
1629    %defattr(-,root,root)
1630    
1631    %package lemonldap
1632    Summary: Lemonldap NG Repository
1633    %description lemonldap
1634    LemonLDAP::NG Repository
1635    %files lemonldap -f  %{name}-%{version}-filelist-lemonldap
1636  %defattr(-,root,root)  %defattr(-,root,root)
1637    
1638  %package libreswan  %package libreswan
# Line 1386  Libreswan Repository Line 1642  Libreswan Repository
1642  %files libreswan -f  %{name}-%{version}-filelist-libreswan  %files libreswan -f  %{name}-%{version}-filelist-libreswan
1643  %defattr(-,root,root)  %defattr(-,root,root)
1644    
1645    %package mongodb
1646    Summary: MongoDB Repositories
1647    %description mongodb
1648    MongoDB Repositories
1649    %files mongodb -f  %{name}-%{version}-filelist-mongodb
1650    %defattr(-,root,root)
1651    
1652    %package nginx
1653    Summary: nginx Repositories
1654    %description nginx
1655    Nginx Repositories
1656    %files nginx -f  %{name}-%{version}-filelist-nginx
1657    %defattr(-,root,root)
1658    
1659  %package node  %package node
1660  Summary: NodeJS Repositories  Summary: NodeJS Repositories
1661  %description node  %description node
# Line 1409  Extra OKay Packages for Enterprise Linux Line 1679  Extra OKay Packages for Enterprise Linux
1679  %files okay -f  %{name}-%{version}-filelist-okay  %files okay -f  %{name}-%{version}-filelist-okay
1680  %defattr(-,root,root)  %defattr(-,root,root)
1681    
1682    %package onlyoffice
1683    Summary: onlyoffice Repository
1684    %description onlyoffice
1685    onlyoffice Repository
1686    %files onlyoffice  -f %{name}-%{version}-filelist-onlyoffice
1687    %defattr(-,root,root)
1688    
1689  %package openfusion  %package openfusion
1690  Summary: Openfusion Repository  Summary: Openfusion Repository
1691  %description openfusion  %description openfusion
# Line 1416  Openfusion Repository Line 1693  Openfusion Repository
1693  %files openfusion -f  %{name}-%{version}-filelist-openfusion  %files openfusion -f  %{name}-%{version}-filelist-openfusion
1694  %defattr(-,root,root)  %defattr(-,root,root)
1695    
1696    %package pgsql
1697    Summary: PostGreSQL Repositories
1698    %description pgsql
1699    PostGreSQL Repositories
1700    %files pgsql -f  %{name}-%{version}-filelist-pgsql
1701    %defattr(-,root,root)
1702    
1703  %package reetp  %package reetp
1704  Summary: Mirror John Crisp reetspetit.com  Summary: Mirror John Crisp reetspetit.com
1705  %description reetp  %description reetp


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