rpms/yaboot/F-9 yaboot-1.3.14-bigger-max-token.patch, NONE, 1.1 yaboot.spec, 1.53, 1.54

Roman Rakus rrakus at fedoraproject.org
Thu Nov 27 14:27:33 UTC 2008


Author: rrakus

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

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-9/yaboot.spec,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- yaboot.spec	17 Apr 2008 17:37:23 -0000	1.53
+++ yaboot.spec	27 Nov 2008 14:27:03 -0000	1.54
@@ -1,7 +1,7 @@
 Summary: Linux bootloader for Power Macintosh "New World" computers.
 Name: yaboot
 Version: 1.3.13
-Release: 12%{?dist}
+Release: 13%{?dist}
 License: GPL
 Group: System Environment/Base
 Source: http://yaboot.ozlabs.org/releases/yaboot-%{version}.tar.gz
@@ -39,6 +39,7 @@
 Patch31: yaboot-1.3.13-ofpath-firewire-usb.patch
 Patch32: yaboot-1.3.13-bplan.patch
 Patch33: yaboot-1.3.13-libext2fs.patch
+Patch34: yaboot-1.3.14-bigger-max-token.patch
 
 URL: http://yaboot.ozlabs.org/
 BuildRoot: %{_tmppath}/%{name}-root
@@ -88,6 +89,7 @@
 %patch31 -p1 -b .firewire
 %patch32 -p1 -b .bplan
 %patch33 -p1 -b .libext2fs
+%patch34 -p1 -b .maxtoken
 
 %build
 make VERSIONEXTRA='\ (Red Hat %version-%release)'
@@ -123,6 +125,9 @@
 %ghost %config(noreplace) %{_sysconfdir}/yaboot.conf
 
 %changelog
+* Thu Nov 27 2008 Roman Rakus <rrakus at redhat.com> - 1.3.13-13
+- Fix maximum token length, to fix preupgrade (#471321)
+
 * Thu Apr 17 2008 David Woodhouse <dwmw2 at redhat.com> - 1.3.13-12
 - Use system libext2fs.a instead of binary copy from tarball (#442904)
 




More information about the fedora-extras-commits mailing list