--- mbr-1.1.5.orig/debian/README-1st.Debian +++ mbr-1.1.5/debian/README-1st.Debian @@ -0,0 +1,20 @@ +mbr for Debian +-------------- + +This package used to consist essentialy of the file /boot/mbr.b, which was +used by the `lilo' package. Now this has changed and the lilo package uses +the install-mbr program to install our mbr if you want it. + +You can also use the install-mbr by yourself, even to put our mbr on +machines that don't have Debian or Linux at all, as our mbr is capable of +loading other OS loaders, and being small it has some nice things, like our +prompt allowing us to boot from different drives/partitions, or now the Y2K +patch for some buggy BIOSes. + +The README file included in this directory is from the source package and it +is included here for completeness, you don't have to follow what it says if +you are letting liloconfig install the mbr for you, but if you want to +install the mbr by yourself you should give it a look. + +If you want to see how the mbr interacts with lilo, see +/usr/sbin/liloconfig. --- mbr-1.1.5.orig/debian/control +++ mbr-1.1.5/debian/control @@ -0,0 +1,14 @@ +Source: mbr +Section: base +Priority: optional +Maintainer: Santiago Garcia Mantinan +Standards-Version: 3.6.1 +Build-Depends: bin86 + +Package: mbr +Architecture: i386 +Depends: ${shlibs:Depends} +Description: Master Boot Record for IBM-PC compatible computers. + This is used in booting Linux from the hard disk. + The MBR runs first, then transfers control to LILO, which transfers + control to the Linux kernel. --- mbr-1.1.5.orig/debian/changelog +++ mbr-1.1.5/debian/changelog @@ -0,0 +1,99 @@ +mbr (1.1.5-2) unstable; urgency=low + + * The "we are no longer required for anything" release. + * Updated Standards-Version to 3.6.1 thanks to Santiago Vila. + * Lowered priority to optional. Closes: #169492. + + -- Santiago Garcia Mantinan Sat, 29 May 2004 13:16:27 +0200 + +mbr (1.1.5-1) unstable; urgency=low + + * New upstream version. + + -- Santiago Garcia Mantinan Mon, 17 Sep 2001 12:12:17 +0200 + +mbr (1.1.4-1) unstable; urgency=low + + * New upstream version, extends the maximum time limit. Closes #95528. + + -- Santiago Garcia Mantinan Wed, 25 Jul 2001 12:23:36 +0200 + +mbr (1.1.3-1) unstable; urgency=low + + * New maintainer. + * New upstream version, includes my Y2K fix for some buggy BIOSes. + * Removed /boot/mbr.b as now lilo uses install-mbr to install it. + + -- Santiago Garcia Mantinan Wed, 11 Apr 2001 21:46:34 +0200 + +mbr (1.1.2-2) unstable; urgency=low + + * Added a Depends: line (because of the install-mbr program). + * Build-Depends: bin86. + + -- Santiago Vila Sat, 9 Sep 2000 19:01:54 +0200 + +mbr (1.1.2-1) frozen unstable; urgency=low + + * Installed upstream ChangeLog in the doc directory. + * Fixed install-mbr manpage (Bug #58799). + * Added set -e to prerm and postinst. + * New upstream release: The MBR now prints out the string "MBR" to show + it's presence. Initial logo code by Tom Rothamel (Bug #56973). + + -- Santiago Vila Fri, 3 Mar 2000 20:32:35 +0100 + +mbr (1.1.1-1) unstable; urgency=low + + * Standards-Version: 3.1.1. + * New upstream release, featuring: + - Added support for accessing large disks (>8G). + - Added the install-mbr utility. + + -- Santiago Vila Thu, 13 Jan 2000 12:18:39 +0100 + +mbr (1.0.1-1) unstable; urgency=low + + * New upstream release, containing a lot of fixes + from Kalle Olavi Niemitalo . + + -- Santiago Vila Tue, 21 Sep 1999 11:48:57 +0200 + +mbr (1.0.0-7) unstable; urgency=low + + * Updated source URL in copyright file (Bug #34874). + * Pristine source. + + -- Santiago Vila Wed, 7 Apr 1999 17:19:51 +0200 + +mbr (1.0.0-6) unstable; urgency=low + + * Allow building with both old and new as86 (thanks to Juan Cespedes). + * Removed debstd dependency. + * Compressed changelog.Debian. + * New maintainer. + + -- Santiago Vila Fri, 12 Dec 1997 13:45:35 +0100 + +mbr (1.0.0-5) unstable; urgency=low + + * Rebuilt with debmake 3.2.0 to change md5sums filename. + + -- Santiago Vila Wed, 19 Feb 1997 21:44:28 +0100 + +mbr (1.0.0-4) unstable; urgency=low + + * Remade .orig source from original HTTP site. There was a missing file. + * Rewritten using debmake. This fixes a typo in Standards Version + number, makes debian/rules clean target to actually remove + debian/files, copies changelog.Debian to /usr/doc/mbr and + adds MD5 sums automatically. + * Added README-1st.Debian, following a suggestion by Ian Jackson. + + -- Santiago Vila Sat, 15 Feb 1997 18:48:48 +0100 + +mbr (1.0.0-3) unstable; urgency=low + + * Upgraded to new packaging standards. + + -- Shaya Potter Thu, 23 Jan 1997 13:16:08 -0500 --- mbr-1.1.5.orig/debian/rules +++ mbr-1.1.5/debian/rules @@ -0,0 +1,66 @@ +#!/usr/bin/make -f + +package = mbr +docdir = debian/tmp/usr/share/doc/$(package) + +CC = gcc +CFLAGS = -g -Wall +INSTALL_PROGRAM = install + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +build: + $(checkdir) + ./configure --prefix=/ + $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" + touch build + +clean: + $(checkdir) + rm -f build + -$(MAKE) distclean + rm -f `find . -name "*~"` + rm -rf debian/tmp debian/files* core debian/substvars + +binary-indep: checkroot build + $(checkdir) + +binary-arch: checkroot build + $(checkdir) + rm -rf debian/tmp + install -d debian/tmp/DEBIAN $(docdir) + $(MAKE) install prefix=`pwd`/debian/tmp \ + INSTALL_PROGRAM="$(INSTALL_PROGRAM)" +# cd debian/tmp && install -d boot +# install -m 644 mbr.b debian/tmp/boot + cp -p ChangeLog $(docdir)/changelog + cp -p debian/changelog $(docdir)/changelog.Debian + cp -p README NEWS debian/README-1st.Debian debian/copyright $(docdir) + cp -p AUTHORS $(docdir) + cd $(docdir) && gzip -9 changelog changelog.Debian + gzip -r9 debian/tmp/man + mv debian/tmp/man debian/tmp/usr/share + dpkg-shlibdeps debian/tmp/sbin/* + dpkg-gencontrol -isp + cd debian/tmp && \ + md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums + chown -R root:root debian/tmp + chmod -R go=rX debian/tmp + dpkg --build debian/tmp .. + +define checkdir + test -f $(package).S86 -a -f debian/rules +endef + +binary: binary-indep binary-arch + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary binary-arch binary-indep clean checkroot --- mbr-1.1.5.orig/debian/copyright +++ mbr-1.1.5/debian/copyright @@ -0,0 +1,31 @@ +This is Debian GNU/Linux's prepackaged version of the MBR Master Boot +Record for IBM PC compatible computers, by Neil Turton. MBR is used +in conjunction with other boot loaders such as LILO and the DOS boot +loader, which are installed on hard disk partitions. MBR makes it possible +to select one of these partition boot loaders for booting. + +The author of this program is Neil Turton . + +This package was first put together by Bruce Perens , +then it was maintained by Santiago Vila and it is +currently maintained by Santiago García Mantiñán . + +The source for this release was taken from: + +http://www.chiark.greenend.org.uk/~neilt/mbr/ + +Program Copyright (C) 1995, 1999-2001 Neil Turton. +Modifications for Debian GNU/Linux Copyright (C) 1995 Bruce Perens. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'.