pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/grub Apply an optional patch for eltorito sup...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6dbaa8650d41
branches:  trunk
changeset: 474228:6dbaa8650d41
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon Apr 26 15:42:44 2004 +0000

description:
Apply an optional patch for eltorito support, so you can boot grub
via a cdrom. It can be enabled with the option "GRUB_ISO9660" and
is disabled by default.

diffstat:

 sysutils/grub/Makefile |  22 +++++++++++++++++++++-
 sysutils/grub/PLIST    |   4 +++-
 sysutils/grub/distinfo |   4 +++-
 3 files changed, 27 insertions(+), 3 deletions(-)

diffs (82 lines):

diff -r 89b64cd31416 -r 6dbaa8650d41 sysutils/grub/Makefile
--- a/sysutils/grub/Makefile    Mon Apr 26 14:58:33 2004 +0000
+++ b/sysutils/grub/Makefile    Mon Apr 26 15:42:44 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2004/03/10 01:25:23 seb Exp $
+# $NetBSD: Makefile,v 1.23 2004/04/26 15:42:44 xtraeme Exp $
 #
 
 DISTNAME=      grub-0.94
@@ -24,6 +24,7 @@
 BUILD_DEFS+=           GRUB_NETWORK_CARDS
 BUILD_DEFS+=           GRUB_PRESET_COMMAND
 BUILD_DEFS+=           GRUB_SCAN_ARGS
+BUILD_DEFS+=           GRUB_ISO9660
 
 .if defined(GRUB_NETWORK_CARDS)
 CONFIGURE_ARGS+=       --enable-diskless
@@ -52,6 +53,25 @@
 CONFIGURE_ARGS+=       ${GRUB_SCAN_ARGS}
 .endif
 
+# eltorito support for GRUB
+.if defined(GRUB_ISO9660)
+CONFIGURE_ARGS+=       --enable-iso9660
+PATCHFILES+=           grub-0.94-iso9660.diff
+PATCH_SITES+=          ftp://ftp.netbsd.org/pub/NetBSD/misc/xtraeme/   
+
+PLIST_SUBST+=          ISO9660=
+
+pre-configure:
+       cd ${WRKSRC};                                           \
+       ${ACLOCAL};                                             \
+       ${AUTOHEADER};                                          \
+       ${AUTOMAKE} -a --foreign -i;                            \
+       ${AUTOCONF}
+.include "../../mk/automake.mk"
+.else
+PLIST_SUBST+=          ISO9660="@comment "
+.endif
+
 .include "../../devel/binutils/buildlink3.mk"
 .include "../../devel/ncurses/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 89b64cd31416 -r 6dbaa8650d41 sysutils/grub/PLIST
--- a/sysutils/grub/PLIST       Mon Apr 26 14:58:33 2004 +0000
+++ b/sysutils/grub/PLIST       Mon Apr 26 15:42:44 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2004/03/10 01:25:23 seb Exp $
+@comment $NetBSD: PLIST,v 1.8 2004/04/26 15:42:44 xtraeme Exp $
 bin/mbchk
 man/man1/mbchk.1
 man/man8/grub-install.8
@@ -13,6 +13,7 @@
 share/grub/${MACHINE_ARCH}-/e2fs_stage1_5
 share/grub/${MACHINE_ARCH}-/fat_stage1_5
 share/grub/${MACHINE_ARCH}-/ffs_stage1_5
+${ISO9660}share/grub/${MACHINE_ARCH}-/iso9660_stage1_5
 share/grub/${MACHINE_ARCH}-/jfs_stage1_5
 share/grub/${MACHINE_ARCH}-/minix_stage1_5
 ${NETBOOT}share/grub/${MACHINE_ARCH}-/nbgrub
@@ -20,6 +21,7 @@
 share/grub/${MACHINE_ARCH}-/reiserfs_stage1_5
 share/grub/${MACHINE_ARCH}-/stage1
 share/grub/${MACHINE_ARCH}-/stage2
+${ISO9660}share/grub/${MACHINE_ARCH}-/stage2_eltorito
 share/grub/${MACHINE_ARCH}-/vstafs_stage1_5
 share/grub/${MACHINE_ARCH}-/xfs_stage1_5
 @dirrm share/grub/${MACHINE_ARCH}-
diff -r 89b64cd31416 -r 6dbaa8650d41 sysutils/grub/distinfo
--- a/sysutils/grub/distinfo    Mon Apr 26 14:58:33 2004 +0000
+++ b/sysutils/grub/distinfo    Mon Apr 26 15:42:44 2004 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.8 2004/01/29 18:36:38 jmmv Exp $
+$NetBSD: distinfo,v 1.9 2004/04/26 15:42:44 xtraeme Exp $
 
 SHA1 (grub-0.94.tar.gz) = 12e0a2b7b6ee998232b057a8182ae54c33a6e0c5
 Size (grub-0.94.tar.gz) = 923518 bytes
+SHA1 (grub-0.94-iso9660.diff) = dcfb9c5701d3ace112d91f2c498263e9c6cba97a
+Size (grub-0.94-iso9660.diff) = 51623 bytes
 SHA1 (patch-aa) = f2b6a1c0ec11c1c01f39bf6241291fc0c3879e34
 SHA1 (patch-ab) = 274f05f518de51b708102ec853641e237fd40990
 SHA1 (patch-ai) = 61d81c9b4f1bbec6e9bd1f922f1a88cd7a02a8ba



Home | Main Index | Thread Index | Old Index