/[smecontribs]/rpms/smeserver-extrarepositories/contribs10/smeserver-extrarepositories.spec
ViewVC logotype

Diff of /rpms/smeserver-extrarepositories/contribs10/smeserver-extrarepositories.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.13 by jpp, Wed Jul 7 03:42:23 2021 UTC Revision 1.14 by jpp, Wed Nov 10 04:00:58 2021 UTC
# Line 1  Line 1 
1  %define name smeserver-extrarepositories  %define name smeserver-extrarepositories
2  %define version 0.1  %define version 0.1
3  %define release 33  %define release 34
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}
# Line 18  AutoReqProv: no Line 18  AutoReqProv: no
18  Provides configuration for external yum repository comaptible with Koozali SME Server.  Provides configuration for external yum repository comaptible with Koozali SME Server.
19    
20  %changelog  %changelog
21    * Tue Nov 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-34.sme
22    - add asterisk [SME: 11512]
23    - add lemonldap [SME: 11740]
24    - add bareos [SME: 11741]
25    - add zabbix repo up to 55 and add scl sub repos [SME: 11744]
26    
27  * 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
28  - add migrate fragment for pwauth in epel [SME: 11639]  - add migrate fragment for pwauth in epel [SME: 11639]
29    
# Line 170  return 0 Line 176  return 0
176  }  }
177    
178    
179    #####################
180    #####################
181    # asterisk
182    #####################
183    #####################
184    for elasver  in "13" "16"  '17' '18' ; do
185    REPO['reponame']="asterisk-$elasver"
186    REPO['pkgname']='asterisk'
187    REPO['fullreponame']="Asterisk $elasver (LTS) Packages @ tucny.com"
188    REPO['EnableGroups']='no'
189    REPO['Visible']='yes'
190    REPO['status']='disabled'
191    REPO['BaseURL']=""#https://ast.tucny.com/repo/asterisk-$elasver/el\$releasever/\$basearch/
192    REPO['MirrorList']="https://ast.tucny.com/mirrorlist.php?release=\$releasever&arch=\$basearch&repo=asterisk-$elasver"
193    REPO['GPGCheck']='yes'
194    REPO['GPGKey']="https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny"
195    REPO['Exclude']=''
196    REPO['IncludePkgs']=''
197    createrepo
198    done
199    
200    REPO['reponame']='asterisk-common'
201    REPO['pkgname']='asterisk'
202    REPO['fullreponame']='Asterisk Common Requirement Packages @ tucny.com'
203    REPO['EnableGroups']='no'
204    REPO['Visible']='no'
205    REPO['status']='disabled'
206    REPO['BaseURL']=''#https://ast.tucny.com/repo/asterisk-common/el$releasever/$basearch/
207    REPO['MirrorList']='https://ast.tucny.com/mirrorlist.php?release=$releasever&arch=$basearch&repo=asterisk-common'
208    REPO['GPGCheck']='yes'
209    REPO['GPGKey']='https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny'
210    REPO['Exclude']=''
211    REPO['IncludePkgs']=''
212    createrepo
213    
214    
215    
216  #####################  #####################
217  #####################  #####################
# Line 192  createrepo Line 234  createrepo
234    
235  #####################  #####################
236  #####################  #####################
237    # BareOS
238    #####################
239    #####################
240    REPO['reponame']='bareos20'
241    REPO['pkgname']='bareos'
242    REPO['fullreponame']='Backup Archiving Recovery Open Sourced'
243    REPO['EnableGroups']='no'
244    REPO['Visible']='yes'
245    REPO['status']='disabled'
246    REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever'
247    REPO['MirrorList']=''
248    REPO['GPGCheck']='yes'
249    REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key'
250    REPO['Exclude']=''
251    REPO['IncludePkgs']=''
252    createrepo
253    
254    REPO['reponame']='bareos20-source'
255    REPO['pkgname']='bareos'
256    REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Sources'
257    REPO['EnableGroups']='no'
258    REPO['Visible']='no'
259    REPO['status']='disabled'
260    REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/src'
261    REPO['MirrorList']=''
262    REPO['GPGCheck']='yes'
263    REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key'
264    REPO['Exclude']=''
265    REPO['IncludePkgs']=''
266    createrepo
267    
268    REPO['reponame']='bareos20-debuginfo'
269    REPO['pkgname']='bareos'
270    REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Debuginfo'
271    REPO['EnableGroups']='no'
272    REPO['Visible']='no'
273    REPO['status']='disabled'
274    REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/debug'
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    
283    
284    #####################
285    #####################
286  #centos-sclo-centos  #centos-sclo-centos
287  #####################  #####################
288  #####################  #####################
# Line 404  createrepo Line 495  createrepo
495    
496  #####################  #####################
497  #####################  #####################
498    # LemonLDAP-NG
499    #####################
500    #####################
501    REPO['reponame']='lemonldap-ng'
502    REPO['pkgname']='lemonldap'
503    REPO['fullreponame']='LemonLDAP::NG packages'
504    REPO['EnableGroups']='no'
505    REPO['Visible']='yes'
506    REPO['status']='disabled'
507    REPO['BaseURL']='https://lemonldap-ng.org/redhat/stable/$releasever/noarch'
508    REPO['MirrorList']=''
509    REPO['GPGCheck']='yes'
510    REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2'
511    REPO['Exclude']=''
512    REPO['IncludePkgs']=''
513    createrepo
514    
515    REPO['reponame']='lemonldap-ng-extras'
516    REPO['pkgname']='lemonldap'
517    REPO['fullreponame']='LemonLDAP::NG extra packages'
518    REPO['EnableGroups']='no'
519    REPO['Visible']='yes'
520    REPO['status']='disabled'
521    REPO['BaseURL']='https://lemonldap-ng.org/redhat/extras/$releasever/noarch'
522    REPO['MirrorList']=''
523    REPO['GPGCheck']='yes'
524    REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2'
525    REPO['Exclude']=''
526    REPO['IncludePkgs']=''
527    createrepo
528    
529    
530    
531    #####################
532    #####################
533  # Libreswan  # Libreswan
534  #####################  #####################
535  #####################  #####################
# Line 411  REPO['reponame']='libreswan' Line 537  REPO['reponame']='libreswan'
537  REPO['pkgname']=${REPO['reponame']}  REPO['pkgname']=${REPO['reponame']}
538  REPO['fullreponame']='Libreswan'  REPO['fullreponame']='Libreswan'
539  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
540  REPO['Visible']='no'  REPO['Visible']='yes'
541  REPO['status']='disabled'  REPO['status']='disabled'
542  REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/'  REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/'
543  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 432  REPO['reponame']="node$nodever" Line 558  REPO['reponame']="node$nodever"
558  REPO['pkgname']='node'  REPO['pkgname']='node'
559  REPO['fullreponame']="NodeJS $nodever"  REPO['fullreponame']="NodeJS $nodever"
560  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
561  REPO['Visible']='no'  REPO['Visible']='yes'
562  REPO['status']='disabled'  REPO['status']='disabled'
563  REPO['BaseURL']='https://rpm.nodesource.com/pub_'.$nodever.'.x/el/$releasever/$basearch/'  REPO['BaseURL']='https://rpm.nodesource.com/pub_'.$nodever.'.x/el/$releasever/$basearch/'
564  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 454  REPO['reponame']='odoo10-nightly' Line 580  REPO['reponame']='odoo10-nightly'
580  REPO['pkgname']='odoo'  REPO['pkgname']='odoo'
581  REPO['fullreponame']='Odoo 10 Nightly - EL7'  REPO['fullreponame']='Odoo 10 Nightly - EL7'
582  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
583  REPO['Visible']='no'  REPO['Visible']='yes'
584  REPO['status']='disabled'  REPO['status']='disabled'
585  REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'  REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'
586  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 473  REPO['reponame']='odoo9-nightly' Line 599  REPO['reponame']='odoo9-nightly'
599  REPO['pkgname']='odoo'  REPO['pkgname']='odoo'
600  REPO['fullreponame']='Odoo 9 Nightly - EL7'  REPO['fullreponame']='Odoo 9 Nightly - EL7'
601  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
602  REPO['Visible']='no'  REPO['Visible']='yes'
603  REPO['status']='disabled'  REPO['status']='disabled'
604  REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'  REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'
605  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 493  REPO['reponame']='okay' Line 619  REPO['reponame']='okay'
619  REPO['pkgname']=${REPO['reponame']}  REPO['pkgname']=${REPO['reponame']}
620  REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'  REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'
621  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
622  REPO['Visible']='no'  REPO['Visible']='yes'
623  REPO['status']='disabled'  REPO['status']='disabled'
624  REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'  REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'
625  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 532  REPO['reponame']="pgsql$pgsqlver" Line 658  REPO['reponame']="pgsql$pgsqlver"
658  REPO['pkgname']='pgsql'  REPO['pkgname']='pgsql'
659  REPO['fullreponame']="Postgresql $pgsqlver"  REPO['fullreponame']="Postgresql $pgsqlver"
660  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
661  REPO['Visible']='no'  REPO['Visible']='yes'
662  REPO['status']='disabled'  REPO['status']='disabled'
663  REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/'  REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/'
664  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 549  REPO['reponame']="pgsql$pgsqlver-nonfree Line 675  REPO['reponame']="pgsql$pgsqlver-nonfree
675  REPO['pkgname']='pgsql'  REPO['pkgname']='pgsql'
676  REPO['fullreponame']="Postgresql $pgsqlver non free"  REPO['fullreponame']="Postgresql $pgsqlver non free"
677  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
678  REPO['Visible']='no'  REPO['Visible']='yes'
679  REPO['status']='disabled'  REPO['status']='disabled'
680  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/'
681  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 565  REPO['reponame']="pgsql$pgsqlver-common" Line 691  REPO['reponame']="pgsql$pgsqlver-common"
691  REPO['pkgname']='pgsql'  REPO['pkgname']='pgsql'
692  REPO['fullreponame']="Postgresql $pgsqlver non free"  REPO['fullreponame']="Postgresql $pgsqlver non free"
693  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
694  REPO['Visible']='no'  REPO['Visible']='yes'
695  REPO['status']='disabled'  REPO['status']='disabled'
696  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/'
697  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 967  createrepo Line 1093  createrepo
1093  #Zabbix2.4  #Zabbix2.4
1094  #####################  #####################
1095  #####################  #####################
1096  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' )
1097  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
1098  REPO['reponame']="zabbix${zabshort[$elasver]}"  REPO['reponame']="zabbix${zabshort[$elasver]}"
1099  REPO['pkgname']='zabbix'  REPO['pkgname']='zabbix'
1100  REPO['fullreponame']="Zabbix $elasver Official Repository"  REPO['fullreponame']="Zabbix $elasver Official Repository"
# Line 984  REPO['IncludePkgs']='' Line 1110  REPO['IncludePkgs']=''
1110  createrepo  createrepo
1111  done  done
1112    
1113    # webfront sclo
1114    for elasver  in '5.0' '5.1'; do
1115    REPO['reponame']="zabbix${zabshort[$elasver]}-frontend"
1116    REPO['pkgname']='zabbix'
1117    REPO['fullreponame']="Zabbix $elasver Official Repository"
1118    REPO['EnableGroups']='no'
1119    REPO['Visible']='yes'
1120    REPO['status']='disabled'
1121    REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/frontend/"
1122    REPO['MirrorList']=''
1123    REPO['GPGCheck']='yes'
1124    REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591"
1125    REPO['Exclude']=''
1126    REPO['IncludePkgs']=''
1127    createrepo
1128    done
1129    
1130    
1131    
1132  #####################  #####################
1133  #####################  #####################
1134  #zmrepo  #zmrepo
# Line 1142  EOF Line 1287  EOF
1287    
1288  rm -f %{name}-%{version}-filelist*  rm -f %{name}-%{version}-filelist*
1289  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist
1290    cat %{name}-%{version}-filelist|grep asterisk                   > %{name}-%{version}-filelist-asterisk
1291  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic
1292    cat %{name}-%{version}-filelist| grep bareos                    > %{name}-%{version}-filelist-bareos
1293  cat %{name}-%{version}-filelist| grep centos-sclo               > %{name}-%{version}-filelist-centos-sclo  cat %{name}-%{version}-filelist| grep centos-sclo               > %{name}-%{version}-filelist-centos-sclo
1294  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware
1295  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic
# Line 1151  cat %{name}-%{version}-filelist| grep ep Line 1298  cat %{name}-%{version}-filelist| grep ep
1298  cat %{name}-%{version}-filelist| grep erlang                    > %{name}-%{version}-filelist-erlang  cat %{name}-%{version}-filelist| grep erlang                    > %{name}-%{version}-filelist-erlang
1299  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch
1300  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws
1301    cat %{name}-%{version}-filelist| grep lemonldap                 > %{name}-%{version}-filelist-lemonldap
1302  cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan  cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan
1303  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
1304  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo
# Line 1199  case "$1" in Line 1347  case "$1" in
1347                  # this is an upgrade                  # this is an upgrade
1348          ;;          ;;
1349  esac  esac
1350    %package asterisk
1351    Summary: Asterisk Repository tucny.com
1352    %description asterisk
1353    Asterisk Repository tucny.com
1354    %files asterisk -f  %{name}-%{version}-filelist-asterisk
1355    %defattr(-,root,root)
1356    
1357  %package atomic  %package atomic
1358  Summary: Atomic Repository  Summary: Atomic Repository
1359  %description atomic  %description atomic
# Line 1206  Atomic Repository Line 1361  Atomic Repository
1361  %files atomic -f  %{name}-%{version}-filelist-atomic  %files atomic -f  %{name}-%{version}-filelist-atomic
1362  %defattr(-,root,root)  %defattr(-,root,root)
1363    
1364    %package bareos
1365    Summary: Backup Archiving Recovery Open Sourced
1366    %description bareos
1367    Backup Archiving Recovery Open Sourced  repository
1368    %files bareos -f  %{name}-%{version}-filelist-bareos
1369    %defattr(-,root,root)
1370    
1371  %package centos-sclo  %package centos-sclo
1372  Summary: CentOS Red-Hat software collection repository  Summary: CentOS Red-Hat software collection repository
1373  %description centos-sclo  %description centos-sclo
# Line 1262  Firewall Services repository Line 1424  Firewall Services repository
1424  %files fws -f  %{name}-%{version}-filelist-fws  %files fws -f  %{name}-%{version}-filelist-fws
1425  %defattr(-,root,root)  %defattr(-,root,root)
1426    
1427    %package lemonldap
1428    Summary: Lemonldap NG Repository
1429    %description lemonldap
1430    LemonLDAP::NG Repository
1431    %files lemonldap -f  %{name}-%{version}-filelist-lemonldap
1432    %defattr(-,root,root)
1433    
1434  %package libreswan  %package libreswan
1435  Summary: Libreswan Repository  Summary: Libreswan Repository
1436  %description libreswan  %description libreswan


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed