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