/[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.5 - (show annotations) (download)
Tue Dec 11 23:40:36 2007 UTC (16 years, 6 months ago) by bytegw
Branch: MAIN
CVS Tags: smeserver-yum-1_2_0-40_el4_sme
Changes since 1.4: +6 -2 lines
Updates

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

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