[PATCH] GRUB2: Fix http IO handler to report protocol level errors

2014-11-12 Thread Ilya Bakulin
1132d2731999721c6a2e74f8ef63f984164d7b86 Mon Sep 17 00:00:00 2001 From: Ilya Bakulin ib...@genua.de Date: Wed, 12 Nov 2014 16:30:19 +0100 Subject: [PATCH] GRUB2: Fix http IO handler to report protocol level errors Although the code that processes the HTTP headers is able to detect file not found and other

[PATCH] A couple of fixes for OpenBSD

2013-10-09 Thread Ilya Bakulin
Hi, attached is a small fix for getroot.c to make the conversion between partition names and drive names work correctly on OpenBSD. After applying this and previous patch, I am able to build GRUB2 both on 5.3/amd64 and 5.3/i386 and invoke grub-install, and the GRUB2 gets installed in the MBR

Re: [PATCH] A couple of fixes for OpenBSD

2013-10-09 Thread Ilya Bakulin
On Wednesday 09 October 2013 12:22:31 Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 09.10.2013 11:39, Ilya Bakulin wrote: Hi, attached is a small fix for getroot.c to make the conversion between partition names and drive names work correctly on OpenBSD. This patch looks like one

Re: GRUB2 on OpenBSD 5.3-amd64: linking problem

2013-10-07 Thread Ilya Bakulin
On Monday 23 September 2013 18:16:15 Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 23.09.2013 17:59, Ilya Bakulin wrote: Hi Vladimir, So I'm preparing a OpenBSD port of GRUB2. I have chosen a revision 5152 for the initial version of the port. I already did couple revisions ago. After

Re: GRUB2 on OpenBSD 5.3-amd64: linking problem

2013-09-23 Thread Ilya Bakulin
Hi Vladimir, So I'm preparing a OpenBSD port of GRUB2. I have chosen a revision 5152 for the initial version of the port. Unfortunately, the build fails when using -Werror. I suspect that the ports framework overrides some values that are usually guessed by ./configure, and this causes build to

Re: GRUB2 on OpenBSD 5.3-amd64: linking problem

2013-08-23 Thread Ilya Bakulin
On Friday 23 August 2013 11:31:06 Vladimir 'φ-coder/phcoder' Serbinenko wrote: There is a warning about random generator not being secure in util/grub-mkpasswd-pbkdf2.c, which may be supressed by adding ! defined (__OpenBSD__) to the defines list. To do this we need a confirmation that

Re: GRUB2 on OpenBSD 5.3-amd64: linking problem

2013-08-16 Thread Ilya Bakulin
Hi Vladimir, so I'm trying the latest version from BZR now. Running ./configure without CFLAGS succeeds now, thanks! On Wednesday 14 August 2013 18:28:45 Vladimir 'φ-coder/phcoder' Serbinenko wrote: #ifdef __OpenBSD__ #define mbstate_t grub_posix_mbstate_t #endif Yes, this seems to help!

Re: GRUB2 on OpenBSD 5.3-amd64: linking problem

2013-08-14 Thread Ilya Bakulin
On Wednesday 14 August 2013 10:59:24 Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 13.08.2013 23:03, Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 09.08.2013 15:37, Ilya Bakulin wrote: Could you please help me to solve the linking problem? What else do you need from me? Sounds like

Re: GRUB2 on OpenBSD 5.3-amd64: linking problem

2013-08-14 Thread Ilya Bakulin
Hi, On Wednesday 14 August 2013 15:49:03 Grégoire Sutre wrote: On 08/14/2013 03:31 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: You need to modify following: #ifndef __APPLE__ typedef grub_size_t size_t; #else #include stddef.h #endif to #if !defined (__APPLE__) !defined