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

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

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

Revision 1.3 by jpp, Wed Feb 14 04:32:41 2018 UTC Revision 1.17 by jpp, Sat Dec 29 04:21:21 2018 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 1  %define release 12
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    * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme
22    - zoneminder needs ffmpeg from zmrepo [SME: 10539]
23    
24    * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-11.sme
25    - zmrepo url has changed [SME: 10675]
26    
27    * Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme
28    - Add libreswan repo  [SME: 10605]
29    - remove duplicate remi-safe entry
30    
31    * Mon Jun 25 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6.sme
32    - Update reetp URL  [SME: 10604]
33    
34    * Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme
35    - add elrepo-kernel repo  [SME: 10581]
36    
37    * Sun Mar 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme
38    - exclude ffmpeg-2.6.4 and celt-0.11 from zmrepo [SME: 10543]
39    - add Sogo4 repo + migrate to exclude gnustep from epel if sogo repo present
40    
41    * Sun Feb 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-3.sme
42    - fix wrong escape sequence for $basearch and $releasever [SME: 10239]
43    
44    * Thu Feb 15 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme
45    - first multipackage version
46    - gpg keys not included
47    
48  * Mon May 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme  * Mon May 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme
49  - initial release  - initial release
50    
# Line 46  mkdir -p $RPM_BUILD_ROOT/usr/share/rpm-g Line 73  mkdir -p $RPM_BUILD_ROOT/usr/share/rpm-g
73    
74    
75  declare -A REPO  declare -A REPO
 #remi-safe  
 REPO['reponame']='remi-safe'  
 REPO['fullreponame']='Remi - safe'  
 REPO['EnableGroups']='no'  
 REPO['GPGCheck']='yes'  
 REPO['Visible']='yes'  
 REPO['status']='enabled'  
 REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/\\\$releasever/safe/\\\$basearch/'  
 REPO['MirrorList']=''  
 REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'  
 REPO['Exclude']=''  
 REPO['Include']=''  
76    
77    function createrepo {
78  mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}  mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}
79  echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups  echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups
80  echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck  echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck
# Line 69  echo "repository" > $RPM_BUILD_ROOT/etc/ Line 85  echo "repository" > $RPM_BUILD_ROOT/etc/
85  [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\
86                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL
87  [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\
88                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey
89  [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\  [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\
90                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList
91  [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\  [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\
92                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude
93  [[ "${REPO['Include']}" != '' ]]  &&       echo "${REPO['Include']}"   >\  [[ "${REPO['IncludePkgs']}" != '' ]]  &&       echo "${REPO['IncludePkgs']}"   >\
94                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/IncludePkgs
95    return 0
96    }
97    
98    
99    
100  ######################  ######################
101  #####################  #####################
# Line 88  REPO['EnableGroups']='yes' Line 108  REPO['EnableGroups']='yes'
108  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
109  REPO['Visible']='no'  REPO['Visible']='no'
110  REPO['status']='disabled'  REPO['status']='disabled'
111  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/asterisk-13/\\\$basearch/'  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/asterisk-13/$basearch/'
112  REPO['MirrorList']=''  REPO['MirrorList']=''
113  REPO['GPGKey']=''  REPO['GPGKey']=''
114  REPO['Exclude']=''  REPO['Exclude']=''
115  REPO['Include']=''  REPO['IncludePkgs']=''
116    createrepo
 mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}  
 echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups  
 echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck  
 echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name  
 echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible  
 echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status  
 echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type  
 [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL  
 [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey  
 [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList  
 [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude  
 [[ "${REPO['Include']}" != '' ]]  &&       echo "${REPO['Include']}"   >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include  
117    
118  ######################  ######################
119  #####################  #####################
# Line 123  REPO['EnableGroups']='yes' Line 126  REPO['EnableGroups']='yes'
126  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
127  REPO['Visible']='no'  REPO['Visible']='no'
128  REPO['status']='disabled'  REPO['status']='disabled'
129  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/\\\$basearch/'  REPO['BaseURL']='http://packages.asterisk.org/centos$releasever/current/$basearch/'
130  REPO['MirrorList']=''  REPO['MirrorList']=''
131  REPO['GPGKey']=''  REPO['GPGKey']=''
132  REPO['Exclude']=''  REPO['Exclude']=''
133  REPO['Include']=''  REPO['IncludePkgs']=''
134    createrepo
 mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}  
 echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups  
 echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck  
 echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name  
 echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible  
 echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status  
 echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type  
 [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL  
 [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey  
 [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList  
 [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude  
 [[ "${REPO['Include']}" != '' ]]  &&       echo "${REPO['Include']}"   >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include  
135    
136  #####################  #####################
137  #####################  #####################
# Line 157  REPO['fullreponame']='Digium packages - Line 143  REPO['fullreponame']='Digium packages -
143  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
144  REPO['Visible']='no'  REPO['Visible']='no'
145  REPO['status']='disabled'  REPO['status']='disabled'
146  REPO['BaseURL']='http://packages.digium.com/centos/\\\$releasever/current/\\\$basearch/'  REPO['BaseURL']='http://packages.digium.com/centos/$releasever/current/$basearch/'
147  REPO['MirrorList']=''  REPO['MirrorList']=''
148  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
149  REPO['GPGKey']=''  REPO['GPGKey']=''
150  REPO['Exclude']=''  REPO['Exclude']=''
151  REPO['Include']=''  REPO['IncludePkgs']=''
152    createrepo
 mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}  
 echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups  
 echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck  
 echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name  
 echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible  
 echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status  
 echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type  
 [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL  
 [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey  
 [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList  
 [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude  
 [[ "${REPO['Include']}" != '' ]]  &&       echo "${REPO['Include']}"   >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include  
153    
154  #####################  #####################
155  #####################  #####################
# Line 192  REPO['fullreponame']='Digium-13 packages Line 161  REPO['fullreponame']='Digium-13 packages
161  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
162  REPO['Visible']='no'  REPO['Visible']='no'
163  REPO['status']='disabled'  REPO['status']='disabled'
164  REPO['BaseURL']='http://packages.digium.com/centos/\\\$releasever/digium-13/\\\$basearch/'  REPO['BaseURL']='http://packages.digium.com/centos/$releasever/digium-13/$basearch/'
165  REPO['MirrorList']=''  REPO['MirrorList']=''
166  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
167  REPO['GPGKey']=''  REPO['GPGKey']=''
168  REPO['Exclude']=''  REPO['Exclude']=''
169  REPO['Include']=''  REPO['IncludePkgs']=''
170    createrepo
 mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}  
 echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups  
 echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck  
 echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name  
 echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible  
 echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status  
 echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type  
 [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL  
 [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey  
 [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList  
 [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude  
 [[ "${REPO['Include']}" != '' ]]  &&       echo "${REPO['Include']}"   >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include  
171    
172  #####################  #####################
173  #####################  #####################
# Line 228  REPO['EnableGroups']='no' Line 180  REPO['EnableGroups']='no'
180  REPO['Visible']='no'  REPO['Visible']='no'
181  REPO['status']='disabled'  REPO['status']='disabled'
182  REPO['BaseURL']=''  REPO['BaseURL']=''
183  REPO['MirrorList']='http://www.atomicorp.com/mirrorlist/atomic/centos-\\\$releasever-\\\$basearch'  REPO['MirrorList']='http://www.atomicorp.com/mirrorlist/atomic/centos-$releasever-$basearch'
184  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
185  REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt'  REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt'
186  REPO['Exclude']=''  REPO['Exclude']=''
187  REPO['Include']=''  REPO['IncludePkgs']=''
188    createrepo
189    
190  mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}  #####################
191  echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups  #####################
192  echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck  #centos-sclo-centos
193  echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name  #####################
194  echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible  #####################
195  echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status  REPO['reponame']='centos-sclo-centos'
196  echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type  REPO['fullreponame']='Centos-RH Software collections'
197  [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  REPO['EnableGroups']='no'
198                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL  REPO['Visible']='yes'
199  [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  REPO['status']='disabled'
200                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey  REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/'
201  [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\  REPO['MirrorList']=''
202                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList  REPO['GPGCheck']='yes'
203  [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\  REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'
204                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude  REPO['Exclude']=''
205  [[ "${REPO['Include']}" != '' ]]  &&       echo "${REPO['Include']}"   >\  REPO['IncludePkgs']=''
206                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include  createrepo
207    
208  #####################  #####################
209  #####################  #####################
# Line 262  REPO['fullreponame']='Centos-RH Software Line 215  REPO['fullreponame']='Centos-RH Software
215  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
216  REPO['Visible']='yes'  REPO['Visible']='yes'
217  REPO['status']='disabled'  REPO['status']='disabled'
218  REPO['BaseURL']='http://mirror.centos.org/centos/\\\$releasever/sclo/\\\$basearch/rh'  REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/'
219  REPO['MirrorList']=''  REPO['MirrorList']=''
220  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
221  REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'  REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'
222  REPO['Exclude']=''  REPO['Exclude']=''
223  REPO['Include']=''  REPO['IncludePkgs']=''
224    createrepo
 mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}  
 echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups  
 echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck  
 echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name  
 echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible  
 echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status  
 echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type  
 [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL  
 [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey  
 [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList  
 [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude  
 [[ "${REPO['Include']}" != '' ]]  &&       echo "${REPO['Include']}"   >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include  
225    
226  #####################  #####################
227  #####################  #####################
# Line 297  REPO['fullreponame']='server_eGroupWare' Line 233  REPO['fullreponame']='server_eGroupWare'
233  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
234  REPO['Visible']='yes'  REPO['Visible']='yes'
235  REPO['status']='disabled'  REPO['status']='disabled'
236  REPO['BaseURL']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_\\\$releasever/'  REPO['BaseURL']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_$releasever/'
237  REPO['MirrorList']=''  REPO['MirrorList']=''
238  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
239  REPO['GPGKey']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_\\\$releasever/repodata/repomd.xml.key'  REPO['GPGKey']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_$releasever/repodata/repomd.xml.key'
240  REPO['Exclude']=''  REPO['Exclude']=''
241  REPO['Include']=''  REPO['IncludePkgs']=''
242    createrepo
 mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}  
 echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups  
 echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck  
 echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name  
 echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible  
 echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status  
 echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type  
 [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL  
 [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey  
 [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList  
 [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude  
 [[ "${REPO['Include']}" != '' ]]  &&       echo "${REPO['Include']}"   >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include  
   
243    
244  #####################  #####################
245  #####################  #####################
# Line 340  REPO['MirrorList']='' Line 258  REPO['MirrorList']=''
258  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
259  REPO['GPGKey']='https://artifacts.elastic.co/GPG-KEY-elasticsearch'  REPO['GPGKey']='https://artifacts.elastic.co/GPG-KEY-elasticsearch'
260  REPO['Exclude']=''  REPO['Exclude']=''
261  REPO['Include']=''  REPO['IncludePkgs']=''
262    createrepo
 mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}  
 echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups  
 echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck  
 echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name  
 echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible  
 echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status  
 echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type  
 [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL  
 [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey  
 [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList  
 [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude  
 [[ "${REPO['Include']}" != '' ]]  &&       echo "${REPO['Include']}"   >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include  
263  done  done
264    
265  #####################  #####################
# Line 371  REPO['fullreponame']='ELRepo.org Communi Line 272  REPO['fullreponame']='ELRepo.org Communi
272  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
273  REPO['Visible']='no'  REPO['Visible']='no'
274  REPO['status']='disabled'  REPO['status']='disabled'
275  REPO['BaseURL']='http://elrepo.org/linux/elrepo/el\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch'
276  REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.\\\$releasever'  REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.el$releasever'
277  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
278  REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'  REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
279  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['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'
280  REPO['Include']=''  REPO['IncludePkgs']=''
281    createrepo
282    
283  mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}  #####################
284  echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups  #####################
285  echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck  #ELRepo kernel
286  echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name  #####################
287  echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible  #####################
288  echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status  REPO['reponame']='elrepo-kernel'
289  echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type  REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel'
290  [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  REPO['EnableGroups']='no'
291                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL  REPO['Visible']='no'
292  [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  REPO['status']='disabled'
293                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey  REPO['BaseURL']='http://elrepo.org/linux/kernel/el$releasever/$basearch'
294  [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\  REPO['MirrorList']='http://elrepo.org/mirrors-elrepo-kernel.el$releasever'
295                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList  REPO['GPGCheck']='yes'
296  [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\  REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
297                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude  REPO['Exclude']=''
298  [[ "${REPO['Include']}" != '' ]]  &&       echo "${REPO['Include']}"   >\  REPO['IncludePkgs']=''
299                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include  createrepo
300    
301  #####################  #####################
302  #####################  #####################
# Line 406  REPO['fullreponame']='EPEL' Line 308  REPO['fullreponame']='EPEL'
308  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
309  REPO['Visible']='no'  REPO['Visible']='no'
310  REPO['status']='disabled'  REPO['status']='disabled'
311  REPO['BaseURL']='http://download.fedoraproject.org/pub/epel/\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://download.fedoraproject.org/pub/epel/$releasever/$basearch'
312  REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-\\\$releasever&arch=\\\$basearch'  REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch'
313  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
314  REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'  REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
315  REPO['Exclude']='perl-Razor-Agent'  REPO['Exclude']='perl-Razor-Agent'
316  REPO['Include']=''  REPO['IncludePkgs']=''
317    createrepo
 mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}  
 echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups  
 echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck  
 echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name  
 echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible  
 echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status  
 echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type  
 [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL  
 [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey  
 [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList  
 [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude  
 [[ "${REPO['Include']}" != '' ]]  &&       echo "${REPO['Include']}"   >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include  
318    
319  #####################  #####################
320  #####################  #####################
# Line 441  REPO['fullreponame']='erlang programming Line 326  REPO['fullreponame']='erlang programming
326  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
327  REPO['Visible']='yes'  REPO['Visible']='yes'
328  REPO['status']='disabled'  REPO['status']='disabled'
329  REPO['BaseURL']='http://packages.erlang-solutions.com/rpm/centos/\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch'
330  REPO['MirrorList']=''  REPO['MirrorList']=''
331  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
332  REPO['GPGKey']='http://packages.erlang-solutions.com/rpm/erlang_solutions.asc'  REPO['GPGKey']='http://packages.erlang-solutions.com/rpm/erlang_solutions.asc'
333  REPO['Exclude']=''  REPO['Exclude']=''
334  REPO['Include']=''  REPO['IncludePkgs']=''
335    createrepo
 mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}  
 echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups  
 echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck  
 echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name  
 echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible  
 echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status  
 echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type  
 [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL  
 [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey  
 [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList  
 [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude  
 [[ "${REPO['Include']}" != '' ]]  &&       echo "${REPO['Include']}"   >\  
                 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include  
   
336    
337  #####################  #####################
338  #####################  #####################
# Line 477  REPO['fullreponame']='Freeswitch' Line 344  REPO['fullreponame']='Freeswitch'
344  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
345  REPO['Visible']='yes'  REPO['Visible']='yes'
346  REPO['status']='disabled'  REPO['status']='disabled'
347  REPO['BaseURL']='http://files.freeswitch.org/yum/\\\$releasever/\\\$basearch'  REPO['BaseURL']='http://files.freeswitch.org/yum/$releasever/$basearch'
348  REPO['MirrorList']=''  REPO['MirrorList']=''
349  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
350  REPO['GPGKey']='file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH'  REPO['GPGKey']='file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH'
351  REPO['Exclude']=''  REPO['Exclude']=''
352  REPO['Include']=''  REPO['IncludePkgs']=''
353    createrepo
354    
355  mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}  #####################
356  echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups  #####################
357  echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck  #firewall Service
358  echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name  #####################
359  echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible  #####################
360  echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status  REPO['reponame']='fws'
361  echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type  REPO['fullreponame']='Firewall Services'
362  [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  REPO['EnableGroups']='no'
363                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL  REPO['Visible']='no'
364  [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  REPO['status']='disabled'
365                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey  REPO['BaseURL']='http://repo.firewall-services.com/centos/$releasever'
366  [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\  REPO['MirrorList']=''
367                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList  REPO['GPGCheck']='yes'
368  [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\  REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY'
369                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude  REPO['Exclude']=''
370  [[ "${REPO['Include']}" != '' ]]  &&       echo "${REPO['Include']}"   >\  REPO['IncludePkgs']=''
371                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include  createrepo
372    
373    #####################
374    #####################
375    #firewall Service testing
376    #####################
377    #####################
378    REPO['reponame']='fws-testing'
379    REPO['fullreponame']='Firewall Services testing'
380    REPO['EnableGroups']='no'
381    REPO['Visible']='no'
382    REPO['status']='disabled'
383    REPO['BaseURL']='http://repo.firewall-services.com/centos-testing/$releasever'
384    REPO['MirrorList']=''
385    REPO['GPGCheck']='yes'
386    REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY'
387    REPO['Exclude']=''
388    REPO['IncludePkgs']=''
389    createrepo
390    
391    #####################
392    #####################
393    # Geekery  (last update 2016-09-25)
394    #####################
395    #####################
396    REPO['reponame']='geekery'
397    REPO['fullreponame']='geekery repository'
398    REPO['EnableGroups']='no'
399    REPO['Visible']='no'
400    REPO['status']='disabled'
401    REPO['BaseURL']=''
402    REPO['MirrorList']='http://geekery.epac.to/geekery/el$releasever-mirrors'
403    REPO['GPGCheck']='yes'
404    REPO['GPGKey']='http://geekery.altervista.org/download.php?filename=GEEKERY-GPG-KEY'
405    REPO['Exclude']=''
406    REPO['IncludePkgs']=''
407    createrepo
408    
409    #####################
410    #####################
411    # Libreswan
412    #####################
413    #####################
414    REPO['reponame']='libreswan'
415    REPO['fullreponame']='Libreswan'
416    REPO['EnableGroups']='no'
417    REPO['Visible']='no'
418    REPO['status']='disabled'
419    REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/6/x86_64/'
420    REPO['MirrorList']=''
421    REPO['GPGCheck']='yes'
422    REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan'
423    REPO['Exclude']=''
424    REPO['IncludePkgs']=''
425    createrepo
426    
427    
428  ## define filelists  if  ( "%{?dist}"  == "el7" ); then
429    #####################
430    #####################
431    # Odoo10-nightly
432    #####################
433    #####################
434    REPO['reponame']='odoo10-nightly'
435    REPO['fullreponame']='Odoo 10 Nightly - EL7'
436    REPO['EnableGroups']='no'
437    REPO['Visible']='no'
438    REPO['status']='disabled'
439    REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'
440    REPO['MirrorList']=''
441    REPO['GPGCheck']='yes'
442    REPO['GPGKey']='https://nightly.odoo.com/odoo.key'
443    REPO['Exclude']=''
444    REPO['IncludePkgs']=''
445    createrepo
446    
447    #####################
448    #####################
449    # Odoo9-nightly
450    #####################
451    #####################
452    REPO['reponame']='odoo9-nightly'
453    REPO['fullreponame']='Odoo 9 Nightly - EL7'
454    REPO['EnableGroups']='no'
455    REPO['Visible']='no'
456    REPO['status']='disabled'
457    REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'
458    REPO['MirrorList']=''
459    REPO['GPGCheck']='yes'
460    REPO['GPGKey']='https://nightly.odoo.com/odoo.key'
461    REPO['Exclude']=''
462    REPO['IncludePkgs']=''
463    createrepo
464    fi
465    
466    #####################
467    #####################
468    # Okay
469    #####################
470    #####################
471    REPO['reponame']='okay'
472    REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'
473    REPO['EnableGroups']='no'
474    REPO['Visible']='no'
475    REPO['status']='disabled'
476    REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'
477    REPO['MirrorList']=''
478    REPO['GPGCheck']='no'
479    REPO['GPGKey']=''
480    REPO['Exclude']=''
481    REPO['IncludePkgs']=''
482    createrepo
483    
484    #####################
485    #####################
486    # Openfusion
487    #####################
488    #####################
489    REPO['reponame']='openfusion'
490    REPO['fullreponame']='Openfusion'
491    REPO['EnableGroups']='no'
492    REPO['Visible']='yes'
493    REPO['status']='disabled'
494    REPO['BaseURL']='http://repo.openfusion.net/centos$releasever-$basearch'
495    REPO['MirrorList']=''
496    REPO['GPGCheck']='yes'
497    REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'
498    REPO['Exclude']=''
499    REPO['IncludePkgs']=''
500    createrepo
501    
502    #####################
503    #####################
504    # Reetspetit
505    #####################
506    #####################
507    REPO['reponame']='reetp'
508    REPO['fullreponame']='Mirror John Crisp reetspetit.com'
509    REPO['EnableGroups']='no'
510    REPO['Visible']='yes'
511    REPO['status']='disabled'
512    REPO['BaseURL']='https://www.reetspetit.com/smeserver/$releasever'
513    REPO['MirrorList']=''
514    REPO['GPGCheck']='no'
515    REPO['GPGKey']='https://www.reetspetit.com/RPM-GPG-KEY'
516    REPO['Exclude']=''
517    REPO['IncludePkgs']=''
518    createrepo
519    
520    #####################
521    #####################
522    #remi-safe
523    #####################
524    #####################
525    REPO['reponame']='remi-safe'
526    REPO['fullreponame']='Remi - safe'
527    REPO['EnableGroups']='no'
528    REPO['GPGCheck']='yes'
529    REPO['Visible']='yes'
530    REPO['status']='enabled'
531    REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/safe/$basearch/'
532    REPO['MirrorList']=''
533    REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
534    REPO['Exclude']=''
535    REPO['IncludePkgs']=''
536    createrepo
537    
538    #####################
539    #####################
540    #remi
541    #####################
542    #####################
543    REPO['reponame']='remi'
544    REPO['fullreponame']='Remi - EL unsafe, will conflict with your base rpms'
545    REPO['EnableGroups']='no'
546    REPO['GPGCheck']='yes'
547    REPO['Visible']='no'
548    REPO['status']='enabled'
549    REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
550    REPO['MirrorList']=''
551    REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
552    REPO['Exclude']='mysql*,php-*,phpMyAdmin'
553    REPO['IncludePkgs']=''
554    createrepo
555    
556    #####################
557    #####################
558    #remi-ocsinventory
559    #####################
560    #####################
561    REPO['reponame']='remi-ocsinventory'
562    REPO['fullreponame']='Remi ocsinventory - EL'
563    REPO['EnableGroups']='no'
564    REPO['GPGCheck']='yes'
565    REPO['Visible']='yes'
566    REPO['status']='enabled'
567    REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
568    REPO['MirrorList']=''
569    REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
570    REPO['Exclude']=''
571    REPO['IncludePkgs']='ocsinventory* perl-Ocsinventory-Agent'
572    createrepo
573    
574    #####################
575    #####################
576    #remi-ocsinventory
577    #####################
578    #####################
579    REPO['reponame']='remi-roundcube'
580    REPO['fullreponame']='Remi Roundcube - EL'
581    REPO['EnableGroups']='no'
582    REPO['GPGCheck']='yes'
583    REPO['Visible']='yes'
584    REPO['status']='enabled'
585    REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
586    REPO['MirrorList']=''
587    REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
588    REPO['Exclude']=''
589    REPO['IncludePkgs']='php-kolab-net-ldap3,php-pear-Mail-mimeDecode,php-pear-Net-IDNA2,php-pear-Net-LDAP2,roundcubemail'
590    createrepo
591    
592    
593    #####################
594    #####################
595    #rpmfusion
596    #####################
597    #####################
598    REPO['reponame']='rpmfusion'
599    REPO['fullreponame']='rpmfusion free EL'
600    REPO['EnableGroups']='no'
601    REPO['Visible']='yes'
602    REPO['status']='disabled'
603    REPO['BaseURL']='http://download1.rpmfusion.org/free/el/updates/$releasever/$basearch/'
604    REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-$releasever&arch=$basearch'
605    REPO['GPGCheck']='yes'
606    REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-el-$releasever'
607    REPO['Exclude']=''
608    REPO['IncludePkgs']=''
609    createrepo
610    
611    #####################
612    #####################
613    #rpmfusion
614    #####################
615    #####################
616    REPO['reponame']='rpmfusion-nonfree'
617    REPO['fullreponame']='rpmfusion nonfree EL'
618    REPO['EnableGroups']='no'
619    REPO['Visible']='yes'
620    REPO['status']='disabled'
621    REPO['BaseURL']='http://download1.rpmfusion.org/nonfree/el/updates/$releasever/$basearch/'
622    REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-released-$releasever&arch=$basearch'
623    REPO['GPGCheck']='yes'
624    REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-el-$releasever'
625    REPO['Exclude']=''
626    REPO['IncludePkgs']=''
627    createrepo
628    
629    #####################
630    #####################
631    #Sogo nightly
632    #####################
633    #####################
634    REPO['reponame']='sogo'
635    REPO['fullreponame']='Inverse SOGo 2 Repository'
636    REPO['EnableGroups']='no'
637    REPO['Visible']='yes'
638    REPO['status']='disabled'
639    REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/2/rhel/$releasever/$basearch'
640    REPO['MirrorList']=''
641    REPO['GPGCheck']='no'
642    REPO['GPGKey']=''
643    REPO['Exclude']=''
644    REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
645    createrepo
646    
647    #####################
648    #####################
649    #Sogo3 nightly
650    #####################
651    #####################
652    REPO['reponame']='sogo3'
653    REPO['fullreponame']='Inverse SOGo 3 Repository'
654    REPO['EnableGroups']='no'
655    REPO['Visible']='yes'
656    REPO['status']='disabled'
657    REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/3/rhel/$releasever/$basearch'
658    REPO['MirrorList']=''
659    REPO['GPGCheck']='no'
660    REPO['GPGKey']=''
661    REPO['Exclude']=''
662    REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
663    createrepo
664    
665    #####################
666    #####################
667    #Sogo4 nightly
668    #####################
669    #####################
670    REPO['reponame']='sogo4'
671    REPO['fullreponame']='Inverse SOGo 4 Repository'
672    REPO['EnableGroups']='no'
673    REPO['Visible']='yes'
674    REPO['status']='disabled'
675    REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/4/rhel/$releasever/$basearch'
676    REPO['MirrorList']=''
677    REPO['GPGCheck']='no'
678    REPO['GPGKey']=''
679    REPO['Exclude']=''
680    REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
681    createrepo
682    
683    #####################
684    #####################
685    #Sogo stable
686    #####################
687    #####################
688    REPO['reponame']='sogo-subscription'
689    REPO['fullreponame']='Inverse SOGo Repository only with subscription'
690    REPO['EnableGroups']='no'
691    REPO['Visible']='yes'
692    REPO['status']='disabled'
693    REPO['BaseURL']='http://packages.inverse.ca/download/SOGo/RHEL$releasever/$basearch'
694    REPO['MirrorList']=''
695    REPO['GPGCheck']='no'
696    REPO['GPGKey']=''
697    REPO['Exclude']=''
698    REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
699    createrepo
700    
701    #####################
702    #####################
703    #Spectrum2
704    #####################
705    #####################
706    REPO['reponame']='spectrum2'
707    REPO['fullreponame']='Spectrum2'
708    REPO['EnableGroups']='no'
709    REPO['Visible']='yes'
710    REPO['status']='disabled'
711    REPO['BaseURL']='http://copr-be.cloud.fedoraproject.org/results/mcepl/spectrum2/epel-$releasever-$basearch'
712    REPO['MirrorList']=''
713    REPO['GPGCheck']='no'
714    REPO['GPGKey']=''
715    REPO['Exclude']=''
716    REPO['IncludePkgs']=''
717    createrepo
718    
719    #####################
720    #####################
721    #stephDL
722    #####################
723    #####################
724    REPO['reponame']='stephdl'
725    REPO['fullreponame']='Mirror Stephane de Labrusse'
726    REPO['EnableGroups']='no'
727    REPO['Visible']='yes'
728    REPO['status']='disabled'
729    REPO['BaseURL']='http://mirror.de-labrusse.fr/smeserver/$releasever'
730    REPO['MirrorList']=''
731    REPO['GPGCheck']='yes'
732    REPO['GPGKey']='http://mirror.de-labrusse.fr/RPM-GPG-KEY'
733    REPO['Exclude']=''
734    REPO['IncludePkgs']=''
735    createrepo
736    
737    #####################
738    #####################
739    #VirtualBox
740    #####################
741    #####################
742    REPO['reponame']='virtualbox'
743    REPO['fullreponame']='RHEL/CentOS VirtualBox'
744    REPO['EnableGroups']='no'
745    REPO['Visible']='yes'
746    REPO['status']='disabled'
747    REPO['BaseURL']='http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch'
748    REPO['MirrorList']=''
749    REPO['GPGCheck']='yes'
750    REPO['GPGKey']='https://www.virtualbox.org/download/oracle_vbox.asc'
751    REPO['Exclude']=''
752    REPO['IncludePkgs']=''
753    createrepo
754    
755    #####################
756    #####################
757    #Webtatic
758    #####################
759    #####################
760    REPO['reponame']='webtatic'
761    REPO['fullreponame']='webtatic - EL'
762    REPO['EnableGroups']='no'
763    REPO['Visible']='yes'
764    REPO['status']='disabled'
765    REPO['BaseURL']=''
766    REPO['MirrorList']='http://mirror.webtatic.com/yum/el-$releasever/$basearch/mirrolist'
767    REPO['GPGCheck']='yes'
768    if  ( "%{?dist}"  == "el5" ); then
769    REPO['GPGKey']='http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy'
770    else
771    REPO['GPGKey']="http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-%{?dist}"
772    fi
773    REPO['Exclude']=''
774    REPO['IncludePkgs']=''
775    createrepo
776    
777    #####################
778    #####################
779    #Xymon
780    #####################
781    #####################
782    REPO['reponame']='xymon'
783    REPO['fullreponame']='Xymon Terabithia RPMS - EL'
784    REPO['EnableGroups']='no'
785    REPO['Visible']='yes'
786    REPO['status']='disabled'
787    REPO['BaseURL']='http://terabithia.org/rpms/xymon/el$releasever/'
788    REPO['MirrorList']=''
789    REPO['GPGCheck']='yes'
790    REPO['GPGKey']="http://terabithia.org/rpms/RPM-GPG-KEY-JCLEAVER"
791    REPO['Exclude']=''
792    REPO['IncludePkgs']=''
793    createrepo
794    
795    #####################
796    #####################
797    #Zabbix2.4
798    #####################
799    #####################
800    declare -A zabshort=( ['2.4']='24' ['2.5']='25' ['3.0']='30' ['3.1']='31' ['3.2']='32' ['3.4']='35' ['3.5']='35')
801    for elasver  in "2.4" "2.5" "3.0"; do
802    REPO['reponame']="zabbix${zabshort[$elasver]}"
803    REPO['fullreponame']="Zabbix $elasver Official Repository"
804    REPO['EnableGroups']='no'
805    REPO['Visible']='yes'
806    REPO['status']='disabled'
807    REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/"
808    REPO['MirrorList']=''
809    REPO['GPGCheck']='yes'
810    REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX"
811    REPO['Exclude']=''
812    REPO['IncludePkgs']=''
813    createrepo
814    done
815    
816    #####################
817    #####################
818    #zmrepo
819    #####################
820    #####################
821    REPO['reponame']='zmrepo'
822    REPO['fullreponame']='ZoneMinder Repo - EL'
823    REPO['EnableGroups']='no'
824    REPO['Visible']='yes'
825    REPO['status']='disabled'
826    REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch'
827    REPO['MirrorList']=''
828    REPO['GPGCheck']='no'
829    REPO['GPGKey']=""
830    REPO['Exclude']=''
831    REPO['IncludePkgs']=''
832    createrepo
833    
834    
835    #####################################################
836    # migrates
837    ######################################################
838    mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate
839    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/90sogo
840    {
841        my @add = split(/[,; ]+/, 'gnustep-*');
842        my %remove = map { $_ => 1 } split(/[,; ]+/, '');
843    
844        for my $name ( qw(epel) )
845        {
846            my $repo = $DB->get($name) or next;
847    
848            my @exclude = split(/,/, $repo->prop('Exclude') || '');
849            push @exclude, @add;
850            @exclude = grep(!defined $remove{$_} && !/^CENTOS_/, @exclude);
851    
852            # remove duplicates
853            undef %saw;
854            @exclude = grep(!$saw{$_}++, @exclude);
855    
856            if ($#exclude >= 0)
857            {
858                $repo->set_prop('Exclude', join(',', @exclude));
859            }
860            else
861            {
862                $repo->delete('Exclude');
863            }
864        }
865    }
866    
867    EOF
868    
869    
870    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel
871    {
872        my @add = split(/[,; ]+/, '');
873        my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make');
874    
875        for my $name ( qw(epel) )
876        {
877            my $repo = $DB->get($name) or next;
878    
879            my @exclude = split(/,/, $repo->prop('Exclude') || '');
880            push @exclude, @add;
881            @exclude = grep(!defined $remove{$_} && !/^CENTOS_/, @exclude);
882    
883            # remove duplicates
884            undef %saw;
885            @exclude = grep(!$saw{$_}++, @exclude);
886    
887            if ($#exclude >= 0)
888            {
889                $repo->set_prop('Exclude', join(',', @exclude));
890            }
891            else
892            {
893                $repo->delete('Exclude');
894            }
895        }
896    }
897    
898    EOF
899    
900    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10zmrepo
901    {
902        for my $name ( qw(zmrepo) )
903        {
904            my $repo = $DB->get($name) or next;
905            my $BaseURL = $repo->prop('BaseURL') || '';
906            $BaseURL = s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g;
907            $repo->set_prop('Exclude', join(',', @exclude));
908        }
909    
910    }
911    
912    EOF
913    
914    
915    
916    
917    
918    ##########################################################
919    
920  rm -f %{name}-%{version}-filelist*  rm -f %{name}-%{version}-filelist*
921  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist
922  cat %{name}-%{version}-filelist|grep remi-safe                  > %{name}-%{version}-filelist-remi-safe  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic
923    cat %{name}-%{version}-filelist| grep centos-sclo               > %{name}-%{version}-filelist-centos-sclo
924  cat %{name}-%{version}-filelist| egrep 'digium|asterisk'        > %{name}-%{version}-filelist-asterisk  cat %{name}-%{version}-filelist| egrep 'digium|asterisk'        > %{name}-%{version}-filelist-asterisk
925  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware
926  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic
927  cat %{name}-%{version}-filelist| grep elrepo                    > %{name}-%{version}-filelist-elrepo  cat %{name}-%{version}-filelist| grep elrepo                    > %{name}-%{version}-filelist-elrepo
928  cat %{name}-%{version}-filelist| grep epel                      > %{name}-%{version}-filelist-epel  cat %{name}-%{version}-filelist| grep epel                      > %{name}-%{version}-filelist-epel
929  cat %{name}-%{version}-filelist| grep erlang                    > %{name}-%{version}-filelist-erlang  cat %{name}-%{version}-filelist| grep erlang                    > %{name}-%{version}-filelist-erlang
930  cat %{name}-%{version}-filelist| grep  freeswitch               > %{name}-%{version}-filelist-freeswitch  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch
931    cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws
932    cat %{name}-%{version}-filelist| grep geekery                   > %{name}-%{version}-filelist-geekery
933    cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan
934    if  ( "%{?dist}"  == "el7" ); then
935    cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo
936    fi
937    cat %{name}-%{version}-filelist| grep okay                      > %{name}-%{version}-filelist-okay
938    cat %{name}-%{version}-filelist| grep openfusion                > %{name}-%{version}-filelist-openfusion
939    cat %{name}-%{version}-filelist| grep reetp                     > %{name}-%{version}-filelist-reetp
940    cat %{name}-%{version}-filelist| grep remi-safe                 > %{name}-%{version}-filelist-remi-safe
941    cat %{name}-%{version}-filelist| grep remi-ocsinventory         > %{name}-%{version}-filelist-remi-ocsinventory
942    cat %{name}-%{version}-filelist| grep remi-roundcube            > %{name}-%{version}-filelist-remi-roundcube
943    cat %{name}-%{version}-filelist| grep remi|egrep -v 'safe|ocsinventory|roundcube'       > %{name}-%{version}-filelist-remi
944    cat %{name}-%{version}-filelist| grep rpmfusion                 > %{name}-%{version}-filelist-rpmfusion
945    cat %{name}-%{version}-filelist| grep sogo                      > %{name}-%{version}-filelist-sogo
946    cat %{name}-%{version}-filelist| grep spectrum2                 > %{name}-%{version}-filelist-spectrum2
947    cat %{name}-%{version}-filelist| grep stephdl                   > %{name}-%{version}-filelist-stephdl
948    cat %{name}-%{version}-filelist| grep virtualbox                > %{name}-%{version}-filelist-virtualbox
949    cat %{name}-%{version}-filelist| grep webtatic                  > %{name}-%{version}-filelist-webtatic
950    cat %{name}-%{version}-filelist| grep xymon                     > %{name}-%{version}-filelist-xymon
951    cat %{name}-%{version}-filelist| grep zabbix                    > %{name}-%{version}-filelist-zabbix
952    cat %{name}-%{version}-filelist| grep zmrepo                    > %{name}-%{version}-filelist-zmrepo
953    
954  %clean  %clean
955  cd ..  cd ..
956  rm -rf %{name}-%{version}  rm -rf %{name}-%{version}
957    
958  %files -f %{name}-%{version}-filelist  
959    #%files -f %{name}-%{version}-filelist
960    %files
961  %defattr(-,root,root)  %defattr(-,root,root)
962    
963  %pre  %pre
# Line 541  case "$1" in Line 977  case "$1" in
977                  # this is an upgrade                  # this is an upgrade
978          ;;          ;;
979  esac  esac
980    %package atomic
981    Summary: Atomic Repository
982    %description atomic
983    Atomic Repository
984    %files atomic -f  %{name}-%{version}-filelist-atomic
985    %defattr(-,root,root)
986    
987  %package remi-safe  %package centos-sclo
988  Summary: Remi safe repository  Summary: CentOS Red-Hat software collection repository
989  %description remi-safe  %description centos-sclo
990  Remi safe repository  CentOS Red-Hat software collection repository only for  x86_64 arch
991  %files remi-safe -f  %{name}-%{version}-filelist-remi-safe  %files centos-sclo -f  %{name}-%{version}-filelist-centos-sclo
992  %defattr(-,root,root)  %defattr(-,root,root)
993    
994  %package asterisk  %package asterisk
# Line 598  FreeSWITCH is a scalable open source cro Line 1040  FreeSWITCH is a scalable open source cro
1040  %files freeswitch -f  %{name}-%{version}-filelist-freeswitch  %files freeswitch -f  %{name}-%{version}-filelist-freeswitch
1041  %defattr(-,root,root)  %defattr(-,root,root)
1042    
1043    %package fws
1044    Summary: Firewall Services repository
1045    %description fws
1046    Firewall Services repository
1047    %files fws -f  %{name}-%{version}-filelist-fws
1048    %defattr(-,root,root)
1049    
1050    %package geekery
1051    Summary: Geekery Repository
1052    %description geekery
1053    Geekery Repository
1054    %files geekery -f  %{name}-%{version}-filelist-geekery
1055    %defattr(-,root,root)
1056    
1057    %package libreswan
1058    Summary: Libreswan Repository
1059    %description libreswan
1060    Geekery Repository
1061    %files libreswan -f  %{name}-%{version}-filelist-libreswan
1062    %defattr(-,root,root)
1063    
1064    %package odoo
1065    Summary: Odoo 10 Nightly - EL7 Repository
1066    Distribution: el7
1067    %description odoo
1068    Odoo 10 Nightly - EL7 Repository
1069    # comment as not available for centos 6 SME9
1070    #%files odoo -f  %{name}-%{version}-filelist-odoo
1071    #%defattr(-,root,root)
1072    
1073    %package okay
1074    Summary: Extra OKay Packages for Enterprise Linux
1075    %description okay
1076    Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX
1077    %files okay -f  %{name}-%{version}-filelist-okay
1078    %defattr(-,root,root)
1079    
1080    %package openfusion
1081    Summary: Openfusion Repository
1082    %description openfusion
1083    Openfusion Repository
1084    %files openfusion -f  %{name}-%{version}-filelist-openfusion
1085    %defattr(-,root,root)
1086    
1087    %package reetp
1088    Summary: Mirror John Crisp reetspetit.com
1089    %description reetp
1090    Mirror John Crisp reetspetit.com
1091    %files reetp -f  %{name}-%{version}-filelist-reetp
1092    %defattr(-,root,root)
1093    
1094    %package remi-safe
1095    Summary: Remi safe repository
1096    %description remi-safe
1097    Remi safe repository
1098    %files remi-safe -f  %{name}-%{version}-filelist-remi-safe
1099    %defattr(-,root,root)
1100    
1101    %package remi-ocsinventory
1102    Summary: Remi repository filtered to install OCSinventory
1103    %description remi-ocsinventory
1104    Remi repository filtered to install OCSinventory
1105    %files remi-ocsinventory -f  %{name}-%{version}-filelist-remi-ocsinventory
1106    %defattr(-,root,root)
1107    
1108    %package remi-roundcube
1109    Summary: Remi repository filtered to install Roundcube
1110    %description remi-roundcube
1111    Remi repository filtered to install Roundcube
1112    %files remi-roundcube -f  %{name}-%{version}-filelist-remi-roundcube
1113    %defattr(-,root,root)
1114    
1115    %package remi-unsafe
1116    Summary: Remi unsafe repository
1117    %description remi-unsafe
1118    Remi unsafe repository. We call it unsafe, not because of the work, but because it can conflict with base rpm of your favorite distro. Use it at your own risk if you are able to handle the situation.
1119    %files remi-unsafe -f  %{name}-%{version}-filelist-remi
1120    %defattr(-,root,root)
1121    
1122    %package rpmfusion
1123    Summary: RPMFusion repositories
1124    %description rpmfusion
1125    RPMFusion repositories
1126    %files rpmfusion -f  %{name}-%{version}-filelist-rpmfusion
1127    %defattr(-,root,root)
1128    
1129    %package sogo
1130    Summary: SOGo repositories
1131    %description sogo
1132    SOGo repositories
1133    %files sogo -f  %{name}-%{version}-filelist-sogo
1134    %defattr(-,root,root)
1135    
1136    %package spectrum2
1137    Summary: Spectrum2 Repository
1138    %description spectrum2
1139    Spectrum2 Repository
1140    %files spectrum2 -f  %{name}-%{version}-filelist-spectrum2
1141    %defattr(-,root,root)
1142    
1143    %package stephdl
1144    Summary: Stephane De Labrusse Repository
1145    %description stephdl
1146    Stephane De Labrusse Repository
1147    %files stephdl -f  %{name}-%{version}-filelist-stephdl
1148    %defattr(-,root,root)
1149    
1150    %package virtualbox
1151    Summary: Virtualbox Repository
1152    %description virtualbox
1153    Virtualbox Repository
1154    %files virtualbox -f  %{name}-%{version}-filelist-virtualbox
1155    %defattr(-,root,root)
1156    
1157    %package webtatic
1158    Summary: Webtatic Repository
1159    %description webtatic
1160    Webtatic Repository
1161    %files webtatic -f  %{name}-%{version}-filelist-webtatic
1162    %defattr(-,root,root)
1163    
1164    %package xymon
1165    Summary: Xymon Terabithia Repository
1166    %description xymon
1167    Xymon Terabithia Repository
1168    %files xymon -f  %{name}-%{version}-filelist-xymon
1169    %defattr(-,root,root)
1170    
1171    %package zabbix
1172    Summary: Zabbix official Repository
1173    %description zabbix
1174    Zabbix official Repository
1175    %files zabbix -f  %{name}-%{version}-filelist-zabbix
1176    %defattr(-,root,root)
1177    
1178    %package zmrepo
1179    Summary: Zone Minder Repository
1180    %description zmrepo
1181    Zone Minder Repository
1182    %files zmrepo -f  %{name}-%{version}-filelist-zmrepo
1183    %defattr(-,root,root)
1184    
1185    
1186    


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