summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Guertin <gerk@gentoo.org>2003-02-07 06:39:07 +0000
committerMark Guertin <gerk@gentoo.org>2003-02-07 06:39:07 +0000
commite5691d5a0d21029f85708deb94f57496e7bbf1ef (patch)
tree3df2f091e4aa56c54ea72f5d5d2ec5aa6c35d059 /app-emulation/mol
parentnew version (bug fixes and updates) (diff)
downloadhistorical-e5691d5a0d21029f85708deb94f57496e7bbf1ef.tar.gz
historical-e5691d5a0d21029f85708deb94f57496e7bbf1ef.tar.bz2
historical-e5691d5a0d21029f85708deb94f57496e7bbf1ef.zip
added new mol build
Diffstat (limited to 'app-emulation/mol')
-rw-r--r--app-emulation/mol/ChangeLog9
-rw-r--r--app-emulation/mol/files/dhcpd-mol.conf.patch18
-rw-r--r--app-emulation/mol/files/digest-mol-0.9.681
-rw-r--r--app-emulation/mol/files/mol-0.9.65_dhcp-fix.diff13
-rw-r--r--app-emulation/mol/mol-0.9.65-r1.ebuild4
-rw-r--r--app-emulation/mol/mol-0.9.68.ebuild47
6 files changed, 76 insertions, 16 deletions
diff --git a/app-emulation/mol/ChangeLog b/app-emulation/mol/ChangeLog
index 8ffbdfb1efee..ca4aaa65281a 100644
--- a/app-emulation/mol/ChangeLog
+++ b/app-emulation/mol/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-emulation/mol
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/ChangeLog,v 1.10 2003/01/31 03:53:08 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/ChangeLog,v 1.11 2003/02/07 06:39:07 gerk Exp $
+
+*mol-0.9.68 (06 Feb 2003)
+ 06 Feb 2003; Mark Guertin <gerk@gentoo.org> mol-0.9.68.ebuild :
+ Added new build from stable cvs snapshot. Added iptables and
+ dhcpd as dependancies (required for automatic networking setup).
+ Closes bugs #13136, #15034. Thanks to Lars Weiler again (I got
+ the patch right this time).
*mol-0.9.65-r1 (30 Jan 2003)
30 Jan 2003; Mark Guertin <gerk@gentoo.org> mol-0.9.65-r1.ebuild :
diff --git a/app-emulation/mol/files/dhcpd-mol.conf.patch b/app-emulation/mol/files/dhcpd-mol.conf.patch
new file mode 100644
index 000000000000..24ddac0cb01d
--- /dev/null
+++ b/app-emulation/mol/files/dhcpd-mol.conf.patch
@@ -0,0 +1,18 @@
+--- Doc/config/dhcpd-mol.conf.orig 2003-02-07 02:57:40.000000000 +0000
++++ Doc/config/dhcpd-mol.conf 2003-02-07 02:59:04.000000000 +0000
+@@ -48,7 +48,7 @@
+ subnet 192.168.5.0 netmask 255.255.255.0 {
+ option domain-name-servers 192.168.5.1;
+ option routers 192.168.5.1;
+- host mol4 {
++ host mol5 {
+ hardware ethernet 00:00:0D:EA:DB:EE;
+ fixed-address 192.168.5.2;
+ }
+@@ -61,3 +61,6 @@
+ fixed-address 192.168.6.2;
+ }
+ }
++
++# Set this to pass the DNS info along
++ddns-update-style ad-hoc;
diff --git a/app-emulation/mol/files/digest-mol-0.9.68 b/app-emulation/mol/files/digest-mol-0.9.68
new file mode 100644
index 000000000000..668ff58bc796
--- /dev/null
+++ b/app-emulation/mol/files/digest-mol-0.9.68
@@ -0,0 +1 @@
+MD5 93379f76a60b6d7ac95962ef05aa357b mol-0.9.68.tgz 1304533
diff --git a/app-emulation/mol/files/mol-0.9.65_dhcp-fix.diff b/app-emulation/mol/files/mol-0.9.65_dhcp-fix.diff
deleted file mode 100644
index 9a033f0060c1..000000000000
--- a/app-emulation/mol/files/mol-0.9.65_dhcp-fix.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- Doc/config/dhcpd-mol.conf.old 2002-09-04 19:40:38.000000000 -0400
-+++ Doc/config/dhcpd-mol.conf 2003-01-30 22:32:05.000000000 -0500
-@@ -55,8 +55,9 @@
- }
- subnet 192.168.6.0 netmask 255.255.255.0 {
- option domain-name-servers 192.168.6.1;
-+ ddns-update-style ad-hoc;
- option routers 192.168.6.1;
-- host mol4 {
-+ host mol5 {
- hardware ethernet 00:00:0D:EA:DB:EE;
- fixed-address 192.168.6.2;
- }
diff --git a/app-emulation/mol/mol-0.9.65-r1.ebuild b/app-emulation/mol/mol-0.9.65-r1.ebuild
index b0c5f65c03cf..033df257314b 100644
--- a/app-emulation/mol/mol-0.9.65-r1.ebuild
+++ b/app-emulation/mol/mol-0.9.65-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/mol-0.9.65-r1.ebuild,v 1.1 2003/01/31 03:53:08 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/mol-0.9.65-r1.ebuild,v 1.2 2003/02/07 06:39:07 gerk Exp $
inherit flag-o-matic
@@ -22,7 +22,7 @@ src_compile() {
./configure --prefix=/usr || die "This is a ppc-only package (time to buy that iBook, no?)"
# apply patch for dhcp config fix, closes bug #13136
cd ${S}
- patch -p0 < ${FILESDIR}/mol-0.9.65_dhcp-fix.diff || die "patch failed"
+ patch -p0 < ${FILESDIR}/dhcpd-mol.conf.patch || die "patch failed"
emake || die "Failed to compile MOL"
}
diff --git a/app-emulation/mol/mol-0.9.68.ebuild b/app-emulation/mol/mol-0.9.68.ebuild
new file mode 100644
index 000000000000..2bf1a9203c06
--- /dev/null
+++ b/app-emulation/mol/mol-0.9.68.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/mol-0.9.68.ebuild,v 1.1 2003/02/07 06:39:07 gerk Exp $
+
+inherit flag-o-matic
+
+S=${WORKDIR}/${P}
+DESCRIPTION="MOL (Mac-on-Linux) is a PPC-only program to run Mac OS X and under natively within Linux"
+SRC_URI="http://cvs.gentoo.org/~gerk/distfiles/${P}.tgz"
+HOMEPAGE="http://www.maconlinux.net/"
+
+DEPEND=""
+RDEPEND="net-misc/dhcpcd
+ sys-apps/iptables"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="ppc -x86 -sparc -alpha -mips"
+IUSE=""
+
+src_compile() {
+
+ filter-flags -fsigned-char
+
+ # apply patch for dhcp config fix, closes bug #13136
+ cd ${S}
+ patch -p0 < ${FILESDIR}/dhcpd-mol.conf.patch || die "patch failed"
+
+ ./configure --prefix=/usr || die "This is a ppc-only package (time to buy that iBook, no?)"
+ emake || die "Failed to compile MOL"
+
+}
+
+src_install() {
+
+ emake DESTDIR=${D} install || die "Failed to install MOL"
+
+ dodoc 0README BUILDING COPYING COPYRIGHT CREDITS Doc/*
+
+}
+
+pkg_postinst() {
+ einfo "Mac-on-Linux is now installed. To run, use the command startmol"
+ einfo "You might want to configure video modes first with molvconfig"
+ einfo "Other configuration is in /etc/molrc. For more info see:"
+ einfo " www.maconlinux.net"
+ einfo "Also try man molrc, man molvconfig, man startmol"
+}