1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 31 |
%define release 37 |
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 |
|
* Wed Mar 09 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-37.sme |
22 |
|
- add collaboraoffice repo [SME: 11888] |
23 |
|
|
24 |
|
* Thu Feb 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-36.sme |
25 |
|
- add Copr repo for fusioninventory-agent owned by trasher [SME: 11751] |
26 |
|
- fix update event for sclo [SME: 11876] |
27 |
|
|
28 |
|
* Mon Nov 29 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-35.sme |
29 |
|
- fix node repos |
30 |
|
|
31 |
|
* Tue Nov 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-34.sme |
32 |
|
- add asterisk [SME: 11512] |
33 |
|
- add lemonldap [SME: 11740] |
34 |
|
- add bareos [SME: 11741] |
35 |
|
- add zabbix repo up to 55 and add scl sub repos [SME: 11744] |
36 |
|
|
37 |
|
* Tue Jul 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-33.sme |
38 |
|
- add migrate fragment for pwauth in epel [SME: 11639] |
39 |
|
|
40 |
|
* Wed Jun 30 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-32.sme |
41 |
|
- Requires e-smith >= 10 |
42 |
|
- exclude pwauh from EPEL [SME: 11639] |
43 |
|
|
44 |
* 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 |
45 |
- add perl-JSON to openfusion [SME: 11579] |
- add perl-JSON to openfusion [SME: 11579] |
46 |
|
|
186 |
} |
} |
187 |
|
|
188 |
|
|
189 |
|
##################### |
190 |
|
##################### |
191 |
|
# asterisk |
192 |
|
##################### |
193 |
|
##################### |
194 |
|
for elasver in "13" "16" '17' '18' ; do |
195 |
|
REPO['reponame']="asterisk-$elasver" |
196 |
|
REPO['pkgname']='asterisk' |
197 |
|
REPO['fullreponame']="Asterisk $elasver (LTS) Packages @ tucny.com" |
198 |
|
REPO['EnableGroups']='no' |
199 |
|
REPO['Visible']='yes' |
200 |
|
REPO['status']='disabled' |
201 |
|
REPO['BaseURL']=""#https://ast.tucny.com/repo/asterisk-$elasver/el\$releasever/\$basearch/ |
202 |
|
REPO['MirrorList']="https://ast.tucny.com/mirrorlist.php?release=\$releasever&arch=\$basearch&repo=asterisk-$elasver" |
203 |
|
REPO['GPGCheck']='yes' |
204 |
|
REPO['GPGKey']="https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny" |
205 |
|
REPO['Exclude']='' |
206 |
|
REPO['IncludePkgs']='' |
207 |
|
createrepo |
208 |
|
done |
209 |
|
|
210 |
|
REPO['reponame']='asterisk-common' |
211 |
|
REPO['pkgname']='asterisk' |
212 |
|
REPO['fullreponame']='Asterisk Common Requirement Packages @ tucny.com' |
213 |
|
REPO['EnableGroups']='no' |
214 |
|
REPO['Visible']='no' |
215 |
|
REPO['status']='disabled' |
216 |
|
REPO['BaseURL']=''#https://ast.tucny.com/repo/asterisk-common/el$releasever/$basearch/ |
217 |
|
REPO['MirrorList']='https://ast.tucny.com/mirrorlist.php?release=$releasever&arch=$basearch&repo=asterisk-common' |
218 |
|
REPO['GPGCheck']='yes' |
219 |
|
REPO['GPGKey']='https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny' |
220 |
|
REPO['Exclude']='' |
221 |
|
REPO['IncludePkgs']='' |
222 |
|
createrepo |
223 |
|
|
224 |
|
|
225 |
|
|
226 |
##################### |
##################### |
227 |
##################### |
##################### |
244 |
|
|
245 |
##################### |
##################### |
246 |
##################### |
##################### |
247 |
|
# BareOS |
248 |
|
##################### |
249 |
|
##################### |
250 |
|
REPO['reponame']='bareos20' |
251 |
|
REPO['pkgname']='bareos' |
252 |
|
REPO['fullreponame']='Backup Archiving Recovery Open Sourced' |
253 |
|
REPO['EnableGroups']='no' |
254 |
|
REPO['Visible']='yes' |
255 |
|
REPO['status']='disabled' |
256 |
|
REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever' |
257 |
|
REPO['MirrorList']='' |
258 |
|
REPO['GPGCheck']='yes' |
259 |
|
REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key' |
260 |
|
REPO['Exclude']='' |
261 |
|
REPO['IncludePkgs']='' |
262 |
|
createrepo |
263 |
|
|
264 |
|
REPO['reponame']='bareos20-source' |
265 |
|
REPO['pkgname']='bareos' |
266 |
|
REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Sources' |
267 |
|
REPO['EnableGroups']='no' |
268 |
|
REPO['Visible']='no' |
269 |
|
REPO['status']='disabled' |
270 |
|
REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/src' |
271 |
|
REPO['MirrorList']='' |
272 |
|
REPO['GPGCheck']='yes' |
273 |
|
REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key' |
274 |
|
REPO['Exclude']='' |
275 |
|
REPO['IncludePkgs']='' |
276 |
|
createrepo |
277 |
|
|
278 |
|
REPO['reponame']='bareos20-debuginfo' |
279 |
|
REPO['pkgname']='bareos' |
280 |
|
REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Debuginfo' |
281 |
|
REPO['EnableGroups']='no' |
282 |
|
REPO['Visible']='no' |
283 |
|
REPO['status']='disabled' |
284 |
|
REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/debug' |
285 |
|
REPO['MirrorList']='' |
286 |
|
REPO['GPGCheck']='yes' |
287 |
|
REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key' |
288 |
|
REPO['Exclude']='' |
289 |
|
REPO['IncludePkgs']='' |
290 |
|
createrepo |
291 |
|
|
292 |
|
|
293 |
|
|
294 |
|
##################### |
295 |
|
##################### |
296 |
#centos-sclo-centos |
#centos-sclo-centos |
297 |
##################### |
##################### |
298 |
##################### |
##################### |
299 |
REPO['reponame']='centos-sclo-centos' |
REPO['reponame']='centos-sclo-centos' |
300 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']="centos-sclo" #${REPO['reponame']} |
301 |
REPO['fullreponame']='Centos-RH Software collections' |
REPO['fullreponame']='Centos-RH Software collections' |
302 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
303 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
304 |
REPO['status']='disabled' |
REPO['status']='enabled' |
305 |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/' |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/' |
306 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
307 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
316 |
##################### |
##################### |
317 |
##################### |
##################### |
318 |
REPO['reponame']='centos-sclo-rh' |
REPO['reponame']='centos-sclo-rh' |
319 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']='centos-sclo' #${REPO['reponame']} |
320 |
REPO['fullreponame']='Centos-RH Software collections' |
REPO['fullreponame']='Centos-RH Software collections' |
321 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
322 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
323 |
REPO['status']='disabled' |
REPO['status']='enabled' |
324 |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' |
325 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
326 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
331 |
|
|
332 |
##################### |
##################### |
333 |
##################### |
##################### |
334 |
|
#collaboraoffice.com |
335 |
|
##################### |
336 |
|
##################### |
337 |
|
REPO['reponame']='collaboraoffice' |
338 |
|
REPO['pkgname']=${REPO['reponame']} |
339 |
|
REPO['fullreponame']='collaboraoffice.com_repos_CollaboraOnline_CODE-centos' |
340 |
|
REPO['EnableGroups']='no' |
341 |
|
REPO['Visible']='yes' |
342 |
|
REPO['status']='enabled' |
343 |
|
REPO['BaseURL']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos$releasever' |
344 |
|
REPO['MirrorList']='' |
345 |
|
REPO['GPGCheck']='yes' |
346 |
|
REPO['GPGKey']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos7/repodata/repomd.xml.key' |
347 |
|
REPO['Exclude']='' |
348 |
|
REPO['IncludePkgs']='' |
349 |
|
createrepo |
350 |
|
|
351 |
|
|
352 |
|
##################### |
353 |
|
##################### |
354 |
#egroupware |
#egroupware |
355 |
##################### |
##################### |
356 |
##################### |
##################### |
443 |
REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch' |
REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch' |
444 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
445 |
REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL' |
REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL' |
446 |
REPO['Exclude']='perl-Razor-Agent' |
REPO['Exclude']='perl-Razor-Agent,pwauth' |
447 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
448 |
createrepo |
createrepo |
449 |
|
|
525 |
|
|
526 |
##################### |
##################### |
527 |
##################### |
##################### |
528 |
|
#fusion inventory |
529 |
|
##################### |
530 |
|
##################### |
531 |
|
REPO['reponame']='fusioninventory-agent' |
532 |
|
REPO['pkgname']='fusioninventory-agent' |
533 |
|
REPO['fullreponame']='Copr repo for fusioninventory-agent owned by trasher' |
534 |
|
REPO['EnableGroups']='no' |
535 |
|
REPO['Visible']='no' |
536 |
|
REPO['status']='disabled' |
537 |
|
REPO['BaseURL']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/epel-$releasever-$basearch/' |
538 |
|
REPO['MirrorList']='' |
539 |
|
REPO['GPGCheck']='yes' |
540 |
|
REPO['GPGKey']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/pubkey.gpg' |
541 |
|
REPO['Exclude']='' |
542 |
|
REPO['IncludePkgs']='' |
543 |
|
createrepo |
544 |
|
|
545 |
|
|
546 |
|
##################### |
547 |
|
##################### |
548 |
|
# LemonLDAP-NG |
549 |
|
##################### |
550 |
|
##################### |
551 |
|
REPO['reponame']='lemonldap-ng' |
552 |
|
REPO['pkgname']='lemonldap' |
553 |
|
REPO['fullreponame']='LemonLDAP::NG packages' |
554 |
|
REPO['EnableGroups']='no' |
555 |
|
REPO['Visible']='yes' |
556 |
|
REPO['status']='disabled' |
557 |
|
REPO['BaseURL']='https://lemonldap-ng.org/redhat/stable/$releasever/noarch' |
558 |
|
REPO['MirrorList']='' |
559 |
|
REPO['GPGCheck']='yes' |
560 |
|
REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' |
561 |
|
REPO['Exclude']='' |
562 |
|
REPO['IncludePkgs']='' |
563 |
|
createrepo |
564 |
|
|
565 |
|
REPO['reponame']='lemonldap-ng-extras' |
566 |
|
REPO['pkgname']='lemonldap' |
567 |
|
REPO['fullreponame']='LemonLDAP::NG extra packages' |
568 |
|
REPO['EnableGroups']='no' |
569 |
|
REPO['Visible']='yes' |
570 |
|
REPO['status']='disabled' |
571 |
|
REPO['BaseURL']='https://lemonldap-ng.org/redhat/extras/$releasever/noarch' |
572 |
|
REPO['MirrorList']='' |
573 |
|
REPO['GPGCheck']='yes' |
574 |
|
REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' |
575 |
|
REPO['Exclude']='' |
576 |
|
REPO['IncludePkgs']='' |
577 |
|
createrepo |
578 |
|
|
579 |
|
|
580 |
|
|
581 |
|
##################### |
582 |
|
##################### |
583 |
# Libreswan |
# Libreswan |
584 |
##################### |
##################### |
585 |
##################### |
##################### |
587 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']=${REPO['reponame']} |
588 |
REPO['fullreponame']='Libreswan' |
REPO['fullreponame']='Libreswan' |
589 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
590 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
591 |
REPO['status']='disabled' |
REPO['status']='disabled' |
592 |
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/' |
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/' |
593 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
603 |
# NodeJS 4 |
# NodeJS 4 |
604 |
##################### |
##################### |
605 |
##################### |
##################### |
606 |
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 |
607 |
REPO['reponame']="node$nodever" |
REPO['reponame']="node$nodever" |
608 |
REPO['pkgname']='node' |
REPO['pkgname']='node' |
609 |
REPO['fullreponame']="NodeJS $nodever" |
REPO['fullreponame']="NodeJS $nodever" |
610 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
611 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
612 |
REPO['status']='disabled' |
REPO['status']='disabled' |
613 |
REPO['BaseURL']='https://rpm.nodesource.com/pub_'.$nodever.'.x/el/$releasever/$basearch/' |
REPO['BaseURL']="https://rpm.nodesource.com/pub_$nodever.x/el/\$releasever/\$basearch/" |
614 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
615 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='yes' |
616 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL' |
617 |
|
#'https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
618 |
|
#'https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL' |
619 |
REPO['Exclude']='' |
REPO['Exclude']='' |
620 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
621 |
createrepo |
createrepo |
632 |
REPO['pkgname']='odoo' |
REPO['pkgname']='odoo' |
633 |
REPO['fullreponame']='Odoo 10 Nightly - EL7' |
REPO['fullreponame']='Odoo 10 Nightly - EL7' |
634 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
635 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
636 |
REPO['status']='disabled' |
REPO['status']='disabled' |
637 |
REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/' |
REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/' |
638 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
651 |
REPO['pkgname']='odoo' |
REPO['pkgname']='odoo' |
652 |
REPO['fullreponame']='Odoo 9 Nightly - EL7' |
REPO['fullreponame']='Odoo 9 Nightly - EL7' |
653 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
654 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
655 |
REPO['status']='disabled' |
REPO['status']='disabled' |
656 |
REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/' |
REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/' |
657 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
671 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']=${REPO['reponame']} |
672 |
REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX' |
REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX' |
673 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
674 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
675 |
REPO['status']='disabled' |
REPO['status']='disabled' |
676 |
REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release' |
REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release' |
677 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
710 |
REPO['pkgname']='pgsql' |
REPO['pkgname']='pgsql' |
711 |
REPO['fullreponame']="Postgresql $pgsqlver" |
REPO['fullreponame']="Postgresql $pgsqlver" |
712 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
713 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
714 |
REPO['status']='disabled' |
REPO['status']='disabled' |
715 |
REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
716 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
727 |
REPO['pkgname']='pgsql' |
REPO['pkgname']='pgsql' |
728 |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
729 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
730 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
731 |
REPO['status']='disabled' |
REPO['status']='disabled' |
732 |
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/' |
733 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
743 |
REPO['pkgname']='pgsql' |
REPO['pkgname']='pgsql' |
744 |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
745 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
746 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
747 |
REPO['status']='disabled' |
REPO['status']='disabled' |
748 |
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/' |
749 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
1145 |
#Zabbix2.4 |
#Zabbix2.4 |
1146 |
##################### |
##################### |
1147 |
##################### |
##################### |
1148 |
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' ) |
1149 |
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 |
1150 |
REPO['reponame']="zabbix${zabshort[$elasver]}" |
REPO['reponame']="zabbix${zabshort[$elasver]}" |
1151 |
REPO['pkgname']='zabbix' |
REPO['pkgname']='zabbix' |
1152 |
REPO['fullreponame']="Zabbix $elasver Official Repository" |
REPO['fullreponame']="Zabbix $elasver Official Repository" |
1162 |
createrepo |
createrepo |
1163 |
done |
done |
1164 |
|
|
1165 |
|
# webfront sclo |
1166 |
|
for elasver in '5.0' '5.1'; do |
1167 |
|
REPO['reponame']="zabbix${zabshort[$elasver]}-frontend" |
1168 |
|
REPO['pkgname']='zabbix' |
1169 |
|
REPO['fullreponame']="Zabbix $elasver Official Repository" |
1170 |
|
REPO['EnableGroups']='no' |
1171 |
|
REPO['Visible']='yes' |
1172 |
|
REPO['status']='disabled' |
1173 |
|
REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/frontend/" |
1174 |
|
REPO['MirrorList']='' |
1175 |
|
REPO['GPGCheck']='yes' |
1176 |
|
REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591" |
1177 |
|
REPO['Exclude']='' |
1178 |
|
REPO['IncludePkgs']='' |
1179 |
|
createrepo |
1180 |
|
done |
1181 |
|
|
1182 |
|
|
1183 |
|
|
1184 |
##################### |
##################### |
1185 |
##################### |
##################### |
1186 |
#zmrepo |
#zmrepo |
1238 |
|
|
1239 |
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 |
1240 |
{ |
{ |
1241 |
my @add = split(/[,; ]+/, ''); |
my @add = split(/[,; ]+/, 'pwauth'); |
1242 |
my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make'); |
my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make'); |
1243 |
|
|
1244 |
for my $name ( qw(epel) ) |
for my $name ( qw(epel) ) |
1339 |
|
|
1340 |
rm -f %{name}-%{version}-filelist* |
rm -f %{name}-%{version}-filelist* |
1341 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
1342 |
|
cat %{name}-%{version}-filelist|grep asterisk > %{name}-%{version}-filelist-asterisk |
1343 |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
1344 |
|
cat %{name}-%{version}-filelist| grep bareos > %{name}-%{version}-filelist-bareos |
1345 |
cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo |
cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo |
1346 |
|
cat %{name}-%{version}-filelist| grep collaboraoffice > %{name}-%{version}-filelist-collaboraoffice |
1347 |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
1348 |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
1349 |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
1351 |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
1352 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
1353 |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
1354 |
|
cat %{name}-%{version}-filelist| grep fusioninventory-agent > %{name}-%{version}-filelist-fusioninventory-agent |
1355 |
|
cat %{name}-%{version}-filelist| grep lemonldap > %{name}-%{version}-filelist-lemonldap |
1356 |
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
1357 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
1358 |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
1401 |
# this is an upgrade |
# this is an upgrade |
1402 |
;; |
;; |
1403 |
esac |
esac |
1404 |
|
%package asterisk |
1405 |
|
Summary: Asterisk Repository tucny.com |
1406 |
|
%description asterisk |
1407 |
|
Asterisk Repository tucny.com |
1408 |
|
%files asterisk -f %{name}-%{version}-filelist-asterisk |
1409 |
|
%defattr(-,root,root) |
1410 |
|
|
1411 |
%package atomic |
%package atomic |
1412 |
Summary: Atomic Repository |
Summary: Atomic Repository |
1413 |
%description atomic |
%description atomic |
1415 |
%files atomic -f %{name}-%{version}-filelist-atomic |
%files atomic -f %{name}-%{version}-filelist-atomic |
1416 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1417 |
|
|
1418 |
|
%package bareos |
1419 |
|
Summary: Backup Archiving Recovery Open Sourced |
1420 |
|
%description bareos |
1421 |
|
Backup Archiving Recovery Open Sourced repository |
1422 |
|
%files bareos -f %{name}-%{version}-filelist-bareos |
1423 |
|
%defattr(-,root,root) |
1424 |
|
|
1425 |
%package centos-sclo |
%package centos-sclo |
1426 |
Summary: CentOS Red-Hat software collection repository |
Summary: CentOS Red-Hat software collection repository |
1427 |
%description centos-sclo |
%description centos-sclo |
1429 |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
1430 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1431 |
|
|
1432 |
|
%package collaboraoffice |
1433 |
|
Summary: collaboraoffice repo |
1434 |
|
%description collaboraoffice |
1435 |
|
collaboraoffice repo |
1436 |
|
%files collaboraoffice -f %{name}-%{version}-filelist-collaboraoffice |
1437 |
|
%defattr(-,root,root) |
1438 |
|
|
1439 |
%package egroupware |
%package egroupware |
1440 |
Summary: Repository for eGroupWare |
Summary: Repository for eGroupWare |
1441 |
%description egroupware |
%description egroupware |
1485 |
%files fws -f %{name}-%{version}-filelist-fws |
%files fws -f %{name}-%{version}-filelist-fws |
1486 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1487 |
|
|
1488 |
|
%package fusioninventory-agent |
1489 |
|
Summary: Copr repo for fusioninventory-agent owned by trasher |
1490 |
|
%description fusioninventory-agent |
1491 |
|
Copr repo for fusioninventory-agent owned by trasher |
1492 |
|
%files fusioninventory-agent -f %{name}-%{version}-filelist-fusioninventory-agent |
1493 |
|
%defattr(-,root,root) |
1494 |
|
|
1495 |
|
%package lemonldap |
1496 |
|
Summary: Lemonldap NG Repository |
1497 |
|
%description lemonldap |
1498 |
|
LemonLDAP::NG Repository |
1499 |
|
%files lemonldap -f %{name}-%{version}-filelist-lemonldap |
1500 |
|
%defattr(-,root,root) |
1501 |
|
|
1502 |
%package libreswan |
%package libreswan |
1503 |
Summary: Libreswan Repository |
Summary: Libreswan Repository |
1504 |
%description libreswan |
%description libreswan |