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