rpms/yaboot/F-8 yaboot-1.3.14-bigger-max-token.patch, NONE, 1.1 yaboot.spec, 1.42, 1.43

Roman Rakus rrakus at fedoraproject.org
Thu Nov 27 15:24:28 UTC 2008


Author: rrakus

Update of /cvs/extras/rpms/yaboot/F-8
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13784

Modified Files:
	yaboot.spec 
Added Files:
	yaboot-1.3.14-bigger-max-token.patch 
Log Message:
Fix maximum token length, to fix preupgrade. Resolves: #471321

yaboot-1.3.14-bigger-max-token.patch:

--- NEW FILE yaboot-1.3.14-bigger-max-token.patch ---
diff -up yaboot-1.3.14/second/cfg.c.bigger-max-token yaboot-1.3.14/second/cfg.c
--- yaboot-1.3.14/second/cfg.c.bigger-max-token	2008-11-12 14:39:11.000000000 -0500
+++ yaboot-1.3.14/second/cfg.c	2008-11-12 14:39:17.000000000 -0500
@@ -41,7 +41,7 @@ typedef struct {
      void *data;
 } CONFIG;
 
-#define MAX_TOKEN 200
+#define MAX_TOKEN 511
 #define MAX_VAR_NAME MAX_TOKEN
 #define EOF -1
 


Index: yaboot.spec
===================================================================
RCS file: /cvs/extras/rpms/yaboot/F-8/yaboot.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- yaboot.spec	19 Dec 2007 09:39:59 -0000	1.42
+++ yaboot.spec	27 Nov 2008 15:23:58 -0000	1.43
@@ -1,7 +1,7 @@
 Summary: Linux bootloader for Power Macintosh "New World" computers.
 Name: yaboot
 Version: 1.3.13
-Release: 8%{?dist}
+Release: 9%{?dist}
 License: GPL
 Group: System Environment/Base
 Source: http://yaboot.ozlabs.org/releases/yaboot-%{version}.tar.gz
@@ -38,6 +38,7 @@
 Patch30: yaboot-1.3.12-addnote.patch
 Patch31: yaboot-1.3.13-ofpath-firewire-usb.patch
 Patch32: yaboot-1.3.13-bplan.patch
+Patch33: yaboot-1.3.14-bigger-max-token.patch
 
 URL: http://yaboot.ozlabs.org/
 BuildRoot: %{_tmppath}/%{name}-root
@@ -85,6 +86,7 @@
 %patch30 -p1 -b .addnote
 %patch31 -p1 -b .firewire
 %patch32 -p1 -b .bplan
+%patch33 -p1 -b .maxtoken
 
 %build
 make VERSIONEXTRA='\ (Red Hat %version-%release)'
@@ -120,6 +122,9 @@
 %ghost %config(noreplace) %{_sysconfdir}/yaboot.conf
 
 %changelog
+* Thu Nov 27 2008 Roman Rakus <rrakus at redhat.com> - 1.3.13-9
+- Fix maximum token length, to fix preupgrade (#471321)
+
 * Wed Nov 28 2007 David Woodhouse <dwmw2 at redhat.com> - 1.3.13-8
 - Correct default config file location on Efika
 - Disable new USB bindings in efika.forth for now




More information about the scm-commits mailing list