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