/[smeserver]/rpms/smeserver-yum/sme8/smeserver-yum.spec
ViewVC logotype

Contents of /rpms/smeserver-yum/sme8/smeserver-yum.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Sat Jul 14 21:03:07 2007 UTC (17 years, 3 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-yum-1_2_0-37_el5_sme
Changes since 1.2: +1 -1 lines
Fix Name

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

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