/[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.2 by jpp, Wed Feb 14 03:57:20 2018 UTC Revision 1.5 by jpp, Thu Feb 15 21:16:11 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 2
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    * Thu Feb 15 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme
22    - first multipackage version
23    - gpg keys not included
24    
25  * 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
26  - initial release  - initial release
27    
# Line 46  mkdir -p $RPM_BUILD_ROOT/usr/share/rpm-g Line 50  mkdir -p $RPM_BUILD_ROOT/usr/share/rpm-g
50    
51    
52  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']=''  
53    
54    function createrepo {
55  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']}
56  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
57  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 62  echo "repository" > $RPM_BUILD_ROOT/etc/
62  [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\
63                  $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
64  [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\
65                  $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
66  [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\  [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\
67                  $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
68  [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\  [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\
69                  $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
70  [[ "${REPO['Include']}" != '' ]]  &&       echo "${REPO['Include']}"   >\  [[ "${REPO['IncludePkgs']}" != '' ]]  &&       echo "${REPO['IncludePkgs']}"   >\
71                  $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
72    return 0
73    }
74    
75    
76    
77    #remi-safe
78    REPO['reponame']='remi-safe'
79    REPO['fullreponame']='Remi - safe'
80    REPO['EnableGroups']='no'
81    REPO['GPGCheck']='yes'
82    REPO['Visible']='yes'
83    REPO['status']='enabled'
84    REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/\\\$releasever/safe/\\\$basearch/'
85    REPO['MirrorList']=''
86    REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
87    REPO['Exclude']=''
88    REPO['IncludePkgs']=''
89    createrepo
90    
91  ######################  ######################
92  #####################  #####################
# Line 92  REPO['BaseURL']='http://packages.asteris Line 103  REPO['BaseURL']='http://packages.asteris
103  REPO['MirrorList']=''  REPO['MirrorList']=''
104  REPO['GPGKey']=''  REPO['GPGKey']=''
105  REPO['Exclude']=''  REPO['Exclude']=''
106  REPO['Include']=''  REPO['IncludePkgs']=''
107    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  
108    
109  ######################  ######################
110  #####################  #####################
# Line 127  REPO['BaseURL']='http://packages.asteris Line 121  REPO['BaseURL']='http://packages.asteris
121  REPO['MirrorList']=''  REPO['MirrorList']=''
122  REPO['GPGKey']=''  REPO['GPGKey']=''
123  REPO['Exclude']=''  REPO['Exclude']=''
124  REPO['Include']=''  REPO['IncludePkgs']=''
125    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  
126    
127  #####################  #####################
128  #####################  #####################
# Line 162  REPO['MirrorList']='' Line 139  REPO['MirrorList']=''
139  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
140  REPO['GPGKey']=''  REPO['GPGKey']=''
141  REPO['Exclude']=''  REPO['Exclude']=''
142  REPO['Include']=''  REPO['IncludePkgs']=''
143    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  
144    
145  #####################  #####################
146  #####################  #####################
# Line 197  REPO['MirrorList']='' Line 157  REPO['MirrorList']=''
157  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
158  REPO['GPGKey']=''  REPO['GPGKey']=''
159  REPO['Exclude']=''  REPO['Exclude']=''
160  REPO['Include']=''  REPO['IncludePkgs']=''
161    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  
162    
163  #####################  #####################
164  #####################  #####################
# Line 232  REPO['MirrorList']='http://www.atomicorp Line 175  REPO['MirrorList']='http://www.atomicorp
175  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
176  REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt'  REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt'
177  REPO['Exclude']=''  REPO['Exclude']=''
178  REPO['Include']=''  REPO['IncludePkgs']=''
179    createrepo
180    
181  mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}  #####################
182  echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups  #####################
183  echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck  #centos-sclo-centos
184  echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name  #####################
185  echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible  #####################
186  echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status  REPO['reponame']='centos-sclo-centos'
187  echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type  REPO['fullreponame']='Centos-RH Software collections'
188  [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  REPO['EnableGroups']='no'
189                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL  REPO['Visible']='yes'
190  [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  REPO['status']='disabled'
191                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey  REPO['BaseURL']='http://mirror.centos.org/centos/\\\$releasever/sclo/\\\$basearch/sclo/'
192  [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\  REPO['MirrorList']=''
193                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList  REPO['GPGCheck']='yes'
194  [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\  REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'
195                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude  REPO['Exclude']=''
196  [[ "${REPO['Include']}" != '' ]]  &&       echo "${REPO['Include']}"   >\  REPO['IncludePkgs']=''
197                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include  createrepo
198    
199  #####################  #####################
200  #####################  #####################
# Line 262  REPO['fullreponame']='Centos-RH Software Line 206  REPO['fullreponame']='Centos-RH Software
206  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
207  REPO['Visible']='yes'  REPO['Visible']='yes'
208  REPO['status']='disabled'  REPO['status']='disabled'
209  REPO['BaseURL']='http://mirror.centos.org/centos/\\\$releasever/sclo/\\\$basearch/rh'  REPO['BaseURL']='http://mirror.centos.org/centos/\\\$releasever/sclo/\\\$basearch/rh/'
210  REPO['MirrorList']=''  REPO['MirrorList']=''
211  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
212  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'
213  REPO['Exclude']=''  REPO['Exclude']=''
214  REPO['Include']=''  REPO['IncludePkgs']=''
215    createrepo
216    
 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  
217    
218  #####################  #####################
219  #####################  #####################
# Line 302  REPO['MirrorList']='' Line 230  REPO['MirrorList']=''
230  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
231  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'
232  REPO['Exclude']=''  REPO['Exclude']=''
233  REPO['Include']=''  REPO['IncludePkgs']=''
234    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  
   
235    
236  #####################  #####################
237  #####################  #####################
# Line 340  REPO['MirrorList']='' Line 250  REPO['MirrorList']=''
250  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
251  REPO['GPGKey']='https://artifacts.elastic.co/GPG-KEY-elasticsearch'  REPO['GPGKey']='https://artifacts.elastic.co/GPG-KEY-elasticsearch'
252  REPO['Exclude']=''  REPO['Exclude']=''
253  REPO['Include']=''  REPO['IncludePkgs']=''
254    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  
255  done  done
256    
257  #####################  #####################
# Line 376  REPO['MirrorList']='http://elrepo.org/mi Line 269  REPO['MirrorList']='http://elrepo.org/mi
269  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
270  REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'  REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
271  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'
272  REPO['Include']=''  REPO['IncludePkgs']=''
273    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  
274    
275  #####################  #####################
276  #####################  #####################
# Line 411  REPO['MirrorList']='http://mirrors.fedor Line 287  REPO['MirrorList']='http://mirrors.fedor
287  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
288  REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'  REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
289  REPO['Exclude']='perl-Razor-Agent'  REPO['Exclude']='perl-Razor-Agent'
290  REPO['Include']=''  REPO['IncludePkgs']=''
291    createrepo
292    
293  mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}  #####################
294  echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups  #####################
295  echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck  #erlang
296  echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name  #####################
297  echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible  #####################
298  echo "${REPO['status']}"  > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status  REPO['reponame']='erlang'
299  echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type  REPO['fullreponame']='erlang programming language'
300  [[ "${REPO['BaseURL']}" != '' ]]  &&       echo "${REPO['BaseURL']}" >\  REPO['EnableGroups']='no'
301                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL  REPO['Visible']='yes'
302  [[ "${REPO['GPGKey']}" != '' ]]  &&       echo "${REPO['GPGKey']}" >\  REPO['status']='disabled'
303                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey  REPO['BaseURL']='http://packages.erlang-solutions.com/rpm/centos/\\\$releasever/\\\$basearch'
304  [[ "${REPO['MirrorList']}" != '' ]]  &&       echo "${REPO['MirrorList']}"       >\  REPO['MirrorList']=''
305                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList  REPO['GPGCheck']='yes'
306  [[ "${REPO['Exclude']}" != '' ]]  &&       echo "${REPO['Exclude']}"  >\  REPO['GPGKey']='http://packages.erlang-solutions.com/rpm/erlang_solutions.asc'
307                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude  REPO['Exclude']=''
308  [[ "${REPO['Include']}" != '' ]]  &&       echo "${REPO['Include']}"   >\  REPO['IncludePkgs']=''
309                  $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include  createrepo
310    
311    #####################
312    #####################
313    #freeswitch
314    #####################
315    #####################
316    REPO['reponame']='freeswitch'
317    REPO['fullreponame']='Freeswitch'
318    REPO['EnableGroups']='no'
319    REPO['Visible']='yes'
320    REPO['status']='disabled'
321    REPO['BaseURL']='http://files.freeswitch.org/yum/\\\$releasever/\\\$basearch'
322    REPO['MirrorList']=''
323    REPO['GPGCheck']='yes'
324    REPO['GPGKey']='file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH'
325    REPO['Exclude']=''
326    REPO['IncludePkgs']=''
327    createrepo
328    
329    #####################
330    #####################
331    #firewall Service
332    #####################
333    #####################
334    REPO['reponame']='fws'
335    REPO['fullreponame']='Firewall Services'
336    REPO['EnableGroups']='no'
337    REPO['Visible']='no'
338    REPO['status']='disabled'
339    REPO['BaseURL']='http://repo.firewall-services.com/centos/\\\$releasever'
340    REPO['MirrorList']=''
341    REPO['GPGCheck']='yes'
342    REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY'
343    REPO['Exclude']=''
344    REPO['IncludePkgs']=''
345    createrepo
346    
347    #####################
348    #####################
349    #firewall Service testing
350    #####################
351    #####################
352    REPO['reponame']='fws-testing'
353    REPO['fullreponame']='Firewall Services testing'
354    REPO['EnableGroups']='no'
355    REPO['Visible']='no'
356    REPO['status']='disabled'
357    REPO['BaseURL']='http://repo.firewall-services.com/centos-testing/\\\$releasever'
358    REPO['MirrorList']=''
359    REPO['GPGCheck']='yes'
360    REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY'
361    REPO['Exclude']=''
362    REPO['IncludePkgs']=''
363    createrepo
364    
365    #####################
366    #####################
367    # Geekery  (last update 2016-09-25)
368    #####################
369    #####################
370    REPO['reponame']='geekery'
371    REPO['fullreponame']='geekery repository'
372    REPO['EnableGroups']='no'
373    REPO['Visible']='no'
374    REPO['status']='disabled'
375    REPO['BaseURL']=''
376    REPO['MirrorList']='http://geekery.epac.to/geekery/el\\\$releasever-mirrors'
377    REPO['GPGCheck']='yes'
378    REPO['GPGKey']='http://geekery.altervista.org/download.php?filename=GEEKERY-GPG-KEY'
379    REPO['Exclude']=''
380    REPO['IncludePkgs']=''
381    createrepo
382    
383    if  ( "%{?dist}"  == "el7" ); then
384    #####################
385    #####################
386    # Odoo10-nightly
387    #####################
388    #####################
389    REPO['reponame']='odoo10-nightly'
390    REPO['fullreponame']='Odoo 10 Nightly - EL7'
391    REPO['EnableGroups']='no'
392    REPO['Visible']='no'
393    REPO['status']='disabled'
394    REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'
395    REPO['MirrorList']=''
396    REPO['GPGCheck']='yes'
397    REPO['GPGKey']='https://nightly.odoo.com/odoo.key'
398    REPO['Exclude']=''
399    REPO['IncludePkgs']=''
400    createrepo
401    
402    #####################
403    #####################
404    # Odoo9-nightly
405    #####################
406    #####################
407    REPO['reponame']='odoo9-nightly'
408    REPO['fullreponame']='Odoo 9 Nightly - EL7'
409    REPO['EnableGroups']='no'
410    REPO['Visible']='no'
411    REPO['status']='disabled'
412    REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'
413    REPO['MirrorList']=''
414    REPO['GPGCheck']='yes'
415    REPO['GPGKey']='https://nightly.odoo.com/odoo.key'
416    REPO['Exclude']=''
417    REPO['IncludePkgs']=''
418    createrepo
419    fi
420    
421    #####################
422    #####################
423    # Okay
424    #####################
425    #####################
426    REPO['reponame']='okay'
427    REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'
428    REPO['EnableGroups']='no'
429    REPO['Visible']='no'
430    REPO['status']='disabled'
431    REPO['BaseURL']='http://repo.okay.com.mx/centos/\\\$releasever/\\\$basearch/release'
432    REPO['MirrorList']=''
433    REPO['GPGCheck']='no'
434    REPO['GPGKey']=''
435    REPO['Exclude']=''
436    REPO['IncludePkgs']=''
437    createrepo
438    
439    #####################
440    #####################
441    # Openfusion
442    #####################
443    #####################
444    REPO['reponame']='openfusion'
445    REPO['fullreponame']='Openfusion'
446    REPO['EnableGroups']='no'
447    REPO['Visible']='yes'
448    REPO['status']='disabled'
449    REPO['BaseURL']='http://repo.openfusion.net/centos\\\$releasever-\\\$basearch'
450    REPO['MirrorList']=''
451    REPO['GPGCheck']='yes'
452    REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'
453    REPO['Exclude']=''
454    REPO['IncludePkgs']=''
455    createrepo
456    
457    #####################
458    #####################
459    # Reetspetit
460    #####################
461    #####################
462    REPO['reponame']='reetp'
463    REPO['fullreponame']='Mirror John Crisp reetspetit.com'
464    REPO['EnableGroups']='no'
465    REPO['Visible']='yes'
466    REPO['status']='disabled'
467    REPO['BaseURL']='https://reetspetit.com/smeserver/\\\$releasever'
468    REPO['MirrorList']=''
469    REPO['GPGCheck']='no'
470    REPO['GPGKey']='https://reetspetit.com/RPM-GPG-KEY'
471    REPO['Exclude']=''
472    REPO['IncludePkgs']=''
473    createrepo
474    
475    #remi-safe
476    REPO['reponame']='remi-safe'
477    REPO['fullreponame']='Remi - safe'
478    REPO['EnableGroups']='no'
479    REPO['GPGCheck']='yes'
480    REPO['Visible']='yes'
481    REPO['status']='enabled'
482    REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/\\\$releasever/safe/\\\$basearch/'
483    REPO['MirrorList']=''
484    REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
485    REPO['Exclude']=''
486    REPO['IncludePkgs']=''
487    createrepo
488    
489    #####################
490    #####################
491    #remi
492    #####################
493    #####################
494    REPO['reponame']='remi'
495    REPO['fullreponame']='Remi - EL unsafe, will conflict with your base rpms'
496    REPO['EnableGroups']='no'
497    REPO['GPGCheck']='yes'
498    REPO['Visible']='no'
499    REPO['status']='enabled'
500    REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/\\\$releasever/remi/\\\$basearch/'
501    REPO['MirrorList']=''
502    REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
503    REPO['Exclude']='mysql*,php-*,phpMyAdmin'
504    REPO['IncludePkgs']=''
505    createrepo
506    
507    #####################
508    #####################
509    #remi-ocsinventory
510    #####################
511    #####################
512    REPO['reponame']='remi-ocsinventory'
513    REPO['fullreponame']='Remi ocsinventory - EL'
514    REPO['EnableGroups']='no'
515    REPO['GPGCheck']='yes'
516    REPO['Visible']='yes'
517    REPO['status']='enabled'
518    REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/\\\$releasever/remi/\\\$basearch/'
519    REPO['MirrorList']=''
520    REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
521    REPO['Exclude']=''
522    REPO['IncludePkgs']='ocsinventory* perl-Ocsinventory-Agent'
523    createrepo
524    
525    #####################
526    #####################
527    #remi-ocsinventory
528    #####################
529    #####################
530    REPO['reponame']='remi-roundcube'
531    REPO['fullreponame']='Remi Roundcube - EL'
532    REPO['EnableGroups']='no'
533    REPO['GPGCheck']='yes'
534    REPO['Visible']='yes'
535    REPO['status']='enabled'
536    REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/\\\$releasever/remi/\\\$basearch/'
537    REPO['MirrorList']=''
538    REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
539    REPO['Exclude']=''
540    REPO['IncludePkgs']='php-kolab-net-ldap3,php-pear-Mail-mimeDecode,php-pear-Net-IDNA2,php-pear-Net-LDAP2,roundcubemail'
541    createrepo
542    
543    
544    #####################
545    #####################
546    #rpmfusion
547    #####################
548    #####################
549    REPO['reponame']='rpmfusion'
550    REPO['fullreponame']='rpmfusion free EL'
551    REPO['EnableGroups']='no'
552    REPO['Visible']='yes'
553    REPO['status']='disabled'
554    REPO['BaseURL']='http://download1.rpmfusion.org/free/el/updates/\\\$releasever/\\\$basearch/'
555    REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-\\\$releasever&arch=\\\$basearch'
556    REPO['GPGCheck']='yes'
557    REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-el-\\\$releasever'
558    REPO['Exclude']=''
559    REPO['IncludePkgs']=''
560    createrepo
561    
562    #####################
563    #####################
564    #rpmfusion
565    #####################
566    #####################
567    REPO['reponame']='rpmfusion-nonfree'
568    REPO['fullreponame']='rpmfusion nonfree EL'
569    REPO['EnableGroups']='no'
570    REPO['Visible']='yes'
571    REPO['status']='disabled'
572    REPO['BaseURL']='http://download1.rpmfusion.org/nonfree/el/updates/\\\$releasever/\\\$basearch/'
573    REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-released-\\\$releasever&arch=\\\$basearch'
574    REPO['GPGCheck']='yes'
575    REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-el-\\\$releasever'
576    REPO['Exclude']=''
577    REPO['IncludePkgs']=''
578    createrepo
579    
580    #####################
581    #####################
582    #Sogo nightly
583    #####################
584    #####################
585    REPO['reponame']='sogo'
586    REPO['fullreponame']='Inverse SOGo 2 Repository'
587    REPO['EnableGroups']='no'
588    REPO['Visible']='yes'
589    REPO['status']='disabled'
590    REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/2/rhel/\\\$releasever/\\\$basearch'
591    REPO['MirrorList']=''
592    REPO['GPGCheck']='no'
593    REPO['GPGKey']=''
594    REPO['Exclude']=''
595    REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
596    createrepo
597    
598    #####################
599    #####################
600    #Sogo3 nightly
601    #####################
602    #####################
603    REPO['reponame']='sogo3'
604    REPO['fullreponame']='Inverse SOGo 3 Repository'
605    REPO['EnableGroups']='no'
606    REPO['Visible']='yes'
607    REPO['status']='disabled'
608    REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/3/rhel/\\\$releasever/\\\$basearch'
609    REPO['MirrorList']=''
610    REPO['GPGCheck']='no'
611    REPO['GPGKey']=''
612    REPO['Exclude']=''
613    REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
614    createrepo
615    
616    #####################
617    #####################
618    #Sogo stable
619    #####################
620    #####################
621    REPO['reponame']='sogo-subscription'
622    REPO['fullreponame']='Inverse SOGo Repository only with subscription'
623    REPO['EnableGroups']='no'
624    REPO['Visible']='yes'
625    REPO['status']='disabled'
626    REPO['BaseURL']='http://packages.inverse.ca/download/SOGo/RHEL\\\$releasever/\\\$basearch'
627    REPO['MirrorList']=''
628    REPO['GPGCheck']='no'
629    REPO['GPGKey']=''
630    REPO['Exclude']=''
631    REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
632    createrepo
633    
634    #####################
635    #####################
636    #Spectrum2
637    #####################
638    #####################
639    REPO['reponame']='spectrum2'
640    REPO['fullreponame']='Spectrum2'
641    REPO['EnableGroups']='no'
642    REPO['Visible']='yes'
643    REPO['status']='disabled'
644    REPO['BaseURL']='http://copr-be.cloud.fedoraproject.org/results/mcepl/spectrum2/epel-\\\$releasever-\\\$basearch'
645    REPO['MirrorList']=''
646    REPO['GPGCheck']='no'
647    REPO['GPGKey']=''
648    REPO['Exclude']=''
649    REPO['IncludePkgs']=''
650    createrepo
651    
652    #####################
653    #####################
654    #stephDL
655    #####################
656    #####################
657    REPO['reponame']='stephdl'
658    REPO['fullreponame']='Mirror Stephane de Labrusse'
659    REPO['EnableGroups']='no'
660    REPO['Visible']='yes'
661    REPO['status']='disabled'
662    REPO['BaseURL']='http://mirror.de-labrusse.fr/smeserver/\\\$releasever'
663    REPO['MirrorList']=''
664    REPO['GPGCheck']='yes'
665    REPO['GPGKey']='http://mirror.de-labrusse.fr/RPM-GPG-KEY'
666    REPO['Exclude']=''
667    REPO['IncludePkgs']=''
668    createrepo
669    
670    #####################
671    #####################
672    #VirtualBox
673    #####################
674    #####################
675    REPO['reponame']='virtualbox'
676    REPO['fullreponame']='RHEL/CentOS VirtualBox'
677    REPO['EnableGroups']='no'
678    REPO['Visible']='yes'
679    REPO['status']='disabled'
680    REPO['BaseURL']='http://download.virtualbox.org/virtualbox/rpm/el/\\\$releasever/\\\$basearch'
681    REPO['MirrorList']=''
682    REPO['GPGCheck']='yes'
683    REPO['GPGKey']='https://www.virtualbox.org/download/oracle_vbox.asc'
684    REPO['Exclude']=''
685    REPO['IncludePkgs']=''
686    createrepo
687    
688    #####################
689    #####################
690    #Webtatic
691    #####################
692    #####################
693    REPO['reponame']='webtatic'
694    REPO['fullreponame']='webtatic - EL'
695    REPO['EnableGroups']='no'
696    REPO['Visible']='yes'
697    REPO['status']='disabled'
698    REPO['BaseURL']=''
699    REPO['MirrorList']='http://mirror.webtatic.com/yum/el-\\\$releasever/\\\$basearch/mirrolist'
700    REPO['GPGCheck']='yes'
701    if  ( "%{?dist}"  == "el5" ); then
702    REPO['GPGKey']='http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy'
703    else
704    REPO['GPGKey']="http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-%{?dist}"
705    fi
706    REPO['Exclude']=''
707    REPO['IncludePkgs']=''
708    createrepo
709    
710    #####################
711    #####################
712    #Xymon
713    #####################
714    #####################
715    REPO['reponame']='xymon'
716    REPO['fullreponame']='Xymon Terabithia RPMS - EL'
717    REPO['EnableGroups']='no'
718    REPO['Visible']='yes'
719    REPO['status']='disabled'
720    REPO['BaseURL']='http://terabithia.org/rpms/xymon/el\\\$releasever/'
721    REPO['MirrorList']=''
722    REPO['GPGCheck']='yes'
723    REPO['GPGKey']="http://terabithia.org/rpms/RPM-GPG-KEY-JCLEAVER"
724    REPO['Exclude']=''
725    REPO['IncludePkgs']=''
726    createrepo
727    
728    #####################
729    #####################
730    #Zabbix2.4
731    #####################
732    #####################
733    declare -A zabshort=( ['2.4']='24' ['2.5']='25' ['3.0']='30' ['3.1']='31' ['3.2']='32' ['3.4']='35' ['3.5']='35')
734    for elasver  in "2.4" "2.5" "3.0"; do
735    REPO['reponame']="zabbix${zabshort[$elasver]}"
736    REPO['fullreponame']="Zabbix $elasver Official Repository"
737    REPO['EnableGroups']='no'
738    REPO['Visible']='yes'
739    REPO['status']='disabled'
740    REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\\\\$releasever/\\\\$basearch/"
741    REPO['MirrorList']=''
742    REPO['GPGCheck']='yes'
743    REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX"
744    REPO['Exclude']=''
745    REPO['IncludePkgs']=''
746    createrepo
747    done
748    
749    #####################
750    #####################
751    #zmrepo
752    #####################
753    #####################
754    REPO['reponame']='zmrepo'
755    REPO['fullreponame']='ZoneMinder Repo - EL'
756    REPO['EnableGroups']='no'
757    REPO['Visible']='yes'
758    REPO['status']='disabled'
759    REPO['BaseURL']='http://zmrepo.mehvc.com/el/\\\$releasever/\\\$basearch'
760    REPO['MirrorList']=''
761    REPO['GPGCheck']='no'
762    REPO['GPGKey']=""
763    REPO['Exclude']=''
764    REPO['IncludePkgs']=''
765    createrepo
766    
767    
 ## define filelists  
768  rm -f %{name}-%{version}-filelist*  rm -f %{name}-%{version}-filelist*
769  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist
770  cat %{name}-%{version}-filelist|grep remi-safe                  > %{name}-%{version}-filelist-remi-safe  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic
771    cat %{name}-%{version}-filelist| grep centos-sclo               > %{name}-%{version}-filelist-centos-sclo
772  cat %{name}-%{version}-filelist| egrep 'digium|asterisk'        > %{name}-%{version}-filelist-asterisk  cat %{name}-%{version}-filelist| egrep 'digium|asterisk'        > %{name}-%{version}-filelist-asterisk
773  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware
774  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic
775  cat %{name}-%{version}-filelist| grep elrepo                    > %{name}-%{version}-filelist-elrepo  cat %{name}-%{version}-filelist| grep elrepo                    > %{name}-%{version}-filelist-elrepo
776  cat %{name}-%{version}-filelist| grep epel                      > %{name}-%{version}-filelist-epel  cat %{name}-%{version}-filelist| grep epel                      > %{name}-%{version}-filelist-epel
777    cat %{name}-%{version}-filelist| grep erlang                    > %{name}-%{version}-filelist-erlang
778    cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch
779    cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws
780    cat %{name}-%{version}-filelist| grep geekery                   > %{name}-%{version}-filelist-geekery
781    if  ( "%{?dist}"  == "el7" ); then
782    cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo
783    fi
784    cat %{name}-%{version}-filelist| grep okay                      > %{name}-%{version}-filelist-okay
785    cat %{name}-%{version}-filelist| grep openfusion                > %{name}-%{version}-filelist-openfusion
786    cat %{name}-%{version}-filelist| grep reetp                     > %{name}-%{version}-filelist-reetp
787    cat %{name}-%{version}-filelist| grep remi-safe                 > %{name}-%{version}-filelist-remi-safe
788    cat %{name}-%{version}-filelist| grep remi-ocsinventory         > %{name}-%{version}-filelist-remi-ocsinventory
789    cat %{name}-%{version}-filelist| grep remi-roundcube            > %{name}-%{version}-filelist-remi-roundcube
790    cat %{name}-%{version}-filelist| grep remi|egrep -v 'safe|ocsinventory|roundcube'       > %{name}-%{version}-filelist-remi
791    cat %{name}-%{version}-filelist| grep rpmfusion                 > %{name}-%{version}-filelist-rpmfusion
792    cat %{name}-%{version}-filelist| grep sogo                      > %{name}-%{version}-filelist-sogo
793    cat %{name}-%{version}-filelist| grep spectrum2                 > %{name}-%{version}-filelist-spectrum2
794    cat %{name}-%{version}-filelist| grep stephdl                   > %{name}-%{version}-filelist-stephdl
795    cat %{name}-%{version}-filelist| grep virtualbox                > %{name}-%{version}-filelist-virtualbox
796    cat %{name}-%{version}-filelist| grep webtatic                  > %{name}-%{version}-filelist-webtatic
797    cat %{name}-%{version}-filelist| grep xymon                     > %{name}-%{version}-filelist-xymon
798    cat %{name}-%{version}-filelist| grep zabbix                    > %{name}-%{version}-filelist-zabbix
799    cat %{name}-%{version}-filelist| grep zmrepo                    > %{name}-%{version}-filelist-zmrepo
800    
801  %clean  %clean
802  cd ..  cd ..
803  rm -rf %{name}-%{version}  rm -rf %{name}-%{version}
804    
805  %files -f %{name}-%{version}-filelist  
806    #%files -f %{name}-%{version}-filelist
807    %files
808  %defattr(-,root,root)  %defattr(-,root,root)
809    
810  %pre  %pre
# Line 467  case "$1" in Line 824  case "$1" in
824                  # this is an upgrade                  # this is an upgrade
825          ;;          ;;
826  esac  esac
827    %package atomic
828    Summary: Atomic Repository
829    %description atomic
830    Atomic Repository
831    %files atomic -f  %{name}-%{version}-filelist-atomic
832    %defattr(-,root,root)
833    
834  %package remi-safe  %package centos-sclo
835  Summary: Remi safe repository  Summary: CentOS Red-Hat software collection repository
836  %description remi-safe  %description centos-sclo
837  Remi safe repository  CentOS Red-Hat software collection repository only for  x86_64 arch
838  %files remi-safe -f  %{name}-%{version}-filelist-remi-safe  %files centos-sclo -f  %{name}-%{version}-filelist-centos-sclo
839  %defattr(-,root,root)  %defattr(-,root,root)
840    
841  %package asterisk  %package asterisk
# Line 510  Fedora EPEL Repository Line 873  Fedora EPEL Repository
873  %files epel -f  %{name}-%{version}-filelist-epel  %files epel -f  %{name}-%{version}-filelist-epel
874  %defattr(-,root,root)  %defattr(-,root,root)
875    
876    %package erlang
877    Summary: Erlang Repository
878    %description erlang
879    Erlang is a programming language. It is specifically used for ejabberd.
880    %files erlang -f  %{name}-%{version}-filelist-erlang
881    %defattr(-,root,root)
882    
883    %package freeswitch
884    Summary: Freeswitch Repository
885    %description freeswitch
886    FreeSWITCH is a scalable open source cross-platform telephony platform designed to route and interconnect popular communication protocols using audio, video, text or any other form of media. It was created in 2006 to fill the void left by proprietary commercial solutions. FreeSWITCH also provides a stable telephony platform on which many applications can be developed using a wide range of free tools
887    %files freeswitch -f  %{name}-%{version}-filelist-freeswitch
888    %defattr(-,root,root)
889    
890    %package fws
891    Summary: Firewall Services repository
892    %description fws
893    Firewall Services repository
894    %files fws -f  %{name}-%{version}-filelist-fws
895    %defattr(-,root,root)
896    
897    %package geekery
898    Summary: Geekery Repository
899    %description geekery
900    Geekery Repository
901    %files geekery -f  %{name}-%{version}-filelist-geekery
902    %defattr(-,root,root)
903    
904    %package odoo
905    Summary: Odoo 10 Nightly - EL7 Repository
906    Distribution: el7
907    %description odoo
908    Odoo 10 Nightly - EL7 Repository
909    # comment as not available for centos 6 SME9
910    #%files odoo -f  %{name}-%{version}-filelist-odoo
911    #%defattr(-,root,root)
912    
913    %package okay
914    Summary: Extra OKay Packages for Enterprise Linux
915    %description okay
916    Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX
917    %files okay -f  %{name}-%{version}-filelist-okay
918    %defattr(-,root,root)
919    
920    %package openfusion
921    Summary: Openfusion Repository
922    %description openfusion
923    Openfusion Repository
924    %files openfusion -f  %{name}-%{version}-filelist-openfusion
925    %defattr(-,root,root)
926    
927    %package reetp
928    Summary: Mirror John Crisp reetspetit.com
929    %description reetp
930    Mirror John Crisp reetspetit.com
931    %files reetp -f  %{name}-%{version}-filelist-reetp
932    %defattr(-,root,root)
933    
934    %package remi-safe
935    Summary: Remi safe repository
936    %description remi-safe
937    Remi safe repository
938    %files remi-safe -f  %{name}-%{version}-filelist-remi-safe
939    %defattr(-,root,root)
940    
941    %package remi-ocsinventory
942    Summary: Remi repository filtered to install OCSinventory
943    %description remi-ocsinventory
944    Remi repository filtered to install OCSinventory
945    %files remi-ocsinventory -f  %{name}-%{version}-filelist-remi-ocsinventory
946    %defattr(-,root,root)
947    
948    %package remi-roundcube
949    Summary: Remi repository filtered to install Roundcube
950    %description remi-roundcube
951    Remi repository filtered to install Roundcube
952    %files remi-roundcube -f  %{name}-%{version}-filelist-remi-roundcube
953    %defattr(-,root,root)
954    
955    %package remi-unsafe
956    Summary: Remi unsafe repository
957    %description remi-unsafe
958    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.
959    %files remi-unsafe -f  %{name}-%{version}-filelist-remi
960    %defattr(-,root,root)
961    
962    %package rpmfusion
963    Summary: RPMFusion repositories
964    %description rpmfusion
965    RPMFusion repositories
966    %files rpmfusion -f  %{name}-%{version}-filelist-rpmfusion
967    %defattr(-,root,root)
968    
969    %package sogo
970    Summary: SOGo repositories
971    %description sogo
972    SOGo repositories
973    %files sogo -f  %{name}-%{version}-filelist-sogo
974    %defattr(-,root,root)
975    
976    %package spectrum2
977    Summary: Spectrum2 Repository
978    %description spectrum2
979    Spectrum2 Repository
980    %files spectrum2 -f  %{name}-%{version}-filelist-spectrum2
981    %defattr(-,root,root)
982    
983    %package stephdl
984    Summary: Stephane De Labrusse Repository
985    %description stephdl
986    Stephane De Labrusse Repository
987    %files stephdl -f  %{name}-%{version}-filelist-stephdl
988    %defattr(-,root,root)
989    
990    %package virtualbox
991    Summary: Virtualbox Repository
992    %description virtualbox
993    Virtualbox Repository
994    %files virtualbox -f  %{name}-%{version}-filelist-virtualbox
995    %defattr(-,root,root)
996    
997    %package webtatic
998    Summary: Webtatic Repository
999    %description webtatic
1000    Webtatic Repository
1001    %files webtatic -f  %{name}-%{version}-filelist-webtatic
1002    %defattr(-,root,root)
1003    
1004    %package xymon
1005    Summary: Xymon Terabithia Repository
1006    %description xymon
1007    Xymon Terabithia Repository
1008    %files xymon -f  %{name}-%{version}-filelist-xymon
1009    %defattr(-,root,root)
1010    
1011    %package zabbix
1012    Summary: Zabbix official Repository
1013    %description zabbix
1014    Zabbix official Repository
1015    %files zabbix -f  %{name}-%{version}-filelist-zabbix
1016    %defattr(-,root,root)
1017    
1018    %package zmrepo
1019    Summary: Zone Minder Repository
1020    %description zmrepo
1021    Zone Minder Repository
1022    %files zmrepo -f  %{name}-%{version}-filelist-zmrepo
1023    %defattr(-,root,root)
1024    
1025    
1026    


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