/[smeserver]/rpms/smeserver-yum/sme8/smeserver-yum.spec
ViewVC logotype

Contents of /rpms/smeserver-yum/sme8/smeserver-yum.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.21 - (show annotations) (download)
Tue Jul 22 20:47:12 2008 UTC (16 years, 3 months ago) by slords
Branch: MAIN
Changes since 1.20: +1 -2 lines
Fix linewrap

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

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