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