1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 31 |
%define release 38 |
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} |
11 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
12 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
13 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
14 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 10.0 |
15 |
AutoReqProv: no |
AutoReqProv: no |
16 |
|
|
17 |
%description |
%description |
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 |
|
* Thu Mar 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-38.sme |
22 |
|
- add docker-ce repo [SME: 11894] |
23 |
|
|
24 |
|
* Wed Mar 09 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-37.sme |
25 |
|
- add collaboraoffice repo [SME: 11888] |
26 |
|
|
27 |
|
* Thu Feb 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-36.sme |
28 |
|
- add Copr repo for fusioninventory-agent owned by trasher [SME: 11751] |
29 |
|
- fix update event for sclo [SME: 11876] |
30 |
|
|
31 |
|
* Mon Nov 29 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-35.sme |
32 |
|
- fix node repos |
33 |
|
|
34 |
|
* Tue Nov 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-34.sme |
35 |
|
- add asterisk [SME: 11512] |
36 |
|
- add lemonldap [SME: 11740] |
37 |
|
- add bareos [SME: 11741] |
38 |
|
- add zabbix repo up to 55 and add scl sub repos [SME: 11744] |
39 |
|
|
40 |
|
* Tue Jul 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-33.sme |
41 |
|
- add migrate fragment for pwauth in epel [SME: 11639] |
42 |
|
|
43 |
|
* Wed Jun 30 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-32.sme |
44 |
|
- Requires e-smith >= 10 |
45 |
|
- exclude pwauh from EPEL [SME: 11639] |
46 |
|
|
47 |
* Sun May 02 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-31.sme |
* Sun May 02 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-31.sme |
48 |
- add perl-JSON to openfusion [SME: 11579] |
- add perl-JSON to openfusion [SME: 11579] |
49 |
|
|
189 |
} |
} |
190 |
|
|
191 |
|
|
192 |
|
##################### |
193 |
|
##################### |
194 |
|
# asterisk |
195 |
|
##################### |
196 |
|
##################### |
197 |
|
for elasver in "13" "16" '17' '18' ; do |
198 |
|
REPO['reponame']="asterisk-$elasver" |
199 |
|
REPO['pkgname']='asterisk' |
200 |
|
REPO['fullreponame']="Asterisk $elasver (LTS) Packages @ tucny.com" |
201 |
|
REPO['EnableGroups']='no' |
202 |
|
REPO['Visible']='yes' |
203 |
|
REPO['status']='disabled' |
204 |
|
REPO['BaseURL']=""#https://ast.tucny.com/repo/asterisk-$elasver/el\$releasever/\$basearch/ |
205 |
|
REPO['MirrorList']="https://ast.tucny.com/mirrorlist.php?release=\$releasever&arch=\$basearch&repo=asterisk-$elasver" |
206 |
|
REPO['GPGCheck']='yes' |
207 |
|
REPO['GPGKey']="https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny" |
208 |
|
REPO['Exclude']='' |
209 |
|
REPO['IncludePkgs']='' |
210 |
|
createrepo |
211 |
|
done |
212 |
|
|
213 |
|
REPO['reponame']='asterisk-common' |
214 |
|
REPO['pkgname']='asterisk' |
215 |
|
REPO['fullreponame']='Asterisk Common Requirement Packages @ tucny.com' |
216 |
|
REPO['EnableGroups']='no' |
217 |
|
REPO['Visible']='no' |
218 |
|
REPO['status']='disabled' |
219 |
|
REPO['BaseURL']=''#https://ast.tucny.com/repo/asterisk-common/el$releasever/$basearch/ |
220 |
|
REPO['MirrorList']='https://ast.tucny.com/mirrorlist.php?release=$releasever&arch=$basearch&repo=asterisk-common' |
221 |
|
REPO['GPGCheck']='yes' |
222 |
|
REPO['GPGKey']='https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny' |
223 |
|
REPO['Exclude']='' |
224 |
|
REPO['IncludePkgs']='' |
225 |
|
createrepo |
226 |
|
|
227 |
|
|
228 |
|
|
229 |
##################### |
##################### |
230 |
##################### |
##################### |
247 |
|
|
248 |
##################### |
##################### |
249 |
##################### |
##################### |
250 |
|
# BareOS |
251 |
|
##################### |
252 |
|
##################### |
253 |
|
REPO['reponame']='bareos20' |
254 |
|
REPO['pkgname']='bareos' |
255 |
|
REPO['fullreponame']='Backup Archiving Recovery Open Sourced' |
256 |
|
REPO['EnableGroups']='no' |
257 |
|
REPO['Visible']='yes' |
258 |
|
REPO['status']='disabled' |
259 |
|
REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever' |
260 |
|
REPO['MirrorList']='' |
261 |
|
REPO['GPGCheck']='yes' |
262 |
|
REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key' |
263 |
|
REPO['Exclude']='' |
264 |
|
REPO['IncludePkgs']='' |
265 |
|
createrepo |
266 |
|
|
267 |
|
REPO['reponame']='bareos20-source' |
268 |
|
REPO['pkgname']='bareos' |
269 |
|
REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Sources' |
270 |
|
REPO['EnableGroups']='no' |
271 |
|
REPO['Visible']='no' |
272 |
|
REPO['status']='disabled' |
273 |
|
REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/src' |
274 |
|
REPO['MirrorList']='' |
275 |
|
REPO['GPGCheck']='yes' |
276 |
|
REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key' |
277 |
|
REPO['Exclude']='' |
278 |
|
REPO['IncludePkgs']='' |
279 |
|
createrepo |
280 |
|
|
281 |
|
REPO['reponame']='bareos20-debuginfo' |
282 |
|
REPO['pkgname']='bareos' |
283 |
|
REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Debuginfo' |
284 |
|
REPO['EnableGroups']='no' |
285 |
|
REPO['Visible']='no' |
286 |
|
REPO['status']='disabled' |
287 |
|
REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/debug' |
288 |
|
REPO['MirrorList']='' |
289 |
|
REPO['GPGCheck']='yes' |
290 |
|
REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key' |
291 |
|
REPO['Exclude']='' |
292 |
|
REPO['IncludePkgs']='' |
293 |
|
createrepo |
294 |
|
|
295 |
|
|
296 |
|
|
297 |
|
##################### |
298 |
|
##################### |
299 |
#centos-sclo-centos |
#centos-sclo-centos |
300 |
##################### |
##################### |
301 |
##################### |
##################### |
302 |
REPO['reponame']='centos-sclo-centos' |
REPO['reponame']='centos-sclo-centos' |
303 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']="centos-sclo" #${REPO['reponame']} |
304 |
REPO['fullreponame']='Centos-RH Software collections' |
REPO['fullreponame']='Centos-RH Software collections' |
305 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
306 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
307 |
REPO['status']='disabled' |
REPO['status']='enabled' |
308 |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/' |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/' |
309 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
310 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
319 |
##################### |
##################### |
320 |
##################### |
##################### |
321 |
REPO['reponame']='centos-sclo-rh' |
REPO['reponame']='centos-sclo-rh' |
322 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']='centos-sclo' #${REPO['reponame']} |
323 |
REPO['fullreponame']='Centos-RH Software collections' |
REPO['fullreponame']='Centos-RH Software collections' |
324 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
325 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
326 |
REPO['status']='disabled' |
REPO['status']='enabled' |
327 |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' |
328 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
329 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
334 |
|
|
335 |
##################### |
##################### |
336 |
##################### |
##################### |
337 |
|
#collaboraoffice.com |
338 |
|
##################### |
339 |
|
##################### |
340 |
|
REPO['reponame']='collaboraoffice' |
341 |
|
REPO['pkgname']=${REPO['reponame']} |
342 |
|
REPO['fullreponame']='collaboraoffice.com_repos_CollaboraOnline_CODE-centos' |
343 |
|
REPO['EnableGroups']='no' |
344 |
|
REPO['Visible']='yes' |
345 |
|
REPO['status']='enabled' |
346 |
|
REPO['BaseURL']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos$releasever' |
347 |
|
REPO['MirrorList']='' |
348 |
|
REPO['GPGCheck']='yes' |
349 |
|
REPO['GPGKey']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos7/repodata/repomd.xml.key' |
350 |
|
REPO['Exclude']='' |
351 |
|
REPO['IncludePkgs']='' |
352 |
|
createrepo |
353 |
|
|
354 |
|
##################### |
355 |
|
##################### |
356 |
|
#docker-ce |
357 |
|
##################### |
358 |
|
##################### |
359 |
|
REPO['reponame']='docker-ce' |
360 |
|
REPO['pkgname']=${REPO['reponame']} |
361 |
|
REPO['fullreponame']='docker-ce' |
362 |
|
REPO['EnableGroups']='no' |
363 |
|
REPO['Visible']='yes' |
364 |
|
REPO['status']='enabled' |
365 |
|
REPO['BaseURL']='https://download.docker.com/linux/centos/$releasever/$basearch/stable' |
366 |
|
REPO['MirrorList']='' |
367 |
|
REPO['GPGCheck']='yes' |
368 |
|
REPO['GPGKey']='https://download.docker.com/linux/centos/gpg' |
369 |
|
REPO['Exclude']='' |
370 |
|
REPO['IncludePkgs']='' |
371 |
|
createrepo |
372 |
|
|
373 |
|
|
374 |
|
##################### |
375 |
|
##################### |
376 |
#egroupware |
#egroupware |
377 |
##################### |
##################### |
378 |
##################### |
##################### |
465 |
REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch' |
REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch' |
466 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
467 |
REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL' |
REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL' |
468 |
REPO['Exclude']='perl-Razor-Agent' |
REPO['Exclude']='perl-Razor-Agent,pwauth' |
469 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
470 |
createrepo |
createrepo |
471 |
|
|
547 |
|
|
548 |
##################### |
##################### |
549 |
##################### |
##################### |
550 |
|
#fusion inventory |
551 |
|
##################### |
552 |
|
##################### |
553 |
|
REPO['reponame']='fusioninventory-agent' |
554 |
|
REPO['pkgname']='fusioninventory-agent' |
555 |
|
REPO['fullreponame']='Copr repo for fusioninventory-agent owned by trasher' |
556 |
|
REPO['EnableGroups']='no' |
557 |
|
REPO['Visible']='no' |
558 |
|
REPO['status']='disabled' |
559 |
|
REPO['BaseURL']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/epel-$releasever-$basearch/' |
560 |
|
REPO['MirrorList']='' |
561 |
|
REPO['GPGCheck']='yes' |
562 |
|
REPO['GPGKey']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/pubkey.gpg' |
563 |
|
REPO['Exclude']='' |
564 |
|
REPO['IncludePkgs']='' |
565 |
|
createrepo |
566 |
|
|
567 |
|
|
568 |
|
##################### |
569 |
|
##################### |
570 |
|
# LemonLDAP-NG |
571 |
|
##################### |
572 |
|
##################### |
573 |
|
REPO['reponame']='lemonldap-ng' |
574 |
|
REPO['pkgname']='lemonldap' |
575 |
|
REPO['fullreponame']='LemonLDAP::NG packages' |
576 |
|
REPO['EnableGroups']='no' |
577 |
|
REPO['Visible']='yes' |
578 |
|
REPO['status']='disabled' |
579 |
|
REPO['BaseURL']='https://lemonldap-ng.org/redhat/stable/$releasever/noarch' |
580 |
|
REPO['MirrorList']='' |
581 |
|
REPO['GPGCheck']='yes' |
582 |
|
REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' |
583 |
|
REPO['Exclude']='' |
584 |
|
REPO['IncludePkgs']='' |
585 |
|
createrepo |
586 |
|
|
587 |
|
REPO['reponame']='lemonldap-ng-extras' |
588 |
|
REPO['pkgname']='lemonldap' |
589 |
|
REPO['fullreponame']='LemonLDAP::NG extra packages' |
590 |
|
REPO['EnableGroups']='no' |
591 |
|
REPO['Visible']='yes' |
592 |
|
REPO['status']='disabled' |
593 |
|
REPO['BaseURL']='https://lemonldap-ng.org/redhat/extras/$releasever/noarch' |
594 |
|
REPO['MirrorList']='' |
595 |
|
REPO['GPGCheck']='yes' |
596 |
|
REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' |
597 |
|
REPO['Exclude']='' |
598 |
|
REPO['IncludePkgs']='' |
599 |
|
createrepo |
600 |
|
|
601 |
|
|
602 |
|
|
603 |
|
##################### |
604 |
|
##################### |
605 |
# Libreswan |
# Libreswan |
606 |
##################### |
##################### |
607 |
##################### |
##################### |
609 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']=${REPO['reponame']} |
610 |
REPO['fullreponame']='Libreswan' |
REPO['fullreponame']='Libreswan' |
611 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
612 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
613 |
REPO['status']='disabled' |
REPO['status']='disabled' |
614 |
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/' |
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/' |
615 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
625 |
# NodeJS 4 |
# NodeJS 4 |
626 |
##################### |
##################### |
627 |
##################### |
##################### |
628 |
for nodever in "4" "5" "6" "7" "8" "9" "10" "11"; do |
for nodever in "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17"; do |
629 |
REPO['reponame']="node$nodever" |
REPO['reponame']="node$nodever" |
630 |
REPO['pkgname']='node' |
REPO['pkgname']='node' |
631 |
REPO['fullreponame']="NodeJS $nodever" |
REPO['fullreponame']="NodeJS $nodever" |
632 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
633 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
634 |
REPO['status']='disabled' |
REPO['status']='disabled' |
635 |
REPO['BaseURL']='https://rpm.nodesource.com/pub_'.$nodever.'.x/el/$releasever/$basearch/' |
REPO['BaseURL']="https://rpm.nodesource.com/pub_$nodever.x/el/\$releasever/\$basearch/" |
636 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
637 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='yes' |
638 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL' |
639 |
|
#'https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
640 |
|
#'https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL' |
641 |
REPO['Exclude']='' |
REPO['Exclude']='' |
642 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
643 |
createrepo |
createrepo |
654 |
REPO['pkgname']='odoo' |
REPO['pkgname']='odoo' |
655 |
REPO['fullreponame']='Odoo 10 Nightly - EL7' |
REPO['fullreponame']='Odoo 10 Nightly - EL7' |
656 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
657 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
658 |
REPO['status']='disabled' |
REPO['status']='disabled' |
659 |
REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/' |
REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/' |
660 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
673 |
REPO['pkgname']='odoo' |
REPO['pkgname']='odoo' |
674 |
REPO['fullreponame']='Odoo 9 Nightly - EL7' |
REPO['fullreponame']='Odoo 9 Nightly - EL7' |
675 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
676 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
677 |
REPO['status']='disabled' |
REPO['status']='disabled' |
678 |
REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/' |
REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/' |
679 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
693 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']=${REPO['reponame']} |
694 |
REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX' |
REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX' |
695 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
696 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
697 |
REPO['status']='disabled' |
REPO['status']='disabled' |
698 |
REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release' |
REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release' |
699 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
732 |
REPO['pkgname']='pgsql' |
REPO['pkgname']='pgsql' |
733 |
REPO['fullreponame']="Postgresql $pgsqlver" |
REPO['fullreponame']="Postgresql $pgsqlver" |
734 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
735 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
736 |
REPO['status']='disabled' |
REPO['status']='disabled' |
737 |
REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
738 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
749 |
REPO['pkgname']='pgsql' |
REPO['pkgname']='pgsql' |
750 |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
751 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
752 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
753 |
REPO['status']='disabled' |
REPO['status']='disabled' |
754 |
REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/non-free/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/non-free/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
755 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
765 |
REPO['pkgname']='pgsql' |
REPO['pkgname']='pgsql' |
766 |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
767 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
768 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
769 |
REPO['status']='disabled' |
REPO['status']='disabled' |
770 |
REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/common/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/common/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
771 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
1167 |
#Zabbix2.4 |
#Zabbix2.4 |
1168 |
##################### |
##################### |
1169 |
##################### |
##################### |
1170 |
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') |
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' ) |
1171 |
for elasver in "4.2" "4.4" '4.5' '5.0' '5.1' '5.2' '5.3'; do |
for elasver in "4.2" "4.4" '4.5' '5.0' '5.1' '5.2' '5.3' '5.4' '5.5'; do |
1172 |
REPO['reponame']="zabbix${zabshort[$elasver]}" |
REPO['reponame']="zabbix${zabshort[$elasver]}" |
1173 |
REPO['pkgname']='zabbix' |
REPO['pkgname']='zabbix' |
1174 |
REPO['fullreponame']="Zabbix $elasver Official Repository" |
REPO['fullreponame']="Zabbix $elasver Official Repository" |
1184 |
createrepo |
createrepo |
1185 |
done |
done |
1186 |
|
|
1187 |
|
# webfront sclo |
1188 |
|
for elasver in '5.0' '5.1'; do |
1189 |
|
REPO['reponame']="zabbix${zabshort[$elasver]}-frontend" |
1190 |
|
REPO['pkgname']='zabbix' |
1191 |
|
REPO['fullreponame']="Zabbix $elasver Official Repository" |
1192 |
|
REPO['EnableGroups']='no' |
1193 |
|
REPO['Visible']='yes' |
1194 |
|
REPO['status']='disabled' |
1195 |
|
REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/frontend/" |
1196 |
|
REPO['MirrorList']='' |
1197 |
|
REPO['GPGCheck']='yes' |
1198 |
|
REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591" |
1199 |
|
REPO['Exclude']='' |
1200 |
|
REPO['IncludePkgs']='' |
1201 |
|
createrepo |
1202 |
|
done |
1203 |
|
|
1204 |
|
|
1205 |
|
|
1206 |
##################### |
##################### |
1207 |
##################### |
##################### |
1208 |
#zmrepo |
#zmrepo |
1260 |
|
|
1261 |
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel |
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel |
1262 |
{ |
{ |
1263 |
my @add = split(/[,; ]+/, ''); |
my @add = split(/[,; ]+/, 'pwauth'); |
1264 |
my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make'); |
my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make'); |
1265 |
|
|
1266 |
for my $name ( qw(epel) ) |
for my $name ( qw(epel) ) |
1361 |
|
|
1362 |
rm -f %{name}-%{version}-filelist* |
rm -f %{name}-%{version}-filelist* |
1363 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
1364 |
|
cat %{name}-%{version}-filelist|grep asterisk > %{name}-%{version}-filelist-asterisk |
1365 |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
1366 |
|
cat %{name}-%{version}-filelist| grep bareos > %{name}-%{version}-filelist-bareos |
1367 |
cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo |
cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo |
1368 |
|
cat %{name}-%{version}-filelist| grep collaboraoffice > %{name}-%{version}-filelist-collaboraoffice |
1369 |
|
cat %{name}-%{version}-filelist| grep docker-ce > %{name}-%{version}-filelist-docker-ce |
1370 |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
1371 |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
1372 |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
1374 |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
1375 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
1376 |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
1377 |
|
cat %{name}-%{version}-filelist| grep fusioninventory-agent > %{name}-%{version}-filelist-fusioninventory-agent |
1378 |
|
cat %{name}-%{version}-filelist| grep lemonldap > %{name}-%{version}-filelist-lemonldap |
1379 |
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
1380 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
1381 |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
1424 |
# this is an upgrade |
# this is an upgrade |
1425 |
;; |
;; |
1426 |
esac |
esac |
1427 |
|
%package asterisk |
1428 |
|
Summary: Asterisk Repository tucny.com |
1429 |
|
%description asterisk |
1430 |
|
Asterisk Repository tucny.com |
1431 |
|
%files asterisk -f %{name}-%{version}-filelist-asterisk |
1432 |
|
%defattr(-,root,root) |
1433 |
|
|
1434 |
%package atomic |
%package atomic |
1435 |
Summary: Atomic Repository |
Summary: Atomic Repository |
1436 |
%description atomic |
%description atomic |
1438 |
%files atomic -f %{name}-%{version}-filelist-atomic |
%files atomic -f %{name}-%{version}-filelist-atomic |
1439 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1440 |
|
|
1441 |
|
%package bareos |
1442 |
|
Summary: Backup Archiving Recovery Open Sourced |
1443 |
|
%description bareos |
1444 |
|
Backup Archiving Recovery Open Sourced repository |
1445 |
|
%files bareos -f %{name}-%{version}-filelist-bareos |
1446 |
|
%defattr(-,root,root) |
1447 |
|
|
1448 |
%package centos-sclo |
%package centos-sclo |
1449 |
Summary: CentOS Red-Hat software collection repository |
Summary: CentOS Red-Hat software collection repository |
1450 |
%description centos-sclo |
%description centos-sclo |
1452 |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
1453 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1454 |
|
|
1455 |
|
%package collaboraoffice |
1456 |
|
Summary: collaboraoffice repo |
1457 |
|
%description collaboraoffice |
1458 |
|
collaboraoffice repo |
1459 |
|
%files collaboraoffice -f %{name}-%{version}-filelist-collaboraoffice |
1460 |
|
%defattr(-,root,root) |
1461 |
|
|
1462 |
|
%package docker-ce |
1463 |
|
Summary: docker-ce |
1464 |
|
%description docker-ce |
1465 |
|
docker-ce repo |
1466 |
|
%files docker-ce -f %{name}-%{version}-filelist-docker-ce |
1467 |
|
%defattr(-,root,root) |
1468 |
|
|
1469 |
%package egroupware |
%package egroupware |
1470 |
Summary: Repository for eGroupWare |
Summary: Repository for eGroupWare |
1471 |
%description egroupware |
%description egroupware |
1515 |
%files fws -f %{name}-%{version}-filelist-fws |
%files fws -f %{name}-%{version}-filelist-fws |
1516 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1517 |
|
|
1518 |
|
%package fusioninventory-agent |
1519 |
|
Summary: Copr repo for fusioninventory-agent owned by trasher |
1520 |
|
%description fusioninventory-agent |
1521 |
|
Copr repo for fusioninventory-agent owned by trasher |
1522 |
|
%files fusioninventory-agent -f %{name}-%{version}-filelist-fusioninventory-agent |
1523 |
|
%defattr(-,root,root) |
1524 |
|
|
1525 |
|
%package lemonldap |
1526 |
|
Summary: Lemonldap NG Repository |
1527 |
|
%description lemonldap |
1528 |
|
LemonLDAP::NG Repository |
1529 |
|
%files lemonldap -f %{name}-%{version}-filelist-lemonldap |
1530 |
|
%defattr(-,root,root) |
1531 |
|
|
1532 |
%package libreswan |
%package libreswan |
1533 |
Summary: Libreswan Repository |
Summary: Libreswan Repository |
1534 |
%description libreswan |
%description libreswan |