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

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

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


Revision 1.6 - (hide annotations) (download)
Mon Dec 24 16:30:01 2007 UTC (16 years, 11 months ago) by bytegw
Branch: MAIN
CVS Tags: smeserver-yum-1_2_0-41_el5_sme
Changes since 1.5: +7 -2 lines
Updates

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

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