/[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.18 - (show annotations) (download)
Mon Apr 28 19:14:50 2008 UTC (16 years, 6 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-yum-1_2_0-54_el4_sme
Changes since 1.17: +2 -2 lines
Add updated e-smith-formmagick requirement

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

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