1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 31 |
%define release 40 |
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 |
|
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 Jun 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-40.sme |
23 |
|
- add mongodb repos [SME: 11905] |
24 |
|
- add onlyoffice repo [SME: 12078] |
25 |
|
- add nginx repo [SME: 12079] |
26 |
|
|
27 |
|
* Sat May 28 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-39.sme |
28 |
|
- fix typo in pgsql url |
29 |
|
|
30 |
|
* Thu Mar 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-38.sme |
31 |
|
- add docker-ce repo [SME: 11894] |
32 |
|
|
33 |
|
* Wed Mar 09 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-37.sme |
34 |
|
- add collaboraoffice repo [SME: 11888] |
35 |
|
|
36 |
|
* Thu Feb 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-36.sme |
37 |
|
- add Copr repo for fusioninventory-agent owned by trasher [SME: 11751] |
38 |
|
- fix update event for sclo [SME: 11876] |
39 |
|
|
40 |
|
* Mon Nov 29 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-35.sme |
41 |
|
- fix node repos |
42 |
|
|
43 |
|
* Tue Nov 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-34.sme |
44 |
|
- add asterisk [SME: 11512] |
45 |
|
- add lemonldap [SME: 11740] |
46 |
|
- add bareos [SME: 11741] |
47 |
|
- add zabbix repo up to 55 and add scl sub repos [SME: 11744] |
48 |
|
|
49 |
|
* Tue Jul 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-33.sme |
50 |
|
- add migrate fragment for pwauth in epel [SME: 11639] |
51 |
|
|
52 |
|
* Wed Jun 30 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-32.sme |
53 |
|
- Requires e-smith >= 10 |
54 |
|
- exclude pwauh from EPEL [SME: 11639] |
55 |
|
|
56 |
* 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 |
57 |
- add perl-JSON to openfusion [SME: 11579] |
- add perl-JSON to openfusion [SME: 11579] |
58 |
|
|
158 |
# if needing to add a gpg key |
# if needing to add a gpg key |
159 |
#cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/ |
#cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/ |
160 |
#/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']} |
#/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']} |
161 |
|
cp %SOURCE0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/ |
162 |
|
|
163 |
|
|
164 |
# if needing to migrate something : |
# if needing to migrate something : |
165 |
#mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate |
#mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate |
200 |
} |
} |
201 |
|
|
202 |
|
|
203 |
|
##################### |
204 |
|
##################### |
205 |
|
# asterisk |
206 |
|
##################### |
207 |
|
##################### |
208 |
|
for elasver in "13" "16" '17' '18' ; do |
209 |
|
REPO['reponame']="asterisk-$elasver" |
210 |
|
REPO['pkgname']='asterisk' |
211 |
|
REPO['fullreponame']="Asterisk $elasver (LTS) Packages @ tucny.com" |
212 |
|
REPO['EnableGroups']='no' |
213 |
|
REPO['Visible']='yes' |
214 |
|
REPO['status']='disabled' |
215 |
|
REPO['BaseURL']=""#https://ast.tucny.com/repo/asterisk-$elasver/el\$releasever/\$basearch/ |
216 |
|
REPO['MirrorList']="https://ast.tucny.com/mirrorlist.php?release=\$releasever&arch=\$basearch&repo=asterisk-$elasver" |
217 |
|
REPO['GPGCheck']='yes' |
218 |
|
REPO['GPGKey']="https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny" |
219 |
|
REPO['Exclude']='' |
220 |
|
REPO['IncludePkgs']='' |
221 |
|
createrepo |
222 |
|
done |
223 |
|
|
224 |
|
REPO['reponame']='asterisk-common' |
225 |
|
REPO['pkgname']='asterisk' |
226 |
|
REPO['fullreponame']='Asterisk Common Requirement Packages @ tucny.com' |
227 |
|
REPO['EnableGroups']='no' |
228 |
|
REPO['Visible']='no' |
229 |
|
REPO['status']='disabled' |
230 |
|
REPO['BaseURL']=''#https://ast.tucny.com/repo/asterisk-common/el$releasever/$basearch/ |
231 |
|
REPO['MirrorList']='https://ast.tucny.com/mirrorlist.php?release=$releasever&arch=$basearch&repo=asterisk-common' |
232 |
|
REPO['GPGCheck']='yes' |
233 |
|
REPO['GPGKey']='https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny' |
234 |
|
REPO['Exclude']='' |
235 |
|
REPO['IncludePkgs']='' |
236 |
|
createrepo |
237 |
|
|
238 |
|
|
239 |
|
|
240 |
##################### |
##################### |
241 |
##################### |
##################### |
258 |
|
|
259 |
##################### |
##################### |
260 |
##################### |
##################### |
261 |
|
# BareOS |
262 |
|
##################### |
263 |
|
##################### |
264 |
|
REPO['reponame']='bareos20' |
265 |
|
REPO['pkgname']='bareos' |
266 |
|
REPO['fullreponame']='Backup Archiving Recovery Open Sourced' |
267 |
|
REPO['EnableGroups']='no' |
268 |
|
REPO['Visible']='yes' |
269 |
|
REPO['status']='disabled' |
270 |
|
REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever' |
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-source' |
279 |
|
REPO['pkgname']='bareos' |
280 |
|
REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Sources' |
281 |
|
REPO['EnableGroups']='no' |
282 |
|
REPO['Visible']='no' |
283 |
|
REPO['status']='disabled' |
284 |
|
REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/src' |
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 |
|
REPO['reponame']='bareos20-debuginfo' |
293 |
|
REPO['pkgname']='bareos' |
294 |
|
REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Debuginfo' |
295 |
|
REPO['EnableGroups']='no' |
296 |
|
REPO['Visible']='no' |
297 |
|
REPO['status']='disabled' |
298 |
|
REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/debug' |
299 |
|
REPO['MirrorList']='' |
300 |
|
REPO['GPGCheck']='yes' |
301 |
|
REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key' |
302 |
|
REPO['Exclude']='' |
303 |
|
REPO['IncludePkgs']='' |
304 |
|
createrepo |
305 |
|
|
306 |
|
|
307 |
|
|
308 |
|
##################### |
309 |
|
##################### |
310 |
#centos-sclo-centos |
#centos-sclo-centos |
311 |
##################### |
##################### |
312 |
##################### |
##################### |
313 |
REPO['reponame']='centos-sclo-centos' |
REPO['reponame']='centos-sclo-centos' |
314 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']="centos-sclo" #${REPO['reponame']} |
315 |
REPO['fullreponame']='Centos-RH Software collections' |
REPO['fullreponame']='Centos-RH Software collections' |
316 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
317 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
318 |
REPO['status']='disabled' |
REPO['status']='enabled' |
319 |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/' |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/' |
320 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
321 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
330 |
##################### |
##################### |
331 |
##################### |
##################### |
332 |
REPO['reponame']='centos-sclo-rh' |
REPO['reponame']='centos-sclo-rh' |
333 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']='centos-sclo' #${REPO['reponame']} |
334 |
REPO['fullreponame']='Centos-RH Software collections' |
REPO['fullreponame']='Centos-RH Software collections' |
335 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
336 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
337 |
REPO['status']='disabled' |
REPO['status']='enabled' |
338 |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' |
339 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
340 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
345 |
|
|
346 |
##################### |
##################### |
347 |
##################### |
##################### |
348 |
|
#collaboraoffice.com |
349 |
|
##################### |
350 |
|
##################### |
351 |
|
REPO['reponame']='collaboraoffice' |
352 |
|
REPO['pkgname']=${REPO['reponame']} |
353 |
|
REPO['fullreponame']='collaboraoffice.com_repos_CollaboraOnline_CODE-centos' |
354 |
|
REPO['EnableGroups']='no' |
355 |
|
REPO['Visible']='yes' |
356 |
|
REPO['status']='enabled' |
357 |
|
REPO['BaseURL']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos$releasever' |
358 |
|
REPO['MirrorList']='' |
359 |
|
REPO['GPGCheck']='yes' |
360 |
|
REPO['GPGKey']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos7/repodata/repomd.xml.key' |
361 |
|
REPO['Exclude']='' |
362 |
|
REPO['IncludePkgs']='' |
363 |
|
createrepo |
364 |
|
|
365 |
|
##################### |
366 |
|
##################### |
367 |
|
#docker-ce |
368 |
|
##################### |
369 |
|
##################### |
370 |
|
REPO['reponame']='docker-ce' |
371 |
|
REPO['pkgname']=${REPO['reponame']} |
372 |
|
REPO['fullreponame']='docker-ce' |
373 |
|
REPO['EnableGroups']='no' |
374 |
|
REPO['Visible']='yes' |
375 |
|
REPO['status']='enabled' |
376 |
|
REPO['BaseURL']='https://download.docker.com/linux/centos/$releasever/$basearch/stable' |
377 |
|
REPO['MirrorList']='' |
378 |
|
REPO['GPGCheck']='yes' |
379 |
|
REPO['GPGKey']='https://download.docker.com/linux/centos/gpg' |
380 |
|
REPO['Exclude']='' |
381 |
|
REPO['IncludePkgs']='' |
382 |
|
createrepo |
383 |
|
|
384 |
|
|
385 |
|
##################### |
386 |
|
##################### |
387 |
#egroupware |
#egroupware |
388 |
##################### |
##################### |
389 |
##################### |
##################### |
476 |
REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch' |
REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch' |
477 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
478 |
REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL' |
REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL' |
479 |
REPO['Exclude']='perl-Razor-Agent' |
REPO['Exclude']='perl-Razor-Agent,pwauth' |
480 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
481 |
createrepo |
createrepo |
482 |
|
|
558 |
|
|
559 |
##################### |
##################### |
560 |
##################### |
##################### |
561 |
|
#fusion inventory |
562 |
|
##################### |
563 |
|
##################### |
564 |
|
REPO['reponame']='fusioninventory-agent' |
565 |
|
REPO['pkgname']='fusioninventory-agent' |
566 |
|
REPO['fullreponame']='Copr repo for fusioninventory-agent owned by trasher' |
567 |
|
REPO['EnableGroups']='no' |
568 |
|
REPO['Visible']='no' |
569 |
|
REPO['status']='disabled' |
570 |
|
REPO['BaseURL']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/epel-$releasever-$basearch/' |
571 |
|
REPO['MirrorList']='' |
572 |
|
REPO['GPGCheck']='yes' |
573 |
|
REPO['GPGKey']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/pubkey.gpg' |
574 |
|
REPO['Exclude']='' |
575 |
|
REPO['IncludePkgs']='' |
576 |
|
createrepo |
577 |
|
|
578 |
|
|
579 |
|
##################### |
580 |
|
##################### |
581 |
|
# LemonLDAP-NG |
582 |
|
##################### |
583 |
|
##################### |
584 |
|
REPO['reponame']='lemonldap-ng' |
585 |
|
REPO['pkgname']='lemonldap' |
586 |
|
REPO['fullreponame']='LemonLDAP::NG packages' |
587 |
|
REPO['EnableGroups']='no' |
588 |
|
REPO['Visible']='yes' |
589 |
|
REPO['status']='disabled' |
590 |
|
REPO['BaseURL']='https://lemonldap-ng.org/redhat/stable/$releasever/noarch' |
591 |
|
REPO['MirrorList']='' |
592 |
|
REPO['GPGCheck']='yes' |
593 |
|
REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' |
594 |
|
REPO['Exclude']='' |
595 |
|
REPO['IncludePkgs']='' |
596 |
|
createrepo |
597 |
|
|
598 |
|
REPO['reponame']='lemonldap-ng-extras' |
599 |
|
REPO['pkgname']='lemonldap' |
600 |
|
REPO['fullreponame']='LemonLDAP::NG extra packages' |
601 |
|
REPO['EnableGroups']='no' |
602 |
|
REPO['Visible']='yes' |
603 |
|
REPO['status']='disabled' |
604 |
|
REPO['BaseURL']='https://lemonldap-ng.org/redhat/extras/$releasever/noarch' |
605 |
|
REPO['MirrorList']='' |
606 |
|
REPO['GPGCheck']='yes' |
607 |
|
REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' |
608 |
|
REPO['Exclude']='' |
609 |
|
REPO['IncludePkgs']='' |
610 |
|
createrepo |
611 |
|
|
612 |
|
|
613 |
|
|
614 |
|
##################### |
615 |
|
##################### |
616 |
# Libreswan |
# Libreswan |
617 |
##################### |
##################### |
618 |
##################### |
##################### |
620 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']=${REPO['reponame']} |
621 |
REPO['fullreponame']='Libreswan' |
REPO['fullreponame']='Libreswan' |
622 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
623 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
624 |
REPO['status']='disabled' |
REPO['status']='disabled' |
625 |
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/' |
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/' |
626 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
633 |
|
|
634 |
##################### |
##################### |
635 |
##################### |
##################### |
636 |
|
# Mongodb |
637 |
|
##################### |
638 |
|
##################### |
639 |
|
for nodever in "0.9" "1.0" "3.0" "3.1" "3.2" "3.3" "3.4" "3.5" "3.6" "3.7" "4.0" "4.1" "4.2" "4.3" "4.4" "5.0"; do |
640 |
|
REPO['reponame']="mongodb$nodever" |
641 |
|
REPO['pkgname']='mongodb' |
642 |
|
REPO['fullreponame']="Mongodb $nodever" |
643 |
|
REPO['EnableGroups']='no' |
644 |
|
REPO['Visible']='yes' |
645 |
|
REPO['status']='disabled' |
646 |
|
REPO['BaseURL']="https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/$nodever/\$basearch/" |
647 |
|
REPO['MirrorList']='' |
648 |
|
REPO['GPGCheck']='yes' |
649 |
|
REPO['GPGKey']="https://www.mongodb.org/static/pgp/server-$nodever.asc" |
650 |
|
REPO['Exclude']='' |
651 |
|
REPO['IncludePkgs']='' |
652 |
|
createrepo |
653 |
|
done |
654 |
|
|
655 |
|
##################### |
656 |
|
##################### |
657 |
|
# Nginx |
658 |
|
##################### |
659 |
|
##################### |
660 |
|
REPO['reponame']='nginx' |
661 |
|
REPO['pkgname']='nginx' |
662 |
|
REPO['fullreponame']='nginx stable repo' |
663 |
|
REPO['EnableGroups']='no' |
664 |
|
REPO['Visible']='yes' |
665 |
|
REPO['status']='enabled' |
666 |
|
REPO['BaseURL']='http://nginx.org/packages/centos/$releasever/$basearch/' |
667 |
|
REPO['MirrorList']='' |
668 |
|
REPO['GPGCheck']='yes' |
669 |
|
REPO['GPGKey']='https://nginx.org/keys/nginx_signing.key' |
670 |
|
REPO['Exclude']='' |
671 |
|
REPO['IncludePkgs']='' |
672 |
|
createrepo |
673 |
|
|
674 |
|
REPO['reponame']='nginx-mainline' |
675 |
|
REPO['pkgname']='nginx' |
676 |
|
REPO['fullreponame']='nginx mainline repo' |
677 |
|
REPO['EnableGroups']='no' |
678 |
|
REPO['Visible']='yes' |
679 |
|
REPO['status']='disabled' |
680 |
|
REPO['BaseURL']='http://nginx.org/packages/mainline/centos/$releasever/$basearch/' |
681 |
|
REPO['MirrorList']='' |
682 |
|
REPO['GPGCheck']='yes' |
683 |
|
REPO['GPGKey']='https://nginx.org/keys/nginx_signing.key' |
684 |
|
REPO['Exclude']='' |
685 |
|
REPO['IncludePkgs']='' |
686 |
|
createrepo |
687 |
|
|
688 |
|
|
689 |
|
|
690 |
|
|
691 |
|
##################### |
692 |
|
##################### |
693 |
# NodeJS 4 |
# NodeJS 4 |
694 |
##################### |
##################### |
695 |
##################### |
##################### |
696 |
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 |
697 |
REPO['reponame']="node$nodever" |
REPO['reponame']="node$nodever" |
698 |
REPO['pkgname']='node' |
REPO['pkgname']='node' |
699 |
REPO['fullreponame']="NodeJS $nodever" |
REPO['fullreponame']="NodeJS $nodever" |
700 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
701 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
702 |
REPO['status']='disabled' |
REPO['status']='disabled' |
703 |
REPO['BaseURL']='https://rpm.nodesource.com/pub_'.$nodever.'.x/el/$releasever/$basearch/' |
REPO['BaseURL']="https://rpm.nodesource.com/pub_$nodever.x/el/\$releasever/\$basearch/" |
704 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
705 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='yes' |
706 |
REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
REPO['GPGKey']='https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL' |
707 |
|
#'https://deb.nodesource.com/gpgkey/nodesource.gpg.key' |
708 |
|
#'https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL' |
709 |
REPO['Exclude']='' |
REPO['Exclude']='' |
710 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
711 |
createrepo |
createrepo |
722 |
REPO['pkgname']='odoo' |
REPO['pkgname']='odoo' |
723 |
REPO['fullreponame']='Odoo 10 Nightly - EL7' |
REPO['fullreponame']='Odoo 10 Nightly - EL7' |
724 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
725 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
726 |
REPO['status']='disabled' |
REPO['status']='disabled' |
727 |
REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/' |
REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/' |
728 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
741 |
REPO['pkgname']='odoo' |
REPO['pkgname']='odoo' |
742 |
REPO['fullreponame']='Odoo 9 Nightly - EL7' |
REPO['fullreponame']='Odoo 9 Nightly - EL7' |
743 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
744 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
745 |
REPO['status']='disabled' |
REPO['status']='disabled' |
746 |
REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/' |
REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/' |
747 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
761 |
REPO['pkgname']=${REPO['reponame']} |
REPO['pkgname']=${REPO['reponame']} |
762 |
REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX' |
REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX' |
763 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
764 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
765 |
REPO['status']='disabled' |
REPO['status']='disabled' |
766 |
REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release' |
REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release' |
767 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
773 |
|
|
774 |
##################### |
##################### |
775 |
##################### |
##################### |
776 |
|
# Onlyoffice |
777 |
|
##################### |
778 |
|
##################### |
779 |
|
REPO['reponame']='onlyoffice' |
780 |
|
REPO['pkgname']=${REPO['reponame']} |
781 |
|
REPO['fullreponame']='Onlyoffice document server - community edition' |
782 |
|
REPO['EnableGroups']='no' |
783 |
|
REPO['Visible']='yes' |
784 |
|
REPO['status']='enabled' |
785 |
|
REPO['BaseURL']='https://download.onlyoffice.com/repo/centos/main/noarch/' |
786 |
|
REPO['MirrorList']='' |
787 |
|
REPO['GPGCheck']='no' |
788 |
|
REPO['GPGKey']='https://raw.githubusercontent.com/ONLYOFFICE/repo/master/centos/RPM-GPG-KEY-ONLYOFFICE' |
789 |
|
REPO['Exclude']='' |
790 |
|
REPO['IncludePkgs']='' |
791 |
|
createrepo |
792 |
|
|
793 |
|
##################### |
794 |
|
##################### |
795 |
# Openfusion |
# Openfusion |
796 |
##################### |
##################### |
797 |
##################### |
##################### |
819 |
REPO['pkgname']='pgsql' |
REPO['pkgname']='pgsql' |
820 |
REPO['fullreponame']="Postgresql $pgsqlver" |
REPO['fullreponame']="Postgresql $pgsqlver" |
821 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
822 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
823 |
REPO['status']='disabled' |
REPO['status']='disabled' |
824 |
REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' |
REPO['BaseURL']='https://yum.postgresql.org/'$pgsqlver'/redhat/rhel-$releasever-$basearch/' |
825 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
826 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
827 |
ext=$pgsqlver; |
ext=$pgsqlver; |
828 |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
829 |
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 |
830 |
REPO['Exclude']='' |
REPO['Exclude']='' |
831 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
832 |
createrepo |
createrepo |
836 |
REPO['pkgname']='pgsql' |
REPO['pkgname']='pgsql' |
837 |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
838 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
839 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
840 |
REPO['status']='disabled' |
REPO['status']='disabled' |
841 |
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/' |
842 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
843 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
844 |
ext=$pgsqlver; |
ext=$pgsqlver; |
845 |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
846 |
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 |
847 |
REPO['Exclude']='' |
REPO['Exclude']='' |
848 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
849 |
createrepo |
createrepo |
852 |
REPO['pkgname']='pgsql' |
REPO['pkgname']='pgsql' |
853 |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
REPO['fullreponame']="Postgresql $pgsqlver non free" |
854 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
855 |
REPO['Visible']='no' |
REPO['Visible']='yes' |
856 |
REPO['status']='disabled' |
REPO['status']='disabled' |
857 |
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/' |
858 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
859 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
860 |
ext=$pgsqlver; |
ext=$pgsqlver; |
861 |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
[[ "$pgsqlver" == "9.6" ]] && ext="96"; |
862 |
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 |
863 |
REPO['Exclude']='' |
REPO['Exclude']='' |
864 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
865 |
createrepo |
createrepo |
1254 |
#Zabbix2.4 |
#Zabbix2.4 |
1255 |
##################### |
##################### |
1256 |
##################### |
##################### |
1257 |
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' ) |
1258 |
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 |
1259 |
REPO['reponame']="zabbix${zabshort[$elasver]}" |
REPO['reponame']="zabbix${zabshort[$elasver]}" |
1260 |
REPO['pkgname']='zabbix' |
REPO['pkgname']='zabbix' |
1261 |
REPO['fullreponame']="Zabbix $elasver Official Repository" |
REPO['fullreponame']="Zabbix $elasver Official Repository" |
1271 |
createrepo |
createrepo |
1272 |
done |
done |
1273 |
|
|
1274 |
|
# webfront sclo |
1275 |
|
for elasver in '5.0' '5.1'; do |
1276 |
|
REPO['reponame']="zabbix${zabshort[$elasver]}-frontend" |
1277 |
|
REPO['pkgname']='zabbix' |
1278 |
|
REPO['fullreponame']="Zabbix $elasver Official Repository" |
1279 |
|
REPO['EnableGroups']='no' |
1280 |
|
REPO['Visible']='yes' |
1281 |
|
REPO['status']='disabled' |
1282 |
|
REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/frontend/" |
1283 |
|
REPO['MirrorList']='' |
1284 |
|
REPO['GPGCheck']='yes' |
1285 |
|
REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591" |
1286 |
|
REPO['Exclude']='' |
1287 |
|
REPO['IncludePkgs']='' |
1288 |
|
createrepo |
1289 |
|
done |
1290 |
|
|
1291 |
|
|
1292 |
|
|
1293 |
##################### |
##################### |
1294 |
##################### |
##################### |
1295 |
#zmrepo |
#zmrepo |
1347 |
|
|
1348 |
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 |
1349 |
{ |
{ |
1350 |
my @add = split(/[,; ]+/, ''); |
my @add = split(/[,; ]+/, 'pwauth'); |
1351 |
my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make'); |
my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make'); |
1352 |
|
|
1353 |
for my $name ( qw(epel) ) |
for my $name ( qw(epel) ) |
1448 |
|
|
1449 |
rm -f %{name}-%{version}-filelist* |
rm -f %{name}-%{version}-filelist* |
1450 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
1451 |
|
cat %{name}-%{version}-filelist|grep asterisk > %{name}-%{version}-filelist-asterisk |
1452 |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
1453 |
|
cat %{name}-%{version}-filelist| grep bareos > %{name}-%{version}-filelist-bareos |
1454 |
cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo |
cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo |
1455 |
|
cat %{name}-%{version}-filelist| grep collaboraoffice > %{name}-%{version}-filelist-collaboraoffice |
1456 |
|
cat %{name}-%{version}-filelist| grep docker-ce > %{name}-%{version}-filelist-docker-ce |
1457 |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
1458 |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
1459 |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
1461 |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
1462 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
1463 |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
1464 |
|
cat %{name}-%{version}-filelist| grep fusioninventory-agent > %{name}-%{version}-filelist-fusioninventory-agent |
1465 |
|
cat %{name}-%{version}-filelist| grep lemonldap > %{name}-%{version}-filelist-lemonldap |
1466 |
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
1467 |
|
cat %{name}-%{version}-filelist| grep mongodb > %{name}-%{version}-filelist-mongodb |
1468 |
|
cat %{name}-%{version}-filelist| grep nginx > %{name}-%{version}-filelist-nginx |
1469 |
|
cat %{name}-%{version}-filelist| grep node > %{name}-%{version}-filelist-node |
1470 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
1471 |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
1472 |
fi |
fi |
1473 |
cat %{name}-%{version}-filelist| grep okay > %{name}-%{version}-filelist-okay |
cat %{name}-%{version}-filelist| grep okay > %{name}-%{version}-filelist-okay |
1474 |
|
cat %{name}-%{version}-filelist| grep -i onlyoffice > %{name}-%{version}-filelist-onlyoffice |
1475 |
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 |
|
1476 |
cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp |
cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp |
1477 |
cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory |
cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory |
1478 |
cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube |
cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube |
1514 |
# this is an upgrade |
# this is an upgrade |
1515 |
;; |
;; |
1516 |
esac |
esac |
1517 |
|
%package asterisk |
1518 |
|
Summary: Asterisk Repository tucny.com |
1519 |
|
%description asterisk |
1520 |
|
Asterisk Repository tucny.com |
1521 |
|
%files asterisk -f %{name}-%{version}-filelist-asterisk |
1522 |
|
%defattr(-,root,root) |
1523 |
|
|
1524 |
%package atomic |
%package atomic |
1525 |
Summary: Atomic Repository |
Summary: Atomic Repository |
1526 |
%description atomic |
%description atomic |
1528 |
%files atomic -f %{name}-%{version}-filelist-atomic |
%files atomic -f %{name}-%{version}-filelist-atomic |
1529 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1530 |
|
|
1531 |
|
%package bareos |
1532 |
|
Summary: Backup Archiving Recovery Open Sourced |
1533 |
|
%description bareos |
1534 |
|
Backup Archiving Recovery Open Sourced repository |
1535 |
|
%files bareos -f %{name}-%{version}-filelist-bareos |
1536 |
|
%defattr(-,root,root) |
1537 |
|
|
1538 |
%package centos-sclo |
%package centos-sclo |
1539 |
Summary: CentOS Red-Hat software collection repository |
Summary: CentOS Red-Hat software collection repository |
1540 |
%description centos-sclo |
%description centos-sclo |
1542 |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
1543 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1544 |
|
|
1545 |
|
%package collaboraoffice |
1546 |
|
Summary: collaboraoffice repo |
1547 |
|
%description collaboraoffice |
1548 |
|
collaboraoffice repo |
1549 |
|
%files collaboraoffice -f %{name}-%{version}-filelist-collaboraoffice |
1550 |
|
%defattr(-,root,root) |
1551 |
|
|
1552 |
|
%package docker-ce |
1553 |
|
Summary: docker-ce |
1554 |
|
%description docker-ce |
1555 |
|
docker-ce repo |
1556 |
|
%files docker-ce -f %{name}-%{version}-filelist-docker-ce |
1557 |
|
%defattr(-,root,root) |
1558 |
|
|
1559 |
%package egroupware |
%package egroupware |
1560 |
Summary: Repository for eGroupWare |
Summary: Repository for eGroupWare |
1561 |
%description egroupware |
%description egroupware |
1605 |
%files fws -f %{name}-%{version}-filelist-fws |
%files fws -f %{name}-%{version}-filelist-fws |
1606 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1607 |
|
|
1608 |
|
%package fusioninventory-agent |
1609 |
|
Summary: Copr repo for fusioninventory-agent owned by trasher |
1610 |
|
%description fusioninventory-agent |
1611 |
|
Copr repo for fusioninventory-agent owned by trasher |
1612 |
|
%files fusioninventory-agent -f %{name}-%{version}-filelist-fusioninventory-agent |
1613 |
|
%defattr(-,root,root) |
1614 |
|
|
1615 |
|
%package lemonldap |
1616 |
|
Summary: Lemonldap NG Repository |
1617 |
|
%description lemonldap |
1618 |
|
LemonLDAP::NG Repository |
1619 |
|
%files lemonldap -f %{name}-%{version}-filelist-lemonldap |
1620 |
|
%defattr(-,root,root) |
1621 |
|
|
1622 |
%package libreswan |
%package libreswan |
1623 |
Summary: Libreswan Repository |
Summary: Libreswan Repository |
1624 |
%description libreswan |
%description libreswan |
1626 |
%files libreswan -f %{name}-%{version}-filelist-libreswan |
%files libreswan -f %{name}-%{version}-filelist-libreswan |
1627 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1628 |
|
|
1629 |
|
%package mongodb |
1630 |
|
Summary: MongoDB Repositories |
1631 |
|
%description mongodb |
1632 |
|
MongoDB Repositories |
1633 |
|
%files mongodb -f %{name}-%{version}-filelist-mongodb |
1634 |
|
%defattr(-,root,root) |
1635 |
|
|
1636 |
|
%package nginx |
1637 |
|
Summary: nginx Repositories |
1638 |
|
%description nginx |
1639 |
|
Nginx Repositories |
1640 |
|
%files nginx -f %{name}-%{version}-filelist-nginx |
1641 |
|
%defattr(-,root,root) |
1642 |
|
|
1643 |
%package node |
%package node |
1644 |
Summary: NodeJS Repositories |
Summary: NodeJS Repositories |
1645 |
%description node |
%description node |
1663 |
%files okay -f %{name}-%{version}-filelist-okay |
%files okay -f %{name}-%{version}-filelist-okay |
1664 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1665 |
|
|
1666 |
|
%package onlyoffice |
1667 |
|
Summary: onlyoffice Repository |
1668 |
|
%description onlyoffice |
1669 |
|
onlyoffice Repository |
1670 |
|
%files onlyoffice -f %{name}-%{version}-filelist-onlyoffice |
1671 |
|
%defattr(-,root,root) |
1672 |
|
|
1673 |
%package openfusion |
%package openfusion |
1674 |
Summary: Openfusion Repository |
Summary: Openfusion Repository |
1675 |
%description openfusion |
%description openfusion |