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

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

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


Revision 1.9 - (show annotations) (download)
Thu Mar 25 06:13:40 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-extrarepositories-0_1-29
Changes since 1.8: +6 -3 lines
* Thu Mar 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-29.sme
- add new zabbix version

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

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