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

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