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