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