/[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.20 - (show annotations) (download)
Sat Jul 5 17:57:46 2008 UTC (15 years, 11 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-yum-1_2_0-55_el4_sme
Changes since 1.19: +1 -1 lines
Adding more common <base> tags to e-smith-formmagick's general (fixing patches)

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

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