1 |
# $Id: smeserver-yum.spec,v 1.34 2009/05/30 18:05:01 slords Exp $ |
2 |
|
3 |
%define name smeserver-yum |
4 |
Summary: YUM, an rpm updater |
5 |
Name: %{name} |
6 |
%define version 2.0.0 |
7 |
%define release 8 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: SMEServer/addon |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
Patch1: smeserver-yum-2.0.0-extras.patch |
14 |
Patch2: smeserver-yum-2.0.0-repodir.patch |
15 |
Patch3: smeserver-yum-2.0.0-buffer.patch |
16 |
Patch4: smeserver-yum-2.0.0-yumremove.patch |
17 |
Patch5: smeserver-yum-2.0.0-protected.patch |
18 |
Patch6: smeserver-yum-2.0.0-mirrorlist.patch |
19 |
Patch7: smeserver-yum-2.0.0-updatetoggle.patch |
20 |
Patch8: smeserver-yum-2.0.0-nosemi.patch |
21 |
Patch9: smeserver-yum-2.0.0-unsavedchanges.patch |
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArchitectures: noarch |
24 |
Requires: e-smith-formmagick >= 1.4.0-12 |
25 |
Requires: e-smith-base |
26 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
27 |
Requires: rpm-python >= 4.0.4-7x.18 |
28 |
Requires: yum >= 1.0.3-1_73 |
29 |
Provides: yumconf |
30 |
Obsoletes: check4updates |
31 |
Provides: check4updates |
32 |
Requires: rpmdb-CentOS |
33 |
Requires: yum-plugin-fastestmirror |
34 |
Requires: yum-plugin-installonlyn |
35 |
Requires: mailx |
36 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
37 |
Conflicts: centos-yumconf |
38 |
AutoReqProv: no |
39 |
%description |
40 |
%name is an implementation of http://linux.duke.edu/projects/yum on SME Server |
41 |
|
42 |
%changelog |
43 |
* Tue Sep 15 2009 Shad L. Lords <slords@mail.com> 2.0.0-10.sme |
44 |
- set unsaved changes in yum event [SME: 2081] |
45 |
- move yum warming to sme yum plugin [SME: 5472] |
46 |
- ensure file exists before unlinking [SME: 4169] |
47 |
- remove semicolons from yum plugin |
48 |
|
49 |
* Tue Sep 15 2009 Shad L. Lords <slords@mail.com> 2.0.0-9.sme |
50 |
- Add frequency of updates toggle [SME: 5473] |
51 |
- remove stray file |
52 |
|
53 |
* Sat May 30 2009 Shad L. Lords <slords@mail.com> 2.0.0-8.sme |
54 |
- Add /etc/yum.smerepos.d to package [SME: 5306] |
55 |
|
56 |
* Mon May 18 2009 Shad L. Lords <slords@mail.com> 2.0.0-7.sme |
57 |
- Change SME mirrorlists to point to ibiblio [SME: 5242] |
58 |
|
59 |
* Fri Apr 10 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-6.sme |
60 |
- Require mailx [SME: 5131] |
61 |
|
62 |
* Mon Nov 24 2008 Shad L. Lords <slords@mail.com> 2.0.0-5.sme |
63 |
- Add yum-protect-packages support to prevent removal of |
64 |
needed pacakges [SME: 3133] |
65 |
|
66 |
* Tue Oct 28 2008 Shad L. Lords <slords@mail.com> 2.0.0-4.sme |
67 |
- Make yum update unbuffered for web interface [SME: 4726] |
68 |
|
69 |
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 2.0.0-3.sme |
70 |
- Move repos to repodir to fix yum bug [SME: 3676] |
71 |
|
72 |
* Sun Oct 12 2008 Shad L. Lords <slords@mail.com> 2.0.0-2.sme |
73 |
- Fix name for smeextras [SME: 4585] |
74 |
|
75 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
76 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
77 |
|
78 |
* Fri Sep 19 2008 Shad L. Lords <slords@mail.com> 1.2.0-57 |
79 |
- Add smeextras repo database and information [SME: 4585] |
80 |
|
81 |
* Sun Aug 10 2008 Shad L. Lords <slords@mail.com> 1.2.0-56 |
82 |
- Remove links to crontab in bootstrap-console-save [SME: 4494] |
83 |
|
84 |
* Sat Jul 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-55 |
85 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4279] |
86 |
|
87 |
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-54 |
88 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4290] |
89 |
|
90 |
* Mon Mar 31 2008 Shad L. Lords <slords@mail.com> 1.2.0-53 |
91 |
- Include installonlyn plugin to manage kernels [SME: 2101] |
92 |
|
93 |
* Mon Mar 31 2008 Stephen Noble <support@dungog.net> 1.2.0-52 |
94 |
- Delete dungog repository, reworked [SME: 4097] |
95 |
|
96 |
* Fri Mar 14 2008 Shad L. Lords <slords@mail.com> 1.2.0-51 |
97 |
- Clean up "rpm -qa" warnings in yum wrapper [SME: 4052] |
98 |
|
99 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-50 |
100 |
- Remove <base> tags now in general [SME: 3914] |
101 |
|
102 |
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.2.0-49 |
103 |
- Remove duplicate <base> entries [SME: 3889] |
104 |
|
105 |
* Fri Jan 11 2008 Shad L. Lords <slords@mail.com> 1.2.0-48 |
106 |
- Put check4updates obsoletes & provides in the right place [SME: 3250] |
107 |
|
108 |
* Fri Jan 11 2008 Shad L. Lords <slords@mail.com> 1.2.0-47 |
109 |
- Add check4update script, make cronjob run same as scheduled dirs [SME: 3250] |
110 |
|
111 |
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.2.0-46 |
112 |
- Add server is up to date message on panel [SME: 2512] |
113 |
|
114 |
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-45 |
115 |
- remove BaseURL property for repos with mirrorlists [SME: 3275] |
116 |
|
117 |
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-44 |
118 |
- safesymlink yum into local [SME: 3238] |
119 |
|
120 |
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-43 |
121 |
- add check4updates cronjob, obsolete check4updates rpm [SME: 3250] |
122 |
|
123 |
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-42 |
124 |
- yum-import-keys action to yum-update event [SME: 3196] |
125 |
|
126 |
* Mon Dec 24 2007 Stephen Noble <support@dungog.net> 1.2.0-41 |
127 |
- add smecontribs repo [SME: 3551] |
128 |
|
129 |
* Tue Dec 11 2007 Gavin Weight <gweight@gmail.com> 1.2.0-40 |
130 |
- Remove bad mirror and add two new mirrors. [SME: 3636] |
131 |
|
132 |
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-39 |
133 |
- Change EnableGroups value to no/yes instead of 0/1. [SME: 3607] |
134 |
|
135 |
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-38 |
136 |
- Fix use of uninitialized value in migrate 10GPG_and_Groups. [SME: 2491] |
137 |
|
138 |
* Sat Jul 14 2007 Shad L. Lords <slords@mail.com> 1.2.0-37 |
139 |
- Add GPG keys for CentOS 5 [SME: 3160] |
140 |
|
141 |
* Sun Jun 10 2007 Stephen Noble <support@dungog.net> 1.2.0-36 |
142 |
- Refine matching of rpms or repos [SME: 2416] |
143 |
|
144 |
* Sun Jun 10 2007 Stephen Noble <support@dungog.net> 1.2.0-35 |
145 |
- Add db values to restrict available rpms or repos [SME: 2416] |
146 |
|
147 |
* Sun Jun 10 2007 Stephen Noble <support@dungog.net> 1.2.0-34 |
148 |
- remove restrictAvailable patch [SME: 2416] |
149 |
|
150 |
* Fri Jun 08 2007 Stephen Noble <support@dungog.net> 1.2.0-33 |
151 |
- Add db value to restrict available rpms [SME: 2416] |
152 |
|
153 |
* Fri May 25 2007 Shad L. Lords <slords@mail.com> 1.2.0-32 |
154 |
- Add rpm key for epel packages |
155 |
|
156 |
* Wed May 9 2007 Shad L. Lords <slords@mail.com> 1.2.0-31 |
157 |
- Updates to support SME Server 8 |
158 |
|
159 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
160 |
- Clean up spec so package can be built by koji/plague |
161 |
|
162 |
* Mon Apr 09 2007 Stephen Noble <support@dungog.net> 1.2.0-30 |
163 |
- remove two of them, leaving pacific.net.au [SME: 2763] |
164 |
|
165 |
* Mon Apr 09 2007 Stephen Noble <support@dungog.net> 1.2.0-29 |
166 |
- add three more repositories to yum.repos.d/mirrors-sme* files [SME: 2763] |
167 |
|
168 |
* Fri Feb 16 2007 Shad L. Lords <slords@mail.com> 1.2.0-28 |
169 |
- Change runsvctrl to sv to support runit v1.7.x [SME: 2486] |
170 |
|
171 |
* Wed Jan 17 2007 Shad L. Lords <slords@mail.com> 1.2.0-27 |
172 |
- Only import keys we don't already have [SME: 1174] |
173 |
|
174 |
* Wed Jan 03 2007 Shad L. Lords <slords@mail.com> 1.2.0-26 |
175 |
- Only allow upstream proxies to cache packages not metadata. |
176 |
|
177 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
178 |
- Update to new release naming. No functional changes. |
179 |
- Make Packager generic |
180 |
|
181 |
* Fri Dec 1 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-25 |
182 |
- Remove defaults for CentOS testing repository [SME: 2119] |
183 |
|
184 |
* Thu Nov 30 2006 Greg Swallow <greg@runlevel7.ca> 1.2.0-24 |
185 |
- Change Includepkgs to IncludePkgs [SME: 2049] |
186 |
|
187 |
* Thu Nov 30 2006 Greg Swallow <greg@runlevel7.ca> 1.2.0-23 |
188 |
- Add includepkgs option to repository configuration [SME: 2049] |
189 |
|
190 |
* Thu Nov 30 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-22 |
191 |
- Correct typos in last patch [SME: 2050] |
192 |
|
193 |
* Thu Nov 30 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-21 |
194 |
- Create local SME Server mirrorlists during build of package |
195 |
- Refer to these mirrorlists from yum.conf |
196 |
- Comment out baseurl if a MirrorList is defined [SME: 2050] |
197 |
|
198 |
* Wed Nov 29 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-20 |
199 |
- Revert to 10s panel refresh [SME: 2097] |
200 |
|
201 |
* Fri Nov 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-19 |
202 |
- Make CentOS base and updates enabled/Visible by default [SME: 1849] |
203 |
- Migrate CentOS base and updates to Visible, but leave status [SME: 1849] |
204 |
|
205 |
* Fri Nov 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-18 |
206 |
- Adjust wording on post-upgrade page [SME: 2076] |
207 |
|
208 |
* Tue Nov 21 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-17 |
209 |
- Clean up post-upgrade page LogFile display [SME: 2077] |
210 |
|
211 |
* Tue Nov 21 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-16 |
212 |
- Fix post-upgrade page handling [SME: 2077] |
213 |
- TODO: Add persistent RebootRequired handling so that the reconfigure |
214 |
page is displayed from other sessions |
215 |
- TODO: Re-add display of LogFile prior to reconfigure |
216 |
|
217 |
* Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-15 |
218 |
- Add dependency on yum-plugin-fastestmirror [SME: 1163] |
219 |
- Alpha sort dependencies |
220 |
|
221 |
* Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-14 |
222 |
- Add MirrorList options to each of the SME repos [SME: 1163] |
223 |
|
224 |
* Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-13 |
225 |
- Put back missed patch for post-upgrade [SME: 2071] |
226 |
|
227 |
* Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-12 |
228 |
- Re-add post-upgrade handling [SME: 2071] |
229 |
- Display yum output |
230 |
- Lower refresh to 3 seconds from 10 |
231 |
|
232 |
* Thu Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-11 |
233 |
- Add Federico Simoncelli's smeserver plugin for yum [SME: 59] |
234 |
- TODO: Add post-upgrade page handling |
235 |
|
236 |
* Tue Nov 14 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-10 |
237 |
- Add distroverpkg to set release version for CentOS packages [SME: 1163] |
238 |
|
239 |
* Thu Nov 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-09 |
240 |
- Allow MirrorList property to be optional [SME: 1163] |
241 |
|
242 |
* Thu Nov 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-08 |
243 |
- Add mirrorlist option to CentOS repos via MirrorList db property [SME: 1163] |
244 |
- TODO: Create mirrorlist for SME repos. |
245 |
|
246 |
* Thu Nov 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-07 |
247 |
- Explicitly unset reposdir so we ignore the CentOS repo files [SME: 1905] |
248 |
|
249 |
* Fri Sep 1 2006 Charlie Brady <charlieb@e-smith.com> 1.2.0-06 |
250 |
- Fix quoting in yum wrapper script. [SME: 1894] |
251 |
|
252 |
* Mon May 1 2006 Charlie Brady <charlieb@e-smith.com> 1.2.0-05 |
253 |
- Remove stray yum.pm.orig file. [SME: 1350] |
254 |
|
255 |
* Tue Apr 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-04 |
256 |
- Also display yum output if the yum command fails, e.g. due to an |
257 |
existing yum lock. [SME: 1110] |
258 |
|
259 |
* Tue Apr 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-03 |
260 |
- Update the yum dbs in yum-modify in case the repos have changed [SME: 1261] |
261 |
|
262 |
* Tue Apr 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-02 |
263 |
- Capture and display yum output [SME: 1269] |
264 |
|
265 |
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01 |
266 |
- Roll stable stream version. [SME: 1016] |
267 |
|
268 |
* Wed Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-26 |
269 |
- And migrate old SME repo URLs to new paths [SME: 951] |
270 |
|
271 |
* Wed Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-25 |
272 |
- Change SME Server repo URLs to match repo names so we avoid confusion |
273 |
with CentOS repos and can remove the symlinks [SME: 951] |
274 |
|
275 |
* Wed Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-24 |
276 |
- Don't force the BaseURL properties - just set defaults [SME: 951] |
277 |
|
278 |
* Wed Feb 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-23 |
279 |
- Default smeupdates-testing repository to Visible, disabled [SME: 846] |
280 |
|
281 |
* Thu Feb 16 2006 Charlie Brady <charlie_brady@mitel.com> 1.1.2-22 |
282 |
- Do not suggest post-upgrade/reboot if no rpms were installed or |
283 |
removed. [SME: 676] |
284 |
|
285 |
* Thu Feb 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-21 |
286 |
- Run post-upgrade and reboot in the background so that the front page |
287 |
can be displayed without the "Your system needs to be rebooted" |
288 |
warning - it's already getting one by then. [SME: 611] |
289 |
- Adjust reconfiguration wording [SME: 611] |
290 |
|
291 |
* Thu Feb 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-20 |
292 |
- And add L10N for newly exposed unlocalised message [SME: 611] |
293 |
|
294 |
* Thu Feb 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-19 |
295 |
- Catch error return status from yum commands [SME: 611] |
296 |
|
297 |
* Tue Feb 7 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-18 |
298 |
- Adjust wording in yum wrapper [SME: 676] |
299 |
|
300 |
* Tue Jan 24 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-17 |
301 |
- And change "A reboot will be required" to |
302 |
"A reboot will be initiated" in the post-upgrade panel [SME: 199] |
303 |
|
304 |
* Tue Jan 24 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-16 |
305 |
- Bring back post-upgrade page after performing updates [SME: 199] |
306 |
- Force a reboot after the post-upgrade command [SME: 199] |
307 |
|
308 |
* Tue Jan 24 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-15 |
309 |
- Add wrapper /sbin/e-smith/yum to remind people to |
310 |
post-upgrade/reboot [SME: 199] |
311 |
|
312 |
* Tue Jan 24 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-14 |
313 |
- Force yum{AutoInstallUpdates} to disabled and remove toggle from |
314 |
panel for now [SME: 525] |
315 |
|
316 |
* Mon Nov 21 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-13 |
317 |
- And make them Visible=no by default [SF: 1362528] |
318 |
|
319 |
* Mon Nov 21 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-12 |
320 |
- Disable centos base/updates/contrib repos by default [SF: 1362528] |
321 |
|
322 |
* Mon Nov 21 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-11 |
323 |
- Show repositories which are either Visible or enabled [SF: 1362529] |
324 |
|
325 |
* Mon Nov 21 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-10 |
326 |
- Disable automatic updates by default [SF: 1362526] |
327 |
|
328 |
* Mon Nov 14 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-09 |
329 |
- Add Conflicts: centos-yumconf [SF: 1356006] |
330 |
|
331 |
* Tue Nov 8 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-08 |
332 |
- Don't force a post-upgrade/reboot after changes. We don't need to |
333 |
do it in most cases [SF: 1304387, 1349946] |
334 |
|
335 |
* Fri Oct 28 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-07 |
336 |
- Allow optional GPGKey property [SF: 1332624] |
337 |
|
338 |
* Fri Oct 28 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-06 |
339 |
- Change CentOS BaseURL values back to /centos/4 [SF: 1334861] |
340 |
- Generate all repositories in /etc/yum.conf with enabled=0/1 [SF: 1332624] |
341 |
- Only display "Visible" repositories in the server-manager panel [SF: 1332624] |
342 |
|
343 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-05 |
344 |
- Move all L10Ns to smeserver-locale [SF: 1309520] |
345 |
|
346 |
* Mon Oct 10 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-04 |
347 |
- Fix up auto-selection of all updates [SF: 1321887] |
348 |
|
349 |
* Mon Oct 10 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-03 |
350 |
- Remove navigation-conf-hidden [SF: 1315730] |
351 |
|
352 |
* Fri Oct 7 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-02 |
353 |
- Require GPG signatures on all yum packages |
354 |
|
355 |
* Fri Oct 7 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-01 |
356 |
- Roll new tarball, patches to 1.1.1-07 |
357 |
|
358 |
* Fri Sep 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.1-07 |
359 |
- And another [SF: 1301044] |
360 |
|
361 |
* Fri Sep 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.1-06 |
362 |
- Correction to French L10N - Thanks Didier Rambeau [SF: 1301044] |
363 |
|
364 |
* Fri Sep 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.1-05 |
365 |
- Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] |
366 |
|
367 |
* Fri Sep 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.1-04 |
368 |
- Added lots of RPM GPG keys [SF: 1309195] |
369 |
|
370 |
* Thu Sep 29 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.1-03 |
371 |
- It's obsoletes=1 [SF: 1306265] |
372 |
|
373 |
* Thu Sep 29 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.1-02 |
374 |
- Added obsoletes option to yum.conf [SF: 1306265] |
375 |
|
376 |
* Mon Sep 26 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.1-01 |
377 |
- Rolled patches up to 1.1.0-26 |
378 |
- Added German L10N |
379 |
|
380 |
* Sun Sep 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-26 |
381 |
- Typo fix - add space between 'yum' and options |
382 |
|
383 |
* Sun Sep 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-25 |
384 |
- Increase debug and error level so we at least capture yum output |
385 |
in the messages log [SF: 1218082] |
386 |
|
387 |
* Sun Sep 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-24 |
388 |
- Need to return a hash, with key equal to package.arch [SF: 1298468] |
389 |
|
390 |
* Sun Sep 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-23 |
391 |
- Display version and repository in picklists [SF: 1298468] |
392 |
|
393 |
* Sun Sep 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-22 |
394 |
- Change 1/0 values for GPGCheck and EnableGroups to yes/no |
395 |
It's more readable in the DB and also works around a bug [SF: 1303885] |
396 |
|
397 |
* Sun Sep 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-21 |
398 |
- Wrap HTML escapes in Fr lexicon in CDATA blocks [SF: 1302289] |
399 |
|
400 |
* Fri Sep 23 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-20 |
401 |
- Remove XXX - FIXMEs from French lexicon [SF: 1301044] |
402 |
|
403 |
* Fri Sep 23 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-19 |
404 |
- French L10N fix [SF: 1266152] |
405 |
|
406 |
* Mon Sep 12 2005 chris burnat <cburnat@burnat.com> 1.1.0-18 |
407 |
- Fix equal greater than (=>) to (>=) in two instances in spec file. |
408 |
|
409 |
* Mon Sep 5 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-17 |
410 |
- Change centos BaseURL entries from /centos/4/ to /centos/4.1/ as |
411 |
it appears that some mirrors aren't following the symlinks correctly |
412 |
- Move BaseURL settings into force fragments as they will need to |
413 |
change as we update the base [SF: 1272438] |
414 |
|
415 |
* Wed Aug 24 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-16 |
416 |
- Remove XXX entries from panel text [SF: 1267315] |
417 |
|
418 |
* Wed Aug 24 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-15 |
419 |
- Fix status check in yum cron job - Thanks Filippo Carletti [SF: 1266967] |
420 |
|
421 |
* Wed Aug 17 2005 Charlie Brady <charlieb@e-smith.com> 1.1.0-14 |
422 |
- Change dependency to rpmdb-CentOS |
423 |
|
424 |
* Mon Aug 15 2005 Gordon Rowell <gordonr@gormand.com.au> |
425 |
- [1.1.0-13] |
426 |
- Add dependency on rpmdb package |
427 |
|
428 |
* Mon Jul 18 2005 Gordon Rowell <gordonr@gormand.com.au> |
429 |
- [1.1.0-12] |
430 |
- And remove now unused action scripts |
431 |
|
432 |
* Mon Jul 18 2005 Gordon Rowell <gordonr@gormand.com.au> |
433 |
- [1.1.0-11] |
434 |
- Removed the old pre-FM panels, which we haven't used or displayed for |
435 |
a while |
436 |
|
437 |
* Mon Jul 18 2005 Gordon Rowell <gordonr@gormand.com.au> |
438 |
- [1.1.0-10] |
439 |
- Relocate dbs to /home/e-smith/db. Note yum_update_dbs avoids the |
440 |
ConfigDB interface for speed and to reduce log noise. Maybe it |
441 |
shouldn't, which would give a record of nightly changes. |
442 |
|
443 |
* Thu Jul 14 2005 Gordon Rowell <gordonr@gormand.com.au> |
444 |
- [1.1.0-09] |
445 |
- French localisation - Merci Didier Rambeau [SF: 1234929] |
446 |
|
447 |
* Thu Jul 14 2005 Gordon Rowell <gordonr@gormand.com.au> |
448 |
- [1.1.0-08] |
449 |
- Fix cron.daily ordering so yum_update_dbs gets a chance to fix |
450 |
the yum flag file before the standard yum cron job runs [SF: 1237639] |
451 |
- Clean up various old cron jobs which are no longer used |
452 |
- Change cron job template into a shell script |
453 |
|
454 |
* Thu Jul 14 2005 Gordon Rowell <gordonr@gormand.com.au> |
455 |
- [1.1.0-07] |
456 |
- Remove pid file check - yum leaves stale pid files when an action |
457 |
fails, but cleans up next time. Since we're calling yum, it can |
458 |
do the work. Death to pid files. |
459 |
|
460 |
* Thu Jul 14 2005 Gordon Rowell <gordonr@gormand.com.au> |
461 |
- [1.1.0-06] |
462 |
- Adjusted repository names sme{addons,core,dev,test,updates} -> |
463 |
addons,os,dev,test,updates |
464 |
- Added updates-testing |
465 |
- Changed BaseURL to use mirror.contribs.org/pub/smeserver for consistency |
466 |
across mirrors |
467 |
- Drop /7.0alpha/ to /7/ |
468 |
|
469 |
* Sat Jul 2 2005 Gordon Rowell <gordonr@gormand.com.au> |
470 |
- [1.1.0-05] |
471 |
- Fix creation of event links |
472 |
|
473 |
* Sat Jul 2 2005 Gordon Rowell <gordonr@gormand.com.au> |
474 |
- [1.1.0-04] |
475 |
- Remove all other instances of services2adjust once for yum, and use |
476 |
the action script instead to avoid an endless run of yum_update_dbs |
477 |
|
478 |
* Sat Jul 2 2005 Gordon Rowell <gordonr@gormand.com.au> |
479 |
- [1.1.0-03] |
480 |
- Add exec to yum service run script |
481 |
- Add action script to update DBs as required, including 'local' event |
482 |
- TODO: Work out why services2adjust 'once' loops forever on this service |
483 |
|
484 |
* Sat Jul 2 2005 Gordon Rowell <gordonr@gormand.com.au> |
485 |
- [1.1.0-02] |
486 |
- Add Provides: yumconf [SF: 1230970] |
487 |
- Cater for new yum output format, and only pick package lines from |
488 |
output [SF: 1230971] |
489 |
|
490 |
* Thu Jun 30 2005 Gordon Rowell <gordonr@gormand.com.au> |
491 |
- [1.1.0-01gr22] |
492 |
- Change from CentOS 3 to CentOS 4 |
493 |
- Remove force fragment for stunnel since we now ship the CentOS RPM |
494 |
|
495 |
* Fri Jun 10 2005 Gordon Rowell <gordonr@gormand.com.au> |
496 |
- [1.1.0-01gr21] |
497 |
- Import keys in bootstrap-console-save rather than post-{install,upgrade} |
498 |
|
499 |
* Fri Jun 10 2005 Gordon Rowell <gordonr@gormand.com.au> |
500 |
- [1.1.0-01gr20] |
501 |
- Populate /usr/share/rpm-gpg-keys with various RPM-GPG-KEY files |
502 |
we might want to use |
503 |
- Add script to import keys |
504 |
- TODO: Clean out duplicate key copies |
505 |
|
506 |
* Thu Jun 9 2005 Gordon Rowell <gordonr@gormand.com.au> |
507 |
- [1.1.0-01gr19] |
508 |
- Comment out 'once' invocation in local event - it seems to loop |
509 |
- Change cron job to do the 'runsvctrl once' invocation |
510 |
|
511 |
* Thu Jun 9 2005 Gordon Rowell <gordonr@gormand.com.au> |
512 |
- [1.1.0-01gr18] |
513 |
- Fix up exit status warning. |
514 |
|
515 |
* Thu Jun 9 2005 Gordon Rowell <gordonr@gormand.com.au> |
516 |
- [1.1.0-01gr17] |
517 |
- Don't bother checking the exit status of yum, since yum may |
518 |
return non-zero for failure or for "no matching groups/packages". |
519 |
TODO: We should probably work out how to tell between these. |
520 |
|
521 |
* Thu Jun 9 2005 Gordon Rowell <gordonr@gormand.com.au> |
522 |
- [1.1.0-01gr16] |
523 |
- Make it a supervised service, but one which we only run |
524 |
"once" when we need it [SF: 1216096] |
525 |
|
526 |
* Thu Jun 9 2005 Gordon Rowell <gordonr@gormand.com.au> |
527 |
- [1.1.0-01gr15] |
528 |
- Don't try to grab the yum.pid file with Proc::PID_File as then |
529 |
we can't actually run yum commands [SF: 1216097] |
530 |
|
531 |
* Thu Jun 9 2005 Gordon Rowell <gordonr@gormand.com.au> |
532 |
- [1.1.0-01gr14] |
533 |
- Add yum_update_dbs into a supervised service so we don't have |
534 |
to wait for it at boot time [SF: 1216096] |
535 |
|
536 |
* Thu Jun 9 2005 Gordon Rowell <gordonr@gormand.com.au> |
537 |
- [1.1.0-01gr13] |
538 |
- Unlink tmp files if yum command fails and we exit early |
539 |
|
540 |
* Thu Jun 9 2005 Gordon Rowell <gordonr@gormand.com.au> |
541 |
- [1.1.0-01gr12] |
542 |
- Check for another running yum process [SF: 1216097] |
543 |
- Don't update the databases if the yum command fails [SF: 1216097] |
544 |
|
545 |
* Fri Jun 3 2005 Gordon Rowell <gordonr@gormand.com.au> |
546 |
- [1.1.0-01gr11] |
547 |
- Use the dump RPM from CentOS [SF: 1214055] |
548 |
|
549 |
* Fri Jun 3 2005 Gordon Rowell <gordonr@gormand.com.au> |
550 |
- [1.1.0-01gr10] |
551 |
- Invert exit status of system() |
552 |
|
553 |
* Fri Jun 3 2005 Gordon Rowell <gordonr@gormand.com.au> |
554 |
- [1.1.0-01gr09] |
555 |
- Move management of /var/lock/subsys/yum into yum_updates_dbs action script |
556 |
- Call yum_update_dbs in local event - after the system is up and running |
557 |
- Remove commented out panel references |
558 |
|
559 |
* Fri Jun 3 2005 Gordon Rowell <gordonr@gormand.com.au> |
560 |
- [1.1.0-01gr08] |
561 |
- Default gpgcheck off, except for base/updates/smecore/smeupdates |
562 |
- Default yum{AutoInstallUpdates} == enabled |
563 |
- Add code to manage /var/lock/subsys/yum, which controls daily updates |
564 |
in /etc/cron.daily/yum |
565 |
|
566 |
* Fri Jun 3 2005 Gordon Rowell <gordonr@gormand.com.au> |
567 |
- [1.1.0-01gr07] |
568 |
- Deal with the case when the list of updates is empty |
569 |
- Put a header on each of the yum_* dbs |
570 |
|
571 |
* Fri Jun 3 2005 Gordon Rowell <gordonr@gormand.com.au> |
572 |
- [1.1.0-01gr06] |
573 |
- Rename centos repositories to match the centos-yumcache names |
574 |
- Remove pkgpolicy=last and repository ordering. |
575 |
- Add Exclude= properties to CentOS base and updates for packages which |
576 |
are modified for the SMEServer releases |
577 |
- INSTALL: Need to manually remove old version of yum_repositories DB |
578 |
|
579 |
* Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
580 |
- [1.1.0-01gr05] |
581 |
- Add enable/disable repository support to configuration page |
582 |
|
583 |
* Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
584 |
- [1.1.0-01gr04] |
585 |
- Hide empty group/package select boxes |
586 |
|
587 |
* Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
588 |
- [1.1.0-01gr03] |
589 |
- Change BaseURLs for smeserver repositories to ..../7.0alpha/ until we |
590 |
add FollowSymlinks to httpd.conf |
591 |
|
592 |
* Fri May 27 2005 Gordon Rowell <gordonr@gormand.com.au> |
593 |
- [1.1.0-01gr02] |
594 |
- Add post-upgrade configuration page |
595 |
- Hide Darrell's original panels |
596 |
- Remove historical event directories |
597 |
- TODO: Page for adding/deleting repositories |
598 |
- TODO: yum-arch local repositories |
599 |
|
600 |
* Fri May 27 2005 Gordon Rowell <gordonr@gormand.com.au> |
601 |
- [1.1.0-01gr01] |
602 |
- Roll to 1.1.0 |
603 |
|
604 |
* Fri May 27 2005 Gordon Rowell <gordonr@gormand.com.au> |
605 |
- [1.0.0-04gr30] |
606 |
- Call yum_update_dbs during the actions so the db state is correct |
607 |
|
608 |
* Fri May 27 2005 Gordon Rowell <gordonr@gormand.com.au> |
609 |
- [1.0.0-04gr29] |
610 |
- Create empty yum_{available,installed,updates} dbs in SPEC file |
611 |
- Display the available repositories, and provide a select box |
612 |
to allow them to be enabled/disabled. |
613 |
- Add dependency on recent CGI::FormMagick so that the select options work |
614 |
|
615 |
* Thu May 26 2005 Gordon Rowell <gordonr@gormand.com.au> |
616 |
- [1.0.0-04gr28] |
617 |
- Introduce yum_repositories database and convert yum.conf template |
618 |
- Introduce yum_repositories database and convert yum.conf template |
619 |
- Set defaults, which can be overridden on a per-repository basis: |
620 |
yum{EnableGroups}==0 |
621 |
yum{GPGCheck}==1 |
622 |
|
623 |
* Sat May 21 2005 Gordon Rowell <gordonr@gormand.com.au> |
624 |
- [1.0.0-04gr27] |
625 |
- Add contrib group from CentOS and contribs.org repositories |
626 |
|
627 |
* Fri May 20 2005 Gordon Rowell <gordonr@gormand.com.au> |
628 |
- [1.0.0-04gr26] |
629 |
- Change configuration event to yum-modify since we need |
630 |
yum-update for other purposes |
631 |
- TODO: Need to update yum_* dbs after we perform an action |
632 |
so the panel status matches reality. For speed, we should |
633 |
probably delete the entries directly. |
634 |
- TODO: Some yum comands take a long time, probably too long for |
635 |
the manager. |
636 |
- TODO: Capture the yum output |
637 |
|
638 |
* Fri May 20 2005 Gordon Rowell <gordonr@gormand.com.au> |
639 |
- [1.0.0-04gr25] |
640 |
- Fix CGI parameter passing |
641 |
|
642 |
* Fri May 20 2005 Gordon Rowell <gordonr@gormand.com.au> |
643 |
- [1.0.0-04gr24] |
644 |
- Add actions for install/remove/update |
645 |
- TODO: groupremove needs to pull apart the group and remove |
646 |
packages individually |
647 |
|
648 |
* Fri May 20 2005 Gordon Rowell <gordonr@gormand.com.au> |
649 |
- [1.0.0-04gr23] |
650 |
- Major cleanup of yum.pm, refactoring lots of code |
651 |
- Note: Depends on CGI::FormMagick patch from [SF:1205448] |
652 |
|
653 |
* Fri May 20 2005 Gordon Rowell <gordonr@gormand.com.au> |
654 |
- [1.0.0-04gr22] |
655 |
- Changed yum{ShowPackages} to yum{PackageFunctions} |
656 |
- Added enable/disable toggle to panel and fleshed out |
657 |
change_settings() so that the settings are saved |
658 |
- TODO: Actually signal-event yum-update |
659 |
|
660 |
* Fri May 20 2005 Gordon Rowell <gordonr@gormand.com.au> |
661 |
- [1.0.0-04gr21] |
662 |
- Change button labels for consistency |
663 |
- TODO: Deal with degenerate case where no groups exist |
664 |
|
665 |
* Fri May 20 2005 Gordon Rowell <gordonr@gormand.com.au> |
666 |
- [1.0.0-04gr20] |
667 |
- Show groups in the panel |
668 |
- Hide the ability to install/remove individual packages by default |
669 |
- To enable, set yum{ShowPackages}=yes |
670 |
- Add a tst group, courtesy of Greg Swallow |
671 |
|
672 |
* Fri May 20 2005 Gordon Rowell <gordonr@gormand.com.au> |
673 |
- [1.0.0-04gr19] |
674 |
- List available/installed/updates for yum groups as well |
675 |
- Create yum_installed db and use that instead of /var/log/rpmpkgs |
676 |
for orthogonality. We also update all three DBs with one action. |
677 |
|
678 |
* Fri May 20 2005 Gordon Rowell <gordonr@gormand.com.au> |
679 |
- [1.0.0-04gr18] |
680 |
- enablegroups for smeserver, but disable them for centos |
681 |
|
682 |
* Fri May 20 2005 Gordon Rowell <gordonr@gormand.com.au> |
683 |
- [1.0.0-04gr17] |
684 |
- For consistency, sort extras before os as well |
685 |
|
686 |
* Fri May 20 2005 Gordon Rowell <gordonr@gormand.com.au> |
687 |
- [1.0.0-04gr16] |
688 |
- Set pkgpolicy=last, put centos groups before smeserver groups, and |
689 |
ensure that the group labels are sortable |
690 |
|
691 |
* Thu May 19 2005 Gordon Rowell <gordonr@gormand.com.au> |
692 |
- [1.0.0-04gr15] |
693 |
- Comment out the smeserver parts of yum.conf for now |
694 |
|
695 |
* Thu May 19 2005 Gordon Rowell <gordonr@gormand.com.au> |
696 |
- [1.0.0-04gr14] |
697 |
- Fill in removable packages from /var/log/rpmpkgs, updated nightly |
698 |
by a cronjob in the rpm package. |
699 |
TODO: We should probably run the cron job just before displaying |
700 |
this panel |
701 |
|
702 |
* Thu May 19 2005 Gordon Rowell <gordonr@gormand.com.au> |
703 |
- [1.0.0-04gr13] |
704 |
- Rough in install/remove pages |
705 |
|
706 |
* Thu May 19 2005 Gordon Rowell <gordonr@gormand.com.au> |
707 |
- [1.0.0-04gr12] |
708 |
- Add configuration page to panel |
709 |
|
710 |
* Thu May 19 2005 Gordon Rowell <gordonr@gormand.com.au> |
711 |
- [1.0.0-04gr11] |
712 |
- Fix up conf-yum and /etc/yum.conf links |
713 |
|
714 |
* Thu May 19 2005 Gordon Rowell <gordonr@gormand.com.au> |
715 |
- [1.0.0-04gr10] |
716 |
- Clean up daily cronjobs, and check whether yum is enabled in each of them |
717 |
- Remove /var/service/yum - we don't need to run all the time |
718 |
- Make use of new templates.metadata to remove conf-yum script entirely |
719 |
|
720 |
* Thu May 19 2005 Gordon Rowell <gordonr@gormand.com.au> |
721 |
- [1.0.0-04gr09] |
722 |
- Rewrite yum.conf templates to depend on: |
723 |
sysconfig{ReleaseVersion} |
724 |
sysconfig{BaseDistro} |
725 |
sysconfig{BaseDistroVersion} |
726 |
|
727 |
* Fri May 13 2005 Gordon Rowell <gordonr@gormand.com.au> |
728 |
- [1.0.0-04gr08] |
729 |
- Initial FormMagick panel using new databases |
730 |
|
731 |
* Fri May 13 2005 Gordon Rowell <gordonr@gormand.com.au> |
732 |
- [1.0.0-04gr07] |
733 |
- And put yum_update_dbs in the right directory... |
734 |
|
735 |
* Fri May 13 2005 Gordon Rowell <gordonr@gormand.com.au> |
736 |
- [1.0.0-04gr06] |
737 |
- Add /sbin/e-smith/yum_update_dbs |
738 |
|
739 |
* Fri May 13 2005 Gordon Rowell <gordonr@gormand.com.au> |
740 |
- [1.0.0-04gr05] |
741 |
- Change db names and fix yum list updates command |
742 |
|
743 |
* Fri May 13 2005 Gordon Rowell <gordonr@gormand.com.au> |
744 |
- [1.0.0-04gr04] |
745 |
- Generate esmith::DB files from the yum output, as it's so much |
746 |
easier to deal with them later in panels, etc. |
747 |
|
748 |
* Fri May 13 2005 Gordon Rowell <gordonr@gormand.com.au> |
749 |
- [1.0.0-04gr03] |
750 |
- Change output path of yum list commands |
751 |
|
752 |
* Fri May 13 2005 Gordon Rowell <gordonr@gormand.com.au> |
753 |
- [1.0.0-04gr02] |
754 |
- Fix up init.d/supervise/yum symlink |
755 |
- Create /service symlink |
756 |
- Ensure correct permissions on supervise bits and pieces |
757 |
|
758 |
* Fri May 13 2005 Gordon Rowell <gordonr@gormand.com.au> |
759 |
- [1.0.0-04gr01] |
760 |
- Change default type for yum to service |
761 |
- Add yum{status}==enabled |
762 |
- Create /var/log/yum in build |
763 |
- Add yum service directory and startup |
764 |
|
765 |
* Mon Mar 01 2004 Darrell May <dmay@myezserver.com> |
766 |
- [1.0.0-03dmay] |
767 |
- bugfix to yum-config missing db set {Arch,Check}Repository |
768 |
* Sun Feb 29 2004 Darrell May <dmay@myezserver.com> |
769 |
|
770 |
- [1.0.0-02dmay] |
771 |
- major updates to yum panels, templates |
772 |
* Sun Feb 08 2004 Darrell May <dmay@myezserver.com> |
773 |
|
774 |
- [1.0.0-01_beta] |
775 |
- initial beta release |
776 |
- added yum-remove panel |
777 |
- updated all panels, events, actions |
778 |
* Sat Feb 07 2004 Darrell May <dmay@myezserver.com> |
779 |
|
780 |
- [0.0.1a-09] |
781 |
- added yum-post panel |
782 |
- updated yum-{update,available} panels |
783 |
- updated yum-install-{available,update} events & actions |
784 |
|
785 |
* Tue Feb 03 2004 Darrell May <dmay@myezserver.com> |
786 |
- [0.0.1a-08] |
787 |
- added pre-alpha yum-{update,available} panels |
788 |
- renamed all panels yum-panelname |
789 |
|
790 |
* Mon Feb 02 2004 Darrell May <dmay@myezserver.com> |
791 |
- [0.0.1a-07] |
792 |
- updated yum-check-repository template and action to accept --nomail commandline option |
793 |
- updated yumcheck panel to issue --nomail commandline option |
794 |
|
795 |
* Sun Feb 01 2004 Darrell May <dmay@myezserver.com> |
796 |
- [0.0.1a-06] |
797 |
- added yumcheck server-manager panel |
798 |
- updated cron.daily/yum-check-repository template |
799 |
- change log file name to yum-check-repository.log |
800 |
|
801 |
* Sat Jan 31 2004 Darrell May <dmay@myezserver.com> |
802 |
- [0.0.1a-05] |
803 |
- added yumconfig server-manager panel |
804 |
- added yum-post-{install,remove} events |
805 |
- added navigation-conf-hidden action |
806 |
|
807 |
* Mon Jan 26 2004 Darrell May <dmay@myezserver.com> |
808 |
- [0.0.1a-04] |
809 |
- moved cron.hourly actions to cron.daily |
810 |
- added yum-update event |
811 |
- added yum-arch-repository yum-check-repository actions |
812 |
- added yum-install-updates yum-install-available actions |
813 |
- removed %post entries, created db defaults |
814 |
|
815 |
* Sun Jan 25 2004 Darrell May <dmay@myezserver.com> |
816 |
- [0.0.1a-03] |
817 |
- yum-check-repository, changed to run 'yum list' |
818 |
- yum-arch-repository, added support for multiple archive repositories |
819 |
|
820 |
* Sat Jan 24 2004 Darrell May <dmay@myezserver.com> |
821 |
- [0.0.1a-02] |
822 |
- fix db typo UpdateURL to UpdatesUrl |
823 |
- added cron.hourly/yum-check-repository & yum-arch-repository |
824 |
- updated actions/conf-yum |
825 |
|
826 |
* Thu Jan 22 2004 Darrell May <dmay@myezserver.com> |
827 |
- [0.0.1a-01] |
828 |
- Original version |
829 |
|
830 |
%prep |
831 |
%setup |
832 |
%patch1 -p1 |
833 |
%patch2 -p1 |
834 |
%patch3 -p1 |
835 |
%patch4 -p1 |
836 |
%patch5 -p1 |
837 |
%patch6 -p1 |
838 |
%patch7 -p1 |
839 |
%patch8 -p1 |
840 |
%patch9 -p1 |
841 |
|
842 |
%build |
843 |
perl createlinks |
844 |
|
845 |
mkdir -p root/service |
846 |
ln -s /var/service/yum root/service/yum |
847 |
mkdir -p root/var/service/yum/supervise |
848 |
touch root/var/service/yum/down |
849 |
mkdir -p root/var/service/yum/log/supervise |
850 |
mkdir -p root/var/log/yum |
851 |
mkdir -p root/etc/yum.smerepos.d |
852 |
|
853 |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
854 |
|
855 |
%install |
856 |
/bin/rm -rf $RPM_BUILD_ROOT |
857 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
858 |
/bin/rm -f %{name}-%{version}-filelist |
859 |
/sbin/e-smith/genfilelist \ |
860 |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
861 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
862 |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
863 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
864 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
865 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
866 |
--dir /var/service/yum/log 'attr(0755,root,root)' \ |
867 |
--dir /var/service/yum/log/supervise 'attr(0700,root,root)' \ |
868 |
--dir /var/service/yum/supervise 'attr(0700,root,root)' \ |
869 |
--file /var/service/yum/log/run 'attr(0755,root,root)' \ |
870 |
--dir /var/log/yum 'attr(2750,smelog,smelog)' \ |
871 |
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist |
872 |
|
873 |
%clean |
874 |
/bin/rm -rf $RPM_BUILD_ROOT |
875 |
|
876 |
%files -f %{name}-%{version}-%{release}-filelist |
877 |
|
878 |
%defattr(-,root,root) |
879 |
|
880 |
%preun |
881 |
|
882 |
%postun |
883 |
|
884 |
%pre |
885 |
|
886 |
%post |
887 |
rm -f /etc/cron.daily/yum-arch-repository |
888 |
rm -f /etc/cron.daily/yum-check-repository |
889 |
rm -f /etc/cron.daily/yum-update-dbs |