summaryrefslogtreecommitdiff
path: root/sysutils/grub
diff options
context:
space:
mode:
authormagick <magick>2002-04-11 19:53:25 +0000
committermagick <magick>2002-04-11 19:53:25 +0000
commit740652e80af67e0b93c1ea51c0d45ef107de9ad0 (patch)
treedc99e6b5be105771e6853438774b9ffb5f18f93d /sysutils/grub
parent790bad867f027665bbc6d72616fafa6b205301c2 (diff)
downloadpkgsrc-740652e80af67e0b93c1ea51c0d45ef107de9ad0.tar.gz
Import new package grub. Submitted by jgoerzen@complete.org in
pkg/15065. I updated it to 0.91 and removed patch-aa which the submitter already sent to the grub people. GRUB is the GRand Unified Bootloader. Briefly, bootloader is the first software program that runs when a computer starts. It is responsible for loading and transferring control to the operating system kernel software (such as NetBSD orLinux). GRUB understands ffs, FAT{16,32}, ext2fs, ReiserFS, minixfs, and VSTafs. It can directly boot NetBSD, FreeBSD, OpenBSD and Linux without any other bootloader, loading a.out and ELF kernels from the disk and passing along necessary arguments (in most cases). It can also boot any operating system (the above, plus eg Windows, OS/2) by chaining to that operating system's specific loader. Grub features a runtime command line and loads its configuration at boot rather than requiring rerunning of a separate utility. Other features are TFTP booting, serial console support, large disk support, support for both DOS MBR label and BSD disklabel simultaneously, booting from hard drive or floppy. GRUB is available for the i386 architecture only.
Diffstat (limited to 'sysutils/grub')
-rw-r--r--sysutils/grub/DESCR15
-rw-r--r--sysutils/grub/MESSAGE10
-rw-r--r--sysutils/grub/Makefile18
-rw-r--r--sysutils/grub/PLIST30
-rw-r--r--sysutils/grub/distinfo4
5 files changed, 77 insertions, 0 deletions
diff --git a/sysutils/grub/DESCR b/sysutils/grub/DESCR
new file mode 100644
index 00000000000..fd2f136bd07
--- /dev/null
+++ b/sysutils/grub/DESCR
@@ -0,0 +1,15 @@
+GRUB is the GRand Unified Bootloader. Briefly, bootloader is the first
+software program that runs when a computer starts. It is responsible for
+loading and transferring control to the operating system kernel software
+(such as NetBSD orLinux). GRUB understands ffs, FAT{16,32}, ext2fs,
+ReiserFS, minixfs, and VSTafs. It can directly boot NetBSD, FreeBSD,
+OpenBSD and Linux without any other bootloader, loading a.out and ELF
+kernels from the disk and passing along necessary arguments (in most cases).
+It can also boot any operating system (the above, plus eg Windows, OS/2) by
+chaining to that operating system's specific loader. Grub features a
+runtime command line and loads its configuration at boot rather than
+requiring rerunning of a separate utility. Other features are TFTP booting,
+serial console support, large disk support, support for both DOS MBR label
+and BSD disklabel simultaneously, booting from hard drive or floppy.
+
+GRUB is available for the i386 architecture only.
diff --git a/sysutils/grub/MESSAGE b/sysutils/grub/MESSAGE
new file mode 100644
index 00000000000..541f1799085
--- /dev/null
+++ b/sysutils/grub/MESSAGE
@@ -0,0 +1,10 @@
+Because NetBSD already uses /boot for a different purpose, this version of
+GRUB has been compiled to look in /grub for its files (specifically,
+menu.lst and the loaders). If your root filesystem is of a type not
+supported directly by grub (eg, lfs), you may have difficulties. See the
+info docs for more details.
+
+GRUB is not actually installed on your disk until you run a command such as
+ grub-install /dev/wd0d
+or
+ grub-install '(hd0)'
diff --git a/sysutils/grub/Makefile b/sysutils/grub/Makefile
new file mode 100644
index 00000000000..f3245fccaf2
--- /dev/null
+++ b/sysutils/grub/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/11 19:53:25 magick Exp $
+#
+
+DISTNAME= grub-0.91
+CATEGORIES= sysutils
+MASTER_SITES= ftp://alpha.gnu.org/gnu/grub/
+
+MAINTAINER= jgoerzen@complete.org
+HOMEPAGE= http://www.gnu.org/software/grub/
+COMMENT= GRand Unified Bootloader -- Boots *BSD, Linux, groks ffs, FAT, ext2
+
+ONLY_FOR_PLATFORM= NetBSD-1.5[Y-Z]*-i386 NetBSD-1.[6-9]*-i386
+
+GNU_CONFIGURE= YES
+USE_GMAKE= YES
+
+.include "../../devel/ncurses/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/grub/PLIST b/sysutils/grub/PLIST
new file mode 100644
index 00000000000..9fe13ba3c5a
--- /dev/null
+++ b/sysutils/grub/PLIST
@@ -0,0 +1,30 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/11 19:53:25 magick Exp $
+bin/mbchk
+@unexec install-info --delete --info-dir=%D/info %D/info/grub.info
+info/grub.info
+info/grub.info-1
+info/grub.info-2
+info/grub.info-3
+@unexec install-info --delete --info-dir=%D/info %D/info/multiboot.info
+info/multiboot.info
+man/man1/mbchk.1
+man/man8/grub-install.8
+man/man8/grub-md5-crypt.8
+man/man8/grub.8
+sbin/grub
+sbin/grub-install
+sbin/grub-md5-crypt
+share/grub/${MACHINE_ARCH}-/e2fs_stage1_5
+share/grub/${MACHINE_ARCH}-/fat_stage1_5
+share/grub/${MACHINE_ARCH}-/ffs_stage1_5
+share/grub/${MACHINE_ARCH}-/jfs_stage1_5
+share/grub/${MACHINE_ARCH}-/minix_stage1_5
+share/grub/${MACHINE_ARCH}-/reiserfs_stage1_5
+share/grub/${MACHINE_ARCH}-/stage1
+share/grub/${MACHINE_ARCH}-/stage2
+share/grub/${MACHINE_ARCH}-/vstafs_stage1_5
+share/grub/${MACHINE_ARCH}-/xfs_stage1_5
+@exec install-info --info-dir=%D/info %D/info/grub.info
+@exec install-info --info-dir=%D/info %D/info/multiboot.info
+@dirrm share/grub/${MACHINE_ARCH}-
+@dirrm share/grub
diff --git a/sysutils/grub/distinfo b/sysutils/grub/distinfo
new file mode 100644
index 00000000000..647e39f2278
--- /dev/null
+++ b/sysutils/grub/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/11 19:53:25 magick Exp $
+
+SHA1 (grub-0.91.tar.gz) = 9596380a9228123b63e85a62c9c8cfc2871bf552
+Size (grub-0.91.tar.gz) = 867276 bytes