Your message dated Sat, 29 Dec 2007 22:02:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#382812: fixed in mbr 1.1.10-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: mbr
Version: 1.1.8-1
Severity: wishlist
I've been avoiding installing 1.1.8-1 because it wants to pull in libc6-i386,
which is several megabytes of crap I don't need.
So I created the following patch to build a 64-bit install-mbr binary.
It also fixes a few compile warnings. (The = to := changes in the makefile
save a few microseconds of compile time.)
As-is, it unconditionally disables the harness directory, which isn't
needed on any architecture and can't function on a 64-bit kernel anyway.
I don't know enough about debian package construction to know how to
make that architecture-dependent.
diff -r -u mbr-1.1.8/Makefile.in mbr-1.1.8local/Makefile.in
--- mbr-1.1.8/Makefile.in 2006-08-13 10:00:33.000000000 -0400
+++ mbr-1.1.8local/Makefile.in 2006-08-13 09:52:49.000000000 -0400
@@ -67,7 +67,7 @@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
-SUBDIRS = harness
+#SUBDIRS = harness
sbin_PROGRAMS = install-mbr
install_mbr_SOURCES = install-mbr.c mbr.S86 mbr.h
install_mbr_LDADD = mbr.o y2k.o
diff -r -u mbr-1.1.8/debian/control mbr-1.1.8local/debian/control
--- mbr-1.1.8/debian/control 2006-08-13 10:00:33.000000000 -0400
+++ mbr-1.1.8local/debian/control 2006-08-13 09:51:17.000000000 -0400
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Santiago Garcia Mantinan <[EMAIL PROTECTED]>
Standards-Version: 3.7.2
-Build-Depends: bin86, libc6-dev-i386 [amd64], ia32-libs [amd64]
+Build-Depends: bin86
Package: mbr
Architecture: i386 amd64
diff -r -u mbr-1.1.8/debian/rules mbr-1.1.8local/debian/rules
--- mbr-1.1.8/debian/rules 2006-08-13 10:00:33.000000000 -0400
+++ mbr-1.1.8local/debian/rules 2006-08-13 09:50:39.000000000 -0400
@@ -1,15 +1,14 @@
#!/usr/bin/make -f
-package = mbr
-docdir = debian/tmp/usr/share/doc/$(package)
+package := mbr
+docdir := debian/tmp/usr/share/doc/$(package)
KERNEL_ARCH := $(shell uname -m)
-CC = gcc -m32
-LD = ld -melf_i386
+CC := gcc
-CFLAGS = -g -Wall -W
-INSTALL_PROGRAM = install
+CFLAGS := -g -Wall -W
+INSTALL_PROGRAM := install
ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O2
diff -r -u mbr-1.1.8/install-mbr.c mbr-1.1.8local/install-mbr.c
--- mbr-1.1.8/install-mbr.c 2006-08-13 10:00:33.000000000 -0400
+++ mbr-1.1.8local/install-mbr.c 2006-08-13 09:58:04.000000000 -0400
@@ -132,6 +132,7 @@
struct mbr_params_v1 *params;
uint ver_compat;
+ (void)quiet;
#if 0
fprintf(stderr, "Looking for params at %p\n", mbr);
#endif
@@ -172,6 +173,8 @@
static const char sig[] = MP_V2_SIG;
struct mbr_params_v2 *params = (void*)(dsc->data + offset);
+ (void)quiet;
+
/* Check the signature. */
if (memcmp(params->sig, sig, sizeof(sig)))
return NULL;
@@ -763,10 +766,8 @@
static void
install_mbr(struct data *dp)
{
- ui8_t *code, *params;
struct change_params new_params;
int mbr_fd = -1;
- size_t mbr_size;
ui8_t mbr_in[BUFFER_SIZE];
ui8_t mbr_out[BUFFER_SIZE];
struct file_desc target_orig={mbr_in, dp->target.path, 0};
@@ -1417,7 +1418,7 @@
/* flags */
0,
/* change_params structure */
- {0, 0, 0, 0, 0, 0, 0, 0xff, 0, 0xff, 0 }};
+ {0, 0, 0, 0, 0, 0, 0, 0xff, 0, 0xff, 0, 0, 0 }};
assert(MBR_SIZE==BUFFER_SIZE);
assert(Y2K_SIZE==BUFFER_SIZE);
--- End Message ---
--- Begin Message ---
Source: mbr
Source-Version: 1.1.10-1
We believe that the bug you reported is fixed in the latest version of
mbr, which is due to be installed in the Debian FTP archive:
mbr_1.1.10-1.diff.gz
to pool/main/m/mbr/mbr_1.1.10-1.diff.gz
mbr_1.1.10-1.dsc
to pool/main/m/mbr/mbr_1.1.10-1.dsc
mbr_1.1.10-1_amd64.deb
to pool/main/m/mbr/mbr_1.1.10-1_amd64.deb
mbr_1.1.10.orig.tar.gz
to pool/main/m/mbr/mbr_1.1.10.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Santiago Garcia Mantinan <[EMAIL PROTECTED]> (supplier of updated mbr package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 29 Dec 2007 20:15:27 +0100
Source: mbr
Binary: mbr
Architecture: source amd64
Version: 1.1.10-1
Distribution: unstable
Urgency: low
Maintainer: Santiago Garcia Mantinan <[EMAIL PROTECTED]>
Changed-By: Santiago Garcia Mantinan <[EMAIL PROTECTED]>
Description:
mbr - Master Boot Record for IBM-PC compatible computers.
Closes: 382812 418297 454203
Changes:
mbr (1.1.10-1) unstable; urgency=low
.
* New upstream version.
* Compile with support for large files. Closes: #418297.
* Add support for lpia architecture. Closes: #454203.
* Get a 64-bit installer where available. Closes: #382812.
Files:
eaf43c0bdfcdb71db1d3c67fbc6bac4a 587 admin optional mbr_1.1.10-1.dsc
27c3854edf80716158001eec59634972 118976 admin optional mbr_1.1.10.orig.tar.gz
9e8a022f97204bfe79e6c823c461d730 5822 admin optional mbr_1.1.10-1.diff.gz
32ac8056fed826b89ebd417b101d5529 23886 admin optional mbr_1.1.10-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHdsJ/cv3CBfajKo4RAunjAJ9+VqYWC7LMeghT4Uok5KtsHs0vEwCgkc+5
d/zoDL9NoCZbLm7sHWOcjoY=
=NS6n
-----END PGP SIGNATURE-----
--- End Message ---