1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 23 |
%define release 31 |
4 |
Summary: easy configuration of extra yum repo |
Summary: easy configuration of extra yum repo |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
18 |
Provides configuration for external yum repository comaptible with Koozali SME Server. |
Provides configuration for external yum repository comaptible with Koozali SME Server. |
19 |
|
|
20 |
%changelog |
%changelog |
21 |
* Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-23.sme |
* Sun May 02 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-31.sme |
22 |
|
- add perl-JSON to openfusion [SME: 11579] |
23 |
|
|
24 |
|
* Thu Mar 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-30.sme |
25 |
|
- fix zabbix key |
26 |
|
- fix update event for packages with multiple repo |
27 |
|
|
28 |
|
* Thu Mar 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-29.sme |
29 |
|
- add new zabbix version |
30 |
|
|
31 |
|
* Mon Mar 22 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-28.sme |
32 |
|
- add extra packages from openfusion [SME: 11223] |
33 |
|
- fix wrong event for remi-unsafe [SME: 11181] |
34 |
|
- add repo for postgsql |
35 |
|
- remove digium asterisk repo for SME10 [SME: 11482] |
36 |
|
- remove geekery repo [SME: 11483] |
37 |
|
|
38 |
|
* Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-27.sme |
39 |
|
- Add perl-Disk-Free and perl-Type-Tiny to Migrate script [SME: 11024] |
40 |
|
|
41 |
|
* Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-26.sme |
42 |
|
- Add perl-Disk-Free for smeserver-affa [SME: 11024] |
43 |
|
|
44 |
|
* Wed Dec 02 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-25.sme |
45 |
|
- add extar packages from Openfusion for NextCloud [SME: 11223] |
46 |
|
- perl-Array-Compare perl-Type-Tiny perl-Exporter-Tiny |
47 |
|
|
48 |
|
* Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-24.sme |
49 |
- add event on update to avoid reboot [SME: 11181] |
- add event on update to avoid reboot [SME: 11181] |
50 |
- remove remi-safe as it is now in core rpm [SME: 11182] |
- remove remi-safe as it is now in core rpm [SME: 11182] |
51 |
|
|
145 |
echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible |
echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible |
146 |
echo "${REPO['status']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status |
echo "${REPO['status']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status |
147 |
echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type |
echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type |
148 |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['reponame']}-update/templates2expand/etc/yum.smerepos.d/ |
|
149 |
touch $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['reponame']}-update/templates2expand/etc/yum.smerepos.d/sme-base.repo |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['pkgname']}-update/templates2expand/etc/yum.smerepos.d/ |
150 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['pkgname']}-update/templates2expand/etc/yum.smerepos.d/sme-base.repo |
151 |
|
|
152 |
[[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\ |
[[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\ |
153 |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL |
164 |
|
|
165 |
|
|
166 |
|
|
|
###################### |
|
|
##################### |
|
|
# asterisk 13 LTS |
|
|
##################### |
|
|
##################### |
|
|
REPO['reponame']='asterisk-13' |
|
|
REPO['fullreponame']='Asterisk-13 - EL' |
|
|
REPO['EnableGroups']='yes' |
|
|
REPO['GPGCheck']='no' |
|
|
REPO['Visible']='no' |
|
|
REPO['status']='disabled' |
|
|
REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/asterisk-13/$basearch/' |
|
|
REPO['MirrorList']='' |
|
|
REPO['GPGKey']='' |
|
|
REPO['Exclude']='' |
|
|
REPO['IncludePkgs']='' |
|
|
createrepo |
|
|
|
|
|
###################### |
|
|
##################### |
|
|
# asterisk current |
|
|
##################### |
|
|
##################### |
|
|
REPO['reponame']='asterisk-current' |
|
|
REPO['fullreponame']='Asterisk-current - EL' |
|
|
REPO['EnableGroups']='yes' |
|
|
REPO['GPGCheck']='no' |
|
|
REPO['Visible']='no' |
|
|
REPO['status']='disabled' |
|
|
REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/' |
|
|
REPO['MirrorList']='' |
|
|
REPO['GPGKey']='' |
|
|
REPO['Exclude']='' |
|
|
REPO['IncludePkgs']='' |
|
|
createrepo |
|
|
|
|
|
##################### |
|
|
##################### |
|
|
# Digium Repo |
|
|
##################### |
|
|
##################### |
|
|
REPO['reponame']='digium-current' |
|
|
REPO['fullreponame']='Digium packages - EL' |
|
|
REPO['EnableGroups']='no' |
|
|
REPO['Visible']='no' |
|
|
REPO['status']='disabled' |
|
|
REPO['BaseURL']='http://packages.digium.com/centos/$releasever/current/$basearch/' |
|
|
REPO['MirrorList']='' |
|
|
REPO['GPGCheck']='no' |
|
|
REPO['GPGKey']='' |
|
|
REPO['Exclude']='' |
|
|
REPO['IncludePkgs']='' |
|
|
createrepo |
|
|
|
|
|
##################### |
|
|
##################### |
|
|
# Digium 13 |
|
|
##################### |
|
|
##################### |
|
|
REPO['reponame']='digium-13' |
|
|
REPO['fullreponame']='Digium-13 packages - EL' |
|
|
REPO['EnableGroups']='no' |
|
|
REPO['Visible']='no' |
|
|
REPO['status']='disabled' |
|
|
REPO['BaseURL']='http://packages.digium.com/centos/$releasever/digium-13/$basearch/' |
|
|
REPO['MirrorList']='' |
|
|
REPO['GPGCheck']='no' |
|
|
REPO['GPGKey']='' |
|
|
REPO['Exclude']='' |
|
|
REPO['IncludePkgs']='' |
|
|
createrepo |
|
|
|
|
167 |
##################### |
##################### |
168 |
##################### |
##################### |
169 |
#atomic |
#atomic |
170 |
##################### |
##################### |
171 |
##################### |
##################### |
172 |
REPO['reponame']='atomic' |
REPO['reponame']='atomic' |
173 |
|
REPO['pkgname']=${REPO['reponame']} |
174 |
REPO['fullreponame']='Atomic' |
REPO['fullreponame']='Atomic' |
175 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
176 |
REPO['Visible']='no' |
REPO['Visible']='no' |
189 |
##################### |
##################### |
190 |
##################### |
##################### |
191 |
REPO['reponame']='centos-sclo-centos' |
REPO['reponame']='centos-sclo-centos' |
192 |
|
REPO['pkgname']=${REPO['reponame']} |
193 |
REPO['fullreponame']='Centos-RH Software collections' |
REPO['fullreponame']='Centos-RH Software collections' |
194 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
195 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
208 |
##################### |
##################### |
209 |
##################### |
##################### |
210 |
REPO['reponame']='centos-sclo-rh' |
REPO['reponame']='centos-sclo-rh' |
211 |
|
REPO['pkgname']=${REPO['reponame']} |
212 |
REPO['fullreponame']='Centos-RH Software collections' |
REPO['fullreponame']='Centos-RH Software collections' |
213 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
214 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
227 |
##################### |
##################### |
228 |
##################### |
##################### |
229 |
REPO['reponame']='egroupware' |
REPO['reponame']='egroupware' |
230 |
|
REPO['pkgname']=${REPO['reponame']} |
231 |
REPO['fullreponame']='server_eGroupWare' |
REPO['fullreponame']='server_eGroupWare' |
232 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
233 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
248 |
declare -A elashort=( ['6.x']='6.x' ['5.x']='5.x' ['1.6']='1' ) |
declare -A elashort=( ['6.x']='6.x' ['5.x']='5.x' ['1.6']='1' ) |
249 |
for elasver in "6.x" "5.x" "1.6"; do |
for elasver in "6.x" "5.x" "1.6"; do |
250 |
REPO['reponame']="elastic${elashort[$elasver]}" |
REPO['reponame']="elastic${elashort[$elasver]}" |
251 |
|
REPO['pkgname']='elastic' |
252 |
REPO['fullreponame']="Elasticsearch repository for $elasver packages" |
REPO['fullreponame']="Elasticsearch repository for $elasver packages" |
253 |
REPO['EnableGroups']='yes' |
REPO['EnableGroups']='yes' |
254 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
268 |
##################### |
##################### |
269 |
##################### |
##################### |
270 |
REPO['reponame']='elrepo' |
REPO['reponame']='elrepo' |
271 |
|
REPO['pkgname']='elrepo' |
272 |
REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository' |
REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository' |
273 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
274 |
REPO['Visible']='no' |
REPO['Visible']='no' |
287 |
##################### |
##################### |
288 |
##################### |
##################### |
289 |
REPO['reponame']='elrepo-kernel' |
REPO['reponame']='elrepo-kernel' |
290 |
|
REPO['pkgname']='elrepo' |
291 |
REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel' |
REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel' |
292 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
293 |
REPO['Visible']='no' |
REPO['Visible']='no' |
306 |
##################### |
##################### |
307 |
##################### |
##################### |
308 |
REPO['reponame']='epel' |
REPO['reponame']='epel' |
309 |
|
REPO['pkgname']=${REPO['reponame']} |
310 |
REPO['fullreponame']='EPEL' |
REPO['fullreponame']='EPEL' |
311 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
312 |
REPO['Visible']='no' |
REPO['Visible']='no' |
325 |
##################### |
##################### |
326 |
##################### |
##################### |
327 |
REPO['reponame']='erlang' |
REPO['reponame']='erlang' |
328 |
|
REPO['pkgname']=${REPO['reponame']} |
329 |
REPO['fullreponame']='erlang programming language' |
REPO['fullreponame']='erlang programming language' |
330 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
331 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
344 |
##################### |
##################### |
345 |
##################### |
##################### |
346 |
REPO['reponame']='freeswitch' |
REPO['reponame']='freeswitch' |
347 |
|
REPO['pkgname']=${REPO['reponame']} |
348 |
REPO['fullreponame']='Freeswitch' |
REPO['fullreponame']='Freeswitch' |
349 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
350 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
363 |
##################### |
##################### |
364 |
##################### |
##################### |
365 |
REPO['reponame']='fws' |
REPO['reponame']='fws' |
366 |
|
REPO['pkgname']=${REPO['reponame']} |
367 |
REPO['fullreponame']='Firewall Services' |
REPO['fullreponame']='Firewall Services' |
368 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
369 |
REPO['Visible']='no' |
REPO['Visible']='no' |
382 |
##################### |
##################### |
383 |
##################### |
##################### |
384 |
REPO['reponame']='fws-testing' |
REPO['reponame']='fws-testing' |
385 |
|
REPO['pkgname']='fws' |
386 |
REPO['fullreponame']='Firewall Services testing' |
REPO['fullreponame']='Firewall Services testing' |
387 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
388 |
REPO['Visible']='no' |
REPO['Visible']='no' |
397 |
|
|
398 |
##################### |
##################### |
399 |
##################### |
##################### |
|
# Geekery (last update 2016-09-25) |
|
|
##################### |
|
|
##################### |
|
|
REPO['reponame']='geekery' |
|
|
REPO['fullreponame']='geekery repository' |
|
|
REPO['EnableGroups']='no' |
|
|
REPO['Visible']='no' |
|
|
REPO['status']='disabled' |
|
|
REPO['BaseURL']='' |
|
|
REPO['MirrorList']='http://geekery.epac.to/geekery/el$releasever-mirrors' |
|
|
REPO['GPGCheck']='yes' |
|
|
REPO['GPGKey']='http://geekery.altervista.org/download.php?filename=GEEKERY-GPG-KEY' |
|
|
REPO['Exclude']='' |
|
|
REPO['IncludePkgs']='' |
|
|
createrepo |
|
|
|
|
|
##################### |
|
|
##################### |
|
400 |
# Libreswan |
# Libreswan |
401 |
##################### |
##################### |
402 |
##################### |
##################### |
403 |
REPO['reponame']='libreswan' |
REPO['reponame']='libreswan' |
404 |
|
REPO['pkgname']=${REPO['reponame']} |
405 |
REPO['fullreponame']='Libreswan' |
REPO['fullreponame']='Libreswan' |
406 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
407 |
REPO['Visible']='no' |
REPO['Visible']='no' |
420 |
# NodeJS 4 |
# NodeJS 4 |
421 |
##################### |
##################### |
422 |
##################### |
##################### |
423 |
REPO['reponame']='node4' |
for nodever in "4" "5" "6" "7" "8" "9" "10" "11"; do |
424 |
REPO['fullreponame']='NodeJS 4' |
REPO['reponame']="node$nodever" |
425 |
REPO['EnableGroups']='no' |
REPO['pkgname']='node' |
426 |
REPO['Visible']='no' |
REPO['fullreponame']="NodeJS $nodever" |
|
REPO['status']='disabled' |
|
|
REPO['BaseURL']='https://rpm.nodesource.com/pub_4.x/el/$releasever/$basearch/' |
|
|
REPO['MirrorList']='' |
|
|
REPO['GPGCheck']='no' |
|
|
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
|
|
REPO['Exclude']='' |
|
|
REPO['IncludePkgs']='' |
|
|
createrepo |
|
|
|
|
|
##################### |
|
|
##################### |
|
|
# NodeJS 5 |
|
|
##################### |
|
|
##################### |
|
|
REPO['reponame']='node5' |
|
|
REPO['fullreponame']='NodeJS 5' |
|
427 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
428 |
REPO['Visible']='no' |
REPO['Visible']='no' |
429 |
REPO['status']='disabled' |
REPO['status']='disabled' |
430 |
REPO['BaseURL']='https://rpm.nodesource.com/pub_5.x/el/$releasever/$basearch/' |
REPO['BaseURL']='https://rpm.nodesource.com/pub_'.$nodever.'.x/el/$releasever/$basearch/' |
431 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
432 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
433 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
434 |
REPO['Exclude']='' |
REPO['Exclude']='' |
435 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
436 |
createrepo |
createrepo |
437 |
|
done |
438 |
|
|
|
##################### |
|
|
##################### |
|
|
# NodeJS 6 |
|
|
##################### |
|
|
##################### |
|
|
REPO['reponame']='node6' |
|
|
REPO['fullreponame']='NodeJS 6' |
|
|
REPO['EnableGroups']='no' |
|
|
REPO['Visible']='no' |
|
|
REPO['status']='disabled' |
|
|
REPO['BaseURL']='https://rpm.nodesource.com/pub_6.x/el/$releasever/$basearch/' |
|
|
REPO['MirrorList']='' |
|
|
REPO['GPGCheck']='no' |
|
|
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
|
|
REPO['Exclude']='' |
|
|
REPO['IncludePkgs']='' |
|
|
createrepo |
|
439 |
|
|
440 |
|
if ( "%{?dist}" == "el7" ); then |
441 |
##################### |
##################### |
442 |
##################### |
##################### |
443 |
# NodeJS 7 |
# Odoo10-nightly |
444 |
##################### |
##################### |
445 |
##################### |
##################### |
446 |
REPO['reponame']='node7' |
REPO['reponame']='odoo10-nightly' |
447 |
REPO['fullreponame']='NodeJS 7' |
REPO['pkgname']='odoo' |
448 |
|
REPO['fullreponame']='Odoo 10 Nightly - EL7' |
449 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
450 |
REPO['Visible']='no' |
REPO['Visible']='no' |
451 |
REPO['status']='disabled' |
REPO['status']='disabled' |
452 |
REPO['BaseURL']='https://rpm.nodesource.com/pub_7.x/el/$releasever/$basearch/' |
REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/' |
453 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
454 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='yes' |
455 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://nightly.odoo.com/odoo.key' |
456 |
REPO['Exclude']='' |
REPO['Exclude']='' |
457 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
458 |
createrepo |
createrepo |
459 |
|
|
460 |
##################### |
##################### |
461 |
##################### |
##################### |
462 |
# NodeJS |
# Odoo9-nightly |
463 |
##################### |
##################### |
464 |
##################### |
##################### |
465 |
REPO['reponame']='node8' |
REPO['reponame']='odoo9-nightly' |
466 |
REPO['fullreponame']='NodeJS 8' |
REPO['pkgname']='odoo' |
467 |
|
REPO['fullreponame']='Odoo 9 Nightly - EL7' |
468 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
469 |
REPO['Visible']='no' |
REPO['Visible']='no' |
470 |
REPO['status']='disabled' |
REPO['status']='disabled' |
471 |
REPO['BaseURL']='https://rpm.nodesource.com/pub_8.x/el/$releasever/$basearch/' |
REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/' |
472 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
473 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='yes' |
474 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://nightly.odoo.com/odoo.key' |
475 |
REPO['Exclude']='' |
REPO['Exclude']='' |
476 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
477 |
createrepo |
createrepo |
478 |
|
fi |
479 |
|
|
480 |
##################### |
##################### |
481 |
##################### |
##################### |
482 |
# NodeJS 9 |
# Okay |
483 |
##################### |
##################### |
484 |
##################### |
##################### |
485 |
REPO['reponame']='node9' |
REPO['reponame']='okay' |
486 |
REPO['fullreponame']='NodeJS 9' |
REPO['pkgname']=${REPO['reponame']} |
487 |
|
REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX' |
488 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
489 |
REPO['Visible']='no' |
REPO['Visible']='no' |
490 |
REPO['status']='disabled' |
REPO['status']='disabled' |
491 |
REPO['BaseURL']='https://rpm.nodesource.com/pub_9.x/el/$releasever/$basearch/' |
REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release' |
492 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
493 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
494 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='' |
495 |
REPO['Exclude']='' |
REPO['Exclude']='' |
496 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
497 |
createrepo |
createrepo |
498 |
|
|
499 |
##################### |
##################### |
500 |
##################### |
##################### |
501 |
# NodeJS 10 |
# Openfusion |
502 |
##################### |
##################### |
503 |
##################### |
##################### |
504 |
REPO['reponame']='node10' |
REPO['reponame']='openfusion' |
505 |
REPO['fullreponame']='NodeJS 10' |
REPO['pkgname']=${REPO['reponame']} |
506 |
|
REPO['fullreponame']='Openfusion' |
507 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
508 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
509 |
REPO['status']='disabled' |
REPO['status']='disabled' |
510 |
REPO['BaseURL']='https://rpm.nodesource.com/pub_10.x/el/$releasever/$basearch/' |
REPO['BaseURL']='http://repo.openfusion.net/centos$releasever-$basearch' |
511 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
512 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='yes' |
513 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
514 |
REPO['Exclude']='' |
REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-ExtUtils-Install,perl-parent' |
515 |
REPO['IncludePkgs']='' |
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' |
516 |
createrepo |
createrepo |
517 |
|
|
518 |
##################### |
##################### |
519 |
##################### |
##################### |
520 |
# NodeJS 11 |
# Postgresql |
521 |
##################### |
##################### |
522 |
##################### |
##################### |
523 |
REPO['reponame']='node11' |
for pgsqlver in "9.6" "10" "11" "12" "13"; do |
524 |
REPO['fullreponame']='NodeJS 11' |
REPO['reponame']="pgsql$pgsqlver" |
525 |
|
REPO['pkgname']='pgsql' |
526 |
|
REPO['fullreponame']="Postgresql $pgsqlver" |
527 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
528 |
REPO['Visible']='no' |
REPO['Visible']='no' |
529 |
REPO['status']='disabled' |
REPO['status']='disabled' |
530 |
REPO['BaseURL']='https://rpm.nodesource.com/pub_11.x/el/$releasever/$basearch/' |
REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
531 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
532 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='yes' |
533 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
ext=$pgsqlver; |
534 |
|
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
535 |
|
REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext |
536 |
REPO['Exclude']='' |
REPO['Exclude']='' |
537 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
538 |
createrepo |
createrepo |
539 |
|
|
540 |
|
|
541 |
|
REPO['reponame']="pgsql$pgsqlver-nonfree" |
542 |
if ( "%{?dist}" == "el7" ); then |
REPO['pkgname']='pgsql' |
543 |
##################### |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
|
##################### |
|
|
# Odoo10-nightly |
|
|
##################### |
|
|
##################### |
|
|
REPO['reponame']='odoo10-nightly' |
|
|
REPO['fullreponame']='Odoo 10 Nightly - EL7' |
|
544 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
545 |
REPO['Visible']='no' |
REPO['Visible']='no' |
546 |
REPO['status']='disabled' |
REPO['status']='disabled' |
547 |
REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/' |
REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/non-free/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
548 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
549 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
550 |
REPO['GPGKey']='https://nightly.odoo.com/odoo.key' |
ext=$pgsqlver; |
551 |
|
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
552 |
|
REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext |
553 |
REPO['Exclude']='' |
REPO['Exclude']='' |
554 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
555 |
createrepo |
createrepo |
556 |
|
|
557 |
##################### |
REPO['reponame']="pgsql$pgsqlver-common" |
558 |
##################### |
REPO['pkgname']='pgsql' |
559 |
# Odoo9-nightly |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
|
##################### |
|
|
##################### |
|
|
REPO['reponame']='odoo9-nightly' |
|
|
REPO['fullreponame']='Odoo 9 Nightly - EL7' |
|
560 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
561 |
REPO['Visible']='no' |
REPO['Visible']='no' |
562 |
REPO['status']='disabled' |
REPO['status']='disabled' |
563 |
REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/' |
REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/common/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
564 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
565 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
566 |
REPO['GPGKey']='https://nightly.odoo.com/odoo.key' |
ext=$pgsqlver; |
567 |
|
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
568 |
|
REPO['GPGKey']='https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-'.$ext |
569 |
REPO['Exclude']='' |
REPO['Exclude']='' |
570 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
571 |
createrepo |
createrepo |
|
fi |
|
572 |
|
|
573 |
##################### |
done |
|
##################### |
|
|
# Okay |
|
|
##################### |
|
|
##################### |
|
|
REPO['reponame']='okay' |
|
|
REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX' |
|
|
REPO['EnableGroups']='no' |
|
|
REPO['Visible']='no' |
|
|
REPO['status']='disabled' |
|
|
REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release' |
|
|
REPO['MirrorList']='' |
|
|
REPO['GPGCheck']='no' |
|
|
REPO['GPGKey']='' |
|
|
REPO['Exclude']='' |
|
|
REPO['IncludePkgs']='' |
|
|
createrepo |
|
|
|
|
|
##################### |
|
|
##################### |
|
|
# Openfusion |
|
|
##################### |
|
|
##################### |
|
|
REPO['reponame']='openfusion' |
|
|
REPO['fullreponame']='Openfusion' |
|
|
REPO['EnableGroups']='no' |
|
|
REPO['Visible']='yes' |
|
|
REPO['status']='disabled' |
|
|
REPO['BaseURL']='http://repo.openfusion.net/centos$releasever-$basearch' |
|
|
REPO['MirrorList']='' |
|
|
REPO['GPGCheck']='yes' |
|
|
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
|
|
REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-Exporter-Tiny,perl-ExtUtils-Install,perl-parent' |
|
|
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' |
|
|
createrepo |
|
574 |
|
|
575 |
##################### |
##################### |
576 |
##################### |
##################### |
578 |
##################### |
##################### |
579 |
##################### |
##################### |
580 |
REPO['reponame']='reetp' |
REPO['reponame']='reetp' |
581 |
|
REPO['pkgname']=${REPO['reponame']} |
582 |
REPO['fullreponame']='Mirror John Crisp reetspetit.com' |
REPO['fullreponame']='Mirror John Crisp reetspetit.com' |
583 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
584 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
597 |
##################### |
##################### |
598 |
##################### |
##################### |
599 |
REPO['reponame']='remi' |
REPO['reponame']='remi' |
600 |
|
REPO['pkgname']='remi-unsafe' |
601 |
REPO['fullreponame']='Remi - EL unsafe, will conflict with your base rpms' |
REPO['fullreponame']='Remi - EL unsafe, will conflict with your base rpms' |
602 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
603 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
616 |
##################### |
##################### |
617 |
##################### |
##################### |
618 |
REPO['reponame']='remi-ocsinventory' |
REPO['reponame']='remi-ocsinventory' |
619 |
|
REPO['pkgname']=${REPO['reponame']} |
620 |
REPO['fullreponame']='Remi ocsinventory - EL' |
REPO['fullreponame']='Remi ocsinventory - EL' |
621 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
622 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
635 |
##################### |
##################### |
636 |
##################### |
##################### |
637 |
REPO['reponame']='remi-roundcube' |
REPO['reponame']='remi-roundcube' |
638 |
|
REPO['pkgname']=${REPO['reponame']} |
639 |
REPO['fullreponame']='Remi Roundcube - EL' |
REPO['fullreponame']='Remi Roundcube - EL' |
640 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
641 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
655 |
##################### |
##################### |
656 |
##################### |
##################### |
657 |
REPO['reponame']='rpmfusion' |
REPO['reponame']='rpmfusion' |
658 |
|
REPO['pkgname']=${REPO['reponame']} |
659 |
REPO['fullreponame']='rpmfusion free EL' |
REPO['fullreponame']='rpmfusion free EL' |
660 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
661 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
674 |
##################### |
##################### |
675 |
##################### |
##################### |
676 |
REPO['reponame']='rpmfusion-nonfree' |
REPO['reponame']='rpmfusion-nonfree' |
677 |
|
REPO['pkgname']='rpmfusion' |
678 |
REPO['fullreponame']='rpmfusion nonfree EL' |
REPO['fullreponame']='rpmfusion nonfree EL' |
679 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
680 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
693 |
##################### |
##################### |
694 |
##################### |
##################### |
695 |
REPO['reponame']='sogo' |
REPO['reponame']='sogo' |
696 |
|
REPO['pkgname']=${REPO['reponame']} |
697 |
REPO['fullreponame']='Inverse SOGo 2 Repository' |
REPO['fullreponame']='Inverse SOGo 2 Repository' |
698 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
699 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
712 |
##################### |
##################### |
713 |
##################### |
##################### |
714 |
REPO['reponame']='sogo3' |
REPO['reponame']='sogo3' |
715 |
|
REPO['pkgname']='sogo' |
716 |
REPO['fullreponame']='Inverse SOGo 3 Repository' |
REPO['fullreponame']='Inverse SOGo 3 Repository' |
717 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
718 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
731 |
##################### |
##################### |
732 |
##################### |
##################### |
733 |
REPO['reponame']='sogo4' |
REPO['reponame']='sogo4' |
734 |
|
REPO['pkgname']='sogo' |
735 |
REPO['fullreponame']='Inverse SOGo 4 Repository' |
REPO['fullreponame']='Inverse SOGo 4 Repository' |
736 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
737 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
750 |
##################### |
##################### |
751 |
##################### |
##################### |
752 |
REPO['reponame']='sogo-subscription' |
REPO['reponame']='sogo-subscription' |
753 |
|
REPO['pkgname']='sogo' |
754 |
REPO['fullreponame']='Inverse SOGo Repository only with subscription' |
REPO['fullreponame']='Inverse SOGo Repository only with subscription' |
755 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
756 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
769 |
##################### |
##################### |
770 |
##################### |
##################### |
771 |
REPO['reponame']='spectrum2' |
REPO['reponame']='spectrum2' |
772 |
|
REPO['pkgname']=${REPO['reponame']} |
773 |
REPO['fullreponame']='Spectrum2' |
REPO['fullreponame']='Spectrum2' |
774 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
775 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
788 |
##################### |
##################### |
789 |
##################### |
##################### |
790 |
REPO['reponame']='springdale-core' |
REPO['reponame']='springdale-core' |
791 |
|
REPO['pkgname']='springdale' |
792 |
REPO['fullreponame']='PUIAS core Base' |
REPO['fullreponame']='PUIAS core Base' |
793 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
794 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
802 |
createrepo |
createrepo |
803 |
|
|
804 |
REPO['reponame']='springdale-updates' |
REPO['reponame']='springdale-updates' |
805 |
|
REPO['pkgname']='springdale' |
806 |
REPO['fullreponame']='PUIAS core Updates' |
REPO['fullreponame']='PUIAS core Updates' |
807 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
808 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
816 |
createrepo |
createrepo |
817 |
|
|
818 |
REPO['reponame']='springdale-addons' |
REPO['reponame']='springdale-addons' |
819 |
|
REPO['pkgname']='springdale' |
820 |
REPO['fullreponame']='PUIAS Addons' |
REPO['fullreponame']='PUIAS Addons' |
821 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
822 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
830 |
createrepo |
createrepo |
831 |
|
|
832 |
REPO['reponame']='springdale-addons-updates' |
REPO['reponame']='springdale-addons-updates' |
833 |
|
REPO['pkgname']='springdale' |
834 |
REPO['fullreponame']='PUIAS Addons Updates' |
REPO['fullreponame']='PUIAS Addons Updates' |
835 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
836 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
845 |
|
|
846 |
|
|
847 |
REPO['reponame']='springdale-unsupported' |
REPO['reponame']='springdale-unsupported' |
848 |
|
REPO['pkgname']='springdale' |
849 |
REPO['fullreponame']='PUIAS Unsupported' |
REPO['fullreponame']='PUIAS Unsupported' |
850 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
851 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
859 |
createrepo |
createrepo |
860 |
|
|
861 |
REPO['reponame']='springdale-computational' |
REPO['reponame']='springdale-computational' |
862 |
|
REPO['pkgname']='springdale' |
863 |
REPO['fullreponame']='PUIAS Computational' |
REPO['fullreponame']='PUIAS Computational' |
864 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
865 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
881 |
##################### |
##################### |
882 |
##################### |
##################### |
883 |
REPO['reponame']='stephdl' |
REPO['reponame']='stephdl' |
884 |
|
REPO['pkgname']=${REPO['reponame']} |
885 |
REPO['fullreponame']='Mirror Stephane de Labrusse' |
REPO['fullreponame']='Mirror Stephane de Labrusse' |
886 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
887 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
900 |
##################### |
##################### |
901 |
##################### |
##################### |
902 |
REPO['reponame']='virtualbox' |
REPO['reponame']='virtualbox' |
903 |
|
REPO['pkgname']=${REPO['reponame']} |
904 |
REPO['fullreponame']='RHEL/CentOS VirtualBox' |
REPO['fullreponame']='RHEL/CentOS VirtualBox' |
905 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
906 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
919 |
##################### |
##################### |
920 |
##################### |
##################### |
921 |
REPO['reponame']='webtatic' |
REPO['reponame']='webtatic' |
922 |
|
REPO['pkgname']=${REPO['reponame']} |
923 |
REPO['fullreponame']='webtatic - EL' |
REPO['fullreponame']='webtatic - EL' |
924 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
925 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
942 |
##################### |
##################### |
943 |
##################### |
##################### |
944 |
REPO['reponame']='xymon' |
REPO['reponame']='xymon' |
945 |
|
REPO['pkgname']=${REPO['reponame']} |
946 |
REPO['fullreponame']='Xymon Terabithia RPMS - EL' |
REPO['fullreponame']='Xymon Terabithia RPMS - EL' |
947 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
948 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
960 |
#Zabbix2.4 |
#Zabbix2.4 |
961 |
##################### |
##################### |
962 |
##################### |
##################### |
963 |
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') |
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') |
964 |
for elasver in "4.2" "4.4" ; do |
for elasver in "4.2" "4.4" '4.5' '5.0' '5.1' '5.2' '5.3'; do |
965 |
REPO['reponame']="zabbix${zabshort[$elasver]}" |
REPO['reponame']="zabbix${zabshort[$elasver]}" |
966 |
|
REPO['pkgname']='zabbix' |
967 |
REPO['fullreponame']="Zabbix $elasver Official Repository" |
REPO['fullreponame']="Zabbix $elasver Official Repository" |
968 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
969 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
971 |
REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/" |
REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/" |
972 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
973 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
974 |
REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX" |
REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591" |
975 |
REPO['Exclude']='' |
REPO['Exclude']='' |
976 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
977 |
createrepo |
createrepo |
983 |
##################### |
##################### |
984 |
##################### |
##################### |
985 |
REPO['reponame']='zmrepo' |
REPO['reponame']='zmrepo' |
986 |
|
REPO['pkgname']=${REPO['reponame']} |
987 |
REPO['fullreponame']='ZoneMinder Repo - EL' |
REPO['fullreponame']='ZoneMinder Repo - EL' |
988 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
989 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
1077 |
|
|
1078 |
EOF |
EOF |
1079 |
|
|
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk |
|
|
{ |
|
|
for my $name ( qw(asterisk-current) ) |
|
|
{ |
|
|
my $repo = $DB->get($name) or next; |
|
|
my $BaseURL = $repo->prop('BaseURL') || ''; |
|
|
if ($BaseURL =~ s/centos\$/centos\/\$/g) |
|
|
{$repo->set_prop('BaseURL', $BaseURL);} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
EOF |
|
1080 |
|
|
1081 |
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10openfusion |
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10openfusion |
1082 |
{ |
{ |
1083 |
my @addexclude = split(/,/,"perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-Exporter-Tiny,perl-ExtUtils-Install,perl-parent"); |
my @addexclude = split(/,/,"perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-ExtUtils-Install,perl-parent"); |
1084 |
my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version'); |
my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version'); |
1085 |
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"); |
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"); |
1086 |
|
|
1087 |
my %removeinclude = map { $_ => 1 } split(/[,; ]+/, ''); |
my %removeinclude = map { $_ => 1 } split(/[,; ]+/, ''); |
1088 |
|
|
1089 |
for my $name ( qw(openfusion) ) |
for my $name ( qw(openfusion) ) |
1137 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
1138 |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
1139 |
cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo |
cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo |
|
cat %{name}-%{version}-filelist| egrep 'digium|asterisk' > %{name}-%{version}-filelist-asterisk |
|
1140 |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
1141 |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
1142 |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
1144 |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
1145 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
1146 |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
|
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
|
1147 |
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
1148 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
1149 |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
1152 |
cat %{name}-%{version}-filelist| grep openfusion > %{name}-%{version}-filelist-openfusion |
cat %{name}-%{version}-filelist| grep openfusion > %{name}-%{version}-filelist-openfusion |
1153 |
cat %{name}-%{version}-filelist| grep node > %{name}-%{version}-filelist-node |
cat %{name}-%{version}-filelist| grep node > %{name}-%{version}-filelist-node |
1154 |
cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp |
cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp |
|
cat %{name}-%{version}-filelist| grep remi-safe > %{name}-%{version}-filelist-remi-safe |
|
1155 |
cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory |
cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory |
1156 |
cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube |
cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube |
1157 |
cat %{name}-%{version}-filelist| grep remi|egrep -v 'safe|ocsinventory|roundcube' > %{name}-%{version}-filelist-remi |
cat %{name}-%{version}-filelist| grep remi|egrep -v 'ocsinventory|roundcube' > %{name}-%{version}-filelist-remi |
1158 |
cat %{name}-%{version}-filelist| grep rpmfusion > %{name}-%{version}-filelist-rpmfusion |
cat %{name}-%{version}-filelist| grep rpmfusion > %{name}-%{version}-filelist-rpmfusion |
1159 |
cat %{name}-%{version}-filelist| grep sogo > %{name}-%{version}-filelist-sogo |
cat %{name}-%{version}-filelist| grep sogo > %{name}-%{version}-filelist-sogo |
1160 |
cat %{name}-%{version}-filelist| grep spectrum2 > %{name}-%{version}-filelist-spectrum2 |
cat %{name}-%{version}-filelist| grep spectrum2 > %{name}-%{version}-filelist-spectrum2 |
1165 |
cat %{name}-%{version}-filelist| grep xymon > %{name}-%{version}-filelist-xymon |
cat %{name}-%{version}-filelist| grep xymon > %{name}-%{version}-filelist-xymon |
1166 |
cat %{name}-%{version}-filelist| grep zabbix > %{name}-%{version}-filelist-zabbix |
cat %{name}-%{version}-filelist| grep zabbix > %{name}-%{version}-filelist-zabbix |
1167 |
cat %{name}-%{version}-filelist| grep zmrepo > %{name}-%{version}-filelist-zmrepo |
cat %{name}-%{version}-filelist| grep zmrepo > %{name}-%{version}-filelist-zmrepo |
1168 |
|
cat %{name}-%{version}-filelist| grep pgsql > %{name}-%{version}-filelist-pgsql |
1169 |
%clean |
%clean |
1170 |
cd .. |
cd .. |
1171 |
rm -rf %{name}-%{version} |
rm -rf %{name}-%{version} |
1206 |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
1207 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1208 |
|
|
|
%package asterisk |
|
|
Summary: All repositories you need for Asterisk and FreePBX |
|
|
%description asterisk |
|
|
All repositories you need for Asterisk and FreePBX |
|
|
%files asterisk -f %{name}-%{version}-filelist-asterisk |
|
|
%defattr(-,root,root) |
|
|
|
|
1209 |
%package egroupware |
%package egroupware |
1210 |
Summary: Repository for eGroupWare |
Summary: Repository for eGroupWare |
1211 |
%description egroupware |
%description egroupware |
1255 |
%files fws -f %{name}-%{version}-filelist-fws |
%files fws -f %{name}-%{version}-filelist-fws |
1256 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1257 |
|
|
|
%package geekery |
|
|
Summary: Geekery Repository |
|
|
%description geekery |
|
|
Geekery Repository |
|
|
%files geekery -f %{name}-%{version}-filelist-geekery |
|
|
%defattr(-,root,root) |
|
|
|
|
1258 |
%package libreswan |
%package libreswan |
1259 |
Summary: Libreswan Repository |
Summary: Libreswan Repository |
1260 |
%description libreswan |
%description libreswan |
1292 |
%files openfusion -f %{name}-%{version}-filelist-openfusion |
%files openfusion -f %{name}-%{version}-filelist-openfusion |
1293 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1294 |
|
|
1295 |
|
%package pgsql |
1296 |
|
Summary: PostGreSQL Repositories |
1297 |
|
%description pgsql |
1298 |
|
PostGreSQL Repositories |
1299 |
|
%files pgsql -f %{name}-%{version}-filelist-pgsql |
1300 |
|
%defattr(-,root,root) |
1301 |
|
|
1302 |
%package reetp |
%package reetp |
1303 |
Summary: Mirror John Crisp reetspetit.com |
Summary: Mirror John Crisp reetspetit.com |
1304 |
%description reetp |
%description reetp |
1306 |
%files reetp -f %{name}-%{version}-filelist-reetp |
%files reetp -f %{name}-%{version}-filelist-reetp |
1307 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1308 |
|
|
|
%package remi-safe |
|
|
Summary: Remi safe repository |
|
|
%description remi-safe |
|
|
Remi safe repository |
|
|
%files remi-safe -f %{name}-%{version}-filelist-remi-safe |
|
|
%defattr(-,root,root) |
|
|
|
|
1309 |
%package remi-ocsinventory |
%package remi-ocsinventory |
1310 |
Summary: Remi repository filtered to install OCSinventory |
Summary: Remi repository filtered to install OCSinventory |
1311 |
%description remi-ocsinventory |
%description remi-ocsinventory |