/[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.5 - (show annotations) (download)
Tue Nov 17 18:41:46 2020 UTC (4 years ago) by jpp
Branch: MAIN
CVS Tags: smeserver-extrarepositories-0_1-24
Changes since 1.4: +2 -10 lines
* Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-24.sme
- add event on update to avoid reboot [SME: 11181]
- remove remi-safe as it is now in core rpm [SME: 11182]

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

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