/[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.40 - (show annotations) (download)
Thu Mar 22 03:58:21 2012 UTC (12 years, 2 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-yum-2_0_0-14_el4_sme
Changes since 1.39: +7 -2 lines
Enable CentOS repos using BaseURL pointing to the vault [SME: 6873]

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