1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 1 |
%define release 3 |
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 |
|
* Sun Feb 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-3.sme |
22 |
|
- fix wrong escape sequence for $basearch and $releasever [SME: 10239] |
23 |
|
|
24 |
|
* Thu Feb 15 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme |
25 |
|
- first multipackage version |
26 |
|
- gpg keys not included |
27 |
|
|
28 |
* 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 |
29 |
- initial release |
- initial release |
30 |
|
|
53 |
|
|
54 |
|
|
55 |
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']='' |
|
56 |
|
|
57 |
|
function createrepo { |
58 |
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']} |
59 |
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 |
60 |
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 |
65 |
[[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\ |
[[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\ |
66 |
$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 |
67 |
[[ "${REPO['GPGKey']}" != '' ]] && echo "${REPO['GPGKey']}" >\ |
[[ "${REPO['GPGKey']}" != '' ]] && echo "${REPO['GPGKey']}" >\ |
68 |
$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 |
69 |
[[ "${REPO['MirrorList']}" != '' ]] && echo "${REPO['MirrorList']}" >\ |
[[ "${REPO['MirrorList']}" != '' ]] && echo "${REPO['MirrorList']}" >\ |
70 |
$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 |
71 |
[[ "${REPO['Exclude']}" != '' ]] && echo "${REPO['Exclude']}" >\ |
[[ "${REPO['Exclude']}" != '' ]] && echo "${REPO['Exclude']}" >\ |
72 |
$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 |
73 |
[[ "${REPO['Include']}" != '' ]] && echo "${REPO['Include']}" >\ |
[[ "${REPO['IncludePkgs']}" != '' ]] && echo "${REPO['IncludePkgs']}" >\ |
74 |
$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 |
75 |
|
return 0 |
76 |
|
} |
77 |
|
|
78 |
|
|
79 |
|
|
80 |
|
#remi-safe |
81 |
|
REPO['reponame']='remi-safe' |
82 |
|
REPO['fullreponame']='Remi - safe' |
83 |
|
REPO['EnableGroups']='no' |
84 |
|
REPO['GPGCheck']='yes' |
85 |
|
REPO['Visible']='yes' |
86 |
|
REPO['status']='enabled' |
87 |
|
REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/safe/$basearch/' |
88 |
|
REPO['MirrorList']='' |
89 |
|
REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi' |
90 |
|
REPO['Exclude']='' |
91 |
|
REPO['IncludePkgs']='' |
92 |
|
createrepo |
93 |
|
|
94 |
###################### |
###################### |
95 |
##################### |
##################### |
102 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
103 |
REPO['Visible']='no' |
REPO['Visible']='no' |
104 |
REPO['status']='disabled' |
REPO['status']='disabled' |
105 |
REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/asterisk-13/\\\$basearch/' |
REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/asterisk-13/$basearch/' |
106 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
107 |
REPO['GPGKey']='' |
REPO['GPGKey']='' |
108 |
REPO['Exclude']='' |
REPO['Exclude']='' |
109 |
REPO['Include']='' |
REPO['IncludePkgs']='' |
110 |
|
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 |
|
111 |
|
|
112 |
###################### |
###################### |
113 |
##################### |
##################### |
120 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
121 |
REPO['Visible']='no' |
REPO['Visible']='no' |
122 |
REPO['status']='disabled' |
REPO['status']='disabled' |
123 |
REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/\\\$basearch/' |
REPO['BaseURL']='http://packages.asterisk.org/centos$releasever/current/$basearch/' |
124 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
125 |
REPO['GPGKey']='' |
REPO['GPGKey']='' |
126 |
REPO['Exclude']='' |
REPO['Exclude']='' |
127 |
REPO['Include']='' |
REPO['IncludePkgs']='' |
128 |
|
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 |
|
129 |
|
|
130 |
##################### |
##################### |
131 |
##################### |
##################### |
137 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
138 |
REPO['Visible']='no' |
REPO['Visible']='no' |
139 |
REPO['status']='disabled' |
REPO['status']='disabled' |
140 |
REPO['BaseURL']='http://packages.digium.com/centos/\\\$releasever/current/\\\$basearch/' |
REPO['BaseURL']='http://packages.digium.com/centos/$releasever/current/$basearch/' |
141 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
142 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
143 |
REPO['GPGKey']='' |
REPO['GPGKey']='' |
144 |
REPO['Exclude']='' |
REPO['Exclude']='' |
145 |
REPO['Include']='' |
REPO['IncludePkgs']='' |
146 |
|
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 |
|
147 |
|
|
148 |
##################### |
##################### |
149 |
##################### |
##################### |
155 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
156 |
REPO['Visible']='no' |
REPO['Visible']='no' |
157 |
REPO['status']='disabled' |
REPO['status']='disabled' |
158 |
REPO['BaseURL']='http://packages.digium.com/centos/\\\$releasever/digium-13/\\\$basearch/' |
REPO['BaseURL']='http://packages.digium.com/centos/$releasever/digium-13/$basearch/' |
159 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
160 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
161 |
REPO['GPGKey']='' |
REPO['GPGKey']='' |
162 |
REPO['Exclude']='' |
REPO['Exclude']='' |
163 |
REPO['Include']='' |
REPO['IncludePkgs']='' |
164 |
|
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 |
|
165 |
|
|
166 |
##################### |
##################### |
167 |
##################### |
##################### |
174 |
REPO['Visible']='no' |
REPO['Visible']='no' |
175 |
REPO['status']='disabled' |
REPO['status']='disabled' |
176 |
REPO['BaseURL']='' |
REPO['BaseURL']='' |
177 |
REPO['MirrorList']='http://www.atomicorp.com/mirrorlist/atomic/centos-\\\$releasever-\\\$basearch' |
REPO['MirrorList']='http://www.atomicorp.com/mirrorlist/atomic/centos-$releasever-$basearch' |
178 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
179 |
REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt' |
REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt' |
180 |
REPO['Exclude']='' |
REPO['Exclude']='' |
181 |
REPO['Include']='' |
REPO['IncludePkgs']='' |
182 |
|
createrepo |
183 |
|
|
184 |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']} |
##################### |
185 |
echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups |
##################### |
186 |
echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck |
#centos-sclo-centos |
187 |
echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name |
##################### |
188 |
echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible |
##################### |
189 |
echo "${REPO['status']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status |
REPO['reponame']='centos-sclo-centos' |
190 |
echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type |
REPO['fullreponame']='Centos-RH Software collections' |
191 |
[[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\ |
REPO['EnableGroups']='no' |
192 |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL |
REPO['Visible']='yes' |
193 |
[[ "${REPO['GPGKey']}" != '' ]] && echo "${REPO['GPGKey']}" >\ |
REPO['status']='disabled' |
194 |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/' |
195 |
[[ "${REPO['MirrorList']}" != '' ]] && echo "${REPO['MirrorList']}" >\ |
REPO['MirrorList']='' |
196 |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList |
REPO['GPGCheck']='yes' |
197 |
[[ "${REPO['Exclude']}" != '' ]] && echo "${REPO['Exclude']}" >\ |
REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo' |
198 |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude |
REPO['Exclude']='' |
199 |
[[ "${REPO['Include']}" != '' ]] && echo "${REPO['Include']}" >\ |
REPO['IncludePkgs']='' |
200 |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include |
createrepo |
201 |
|
|
202 |
##################### |
##################### |
203 |
##################### |
##################### |
209 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
210 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
211 |
REPO['status']='disabled' |
REPO['status']='disabled' |
212 |
REPO['BaseURL']='http://mirror.centos.org/centos/\\\$releasever/sclo/\\\$basearch/rh' |
REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' |
213 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
214 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
215 |
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' |
216 |
REPO['Exclude']='' |
REPO['Exclude']='' |
217 |
REPO['Include']='' |
REPO['IncludePkgs']='' |
218 |
|
createrepo |
219 |
|
|
|
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 |
|
220 |
|
|
221 |
##################### |
##################### |
222 |
##################### |
##################### |
228 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
229 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
230 |
REPO['status']='disabled' |
REPO['status']='disabled' |
231 |
REPO['BaseURL']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_\\\$releasever/' |
REPO['BaseURL']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_$releasever/' |
232 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
233 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
234 |
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' |
235 |
REPO['Exclude']='' |
REPO['Exclude']='' |
236 |
REPO['Include']='' |
REPO['IncludePkgs']='' |
237 |
|
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 |
|
|
|
|
238 |
|
|
239 |
##################### |
##################### |
240 |
##################### |
##################### |
253 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
254 |
REPO['GPGKey']='https://artifacts.elastic.co/GPG-KEY-elasticsearch' |
REPO['GPGKey']='https://artifacts.elastic.co/GPG-KEY-elasticsearch' |
255 |
REPO['Exclude']='' |
REPO['Exclude']='' |
256 |
REPO['Include']='' |
REPO['IncludePkgs']='' |
257 |
|
createrepo |
|
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']} |
|
|
echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups |
|
|
echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck |
|
|
echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name |
|
|
echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible |
|
|
echo "${REPO['status']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status |
|
|
echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type |
|
|
[[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\ |
|
|
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL |
|
|
[[ "${REPO['GPGKey']}" != '' ]] && echo "${REPO['GPGKey']}" >\ |
|
|
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey |
|
|
[[ "${REPO['MirrorList']}" != '' ]] && echo "${REPO['MirrorList']}" >\ |
|
|
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList |
|
|
[[ "${REPO['Exclude']}" != '' ]] && echo "${REPO['Exclude']}" >\ |
|
|
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude |
|
|
[[ "${REPO['Include']}" != '' ]] && echo "${REPO['Include']}" >\ |
|
|
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include |
|
258 |
done |
done |
259 |
|
|
260 |
##################### |
##################### |
267 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
268 |
REPO['Visible']='no' |
REPO['Visible']='no' |
269 |
REPO['status']='disabled' |
REPO['status']='disabled' |
270 |
REPO['BaseURL']='http://elrepo.org/linux/elrepo/el\\\$releasever/\\\$basearch' |
REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch' |
271 |
REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.\\\$releasever' |
REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.$releasever' |
272 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
273 |
REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org' |
REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org' |
274 |
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' |
275 |
REPO['Include']='' |
REPO['IncludePkgs']='' |
276 |
|
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 |
|
277 |
|
|
278 |
##################### |
##################### |
279 |
##################### |
##################### |
285 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
286 |
REPO['Visible']='no' |
REPO['Visible']='no' |
287 |
REPO['status']='disabled' |
REPO['status']='disabled' |
288 |
REPO['BaseURL']='http://download.fedoraproject.org/pub/epel/\\\$releasever/\\\$basearch' |
REPO['BaseURL']='http://download.fedoraproject.org/pub/epel/$releasever/$basearch' |
289 |
REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-\\\$releasever&arch=\\\$basearch' |
REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch' |
290 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
291 |
REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL' |
REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL' |
292 |
REPO['Exclude']='perl-Razor-Agent' |
REPO['Exclude']='perl-Razor-Agent' |
293 |
REPO['Include']='' |
REPO['IncludePkgs']='' |
294 |
|
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 |
|
295 |
|
|
296 |
##################### |
##################### |
297 |
##################### |
##################### |
303 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
304 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
305 |
REPO['status']='disabled' |
REPO['status']='disabled' |
306 |
REPO['BaseURL']='http://packages.erlang-solutions.com/rpm/centos/\\\$releasever/\\\$basearch' |
REPO['BaseURL']='http://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch' |
307 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
308 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
309 |
REPO['GPGKey']='http://packages.erlang-solutions.com/rpm/erlang_solutions.asc' |
REPO['GPGKey']='http://packages.erlang-solutions.com/rpm/erlang_solutions.asc' |
310 |
REPO['Exclude']='' |
REPO['Exclude']='' |
311 |
REPO['Include']='' |
REPO['IncludePkgs']='' |
312 |
|
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 |
|
|
|
|
313 |
|
|
314 |
##################### |
##################### |
315 |
##################### |
##################### |
321 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
322 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
323 |
REPO['status']='disabled' |
REPO['status']='disabled' |
324 |
REPO['BaseURL']='http://files.freeswitch.org/yum/\\\$releasever/\\\$basearch' |
REPO['BaseURL']='http://files.freeswitch.org/yum/$releasever/$basearch' |
325 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
326 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
327 |
REPO['GPGKey']='file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH' |
REPO['GPGKey']='file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH' |
328 |
REPO['Exclude']='' |
REPO['Exclude']='' |
329 |
REPO['Include']='' |
REPO['IncludePkgs']='' |
330 |
|
createrepo |
331 |
|
|
332 |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']} |
##################### |
333 |
echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups |
##################### |
334 |
echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck |
#firewall Service |
335 |
echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name |
##################### |
336 |
echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible |
##################### |
337 |
echo "${REPO['status']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status |
REPO['reponame']='fws' |
338 |
echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type |
REPO['fullreponame']='Firewall Services' |
339 |
[[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\ |
REPO['EnableGroups']='no' |
340 |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL |
REPO['Visible']='no' |
341 |
[[ "${REPO['GPGKey']}" != '' ]] && echo "${REPO['GPGKey']}" >\ |
REPO['status']='disabled' |
342 |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey |
REPO['BaseURL']='http://repo.firewall-services.com/centos/$releasever' |
343 |
[[ "${REPO['MirrorList']}" != '' ]] && echo "${REPO['MirrorList']}" >\ |
REPO['MirrorList']='' |
344 |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList |
REPO['GPGCheck']='yes' |
345 |
[[ "${REPO['Exclude']}" != '' ]] && echo "${REPO['Exclude']}" >\ |
REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY' |
346 |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude |
REPO['Exclude']='' |
347 |
[[ "${REPO['Include']}" != '' ]] && echo "${REPO['Include']}" >\ |
REPO['IncludePkgs']='' |
348 |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Include |
createrepo |
349 |
|
|
350 |
|
##################### |
351 |
|
##################### |
352 |
|
#firewall Service testing |
353 |
|
##################### |
354 |
|
##################### |
355 |
|
REPO['reponame']='fws-testing' |
356 |
|
REPO['fullreponame']='Firewall Services testing' |
357 |
|
REPO['EnableGroups']='no' |
358 |
|
REPO['Visible']='no' |
359 |
|
REPO['status']='disabled' |
360 |
|
REPO['BaseURL']='http://repo.firewall-services.com/centos-testing/$releasever' |
361 |
|
REPO['MirrorList']='' |
362 |
|
REPO['GPGCheck']='yes' |
363 |
|
REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY' |
364 |
|
REPO['Exclude']='' |
365 |
|
REPO['IncludePkgs']='' |
366 |
|
createrepo |
367 |
|
|
368 |
|
##################### |
369 |
|
##################### |
370 |
|
# Geekery (last update 2016-09-25) |
371 |
|
##################### |
372 |
|
##################### |
373 |
|
REPO['reponame']='geekery' |
374 |
|
REPO['fullreponame']='geekery repository' |
375 |
|
REPO['EnableGroups']='no' |
376 |
|
REPO['Visible']='no' |
377 |
|
REPO['status']='disabled' |
378 |
|
REPO['BaseURL']='' |
379 |
|
REPO['MirrorList']='http://geekery.epac.to/geekery/el$releasever-mirrors' |
380 |
|
REPO['GPGCheck']='yes' |
381 |
|
REPO['GPGKey']='http://geekery.altervista.org/download.php?filename=GEEKERY-GPG-KEY' |
382 |
|
REPO['Exclude']='' |
383 |
|
REPO['IncludePkgs']='' |
384 |
|
createrepo |
385 |
|
|
386 |
|
if ( "%{?dist}" == "el7" ); then |
387 |
|
##################### |
388 |
|
##################### |
389 |
|
# Odoo10-nightly |
390 |
|
##################### |
391 |
|
##################### |
392 |
|
REPO['reponame']='odoo10-nightly' |
393 |
|
REPO['fullreponame']='Odoo 10 Nightly - EL7' |
394 |
|
REPO['EnableGroups']='no' |
395 |
|
REPO['Visible']='no' |
396 |
|
REPO['status']='disabled' |
397 |
|
REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/' |
398 |
|
REPO['MirrorList']='' |
399 |
|
REPO['GPGCheck']='yes' |
400 |
|
REPO['GPGKey']='https://nightly.odoo.com/odoo.key' |
401 |
|
REPO['Exclude']='' |
402 |
|
REPO['IncludePkgs']='' |
403 |
|
createrepo |
404 |
|
|
405 |
|
##################### |
406 |
|
##################### |
407 |
|
# Odoo9-nightly |
408 |
|
##################### |
409 |
|
##################### |
410 |
|
REPO['reponame']='odoo9-nightly' |
411 |
|
REPO['fullreponame']='Odoo 9 Nightly - EL7' |
412 |
|
REPO['EnableGroups']='no' |
413 |
|
REPO['Visible']='no' |
414 |
|
REPO['status']='disabled' |
415 |
|
REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/' |
416 |
|
REPO['MirrorList']='' |
417 |
|
REPO['GPGCheck']='yes' |
418 |
|
REPO['GPGKey']='https://nightly.odoo.com/odoo.key' |
419 |
|
REPO['Exclude']='' |
420 |
|
REPO['IncludePkgs']='' |
421 |
|
createrepo |
422 |
|
fi |
423 |
|
|
424 |
|
##################### |
425 |
|
##################### |
426 |
|
# Okay |
427 |
|
##################### |
428 |
|
##################### |
429 |
|
REPO['reponame']='okay' |
430 |
|
REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX' |
431 |
|
REPO['EnableGroups']='no' |
432 |
|
REPO['Visible']='no' |
433 |
|
REPO['status']='disabled' |
434 |
|
REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release' |
435 |
|
REPO['MirrorList']='' |
436 |
|
REPO['GPGCheck']='no' |
437 |
|
REPO['GPGKey']='' |
438 |
|
REPO['Exclude']='' |
439 |
|
REPO['IncludePkgs']='' |
440 |
|
createrepo |
441 |
|
|
442 |
|
##################### |
443 |
|
##################### |
444 |
|
# Openfusion |
445 |
|
##################### |
446 |
|
##################### |
447 |
|
REPO['reponame']='openfusion' |
448 |
|
REPO['fullreponame']='Openfusion' |
449 |
|
REPO['EnableGroups']='no' |
450 |
|
REPO['Visible']='yes' |
451 |
|
REPO['status']='disabled' |
452 |
|
REPO['BaseURL']='http://repo.openfusion.net/centos$releasever-$basearch' |
453 |
|
REPO['MirrorList']='' |
454 |
|
REPO['GPGCheck']='yes' |
455 |
|
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
456 |
|
REPO['Exclude']='' |
457 |
|
REPO['IncludePkgs']='' |
458 |
|
createrepo |
459 |
|
|
460 |
|
##################### |
461 |
|
##################### |
462 |
|
# Reetspetit |
463 |
|
##################### |
464 |
|
##################### |
465 |
|
REPO['reponame']='reetp' |
466 |
|
REPO['fullreponame']='Mirror John Crisp reetspetit.com' |
467 |
|
REPO['EnableGroups']='no' |
468 |
|
REPO['Visible']='yes' |
469 |
|
REPO['status']='disabled' |
470 |
|
REPO['BaseURL']='https://reetspetit.com/smeserver/$releasever' |
471 |
|
REPO['MirrorList']='' |
472 |
|
REPO['GPGCheck']='no' |
473 |
|
REPO['GPGKey']='https://reetspetit.com/RPM-GPG-KEY' |
474 |
|
REPO['Exclude']='' |
475 |
|
REPO['IncludePkgs']='' |
476 |
|
createrepo |
477 |
|
|
478 |
|
#remi-safe |
479 |
|
REPO['reponame']='remi-safe' |
480 |
|
REPO['fullreponame']='Remi - safe' |
481 |
|
REPO['EnableGroups']='no' |
482 |
|
REPO['GPGCheck']='yes' |
483 |
|
REPO['Visible']='yes' |
484 |
|
REPO['status']='enabled' |
485 |
|
REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/safe/$basearch/' |
486 |
|
REPO['MirrorList']='' |
487 |
|
REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi' |
488 |
|
REPO['Exclude']='' |
489 |
|
REPO['IncludePkgs']='' |
490 |
|
createrepo |
491 |
|
|
492 |
|
##################### |
493 |
|
##################### |
494 |
|
#remi |
495 |
|
##################### |
496 |
|
##################### |
497 |
|
REPO['reponame']='remi' |
498 |
|
REPO['fullreponame']='Remi - EL unsafe, will conflict with your base rpms' |
499 |
|
REPO['EnableGroups']='no' |
500 |
|
REPO['GPGCheck']='yes' |
501 |
|
REPO['Visible']='no' |
502 |
|
REPO['status']='enabled' |
503 |
|
REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/' |
504 |
|
REPO['MirrorList']='' |
505 |
|
REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi' |
506 |
|
REPO['Exclude']='mysql*,php-*,phpMyAdmin' |
507 |
|
REPO['IncludePkgs']='' |
508 |
|
createrepo |
509 |
|
|
510 |
|
##################### |
511 |
|
##################### |
512 |
|
#remi-ocsinventory |
513 |
|
##################### |
514 |
|
##################### |
515 |
|
REPO['reponame']='remi-ocsinventory' |
516 |
|
REPO['fullreponame']='Remi ocsinventory - EL' |
517 |
|
REPO['EnableGroups']='no' |
518 |
|
REPO['GPGCheck']='yes' |
519 |
|
REPO['Visible']='yes' |
520 |
|
REPO['status']='enabled' |
521 |
|
REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/' |
522 |
|
REPO['MirrorList']='' |
523 |
|
REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi' |
524 |
|
REPO['Exclude']='' |
525 |
|
REPO['IncludePkgs']='ocsinventory* perl-Ocsinventory-Agent' |
526 |
|
createrepo |
527 |
|
|
528 |
|
##################### |
529 |
|
##################### |
530 |
|
#remi-ocsinventory |
531 |
|
##################### |
532 |
|
##################### |
533 |
|
REPO['reponame']='remi-roundcube' |
534 |
|
REPO['fullreponame']='Remi Roundcube - EL' |
535 |
|
REPO['EnableGroups']='no' |
536 |
|
REPO['GPGCheck']='yes' |
537 |
|
REPO['Visible']='yes' |
538 |
|
REPO['status']='enabled' |
539 |
|
REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/' |
540 |
|
REPO['MirrorList']='' |
541 |
|
REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi' |
542 |
|
REPO['Exclude']='' |
543 |
|
REPO['IncludePkgs']='php-kolab-net-ldap3,php-pear-Mail-mimeDecode,php-pear-Net-IDNA2,php-pear-Net-LDAP2,roundcubemail' |
544 |
|
createrepo |
545 |
|
|
546 |
|
|
547 |
|
##################### |
548 |
|
##################### |
549 |
|
#rpmfusion |
550 |
|
##################### |
551 |
|
##################### |
552 |
|
REPO['reponame']='rpmfusion' |
553 |
|
REPO['fullreponame']='rpmfusion free EL' |
554 |
|
REPO['EnableGroups']='no' |
555 |
|
REPO['Visible']='yes' |
556 |
|
REPO['status']='disabled' |
557 |
|
REPO['BaseURL']='http://download1.rpmfusion.org/free/el/updates/$releasever/$basearch/' |
558 |
|
REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-$releasever&arch=$basearch' |
559 |
|
REPO['GPGCheck']='yes' |
560 |
|
REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-el-$releasever' |
561 |
|
REPO['Exclude']='' |
562 |
|
REPO['IncludePkgs']='' |
563 |
|
createrepo |
564 |
|
|
565 |
|
##################### |
566 |
|
##################### |
567 |
|
#rpmfusion |
568 |
|
##################### |
569 |
|
##################### |
570 |
|
REPO['reponame']='rpmfusion-nonfree' |
571 |
|
REPO['fullreponame']='rpmfusion nonfree EL' |
572 |
|
REPO['EnableGroups']='no' |
573 |
|
REPO['Visible']='yes' |
574 |
|
REPO['status']='disabled' |
575 |
|
REPO['BaseURL']='http://download1.rpmfusion.org/nonfree/el/updates/$releasever/$basearch/' |
576 |
|
REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-released-$releasever&arch=$basearch' |
577 |
|
REPO['GPGCheck']='yes' |
578 |
|
REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-el-$releasever' |
579 |
|
REPO['Exclude']='' |
580 |
|
REPO['IncludePkgs']='' |
581 |
|
createrepo |
582 |
|
|
583 |
|
##################### |
584 |
|
##################### |
585 |
|
#Sogo nightly |
586 |
|
##################### |
587 |
|
##################### |
588 |
|
REPO['reponame']='sogo' |
589 |
|
REPO['fullreponame']='Inverse SOGo 2 Repository' |
590 |
|
REPO['EnableGroups']='no' |
591 |
|
REPO['Visible']='yes' |
592 |
|
REPO['status']='disabled' |
593 |
|
REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/2/rhel/$releasever/$basearch' |
594 |
|
REPO['MirrorList']='' |
595 |
|
REPO['GPGCheck']='no' |
596 |
|
REPO['GPGKey']='' |
597 |
|
REPO['Exclude']='' |
598 |
|
REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*' |
599 |
|
createrepo |
600 |
|
|
601 |
|
##################### |
602 |
|
##################### |
603 |
|
#Sogo3 nightly |
604 |
|
##################### |
605 |
|
##################### |
606 |
|
REPO['reponame']='sogo3' |
607 |
|
REPO['fullreponame']='Inverse SOGo 3 Repository' |
608 |
|
REPO['EnableGroups']='no' |
609 |
|
REPO['Visible']='yes' |
610 |
|
REPO['status']='disabled' |
611 |
|
REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/3/rhel/$releasever/$basearch' |
612 |
|
REPO['MirrorList']='' |
613 |
|
REPO['GPGCheck']='no' |
614 |
|
REPO['GPGKey']='' |
615 |
|
REPO['Exclude']='' |
616 |
|
REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*' |
617 |
|
createrepo |
618 |
|
|
619 |
|
##################### |
620 |
|
##################### |
621 |
|
#Sogo3 nightly |
622 |
|
##################### |
623 |
|
##################### |
624 |
|
REPO['reponame']='sogo4' |
625 |
|
REPO['fullreponame']='Inverse SOGo 4 Repository' |
626 |
|
REPO['EnableGroups']='no' |
627 |
|
REPO['Visible']='yes' |
628 |
|
REPO['status']='disabled' |
629 |
|
REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/4/rhel/$releasever/$basearch' |
630 |
|
REPO['MirrorList']='' |
631 |
|
REPO['GPGCheck']='no' |
632 |
|
REPO['GPGKey']='' |
633 |
|
REPO['Exclude']='' |
634 |
|
REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*' |
635 |
|
createrepo |
636 |
|
|
637 |
|
|
638 |
|
##################### |
639 |
|
##################### |
640 |
|
#Sogo stable |
641 |
|
##################### |
642 |
|
##################### |
643 |
|
REPO['reponame']='sogo-subscription' |
644 |
|
REPO['fullreponame']='Inverse SOGo Repository only with subscription' |
645 |
|
REPO['EnableGroups']='no' |
646 |
|
REPO['Visible']='yes' |
647 |
|
REPO['status']='disabled' |
648 |
|
REPO['BaseURL']='http://packages.inverse.ca/download/SOGo/RHEL$releasever/$basearch' |
649 |
|
REPO['MirrorList']='' |
650 |
|
REPO['GPGCheck']='no' |
651 |
|
REPO['GPGKey']='' |
652 |
|
REPO['Exclude']='' |
653 |
|
REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*' |
654 |
|
createrepo |
655 |
|
|
656 |
|
##################### |
657 |
|
##################### |
658 |
|
#Spectrum2 |
659 |
|
##################### |
660 |
|
##################### |
661 |
|
REPO['reponame']='spectrum2' |
662 |
|
REPO['fullreponame']='Spectrum2' |
663 |
|
REPO['EnableGroups']='no' |
664 |
|
REPO['Visible']='yes' |
665 |
|
REPO['status']='disabled' |
666 |
|
REPO['BaseURL']='http://copr-be.cloud.fedoraproject.org/results/mcepl/spectrum2/epel-$releasever-$basearch' |
667 |
|
REPO['MirrorList']='' |
668 |
|
REPO['GPGCheck']='no' |
669 |
|
REPO['GPGKey']='' |
670 |
|
REPO['Exclude']='' |
671 |
|
REPO['IncludePkgs']='' |
672 |
|
createrepo |
673 |
|
|
674 |
|
##################### |
675 |
|
##################### |
676 |
|
#stephDL |
677 |
|
##################### |
678 |
|
##################### |
679 |
|
REPO['reponame']='stephdl' |
680 |
|
REPO['fullreponame']='Mirror Stephane de Labrusse' |
681 |
|
REPO['EnableGroups']='no' |
682 |
|
REPO['Visible']='yes' |
683 |
|
REPO['status']='disabled' |
684 |
|
REPO['BaseURL']='http://mirror.de-labrusse.fr/smeserver/$releasever' |
685 |
|
REPO['MirrorList']='' |
686 |
|
REPO['GPGCheck']='yes' |
687 |
|
REPO['GPGKey']='http://mirror.de-labrusse.fr/RPM-GPG-KEY' |
688 |
|
REPO['Exclude']='' |
689 |
|
REPO['IncludePkgs']='' |
690 |
|
createrepo |
691 |
|
|
692 |
|
##################### |
693 |
|
##################### |
694 |
|
#VirtualBox |
695 |
|
##################### |
696 |
|
##################### |
697 |
|
REPO['reponame']='virtualbox' |
698 |
|
REPO['fullreponame']='RHEL/CentOS VirtualBox' |
699 |
|
REPO['EnableGroups']='no' |
700 |
|
REPO['Visible']='yes' |
701 |
|
REPO['status']='disabled' |
702 |
|
REPO['BaseURL']='http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch' |
703 |
|
REPO['MirrorList']='' |
704 |
|
REPO['GPGCheck']='yes' |
705 |
|
REPO['GPGKey']='https://www.virtualbox.org/download/oracle_vbox.asc' |
706 |
|
REPO['Exclude']='' |
707 |
|
REPO['IncludePkgs']='' |
708 |
|
createrepo |
709 |
|
|
710 |
|
##################### |
711 |
|
##################### |
712 |
|
#Webtatic |
713 |
|
##################### |
714 |
|
##################### |
715 |
|
REPO['reponame']='webtatic' |
716 |
|
REPO['fullreponame']='webtatic - EL' |
717 |
|
REPO['EnableGroups']='no' |
718 |
|
REPO['Visible']='yes' |
719 |
|
REPO['status']='disabled' |
720 |
|
REPO['BaseURL']='' |
721 |
|
REPO['MirrorList']='http://mirror.webtatic.com/yum/el-$releasever/$basearch/mirrolist' |
722 |
|
REPO['GPGCheck']='yes' |
723 |
|
if ( "%{?dist}" == "el5" ); then |
724 |
|
REPO['GPGKey']='http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy' |
725 |
|
else |
726 |
|
REPO['GPGKey']="http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-%{?dist}" |
727 |
|
fi |
728 |
|
REPO['Exclude']='' |
729 |
|
REPO['IncludePkgs']='' |
730 |
|
createrepo |
731 |
|
|
732 |
|
##################### |
733 |
|
##################### |
734 |
|
#Xymon |
735 |
|
##################### |
736 |
|
##################### |
737 |
|
REPO['reponame']='xymon' |
738 |
|
REPO['fullreponame']='Xymon Terabithia RPMS - EL' |
739 |
|
REPO['EnableGroups']='no' |
740 |
|
REPO['Visible']='yes' |
741 |
|
REPO['status']='disabled' |
742 |
|
REPO['BaseURL']='http://terabithia.org/rpms/xymon/el$releasever/' |
743 |
|
REPO['MirrorList']='' |
744 |
|
REPO['GPGCheck']='yes' |
745 |
|
REPO['GPGKey']="http://terabithia.org/rpms/RPM-GPG-KEY-JCLEAVER" |
746 |
|
REPO['Exclude']='' |
747 |
|
REPO['IncludePkgs']='' |
748 |
|
createrepo |
749 |
|
|
750 |
|
##################### |
751 |
|
##################### |
752 |
|
#Zabbix2.4 |
753 |
|
##################### |
754 |
|
##################### |
755 |
|
declare -A zabshort=( ['2.4']='24' ['2.5']='25' ['3.0']='30' ['3.1']='31' ['3.2']='32' ['3.4']='35' ['3.5']='35') |
756 |
|
for elasver in "2.4" "2.5" "3.0"; do |
757 |
|
REPO['reponame']="zabbix${zabshort[$elasver]}" |
758 |
|
REPO['fullreponame']="Zabbix $elasver Official Repository" |
759 |
|
REPO['EnableGroups']='no' |
760 |
|
REPO['Visible']='yes' |
761 |
|
REPO['status']='disabled' |
762 |
|
REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/" |
763 |
|
REPO['MirrorList']='' |
764 |
|
REPO['GPGCheck']='yes' |
765 |
|
REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX" |
766 |
|
REPO['Exclude']='' |
767 |
|
REPO['IncludePkgs']='' |
768 |
|
createrepo |
769 |
|
done |
770 |
|
|
771 |
|
##################### |
772 |
|
##################### |
773 |
|
#zmrepo |
774 |
|
##################### |
775 |
|
##################### |
776 |
|
REPO['reponame']='zmrepo' |
777 |
|
REPO['fullreponame']='ZoneMinder Repo - EL' |
778 |
|
REPO['EnableGroups']='no' |
779 |
|
REPO['Visible']='yes' |
780 |
|
REPO['status']='disabled' |
781 |
|
REPO['BaseURL']='http://zmrepo.mehvc.com/el/$releasever/$basearch' |
782 |
|
REPO['MirrorList']='' |
783 |
|
REPO['GPGCheck']='no' |
784 |
|
REPO['GPGKey']="" |
785 |
|
REPO['Exclude']='' |
786 |
|
REPO['IncludePkgs']='' |
787 |
|
createrepo |
788 |
|
|
789 |
|
|
|
## define filelists |
|
790 |
rm -f %{name}-%{version}-filelist* |
rm -f %{name}-%{version}-filelist* |
791 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
792 |
cat %{name}-%{version}-filelist|grep remi-safe > %{name}-%{version}-filelist-remi-safe |
cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic |
793 |
|
cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo |
794 |
cat %{name}-%{version}-filelist| egrep 'digium|asterisk' > %{name}-%{version}-filelist-asterisk |
cat %{name}-%{version}-filelist| egrep 'digium|asterisk' > %{name}-%{version}-filelist-asterisk |
795 |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware |
796 |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic |
797 |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo |
798 |
cat %{name}-%{version}-filelist| grep epel > %{name}-%{version}-filelist-epel |
cat %{name}-%{version}-filelist| grep epel > %{name}-%{version}-filelist-epel |
799 |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang |
800 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
801 |
|
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
802 |
|
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
803 |
|
if ( "%{?dist}" == "el7" ); then |
804 |
|
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
805 |
|
fi |
806 |
|
cat %{name}-%{version}-filelist| grep okay > %{name}-%{version}-filelist-okay |
807 |
|
cat %{name}-%{version}-filelist| grep openfusion > %{name}-%{version}-filelist-openfusion |
808 |
|
cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp |
809 |
|
cat %{name}-%{version}-filelist| grep remi-safe > %{name}-%{version}-filelist-remi-safe |
810 |
|
cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory |
811 |
|
cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube |
812 |
|
cat %{name}-%{version}-filelist| grep remi|egrep -v 'safe|ocsinventory|roundcube' > %{name}-%{version}-filelist-remi |
813 |
|
cat %{name}-%{version}-filelist| grep rpmfusion > %{name}-%{version}-filelist-rpmfusion |
814 |
|
cat %{name}-%{version}-filelist| grep sogo > %{name}-%{version}-filelist-sogo |
815 |
|
cat %{name}-%{version}-filelist| grep spectrum2 > %{name}-%{version}-filelist-spectrum2 |
816 |
|
cat %{name}-%{version}-filelist| grep stephdl > %{name}-%{version}-filelist-stephdl |
817 |
|
cat %{name}-%{version}-filelist| grep virtualbox > %{name}-%{version}-filelist-virtualbox |
818 |
|
cat %{name}-%{version}-filelist| grep webtatic > %{name}-%{version}-filelist-webtatic |
819 |
|
cat %{name}-%{version}-filelist| grep xymon > %{name}-%{version}-filelist-xymon |
820 |
|
cat %{name}-%{version}-filelist| grep zabbix > %{name}-%{version}-filelist-zabbix |
821 |
|
cat %{name}-%{version}-filelist| grep zmrepo > %{name}-%{version}-filelist-zmrepo |
822 |
|
|
823 |
%clean |
%clean |
824 |
cd .. |
cd .. |
825 |
rm -rf %{name}-%{version} |
rm -rf %{name}-%{version} |
826 |
|
|
827 |
%files -f %{name}-%{version}-filelist |
|
828 |
|
#%files -f %{name}-%{version}-filelist |
829 |
|
%files |
830 |
%defattr(-,root,root) |
%defattr(-,root,root) |
831 |
|
|
832 |
%pre |
%pre |
846 |
# this is an upgrade |
# this is an upgrade |
847 |
;; |
;; |
848 |
esac |
esac |
849 |
|
%package atomic |
850 |
|
Summary: Atomic Repository |
851 |
|
%description atomic |
852 |
|
Atomic Repository |
853 |
|
%files atomic -f %{name}-%{version}-filelist-atomic |
854 |
|
%defattr(-,root,root) |
855 |
|
|
856 |
%package remi-safe |
%package centos-sclo |
857 |
Summary: Remi safe repository |
Summary: CentOS Red-Hat software collection repository |
858 |
%description remi-safe |
%description centos-sclo |
859 |
Remi safe repository |
CentOS Red-Hat software collection repository only for x86_64 arch |
860 |
%files remi-safe -f %{name}-%{version}-filelist-remi-safe |
%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo |
861 |
%defattr(-,root,root) |
%defattr(-,root,root) |
862 |
|
|
863 |
%package asterisk |
%package asterisk |
909 |
%files freeswitch -f %{name}-%{version}-filelist-freeswitch |
%files freeswitch -f %{name}-%{version}-filelist-freeswitch |
910 |
%defattr(-,root,root) |
%defattr(-,root,root) |
911 |
|
|
912 |
|
%package fws |
913 |
|
Summary: Firewall Services repository |
914 |
|
%description fws |
915 |
|
Firewall Services repository |
916 |
|
%files fws -f %{name}-%{version}-filelist-fws |
917 |
|
%defattr(-,root,root) |
918 |
|
|
919 |
|
%package geekery |
920 |
|
Summary: Geekery Repository |
921 |
|
%description geekery |
922 |
|
Geekery Repository |
923 |
|
%files geekery -f %{name}-%{version}-filelist-geekery |
924 |
|
%defattr(-,root,root) |
925 |
|
|
926 |
|
%package odoo |
927 |
|
Summary: Odoo 10 Nightly - EL7 Repository |
928 |
|
Distribution: el7 |
929 |
|
%description odoo |
930 |
|
Odoo 10 Nightly - EL7 Repository |
931 |
|
# comment as not available for centos 6 SME9 |
932 |
|
#%files odoo -f %{name}-%{version}-filelist-odoo |
933 |
|
#%defattr(-,root,root) |
934 |
|
|
935 |
|
%package okay |
936 |
|
Summary: Extra OKay Packages for Enterprise Linux |
937 |
|
%description okay |
938 |
|
Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX |
939 |
|
%files okay -f %{name}-%{version}-filelist-okay |
940 |
|
%defattr(-,root,root) |
941 |
|
|
942 |
|
%package openfusion |
943 |
|
Summary: Openfusion Repository |
944 |
|
%description openfusion |
945 |
|
Openfusion Repository |
946 |
|
%files openfusion -f %{name}-%{version}-filelist-openfusion |
947 |
|
%defattr(-,root,root) |
948 |
|
|
949 |
|
%package reetp |
950 |
|
Summary: Mirror John Crisp reetspetit.com |
951 |
|
%description reetp |
952 |
|
Mirror John Crisp reetspetit.com |
953 |
|
%files reetp -f %{name}-%{version}-filelist-reetp |
954 |
|
%defattr(-,root,root) |
955 |
|
|
956 |
|
%package remi-safe |
957 |
|
Summary: Remi safe repository |
958 |
|
%description remi-safe |
959 |
|
Remi safe repository |
960 |
|
%files remi-safe -f %{name}-%{version}-filelist-remi-safe |
961 |
|
%defattr(-,root,root) |
962 |
|
|
963 |
|
%package remi-ocsinventory |
964 |
|
Summary: Remi repository filtered to install OCSinventory |
965 |
|
%description remi-ocsinventory |
966 |
|
Remi repository filtered to install OCSinventory |
967 |
|
%files remi-ocsinventory -f %{name}-%{version}-filelist-remi-ocsinventory |
968 |
|
%defattr(-,root,root) |
969 |
|
|
970 |
|
%package remi-roundcube |
971 |
|
Summary: Remi repository filtered to install Roundcube |
972 |
|
%description remi-roundcube |
973 |
|
Remi repository filtered to install Roundcube |
974 |
|
%files remi-roundcube -f %{name}-%{version}-filelist-remi-roundcube |
975 |
|
%defattr(-,root,root) |
976 |
|
|
977 |
|
%package remi-unsafe |
978 |
|
Summary: Remi unsafe repository |
979 |
|
%description remi-unsafe |
980 |
|
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. |
981 |
|
%files remi-unsafe -f %{name}-%{version}-filelist-remi |
982 |
|
%defattr(-,root,root) |
983 |
|
|
984 |
|
%package rpmfusion |
985 |
|
Summary: RPMFusion repositories |
986 |
|
%description rpmfusion |
987 |
|
RPMFusion repositories |
988 |
|
%files rpmfusion -f %{name}-%{version}-filelist-rpmfusion |
989 |
|
%defattr(-,root,root) |
990 |
|
|
991 |
|
%package sogo |
992 |
|
Summary: SOGo repositories |
993 |
|
%description sogo |
994 |
|
SOGo repositories |
995 |
|
%files sogo -f %{name}-%{version}-filelist-sogo |
996 |
|
%defattr(-,root,root) |
997 |
|
|
998 |
|
%package spectrum2 |
999 |
|
Summary: Spectrum2 Repository |
1000 |
|
%description spectrum2 |
1001 |
|
Spectrum2 Repository |
1002 |
|
%files spectrum2 -f %{name}-%{version}-filelist-spectrum2 |
1003 |
|
%defattr(-,root,root) |
1004 |
|
|
1005 |
|
%package stephdl |
1006 |
|
Summary: Stephane De Labrusse Repository |
1007 |
|
%description stephdl |
1008 |
|
Stephane De Labrusse Repository |
1009 |
|
%files stephdl -f %{name}-%{version}-filelist-stephdl |
1010 |
|
%defattr(-,root,root) |
1011 |
|
|
1012 |
|
%package virtualbox |
1013 |
|
Summary: Virtualbox Repository |
1014 |
|
%description virtualbox |
1015 |
|
Virtualbox Repository |
1016 |
|
%files virtualbox -f %{name}-%{version}-filelist-virtualbox |
1017 |
|
%defattr(-,root,root) |
1018 |
|
|
1019 |
|
%package webtatic |
1020 |
|
Summary: Webtatic Repository |
1021 |
|
%description webtatic |
1022 |
|
Webtatic Repository |
1023 |
|
%files webtatic -f %{name}-%{version}-filelist-webtatic |
1024 |
|
%defattr(-,root,root) |
1025 |
|
|
1026 |
|
%package xymon |
1027 |
|
Summary: Xymon Terabithia Repository |
1028 |
|
%description xymon |
1029 |
|
Xymon Terabithia Repository |
1030 |
|
%files xymon -f %{name}-%{version}-filelist-xymon |
1031 |
|
%defattr(-,root,root) |
1032 |
|
|
1033 |
|
%package zabbix |
1034 |
|
Summary: Zabbix official Repository |
1035 |
|
%description zabbix |
1036 |
|
Zabbix official Repository |
1037 |
|
%files zabbix -f %{name}-%{version}-filelist-zabbix |
1038 |
|
%defattr(-,root,root) |
1039 |
|
|
1040 |
|
%package zmrepo |
1041 |
|
Summary: Zone Minder Repository |
1042 |
|
%description zmrepo |
1043 |
|
Zone Minder Repository |
1044 |
|
%files zmrepo -f %{name}-%{version}-filelist-zmrepo |
1045 |
|
%defattr(-,root,root) |
1046 |
|
|
1047 |
|
|
1048 |
|
|