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

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