/[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.7 - (hide annotations) (download)
Mon Dec 21 19:06:43 2020 UTC (3 years, 11 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-extrarepositories-0_1-27
Changes since 1.6: +11 -7 lines
* Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-27.sme
- Add perl-Disk-Free and perl-Type-Tiny to Migrate script [SME: 11024]

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

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