/[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.15 - (show annotations) (download)
Fri Mar 14 19:52:08 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
Changes since 1.14: +4 -0 lines
Specfile fix

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

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