summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2003-01-04 06:14:12 +0000
committerDonny Davies <woodchip@gentoo.org>2003-01-04 06:14:12 +0000
commit3d260eb7f99ca287c3488d4d76622cbb496b3e11 (patch)
tree73baada682603cef1d2aa39d0bd16bbbccea34f5 /sys-apps/lilo
parentput it in stable (diff)
downloadgentoo-2-3d260eb7f99ca287c3488d4d76622cbb496b3e11.tar.gz
gentoo-2-3d260eb7f99ca287c3488d4d76622cbb496b3e11.tar.bz2
gentoo-2-3d260eb7f99ca287c3488d4d76622cbb496b3e11.zip
made a new patch for 22.3.4
Diffstat (limited to 'sys-apps/lilo')
-rw-r--r--sys-apps/lilo/ChangeLog7
-rw-r--r--sys-apps/lilo/files/digest-lilo-22.3.42
-rw-r--r--sys-apps/lilo/lilo-22.3.4.ebuild79
3 files changed, 87 insertions, 1 deletions
diff --git a/sys-apps/lilo/ChangeLog b/sys-apps/lilo/ChangeLog
index 3936c4e13bcc..4e67fe27d59e 100644
--- a/sys-apps/lilo/ChangeLog
+++ b/sys-apps/lilo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/lilo
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lilo/ChangeLog,v 1.14 2002/12/13 11:00:31 blizzy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lilo/ChangeLog,v 1.15 2003/01/04 06:14:12 woodchip Exp $
+
+*lilo-22.3.4 (04 Jan 2002)
+
+ 04 Jan 2002; Donny Davies <woodchip@gentoo.org> :
+ New testing release.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
diff --git a/sys-apps/lilo/files/digest-lilo-22.3.4 b/sys-apps/lilo/files/digest-lilo-22.3.4
new file mode 100644
index 000000000000..371519121933
--- /dev/null
+++ b/sys-apps/lilo/files/digest-lilo-22.3.4
@@ -0,0 +1,2 @@
+MD5 2750f34a84faf2631e57a6076b428298 lilo-22.3.4.tar.gz 369921
+MD5 18fbbc8f5cd0c96355fb4f075d4d8498 lilo-22.3.4-gentoo.diff.bz2 7917
diff --git a/sys-apps/lilo/lilo-22.3.4.ebuild b/sys-apps/lilo/lilo-22.3.4.ebuild
new file mode 100644
index 000000000000..b69a4aa6f135
--- /dev/null
+++ b/sys-apps/lilo/lilo-22.3.4.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lilo/lilo-22.3.4.ebuild,v 1.1 2003/01/04 06:14:12 woodchip Exp $
+
+inherit mount-boot
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Standard Linux boot loader"
+SRC_URI="http://home.san.rr.com/johninsd/pub/linux/lilo/${P}.tar.gz
+ mirror://gentoo/${P}-gentoo.diff.bz2"
+HOMEPAGE="http://brun.dyndns.org/pub/linux/lilo/"
+DEPEND="virtual/glibc dev-lang/nasm >=sys-devel/bin86-0.15.5"
+RDEPEND="virtual/glibc"
+KEYWORDS="~x86 -ppc -sparc"
+LICENSE="BSD"
+SLOT="0"
+
+src_unpack() {
+ unpack ${P}.tar.gz || die
+ cd ${S} || die
+ #Again, this is my go at SuSE's animated bootlogo patch.
+ #lilo-22.3.4-gentoo.diff; <woodchip@gentoo.org> (03 Jan 2003)
+ bzip2 -dc ${DISTDIR}/${P}-gentoo.diff.bz2 | patch -p1 || die
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ into /
+ dosbin lilo activate mkrescue
+ into /usr
+ dosbin keytab-lilo.pl
+ dodir /boot
+ insinto /boot
+ doins boot-text.b boot-menu.b boot-bmp.b chain.b mbr.b os2_d.b
+ doman manPages/*.[5-8]
+ dodoc CHANGES COPYING INCOMPAT README*
+ docinto samples ; dodoc sample/*
+ insinto /etc
+ newins ${FILESDIR}/lilo.conf lilo.conf.example
+}
+
+pkg_preinst() {
+ if [ ! -L $ROOT/boot/boot.b -a -f $ROOT/boot/boot.b ]
+ then
+ einfo "Saving old boot.b..."
+ mv -f $ROOT/boot/boot.b $ROOT/boot/boot.old
+ fi
+
+ if [ ! -L $ROOT/boot/chain.b -a -f $ROOT/boot/chain.b ]
+ then
+ einfo "Saving old chain.b..."
+ mv -f $ROOT/boot/chain.b $ROOT/boot/chain.old
+ fi
+
+ if [ ! -L ${ROOT}/boot/mbr.b -a -f ${ROOT}/boot/mbr.b ]
+ then
+ einfo "Saving old mbr.b..."
+ mv -f ${ROOT}/boot/mbr.b ${ROOT}/boot/mbr.old
+ fi
+
+ if [ ! -L $ROOT/boot/os2_d.b -a -f $ROOT/boot/os2_d.b ]
+ then
+ einfo "Saving old os2_d.b..."
+ mv -f $ROOT/boot/os2_d.b $ROOT/boot/os2_d.old
+ fi
+}
+
+pkg_postinst() {
+ einfo "Activating boot-menu..."
+ ln -snf boot-menu.b $ROOT/boot/boot.b
+
+ einfo
+ einfo "You can get some animations at:"
+ einfo "http://www.gamers.org/~quinet/lilo/index.html"
+ einfo
+}