/[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.14 - (show annotations) (download)
Fri Mar 14 18:02:47 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
Changes since 1.13: +6 -1 lines
* Fri Mar 14 2008 Shad L. Lords <slords@mail.com> 1.2.0-51
- Clean up "rpm -qa" warnings in yum wrapper [SME: 4052]

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

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