/[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.30 - (show annotations) (download)
Tue Feb 20 21:37:22 2024 UTC (2 months, 3 weeks ago) by jpp
Branch: MAIN
CVS Tags: smeserver-extrarepositories-0_1-45, HEAD
Changes since 1.29: +3 -3 lines
* Tue Feb 20 2024 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-45.sme
- update pgsql gpg keys and add new versions [SME: 12473]

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

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