/[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.1 - (show annotations) (download)
Tue Jun 12 17:41:56 2007 UTC (17 years ago) by slords
Branch: MAIN
CVS Tags: smeserver-yum-1_2_0-36_el4_sme
Import on branch sme7 of package smeserver-yum-1.2.0-36.el4.sme.src.rpm

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

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