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

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