diff options
author | Donny Davies <woodchip@gentoo.org> | 2003-01-04 06:14:12 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2003-01-04 06:14:12 +0000 |
commit | c80401016e93e1725d85c47eeb757ef55fc33bb7 (patch) | |
tree | bd45dd9db64b3e8407bed1829f4fe8aeaffb35d4 /sys-apps/lilo | |
parent | put it in stable (diff) | |
download | historical-c80401016e93e1725d85c47eeb757ef55fc33bb7.tar.gz historical-c80401016e93e1725d85c47eeb757ef55fc33bb7.tar.bz2 historical-c80401016e93e1725d85c47eeb757ef55fc33bb7.zip |
made a new patch for 22.3.4
Diffstat (limited to 'sys-apps/lilo')
-rw-r--r-- | sys-apps/lilo/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/lilo/files/digest-lilo-22.3.4 | 2 | ||||
-rw-r--r-- | sys-apps/lilo/lilo-22.3.4.ebuild | 79 |
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 +} |