/[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.25 - (show annotations) (download)
Tue Oct 7 14:47:50 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: smeserver-yum-2_0_0-1_el4_sme
Changes since 1.24: +5 -112 lines
New streams

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

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