1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 33 |
%define release 41 |
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} |
13 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
14 |
Requires: e-smith-release >= 10.0 |
Requires: e-smith-release >= 10.0 |
15 |
AutoReqProv: no |
AutoReqProv: no |
16 |
|
Source0: https://raw.githubusercontent.com/ONLYOFFICE/repo/master/centos/RPM-GPG-KEY-ONLYOFFICE |
17 |
|
|
18 |
%description |
%description |
19 |
Provides configuration for external yum repository comaptible with Koozali SME Server. |
Provides configuration for external yum repository comaptible with Koozali SME Server. |
20 |
|
|
21 |
%changelog |
%changelog |
22 |
|
* Wed Jul 26 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-41.sme |
23 |
|
- fix issues with libreswan repo [SME: 12389] |
24 |
|
- Remove old mongodb repos prior to 4.0 |
25 |
|
|
26 |
|
* Wed Jun 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-40.sme |
27 |
|
- add mongodb repos [SME: 11905] |
28 |
|
- add onlyoffice repo [SME: 12078] |
29 |
|
- add nginx repo [SME: 12079] |
30 |
|
|
31 |
|
* Sat May 28 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-39.sme |
32 |
|
- fix typo in pgsql url |
33 |
|
|
34 |
|
* Thu Mar 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-38.sme |
35 |
|
- add docker-ce repo [SME: 11894] |
36 |
|
|
37 |
|
* Wed Mar 09 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-37.sme |
38 |
|
- add collaboraoffice repo [SME: 11888] |
39 |
|
|
40 |
|
* Thu Feb 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-36.sme |
41 |
|
- add Copr repo for fusioninventory-agent owned by trasher [SME: 11751] |
42 |
|
- fix update event for sclo [SME: 11876] |
43 |
|
|
44 |
|
* Mon Nov 29 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-35.sme |
45 |
|
- fix node repos |
46 |
|
|
47 |
|
* Tue Nov 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-34.sme |
48 |
|
- add asterisk [SME: 11512] |
49 |
|
- add lemonldap [SME: 11740] |
50 |
|
- add bareos [SME: 11741] |
51 |
|
- add zabbix repo up to 55 and add scl sub repos [SME: 11744] |
52 |
|
|
53 |
* Tue Jul 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-33.sme |
* Tue Jul 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-33.sme |
54 |
- add migrate fragment for pwauth in epel [SME: 11639] |
- add migrate fragment for pwauth in epel [SME: 11639] |
55 |
|
|
162 |
# if needing to add a gpg key |
# if needing to add a gpg key |
163 |
#cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/ |
#cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/ |
164 |
#/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']} |
#/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']} |
165 |
|
cp %SOURCE0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/ |
166 |
|
|
167 |
|
|
168 |
# if needing to migrate something : |
# if needing to migrate something : |
169 |
#mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate |
#mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate |
204 |
} |
} |
205 |
|
|
206 |
|
|
207 |
|
##################### |
208 |
|
##################### |
209 |
|
# asterisk |
210 |
|
##################### |
211 |
|
##################### |
212 |
|
for elasver in "13" "16" '17' '18' ; do |
213 |
|
REPO['reponame']="asterisk-$elasver" |
214 |
|
REPO['pkgname']='asterisk' |
215 |
|
REPO['fullreponame']="Asterisk $elasver (LTS) Packages @ tucny.com" |
216 |
|
REPO['EnableGroups']='no' |
217 |
|
REPO['Visible']='yes' |
218 |
|
REPO['status']='disabled' |
219 |
|
REPO['BaseURL']=""#https://ast.tucny.com/repo/asterisk-$elasver/el\$releasever/\$basearch/ |
220 |
|
REPO['MirrorList']="https://ast.tucny.com/mirrorlist.php?release=\$releasever&arch=\$basearch&repo=asterisk-$elasver" |
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 |
|
done |
227 |
|
|
228 |
|
REPO['reponame']='asterisk-common' |
229 |
|
REPO['pkgname']='asterisk' |
230 |
|
REPO['fullreponame']='Asterisk Common Requirement Packages @ tucny.com' |
231 |
|
REPO['EnableGroups']='no' |
232 |
|
REPO['Visible']='no' |
233 |
|
REPO['status']='disabled' |
234 |
|
REPO['BaseURL']=''#https://ast.tucny.com/repo/asterisk-common/el$releasever/$basearch/ |
235 |
|
REPO['MirrorList']='https://ast.tucny.com/mirrorlist.php?release=$releasever&arch=$basearch&repo=asterisk-common' |
236 |
|
REPO['GPGCheck']='yes' |
237 |
|
REPO['GPGKey']='https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny' |
238 |
|
REPO['Exclude']='' |
239 |
|
REPO['IncludePkgs']='' |
240 |
|
createrepo |
241 |
|
|
242 |
|
|
243 |
|
|
244 |
##################### |
##################### |
245 |
##################### |
##################### |
262 |
|
|
263 |
##################### |
##################### |
264 |
##################### |
##################### |
265 |
|
# BareOS |
266 |
|
##################### |
267 |
|
##################### |
268 |
|
REPO['reponame']='bareos20' |
269 |
|
REPO['pkgname']='bareos' |
270 |
|
REPO['fullreponame']='Backup Archiving Recovery Open Sourced' |
271 |
|
REPO['EnableGroups']='no' |
272 |
|
REPO['Visible']='yes' |
273 |
|
REPO['status']='disabled' |
274 |
|
REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever' |
275 |
|
REPO['MirrorList']='' |
276 |
|
REPO['GPGCheck']='yes' |
277 |
|
REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key' |
278 |
|
REPO['Exclude']='' |
279 |
|
REPO['IncludePkgs']='' |
280 |
|
createrepo |
281 |
|
|
282 |
|
REPO['reponame']='bareos20-source' |
283 |
|
REPO['pkgname']='bareos' |
284 |
|
REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Sources' |
285 |
|
REPO['EnableGroups']='no' |
286 |
|
REPO['Visible']='no' |
287 |
|
REPO['status']='disabled' |
288 |
|
REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/src' |
289 |
|
REPO['MirrorList']='' |
290 |
|
REPO['GPGCheck']='yes' |
291 |
|
REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key' |
292 |
|
REPO['Exclude']='' |
293 |
|
REPO['IncludePkgs']='' |
294 |
|
createrepo |
295 |
|
|
296 |
|
REPO['reponame']='bareos20-debuginfo' |
297 |
|
REPO['pkgname']='bareos' |
298 |
|
REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Debuginfo' |
299 |
|
REPO['EnableGroups']='no' |
300 |
|
REPO['Visible']='no' |
301 |
|
REPO['status']='disabled' |
302 |
|
REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/debug' |
303 |
|
REPO['MirrorList']='' |
304 |
|
REPO['GPGCheck']='yes' |
305 |
|
REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key' |
306 |
|
REPO['Exclude']='' |
307 |
|
REPO['IncludePkgs']='' |
308 |
|
createrepo |
309 |
|
|
310 |
|
|
311 |
|
|
312 |
|
##################### |
313 |
|
##################### |
314 |
#centos-sclo-centos |
#centos-sclo-centos |
315 |
##################### |
##################### |
316 |
##################### |
##################### |
317 |
REPO['reponame']='centos-sclo-centos' |
REPO['reponame']='centos-sclo-centos' |
318 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']="centos-sclo" #${REPO['reponame']} |
319 |
REPO['fullreponame']='Centos-RH Software collections' |
REPO['fullreponame']='Centos-RH Software collections' |
320 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
321 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
322 |
REPO['status']='disabled' |
REPO['status']='enabled' |
323 |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/' |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/' |
324 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
325 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
334 |
##################### |
##################### |
335 |
##################### |
##################### |
336 |
REPO['reponame']='centos-sclo-rh' |
REPO['reponame']='centos-sclo-rh' |
337 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']='centos-sclo' #${REPO['reponame']} |
338 |
REPO['fullreponame']='Centos-RH Software collections' |
REPO['fullreponame']='Centos-RH Software collections' |
339 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
340 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
341 |
REPO['status']='disabled' |
REPO['status']='enabled' |
342 |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' |
343 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
344 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
349 |
|
|
350 |
##################### |
##################### |
351 |
##################### |
##################### |
352 |
|
#collaboraoffice.com |
353 |
|
##################### |
354 |
|
##################### |
355 |
|
REPO['reponame']='collaboraoffice' |
356 |
|
REPO['pkgname']=${REPO['reponame']} |
357 |
|
REPO['fullreponame']='collaboraoffice.com_repos_CollaboraOnline_CODE-centos' |
358 |
|
REPO['EnableGroups']='no' |
359 |
|
REPO['Visible']='yes' |
360 |
|
REPO['status']='enabled' |
361 |
|
REPO['BaseURL']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos$releasever' |
362 |
|
REPO['MirrorList']='' |
363 |
|
REPO['GPGCheck']='yes' |
364 |
|
REPO['GPGKey']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos7/repodata/repomd.xml.key' |
365 |
|
REPO['Exclude']='' |
366 |
|
REPO['IncludePkgs']='' |
367 |
|
createrepo |
368 |
|
|
369 |
|
##################### |
370 |
|
##################### |
371 |
|
#docker-ce |
372 |
|
##################### |
373 |
|
##################### |
374 |
|
REPO['reponame']='docker-ce' |
375 |
|
REPO['pkgname']=${REPO['reponame']} |
376 |
|
REPO['fullreponame']='docker-ce' |
377 |
|
REPO['EnableGroups']='no' |
378 |
|
REPO['Visible']='yes' |
379 |
|
REPO['status']='enabled' |
380 |
|
REPO['BaseURL']='https://download.docker.com/linux/centos/$releasever/$basearch/stable' |
381 |
|
REPO['MirrorList']='' |
382 |
|
REPO['GPGCheck']='yes' |
383 |
|
REPO['GPGKey']='https://download.docker.com/linux/centos/gpg' |
384 |
|
REPO['Exclude']='' |
385 |
|
REPO['IncludePkgs']='' |
386 |
|
createrepo |
387 |
|
|
388 |
|
|
389 |
|
##################### |
390 |
|
##################### |
391 |
#egroupware |
#egroupware |
392 |
##################### |
##################### |
393 |
##################### |
##################### |
562 |
|
|
563 |
##################### |
##################### |
564 |
##################### |
##################### |
565 |
|
#fusion inventory |
566 |
|
##################### |
567 |
|
##################### |
568 |
|
REPO['reponame']='fusioninventory-agent' |
569 |
|
REPO['pkgname']='fusioninventory-agent' |
570 |
|
REPO['fullreponame']='Copr repo for fusioninventory-agent owned by trasher' |
571 |
|
REPO['EnableGroups']='no' |
572 |
|
REPO['Visible']='no' |
573 |
|
REPO['status']='disabled' |
574 |
|
REPO['BaseURL']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/epel-$releasever-$basearch/' |
575 |
|
REPO['MirrorList']='' |
576 |
|
REPO['GPGCheck']='yes' |
577 |
|
REPO['GPGKey']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/pubkey.gpg' |
578 |
|
REPO['Exclude']='' |
579 |
|
REPO['IncludePkgs']='' |
580 |
|
createrepo |
581 |
|
|
582 |
|
|
583 |
|
##################### |
584 |
|
##################### |
585 |
|
# LemonLDAP-NG |
586 |
|
##################### |
587 |
|
##################### |
588 |
|
REPO['reponame']='lemonldap-ng' |
589 |
|
REPO['pkgname']='lemonldap' |
590 |
|
REPO['fullreponame']='LemonLDAP::NG packages' |
591 |
|
REPO['EnableGroups']='no' |
592 |
|
REPO['Visible']='yes' |
593 |
|
REPO['status']='disabled' |
594 |
|
REPO['BaseURL']='https://lemonldap-ng.org/redhat/stable/$releasever/noarch' |
595 |
|
REPO['MirrorList']='' |
596 |
|
REPO['GPGCheck']='yes' |
597 |
|
REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' |
598 |
|
REPO['Exclude']='' |
599 |
|
REPO['IncludePkgs']='' |
600 |
|
createrepo |
601 |
|
|
602 |
|
REPO['reponame']='lemonldap-ng-extras' |
603 |
|
REPO['pkgname']='lemonldap' |
604 |
|
REPO['fullreponame']='LemonLDAP::NG extra packages' |
605 |
|
REPO['EnableGroups']='no' |
606 |
|
REPO['Visible']='yes' |
607 |
|
REPO['status']='disabled' |
608 |
|
REPO['BaseURL']='https://lemonldap-ng.org/redhat/extras/$releasever/noarch' |
609 |
|
REPO['MirrorList']='' |
610 |
|
REPO['GPGCheck']='yes' |
611 |
|
REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' |
612 |
|
REPO['Exclude']='' |
613 |
|
REPO['IncludePkgs']='' |
614 |
|
createrepo |
615 |
|
|
616 |
|
|
617 |
|
|
618 |
|
##################### |
619 |
|
##################### |
620 |
# Libreswan |
# Libreswan |
621 |
##################### |
##################### |
622 |
##################### |
##################### |
624 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']=${REPO['reponame']} |
625 |
REPO['fullreponame']='Libreswan' |
REPO['fullreponame']='Libreswan' |
626 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
627 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
628 |
REPO['status']='disabled' |
REPO['status']='disabled' |
629 |
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/' |
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/' |
630 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
631 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
632 |
REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan' |
REPO['GPGKey']='http://download.libreswan.org/RPM-GPG-KEY-libreswan' |
633 |
REPO['Exclude']='' |
REPO['Exclude']='' |
634 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
635 |
|
REPO['Priority']='10' |
636 |
createrepo |
createrepo |
637 |
|
|
638 |
|
|
639 |
##################### |
##################### |
640 |
##################### |
##################### |
641 |
|
# Mongodb |
642 |
|
##################### |
643 |
|
##################### |
644 |
|
for nodever in "4.0" "4.1" "4.2" "4.3" "4.4" "5.0" "6.0" "7.0"; do |
645 |
|
REPO['reponame']="mongodb$nodever" |
646 |
|
REPO['pkgname']='mongodb' |
647 |
|
REPO['fullreponame']="Mongodb $nodever" |
648 |
|
REPO['EnableGroups']='no' |
649 |
|
REPO['Visible']='yes' |
650 |
|
REPO['status']='disabled' |
651 |
|
REPO['BaseURL']="https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/$nodever/\$basearch/" |
652 |
|
REPO['MirrorList']='' |
653 |
|
REPO['GPGCheck']='yes' |
654 |
|
REPO['GPGKey']="https://www.mongodb.org/static/pgp/server-$nodever.asc" |
655 |
|
REPO['Exclude']='' |
656 |
|
REPO['IncludePkgs']='' |
657 |
|
createrepo |
658 |
|
done |
659 |
|
|
660 |
|
##################### |
661 |
|
##################### |
662 |
|
# Nginx |
663 |
|
##################### |
664 |
|
##################### |
665 |
|
REPO['reponame']='nginx' |
666 |
|
REPO['pkgname']='nginx' |
667 |
|
REPO['fullreponame']='nginx stable repo' |
668 |
|
REPO['EnableGroups']='no' |
669 |
|
REPO['Visible']='yes' |
670 |
|
REPO['status']='enabled' |
671 |
|
REPO['BaseURL']='http://nginx.org/packages/centos/$releasever/$basearch/' |
672 |
|
REPO['MirrorList']='' |
673 |
|
REPO['GPGCheck']='yes' |
674 |
|
REPO['GPGKey']='https://nginx.org/keys/nginx_signing.key' |
675 |
|
REPO['Exclude']='' |
676 |
|
REPO['IncludePkgs']='' |
677 |
|
createrepo |
678 |
|
|
679 |
|
REPO['reponame']='nginx-mainline' |
680 |
|
REPO['pkgname']='nginx' |
681 |
|
REPO['fullreponame']='nginx mainline repo' |
682 |
|
REPO['EnableGroups']='no' |
683 |
|
REPO['Visible']='yes' |
684 |
|
REPO['status']='disabled' |
685 |
|
REPO['BaseURL']='http://nginx.org/packages/mainline/centos/$releasever/$basearch/' |
686 |
|
REPO['MirrorList']='' |
687 |
|
REPO['GPGCheck']='yes' |
688 |
|
REPO['GPGKey']='https://nginx.org/keys/nginx_signing.key' |
689 |
|
REPO['Exclude']='' |
690 |
|
REPO['IncludePkgs']='' |
691 |
|
createrepo |
692 |
|
|
693 |
|
|
694 |
|
|
695 |
|
|
696 |
|
##################### |
697 |
|
##################### |
698 |
# NodeJS 4 |
# NodeJS 4 |
699 |
##################### |
##################### |
700 |
##################### |
##################### |
701 |
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 |
702 |
REPO['reponame']="node$nodever" |
REPO['reponame']="node$nodever" |
703 |
REPO['pkgname']='node' |
REPO['pkgname']='node' |
704 |
REPO['fullreponame']="NodeJS $nodever" |
REPO['fullreponame']="NodeJS $nodever" |
705 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
706 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
707 |
REPO['status']='disabled' |
REPO['status']='disabled' |
708 |
REPO['BaseURL']='https://rpm.nodesource.com/pub_'.$nodever.'.x/el/$releasever/$basearch/' |
REPO['BaseURL']="https://rpm.nodesource.com/pub_$nodever.x/el/\$releasever/\$basearch/" |
709 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
710 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='yes' |
711 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL' |
712 |
|
#'https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
713 |
|
#'https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL' |
714 |
REPO['Exclude']='' |
REPO['Exclude']='' |
715 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
716 |
createrepo |
createrepo |
727 |
REPO['pkgname']='odoo' |
REPO['pkgname']='odoo' |
728 |
REPO['fullreponame']='Odoo 10 Nightly - EL7' |
REPO['fullreponame']='Odoo 10 Nightly - EL7' |
729 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
730 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
731 |
REPO['status']='disabled' |
REPO['status']='disabled' |
732 |
REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/' |
REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/' |
733 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
746 |
REPO['pkgname']='odoo' |
REPO['pkgname']='odoo' |
747 |
REPO['fullreponame']='Odoo 9 Nightly - EL7' |
REPO['fullreponame']='Odoo 9 Nightly - EL7' |
748 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
749 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
750 |
REPO['status']='disabled' |
REPO['status']='disabled' |
751 |
REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/' |
REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/' |
752 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
766 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']=${REPO['reponame']} |
767 |
REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX' |
REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX' |
768 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
769 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
770 |
REPO['status']='disabled' |
REPO['status']='disabled' |
771 |
REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release' |
REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release' |
772 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
778 |
|
|
779 |
##################### |
##################### |
780 |
##################### |
##################### |
781 |
|
# Onlyoffice |
782 |
|
##################### |
783 |
|
##################### |
784 |
|
REPO['reponame']='onlyoffice' |
785 |
|
REPO['pkgname']=${REPO['reponame']} |
786 |
|
REPO['fullreponame']='Onlyoffice document server - community edition' |
787 |
|
REPO['EnableGroups']='no' |
788 |
|
REPO['Visible']='yes' |
789 |
|
REPO['status']='enabled' |
790 |
|
REPO['BaseURL']='https://download.onlyoffice.com/repo/centos/main/noarch/' |
791 |
|
REPO['MirrorList']='' |
792 |
|
REPO['GPGCheck']='no' |
793 |
|
REPO['GPGKey']='https://raw.githubusercontent.com/ONLYOFFICE/repo/master/centos/RPM-GPG-KEY-ONLYOFFICE' |
794 |
|
REPO['Exclude']='' |
795 |
|
REPO['IncludePkgs']='' |
796 |
|
createrepo |
797 |
|
|
798 |
|
##################### |
799 |
|
##################### |
800 |
# Openfusion |
# Openfusion |
801 |
##################### |
##################### |
802 |
##################### |
##################### |
824 |
REPO['pkgname']='pgsql' |
REPO['pkgname']='pgsql' |
825 |
REPO['fullreponame']="Postgresql $pgsqlver" |
REPO['fullreponame']="Postgresql $pgsqlver" |
826 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
827 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
828 |
REPO['status']='disabled' |
REPO['status']='disabled' |
829 |
REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
REPO['BaseURL']='https://yum.postgresql.org/'$pgsqlver'/redhat/rhel-$releasever-$basearch/' |
830 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
831 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
832 |
ext=$pgsqlver; |
ext=$pgsqlver; |
833 |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
834 |
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 |
835 |
REPO['Exclude']='' |
REPO['Exclude']='' |
836 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
837 |
createrepo |
createrepo |
841 |
REPO['pkgname']='pgsql' |
REPO['pkgname']='pgsql' |
842 |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
843 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
844 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
845 |
REPO['status']='disabled' |
REPO['status']='disabled' |
846 |
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/' |
847 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
848 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
849 |
ext=$pgsqlver; |
ext=$pgsqlver; |
850 |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
851 |
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 |
852 |
REPO['Exclude']='' |
REPO['Exclude']='' |
853 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
854 |
createrepo |
createrepo |
857 |
REPO['pkgname']='pgsql' |
REPO['pkgname']='pgsql' |
858 |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
859 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
860 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
861 |
REPO['status']='disabled' |
REPO['status']='disabled' |
862 |
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/' |
863 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
864 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
865 |
ext=$pgsqlver; |
ext=$pgsqlver; |
866 |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
867 |
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 |
868 |
REPO['Exclude']='' |
REPO['Exclude']='' |
869 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
870 |
createrepo |
createrepo |
1259 |
#Zabbix2.4 |
#Zabbix2.4 |
1260 |
##################### |
##################### |
1261 |
##################### |
##################### |
1262 |
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' ) |
1263 |
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 |
1264 |
REPO['reponame']="zabbix${zabshort[$elasver]}" |
REPO['reponame']="zabbix${zabshort[$elasver]}" |
1265 |
REPO['pkgname']='zabbix' |
REPO['pkgname']='zabbix' |
1266 |
REPO['fullreponame']="Zabbix $elasver Official Repository" |
REPO['fullreponame']="Zabbix $elasver Official Repository" |
1276 |
createrepo |
createrepo |
1277 |
done |
done |
1278 |
|
|
1279 |
|
# webfront sclo |
1280 |
|
for elasver in '5.0' '5.1'; do |
1281 |
|
REPO['reponame']="zabbix${zabshort[$elasver]}-frontend" |
1282 |
|
REPO['pkgname']='zabbix' |
1283 |
|
REPO['fullreponame']="Zabbix $elasver Official Repository" |
1284 |
|
REPO['EnableGroups']='no' |
1285 |
|
REPO['Visible']='yes' |
1286 |
|
REPO['status']='disabled' |
1287 |
|
REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/frontend/" |
1288 |
|
REPO['MirrorList']='' |
1289 |
|
REPO['GPGCheck']='yes' |
1290 |
|
REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591" |
1291 |
|
REPO['Exclude']='' |
1292 |
|
REPO['IncludePkgs']='' |
1293 |
|
createrepo |
1294 |
|
done |
1295 |
|
|
1296 |
|
|
1297 |
|
|
1298 |
##################### |
##################### |
1299 |
##################### |
##################### |
1300 |
#zmrepo |
#zmrepo |
1438 |
$repo->delete('IncludePkgs'); |
$repo->delete('IncludePkgs'); |
1439 |
} |
} |
1440 |
|
|
1441 |
|
} |
1442 |
|
|
1443 |
|
} |
1444 |
|
|
|
} |
|
1445 |
|
|
1446 |
|
EOF |
1447 |
|
|
1448 |
|
|
1449 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/30DeleteOldMongoDB |
1450 |
|
{ |
1451 |
|
for my $dbVer (qw( 0.9 1.0 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7)) { |
1452 |
|
$dataBase = "mongodb$dbVer"; |
1453 |
|
my $repo = $DB->get($dataBase); |
1454 |
|
$repo->delete if $repo; |
1455 |
|
} |
1456 |
} |
} |
1457 |
|
|
1458 |
EOF |
EOF |
1464 |
|
|
1465 |
rm -f %{name}-%{version}-filelist* |
rm -f %{name}-%{version}-filelist* |
1466 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
1467 |
|
cat %{name}-%{version}-filelist|grep asterisk > %{name}-%{version}-filelist-asterisk |
1468 |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
1469 |
|
cat %{name}-%{version}-filelist| grep bareos > %{name}-%{version}-filelist-bareos |
1470 |
cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo |
cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo |
1471 |
|
cat %{name}-%{version}-filelist| grep collaboraoffice > %{name}-%{version}-filelist-collaboraoffice |
1472 |
|
cat %{name}-%{version}-filelist| grep docker-ce > %{name}-%{version}-filelist-docker-ce |
1473 |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
1474 |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
1475 |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
1477 |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
1478 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
1479 |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
1480 |
|
cat %{name}-%{version}-filelist| grep fusioninventory-agent > %{name}-%{version}-filelist-fusioninventory-agent |
1481 |
|
cat %{name}-%{version}-filelist| grep lemonldap > %{name}-%{version}-filelist-lemonldap |
1482 |
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
1483 |
|
cat %{name}-%{version}-filelist| grep mongodb > %{name}-%{version}-filelist-mongodb |
1484 |
|
cat %{name}-%{version}-filelist| grep nginx > %{name}-%{version}-filelist-nginx |
1485 |
|
cat %{name}-%{version}-filelist| grep node > %{name}-%{version}-filelist-node |
1486 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
1487 |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
1488 |
fi |
fi |
1489 |
cat %{name}-%{version}-filelist| grep okay > %{name}-%{version}-filelist-okay |
cat %{name}-%{version}-filelist| grep okay > %{name}-%{version}-filelist-okay |
1490 |
|
cat %{name}-%{version}-filelist| grep -i onlyoffice > %{name}-%{version}-filelist-onlyoffice |
1491 |
cat %{name}-%{version}-filelist| grep openfusion > %{name}-%{version}-filelist-openfusion |
cat %{name}-%{version}-filelist| grep openfusion > %{name}-%{version}-filelist-openfusion |
|
cat %{name}-%{version}-filelist| grep node > %{name}-%{version}-filelist-node |
|
1492 |
cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp |
cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp |
1493 |
cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory |
cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory |
1494 |
cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube |
cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube |
1530 |
# this is an upgrade |
# this is an upgrade |
1531 |
;; |
;; |
1532 |
esac |
esac |
1533 |
|
%package asterisk |
1534 |
|
Summary: Asterisk Repository tucny.com |
1535 |
|
%description asterisk |
1536 |
|
Asterisk Repository tucny.com |
1537 |
|
%files asterisk -f %{name}-%{version}-filelist-asterisk |
1538 |
|
%defattr(-,root,root) |
1539 |
|
|
1540 |
%package atomic |
%package atomic |
1541 |
Summary: Atomic Repository |
Summary: Atomic Repository |
1542 |
%description atomic |
%description atomic |
1544 |
%files atomic -f %{name}-%{version}-filelist-atomic |
%files atomic -f %{name}-%{version}-filelist-atomic |
1545 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1546 |
|
|
1547 |
|
%package bareos |
1548 |
|
Summary: Backup Archiving Recovery Open Sourced |
1549 |
|
%description bareos |
1550 |
|
Backup Archiving Recovery Open Sourced repository |
1551 |
|
%files bareos -f %{name}-%{version}-filelist-bareos |
1552 |
|
%defattr(-,root,root) |
1553 |
|
|
1554 |
%package centos-sclo |
%package centos-sclo |
1555 |
Summary: CentOS Red-Hat software collection repository |
Summary: CentOS Red-Hat software collection repository |
1556 |
%description centos-sclo |
%description centos-sclo |
1558 |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
1559 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1560 |
|
|
1561 |
|
%package collaboraoffice |
1562 |
|
Summary: collaboraoffice repo |
1563 |
|
%description collaboraoffice |
1564 |
|
collaboraoffice repo |
1565 |
|
%files collaboraoffice -f %{name}-%{version}-filelist-collaboraoffice |
1566 |
|
%defattr(-,root,root) |
1567 |
|
|
1568 |
|
%package docker-ce |
1569 |
|
Summary: docker-ce |
1570 |
|
%description docker-ce |
1571 |
|
docker-ce repo |
1572 |
|
%files docker-ce -f %{name}-%{version}-filelist-docker-ce |
1573 |
|
%defattr(-,root,root) |
1574 |
|
|
1575 |
%package egroupware |
%package egroupware |
1576 |
Summary: Repository for eGroupWare |
Summary: Repository for eGroupWare |
1577 |
%description egroupware |
%description egroupware |
1621 |
%files fws -f %{name}-%{version}-filelist-fws |
%files fws -f %{name}-%{version}-filelist-fws |
1622 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1623 |
|
|
1624 |
|
%package fusioninventory-agent |
1625 |
|
Summary: Copr repo for fusioninventory-agent owned by trasher |
1626 |
|
%description fusioninventory-agent |
1627 |
|
Copr repo for fusioninventory-agent owned by trasher |
1628 |
|
%files fusioninventory-agent -f %{name}-%{version}-filelist-fusioninventory-agent |
1629 |
|
%defattr(-,root,root) |
1630 |
|
|
1631 |
|
%package lemonldap |
1632 |
|
Summary: Lemonldap NG Repository |
1633 |
|
%description lemonldap |
1634 |
|
LemonLDAP::NG Repository |
1635 |
|
%files lemonldap -f %{name}-%{version}-filelist-lemonldap |
1636 |
|
%defattr(-,root,root) |
1637 |
|
|
1638 |
%package libreswan |
%package libreswan |
1639 |
Summary: Libreswan Repository |
Summary: Libreswan Repository |
1640 |
%description libreswan |
%description libreswan |
1642 |
%files libreswan -f %{name}-%{version}-filelist-libreswan |
%files libreswan -f %{name}-%{version}-filelist-libreswan |
1643 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1644 |
|
|
1645 |
|
%package mongodb |
1646 |
|
Summary: MongoDB Repositories |
1647 |
|
%description mongodb |
1648 |
|
MongoDB Repositories |
1649 |
|
%files mongodb -f %{name}-%{version}-filelist-mongodb |
1650 |
|
%defattr(-,root,root) |
1651 |
|
|
1652 |
|
%package nginx |
1653 |
|
Summary: nginx Repositories |
1654 |
|
%description nginx |
1655 |
|
Nginx Repositories |
1656 |
|
%files nginx -f %{name}-%{version}-filelist-nginx |
1657 |
|
%defattr(-,root,root) |
1658 |
|
|
1659 |
%package node |
%package node |
1660 |
Summary: NodeJS Repositories |
Summary: NodeJS Repositories |
1661 |
%description node |
%description node |
1679 |
%files okay -f %{name}-%{version}-filelist-okay |
%files okay -f %{name}-%{version}-filelist-okay |
1680 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1681 |
|
|
1682 |
|
%package onlyoffice |
1683 |
|
Summary: onlyoffice Repository |
1684 |
|
%description onlyoffice |
1685 |
|
onlyoffice Repository |
1686 |
|
%files onlyoffice -f %{name}-%{version}-filelist-onlyoffice |
1687 |
|
%defattr(-,root,root) |
1688 |
|
|
1689 |
%package openfusion |
%package openfusion |
1690 |
Summary: Openfusion Repository |
Summary: Openfusion Repository |
1691 |
%description openfusion |
%description openfusion |