/[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.16 - (show annotations) (download)
Mon Mar 31 20:05:06 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-yum-1_2_0-53_el4_sme
Changes since 1.15: +11 -1 lines
* Mon Mar 31 2008 Shad L. Lords <slords@mail.com> 1.2.0-53
- Include installonlyn plugin to manage kernels [SME: 2101]

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

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