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

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

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


Revision 1.8 - (hide annotations) (download)
Tue Mar 23 05:51:18 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-extrarepositories-0_1-28
Changes since 1.7: +88 -135 lines
* Mon Mar 22 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-28.sme
- add extra packages from openfusion [SME: 11223]
- fix wrong event for remi-unsafe  [SME: 11181]
- add repo for postgsql
- remove digium asterisk repo for SME10  [SME: 11482]
- remove geekery repo [SME: 11483]

1 brianr 1.1 %define name smeserver-extrarepositories
2     %define version 0.1
3 jpp 1.8 %define release 28
4 brianr 1.1 Summary: easy configuration of extra yum repo
5     Name: %{name}
6     Version: %{version}
7     Release: %{release}
8     License: GNU GPL version 2
9     URL: https://wiki.koozali.org
10     Group: SMEserver/addon
11     BuildRoot: /var/tmp/%{name}-%{version}
12     BuildArchitectures: noarch
13     BuildRequires: e-smith-devtools
14     Requires: e-smith-release >= 9.0
15     AutoReqProv: no
16    
17     %description
18     Provides configuration for external yum repository comaptible with Koozali SME Server.
19    
20     %changelog
21 jpp 1.8 * Mon Mar 22 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-28.sme
22     - add extra packages from openfusion [SME: 11223]
23     - fix wrong event for remi-unsafe [SME: 11181]
24     - add repo for postgsql
25     - remove digium asterisk repo for SME10 [SME: 11482]
26     - remove geekery repo [SME: 11483]
27    
28 jcrisp 1.7 * Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-27.sme
29     - Add perl-Disk-Free and perl-Type-Tiny to Migrate script [SME: 11024]
30    
31     * Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-26.sme
32 jcrisp 1.6 - Add perl-Disk-Free for smeserver-affa [SME: 11024]
33    
34 jcrisp 1.7 * Wed Dec 02 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-25.sme
35 jcrisp 1.6 - add extar packages from Openfusion for NextCloud [SME: 11223]
36     - perl-Array-Compare perl-Type-Tiny perl-Exporter-Tiny
37    
38 jpp 1.5 * Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-24.sme
39 jpp 1.4 - add event on update to avoid reboot [SME: 11181]
40     - remove remi-safe as it is now in core rpm [SME: 11182]
41 jpp 1.3
42 brianr 1.2 * Tue Oct 27 2020 Brian Read <brianr@bjsystems.co.uk> 0.1-22.sme
43     - Initial import to SME10 tree [SME: 11057]
44    
45 brianr 1.1 * Sat Mar 21 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-21.sme
46     - update zabbix repo [SME: 10900]
47     - add Springdale / PUIAS repo [SME: 10673]
48    
49     * Sun Jan 27 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-20.sme
50     - add node repos [SME: 10727]
51    
52     * Fri Jan 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-19.sme
53     - improve zmrepo migrate fragment to avoid action if not needed.
54     - migrate fragment for openfusion
55    
56     * Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-18.sme
57     - remove perl-version from pkg lists
58    
59     * Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-17.sme
60     - revised Include and Exclude to prevident accidental update
61     - updated incorrect changelog dates
62    
63     * Thu Jan 03 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-16.sme
64     - Add more Excludes to Openfusion
65    
66     * Tue Jan 01 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-15.sme
67     - Exclude mod_perl and other files from OpenFusion repo
68    
69     * Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-14.sme
70     - fix typo in asterisk-current
71     - fix typo in migrate fragment for zmrepo
72     - renamed digium as digium-current
73    
74     * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme
75     - zoneminder needs ffmpeg from zmrepo [SME: 10539]
76    
77     * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-11.sme
78     - zmrepo url has changed [SME: 10675]
79    
80     * Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme
81     - Add libreswan repo [SME: 10605]
82     - remove duplicate remi-safe entry
83    
84     * Mon Jun 25 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6.sme
85     - Update reetp URL [SME: 10604]
86    
87     * Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme
88     - add elrepo-kernel repo [SME: 10581]
89    
90     * Sun Mar 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme
91     - exclude ffmpeg-2.6.4 and celt-0.11 from zmrepo [SME: 10543]
92     - add Sogo4 repo + migrate to exclude gnustep from epel if sogo repo present
93    
94     * Sun Feb 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-3.sme
95     - fix wrong escape sequence for $basearch and $releasever [SME: 10239]
96    
97     * Thu Feb 15 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme
98     - first multipackage version
99     - gpg keys not included
100    
101     * Mon May 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme
102     - initial release
103    
104     %prep
105    
106     %build
107    
108     %install
109     rm -rf $RPM_BUILD_ROOT
110     # if needing to add a gpg key
111     mkdir -p $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/
112    
113     # if needing to add a gpg key
114     #cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/
115     #/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']}
116    
117     # if needing to migrate something :
118     #mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate
119     #echo "" >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/00REPONAMEmigrate
120    
121     # if needed to force something
122     #mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/force/${REPO['reponame']}
123     #echo "${REPO['Exclude']}" >\
124     # $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/force/${REPO['reponame']}/Exclude
125    
126    
127    
128     declare -A REPO
129    
130     function createrepo {
131     mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}
132     echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups
133     echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck
134     echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name
135     echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible
136     echo "${REPO['status']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status
137     echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type
138 jpp 1.8 unsafe="";
139     [[ "${REPO['reponame']}" == 'remi' ]] && unsafe="-unsafe"
140     mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['reponame']}$unsafe-update/templates2expand/etc/yum.smerepos.d/
141     touch $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['reponame']}$unsafe-update/templates2expand/etc/yum.smerepos.d/sme-base.repo
142 jpp 1.3
143 brianr 1.1 [[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\
144     $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL
145     [[ "${REPO['GPGKey']}" != '' ]] && echo "${REPO['GPGKey']}" >\
146     $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey
147     [[ "${REPO['MirrorList']}" != '' ]] && echo "${REPO['MirrorList']}" >\
148     $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList
149     [[ "${REPO['Exclude']}" != '' ]] && echo "${REPO['Exclude']}" >\
150     $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude
151     [[ "${REPO['IncludePkgs']}" != '' ]] && echo "${REPO['IncludePkgs']}" >\
152     $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/IncludePkgs
153     return 0
154     }
155    
156    
157    
158     #####################
159     #####################
160     #atomic
161     #####################
162     #####################
163     REPO['reponame']='atomic'
164     REPO['fullreponame']='Atomic'
165     REPO['EnableGroups']='no'
166     REPO['Visible']='no'
167     REPO['status']='disabled'
168     REPO['BaseURL']=''
169     REPO['MirrorList']='http://www.atomicorp.com/mirrorlist/atomic/centos-$releasever-$basearch'
170     REPO['GPGCheck']='yes'
171     REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt'
172     REPO['Exclude']=''
173     REPO['IncludePkgs']=''
174     createrepo
175    
176     #####################
177     #####################
178     #centos-sclo-centos
179     #####################
180     #####################
181     REPO['reponame']='centos-sclo-centos'
182     REPO['fullreponame']='Centos-RH Software collections'
183     REPO['EnableGroups']='no'
184     REPO['Visible']='yes'
185     REPO['status']='disabled'
186     REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/'
187     REPO['MirrorList']=''
188     REPO['GPGCheck']='yes'
189     REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'
190     REPO['Exclude']=''
191     REPO['IncludePkgs']=''
192     createrepo
193    
194     #####################
195     #####################
196     #centos-sclo-rh
197     #####################
198     #####################
199     REPO['reponame']='centos-sclo-rh'
200     REPO['fullreponame']='Centos-RH Software collections'
201     REPO['EnableGroups']='no'
202     REPO['Visible']='yes'
203     REPO['status']='disabled'
204     REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/'
205     REPO['MirrorList']=''
206     REPO['GPGCheck']='yes'
207     REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'
208     REPO['Exclude']=''
209     REPO['IncludePkgs']=''
210     createrepo
211    
212     #####################
213     #####################
214     #egroupware
215     #####################
216     #####################
217     REPO['reponame']='egroupware'
218     REPO['fullreponame']='server_eGroupWare'
219     REPO['EnableGroups']='no'
220     REPO['Visible']='yes'
221     REPO['status']='disabled'
222     REPO['BaseURL']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_$releasever/'
223     REPO['MirrorList']=''
224     REPO['GPGCheck']='yes'
225     REPO['GPGKey']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_$releasever/repodata/repomd.xml.key'
226     REPO['Exclude']=''
227     REPO['IncludePkgs']=''
228     createrepo
229    
230     #####################
231     #####################
232     #elastic
233     #####################
234     #####################
235     declare -A elashort=( ['6.x']='6.x' ['5.x']='5.x' ['1.6']='1' )
236     for elasver in "6.x" "5.x" "1.6"; do
237     REPO['reponame']="elastic${elashort[$elasver]}"
238     REPO['fullreponame']="Elasticsearch repository for $elasver packages"
239     REPO['EnableGroups']='yes'
240     REPO['Visible']='yes'
241     REPO['status']='disabled'
242     REPO['BaseURL']="https://artifacts.elastic.co/packages/$elasver/yum"
243     REPO['MirrorList']=''
244     REPO['GPGCheck']='yes'
245     REPO['GPGKey']='https://artifacts.elastic.co/GPG-KEY-elasticsearch'
246     REPO['Exclude']=''
247     REPO['IncludePkgs']=''
248     createrepo
249     done
250    
251     #####################
252     #####################
253     #ELRepo
254     #####################
255     #####################
256     REPO['reponame']='elrepo'
257     REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository'
258     REPO['EnableGroups']='no'
259     REPO['Visible']='no'
260     REPO['status']='disabled'
261     REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch'
262     REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.el$releasever'
263     REPO['GPGCheck']='yes'
264     REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
265     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'
266     REPO['IncludePkgs']=''
267     createrepo
268    
269     #####################
270     #####################
271     #ELRepo kernel
272     #####################
273     #####################
274     REPO['reponame']='elrepo-kernel'
275     REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel'
276     REPO['EnableGroups']='no'
277     REPO['Visible']='no'
278     REPO['status']='disabled'
279     REPO['BaseURL']='http://elrepo.org/linux/kernel/el$releasever/$basearch'
280     REPO['MirrorList']='http://elrepo.org/mirrors-elrepo-kernel.el$releasever'
281     REPO['GPGCheck']='yes'
282     REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
283     REPO['Exclude']=''
284     REPO['IncludePkgs']=''
285     createrepo
286    
287     #####################
288     #####################
289     #EPEL
290     #####################
291     #####################
292     REPO['reponame']='epel'
293     REPO['fullreponame']='EPEL'
294     REPO['EnableGroups']='no'
295     REPO['Visible']='no'
296     REPO['status']='disabled'
297     REPO['BaseURL']='http://download.fedoraproject.org/pub/epel/$releasever/$basearch'
298     REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch'
299     REPO['GPGCheck']='yes'
300     REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
301     REPO['Exclude']='perl-Razor-Agent'
302     REPO['IncludePkgs']=''
303     createrepo
304    
305     #####################
306     #####################
307     #erlang
308     #####################
309     #####################
310     REPO['reponame']='erlang'
311     REPO['fullreponame']='erlang programming language'
312     REPO['EnableGroups']='no'
313     REPO['Visible']='yes'
314     REPO['status']='disabled'
315     REPO['BaseURL']='http://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch'
316     REPO['MirrorList']=''
317     REPO['GPGCheck']='yes'
318     REPO['GPGKey']='http://packages.erlang-solutions.com/rpm/erlang_solutions.asc'
319     REPO['Exclude']=''
320     REPO['IncludePkgs']=''
321     createrepo
322    
323     #####################
324     #####################
325     #freeswitch
326     #####################
327     #####################
328     REPO['reponame']='freeswitch'
329     REPO['fullreponame']='Freeswitch'
330     REPO['EnableGroups']='no'
331     REPO['Visible']='yes'
332     REPO['status']='disabled'
333     REPO['BaseURL']='http://files.freeswitch.org/yum/$releasever/$basearch'
334     REPO['MirrorList']=''
335     REPO['GPGCheck']='yes'
336     REPO['GPGKey']='file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH'
337     REPO['Exclude']=''
338     REPO['IncludePkgs']=''
339     createrepo
340    
341     #####################
342     #####################
343     #firewall Service
344     #####################
345     #####################
346     REPO['reponame']='fws'
347     REPO['fullreponame']='Firewall Services'
348     REPO['EnableGroups']='no'
349     REPO['Visible']='no'
350     REPO['status']='disabled'
351     REPO['BaseURL']='http://repo.firewall-services.com/centos/$releasever'
352     REPO['MirrorList']=''
353     REPO['GPGCheck']='yes'
354     REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY'
355     REPO['Exclude']=''
356     REPO['IncludePkgs']=''
357     createrepo
358    
359     #####################
360     #####################
361     #firewall Service testing
362     #####################
363     #####################
364     REPO['reponame']='fws-testing'
365     REPO['fullreponame']='Firewall Services testing'
366     REPO['EnableGroups']='no'
367     REPO['Visible']='no'
368     REPO['status']='disabled'
369     REPO['BaseURL']='http://repo.firewall-services.com/centos-testing/$releasever'
370     REPO['MirrorList']=''
371     REPO['GPGCheck']='yes'
372     REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY'
373     REPO['Exclude']=''
374     REPO['IncludePkgs']=''
375     createrepo
376    
377     #####################
378     #####################
379     # Libreswan
380     #####################
381     #####################
382     REPO['reponame']='libreswan'
383     REPO['fullreponame']='Libreswan'
384     REPO['EnableGroups']='no'
385     REPO['Visible']='no'
386     REPO['status']='disabled'
387     REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/'
388     REPO['MirrorList']=''
389     REPO['GPGCheck']='yes'
390     REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan'
391     REPO['Exclude']=''
392     REPO['IncludePkgs']=''
393     createrepo
394    
395    
396     #####################
397     #####################
398     # NodeJS 4
399     #####################
400     #####################
401 jpp 1.8 for nodever in "4" "5" "6" "7" "8" "9" "10" "11"; do
402     REPO['reponame']="node$nodever"
403     REPO['fullreponame']="NodeJS $nodever"
404 brianr 1.1 REPO['EnableGroups']='no'
405     REPO['Visible']='no'
406     REPO['status']='disabled'
407 jpp 1.8 REPO['BaseURL']='https://rpm.nodesource.com/pub_'.$nodever.'.x/el/$releasever/$basearch/'
408 brianr 1.1 REPO['MirrorList']=''
409     REPO['GPGCheck']='no'
410     REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
411     REPO['Exclude']=''
412     REPO['IncludePkgs']=''
413     createrepo
414 jpp 1.8 done
415 brianr 1.1
416     #####################
417     #####################
418     # NodeJS 5
419     #####################
420     #####################
421     REPO['reponame']='node5'
422     REPO['fullreponame']='NodeJS 5'
423     REPO['EnableGroups']='no'
424     REPO['Visible']='no'
425     REPO['status']='disabled'
426     REPO['BaseURL']='https://rpm.nodesource.com/pub_5.x/el/$releasever/$basearch/'
427     REPO['MirrorList']=''
428     REPO['GPGCheck']='no'
429     REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
430     REPO['Exclude']=''
431     REPO['IncludePkgs']=''
432     createrepo
433    
434     #####################
435     #####################
436     # NodeJS 6
437     #####################
438     #####################
439     REPO['reponame']='node6'
440     REPO['fullreponame']='NodeJS 6'
441     REPO['EnableGroups']='no'
442     REPO['Visible']='no'
443     REPO['status']='disabled'
444     REPO['BaseURL']='https://rpm.nodesource.com/pub_6.x/el/$releasever/$basearch/'
445     REPO['MirrorList']=''
446     REPO['GPGCheck']='no'
447     REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
448     REPO['Exclude']=''
449     REPO['IncludePkgs']=''
450 jpp 1.8 #createrepo
451 brianr 1.1
452     #####################
453     #####################
454     # NodeJS 7
455     #####################
456     #####################
457     REPO['reponame']='node7'
458     REPO['fullreponame']='NodeJS 7'
459     REPO['EnableGroups']='no'
460     REPO['Visible']='no'
461     REPO['status']='disabled'
462     REPO['BaseURL']='https://rpm.nodesource.com/pub_7.x/el/$releasever/$basearch/'
463     REPO['MirrorList']=''
464     REPO['GPGCheck']='no'
465     REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
466     REPO['Exclude']=''
467     REPO['IncludePkgs']=''
468 jpp 1.8 #createrepo
469 brianr 1.1
470     #####################
471     #####################
472     # NodeJS
473     #####################
474     #####################
475     REPO['reponame']='node8'
476     REPO['fullreponame']='NodeJS 8'
477     REPO['EnableGroups']='no'
478     REPO['Visible']='no'
479     REPO['status']='disabled'
480     REPO['BaseURL']='https://rpm.nodesource.com/pub_8.x/el/$releasever/$basearch/'
481     REPO['MirrorList']=''
482     REPO['GPGCheck']='no'
483     REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
484     REPO['Exclude']=''
485     REPO['IncludePkgs']=''
486 jpp 1.8 #createrepo
487 brianr 1.1
488     #####################
489     #####################
490     # NodeJS 9
491     #####################
492     #####################
493     REPO['reponame']='node9'
494     REPO['fullreponame']='NodeJS 9'
495     REPO['EnableGroups']='no'
496     REPO['Visible']='no'
497     REPO['status']='disabled'
498     REPO['BaseURL']='https://rpm.nodesource.com/pub_9.x/el/$releasever/$basearch/'
499     REPO['MirrorList']=''
500     REPO['GPGCheck']='no'
501     REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
502     REPO['Exclude']=''
503     REPO['IncludePkgs']=''
504 jpp 1.8 #createrepo
505 brianr 1.1
506     #####################
507     #####################
508     # NodeJS 10
509     #####################
510     #####################
511     REPO['reponame']='node10'
512     REPO['fullreponame']='NodeJS 10'
513     REPO['EnableGroups']='no'
514     REPO['Visible']='no'
515     REPO['status']='disabled'
516     REPO['BaseURL']='https://rpm.nodesource.com/pub_10.x/el/$releasever/$basearch/'
517     REPO['MirrorList']=''
518     REPO['GPGCheck']='no'
519     REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
520     REPO['Exclude']=''
521     REPO['IncludePkgs']=''
522 jpp 1.8 #createrepo
523 brianr 1.1
524     #####################
525     #####################
526     # NodeJS 11
527     #####################
528     #####################
529     REPO['reponame']='node11'
530     REPO['fullreponame']='NodeJS 11'
531     REPO['EnableGroups']='no'
532     REPO['Visible']='no'
533     REPO['status']='disabled'
534     REPO['BaseURL']='https://rpm.nodesource.com/pub_11.x/el/$releasever/$basearch/'
535     REPO['MirrorList']=''
536     REPO['GPGCheck']='no'
537     REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
538     REPO['Exclude']=''
539     REPO['IncludePkgs']=''
540 jpp 1.8 #createrepo
541 brianr 1.1
542    
543    
544     if ( "%{?dist}" == "el7" ); then
545     #####################
546     #####################
547     # Odoo10-nightly
548     #####################
549     #####################
550     REPO['reponame']='odoo10-nightly'
551     REPO['fullreponame']='Odoo 10 Nightly - EL7'
552     REPO['EnableGroups']='no'
553     REPO['Visible']='no'
554     REPO['status']='disabled'
555     REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'
556     REPO['MirrorList']=''
557     REPO['GPGCheck']='yes'
558     REPO['GPGKey']='https://nightly.odoo.com/odoo.key'
559     REPO['Exclude']=''
560     REPO['IncludePkgs']=''
561     createrepo
562    
563     #####################
564     #####################
565     # Odoo9-nightly
566     #####################
567     #####################
568     REPO['reponame']='odoo9-nightly'
569     REPO['fullreponame']='Odoo 9 Nightly - EL7'
570     REPO['EnableGroups']='no'
571     REPO['Visible']='no'
572     REPO['status']='disabled'
573     REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'
574     REPO['MirrorList']=''
575     REPO['GPGCheck']='yes'
576     REPO['GPGKey']='https://nightly.odoo.com/odoo.key'
577     REPO['Exclude']=''
578     REPO['IncludePkgs']=''
579     createrepo
580     fi
581    
582     #####################
583     #####################
584     # Okay
585     #####################
586     #####################
587     REPO['reponame']='okay'
588     REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'
589     REPO['EnableGroups']='no'
590     REPO['Visible']='no'
591     REPO['status']='disabled'
592     REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'
593     REPO['MirrorList']=''
594     REPO['GPGCheck']='no'
595     REPO['GPGKey']=''
596     REPO['Exclude']=''
597     REPO['IncludePkgs']=''
598     createrepo
599    
600     #####################
601     #####################
602     # Openfusion
603     #####################
604     #####################
605     REPO['reponame']='openfusion'
606     REPO['fullreponame']='Openfusion'
607     REPO['EnableGroups']='no'
608     REPO['Visible']='yes'
609     REPO['status']='disabled'
610     REPO['BaseURL']='http://repo.openfusion.net/centos$releasever-$basearch'
611     REPO['MirrorList']=''
612     REPO['GPGCheck']='yes'
613     REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'
614 jcrisp 1.7 REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-ExtUtils-Install,perl-parent'
615 jpp 1.8 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'
616     createrepo
617    
618     #####################
619     #####################
620     # Postgresql
621     #####################
622     #####################
623     for pgsqlver in "9.6" "10" "11" "12" "13"; do
624     REPO['reponame']="pgsql$pgsqlver"
625     REPO['fullreponame']="Postgresql $pgsqlver"
626     REPO['EnableGroups']='no'
627     REPO['Visible']='no'
628     REPO['status']='disabled'
629     REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/'
630     REPO['MirrorList']=''
631     REPO['GPGCheck']='yes'
632     ext=$pgsqlver;
633     [[ "$pgsqlver" == "9.6" ]] && ext="96";
634     REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext
635     REPO['Exclude']=''
636     REPO['IncludePkgs']=''
637     createrepo
638    
639    
640     REPO['reponame']="pgsql$pgsqlver-nonfree"
641     REPO['fullreponame']="Postgresql $pgsqlver non free"
642     REPO['EnableGroups']='no'
643     REPO['Visible']='no'
644     REPO['status']='disabled'
645     REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/non-free/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/'
646     REPO['MirrorList']=''
647     REPO['GPGCheck']='yes'
648     ext=$pgsqlver;
649     [[ "$pgsqlver" == "9.6" ]] && ext="96";
650     REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext
651     REPO['Exclude']=''
652     REPO['IncludePkgs']=''
653     createrepo
654    
655     REPO['reponame']="pgsql$pgsqlver-common"
656     REPO['fullreponame']="Postgresql $pgsqlver non free"
657     REPO['EnableGroups']='no'
658     REPO['Visible']='no'
659     REPO['status']='disabled'
660     REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/common/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/'
661     REPO['MirrorList']=''
662     REPO['GPGCheck']='yes'
663     ext=$pgsqlver;
664     [[ "$pgsqlver" == "9.6" ]] && ext="96";
665     REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext
666     REPO['Exclude']=''
667     REPO['IncludePkgs']=''
668 brianr 1.1 createrepo
669    
670 jpp 1.8 done
671    
672 brianr 1.1 #####################
673     #####################
674     # Reetspetit
675     #####################
676     #####################
677     REPO['reponame']='reetp'
678     REPO['fullreponame']='Mirror John Crisp reetspetit.com'
679     REPO['EnableGroups']='no'
680     REPO['Visible']='yes'
681     REPO['status']='disabled'
682     REPO['BaseURL']='https://www.reetspetit.com/smeserver/$releasever'
683     REPO['MirrorList']=''
684     REPO['GPGCheck']='no'
685     REPO['GPGKey']='https://www.reetspetit.com/RPM-GPG-KEY'
686     REPO['Exclude']=''
687     REPO['IncludePkgs']=''
688     createrepo
689    
690     #####################
691     #####################
692     #remi
693     #####################
694     #####################
695     REPO['reponame']='remi'
696     REPO['fullreponame']='Remi - EL unsafe, will conflict with your base rpms'
697     REPO['EnableGroups']='no'
698     REPO['GPGCheck']='yes'
699     REPO['Visible']='no'
700     REPO['status']='enabled'
701     REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
702     REPO['MirrorList']=''
703     REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
704     REPO['Exclude']='mysql*,php-*,phpMyAdmin'
705     REPO['IncludePkgs']=''
706     createrepo
707    
708     #####################
709     #####################
710     #remi-ocsinventory
711     #####################
712     #####################
713     REPO['reponame']='remi-ocsinventory'
714     REPO['fullreponame']='Remi ocsinventory - EL'
715     REPO['EnableGroups']='no'
716     REPO['GPGCheck']='yes'
717     REPO['Visible']='yes'
718     REPO['status']='enabled'
719     REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
720     REPO['MirrorList']=''
721     REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
722     REPO['Exclude']=''
723     REPO['IncludePkgs']='ocsinventory* perl-Ocsinventory-Agent'
724     createrepo
725    
726     #####################
727     #####################
728     #remi-ocsinventory
729     #####################
730     #####################
731     REPO['reponame']='remi-roundcube'
732     REPO['fullreponame']='Remi Roundcube - EL'
733     REPO['EnableGroups']='no'
734     REPO['GPGCheck']='yes'
735     REPO['Visible']='yes'
736     REPO['status']='enabled'
737     REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
738     REPO['MirrorList']=''
739     REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
740     REPO['Exclude']=''
741     REPO['IncludePkgs']='php-kolab-net-ldap3,php-pear-Mail-mimeDecode,php-pear-Net-IDNA2,php-pear-Net-LDAP2,roundcubemail'
742     createrepo
743    
744    
745     #####################
746     #####################
747     #rpmfusion
748     #####################
749     #####################
750     REPO['reponame']='rpmfusion'
751     REPO['fullreponame']='rpmfusion free EL'
752     REPO['EnableGroups']='no'
753     REPO['Visible']='yes'
754     REPO['status']='disabled'
755     REPO['BaseURL']='http://download1.rpmfusion.org/free/el/updates/$releasever/$basearch/'
756     REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-$releasever&arch=$basearch'
757     REPO['GPGCheck']='yes'
758     REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-el-$releasever'
759     REPO['Exclude']=''
760     REPO['IncludePkgs']=''
761     createrepo
762    
763     #####################
764     #####################
765     #rpmfusion
766     #####################
767     #####################
768     REPO['reponame']='rpmfusion-nonfree'
769     REPO['fullreponame']='rpmfusion nonfree EL'
770     REPO['EnableGroups']='no'
771     REPO['Visible']='yes'
772     REPO['status']='disabled'
773     REPO['BaseURL']='http://download1.rpmfusion.org/nonfree/el/updates/$releasever/$basearch/'
774     REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-released-$releasever&arch=$basearch'
775     REPO['GPGCheck']='yes'
776     REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-el-$releasever'
777     REPO['Exclude']=''
778     REPO['IncludePkgs']=''
779     createrepo
780    
781     #####################
782     #####################
783     #Sogo nightly
784     #####################
785     #####################
786     REPO['reponame']='sogo'
787     REPO['fullreponame']='Inverse SOGo 2 Repository'
788     REPO['EnableGroups']='no'
789     REPO['Visible']='yes'
790     REPO['status']='disabled'
791     REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/2/rhel/$releasever/$basearch'
792     REPO['MirrorList']=''
793     REPO['GPGCheck']='no'
794     REPO['GPGKey']=''
795     REPO['Exclude']=''
796     REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
797     createrepo
798    
799     #####################
800     #####################
801     #Sogo3 nightly
802     #####################
803     #####################
804     REPO['reponame']='sogo3'
805     REPO['fullreponame']='Inverse SOGo 3 Repository'
806     REPO['EnableGroups']='no'
807     REPO['Visible']='yes'
808     REPO['status']='disabled'
809     REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/3/rhel/$releasever/$basearch'
810     REPO['MirrorList']=''
811     REPO['GPGCheck']='no'
812     REPO['GPGKey']=''
813     REPO['Exclude']=''
814     REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
815     createrepo
816    
817     #####################
818     #####################
819     #Sogo4 nightly
820     #####################
821     #####################
822     REPO['reponame']='sogo4'
823     REPO['fullreponame']='Inverse SOGo 4 Repository'
824     REPO['EnableGroups']='no'
825     REPO['Visible']='yes'
826     REPO['status']='disabled'
827     REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/4/rhel/$releasever/$basearch'
828     REPO['MirrorList']=''
829     REPO['GPGCheck']='no'
830     REPO['GPGKey']=''
831     REPO['Exclude']=''
832     REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
833     createrepo
834    
835     #####################
836     #####################
837     #Sogo stable
838     #####################
839     #####################
840     REPO['reponame']='sogo-subscription'
841     REPO['fullreponame']='Inverse SOGo Repository only with subscription'
842     REPO['EnableGroups']='no'
843     REPO['Visible']='yes'
844     REPO['status']='disabled'
845     REPO['BaseURL']='http://packages.inverse.ca/download/SOGo/RHEL$releasever/$basearch'
846     REPO['MirrorList']=''
847     REPO['GPGCheck']='no'
848     REPO['GPGKey']=''
849     REPO['Exclude']=''
850     REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
851     createrepo
852    
853     #####################
854     #####################
855     #Spectrum2
856     #####################
857     #####################
858     REPO['reponame']='spectrum2'
859     REPO['fullreponame']='Spectrum2'
860     REPO['EnableGroups']='no'
861     REPO['Visible']='yes'
862     REPO['status']='disabled'
863     REPO['BaseURL']='http://copr-be.cloud.fedoraproject.org/results/mcepl/spectrum2/epel-$releasever-$basearch'
864     REPO['MirrorList']=''
865     REPO['GPGCheck']='no'
866     REPO['GPGKey']=''
867     REPO['Exclude']=''
868     REPO['IncludePkgs']=''
869     createrepo
870    
871     #####################
872     #####################
873     #Springdale
874     #####################
875     #####################
876     REPO['reponame']='springdale-core'
877     REPO['fullreponame']='PUIAS core Base'
878     REPO['EnableGroups']='no'
879     REPO['Visible']='yes'
880     REPO['status']='disabled'
881     REPO['BaseURL']=''
882     REPO['MirrorList']='http://puias.math.ias.edu/data/puias/$releasever/$basearch/os/mirrorlist'
883     REPO['GPGCheck']='yes'
884     REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias'
885     REPO['Exclude']=''
886     REPO['IncludePkgs']=''
887     createrepo
888    
889     REPO['reponame']='springdale-updates'
890     REPO['fullreponame']='PUIAS core Updates'
891     REPO['EnableGroups']='no'
892     REPO['Visible']='yes'
893     REPO['status']='disabled'
894     REPO['BaseURL']=''
895     REPO['MirrorList']='http://puias.math.ias.edu/data/puias/updates/$releasever/$basearch/en/os/mirrorlist'
896     REPO['GPGCheck']='yes'
897     REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/updates/$basearch/en/os/RPM-GPG-KEY-puias'
898     REPO['Exclude']=''
899     REPO['IncludePkgs']=''
900     createrepo
901    
902     REPO['reponame']='springdale-addons'
903     REPO['fullreponame']='PUIAS Addons'
904     REPO['EnableGroups']='no'
905     REPO['Visible']='yes'
906     REPO['status']='disabled'
907     REPO['BaseURL']=''
908     REPO['MirrorList']='http://puias.math.ias.edu/data/puias/$releasever/$basearch/os/Addons/mirrorlist'
909     REPO['GPGCheck']='yes'
910     REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias'
911     REPO['Exclude']=''
912     REPO['IncludePkgs']=''
913     createrepo
914    
915     REPO['reponame']='springdale-addons-updates'
916     REPO['fullreponame']='PUIAS Addons Updates'
917     REPO['EnableGroups']='no'
918     REPO['Visible']='yes'
919     REPO['status']='disabled'
920     REPO['BaseURL']=''
921     REPO['MirrorList']='http://puias.math.ias.edu/data/puias/updates/Addons/$releasever/$basearch/mirrorlist'
922     REPO['GPGCheck']='yes'
923     REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias'
924     REPO['Exclude']=''
925     REPO['IncludePkgs']=''
926     createrepo
927    
928    
929     REPO['reponame']='springdale-unsupported'
930     REPO['fullreponame']='PUIAS Unsupported'
931     REPO['EnableGroups']='no'
932     REPO['Visible']='yes'
933     REPO['status']='disabled'
934     REPO['BaseURL']=''
935     REPO['MirrorList']='http://puias.math.ias.edu/data/puias/unsupported/$releasever/$basearch/mirrorlist'
936     REPO['GPGCheck']='yes'
937     REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias'
938     REPO['Exclude']=''
939     REPO['IncludePkgs']=''
940     createrepo
941    
942     REPO['reponame']='springdale-computational'
943     REPO['fullreponame']='PUIAS Computational'
944     REPO['EnableGroups']='no'
945     REPO['Visible']='yes'
946     REPO['status']='disabled'
947     REPO['BaseURL']=''
948     REPO['MirrorList']='http://puias.math.ias.edu/data/puias/computational/$releasever/$basearch/mirrorlist'
949     REPO['GPGCheck']='yes'
950     REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias'
951     REPO['Exclude']=''
952     REPO['IncludePkgs']=''
953     createrepo
954    
955    
956    
957    
958     #####################
959     #####################
960     #stephDL
961     #####################
962     #####################
963     REPO['reponame']='stephdl'
964     REPO['fullreponame']='Mirror Stephane de Labrusse'
965     REPO['EnableGroups']='no'
966     REPO['Visible']='yes'
967     REPO['status']='disabled'
968     REPO['BaseURL']='http://mirror.de-labrusse.fr/smeserver/$releasever'
969     REPO['MirrorList']=''
970     REPO['GPGCheck']='yes'
971     REPO['GPGKey']='http://mirror.de-labrusse.fr/RPM-GPG-KEY'
972     REPO['Exclude']=''
973     REPO['IncludePkgs']=''
974     createrepo
975    
976     #####################
977     #####################
978     #VirtualBox
979     #####################
980     #####################
981     REPO['reponame']='virtualbox'
982     REPO['fullreponame']='RHEL/CentOS VirtualBox'
983     REPO['EnableGroups']='no'
984     REPO['Visible']='yes'
985     REPO['status']='disabled'
986     REPO['BaseURL']='http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch'
987     REPO['MirrorList']=''
988     REPO['GPGCheck']='yes'
989     REPO['GPGKey']='https://www.virtualbox.org/download/oracle_vbox.asc'
990     REPO['Exclude']=''
991     REPO['IncludePkgs']=''
992     createrepo
993    
994     #####################
995     #####################
996     #Webtatic
997     #####################
998     #####################
999     REPO['reponame']='webtatic'
1000     REPO['fullreponame']='webtatic - EL'
1001     REPO['EnableGroups']='no'
1002     REPO['Visible']='yes'
1003     REPO['status']='disabled'
1004     REPO['BaseURL']=''
1005     REPO['MirrorList']='http://mirror.webtatic.com/yum/el-$releasever/$basearch/mirrolist'
1006     REPO['GPGCheck']='yes'
1007     if ( "%{?dist}" == "el5" ); then
1008     REPO['GPGKey']='http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy'
1009     else
1010     REPO['GPGKey']="http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-%{?dist}"
1011     fi
1012     REPO['Exclude']=''
1013     REPO['IncludePkgs']=''
1014     createrepo
1015    
1016     #####################
1017     #####################
1018     #Xymon
1019     #####################
1020     #####################
1021     REPO['reponame']='xymon'
1022     REPO['fullreponame']='Xymon Terabithia RPMS - EL'
1023     REPO['EnableGroups']='no'
1024     REPO['Visible']='yes'
1025     REPO['status']='disabled'
1026     REPO['BaseURL']='http://terabithia.org/rpms/xymon/el$releasever/'
1027     REPO['MirrorList']=''
1028     REPO['GPGCheck']='yes'
1029     REPO['GPGKey']="http://terabithia.org/rpms/RPM-GPG-KEY-JCLEAVER"
1030     REPO['Exclude']=''
1031     REPO['IncludePkgs']=''
1032     createrepo
1033    
1034     #####################
1035     #####################
1036     #Zabbix2.4
1037     #####################
1038     #####################
1039     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')
1040     for elasver in "4.2" "4.4" ; do
1041     REPO['reponame']="zabbix${zabshort[$elasver]}"
1042     REPO['fullreponame']="Zabbix $elasver Official Repository"
1043     REPO['EnableGroups']='no'
1044     REPO['Visible']='yes'
1045     REPO['status']='disabled'
1046     REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/"
1047     REPO['MirrorList']=''
1048     REPO['GPGCheck']='yes'
1049     REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX"
1050     REPO['Exclude']=''
1051     REPO['IncludePkgs']=''
1052     createrepo
1053     done
1054    
1055     #####################
1056     #####################
1057     #zmrepo
1058     #####################
1059     #####################
1060     REPO['reponame']='zmrepo'
1061     REPO['fullreponame']='ZoneMinder Repo - EL'
1062     REPO['EnableGroups']='no'
1063     REPO['Visible']='yes'
1064     REPO['status']='disabled'
1065     REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch'
1066     REPO['MirrorList']=''
1067     REPO['GPGCheck']='no'
1068     REPO['GPGKey']=""
1069     REPO['Exclude']=''
1070     REPO['IncludePkgs']=''
1071     createrepo
1072    
1073    
1074     #####################################################
1075     # migrates
1076     ######################################################
1077     mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate
1078     cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/90sogo
1079     {
1080     my @add = split(/[,; ]+/, 'gnustep-*');
1081     my %remove = map { $_ => 1 } split(/[,; ]+/, '');
1082    
1083     for my $name ( qw(epel) )
1084     {
1085     my $repo = $DB->get($name) or next;
1086    
1087     my @exclude = split(/,/, $repo->prop('Exclude') || '');
1088     push @exclude, @add;
1089     @exclude = grep(!defined $remove{$_} && !/^CENTOS_/, @exclude);
1090    
1091     # remove duplicates
1092     undef %saw;
1093     @exclude = grep(!$saw{$_}++, @exclude);
1094    
1095     if ($#exclude >= 0)
1096     {
1097     $repo->set_prop('Exclude', join(',', @exclude));
1098     }
1099     else
1100     {
1101     $repo->delete('Exclude');
1102     }
1103     }
1104     }
1105    
1106     EOF
1107    
1108    
1109     cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel
1110     {
1111     my @add = split(/[,; ]+/, '');
1112     my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make');
1113    
1114     for my $name ( qw(epel) )
1115     {
1116     my $repo = $DB->get($name) or next;
1117    
1118     my @exclude = split(/,/, $repo->prop('Exclude') || '');
1119     push @exclude, @add;
1120     @exclude = grep(!defined $remove{$_} && !/^CENTOS_/, @exclude);
1121    
1122     # remove duplicates
1123     undef %saw;
1124     @exclude = grep(!$saw{$_}++, @exclude);
1125    
1126     if ($#exclude >= 0)
1127     {
1128     $repo->set_prop('Exclude', join(',', @exclude));
1129     }
1130     else
1131     {
1132     $repo->delete('Exclude');
1133     }
1134     }
1135     }
1136    
1137     EOF
1138    
1139     cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10zmrepo
1140     {
1141     for my $name ( qw(zmrepo) )
1142     {
1143     my $repo = $DB->get($name) or next;
1144     my $BaseURL = $repo->prop('BaseURL') || '';
1145     if ($BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g)
1146     {$repo->set_prop('BaseURL', $BaseURL);}
1147     $repo->delete('Exclude') if $repo->prop('delete');
1148     }
1149    
1150     }
1151    
1152     EOF
1153    
1154    
1155     cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10openfusion
1156     {
1157 jcrisp 1.7 my @addexclude = split(/,/,"perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-ExtUtils-Install,perl-parent");
1158 brianr 1.1 my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version');
1159 jpp 1.8 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");
1160 jcrisp 1.7
1161 brianr 1.1 my %removeinclude = map { $_ => 1 } split(/[,; ]+/, '');
1162    
1163     for my $name ( qw(openfusion) )
1164     {
1165     my $repo = $DB->get($name) or next;
1166    
1167     my @exclude = split(/,/, $repo->prop('Exclude') || '');
1168     push @exclude, @addexclude;
1169     @exclude = grep(!defined $removeexclude{$_} , @exclude);
1170     # remove duplicates
1171     undef %saw;
1172     @exclude = grep(!$saw{$_}++, @exclude);
1173     if ($#exclude >= 0)
1174     {
1175     $repo->set_prop('Exclude', join(',', @exclude));
1176     }
1177     else
1178     {
1179     $repo->delete('Exclude');
1180     }
1181    
1182     my @include = split(/,/, $repo->prop('IncludePkgs') || '');
1183     push @include, @addinclude;
1184     @include = grep(!defined $removeinclude{$_} , @include);
1185     # remove duplicates
1186     undef %saw;
1187     @include = grep(!$saw{$_}++, @include);
1188     if ($#include >= 0)
1189     {
1190     $repo->set_prop('IncludePkgs', join(',', @include));
1191     }
1192     else
1193     {
1194     $repo->delete('IncludePkgs');
1195     }
1196    
1197    
1198    
1199     }
1200    
1201     }
1202    
1203     EOF
1204    
1205    
1206    
1207    
1208     ##########################################################
1209    
1210     rm -f %{name}-%{version}-filelist*
1211     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
1212     cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic
1213     cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo
1214     cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware
1215     cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic
1216     cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo
1217     cat %{name}-%{version}-filelist| grep epel > %{name}-%{version}-filelist-epel
1218     cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang
1219     cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch
1220     cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws
1221     cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan
1222     if ( "%{?dist}" == "el7" ); then
1223     cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo
1224     fi
1225     cat %{name}-%{version}-filelist| grep okay > %{name}-%{version}-filelist-okay
1226     cat %{name}-%{version}-filelist| grep openfusion > %{name}-%{version}-filelist-openfusion
1227     cat %{name}-%{version}-filelist| grep node > %{name}-%{version}-filelist-node
1228     cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp
1229     cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory
1230     cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube
1231 jpp 1.8 cat %{name}-%{version}-filelist| grep remi|egrep -v 'ocsinventory|roundcube' > %{name}-%{version}-filelist-remi
1232 brianr 1.1 cat %{name}-%{version}-filelist| grep rpmfusion > %{name}-%{version}-filelist-rpmfusion
1233     cat %{name}-%{version}-filelist| grep sogo > %{name}-%{version}-filelist-sogo
1234     cat %{name}-%{version}-filelist| grep spectrum2 > %{name}-%{version}-filelist-spectrum2
1235     cat %{name}-%{version}-filelist| grep springdale > %{name}-%{version}-filelist-springdale
1236     cat %{name}-%{version}-filelist| grep stephdl > %{name}-%{version}-filelist-stephdl
1237     cat %{name}-%{version}-filelist| grep virtualbox > %{name}-%{version}-filelist-virtualbox
1238     cat %{name}-%{version}-filelist| grep webtatic > %{name}-%{version}-filelist-webtatic
1239     cat %{name}-%{version}-filelist| grep xymon > %{name}-%{version}-filelist-xymon
1240     cat %{name}-%{version}-filelist| grep zabbix > %{name}-%{version}-filelist-zabbix
1241     cat %{name}-%{version}-filelist| grep zmrepo > %{name}-%{version}-filelist-zmrepo
1242 jpp 1.8 cat %{name}-%{version}-filelist| grep pgsql > %{name}-%{version}-filelist-pgsql
1243 brianr 1.1 %clean
1244     cd ..
1245     rm -rf %{name}-%{version}
1246    
1247    
1248     #%files -f %{name}-%{version}-filelist
1249     %files
1250     %defattr(-,root,root)
1251    
1252     %pre
1253    
1254     %preun
1255    
1256     %post
1257    
1258     %postun
1259     case "$1" in
1260    
1261     0)
1262     # this is an uninstallation
1263     ;;
1264    
1265     1)
1266     # this is an upgrade
1267     ;;
1268     esac
1269     %package atomic
1270     Summary: Atomic Repository
1271     %description atomic
1272     Atomic Repository
1273     %files atomic -f %{name}-%{version}-filelist-atomic
1274     %defattr(-,root,root)
1275    
1276     %package centos-sclo
1277     Summary: CentOS Red-Hat software collection repository
1278     %description centos-sclo
1279     CentOS Red-Hat software collection repository only for x86_64 arch
1280     %files centos-sclo -f %{name}-%{version}-filelist-centos-sclo
1281     %defattr(-,root,root)
1282    
1283     %package egroupware
1284     Summary: Repository for eGroupWare
1285     %description egroupware
1286     Repository for eGroupWare
1287     %files egroupware -f %{name}-%{version}-filelist-egroupware
1288     %defattr(-,root,root)
1289    
1290     %package elastic
1291     Summary: Repositories for elastic search
1292     %description elastic
1293     Repositories for elastic search
1294     %files elastic -f %{name}-%{version}-filelist-elastic
1295     %defattr(-,root,root)
1296    
1297     %package elrepo
1298     Summary: ElRepo.org Community Enterprise Linux Repository
1299     %description elrepo
1300     ElRepo.org Community Enterprise Linux Repository
1301     %files elrepo -f %{name}-%{version}-filelist-elrepo
1302     %defattr(-,root,root)
1303    
1304     %package epel
1305     Summary: Fedora EPEL Repository
1306     %description epel
1307     Fedora EPEL Repository
1308     %files epel -f %{name}-%{version}-filelist-epel
1309     %defattr(-,root,root)
1310    
1311     %package erlang
1312     Summary: Erlang Repository
1313     %description erlang
1314     Erlang is a programming language. It is specifically used for ejabberd.
1315     %files erlang -f %{name}-%{version}-filelist-erlang
1316     %defattr(-,root,root)
1317    
1318     %package freeswitch
1319     Summary: Freeswitch Repository
1320     %description freeswitch
1321     FreeSWITCH is a scalable open source cross-platform telephony platform designed to route and interconnect popular communication protocols using audio, video, text or any other form of media. It was created in 2006 to fill the void left by proprietary commercial solutions. FreeSWITCH also provides a stable telephony platform on which many applications can be developed using a wide range of free tools
1322     %files freeswitch -f %{name}-%{version}-filelist-freeswitch
1323     %defattr(-,root,root)
1324    
1325     %package fws
1326     Summary: Firewall Services repository
1327     %description fws
1328     Firewall Services repository
1329     %files fws -f %{name}-%{version}-filelist-fws
1330     %defattr(-,root,root)
1331    
1332     %package libreswan
1333     Summary: Libreswan Repository
1334     %description libreswan
1335     Libreswan Repository
1336     %files libreswan -f %{name}-%{version}-filelist-libreswan
1337     %defattr(-,root,root)
1338    
1339     %package node
1340     Summary: NodeJS Repositories
1341     %description node
1342     NodeJS Repositories
1343     %files node -f %{name}-%{version}-filelist-node
1344     %defattr(-,root,root)
1345    
1346     %package odoo
1347     Summary: Odoo 10 Nightly - EL7 Repository
1348     Distribution: el7
1349     %description odoo
1350     Odoo 10 Nightly - EL7 Repository
1351     # comment as not available for centos 6 SME9
1352     #%files odoo -f %{name}-%{version}-filelist-odoo
1353     #%defattr(-,root,root)
1354    
1355     %package okay
1356     Summary: Extra OKay Packages for Enterprise Linux
1357     %description okay
1358     Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX
1359     %files okay -f %{name}-%{version}-filelist-okay
1360     %defattr(-,root,root)
1361    
1362     %package openfusion
1363     Summary: Openfusion Repository
1364     %description openfusion
1365     Openfusion Repository
1366     %files openfusion -f %{name}-%{version}-filelist-openfusion
1367     %defattr(-,root,root)
1368    
1369 jpp 1.8 %package pgsql
1370     Summary: PostGreSQL Repositories
1371     %description pgsql
1372     PostGreSQL Repositories
1373     %files pgsql -f %{name}-%{version}-filelist-pgsql
1374     %defattr(-,root,root)
1375    
1376 brianr 1.1 %package reetp
1377     Summary: Mirror John Crisp reetspetit.com
1378     %description reetp
1379     Mirror John Crisp reetspetit.com
1380     %files reetp -f %{name}-%{version}-filelist-reetp
1381     %defattr(-,root,root)
1382    
1383     %package remi-ocsinventory
1384     Summary: Remi repository filtered to install OCSinventory
1385     %description remi-ocsinventory
1386     Remi repository filtered to install OCSinventory
1387     %files remi-ocsinventory -f %{name}-%{version}-filelist-remi-ocsinventory
1388     %defattr(-,root,root)
1389    
1390     %package remi-roundcube
1391     Summary: Remi repository filtered to install Roundcube
1392     %description remi-roundcube
1393     Remi repository filtered to install Roundcube
1394     %files remi-roundcube -f %{name}-%{version}-filelist-remi-roundcube
1395     %defattr(-,root,root)
1396    
1397     %package remi-unsafe
1398     Summary: Remi unsafe repository
1399     %description remi-unsafe
1400     Remi unsafe repository. We call it unsafe, not because of the work, but because it can conflict with base rpm of your favorite distro. Use it at your own risk if you are able to handle the situation.
1401     %files remi-unsafe -f %{name}-%{version}-filelist-remi
1402     %defattr(-,root,root)
1403    
1404     %package rpmfusion
1405     Summary: RPMFusion repositories
1406     %description rpmfusion
1407     RPMFusion repositories
1408     %files rpmfusion -f %{name}-%{version}-filelist-rpmfusion
1409     %defattr(-,root,root)
1410    
1411     %package sogo
1412     Summary: SOGo repositories
1413     %description sogo
1414     SOGo repositories
1415     %files sogo -f %{name}-%{version}-filelist-sogo
1416     %defattr(-,root,root)
1417    
1418     %package spectrum2
1419     Summary: Spectrum2 Repository
1420     %description spectrum2
1421     Spectrum2 Repository
1422     %files spectrum2 -f %{name}-%{version}-filelist-spectrum2
1423     %defattr(-,root,root)
1424    
1425     %package springdale
1426     Summary: Springdale PUIAS Linux repos
1427     %description springdale
1428     Springdale PUIAS Linux repos
1429     %files springdale -f %{name}-%{version}-filelist-springdale
1430     %defattr(-,root,root)
1431    
1432     %package stephdl
1433     Summary: Stephane De Labrusse Repository
1434     %description stephdl
1435     Stephane De Labrusse Repository
1436     %files stephdl -f %{name}-%{version}-filelist-stephdl
1437     %defattr(-,root,root)
1438    
1439     %package virtualbox
1440     Summary: Virtualbox Repository
1441     %description virtualbox
1442     Virtualbox Repository
1443     %files virtualbox -f %{name}-%{version}-filelist-virtualbox
1444     %defattr(-,root,root)
1445    
1446     %package webtatic
1447     Summary: Webtatic Repository
1448     %description webtatic
1449     Webtatic Repository
1450     %files webtatic -f %{name}-%{version}-filelist-webtatic
1451     %defattr(-,root,root)
1452    
1453     %package xymon
1454     Summary: Xymon Terabithia Repository
1455     %description xymon
1456     Xymon Terabithia Repository
1457     %files xymon -f %{name}-%{version}-filelist-xymon
1458     %defattr(-,root,root)
1459    
1460     %package zabbix
1461     Summary: Zabbix official Repository
1462     %description zabbix
1463     Zabbix official Repository
1464     %files zabbix -f %{name}-%{version}-filelist-zabbix
1465     %defattr(-,root,root)
1466    
1467     %package zmrepo
1468     Summary: Zone Minder Repository
1469     %description zmrepo
1470     Zone Minder Repository
1471     %files zmrepo -f %{name}-%{version}-filelist-zmrepo
1472     %defattr(-,root,root)
1473    
1474    
1475    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed