Module submission - btmgr

duncan.gibson@xs4all.nl duncan.gibson at xs4all.nl
Sun Mar 18 16:22:05 CET 2007


module name       : btmgr
suggested section : utils
update (y/n)      : n
bugfix (y/n)      : n
security (y/n)    : n

WARNING: this is COMPLETELY UNTESTED because I don't have a floppy
drive to test the creation of a boot disk, and I don't want to risk
corrupting the disk on my one and only box.  Someone with a spare
and relatively disposable machine will need to verify this.

corrected download and website URLs
added sed and patch commands to BUILD to correct problems

Note: this appears to be unsupported. the original author moved the
sources to a strange sourceforge directory (hence no SFORGE_URL in
the DETAILS file) and asked for a new maintainer in 2005.

Duncan / engelsman

-------------- next part --------------
--- btmgr/BUILD	2006-10-23 00:29:49.000000000 +0200
+++ btmgr/BUILD	2007-03-18 16:02:43.000000000 +0100
@@ -1,4 +1,9 @@
 (
+  cp $MOONBASE/zlocal/$MODULE/sbminst.patch $SOURCE_DIRECTORY &&
+  patch -p0 < sbminst.patch &&
+
+  cp $MOONBASE/zlocal/$MODULE/correct-edd30.sh $SOURCE_DIRECTORY &&
+  sh correct-edd30.sh &&
 
   make             &&
   prepare_install  &&
--- btmgr/correct-edd30.sh	1970-01-01 01:00:00.000000000 +0100
+++ btmgr/correct-edd30.sh	2007-03-18 15:51:41.000000000 +0100
@@ -0,0 +1,12 @@
+
+# this commands in this script taken from the discussion in:
+# http://www.webservertalk.com/archive291-2007-2-1786833.html
+
+mv manager/edd30.asm manager/edd30.asm.dud &&
+nasm -DSHOW_DRV_NAME -DSLOW_ATAPI_DEVICE -DCOMPRESS_SBM \
+     -DY2K_BUGFIX -DSTRICT_PART_CHECK \
+     -Imanager/ -e manager/edd30.asm.dud |
+sed -e 's/\.\. at 205\.ifnot3/.. at 205.ifnot/' \
+    -e 's/\.\. at 266\.ifnot2/.. at 266.ifnot/' \
+    -e 's/\.\. at 439\.ifnot2/.. at 439.ifnot/' \
+    -e 's/\.\. at 679\.ifnot2/.. at 679.ifnot/' > manager/edd30.asm
--- btmgr/DETAILS	2006-11-05 01:01:09.000000000 +0100
+++ btmgr/DETAILS	2007-03-18 14:17:22.000000000 +0100
@@ -3,10 +3,13 @@
           SOURCE=$MODULE-$VERSION.tar.gz
          SOURCE2=themes-3.7.tgz
          SOURCE3=user-guide-3.7.tgz
-   SOURCE_URL[0]=http://btmgr.gnuchina.org/3.7/
-  SOURCE2_URL[0]=http://btmgr.gnuchina.org/3.7/
-  SOURCE3_URL[0]=http://btmgr.gnuchina.org/3.7/
-        WEB_SITE=http://btmgr.gnuchina.org/
+   SOURCE_URL[0]=http://btmgr.sourceforge.net/3.7/
+  SOURCE2_URL[0]=http://btmgr.sourceforge.net/3.7/
+  SOURCE3_URL[0]=http://btmgr.sourceforge.net/3.7/
+      SOURCE_VFY=sha1:71087d714a2541193cf9f8bb0c7939f29273d2c1
+     SOURCE2_VFY=sha1:ccbdf62f01c1f93bc356b846cb7e05de8989e264
+     SOURCE3_VFY=sha1:3bb4f519e3f740b9191cadb4cbce72c27c407d82
+        WEB_SITE=http://btmgr.sourceforge.net
          ENTERED=20020124
          UPDATED=20020124
            SHORT="multi-langauge boot manager."
--- btmgr/sbminst.patch	1970-01-01 01:00:00.000000000 +0100
+++ btmgr/sbminst.patch	2007-03-18 16:00:21.000000000 +0100
@@ -0,0 +1,10 @@
+--- installer/sbminst.c.orig	2001-02-09 18:10:32.000000000 +0100
++++ installer/sbminst.c	2007-03-18 15:45:58.000000000 +0100
+@@ -30,6 +30,7 @@
+ #include <linux/fs.h>
+ #include <linux/hdreg.h>
+ #include <linux/fd.h>
++#include <linux/kdev_t.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <fcntl.h>
-------------- next part --------------
lvu submit btmgr cff4f593cca326f42e6f95199952fe8a  -
2.6.20.3 2.6.12 gcc-3.4.6 glibc-2.3.6


More information about the Lunar mailing list