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

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