/[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.39 - (show annotations) (download)
Sat Mar 17 02:00:24 2012 UTC (12 years, 8 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-yum-2_0_0-13_el4_sme
Changes since 1.38: +7 -2 lines
Disable CentOS base and updates repos [SME: 6868]

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

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