/[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.12 by jcrisp, Wed Jun 30 17:15:21 2021 UTC Revision 1.15 by jpp, Tue Nov 30 04:57:14 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 32  %define release 35
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    * Mon Nov 29 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-35.sme
22    - fix node repos
23    
24    * Tue Nov 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-34.sme
25    - add asterisk [SME: 11512]
26    - add lemonldap [SME: 11740]
27    - add bareos [SME: 11741]
28    - add zabbix repo up to 55 and add scl sub repos [SME: 11744]
29    
30    * Tue Jul 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-33.sme
31    - add migrate fragment for pwauth in epel [SME: 11639]
32    
33  * Wed Jun 30 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-32.sme  * Wed Jun 30 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-32.sme
34  - Requires e-smith >= 10  - Requires e-smith >= 10
35  - exclude pwauh from EPEL [SME: 11639]  - exclude pwauh from EPEL [SME: 11639]
# Line 167  return 0 Line 179  return 0
179  }  }
180    
181    
182    #####################
183    #####################
184    # asterisk
185    #####################
186    #####################
187    for elasver  in "13" "16"  '17' '18' ; do
188    REPO['reponame']="asterisk-$elasver"
189    REPO['pkgname']='asterisk'
190    REPO['fullreponame']="Asterisk $elasver (LTS) Packages @ tucny.com"
191    REPO['EnableGroups']='no'
192    REPO['Visible']='yes'
193    REPO['status']='disabled'
194    REPO['BaseURL']=""#https://ast.tucny.com/repo/asterisk-$elasver/el\$releasever/\$basearch/
195    REPO['MirrorList']="https://ast.tucny.com/mirrorlist.php?release=\$releasever&arch=\$basearch&repo=asterisk-$elasver"
196    REPO['GPGCheck']='yes'
197    REPO['GPGKey']="https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny"
198    REPO['Exclude']=''
199    REPO['IncludePkgs']=''
200    createrepo
201    done
202    
203    REPO['reponame']='asterisk-common'
204    REPO['pkgname']='asterisk'
205    REPO['fullreponame']='Asterisk Common Requirement Packages @ tucny.com'
206    REPO['EnableGroups']='no'
207    REPO['Visible']='no'
208    REPO['status']='disabled'
209    REPO['BaseURL']=''#https://ast.tucny.com/repo/asterisk-common/el$releasever/$basearch/
210    REPO['MirrorList']='https://ast.tucny.com/mirrorlist.php?release=$releasever&arch=$basearch&repo=asterisk-common'
211    REPO['GPGCheck']='yes'
212    REPO['GPGKey']='https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny'
213    REPO['Exclude']=''
214    REPO['IncludePkgs']=''
215    createrepo
216    
217    
218    
219  #####################  #####################
220  #####################  #####################
# Line 189  createrepo Line 237  createrepo
237    
238  #####################  #####################
239  #####################  #####################
240    # BareOS
241    #####################
242    #####################
243    REPO['reponame']='bareos20'
244    REPO['pkgname']='bareos'
245    REPO['fullreponame']='Backup Archiving Recovery Open Sourced'
246    REPO['EnableGroups']='no'
247    REPO['Visible']='yes'
248    REPO['status']='disabled'
249    REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever'
250    REPO['MirrorList']=''
251    REPO['GPGCheck']='yes'
252    REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key'
253    REPO['Exclude']=''
254    REPO['IncludePkgs']=''
255    createrepo
256    
257    REPO['reponame']='bareos20-source'
258    REPO['pkgname']='bareos'
259    REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Sources'
260    REPO['EnableGroups']='no'
261    REPO['Visible']='no'
262    REPO['status']='disabled'
263    REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/src'
264    REPO['MirrorList']=''
265    REPO['GPGCheck']='yes'
266    REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key'
267    REPO['Exclude']=''
268    REPO['IncludePkgs']=''
269    createrepo
270    
271    REPO['reponame']='bareos20-debuginfo'
272    REPO['pkgname']='bareos'
273    REPO['fullreponame']='Backup Archiving Recovery Open Sourced - Debuginfo'
274    REPO['EnableGroups']='no'
275    REPO['Visible']='no'
276    REPO['status']='disabled'
277    REPO['BaseURL']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/debug'
278    REPO['MirrorList']=''
279    REPO['GPGCheck']='yes'
280    REPO['GPGKey']='https://download.bareos.org/bareos/release/20/CentOS_$releasever/repodata/repomd.xml.key'
281    REPO['Exclude']=''
282    REPO['IncludePkgs']=''
283    createrepo
284    
285    
286    
287    #####################
288    #####################
289  #centos-sclo-centos  #centos-sclo-centos
290  #####################  #####################
291  #####################  #####################
# Line 401  createrepo Line 498  createrepo
498    
499  #####################  #####################
500  #####################  #####################
501    # LemonLDAP-NG
502    #####################
503    #####################
504    REPO['reponame']='lemonldap-ng'
505    REPO['pkgname']='lemonldap'
506    REPO['fullreponame']='LemonLDAP::NG packages'
507    REPO['EnableGroups']='no'
508    REPO['Visible']='yes'
509    REPO['status']='disabled'
510    REPO['BaseURL']='https://lemonldap-ng.org/redhat/stable/$releasever/noarch'
511    REPO['MirrorList']=''
512    REPO['GPGCheck']='yes'
513    REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2'
514    REPO['Exclude']=''
515    REPO['IncludePkgs']=''
516    createrepo
517    
518    REPO['reponame']='lemonldap-ng-extras'
519    REPO['pkgname']='lemonldap'
520    REPO['fullreponame']='LemonLDAP::NG extra packages'
521    REPO['EnableGroups']='no'
522    REPO['Visible']='yes'
523    REPO['status']='disabled'
524    REPO['BaseURL']='https://lemonldap-ng.org/redhat/extras/$releasever/noarch'
525    REPO['MirrorList']=''
526    REPO['GPGCheck']='yes'
527    REPO['GPGKey']='https://lemonldap-ng.org/_media/rpm-gpg-key-ow2'
528    REPO['Exclude']=''
529    REPO['IncludePkgs']=''
530    createrepo
531    
532    
533    
534    #####################
535    #####################
536  # Libreswan  # Libreswan
537  #####################  #####################
538  #####################  #####################
# Line 408  REPO['reponame']='libreswan' Line 540  REPO['reponame']='libreswan'
540  REPO['pkgname']=${REPO['reponame']}  REPO['pkgname']=${REPO['reponame']}
541  REPO['fullreponame']='Libreswan'  REPO['fullreponame']='Libreswan'
542  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
543  REPO['Visible']='no'  REPO['Visible']='yes'
544  REPO['status']='disabled'  REPO['status']='disabled'
545  REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/'  REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/'
546  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 424  createrepo Line 556  createrepo
556  # NodeJS 4  # NodeJS 4
557  #####################  #####################
558  #####################  #####################
559  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
560  REPO['reponame']="node$nodever"  REPO['reponame']="node$nodever"
561  REPO['pkgname']='node'  REPO['pkgname']='node'
562  REPO['fullreponame']="NodeJS $nodever"  REPO['fullreponame']="NodeJS $nodever"
563  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
564  REPO['Visible']='no'  REPO['Visible']='yes'
565  REPO['status']='disabled'  REPO['status']='disabled'
566  REPO['BaseURL']='https://rpm.nodesource.com/pub_'.$nodever.'.x/el/$releasever/$basearch/'  REPO['BaseURL']="https://rpm.nodesource.com/pub_$nodever.x/el/\$releasever/\$basearch/"
567  REPO['MirrorList']=''  REPO['MirrorList']=''
568  REPO['GPGCheck']='no'  REPO['GPGCheck']='yes'
569  REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'  REPO['GPGKey']='https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL'
570    #'https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
571    #'https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL'
572  REPO['Exclude']=''  REPO['Exclude']=''
573  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
574  createrepo  createrepo
# Line 451  REPO['reponame']='odoo10-nightly' Line 585  REPO['reponame']='odoo10-nightly'
585  REPO['pkgname']='odoo'  REPO['pkgname']='odoo'
586  REPO['fullreponame']='Odoo 10 Nightly - EL7'  REPO['fullreponame']='Odoo 10 Nightly - EL7'
587  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
588  REPO['Visible']='no'  REPO['Visible']='yes'
589  REPO['status']='disabled'  REPO['status']='disabled'
590  REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'  REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'
591  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 470  REPO['reponame']='odoo9-nightly' Line 604  REPO['reponame']='odoo9-nightly'
604  REPO['pkgname']='odoo'  REPO['pkgname']='odoo'
605  REPO['fullreponame']='Odoo 9 Nightly - EL7'  REPO['fullreponame']='Odoo 9 Nightly - EL7'
606  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
607  REPO['Visible']='no'  REPO['Visible']='yes'
608  REPO['status']='disabled'  REPO['status']='disabled'
609  REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'  REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'
610  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 490  REPO['reponame']='okay' Line 624  REPO['reponame']='okay'
624  REPO['pkgname']=${REPO['reponame']}  REPO['pkgname']=${REPO['reponame']}
625  REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'  REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'
626  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
627  REPO['Visible']='no'  REPO['Visible']='yes'
628  REPO['status']='disabled'  REPO['status']='disabled'
629  REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'  REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'
630  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 529  REPO['reponame']="pgsql$pgsqlver" Line 663  REPO['reponame']="pgsql$pgsqlver"
663  REPO['pkgname']='pgsql'  REPO['pkgname']='pgsql'
664  REPO['fullreponame']="Postgresql $pgsqlver"  REPO['fullreponame']="Postgresql $pgsqlver"
665  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
666  REPO['Visible']='no'  REPO['Visible']='yes'
667  REPO['status']='disabled'  REPO['status']='disabled'
668  REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/'  REPO['BaseURL']='https://yum.postgresql.org/'.$pgsqlver.'/redhat/rhel-$releasever-$basearch/'
669  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 546  REPO['reponame']="pgsql$pgsqlver-nonfree Line 680  REPO['reponame']="pgsql$pgsqlver-nonfree
680  REPO['pkgname']='pgsql'  REPO['pkgname']='pgsql'
681  REPO['fullreponame']="Postgresql $pgsqlver non free"  REPO['fullreponame']="Postgresql $pgsqlver non free"
682  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
683  REPO['Visible']='no'  REPO['Visible']='yes'
684  REPO['status']='disabled'  REPO['status']='disabled'
685  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/'
686  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 562  REPO['reponame']="pgsql$pgsqlver-common" Line 696  REPO['reponame']="pgsql$pgsqlver-common"
696  REPO['pkgname']='pgsql'  REPO['pkgname']='pgsql'
697  REPO['fullreponame']="Postgresql $pgsqlver non free"  REPO['fullreponame']="Postgresql $pgsqlver non free"
698  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
699  REPO['Visible']='no'  REPO['Visible']='yes'
700  REPO['status']='disabled'  REPO['status']='disabled'
701  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/'
702  REPO['MirrorList']=''  REPO['MirrorList']=''
# Line 964  createrepo Line 1098  createrepo
1098  #Zabbix2.4  #Zabbix2.4
1099  #####################  #####################
1100  #####################  #####################
1101  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' )
1102  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
1103  REPO['reponame']="zabbix${zabshort[$elasver]}"  REPO['reponame']="zabbix${zabshort[$elasver]}"
1104  REPO['pkgname']='zabbix'  REPO['pkgname']='zabbix'
1105  REPO['fullreponame']="Zabbix $elasver Official Repository"  REPO['fullreponame']="Zabbix $elasver Official Repository"
# Line 981  REPO['IncludePkgs']='' Line 1115  REPO['IncludePkgs']=''
1115  createrepo  createrepo
1116  done  done
1117    
1118    # webfront sclo
1119    for elasver  in '5.0' '5.1'; do
1120    REPO['reponame']="zabbix${zabshort[$elasver]}-frontend"
1121    REPO['pkgname']='zabbix'
1122    REPO['fullreponame']="Zabbix $elasver Official Repository"
1123    REPO['EnableGroups']='no'
1124    REPO['Visible']='yes'
1125    REPO['status']='disabled'
1126    REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/frontend/"
1127    REPO['MirrorList']=''
1128    REPO['GPGCheck']='yes'
1129    REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591"
1130    REPO['Exclude']=''
1131    REPO['IncludePkgs']=''
1132    createrepo
1133    done
1134    
1135    
1136    
1137  #####################  #####################
1138  #####################  #####################
1139  #zmrepo  #zmrepo
# Line 1038  EOF Line 1191  EOF
1191    
1192  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
1193  {  {
1194      my @add = split(/[,; ]+/, '');      my @add = split(/[,; ]+/, 'pwauth');
1195      my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make');      my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make');
1196    
1197      for my $name ( qw(epel) )      for my $name ( qw(epel) )
# Line 1139  EOF Line 1292  EOF
1292    
1293  rm -f %{name}-%{version}-filelist*  rm -f %{name}-%{version}-filelist*
1294  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist
1295    cat %{name}-%{version}-filelist|grep asterisk                   > %{name}-%{version}-filelist-asterisk
1296  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic
1297    cat %{name}-%{version}-filelist| grep bareos                    > %{name}-%{version}-filelist-bareos
1298  cat %{name}-%{version}-filelist| grep centos-sclo               > %{name}-%{version}-filelist-centos-sclo  cat %{name}-%{version}-filelist| grep centos-sclo               > %{name}-%{version}-filelist-centos-sclo
1299  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware
1300  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic
# Line 1148  cat %{name}-%{version}-filelist| grep ep Line 1303  cat %{name}-%{version}-filelist| grep ep
1303  cat %{name}-%{version}-filelist| grep erlang                    > %{name}-%{version}-filelist-erlang  cat %{name}-%{version}-filelist| grep erlang                    > %{name}-%{version}-filelist-erlang
1304  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch
1305  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws
1306    cat %{name}-%{version}-filelist| grep lemonldap                 > %{name}-%{version}-filelist-lemonldap
1307  cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan  cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan
1308  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
1309  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo
# Line 1196  case "$1" in Line 1352  case "$1" in
1352                  # this is an upgrade                  # this is an upgrade
1353          ;;          ;;
1354  esac  esac
1355    %package asterisk
1356    Summary: Asterisk Repository tucny.com
1357    %description asterisk
1358    Asterisk Repository tucny.com
1359    %files asterisk -f  %{name}-%{version}-filelist-asterisk
1360    %defattr(-,root,root)
1361    
1362  %package atomic  %package atomic
1363  Summary: Atomic Repository  Summary: Atomic Repository
1364  %description atomic  %description atomic
# Line 1203  Atomic Repository Line 1366  Atomic Repository
1366  %files atomic -f  %{name}-%{version}-filelist-atomic  %files atomic -f  %{name}-%{version}-filelist-atomic
1367  %defattr(-,root,root)  %defattr(-,root,root)
1368    
1369    %package bareos
1370    Summary: Backup Archiving Recovery Open Sourced
1371    %description bareos
1372    Backup Archiving Recovery Open Sourced  repository
1373    %files bareos -f  %{name}-%{version}-filelist-bareos
1374    %defattr(-,root,root)
1375    
1376  %package centos-sclo  %package centos-sclo
1377  Summary: CentOS Red-Hat software collection repository  Summary: CentOS Red-Hat software collection repository
1378  %description centos-sclo  %description centos-sclo
# Line 1259  Firewall Services repository Line 1429  Firewall Services repository
1429  %files fws -f  %{name}-%{version}-filelist-fws  %files fws -f  %{name}-%{version}-filelist-fws
1430  %defattr(-,root,root)  %defattr(-,root,root)
1431    
1432    %package lemonldap
1433    Summary: Lemonldap NG Repository
1434    %description lemonldap
1435    LemonLDAP::NG Repository
1436    %files lemonldap -f  %{name}-%{version}-filelist-lemonldap
1437    %defattr(-,root,root)
1438    
1439  %package libreswan  %package libreswan
1440  Summary: Libreswan Repository  Summary: Libreswan Repository
1441  %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