summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2004-01-25 18:13:50 +0000
committerSeemant Kulleen <seemant@gentoo.org>2004-01-25 18:13:50 +0000
commit11839cc5a4b1db3ec5168cf0f0ded1dd392d792f (patch)
tree7b93caa9d17f6f00c29eb786055c4a256c9df606 /sys-boot
parentnew version of the Ximian patchset (diff)
downloadhistorical-11839cc5a4b1db3ec5168cf0f0ded1dd392d792f.tar.gz
historical-11839cc5a4b1db3ec5168cf0f0ded1dd392d792f.tar.bz2
historical-11839cc5a4b1db3ec5168cf0f0ded1dd392d792f.zip
new cvs snapshots of grub. Both have the acl/ext2 and acl/ext3 issues sorted out. I'll be adding another snapshot to take advantage of the SuSE prettiness capabilities to grub. This should close bug #30859 by Chris PeBenito <pebenito@gentoo.org>
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/grub/ChangeLog13
-rw-r--r--sys-boot/grub/Manifest12
-rw-r--r--sys-boot/grub/files/digest-grub-0.93.200312221
-rw-r--r--sys-boot/grub/files/digest-grub-0.93.200401251
-rw-r--r--sys-boot/grub/grub-0.93.20031222.ebuild125
-rw-r--r--sys-boot/grub/grub-0.93.20040125.ebuild125
6 files changed, 271 insertions, 6 deletions
diff --git a/sys-boot/grub/ChangeLog b/sys-boot/grub/ChangeLog
index 9f79bcffe4f3..c91b36f5da54 100644
--- a/sys-boot/grub/ChangeLog
+++ b/sys-boot/grub/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for sys-boot/grub
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.4 2003/12/16 05:37:35 seemant Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.5 2004/01/25 18:13:50 seemant Exp $
+
+*grub-0.93.20031222 (25 Jan 2004)
+
+ 25 Jan 2004; Seemant Kulleen <seemant@gentoo.org> grub-0.93.20031222.ebuild,
+ grub-0.93.20040125.ebuild:
+ new cvs snapshots of grub. Both have the acl/ext2 and acl/ext3 issues sorted
+ out. I'll be adding another snapshot to take advantage of the SuSE prettiness
+ capabilities to grub. This should close bug #30859 by Chris PeBenito
+ <pebenito@gentoo.org>
15 Dec 2003; Seemant Kulleen <seemant@gentoo.org> grub-0.93.20030118.ebuild:
Added autoconf to compile dependencies, closing bug #33321 by Scott Taylor
diff --git a/sys-boot/grub/Manifest b/sys-boot/grub/Manifest
index 3e617ac910f2..9fbac5a1fdfb 100644
--- a/sys-boot/grub/Manifest
+++ b/sys-boot/grub/Manifest
@@ -1,8 +1,12 @@
+MD5 90a586f628c8972bcf8c213bea95a19a grub-0.92-r1.ebuild 2544
+MD5 30e60648f2d34a0fa4bdc82ba7744a6a grub-0.93.20040125.ebuild 3424
+MD5 eb6e09366d3dc4b2652d938b8f900647 grub-0.93.20031222.ebuild 3424
+MD5 c1d2441189966c9f3a322ce41f2ba0ac ChangeLog 7640
+MD5 d04437db395a6b8dc86d22a86592e8f1 grub-0.93.20030118.ebuild 2441
+MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 cdd6c89d48982ecd544c0b4774755afd files/splash.xpm.gz 33856
MD5 b302edf756d9f8996d9e1ae6d3a49768 files/digest-grub-0.93.20030118 1764
+MD5 ab313df0ff3caf5f6d6c6245662a5a8e files/digest-grub-0.93.20031222 71
+MD5 34aeeeb59233ead1d215b463e3d4ab78 files/digest-grub-0.93.20040125 71
MD5 16039704cf1e6b6f46b4413532af082c files/digest-grub-0.92-r1 133
MD5 8d898cd9d1928916596cc3f9883eac67 files/grub-0.93-gcc3.3.diff 639
-MD5 90a586f628c8972bcf8c213bea95a19a grub-0.92-r1.ebuild 2544
-MD5 9cdf8546dfbcf250a29f0c4841f620a4 ChangeLog 7242
-MD5 d04437db395a6b8dc86d22a86592e8f1 grub-0.93.20030118.ebuild 2441
-MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
diff --git a/sys-boot/grub/files/digest-grub-0.93.20031222 b/sys-boot/grub/files/digest-grub-0.93.20031222
new file mode 100644
index 000000000000..c88853e0aa59
--- /dev/null
+++ b/sys-boot/grub/files/digest-grub-0.93.20031222
@@ -0,0 +1 @@
+MD5 11102d53a1fedd1bda10a1032f9072e2 grub-0.93.20031222.tar.bz2 718937
diff --git a/sys-boot/grub/files/digest-grub-0.93.20040125 b/sys-boot/grub/files/digest-grub-0.93.20040125
new file mode 100644
index 000000000000..b3573f29f234
--- /dev/null
+++ b/sys-boot/grub/files/digest-grub-0.93.20040125
@@ -0,0 +1 @@
+MD5 5e6991f7ec993f02b7d7f1dd97dc7cd2 grub-0.93.20040125.tar.bz2 719839
diff --git a/sys-boot/grub/grub-0.93.20031222.ebuild b/sys-boot/grub/grub-0.93.20031222.ebuild
new file mode 100644
index 000000000000..823f23658eac
--- /dev/null
+++ b/sys-boot/grub/grub-0.93.20031222.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.93.20031222.ebuild,v 1.1 2004/01/25 18:13:50 seemant Exp $
+
+inherit mount-boot eutils flag-o-matic
+
+filter-flags "-fstack-protector"
+
+IUSE="static"
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="GNU GRUB boot loader"
+HOMEPAGE="http://www.gnu.org/software/grub/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="-* ~x86"
+
+DEPEND=">=sys-libs/ncurses-5.2-r5
+ >=sys-devel/autoconf-2.5"
+
+PROVIDE="virtual/bootloader"
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S} || die
+ # grub-0.93.20030118-gentoo.diff; <woodchip@gentoo.org> (18 Jan 2003)
+ # -fixes from grub CVS pulled on 20030118
+ # -vga16 patches; mined from Debian's grub-0.93+cvs20030102-1.diff
+ # -special-raid-devices.patch
+ # -addsyncs.patch
+ # -splashimagehelp.patch
+ # -configfile.patch
+ # -installcopyonly.patch
+
+ # This patchset is from SuSE -- hopefully fixes the acl symlink issue
+ # And should add some boot prettification
+# epatch ${WORKDIR}/${PF}-gentoo.diff
+# epatch ${FILESDIR}/${P}-test.patch
+}
+
+src_compile() {
+ ### i686-specific code in the boot loader is a bad idea; disabling to ensure
+ ### at least some compatibility if the hard drive is moved to an older or
+ ### incompatible system.
+ unset CFLAGS
+
+ append-flags "-DNDEBUG -minline-all-stringops"
+ use static && export LDFLAGS="${LDFLAGS} -static"
+
+ # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml
+ if has_version 'sys-devel/hardened-gcc' && [ "${CC}"="gcc" ]
+ then
+ # the configure script has problems with -nostdlib
+ CC="${CC} -yet_exec -yno_propolice"
+ fi
+
+ autoconf || die
+ aclocal || die
+ automake || die
+
+ # build the net-bootable grub first
+ CFLAGS="" \
+ econf \
+ --datadir=/usr/lib/grub \
+ --exec-prefix=/ \
+ --disable-auto-linux-mem-opt \
+ --enable-diskless \
+ --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \
+ --enable-{epic100,exos205,ni5210,lance,ne2100,ni{50,65}10,natsemi} \
+ --enable-{ne,ns8390,wd,otulip,rtl8139,sis900,sk-g16,smc9000,tiara} \
+ --enable-{tulip,via-rhine,w89c840} || die
+
+ emake w89c840_o_CFLAGS="-O" || die "making netboot stuff"
+
+ mv stage2/{nbgrub,pxegrub} ${S}
+ mv stage2/stage2 stage2/stage2.netboot
+
+ make clean || die
+
+ # now build the regular grub
+ CFLAGS="${CFLAGS}" \
+ econf \
+ --datadir=/usr/lib/grub \
+ --exec-prefix=/ \
+ --disable-auto-linux-mem-opt || die
+ emake || die "making regular stuff"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ exeinto /usr/lib/grub
+ doexe nbgrub pxegrub stage2/stage2 stage2/stage2.netboot
+
+ insinto /boot/grub
+ doins ${FILESDIR}/splash.xpm.gz
+ newins docs/menu.lst grub.conf.sample
+
+ dodoc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
+ newdoc docs/menu.lst grub.conf.sample
+}
+
+pkg_postinst() {
+ [ "$ROOT" != "/" ] && return 0
+ /sbin/grub-install --just-copy
+
+ # change menu.lst to grub.conf
+ if [ ! -e /boot/grub/grub.conf -a -e /boot/grub/menu.lst ]
+ then
+ mv /boot/grub/menu.lst /boot/grub/grub.conf
+ ln -s grub.conf /boot/grub/menu.lst
+ ewarn
+ ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf"
+ ewarn
+ fi
+
+ [ -e /boot/grub/stage2 ] && mv /boot/grub/stage2{,.old}
+ cp -p /usr/lib/grub/* /boot/grub
+ [ -e /boot/grub/grub.conf ] \
+ && /usr/sbin/grub \
+ --batch \
+ --device-map=/boot/grub/device.map \
+ < /boot/grub/grub.conf > /dev/null 2>&1
+}
diff --git a/sys-boot/grub/grub-0.93.20040125.ebuild b/sys-boot/grub/grub-0.93.20040125.ebuild
new file mode 100644
index 000000000000..1fcbb6985ee4
--- /dev/null
+++ b/sys-boot/grub/grub-0.93.20040125.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.93.20040125.ebuild,v 1.1 2004/01/25 18:13:50 seemant Exp $
+
+inherit mount-boot eutils flag-o-matic
+
+filter-flags "-fstack-protector"
+
+IUSE="static"
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="GNU GRUB boot loader"
+HOMEPAGE="http://www.gnu.org/software/grub/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="-* ~x86"
+
+DEPEND=">=sys-libs/ncurses-5.2-r5
+ >=sys-devel/autoconf-2.5"
+
+PROVIDE="virtual/bootloader"
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S} || die
+ # grub-0.93.20030118-gentoo.diff; <woodchip@gentoo.org> (18 Jan 2003)
+ # -fixes from grub CVS pulled on 20030118
+ # -vga16 patches; mined from Debian's grub-0.93+cvs20030102-1.diff
+ # -special-raid-devices.patch
+ # -addsyncs.patch
+ # -splashimagehelp.patch
+ # -configfile.patch
+ # -installcopyonly.patch
+
+ # This patchset is from SuSE -- hopefully fixes the acl symlink issue
+ # And should add some boot prettification
+# epatch ${WORKDIR}/${PF}-gentoo.diff
+# epatch ${FILESDIR}/${P}-test.patch
+}
+
+src_compile() {
+ ### i686-specific code in the boot loader is a bad idea; disabling to ensure
+ ### at least some compatibility if the hard drive is moved to an older or
+ ### incompatible system.
+ unset CFLAGS
+
+ append-flags "-DNDEBUG -minline-all-stringops"
+ use static && export LDFLAGS="${LDFLAGS} -static"
+
+ # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml
+ if has_version 'sys-devel/hardened-gcc' && [ "${CC}"="gcc" ]
+ then
+ # the configure script has problems with -nostdlib
+ CC="${CC} -yet_exec -yno_propolice"
+ fi
+
+ autoconf || die
+ aclocal || die
+ automake || die
+
+ # build the net-bootable grub first
+ CFLAGS="" \
+ econf \
+ --datadir=/usr/lib/grub \
+ --exec-prefix=/ \
+ --disable-auto-linux-mem-opt \
+ --enable-diskless \
+ --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \
+ --enable-{epic100,exos205,ni5210,lance,ne2100,ni{50,65}10,natsemi} \
+ --enable-{ne,ns8390,wd,otulip,rtl8139,sis900,sk-g16,smc9000,tiara} \
+ --enable-{tulip,via-rhine,w89c840} || die
+
+ emake w89c840_o_CFLAGS="-O" || die "making netboot stuff"
+
+ mv stage2/{nbgrub,pxegrub} ${S}
+ mv stage2/stage2 stage2/stage2.netboot
+
+ make clean || die
+
+ # now build the regular grub
+ CFLAGS="${CFLAGS}" \
+ econf \
+ --datadir=/usr/lib/grub \
+ --exec-prefix=/ \
+ --disable-auto-linux-mem-opt || die
+ emake || die "making regular stuff"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ exeinto /usr/lib/grub
+ doexe nbgrub pxegrub stage2/stage2 stage2/stage2.netboot
+
+ insinto /boot/grub
+ doins ${FILESDIR}/splash.xpm.gz
+ newins docs/menu.lst grub.conf.sample
+
+ dodoc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
+ newdoc docs/menu.lst grub.conf.sample
+}
+
+pkg_postinst() {
+ [ "$ROOT" != "/" ] && return 0
+ /sbin/grub-install --just-copy
+
+ # change menu.lst to grub.conf
+ if [ ! -e /boot/grub/grub.conf -a -e /boot/grub/menu.lst ]
+ then
+ mv /boot/grub/menu.lst /boot/grub/grub.conf
+ ln -s grub.conf /boot/grub/menu.lst
+ ewarn
+ ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf"
+ ewarn
+ fi
+
+ [ -e /boot/grub/stage2 ] && mv /boot/grub/stage2{,.old}
+ cp -p /usr/lib/grub/* /boot/grub
+ [ -e /boot/grub/grub.conf ] \
+ && /usr/sbin/grub \
+ --batch \
+ --device-map=/boot/grub/device.map \
+ < /boot/grub/grub.conf > /dev/null 2>&1
+}