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