/[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.31 - (show annotations) (download)
Mon Nov 24 16:16:18 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: smeserver-yum-2_0_0-5_el4_sme
Changes since 1.30: +10 -2 lines
Updates

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

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