/[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.32 - (show annotations) (download)
Fri Apr 10 14:46:31 2009 UTC (15 years, 6 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-yum-2_0_0-6_el4_sme
Changes since 1.31: +6 -2 lines
* Fri Apr 10 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme
- Require mailx [SME: 5131]

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

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