--- rpms/smeserver-extrarepositories/contribs10/smeserver-extrarepositories.spec 2021/11/10 04:00:58 1.14 +++ rpms/smeserver-extrarepositories/contribs10/smeserver-extrarepositories.spec 2023/10/28 03:25:39 1.27 @@ -1,6 +1,6 @@ %define name smeserver-extrarepositories %define version 0.1 -%define release 34 +%define release 43 Summary: easy configuration of extra yum repo Name: %{name} Version: %{version} @@ -13,11 +13,46 @@ BuildArchitectures: noarch BuildRequires: e-smith-devtools Requires: e-smith-release >= 10.0 AutoReqProv: no +Source0: https://raw.githubusercontent.com/ONLYOFFICE/repo/master/centos/RPM-GPG-KEY-ONLYOFFICE %description Provides configuration for external yum repository comaptible with Koozali SME Server. %changelog +* Fri Oct 27 2023 Jean-Philippe Pialasse 0.1-43.sme +- add new elastic repos [SME: 12422] +- add wandisco distribution of git [SME: 12345] +- add priority to centos sclo [SME: 12278] +- add lemonldap 1.4 1.9 and 2.0 on top of stable (2.0) [SME: 12143] + +* Mon Sep 04 2023 John Crisp 0.1-42.sme +- Fix the error in the spec file [SME: 12389] + +* Wed Jul 26 2023 John Crisp 0.1-41.sme +- fix issues with libreswan repo [SME: 12389] +- Remove old mongodb repos prior to 4.0 + +* Wed Jun 22 2022 Jean-Philippe Pialasse 0.1-40.sme +- add mongodb repos [SME: 11905] +- add onlyoffice repo [SME: 12078] +- add nginx repo [SME: 12079] + +* Sat May 28 2022 Jean-Philippe Pialasse 0.1-39.sme +- fix typo in pgsql url + +* Thu Mar 10 2022 Jean-Philippe Pialasse 0.1-38.sme +- add docker-ce repo [SME: 11894] + +* 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] @@ -136,6 +171,8 @@ mkdir -p $RPM_BUILD_ROOT/usr/share/rpm-g # if needing to add a gpg key #cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/ #/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']} +cp %SOURCE0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/ + # if needing to migrate something : #mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate @@ -172,6 +209,8 @@ touch $RPM_BUILD_ROOT/etc/e-smith/events $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude [[ "${REPO['IncludePkgs']}" != '' ]] && echo "${REPO['IncludePkgs']}" >\ $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/IncludePkgs +[[ "${REPO['Priority']}" != '' ]] && echo "${REPO['Priority']}" >\ + $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Priority return 0 } @@ -194,6 +233,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']="https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny" REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo done @@ -209,6 +249,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo @@ -230,6 +271,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -249,6 +291,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo REPO['reponame']='bareos20-source' @@ -263,6 +306,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo REPO['reponame']='bareos20-debuginfo' @@ -277,6 +321,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo @@ -287,17 +332,18 @@ createrepo ##################### ##################### 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' REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='10' createrepo ##################### @@ -306,19 +352,61 @@ 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' REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='10' +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']='' +REPO['Priority']='' +createrepo + +##################### +##################### +#docker-ce +##################### +##################### +REPO['reponame']='docker-ce' +REPO['pkgname']=${REPO['reponame']} +REPO['fullreponame']='docker-ce' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='enabled' +REPO['BaseURL']='https://download.docker.com/linux/centos/$releasever/$basearch/stable' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://download.docker.com/linux/centos/gpg' +REPO['Exclude']='' +REPO['IncludePkgs']='' +REPO['Priority']='' createrepo + ##################### ##################### #egroupware @@ -336,6 +424,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_$releasever/repodata/repomd.xml.key' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -343,8 +432,8 @@ createrepo #elastic ##################### ##################### -declare -A elashort=( ['6.x']='6.x' ['5.x']='5.x' ['1.6']='1' ) -for elasver in "6.x" "5.x" "1.6"; do +declare -A elashort=(['oss-8.x']='oss-8.x' ['8.x']='8.x' ['7.x']='7.x' ['6.x']='6.x' ['5.x']='5.x' ['1.6']='1' ) +for elasver in "8.x" "7.x" "6.x" "5.x" "1.6"; do REPO['reponame']="elastic${elashort[$elasver]}" REPO['pkgname']='elastic' REPO['fullreponame']="Elasticsearch repository for $elasver packages" @@ -357,6 +446,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='https://artifacts.elastic.co/GPG-KEY-elasticsearch' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo done @@ -377,6 +467,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org' REPO['Exclude']='clamav,spamassassin,libselinux,perl-HTML-Parser,lm_sensors,perl-IO-stringy,perl-XML-Parser,razor-agents,libgcrypt,rpm-python,libxml2,zlib,gnupg,libxml2-python,yum,module-init-tools,rpm,gettext,librpm4,glib2,perl-libwww-perl,perl-Convert-ASN1,beecrypt,fetchmail,libacl,libtool-ltdl,popt,libgpg-error,freetype,perl-MIME-tools,mutt,gd,perl-TimeDate,librpm4.4' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -396,6 +487,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -415,6 +507,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL' REPO['Exclude']='perl-Razor-Agent,pwauth' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -434,6 +527,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='http://packages.erlang-solutions.com/rpm/erlang_solutions.asc' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -453,6 +547,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -472,6 +567,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -491,10 +587,32 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' 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']='' +REPO['Priority']='' +createrepo + + +##################### +##################### # LemonLDAP-NG ##################### ##################### @@ -503,13 +621,14 @@ REPO['pkgname']='lemonldap' REPO['fullreponame']='LemonLDAP::NG packages' REPO['EnableGroups']='no' REPO['Visible']='yes' -REPO['status']='disabled' +REPO['status']='enabled' 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']='' +REPO['Priority']='' createrepo REPO['reponame']='lemonldap-ng-extras' @@ -524,8 +643,53 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo +EPO['reponame']='lemonldap-ng-1.4' +REPO['pkgname']='lemonldap1.4' +REPO['fullreponame']='LemonLDAP::NG packages 1.4' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='https://lemonldap-ng.org/redhat/1.4/$releasever/noarch' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' +REPO['Exclude']='' +REPO['IncludePkgs']='' +REPO['Priority']='' +createrepo + +REPO['reponame']='lemonldap-ng-1.9' +REPO['pkgname']='lemonldap1.9' +REPO['fullreponame']='LemonLDAP::NG packages 1.9' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='https://lemonldap-ng.org/redhat/1.9/$releasever/noarch' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' +REPO['Exclude']='' +REPO['IncludePkgs']='' +REPO['Priority']='' +createrepo + +REPO['reponame']='lemonldap-ng-2.0' +REPO['pkgname']='lemonldap2.0' +REPO['fullreponame']='LemonLDAP::NG packages 2.0' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='https://lemonldap-ng.org/redhat/2.0/$releasever/noarch' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2' +REPO['Exclude']='' +REPO['IncludePkgs']='' +REPO['Priority']='' +createrepo ##################### @@ -542,30 +706,94 @@ REPO['status']='disabled' REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/' REPO['MirrorList']='' REPO['GPGCheck']='yes' -REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan' +REPO['GPGKey']='http://download.libreswan.org/RPM-GPG-KEY-libreswan' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='10' createrepo ##################### ##################### +# Mongodb +##################### +##################### +for nodever in "4.0" "4.1" "4.2" "4.3" "4.4" "5.0" "6.0" "7.0"; do +REPO['reponame']="mongodb$nodever" +REPO['pkgname']='mongodb' +REPO['fullreponame']="Mongodb $nodever" +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']="https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/$nodever/\$basearch/" +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']="https://www.mongodb.org/static/pgp/server-$nodever.asc" +REPO['Exclude']='' +REPO['IncludePkgs']='' +REPO['Priority']='' +createrepo +done + +##################### +##################### +# Nginx +##################### +##################### +REPO['reponame']='nginx' +REPO['pkgname']='nginx' +REPO['fullreponame']='nginx stable repo' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='enabled' +REPO['BaseURL']='http://nginx.org/packages/centos/$releasever/$basearch/' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://nginx.org/keys/nginx_signing.key' +REPO['Exclude']='' +REPO['IncludePkgs']='' +REPO['Priority']='' +createrepo + +REPO['reponame']='nginx-mainline' +REPO['pkgname']='nginx' +REPO['fullreponame']='nginx mainline repo' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='http://nginx.org/packages/mainline/centos/$releasever/$basearch/' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://nginx.org/keys/nginx_signing.key' +REPO['Exclude']='' +REPO['IncludePkgs']='' +REPO['Priority']='' +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']='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']='' +REPO['Priority']='' createrepo done @@ -588,6 +816,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='https://nightly.odoo.com/odoo.key' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -607,6 +836,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='https://nightly.odoo.com/odoo.key' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo fi @@ -627,6 +857,27 @@ REPO['GPGCheck']='no' REPO['GPGKey']='' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' +createrepo + +##################### +##################### +# Onlyoffice +##################### +##################### +REPO['reponame']='onlyoffice' +REPO['pkgname']=${REPO['reponame']} +REPO['fullreponame']='Onlyoffice document server - community edition' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='enabled' +REPO['BaseURL']='https://download.onlyoffice.com/repo/centos/main/noarch/' +REPO['MirrorList']='' +REPO['GPGCheck']='no' +REPO['GPGKey']='https://raw.githubusercontent.com/ONLYOFFICE/repo/master/centos/RPM-GPG-KEY-ONLYOFFICE' +REPO['Exclude']='' +REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -646,6 +897,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-ExtUtils-Install,perl-parent' REPO['IncludePkgs']='perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent,perl-Array-Compare,perl-Type-Tiny,perl-Filesys-DiskFree,perl-Array-Compare,perl-Type-Tiny,perl-JSON' +REPO['Priority']='' createrepo ##################### @@ -660,14 +912,15 @@ REPO['fullreponame']="Postgresql $pgsqlv REPO['EnableGroups']='no' REPO['Visible']='yes' REPO['status']='disabled' -REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/' +REPO['BaseURL']='https://yum.postgresql.org/'$pgsqlver'/redhat/rhel-$releasever-$basearch/' REPO['MirrorList']='' REPO['GPGCheck']='yes' ext=$pgsqlver; [[ "$pgsqlver" == "9.6" ]] && ext="96"; -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 REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo @@ -677,14 +930,15 @@ REPO['fullreponame']="Postgresql $pgsqlv REPO['EnableGroups']='no' REPO['Visible']='yes' REPO['status']='disabled' -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/' REPO['MirrorList']='' REPO['GPGCheck']='yes' ext=$pgsqlver; [[ "$pgsqlver" == "9.6" ]] && ext="96"; -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 REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo REPO['reponame']="pgsql$pgsqlver-common" @@ -693,14 +947,15 @@ REPO['fullreponame']="Postgresql $pgsqlv REPO['EnableGroups']='no' REPO['Visible']='yes' REPO['status']='disabled' -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/' REPO['MirrorList']='' REPO['GPGCheck']='yes' ext=$pgsqlver; [[ "$pgsqlver" == "9.6" ]] && ext="96"; -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 REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo done @@ -722,6 +977,7 @@ REPO['GPGCheck']='no' REPO['GPGKey']='https://www.reetspetit.com/RPM-GPG-KEY' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -741,6 +997,7 @@ REPO['MirrorList']='' REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi' REPO['Exclude']='mysql*,php-*,phpMyAdmin' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -760,6 +1017,7 @@ REPO['MirrorList']='' REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi' REPO['Exclude']='' REPO['IncludePkgs']='ocsinventory* perl-Ocsinventory-Agent' +REPO['Priority']='' createrepo ##################### @@ -779,6 +1037,7 @@ REPO['MirrorList']='' REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi' REPO['Exclude']='' REPO['IncludePkgs']='php-kolab-net-ldap3,php-pear-Mail-mimeDecode,php-pear-Net-IDNA2,php-pear-Net-LDAP2,roundcubemail' +REPO['Priority']='' createrepo @@ -799,6 +1058,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-el-$releasever' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -818,6 +1078,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-el-$releasever' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -837,6 +1098,7 @@ REPO['GPGCheck']='no' REPO['GPGKey']='' REPO['Exclude']='' REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*' +REPO['Priority']='' createrepo ##################### @@ -856,6 +1118,7 @@ REPO['GPGCheck']='no' REPO['GPGKey']='' REPO['Exclude']='' REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*' +REPO['Priority']='' createrepo ##################### @@ -875,6 +1138,7 @@ REPO['GPGCheck']='no' REPO['GPGKey']='' REPO['Exclude']='' REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*' +REPO['Priority']='' createrepo ##################### @@ -894,6 +1158,7 @@ REPO['GPGCheck']='no' REPO['GPGKey']='' REPO['Exclude']='' REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*' +REPO['Priority']='' createrepo ##################### @@ -913,6 +1178,7 @@ REPO['GPGCheck']='no' REPO['GPGKey']='' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -932,6 +1198,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo REPO['reponame']='springdale-updates' @@ -946,6 +1213,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/updates/$basearch/en/os/RPM-GPG-KEY-puias' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo REPO['reponame']='springdale-addons' @@ -960,6 +1228,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo REPO['reponame']='springdale-addons-updates' @@ -974,6 +1243,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo @@ -989,6 +1259,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo REPO['reponame']='springdale-computational' @@ -1003,6 +1274,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo @@ -1025,6 +1297,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='http://mirror.de-labrusse.fr/RPM-GPG-KEY' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -1044,6 +1317,27 @@ REPO['GPGCheck']='yes' REPO['GPGKey']='https://www.virtualbox.org/download/oracle_vbox.asc' REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' +createrepo + +##################### +##################### +#Wandisco git +##################### +##################### +REPO['reponame']='WANdisco-git' +REPO['pkgname']=${REPO['reponame']} +REPO['fullreponame']='WANdisco Distribution of git' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='enabled' +REPO['BaseURL']='https://opensource.wandisco.com/rhel/$releasever/git/$basearch' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']="https://opensource.wandisco.com/RPM-GPG-KEY-WANdisco" +REPO['Exclude']='' +REPO['IncludePkgs']='' +REPO['Priority']='10' createrepo ##################### @@ -1067,6 +1361,7 @@ REPO['GPGKey']="http://repo.webtatic.com fi REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -1086,6 +1381,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']="http://terabithia.org/rpms/RPM-GPG-KEY-JCLEAVER" REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo ##################### @@ -1107,6 +1403,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591" REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo done @@ -1124,6 +1421,7 @@ REPO['GPGCheck']='yes' REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591" REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo done @@ -1146,6 +1444,7 @@ REPO['GPGCheck']='no' REPO['GPGKey']="" REPO['Exclude']='' REPO['IncludePkgs']='' +REPO['Priority']='' createrepo @@ -1272,10 +1571,21 @@ cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smi $repo->delete('IncludePkgs'); } + } +} + + +EOF - } +cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/30mongodbDeleteOldRepos +{ + for my $dbVer (qw( 0.9 1.0 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7)) { + $dataBase = "mongodb$dbVer"; + my $repo = $DB->get($dataBase); + $repo->delete if $repo; + } } EOF @@ -1291,6 +1601,8 @@ cat %{name}-%{version}-filelist|grep ast 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 docker-ce > %{name}-%{version}-filelist-docker-ce 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 @@ -1298,14 +1610,18 @@ 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 +cat %{name}-%{version}-filelist| grep mongodb > %{name}-%{version}-filelist-mongodb +cat %{name}-%{version}-filelist| grep nginx > %{name}-%{version}-filelist-nginx +cat %{name}-%{version}-filelist| grep node > %{name}-%{version}-filelist-node if ( "%{?dist}" == "el7" ); then cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo fi cat %{name}-%{version}-filelist| grep okay > %{name}-%{version}-filelist-okay +cat %{name}-%{version}-filelist| grep -i onlyoffice > %{name}-%{version}-filelist-onlyoffice cat %{name}-%{version}-filelist| grep openfusion > %{name}-%{version}-filelist-openfusion -cat %{name}-%{version}-filelist| grep node > %{name}-%{version}-filelist-node cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube @@ -1316,6 +1632,7 @@ cat %{name}-%{version}-filelist| grep sp cat %{name}-%{version}-filelist| grep springdale > %{name}-%{version}-filelist-springdale cat %{name}-%{version}-filelist| grep stephdl > %{name}-%{version}-filelist-stephdl cat %{name}-%{version}-filelist| grep virtualbox > %{name}-%{version}-filelist-virtualbox +cat %{name}-%{version}-filelist| grep -i wandisco > %{name}-%{version}-filelist-wandisco cat %{name}-%{version}-filelist| grep webtatic > %{name}-%{version}-filelist-webtatic cat %{name}-%{version}-filelist| grep xymon > %{name}-%{version}-filelist-xymon cat %{name}-%{version}-filelist| grep zabbix > %{name}-%{version}-filelist-zabbix @@ -1375,6 +1692,20 @@ 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 docker-ce +Summary: docker-ce +%description docker-ce +docker-ce repo +%files docker-ce -f %{name}-%{version}-filelist-docker-ce +%defattr(-,root,root) + %package egroupware Summary: Repository for eGroupWare %description egroupware @@ -1424,6 +1755,13 @@ 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 @@ -1438,6 +1776,20 @@ Libreswan Repository %files libreswan -f %{name}-%{version}-filelist-libreswan %defattr(-,root,root) +%package mongodb +Summary: MongoDB Repositories +%description mongodb +MongoDB Repositories +%files mongodb -f %{name}-%{version}-filelist-mongodb +%defattr(-,root,root) + +%package nginx +Summary: nginx Repositories +%description nginx +Nginx Repositories +%files nginx -f %{name}-%{version}-filelist-nginx +%defattr(-,root,root) + %package node Summary: NodeJS Repositories %description node @@ -1461,6 +1813,13 @@ Extra OKay Packages for Enterprise Linux %files okay -f %{name}-%{version}-filelist-okay %defattr(-,root,root) +%package onlyoffice +Summary: onlyoffice Repository +%description onlyoffice +onlyoffice Repository +%files onlyoffice -f %{name}-%{version}-filelist-onlyoffice +%defattr(-,root,root) + %package openfusion Summary: Openfusion Repository %description openfusion @@ -1545,6 +1904,13 @@ Virtualbox Repository %files virtualbox -f %{name}-%{version}-filelist-virtualbox %defattr(-,root,root) +%package wandisco +Summary: WANdisco Distribution of git +%description wandisco +WANdisco Distribution of git +%files wandisco -f %{name}-%{version}-filelist-wandisco +%defattr(-,root,root) + %package webtatic Summary: Webtatic Repository %description webtatic