/[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.27 - (show annotations) (download)
Sat Oct 28 03:25:39 2023 UTC (12 months, 4 weeks ago) by jpp
Branch: MAIN
CVS Tags: smeserver-extrarepositories-0_1-43
Changes since 1.26: +2 -2 lines
* Fri Oct 27 2023 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-43.sme
- add new elastic repos [SME: 12422]
- add wandisco distribution of git [SME: 12345]
- add priority to centos sclo [SME: 12278]
- add lemonldap 1.4 1.9 and 2.0 on top of stable (2.0) [SME: 12143]

1 %define name smeserver-extrarepositories
2 %define version 0.1
3 %define release 43
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 >= 10.0
15 AutoReqProv: no
16 Source0: https://raw.githubusercontent.com/ONLYOFFICE/repo/master/centos/RPM-GPG-KEY-ONLYOFFICE
17
18 %description
19 Provides configuration for external yum repository comaptible with Koozali SME Server.
20
21 %changelog
22 * Fri Oct 27 2023 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-43.sme
23 - add new elastic repos [SME: 12422]
24 - add wandisco distribution of git [SME: 12345]
25 - add priority to centos sclo [SME: 12278]
26 - add lemonldap 1.4 1.9 and 2.0 on top of stable (2.0) [SME: 12143]
27
28 * Mon Sep 04 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-42.sme
29 - Fix the error in the spec file [SME: 12389]
30
31 * Wed Jul 26 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-41.sme
32 - fix issues with libreswan repo [SME: 12389]
33 - Remove old mongodb repos prior to 4.0
34
35 * Wed Jun 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-40.sme
36 - add mongodb repos [SME: 11905]
37 - add onlyoffice repo [SME: 12078]
38 - add nginx repo [SME: 12079]
39
40 * Sat May 28 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-39.sme
41 - fix typo in pgsql url
42
43 * Thu Mar 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-38.sme
44 - add docker-ce repo [SME: 11894]
45
46 * Wed Mar 09 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-37.sme
47 - add collaboraoffice repo [SME: 11888]
48
49 * Thu Feb 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-36.sme
50 - add Copr repo for fusioninventory-agent owned by trasher [SME: 11751]
51 - fix update event for sclo [SME: 11876]
52
53 * Mon Nov 29 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-35.sme
54 - fix node repos
55
56 * Tue Nov 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-34.sme
57 - add asterisk [SME: 11512]
58 - add lemonldap [SME: 11740]
59 - add bareos [SME: 11741]
60 - add zabbix repo up to 55 and add scl sub repos [SME: 11744]
61
62 * Tue Jul 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-33.sme
63 - add migrate fragment for pwauth in epel [SME: 11639]
64
65 * Wed Jun 30 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-32.sme
66 - Requires e-smith >= 10
67 - exclude pwauh from EPEL [SME: 11639]
68
69 * Sun May 02 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-31.sme
70 - add perl-JSON to openfusion [SME: 11579]
71
72 * Thu Mar 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-30.sme
73 - fix zabbix key
74 - fix update event for packages with multiple repo
75
76 * Thu Mar 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-29.sme
77 - add new zabbix version
78
79 * Mon Mar 22 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-28.sme
80 - add extra packages from openfusion [SME: 11223]
81 - fix wrong event for remi-unsafe [SME: 11181]
82 - add repo for postgsql
83 - remove digium asterisk repo for SME10 [SME: 11482]
84 - remove geekery repo [SME: 11483]
85
86 * Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-27.sme
87 - Add perl-Disk-Free and perl-Type-Tiny to Migrate script [SME: 11024]
88
89 * Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-26.sme
90 - Add perl-Disk-Free for smeserver-affa [SME: 11024]
91
92 * Wed Dec 02 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-25.sme
93 - add extar packages from Openfusion for NextCloud [SME: 11223]
94 - perl-Array-Compare perl-Type-Tiny perl-Exporter-Tiny
95
96 * Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-24.sme
97 - add event on update to avoid reboot [SME: 11181]
98 - remove remi-safe as it is now in core rpm [SME: 11182]
99
100 * Tue Oct 27 2020 Brian Read <brianr@bjsystems.co.uk> 0.1-22.sme
101 - Initial import to SME10 tree [SME: 11057]
102
103 * Sat Mar 21 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-21.sme
104 - update zabbix repo [SME: 10900]
105 - add Springdale / PUIAS repo [SME: 10673]
106
107 * Sun Jan 27 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-20.sme
108 - add node repos [SME: 10727]
109
110 * Fri Jan 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-19.sme
111 - improve zmrepo migrate fragment to avoid action if not needed.
112 - migrate fragment for openfusion
113
114 * Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-18.sme
115 - remove perl-version from pkg lists
116
117 * Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-17.sme
118 - revised Include and Exclude to prevident accidental update
119 - updated incorrect changelog dates
120
121 * Thu Jan 03 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-16.sme
122 - Add more Excludes to Openfusion
123
124 * Tue Jan 01 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-15.sme
125 - Exclude mod_perl and other files from OpenFusion repo
126
127 * Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-14.sme
128 - fix typo in asterisk-current
129 - fix typo in migrate fragment for zmrepo
130 - renamed digium as digium-current
131
132 * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme
133 - zoneminder needs ffmpeg from zmrepo [SME: 10539]
134
135 * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-11.sme
136 - zmrepo url has changed [SME: 10675]
137
138 * Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme
139 - Add libreswan repo [SME: 10605]
140 - remove duplicate remi-safe entry
141
142 * Mon Jun 25 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6.sme
143 - Update reetp URL [SME: 10604]
144
145 * Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme
146 - add elrepo-kernel repo [SME: 10581]
147
148 * Sun Mar 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme
149 - exclude ffmpeg-2.6.4 and celt-0.11 from zmrepo [SME: 10543]
150 - add Sogo4 repo + migrate to exclude gnustep from epel if sogo repo present
151
152 * Sun Feb 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-3.sme
153 - fix wrong escape sequence for $basearch and $releasever [SME: 10239]
154
155 * Thu Feb 15 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme
156 - first multipackage version
157 - gpg keys not included
158
159 * Mon May 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme
160 - initial release
161
162 %prep
163
164 %build
165
166 %install
167 rm -rf $RPM_BUILD_ROOT
168 # if needing to add a gpg key
169 mkdir -p $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/
170
171 # if needing to add a gpg key
172 #cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/
173 #/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']}
174 cp %SOURCE0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/
175
176
177 # if needing to migrate something :
178 #mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate
179 #echo "" >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/00REPONAMEmigrate
180
181 # if needed to force something
182 #mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/force/${REPO['reponame']}
183 #echo "${REPO['Exclude']}" >\
184 # $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/force/${REPO['reponame']}/Exclude
185
186
187
188 declare -A REPO
189
190 function createrepo {
191 mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}
192 echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups
193 echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck
194 echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name
195 echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible
196 echo "${REPO['status']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status
197 echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type
198
199 mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['pkgname']}-update/templates2expand/etc/yum.smerepos.d/
200 touch $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['pkgname']}-update/templates2expand/etc/yum.smerepos.d/sme-base.repo
201
202 [[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\
203 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL
204 [[ "${REPO['GPGKey']}" != '' ]] && echo "${REPO['GPGKey']}" >\
205 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey
206 [[ "${REPO['MirrorList']}" != '' ]] && echo "${REPO['MirrorList']}" >\
207 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList
208 [[ "${REPO['Exclude']}" != '' ]] && echo "${REPO['Exclude']}" >\
209 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude
210 [[ "${REPO['IncludePkgs']}" != '' ]] && echo "${REPO['IncludePkgs']}" >\
211 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/IncludePkgs
212 [[ "${REPO['Priority']}" != '' ]] && echo "${REPO['Priority']}" >\
213 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Priority
214 return 0
215 }
216
217
218 #####################
219 #####################
220 # asterisk
221 #####################
222 #####################
223 for elasver in "13" "16" '17' '18' ; do
224 REPO['reponame']="asterisk-$elasver"
225 REPO['pkgname']='asterisk'
226 REPO['fullreponame']="Asterisk $elasver (LTS) Packages @ tucny.com"
227 REPO['EnableGroups']='no'
228 REPO['Visible']='yes'
229 REPO['status']='disabled'
230 REPO['BaseURL']=""#https://ast.tucny.com/repo/asterisk-$elasver/el\$releasever/\$basearch/
231 REPO['MirrorList']="https://ast.tucny.com/mirrorlist.php?release=\$releasever&arch=\$basearch&repo=asterisk-$elasver"
232 REPO['GPGCheck']='yes'
233 REPO['GPGKey']="https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny"
234 REPO['Exclude']=''
235 REPO['IncludePkgs']=''
236 REPO['Priority']=''
237 createrepo
238 done
239
240 REPO['reponame']='asterisk-common'
241 REPO['pkgname']='asterisk'
242 REPO['fullreponame']='Asterisk Common Requirement Packages @ tucny.com'
243 REPO['EnableGroups']='no'
244 REPO['Visible']='no'
245 REPO['status']='disabled'
246 REPO['BaseURL']=''#https://ast.tucny.com/repo/asterisk-common/el$releasever/$basearch/
247 REPO['MirrorList']='https://ast.tucny.com/mirrorlist.php?release=$releasever&arch=$basearch&repo=asterisk-common'
248 REPO['GPGCheck']='yes'
249 REPO['GPGKey']='https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny'
250 REPO['Exclude']=''
251 REPO['IncludePkgs']=''
252 REPO['Priority']=''
253 createrepo
254
255
256
257 #####################
258 #####################
259 #atomic
260 #####################
261 #####################
262 REPO['reponame']='atomic'
263 REPO['pkgname']=${REPO['reponame']}
264 REPO['fullreponame']='Atomic'
265 REPO['EnableGroups']='no'
266 REPO['Visible']='no'
267 REPO['status']='disabled'
268 REPO['BaseURL']=''
269 REPO['MirrorList']='http://www.atomicorp.com/mirrorlist/atomic/centos-$releasever-$basearch'
270 REPO['GPGCheck']='yes'
271 REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt'
272 REPO['Exclude']=''
273 REPO['IncludePkgs']=''
274 REPO['Priority']=''
275 createrepo
276
277 #####################
278 #####################
279 # BareOS
280 #####################
281 #####################
282 REPO['reponame']='bareos20'
283 REPO['pkgname']='bareos'
284 REPO['fullreponame']='Backup Archiving Recovery Open Sourced'
285 REPO['EnableGroups']='no'
286 REPO['Visible']='yes'
287 REPO['status']='disabled'
288 REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever'
289 REPO['MirrorList']=''
290 REPO['GPGCheck']='yes'
291 REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key'
292 REPO['Exclude']=''
293 REPO['IncludePkgs']=''
294 REPO['Priority']=''
295 createrepo
296
297 REPO['reponame']='bareos20-source'
298 REPO['pkgname']='bareos'
299 REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Sources'
300 REPO['EnableGroups']='no'
301 REPO['Visible']='no'
302 REPO['status']='disabled'
303 REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/src'
304 REPO['MirrorList']=''
305 REPO['GPGCheck']='yes'
306 REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key'
307 REPO['Exclude']=''
308 REPO['IncludePkgs']=''
309 REPO['Priority']=''
310 createrepo
311
312 REPO['reponame']='bareos20-debuginfo'
313 REPO['pkgname']='bareos'
314 REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Debuginfo'
315 REPO['EnableGroups']='no'
316 REPO['Visible']='no'
317 REPO['status']='disabled'
318 REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/debug'
319 REPO['MirrorList']=''
320 REPO['GPGCheck']='yes'
321 REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key'
322 REPO['Exclude']=''
323 REPO['IncludePkgs']=''
324 REPO['Priority']=''
325 createrepo
326
327
328
329 #####################
330 #####################
331 #centos-sclo-centos
332 #####################
333 #####################
334 REPO['reponame']='centos-sclo-centos'
335 REPO['pkgname']="centos-sclo" #${REPO['reponame']}
336 REPO['fullreponame']='Centos-RH Software collections'
337 REPO['EnableGroups']='no'
338 REPO['Visible']='yes'
339 REPO['status']='enabled'
340 REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/'
341 REPO['MirrorList']=''
342 REPO['GPGCheck']='yes'
343 REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'
344 REPO['Exclude']=''
345 REPO['IncludePkgs']=''
346 REPO['Priority']='10'
347 createrepo
348
349 #####################
350 #####################
351 #centos-sclo-rh
352 #####################
353 #####################
354 REPO['reponame']='centos-sclo-rh'
355 REPO['pkgname']='centos-sclo' #${REPO['reponame']}
356 REPO['fullreponame']='Centos-RH Software collections'
357 REPO['EnableGroups']='no'
358 REPO['Visible']='yes'
359 REPO['status']='enabled'
360 REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/'
361 REPO['MirrorList']=''
362 REPO['GPGCheck']='yes'
363 REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'
364 REPO['Exclude']=''
365 REPO['IncludePkgs']=''
366 REPO['Priority']='10'
367 createrepo
368
369 #####################
370 #####################
371 #collaboraoffice.com
372 #####################
373 #####################
374 REPO['reponame']='collaboraoffice'
375 REPO['pkgname']=${REPO['reponame']}
376 REPO['fullreponame']='collaboraoffice.com_repos_CollaboraOnline_CODE-centos'
377 REPO['EnableGroups']='no'
378 REPO['Visible']='yes'
379 REPO['status']='enabled'
380 REPO['BaseURL']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos$releasever'
381 REPO['MirrorList']=''
382 REPO['GPGCheck']='yes'
383 REPO['GPGKey']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos7/repodata/repomd.xml.key'
384 REPO['Exclude']=''
385 REPO['IncludePkgs']=''
386 REPO['Priority']=''
387 createrepo
388
389 #####################
390 #####################
391 #docker-ce
392 #####################
393 #####################
394 REPO['reponame']='docker-ce'
395 REPO['pkgname']=${REPO['reponame']}
396 REPO['fullreponame']='docker-ce'
397 REPO['EnableGroups']='no'
398 REPO['Visible']='yes'
399 REPO['status']='enabled'
400 REPO['BaseURL']='https://download.docker.com/linux/centos/$releasever/$basearch/stable'
401 REPO['MirrorList']=''
402 REPO['GPGCheck']='yes'
403 REPO['GPGKey']='https://download.docker.com/linux/centos/gpg'
404 REPO['Exclude']=''
405 REPO['IncludePkgs']=''
406 REPO['Priority']=''
407 createrepo
408
409
410 #####################
411 #####################
412 #egroupware
413 #####################
414 #####################
415 REPO['reponame']='egroupware'
416 REPO['pkgname']=${REPO['reponame']}
417 REPO['fullreponame']='server_eGroupWare'
418 REPO['EnableGroups']='no'
419 REPO['Visible']='yes'
420 REPO['status']='disabled'
421 REPO['BaseURL']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_$releasever/'
422 REPO['MirrorList']=''
423 REPO['GPGCheck']='yes'
424 REPO['GPGKey']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_$releasever/repodata/repomd.xml.key'
425 REPO['Exclude']=''
426 REPO['IncludePkgs']=''
427 REPO['Priority']=''
428 createrepo
429
430 #####################
431 #####################
432 #elastic
433 #####################
434 #####################
435 declare -A elashort=(['oss-8.x']='oss-8.x' ['8.x']='8.x' ['7.x']='7.x' ['6.x']='6.x' ['5.x']='5.x' ['1.6']='1' )
436 for elasver in "8.x" "7.x" "6.x" "5.x" "1.6"; do
437 REPO['reponame']="elastic${elashort[$elasver]}"
438 REPO['pkgname']='elastic'
439 REPO['fullreponame']="Elasticsearch repository for $elasver packages"
440 REPO['EnableGroups']='yes'
441 REPO['Visible']='yes'
442 REPO['status']='disabled'
443 REPO['BaseURL']="https://artifacts.elastic.co/packages/$elasver/yum"
444 REPO['MirrorList']=''
445 REPO['GPGCheck']='yes'
446 REPO['GPGKey']='https://artifacts.elastic.co/GPG-KEY-elasticsearch'
447 REPO['Exclude']=''
448 REPO['IncludePkgs']=''
449 REPO['Priority']=''
450 createrepo
451 done
452
453 #####################
454 #####################
455 #ELRepo
456 #####################
457 #####################
458 REPO['reponame']='elrepo'
459 REPO['pkgname']='elrepo'
460 REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository'
461 REPO['EnableGroups']='no'
462 REPO['Visible']='no'
463 REPO['status']='disabled'
464 REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch'
465 REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.el$releasever'
466 REPO['GPGCheck']='yes'
467 REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
468 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'
469 REPO['IncludePkgs']=''
470 REPO['Priority']=''
471 createrepo
472
473 #####################
474 #####################
475 #ELRepo kernel
476 #####################
477 #####################
478 REPO['reponame']='elrepo-kernel'
479 REPO['pkgname']='elrepo'
480 REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel'
481 REPO['EnableGroups']='no'
482 REPO['Visible']='no'
483 REPO['status']='disabled'
484 REPO['BaseURL']='http://elrepo.org/linux/kernel/el$releasever/$basearch'
485 REPO['MirrorList']='http://elrepo.org/mirrors-elrepo-kernel.el$releasever'
486 REPO['GPGCheck']='yes'
487 REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
488 REPO['Exclude']=''
489 REPO['IncludePkgs']=''
490 REPO['Priority']=''
491 createrepo
492
493 #####################
494 #####################
495 #EPEL
496 #####################
497 #####################
498 REPO['reponame']='epel'
499 REPO['pkgname']=${REPO['reponame']}
500 REPO['fullreponame']='EPEL'
501 REPO['EnableGroups']='no'
502 REPO['Visible']='no'
503 REPO['status']='disabled'
504 REPO['BaseURL']='http://download.fedoraproject.org/pub/epel/$releasever/$basearch'
505 REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch'
506 REPO['GPGCheck']='yes'
507 REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
508 REPO['Exclude']='perl-Razor-Agent,pwauth'
509 REPO['IncludePkgs']=''
510 REPO['Priority']=''
511 createrepo
512
513 #####################
514 #####################
515 #erlang
516 #####################
517 #####################
518 REPO['reponame']='erlang'
519 REPO['pkgname']=${REPO['reponame']}
520 REPO['fullreponame']='erlang programming language'
521 REPO['EnableGroups']='no'
522 REPO['Visible']='yes'
523 REPO['status']='disabled'
524 REPO['BaseURL']='http://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch'
525 REPO['MirrorList']=''
526 REPO['GPGCheck']='yes'
527 REPO['GPGKey']='http://packages.erlang-solutions.com/rpm/erlang_solutions.asc'
528 REPO['Exclude']=''
529 REPO['IncludePkgs']=''
530 REPO['Priority']=''
531 createrepo
532
533 #####################
534 #####################
535 #freeswitch
536 #####################
537 #####################
538 REPO['reponame']='freeswitch'
539 REPO['pkgname']=${REPO['reponame']}
540 REPO['fullreponame']='Freeswitch'
541 REPO['EnableGroups']='no'
542 REPO['Visible']='yes'
543 REPO['status']='disabled'
544 REPO['BaseURL']='http://files.freeswitch.org/yum/$releasever/$basearch'
545 REPO['MirrorList']=''
546 REPO['GPGCheck']='yes'
547 REPO['GPGKey']='file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH'
548 REPO['Exclude']=''
549 REPO['IncludePkgs']=''
550 REPO['Priority']=''
551 createrepo
552
553 #####################
554 #####################
555 #firewall Service
556 #####################
557 #####################
558 REPO['reponame']='fws'
559 REPO['pkgname']=${REPO['reponame']}
560 REPO['fullreponame']='Firewall Services'
561 REPO['EnableGroups']='no'
562 REPO['Visible']='no'
563 REPO['status']='disabled'
564 REPO['BaseURL']='http://repo.firewall-services.com/centos/$releasever'
565 REPO['MirrorList']=''
566 REPO['GPGCheck']='yes'
567 REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY'
568 REPO['Exclude']=''
569 REPO['IncludePkgs']=''
570 REPO['Priority']=''
571 createrepo
572
573 #####################
574 #####################
575 #firewall Service testing
576 #####################
577 #####################
578 REPO['reponame']='fws-testing'
579 REPO['pkgname']='fws'
580 REPO['fullreponame']='Firewall Services testing'
581 REPO['EnableGroups']='no'
582 REPO['Visible']='no'
583 REPO['status']='disabled'
584 REPO['BaseURL']='http://repo.firewall-services.com/centos-testing/$releasever'
585 REPO['MirrorList']=''
586 REPO['GPGCheck']='yes'
587 REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY'
588 REPO['Exclude']=''
589 REPO['IncludePkgs']=''
590 REPO['Priority']=''
591 createrepo
592
593 #####################
594 #####################
595 #fusion inventory
596 #####################
597 #####################
598 REPO['reponame']='fusioninventory-agent'
599 REPO['pkgname']='fusioninventory-agent'
600 REPO['fullreponame']='Copr repo for fusioninventory-agent owned by trasher'
601 REPO['EnableGroups']='no'
602 REPO['Visible']='no'
603 REPO['status']='disabled'
604 REPO['BaseURL']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/epel-$releasever-$basearch/'
605 REPO['MirrorList']=''
606 REPO['GPGCheck']='yes'
607 REPO['GPGKey']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/pubkey.gpg'
608 REPO['Exclude']=''
609 REPO['IncludePkgs']=''
610 REPO['Priority']=''
611 createrepo
612
613
614 #####################
615 #####################
616 # LemonLDAP-NG
617 #####################
618 #####################
619 REPO['reponame']='lemonldap-ng'
620 REPO['pkgname']='lemonldap'
621 REPO['fullreponame']='LemonLDAP::NG packages'
622 REPO['EnableGroups']='no'
623 REPO['Visible']='yes'
624 REPO['status']='enabled'
625 REPO['BaseURL']='https://lemonldap-ng.org/redhat/stable/$releasever/noarch'
626 REPO['MirrorList']=''
627 REPO['GPGCheck']='yes'
628 REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2'
629 REPO['Exclude']=''
630 REPO['IncludePkgs']=''
631 REPO['Priority']=''
632 createrepo
633
634 REPO['reponame']='lemonldap-ng-extras'
635 REPO['pkgname']='lemonldap'
636 REPO['fullreponame']='LemonLDAP::NG extra packages'
637 REPO['EnableGroups']='no'
638 REPO['Visible']='yes'
639 REPO['status']='disabled'
640 REPO['BaseURL']='https://lemonldap-ng.org/redhat/extras/$releasever/noarch'
641 REPO['MirrorList']=''
642 REPO['GPGCheck']='yes'
643 REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2'
644 REPO['Exclude']=''
645 REPO['IncludePkgs']=''
646 REPO['Priority']=''
647 createrepo
648
649 EPO['reponame']='lemonldap-ng-1.4'
650 REPO['pkgname']='lemonldap1.4'
651 REPO['fullreponame']='LemonLDAP::NG packages 1.4'
652 REPO['EnableGroups']='no'
653 REPO['Visible']='yes'
654 REPO['status']='disabled'
655 REPO['BaseURL']='https://lemonldap-ng.org/redhat/1.4/$releasever/noarch'
656 REPO['MirrorList']=''
657 REPO['GPGCheck']='yes'
658 REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2'
659 REPO['Exclude']=''
660 REPO['IncludePkgs']=''
661 REPO['Priority']=''
662 createrepo
663
664 REPO['reponame']='lemonldap-ng-1.9'
665 REPO['pkgname']='lemonldap1.9'
666 REPO['fullreponame']='LemonLDAP::NG packages 1.9'
667 REPO['EnableGroups']='no'
668 REPO['Visible']='yes'
669 REPO['status']='disabled'
670 REPO['BaseURL']='https://lemonldap-ng.org/redhat/1.9/$releasever/noarch'
671 REPO['MirrorList']=''
672 REPO['GPGCheck']='yes'
673 REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2'
674 REPO['Exclude']=''
675 REPO['IncludePkgs']=''
676 REPO['Priority']=''
677 createrepo
678
679 REPO['reponame']='lemonldap-ng-2.0'
680 REPO['pkgname']='lemonldap2.0'
681 REPO['fullreponame']='LemonLDAP::NG packages 2.0'
682 REPO['EnableGroups']='no'
683 REPO['Visible']='yes'
684 REPO['status']='disabled'
685 REPO['BaseURL']='https://lemonldap-ng.org/redhat/2.0/$releasever/noarch'
686 REPO['MirrorList']=''
687 REPO['GPGCheck']='yes'
688 REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2'
689 REPO['Exclude']=''
690 REPO['IncludePkgs']=''
691 REPO['Priority']=''
692 createrepo
693
694
695 #####################
696 #####################
697 # Libreswan
698 #####################
699 #####################
700 REPO['reponame']='libreswan'
701 REPO['pkgname']=${REPO['reponame']}
702 REPO['fullreponame']='Libreswan'
703 REPO['EnableGroups']='no'
704 REPO['Visible']='yes'
705 REPO['status']='disabled'
706 REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/'
707 REPO['MirrorList']=''
708 REPO['GPGCheck']='yes'
709 REPO['GPGKey']='http://download.libreswan.org/RPM-GPG-KEY-libreswan'
710 REPO['Exclude']=''
711 REPO['IncludePkgs']=''
712 REPO['Priority']='10'
713 createrepo
714
715
716 #####################
717 #####################
718 # Mongodb
719 #####################
720 #####################
721 for nodever in "4.0" "4.1" "4.2" "4.3" "4.4" "5.0" "6.0" "7.0"; do
722 REPO['reponame']="mongodb$nodever"
723 REPO['pkgname']='mongodb'
724 REPO['fullreponame']="Mongodb $nodever"
725 REPO['EnableGroups']='no'
726 REPO['Visible']='yes'
727 REPO['status']='disabled'
728 REPO['BaseURL']="https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/$nodever/\$basearch/"
729 REPO['MirrorList']=''
730 REPO['GPGCheck']='yes'
731 REPO['GPGKey']="https://www.mongodb.org/static/pgp/server-$nodever.asc"
732 REPO['Exclude']=''
733 REPO['IncludePkgs']=''
734 REPO['Priority']=''
735 createrepo
736 done
737
738 #####################
739 #####################
740 # Nginx
741 #####################
742 #####################
743 REPO['reponame']='nginx'
744 REPO['pkgname']='nginx'
745 REPO['fullreponame']='nginx stable repo'
746 REPO['EnableGroups']='no'
747 REPO['Visible']='yes'
748 REPO['status']='enabled'
749 REPO['BaseURL']='http://nginx.org/packages/centos/$releasever/$basearch/'
750 REPO['MirrorList']=''
751 REPO['GPGCheck']='yes'
752 REPO['GPGKey']='https://nginx.org/keys/nginx_signing.key'
753 REPO['Exclude']=''
754 REPO['IncludePkgs']=''
755 REPO['Priority']=''
756 createrepo
757
758 REPO['reponame']='nginx-mainline'
759 REPO['pkgname']='nginx'
760 REPO['fullreponame']='nginx mainline repo'
761 REPO['EnableGroups']='no'
762 REPO['Visible']='yes'
763 REPO['status']='disabled'
764 REPO['BaseURL']='http://nginx.org/packages/mainline/centos/$releasever/$basearch/'
765 REPO['MirrorList']=''
766 REPO['GPGCheck']='yes'
767 REPO['GPGKey']='https://nginx.org/keys/nginx_signing.key'
768 REPO['Exclude']=''
769 REPO['IncludePkgs']=''
770 REPO['Priority']=''
771 createrepo
772
773
774
775
776 #####################
777 #####################
778 # NodeJS 4
779 #####################
780 #####################
781 for nodever in "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17"; do
782 REPO['reponame']="node$nodever"
783 REPO['pkgname']='node'
784 REPO['fullreponame']="NodeJS $nodever"
785 REPO['EnableGroups']='no'
786 REPO['Visible']='yes'
787 REPO['status']='disabled'
788 REPO['BaseURL']="https://rpm.nodesource.com/pub_$nodever.x/el/\$releasever/\$basearch/"
789 REPO['MirrorList']=''
790 REPO['GPGCheck']='yes'
791 REPO['GPGKey']='https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL'
792 #'https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
793 #'https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL'
794 REPO['Exclude']=''
795 REPO['IncludePkgs']=''
796 REPO['Priority']=''
797 createrepo
798 done
799
800
801 if ( "%{?dist}" == "el7" ); then
802 #####################
803 #####################
804 # Odoo10-nightly
805 #####################
806 #####################
807 REPO['reponame']='odoo10-nightly'
808 REPO['pkgname']='odoo'
809 REPO['fullreponame']='Odoo 10 Nightly - EL7'
810 REPO['EnableGroups']='no'
811 REPO['Visible']='yes'
812 REPO['status']='disabled'
813 REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'
814 REPO['MirrorList']=''
815 REPO['GPGCheck']='yes'
816 REPO['GPGKey']='https://nightly.odoo.com/odoo.key'
817 REPO['Exclude']=''
818 REPO['IncludePkgs']=''
819 REPO['Priority']=''
820 createrepo
821
822 #####################
823 #####################
824 # Odoo9-nightly
825 #####################
826 #####################
827 REPO['reponame']='odoo9-nightly'
828 REPO['pkgname']='odoo'
829 REPO['fullreponame']='Odoo 9 Nightly - EL7'
830 REPO['EnableGroups']='no'
831 REPO['Visible']='yes'
832 REPO['status']='disabled'
833 REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'
834 REPO['MirrorList']=''
835 REPO['GPGCheck']='yes'
836 REPO['GPGKey']='https://nightly.odoo.com/odoo.key'
837 REPO['Exclude']=''
838 REPO['IncludePkgs']=''
839 REPO['Priority']=''
840 createrepo
841 fi
842
843 #####################
844 #####################
845 # Okay
846 #####################
847 #####################
848 REPO['reponame']='okay'
849 REPO['pkgname']=${REPO['reponame']}
850 REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'
851 REPO['EnableGroups']='no'
852 REPO['Visible']='yes'
853 REPO['status']='disabled'
854 REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'
855 REPO['MirrorList']=''
856 REPO['GPGCheck']='no'
857 REPO['GPGKey']=''
858 REPO['Exclude']=''
859 REPO['IncludePkgs']=''
860 REPO['Priority']=''
861 createrepo
862
863 #####################
864 #####################
865 # Onlyoffice
866 #####################
867 #####################
868 REPO['reponame']='onlyoffice'
869 REPO['pkgname']=${REPO['reponame']}
870 REPO['fullreponame']='Onlyoffice document server - community edition'
871 REPO['EnableGroups']='no'
872 REPO['Visible']='yes'
873 REPO['status']='enabled'
874 REPO['BaseURL']='https://download.onlyoffice.com/repo/centos/main/noarch/'
875 REPO['MirrorList']=''
876 REPO['GPGCheck']='no'
877 REPO['GPGKey']='https://raw.githubusercontent.com/ONLYOFFICE/repo/master/centos/RPM-GPG-KEY-ONLYOFFICE'
878 REPO['Exclude']=''
879 REPO['IncludePkgs']=''
880 REPO['Priority']=''
881 createrepo
882
883 #####################
884 #####################
885 # Openfusion
886 #####################
887 #####################
888 REPO['reponame']='openfusion'
889 REPO['pkgname']=${REPO['reponame']}
890 REPO['fullreponame']='Openfusion'
891 REPO['EnableGroups']='no'
892 REPO['Visible']='yes'
893 REPO['status']='disabled'
894 REPO['BaseURL']='http://repo.openfusion.net/centos$releasever-$basearch'
895 REPO['MirrorList']=''
896 REPO['GPGCheck']='yes'
897 REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'
898 REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-ExtUtils-Install,perl-parent'
899 REPO['IncludePkgs']='perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent,perl-Array-Compare,perl-Type-Tiny,perl-Filesys-DiskFree,perl-Array-Compare,perl-Type-Tiny,perl-JSON'
900 REPO['Priority']=''
901 createrepo
902
903 #####################
904 #####################
905 # Postgresql
906 #####################
907 #####################
908 for pgsqlver in "9.6" "10" "11" "12" "13"; do
909 REPO['reponame']="pgsql$pgsqlver"
910 REPO['pkgname']='pgsql'
911 REPO['fullreponame']="Postgresql $pgsqlver"
912 REPO['EnableGroups']='no'
913 REPO['Visible']='yes'
914 REPO['status']='disabled'
915 REPO['BaseURL']='https://yum.postgresql.org/'$pgsqlver'/redhat/rhel-$releasever-$basearch/'
916 REPO['MirrorList']=''
917 REPO['GPGCheck']='yes'
918 ext=$pgsqlver;
919 [[ "$pgsqlver" == "9.6" ]] && ext="96";
920 REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'$ext
921 REPO['Exclude']=''
922 REPO['IncludePkgs']=''
923 REPO['Priority']=''
924 createrepo
925
926
927 REPO['reponame']="pgsql$pgsqlver-nonfree"
928 REPO['pkgname']='pgsql'
929 REPO['fullreponame']="Postgresql $pgsqlver non free"
930 REPO['EnableGroups']='no'
931 REPO['Visible']='yes'
932 REPO['status']='disabled'
933 REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/non-free/'$pgsqlver'/redhat/rhel-$releasever-$basearch/'
934 REPO['MirrorList']=''
935 REPO['GPGCheck']='yes'
936 ext=$pgsqlver;
937 [[ "$pgsqlver" == "9.6" ]] && ext="96";
938 REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'$ext
939 REPO['Exclude']=''
940 REPO['IncludePkgs']=''
941 REPO['Priority']=''
942 createrepo
943
944 REPO['reponame']="pgsql$pgsqlver-common"
945 REPO['pkgname']='pgsql'
946 REPO['fullreponame']="Postgresql $pgsqlver non free"
947 REPO['EnableGroups']='no'
948 REPO['Visible']='yes'
949 REPO['status']='disabled'
950 REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/common/'$pgsqlver'/redhat/rhel-$releasever-$basearch/'
951 REPO['MirrorList']=''
952 REPO['GPGCheck']='yes'
953 ext=$pgsqlver;
954 [[ "$pgsqlver" == "9.6" ]] && ext="96";
955 REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'$ext
956 REPO['Exclude']=''
957 REPO['IncludePkgs']=''
958 REPO['Priority']=''
959 createrepo
960
961 done
962
963 #####################
964 #####################
965 # Reetspetit
966 #####################
967 #####################
968 REPO['reponame']='reetp'
969 REPO['pkgname']=${REPO['reponame']}
970 REPO['fullreponame']='Mirror John Crisp reetspetit.com'
971 REPO['EnableGroups']='no'
972 REPO['Visible']='yes'
973 REPO['status']='disabled'
974 REPO['BaseURL']='https://www.reetspetit.com/smeserver/$releasever'
975 REPO['MirrorList']=''
976 REPO['GPGCheck']='no'
977 REPO['GPGKey']='https://www.reetspetit.com/RPM-GPG-KEY'
978 REPO['Exclude']=''
979 REPO['IncludePkgs']=''
980 REPO['Priority']=''
981 createrepo
982
983 #####################
984 #####################
985 #remi
986 #####################
987 #####################
988 REPO['reponame']='remi'
989 REPO['pkgname']='remi-unsafe'
990 REPO['fullreponame']='Remi - EL unsafe, will conflict with your base rpms'
991 REPO['EnableGroups']='no'
992 REPO['GPGCheck']='yes'
993 REPO['Visible']='no'
994 REPO['status']='enabled'
995 REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
996 REPO['MirrorList']=''
997 REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
998 REPO['Exclude']='mysql*,php-*,phpMyAdmin'
999 REPO['IncludePkgs']=''
1000 REPO['Priority']=''
1001 createrepo
1002
1003 #####################
1004 #####################
1005 #remi-ocsinventory
1006 #####################
1007 #####################
1008 REPO['reponame']='remi-ocsinventory'
1009 REPO['pkgname']=${REPO['reponame']}
1010 REPO['fullreponame']='Remi ocsinventory - EL'
1011 REPO['EnableGroups']='no'
1012 REPO['GPGCheck']='yes'
1013 REPO['Visible']='yes'
1014 REPO['status']='enabled'
1015 REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
1016 REPO['MirrorList']=''
1017 REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
1018 REPO['Exclude']=''
1019 REPO['IncludePkgs']='ocsinventory* perl-Ocsinventory-Agent'
1020 REPO['Priority']=''
1021 createrepo
1022
1023 #####################
1024 #####################
1025 #remi-ocsinventory
1026 #####################
1027 #####################
1028 REPO['reponame']='remi-roundcube'
1029 REPO['pkgname']=${REPO['reponame']}
1030 REPO['fullreponame']='Remi Roundcube - EL'
1031 REPO['EnableGroups']='no'
1032 REPO['GPGCheck']='yes'
1033 REPO['Visible']='yes'
1034 REPO['status']='enabled'
1035 REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
1036 REPO['MirrorList']=''
1037 REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
1038 REPO['Exclude']=''
1039 REPO['IncludePkgs']='php-kolab-net-ldap3,php-pear-Mail-mimeDecode,php-pear-Net-IDNA2,php-pear-Net-LDAP2,roundcubemail'
1040 REPO['Priority']=''
1041 createrepo
1042
1043
1044 #####################
1045 #####################
1046 #rpmfusion
1047 #####################
1048 #####################
1049 REPO['reponame']='rpmfusion'
1050 REPO['pkgname']=${REPO['reponame']}
1051 REPO['fullreponame']='rpmfusion free EL'
1052 REPO['EnableGroups']='no'
1053 REPO['Visible']='yes'
1054 REPO['status']='disabled'
1055 REPO['BaseURL']='http://download1.rpmfusion.org/free/el/updates/$releasever/$basearch/'
1056 REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-$releasever&arch=$basearch'
1057 REPO['GPGCheck']='yes'
1058 REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-el-$releasever'
1059 REPO['Exclude']=''
1060 REPO['IncludePkgs']=''
1061 REPO['Priority']=''
1062 createrepo
1063
1064 #####################
1065 #####################
1066 #rpmfusion
1067 #####################
1068 #####################
1069 REPO['reponame']='rpmfusion-nonfree'
1070 REPO['pkgname']='rpmfusion'
1071 REPO['fullreponame']='rpmfusion nonfree EL'
1072 REPO['EnableGroups']='no'
1073 REPO['Visible']='yes'
1074 REPO['status']='disabled'
1075 REPO['BaseURL']='http://download1.rpmfusion.org/nonfree/el/updates/$releasever/$basearch/'
1076 REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-released-$releasever&arch=$basearch'
1077 REPO['GPGCheck']='yes'
1078 REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-el-$releasever'
1079 REPO['Exclude']=''
1080 REPO['IncludePkgs']=''
1081 REPO['Priority']=''
1082 createrepo
1083
1084 #####################
1085 #####################
1086 #Sogo nightly
1087 #####################
1088 #####################
1089 REPO['reponame']='sogo'
1090 REPO['pkgname']=${REPO['reponame']}
1091 REPO['fullreponame']='Inverse SOGo 2 Repository'
1092 REPO['EnableGroups']='no'
1093 REPO['Visible']='yes'
1094 REPO['status']='disabled'
1095 REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/2/rhel/$releasever/$basearch'
1096 REPO['MirrorList']=''
1097 REPO['GPGCheck']='no'
1098 REPO['GPGKey']=''
1099 REPO['Exclude']=''
1100 REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
1101 REPO['Priority']=''
1102 createrepo
1103
1104 #####################
1105 #####################
1106 #Sogo3 nightly
1107 #####################
1108 #####################
1109 REPO['reponame']='sogo3'
1110 REPO['pkgname']='sogo'
1111 REPO['fullreponame']='Inverse SOGo 3 Repository'
1112 REPO['EnableGroups']='no'
1113 REPO['Visible']='yes'
1114 REPO['status']='disabled'
1115 REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/3/rhel/$releasever/$basearch'
1116 REPO['MirrorList']=''
1117 REPO['GPGCheck']='no'
1118 REPO['GPGKey']=''
1119 REPO['Exclude']=''
1120 REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
1121 REPO['Priority']=''
1122 createrepo
1123
1124 #####################
1125 #####################
1126 #Sogo4 nightly
1127 #####################
1128 #####################
1129 REPO['reponame']='sogo4'
1130 REPO['pkgname']='sogo'
1131 REPO['fullreponame']='Inverse SOGo 4 Repository'
1132 REPO['EnableGroups']='no'
1133 REPO['Visible']='yes'
1134 REPO['status']='disabled'
1135 REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/4/rhel/$releasever/$basearch'
1136 REPO['MirrorList']=''
1137 REPO['GPGCheck']='no'
1138 REPO['GPGKey']=''
1139 REPO['Exclude']=''
1140 REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
1141 REPO['Priority']=''
1142 createrepo
1143
1144 #####################
1145 #####################
1146 #Sogo stable
1147 #####################
1148 #####################
1149 REPO['reponame']='sogo-subscription'
1150 REPO['pkgname']='sogo'
1151 REPO['fullreponame']='Inverse SOGo Repository only with subscription'
1152 REPO['EnableGroups']='no'
1153 REPO['Visible']='yes'
1154 REPO['status']='disabled'
1155 REPO['BaseURL']='http://packages.inverse.ca/download/SOGo/RHEL$releasever/$basearch'
1156 REPO['MirrorList']=''
1157 REPO['GPGCheck']='no'
1158 REPO['GPGKey']=''
1159 REPO['Exclude']=''
1160 REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
1161 REPO['Priority']=''
1162 createrepo
1163
1164 #####################
1165 #####################
1166 #Spectrum2
1167 #####################
1168 #####################
1169 REPO['reponame']='spectrum2'
1170 REPO['pkgname']=${REPO['reponame']}
1171 REPO['fullreponame']='Spectrum2'
1172 REPO['EnableGroups']='no'
1173 REPO['Visible']='yes'
1174 REPO['status']='disabled'
1175 REPO['BaseURL']='http://copr-be.cloud.fedoraproject.org/results/mcepl/spectrum2/epel-$releasever-$basearch'
1176 REPO['MirrorList']=''
1177 REPO['GPGCheck']='no'
1178 REPO['GPGKey']=''
1179 REPO['Exclude']=''
1180 REPO['IncludePkgs']=''
1181 REPO['Priority']=''
1182 createrepo
1183
1184 #####################
1185 #####################
1186 #Springdale
1187 #####################
1188 #####################
1189 REPO['reponame']='springdale-core'
1190 REPO['pkgname']='springdale'
1191 REPO['fullreponame']='PUIAS core Base'
1192 REPO['EnableGroups']='no'
1193 REPO['Visible']='yes'
1194 REPO['status']='disabled'
1195 REPO['BaseURL']=''
1196 REPO['MirrorList']='http://puias.math.ias.edu/data/puias/$releasever/$basearch/os/mirrorlist'
1197 REPO['GPGCheck']='yes'
1198 REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias'
1199 REPO['Exclude']=''
1200 REPO['IncludePkgs']=''
1201 REPO['Priority']=''
1202 createrepo
1203
1204 REPO['reponame']='springdale-updates'
1205 REPO['pkgname']='springdale'
1206 REPO['fullreponame']='PUIAS core Updates'
1207 REPO['EnableGroups']='no'
1208 REPO['Visible']='yes'
1209 REPO['status']='disabled'
1210 REPO['BaseURL']=''
1211 REPO['MirrorList']='http://puias.math.ias.edu/data/puias/updates/$releasever/$basearch/en/os/mirrorlist'
1212 REPO['GPGCheck']='yes'
1213 REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/updates/$basearch/en/os/RPM-GPG-KEY-puias'
1214 REPO['Exclude']=''
1215 REPO['IncludePkgs']=''
1216 REPO['Priority']=''
1217 createrepo
1218
1219 REPO['reponame']='springdale-addons'
1220 REPO['pkgname']='springdale'
1221 REPO['fullreponame']='PUIAS Addons'
1222 REPO['EnableGroups']='no'
1223 REPO['Visible']='yes'
1224 REPO['status']='disabled'
1225 REPO['BaseURL']=''
1226 REPO['MirrorList']='http://puias.math.ias.edu/data/puias/$releasever/$basearch/os/Addons/mirrorlist'
1227 REPO['GPGCheck']='yes'
1228 REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias'
1229 REPO['Exclude']=''
1230 REPO['IncludePkgs']=''
1231 REPO['Priority']=''
1232 createrepo
1233
1234 REPO['reponame']='springdale-addons-updates'
1235 REPO['pkgname']='springdale'
1236 REPO['fullreponame']='PUIAS Addons Updates'
1237 REPO['EnableGroups']='no'
1238 REPO['Visible']='yes'
1239 REPO['status']='disabled'
1240 REPO['BaseURL']=''
1241 REPO['MirrorList']='http://puias.math.ias.edu/data/puias/updates/Addons/$releasever/$basearch/mirrorlist'
1242 REPO['GPGCheck']='yes'
1243 REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias'
1244 REPO['Exclude']=''
1245 REPO['IncludePkgs']=''
1246 REPO['Priority']=''
1247 createrepo
1248
1249
1250 REPO['reponame']='springdale-unsupported'
1251 REPO['pkgname']='springdale'
1252 REPO['fullreponame']='PUIAS Unsupported'
1253 REPO['EnableGroups']='no'
1254 REPO['Visible']='yes'
1255 REPO['status']='disabled'
1256 REPO['BaseURL']=''
1257 REPO['MirrorList']='http://puias.math.ias.edu/data/puias/unsupported/$releasever/$basearch/mirrorlist'
1258 REPO['GPGCheck']='yes'
1259 REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias'
1260 REPO['Exclude']=''
1261 REPO['IncludePkgs']=''
1262 REPO['Priority']=''
1263 createrepo
1264
1265 REPO['reponame']='springdale-computational'
1266 REPO['pkgname']='springdale'
1267 REPO['fullreponame']='PUIAS Computational'
1268 REPO['EnableGroups']='no'
1269 REPO['Visible']='yes'
1270 REPO['status']='disabled'
1271 REPO['BaseURL']=''
1272 REPO['MirrorList']='http://puias.math.ias.edu/data/puias/computational/$releasever/$basearch/mirrorlist'
1273 REPO['GPGCheck']='yes'
1274 REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias'
1275 REPO['Exclude']=''
1276 REPO['IncludePkgs']=''
1277 REPO['Priority']=''
1278 createrepo
1279
1280
1281
1282
1283 #####################
1284 #####################
1285 #stephDL
1286 #####################
1287 #####################
1288 REPO['reponame']='stephdl'
1289 REPO['pkgname']=${REPO['reponame']}
1290 REPO['fullreponame']='Mirror Stephane de Labrusse'
1291 REPO['EnableGroups']='no'
1292 REPO['Visible']='yes'
1293 REPO['status']='disabled'
1294 REPO['BaseURL']='http://mirror.de-labrusse.fr/smeserver/$releasever'
1295 REPO['MirrorList']=''
1296 REPO['GPGCheck']='yes'
1297 REPO['GPGKey']='http://mirror.de-labrusse.fr/RPM-GPG-KEY'
1298 REPO['Exclude']=''
1299 REPO['IncludePkgs']=''
1300 REPO['Priority']=''
1301 createrepo
1302
1303 #####################
1304 #####################
1305 #VirtualBox
1306 #####################
1307 #####################
1308 REPO['reponame']='virtualbox'
1309 REPO['pkgname']=${REPO['reponame']}
1310 REPO['fullreponame']='RHEL/CentOS VirtualBox'
1311 REPO['EnableGroups']='no'
1312 REPO['Visible']='yes'
1313 REPO['status']='disabled'
1314 REPO['BaseURL']='http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch'
1315 REPO['MirrorList']=''
1316 REPO['GPGCheck']='yes'
1317 REPO['GPGKey']='https://www.virtualbox.org/download/oracle_vbox.asc'
1318 REPO['Exclude']=''
1319 REPO['IncludePkgs']=''
1320 REPO['Priority']=''
1321 createrepo
1322
1323 #####################
1324 #####################
1325 #Wandisco git
1326 #####################
1327 #####################
1328 REPO['reponame']='WANdisco-git'
1329 REPO['pkgname']=${REPO['reponame']}
1330 REPO['fullreponame']='WANdisco Distribution of git'
1331 REPO['EnableGroups']='no'
1332 REPO['Visible']='yes'
1333 REPO['status']='enabled'
1334 REPO['BaseURL']='https://opensource.wandisco.com/rhel/$releasever/git/$basearch'
1335 REPO['MirrorList']=''
1336 REPO['GPGCheck']='yes'
1337 REPO['GPGKey']="https://opensource.wandisco.com/RPM-GPG-KEY-WANdisco"
1338 REPO['Exclude']=''
1339 REPO['IncludePkgs']=''
1340 REPO['Priority']='10'
1341 createrepo
1342
1343 #####################
1344 #####################
1345 #Webtatic
1346 #####################
1347 #####################
1348 REPO['reponame']='webtatic'
1349 REPO['pkgname']=${REPO['reponame']}
1350 REPO['fullreponame']='webtatic - EL'
1351 REPO['EnableGroups']='no'
1352 REPO['Visible']='yes'
1353 REPO['status']='disabled'
1354 REPO['BaseURL']=''
1355 REPO['MirrorList']='http://mirror.webtatic.com/yum/el-$releasever/$basearch/mirrolist'
1356 REPO['GPGCheck']='yes'
1357 if ( "%{?dist}" == "el5" ); then
1358 REPO['GPGKey']='http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy'
1359 else
1360 REPO['GPGKey']="http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-%{?dist}"
1361 fi
1362 REPO['Exclude']=''
1363 REPO['IncludePkgs']=''
1364 REPO['Priority']=''
1365 createrepo
1366
1367 #####################
1368 #####################
1369 #Xymon
1370 #####################
1371 #####################
1372 REPO['reponame']='xymon'
1373 REPO['pkgname']=${REPO['reponame']}
1374 REPO['fullreponame']='Xymon Terabithia RPMS - EL'
1375 REPO['EnableGroups']='no'
1376 REPO['Visible']='yes'
1377 REPO['status']='disabled'
1378 REPO['BaseURL']='http://terabithia.org/rpms/xymon/el$releasever/'
1379 REPO['MirrorList']=''
1380 REPO['GPGCheck']='yes'
1381 REPO['GPGKey']="http://terabithia.org/rpms/RPM-GPG-KEY-JCLEAVER"
1382 REPO['Exclude']=''
1383 REPO['IncludePkgs']=''
1384 REPO['Priority']=''
1385 createrepo
1386
1387 #####################
1388 #####################
1389 #Zabbix2.4
1390 #####################
1391 #####################
1392 declare -A zabshort=( ['1.8']='18' ['2.0']='20' ['2.0']='20' ['2.4']='24' ['3.0']='30' ['3.2']='32' ['3.4']='34' ['4.0']='40' ['4.2']='42' ['4.4']='44' ['4.5']='45' ['5.0']='50' ['5.1']='51' ['5.2']='52' ['5.3']='53' ['5.4']='54' ['5.5']='55' )
1393 for elasver in "4.2" "4.4" '4.5' '5.0' '5.1' '5.2' '5.3' '5.4' '5.5'; do
1394 REPO['reponame']="zabbix${zabshort[$elasver]}"
1395 REPO['pkgname']='zabbix'
1396 REPO['fullreponame']="Zabbix $elasver Official Repository"
1397 REPO['EnableGroups']='no'
1398 REPO['Visible']='yes'
1399 REPO['status']='disabled'
1400 REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/"
1401 REPO['MirrorList']=''
1402 REPO['GPGCheck']='yes'
1403 REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591"
1404 REPO['Exclude']=''
1405 REPO['IncludePkgs']=''
1406 REPO['Priority']=''
1407 createrepo
1408 done
1409
1410 # webfront sclo
1411 for elasver in '5.0' '5.1'; do
1412 REPO['reponame']="zabbix${zabshort[$elasver]}-frontend"
1413 REPO['pkgname']='zabbix'
1414 REPO['fullreponame']="Zabbix $elasver Official Repository"
1415 REPO['EnableGroups']='no'
1416 REPO['Visible']='yes'
1417 REPO['status']='disabled'
1418 REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/frontend/"
1419 REPO['MirrorList']=''
1420 REPO['GPGCheck']='yes'
1421 REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591"
1422 REPO['Exclude']=''
1423 REPO['IncludePkgs']=''
1424 REPO['Priority']=''
1425 createrepo
1426 done
1427
1428
1429
1430 #####################
1431 #####################
1432 #zmrepo
1433 #####################
1434 #####################
1435 REPO['reponame']='zmrepo'
1436 REPO['pkgname']=${REPO['reponame']}
1437 REPO['fullreponame']='ZoneMinder Repo - EL'
1438 REPO['EnableGroups']='no'
1439 REPO['Visible']='yes'
1440 REPO['status']='disabled'
1441 REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch'
1442 REPO['MirrorList']=''
1443 REPO['GPGCheck']='no'
1444 REPO['GPGKey']=""
1445 REPO['Exclude']=''
1446 REPO['IncludePkgs']=''
1447 REPO['Priority']=''
1448 createrepo
1449
1450
1451 #####################################################
1452 # migrates
1453 ######################################################
1454 mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate
1455 cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/90sogo
1456 {
1457 my @add = split(/[,; ]+/, 'gnustep-*');
1458 my %remove = map { $_ => 1 } split(/[,; ]+/, '');
1459
1460 for my $name ( qw(epel) )
1461 {
1462 my $repo = $DB->get($name) or next;
1463
1464 my @exclude = split(/,/, $repo->prop('Exclude') || '');
1465 push @exclude, @add;
1466 @exclude = grep(!defined $remove{$_} && !/^CENTOS_/, @exclude);
1467
1468 # remove duplicates
1469 undef %saw;
1470 @exclude = grep(!$saw{$_}++, @exclude);
1471
1472 if ($#exclude >= 0)
1473 {
1474 $repo->set_prop('Exclude', join(',', @exclude));
1475 }
1476 else
1477 {
1478 $repo->delete('Exclude');
1479 }
1480 }
1481 }
1482
1483 EOF
1484
1485
1486 cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel
1487 {
1488 my @add = split(/[,; ]+/, 'pwauth');
1489 my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make');
1490
1491 for my $name ( qw(epel) )
1492 {
1493 my $repo = $DB->get($name) or next;
1494
1495 my @exclude = split(/,/, $repo->prop('Exclude') || '');
1496 push @exclude, @add;
1497 @exclude = grep(!defined $remove{$_} && !/^CENTOS_/, @exclude);
1498
1499 # remove duplicates
1500 undef %saw;
1501 @exclude = grep(!$saw{$_}++, @exclude);
1502
1503 if ($#exclude >= 0)
1504 {
1505 $repo->set_prop('Exclude', join(',', @exclude));
1506 }
1507 else
1508 {
1509 $repo->delete('Exclude');
1510 }
1511 }
1512 }
1513
1514 EOF
1515
1516 cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10zmrepo
1517 {
1518 for my $name ( qw(zmrepo) )
1519 {
1520 my $repo = $DB->get($name) or next;
1521 my $BaseURL = $repo->prop('BaseURL') || '';
1522 if ($BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g)
1523 {$repo->set_prop('BaseURL', $BaseURL);}
1524 $repo->delete('Exclude') if $repo->prop('delete');
1525 }
1526
1527 }
1528
1529 EOF
1530
1531
1532 cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10openfusion
1533 {
1534 my @addexclude = split(/,/,"perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-ExtUtils-Install,perl-parent");
1535 my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version');
1536 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");
1537
1538 my %removeinclude = map { $_ => 1 } split(/[,; ]+/, '');
1539
1540 for my $name ( qw(openfusion) )
1541 {
1542 my $repo = $DB->get($name) or next;
1543
1544 my @exclude = split(/,/, $repo->prop('Exclude') || '');
1545 push @exclude, @addexclude;
1546 @exclude = grep(!defined $removeexclude{$_} , @exclude);
1547 # remove duplicates
1548 undef %saw;
1549 @exclude = grep(!$saw{$_}++, @exclude);
1550 if ($#exclude >= 0)
1551 {
1552 $repo->set_prop('Exclude', join(',', @exclude));
1553 }
1554 else
1555 {
1556 $repo->delete('Exclude');
1557 }
1558
1559 my @include = split(/,/, $repo->prop('IncludePkgs') || '');
1560 push @include, @addinclude;
1561 @include = grep(!defined $removeinclude{$_} , @include);
1562 # remove duplicates
1563 undef %saw;
1564 @include = grep(!$saw{$_}++, @include);
1565 if ($#include >= 0)
1566 {
1567 $repo->set_prop('IncludePkgs', join(',', @include));
1568 }
1569 else
1570 {
1571 $repo->delete('IncludePkgs');
1572 }
1573
1574 }
1575
1576 }
1577
1578
1579 EOF
1580
1581
1582 cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/30mongodbDeleteOldRepos
1583 {
1584 for my $dbVer (qw( 0.9 1.0 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7)) {
1585 $dataBase = "mongodb$dbVer";
1586 my $repo = $DB->get($dataBase);
1587 $repo->delete if $repo;
1588 }
1589 }
1590
1591 EOF
1592
1593
1594
1595
1596 ##########################################################
1597
1598 rm -f %{name}-%{version}-filelist*
1599 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
1600 cat %{name}-%{version}-filelist|grep asterisk > %{name}-%{version}-filelist-asterisk
1601 cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic
1602 cat %{name}-%{version}-filelist| grep bareos > %{name}-%{version}-filelist-bareos
1603 cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo
1604 cat %{name}-%{version}-filelist| grep collaboraoffice > %{name}-%{version}-filelist-collaboraoffice
1605 cat %{name}-%{version}-filelist| grep docker-ce > %{name}-%{version}-filelist-docker-ce
1606 cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware
1607 cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic
1608 cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo
1609 cat %{name}-%{version}-filelist| grep epel > %{name}-%{version}-filelist-epel
1610 cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang
1611 cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch
1612 cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws
1613 cat %{name}-%{version}-filelist| grep fusioninventory-agent > %{name}-%{version}-filelist-fusioninventory-agent
1614 cat %{name}-%{version}-filelist| grep lemonldap > %{name}-%{version}-filelist-lemonldap
1615 cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan
1616 cat %{name}-%{version}-filelist| grep mongodb > %{name}-%{version}-filelist-mongodb
1617 cat %{name}-%{version}-filelist| grep nginx > %{name}-%{version}-filelist-nginx
1618 cat %{name}-%{version}-filelist| grep node > %{name}-%{version}-filelist-node
1619 if ( "%{?dist}" == "el7" ); then
1620 cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo
1621 fi
1622 cat %{name}-%{version}-filelist| grep okay > %{name}-%{version}-filelist-okay
1623 cat %{name}-%{version}-filelist| grep -i onlyoffice > %{name}-%{version}-filelist-onlyoffice
1624 cat %{name}-%{version}-filelist| grep openfusion > %{name}-%{version}-filelist-openfusion
1625 cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp
1626 cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory
1627 cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube
1628 cat %{name}-%{version}-filelist| grep remi|egrep -v 'ocsinventory|roundcube' > %{name}-%{version}-filelist-remi
1629 cat %{name}-%{version}-filelist| grep rpmfusion > %{name}-%{version}-filelist-rpmfusion
1630 cat %{name}-%{version}-filelist| grep sogo > %{name}-%{version}-filelist-sogo
1631 cat %{name}-%{version}-filelist| grep spectrum2 > %{name}-%{version}-filelist-spectrum2
1632 cat %{name}-%{version}-filelist| grep springdale > %{name}-%{version}-filelist-springdale
1633 cat %{name}-%{version}-filelist| grep stephdl > %{name}-%{version}-filelist-stephdl
1634 cat %{name}-%{version}-filelist| grep virtualbox > %{name}-%{version}-filelist-virtualbox
1635 cat %{name}-%{version}-filelist| grep -i wandisco > %{name}-%{version}-filelist-wandisco
1636 cat %{name}-%{version}-filelist| grep webtatic > %{name}-%{version}-filelist-webtatic
1637 cat %{name}-%{version}-filelist| grep xymon > %{name}-%{version}-filelist-xymon
1638 cat %{name}-%{version}-filelist| grep zabbix > %{name}-%{version}-filelist-zabbix
1639 cat %{name}-%{version}-filelist| grep zmrepo > %{name}-%{version}-filelist-zmrepo
1640 cat %{name}-%{version}-filelist| grep pgsql > %{name}-%{version}-filelist-pgsql
1641 %clean
1642 cd ..
1643 rm -rf %{name}-%{version}
1644
1645
1646 #%files -f %{name}-%{version}-filelist
1647 %files
1648 %defattr(-,root,root)
1649
1650 %pre
1651
1652 %preun
1653
1654 %post
1655
1656 %postun
1657 case "$1" in
1658
1659 0)
1660 # this is an uninstallation
1661 ;;
1662
1663 1)
1664 # this is an upgrade
1665 ;;
1666 esac
1667 %package asterisk
1668 Summary: Asterisk Repository tucny.com
1669 %description asterisk
1670 Asterisk Repository tucny.com
1671 %files asterisk -f %{name}-%{version}-filelist-asterisk
1672 %defattr(-,root,root)
1673
1674 %package atomic
1675 Summary: Atomic Repository
1676 %description atomic
1677 Atomic Repository
1678 %files atomic -f %{name}-%{version}-filelist-atomic
1679 %defattr(-,root,root)
1680
1681 %package bareos
1682 Summary: Backup Archiving Recovery Open Sourced
1683 %description bareos
1684 Backup Archiving Recovery Open Sourced repository
1685 %files bareos -f %{name}-%{version}-filelist-bareos
1686 %defattr(-,root,root)
1687
1688 %package centos-sclo
1689 Summary: CentOS Red-Hat software collection repository
1690 %description centos-sclo
1691 CentOS Red-Hat software collection repository only for x86_64 arch
1692 %files centos-sclo -f %{name}-%{version}-filelist-centos-sclo
1693 %defattr(-,root,root)
1694
1695 %package collaboraoffice
1696 Summary: collaboraoffice repo
1697 %description collaboraoffice
1698 collaboraoffice repo
1699 %files collaboraoffice -f %{name}-%{version}-filelist-collaboraoffice
1700 %defattr(-,root,root)
1701
1702 %package docker-ce
1703 Summary: docker-ce
1704 %description docker-ce
1705 docker-ce repo
1706 %files docker-ce -f %{name}-%{version}-filelist-docker-ce
1707 %defattr(-,root,root)
1708
1709 %package egroupware
1710 Summary: Repository for eGroupWare
1711 %description egroupware
1712 Repository for eGroupWare
1713 %files egroupware -f %{name}-%{version}-filelist-egroupware
1714 %defattr(-,root,root)
1715
1716 %package elastic
1717 Summary: Repositories for elastic search
1718 %description elastic
1719 Repositories for elastic search
1720 %files elastic -f %{name}-%{version}-filelist-elastic
1721 %defattr(-,root,root)
1722
1723 %package elrepo
1724 Summary: ElRepo.org Community Enterprise Linux Repository
1725 %description elrepo
1726 ElRepo.org Community Enterprise Linux Repository
1727 %files elrepo -f %{name}-%{version}-filelist-elrepo
1728 %defattr(-,root,root)
1729
1730 %package epel
1731 Summary: Fedora EPEL Repository
1732 %description epel
1733 Fedora EPEL Repository
1734 %files epel -f %{name}-%{version}-filelist-epel
1735 %defattr(-,root,root)
1736
1737 %package erlang
1738 Summary: Erlang Repository
1739 %description erlang
1740 Erlang is a programming language. It is specifically used for ejabberd.
1741 %files erlang -f %{name}-%{version}-filelist-erlang
1742 %defattr(-,root,root)
1743
1744 %package freeswitch
1745 Summary: Freeswitch Repository
1746 %description freeswitch
1747 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
1748 %files freeswitch -f %{name}-%{version}-filelist-freeswitch
1749 %defattr(-,root,root)
1750
1751 %package fws
1752 Summary: Firewall Services repository
1753 %description fws
1754 Firewall Services repository
1755 %files fws -f %{name}-%{version}-filelist-fws
1756 %defattr(-,root,root)
1757
1758 %package fusioninventory-agent
1759 Summary: Copr repo for fusioninventory-agent owned by trasher
1760 %description fusioninventory-agent
1761 Copr repo for fusioninventory-agent owned by trasher
1762 %files fusioninventory-agent -f %{name}-%{version}-filelist-fusioninventory-agent
1763 %defattr(-,root,root)
1764
1765 %package lemonldap
1766 Summary: Lemonldap NG Repository
1767 %description lemonldap
1768 LemonLDAP::NG Repository
1769 %files lemonldap -f %{name}-%{version}-filelist-lemonldap
1770 %defattr(-,root,root)
1771
1772 %package libreswan
1773 Summary: Libreswan Repository
1774 %description libreswan
1775 Libreswan Repository
1776 %files libreswan -f %{name}-%{version}-filelist-libreswan
1777 %defattr(-,root,root)
1778
1779 %package mongodb
1780 Summary: MongoDB Repositories
1781 %description mongodb
1782 MongoDB Repositories
1783 %files mongodb -f %{name}-%{version}-filelist-mongodb
1784 %defattr(-,root,root)
1785
1786 %package nginx
1787 Summary: nginx Repositories
1788 %description nginx
1789 Nginx Repositories
1790 %files nginx -f %{name}-%{version}-filelist-nginx
1791 %defattr(-,root,root)
1792
1793 %package node
1794 Summary: NodeJS Repositories
1795 %description node
1796 NodeJS Repositories
1797 %files node -f %{name}-%{version}-filelist-node
1798 %defattr(-,root,root)
1799
1800 %package odoo
1801 Summary: Odoo 10 Nightly - EL7 Repository
1802 Distribution: el7
1803 %description odoo
1804 Odoo 10 Nightly - EL7 Repository
1805 # comment as not available for centos 6 SME9
1806 #%files odoo -f %{name}-%{version}-filelist-odoo
1807 #%defattr(-,root,root)
1808
1809 %package okay
1810 Summary: Extra OKay Packages for Enterprise Linux
1811 %description okay
1812 Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX
1813 %files okay -f %{name}-%{version}-filelist-okay
1814 %defattr(-,root,root)
1815
1816 %package onlyoffice
1817 Summary: onlyoffice Repository
1818 %description onlyoffice
1819 onlyoffice Repository
1820 %files onlyoffice -f %{name}-%{version}-filelist-onlyoffice
1821 %defattr(-,root,root)
1822
1823 %package openfusion
1824 Summary: Openfusion Repository
1825 %description openfusion
1826 Openfusion Repository
1827 %files openfusion -f %{name}-%{version}-filelist-openfusion
1828 %defattr(-,root,root)
1829
1830 %package pgsql
1831 Summary: PostGreSQL Repositories
1832 %description pgsql
1833 PostGreSQL Repositories
1834 %files pgsql -f %{name}-%{version}-filelist-pgsql
1835 %defattr(-,root,root)
1836
1837 %package reetp
1838 Summary: Mirror John Crisp reetspetit.com
1839 %description reetp
1840 Mirror John Crisp reetspetit.com
1841 %files reetp -f %{name}-%{version}-filelist-reetp
1842 %defattr(-,root,root)
1843
1844 %package remi-ocsinventory
1845 Summary: Remi repository filtered to install OCSinventory
1846 %description remi-ocsinventory
1847 Remi repository filtered to install OCSinventory
1848 %files remi-ocsinventory -f %{name}-%{version}-filelist-remi-ocsinventory
1849 %defattr(-,root,root)
1850
1851 %package remi-roundcube
1852 Summary: Remi repository filtered to install Roundcube
1853 %description remi-roundcube
1854 Remi repository filtered to install Roundcube
1855 %files remi-roundcube -f %{name}-%{version}-filelist-remi-roundcube
1856 %defattr(-,root,root)
1857
1858 %package remi-unsafe
1859 Summary: Remi unsafe repository
1860 %description remi-unsafe
1861 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.
1862 %files remi-unsafe -f %{name}-%{version}-filelist-remi
1863 %defattr(-,root,root)
1864
1865 %package rpmfusion
1866 Summary: RPMFusion repositories
1867 %description rpmfusion
1868 RPMFusion repositories
1869 %files rpmfusion -f %{name}-%{version}-filelist-rpmfusion
1870 %defattr(-,root,root)
1871
1872 %package sogo
1873 Summary: SOGo repositories
1874 %description sogo
1875 SOGo repositories
1876 %files sogo -f %{name}-%{version}-filelist-sogo
1877 %defattr(-,root,root)
1878
1879 %package spectrum2
1880 Summary: Spectrum2 Repository
1881 %description spectrum2
1882 Spectrum2 Repository
1883 %files spectrum2 -f %{name}-%{version}-filelist-spectrum2
1884 %defattr(-,root,root)
1885
1886 %package springdale
1887 Summary: Springdale PUIAS Linux repos
1888 %description springdale
1889 Springdale PUIAS Linux repos
1890 %files springdale -f %{name}-%{version}-filelist-springdale
1891 %defattr(-,root,root)
1892
1893 %package stephdl
1894 Summary: Stephane De Labrusse Repository
1895 %description stephdl
1896 Stephane De Labrusse Repository
1897 %files stephdl -f %{name}-%{version}-filelist-stephdl
1898 %defattr(-,root,root)
1899
1900 %package virtualbox
1901 Summary: Virtualbox Repository
1902 %description virtualbox
1903 Virtualbox Repository
1904 %files virtualbox -f %{name}-%{version}-filelist-virtualbox
1905 %defattr(-,root,root)
1906
1907 %package wandisco
1908 Summary: WANdisco Distribution of git
1909 %description wandisco
1910 WANdisco Distribution of git
1911 %files wandisco -f %{name}-%{version}-filelist-wandisco
1912 %defattr(-,root,root)
1913
1914 %package webtatic
1915 Summary: Webtatic Repository
1916 %description webtatic
1917 Webtatic Repository
1918 %files webtatic -f %{name}-%{version}-filelist-webtatic
1919 %defattr(-,root,root)
1920
1921 %package xymon
1922 Summary: Xymon Terabithia Repository
1923 %description xymon
1924 Xymon Terabithia Repository
1925 %files xymon -f %{name}-%{version}-filelist-xymon
1926 %defattr(-,root,root)
1927
1928 %package zabbix
1929 Summary: Zabbix official Repository
1930 %description zabbix
1931 Zabbix official Repository
1932 %files zabbix -f %{name}-%{version}-filelist-zabbix
1933 %defattr(-,root,root)
1934
1935 %package zmrepo
1936 Summary: Zone Minder Repository
1937 %description zmrepo
1938 Zone Minder Repository
1939 %files zmrepo -f %{name}-%{version}-filelist-zmrepo
1940 %defattr(-,root,root)
1941
1942
1943

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