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