/[smeserver]/rpms/smeserver-yum/sme7/smeserver-yum.spec
ViewVC logotype

Contents of /rpms/smeserver-yum/sme7/smeserver-yum.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.27 - (show annotations) (download)
Mon Oct 13 03:13:32 2008 UTC (16 years, 1 month ago) by dungog
Branch: MAIN
Changes since 1.26: +2 -2 lines
fix Summary

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed