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