--- rpms/smeserver-extrarepositories/contribs10/smeserver-extrarepositories.spec 2021/07/07 03:42:23 1.13 +++ rpms/smeserver-extrarepositories/contribs10/smeserver-extrarepositories.spec 2022/03/09 20:26:37 1.17 @@ -1,6 +1,6 @@ %define name smeserver-extrarepositories %define version 0.1 -%define release 33 +%define release 37 Summary: easy configuration of extra yum repo Name: %{name} Version: %{version} @@ -18,6 +18,22 @@ AutoReqProv: no Provides configuration for external yum repository comaptible with Koozali SME Server. %changelog +* Wed Mar 09 2022 Jean-Philippe Pialasse 0.1-37.sme +- add collaboraoffice repo [SME: 11888] + +* Thu Feb 24 2022 Jean-Philippe Pialasse 0.1-36.sme +- add Copr repo for fusioninventory-agent owned by trasher [SME: 11751] +- fix update event for sclo [SME: 11876] + +* Mon Nov 29 2021 Jean-Philippe Pialasse 0.1-35.sme +- fix node repos + +* Tue Nov 09 2021 Jean-Philippe Pialasse 0.1-34.sme +- add asterisk [SME: 11512] +- add lemonldap [SME: 11740] +- add bareos [SME: 11741] +- add zabbix repo up to 55 and add scl sub repos [SME: 11744] + * Tue Jul 06 2021 Jean-Philippe Pialasse 0.1-33.sme - add migrate fragment for pwauth in epel [SME: 11639] @@ -170,6 +186,42 @@ return 0 } +##################### +##################### +# asterisk +##################### +##################### +for elasver in "13" "16" '17' '18' ; do +REPO['reponame']="asterisk-$elasver" +REPO['pkgname']='asterisk' +REPO['fullreponame']="Asterisk $elasver (LTS) Packages @ tucny.com" +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']=""#https://ast.tucny.com/repo/asterisk-$elasver/el\$releasever/\$basearch/ +REPO['MirrorList']="https://ast.tucny.com/mirrorlist.php?release=\$releasever&arch=\$basearch&repo=asterisk-$elasver" +REPO['GPGCheck']='yes' +REPO['GPGKey']="https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny" +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo +done + +REPO['reponame']='asterisk-common' +REPO['pkgname']='asterisk' +REPO['fullreponame']='Asterisk Common Requirement Packages @ tucny.com' +REPO['EnableGroups']='no' +REPO['Visible']='no' +REPO['status']='disabled' +REPO['BaseURL']=''#https://ast.tucny.com/repo/asterisk-common/el$releasever/$basearch/ +REPO['MirrorList']='https://ast.tucny.com/mirrorlist.php?release=$releasever&arch=$basearch&repo=asterisk-common' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny' +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo + + ##################### ##################### @@ -192,15 +244,64 @@ createrepo ##################### ##################### +# BareOS +##################### +##################### +REPO['reponame']='bareos20' +REPO['pkgname']='bareos' +REPO['fullreponame']='Backup Archiving Recovery Open Sourced' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key' +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo + +REPO['reponame']='bareos20-source' +REPO['pkgname']='bareos' +REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Sources' +REPO['EnableGroups']='no' +REPO['Visible']='no' +REPO['status']='disabled' +REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/src' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key' +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo + +REPO['reponame']='bareos20-debuginfo' +REPO['pkgname']='bareos' +REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Debuginfo' +REPO['EnableGroups']='no' +REPO['Visible']='no' +REPO['status']='disabled' +REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/debug' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key' +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo + + + +##################### +##################### #centos-sclo-centos ##################### ##################### REPO['reponame']='centos-sclo-centos' -REPO['pkgname']=${REPO['reponame']} +REPO['pkgname']="centos-sclo" #${REPO['reponame']} REPO['fullreponame']='Centos-RH Software collections' REPO['EnableGroups']='no' REPO['Visible']='yes' -REPO['status']='disabled' +REPO['status']='enabled' REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/' REPO['MirrorList']='' REPO['GPGCheck']='yes' @@ -215,11 +316,11 @@ createrepo ##################### ##################### REPO['reponame']='centos-sclo-rh' -REPO['pkgname']=${REPO['reponame']} +REPO['pkgname']='centos-sclo' #${REPO['reponame']} REPO['fullreponame']='Centos-RH Software collections' REPO['EnableGroups']='no' REPO['Visible']='yes' -REPO['status']='disabled' +REPO['status']='enabled' REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' REPO['MirrorList']='' REPO['GPGCheck']='yes' @@ -230,6 +331,26 @@ createrepo ##################### ##################### +#collaboraoffice.com +##################### +##################### +REPO['reponame']='collaboraoffice' +REPO['pkgname']= ${REPO['reponame']} +REPO['fullreponame']='collaboraoffice.com_repos_CollaboraOnline_CODE-centos' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='enabled' +REPO['BaseURL']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos$releasever' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos7/repodata/repomd.xml.key' +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo + + +##################### +##################### #egroupware ##################### ##################### @@ -404,6 +525,61 @@ createrepo ##################### ##################### +#fusion inventory +##################### +##################### +REPO['reponame']='fusioninventory-agent' +REPO['pkgname']='fusioninventory-agent' +REPO['fullreponame']='Copr repo for fusioninventory-agent owned by trasher' +REPO['EnableGroups']='no' +REPO['Visible']='no' +REPO['status']='disabled' +REPO['BaseURL']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/epel-$releasever-$basearch/' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://download.copr.fedorainfracloud.org/results/trasher/fusioninventory-agent/pubkey.gpg' +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo + + +##################### +##################### +# LemonLDAP-NG +##################### +##################### +REPO['reponame']='lemonldap-ng' +REPO['pkgname']='lemonldap' +REPO['fullreponame']='LemonLDAP::NG packages' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='https://lemonldap-ng.org/redhat/stable/$releasever/noarch' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo + +REPO['reponame']='lemonldap-ng-extras' +REPO['pkgname']='lemonldap' +REPO['fullreponame']='LemonLDAP::NG extra packages' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='https://lemonldap-ng.org/redhat/extras/$releasever/noarch' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo + + + +##################### +##################### # Libreswan ##################### ##################### @@ -411,7 +587,7 @@ REPO['reponame']='libreswan' REPO['pkgname']=${REPO['reponame']} REPO['fullreponame']='Libreswan' REPO['EnableGroups']='no' -REPO['Visible']='no' +REPO['Visible']='yes' REPO['status']='disabled' REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/' REPO['MirrorList']='' @@ -427,17 +603,19 @@ createrepo # NodeJS 4 ##################### ##################### -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 REPO['reponame']="node$nodever" REPO['pkgname']='node' REPO['fullreponame']="NodeJS $nodever" REPO['EnableGroups']='no' -REPO['Visible']='no' +REPO['Visible']='yes' REPO['status']='disabled' -REPO['BaseURL']='https://rpm.nodesource.com/pub_'.$nodever.'.x/el/$releasever/$basearch/' +REPO['BaseURL']="https://rpm.nodesource.com/pub_$nodever.x/el/\$releasever/\$basearch/" REPO['MirrorList']='' -REPO['GPGCheck']='no' -REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL' +#'https://deb.nodesource.com/gpgkey/nodesource.gpg.key' +#'https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL' REPO['Exclude']='' REPO['IncludePkgs']='' createrepo @@ -454,7 +632,7 @@ REPO['reponame']='odoo10-nightly' REPO['pkgname']='odoo' REPO['fullreponame']='Odoo 10 Nightly - EL7' REPO['EnableGroups']='no' -REPO['Visible']='no' +REPO['Visible']='yes' REPO['status']='disabled' REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/' REPO['MirrorList']='' @@ -473,7 +651,7 @@ REPO['reponame']='odoo9-nightly' REPO['pkgname']='odoo' REPO['fullreponame']='Odoo 9 Nightly - EL7' REPO['EnableGroups']='no' -REPO['Visible']='no' +REPO['Visible']='yes' REPO['status']='disabled' REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/' REPO['MirrorList']='' @@ -493,7 +671,7 @@ REPO['reponame']='okay' REPO['pkgname']=${REPO['reponame']} REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX' REPO['EnableGroups']='no' -REPO['Visible']='no' +REPO['Visible']='yes' REPO['status']='disabled' REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release' REPO['MirrorList']='' @@ -532,7 +710,7 @@ REPO['reponame']="pgsql$pgsqlver" REPO['pkgname']='pgsql' REPO['fullreponame']="Postgresql $pgsqlver" REPO['EnableGroups']='no' -REPO['Visible']='no' +REPO['Visible']='yes' REPO['status']='disabled' REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' REPO['MirrorList']='' @@ -549,7 +727,7 @@ REPO['reponame']="pgsql$pgsqlver-nonfree REPO['pkgname']='pgsql' REPO['fullreponame']="Postgresql $pgsqlver non free" REPO['EnableGroups']='no' -REPO['Visible']='no' +REPO['Visible']='yes' REPO['status']='disabled' REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/non-free/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' REPO['MirrorList']='' @@ -565,7 +743,7 @@ REPO['reponame']="pgsql$pgsqlver-common" REPO['pkgname']='pgsql' REPO['fullreponame']="Postgresql $pgsqlver non free" REPO['EnableGroups']='no' -REPO['Visible']='no' +REPO['Visible']='yes' REPO['status']='disabled' REPO['BaseURL']='https://download.postgresql.org/pub/repos/yum/common/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' REPO['MirrorList']='' @@ -967,8 +1145,8 @@ createrepo #Zabbix2.4 ##################### ##################### -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') -for elasver in "4.2" "4.4" '4.5' '5.0' '5.1' '5.2' '5.3'; do +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' ) +for elasver in "4.2" "4.4" '4.5' '5.0' '5.1' '5.2' '5.3' '5.4' '5.5'; do REPO['reponame']="zabbix${zabshort[$elasver]}" REPO['pkgname']='zabbix' REPO['fullreponame']="Zabbix $elasver Official Repository" @@ -984,6 +1162,25 @@ REPO['IncludePkgs']='' createrepo done +# webfront sclo +for elasver in '5.0' '5.1'; do +REPO['reponame']="zabbix${zabshort[$elasver]}-frontend" +REPO['pkgname']='zabbix' +REPO['fullreponame']="Zabbix $elasver Official Repository" +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/frontend/" +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591" +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo +done + + + ##################### ##################### #zmrepo @@ -1142,8 +1339,11 @@ EOF rm -f %{name}-%{version}-filelist* /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist +cat %{name}-%{version}-filelist|grep asterisk > %{name}-%{version}-filelist-asterisk cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic +cat %{name}-%{version}-filelist| grep bareos > %{name}-%{version}-filelist-bareos cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo +cat %{name}-%{version}-filelist| grep collaboraoffice > %{name}-%{version}-filelist-collaboraoffice cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo @@ -1151,6 +1351,8 @@ cat %{name}-%{version}-filelist| grep ep cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws +cat %{name}-%{version}-filelist| grep fusioninventory-agent > %{name}-%{version}-filelist-fusioninventory-agent +cat %{name}-%{version}-filelist| grep lemonldap > %{name}-%{version}-filelist-lemonldap cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan if ( "%{?dist}" == "el7" ); then cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo @@ -1199,6 +1401,13 @@ case "$1" in # this is an upgrade ;; esac +%package asterisk +Summary: Asterisk Repository tucny.com +%description asterisk +Asterisk Repository tucny.com +%files asterisk -f %{name}-%{version}-filelist-asterisk +%defattr(-,root,root) + %package atomic Summary: Atomic Repository %description atomic @@ -1206,6 +1415,13 @@ Atomic Repository %files atomic -f %{name}-%{version}-filelist-atomic %defattr(-,root,root) +%package bareos +Summary: Backup Archiving Recovery Open Sourced +%description bareos +Backup Archiving Recovery Open Sourced repository +%files bareos -f %{name}-%{version}-filelist-bareos +%defattr(-,root,root) + %package centos-sclo Summary: CentOS Red-Hat software collection repository %description centos-sclo @@ -1213,6 +1429,13 @@ CentOS Red-Hat software collection repos %files centos-sclo -f %{name}-%{version}-filelist-centos-sclo %defattr(-,root,root) +%package collaboraoffice +Summary: collaboraoffice repo +%description collaboraoffice +collaboraoffice repo +%files collaboraoffice -f %{name}-%{version}-filelist-collaboraoffice +%defattr(-,root,root) + %package egroupware Summary: Repository for eGroupWare %description egroupware @@ -1262,6 +1485,20 @@ Firewall Services repository %files fws -f %{name}-%{version}-filelist-fws %defattr(-,root,root) +%package fusioninventory-agent +Summary: Copr repo for fusioninventory-agent owned by trasher +%description fusioninventory-agent +Copr repo for fusioninventory-agent owned by trasher +%files fusioninventory-agent -f %{name}-%{version}-filelist-fusioninventory-agent +%defattr(-,root,root) + +%package lemonldap +Summary: Lemonldap NG Repository +%description lemonldap +LemonLDAP::NG Repository +%files lemonldap -f %{name}-%{version}-filelist-lemonldap +%defattr(-,root,root) + %package libreswan Summary: Libreswan Repository %description libreswan