# ChangeLog for app-emulation/mol
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/ChangeLog,v 1.74 2007/03/03 04:20:19 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/ChangeLog,v 1.75 2007/04/11 01:39:33 josejx Exp $
+
+ 11 Apr 2007; Joseph Jezak <josejx@gentoo.org> -mol-0.9.71.1.ebuild,
+ -mol-0.9.72_pre1.ebuild, -mol-0.9.72_pre2.ebuild, mol-0.9.72.ebuild:
+ Marked latest version stable and removed old versions.
*mol-0.9.72 (03 Mar 2007)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-DIST mol-0.9.71.1.tar.bz2 1850812 RMD160 f671bc4f52ebd6256ce615924ce5117cb1b5ff45 SHA1 46a6deba7b2564b9fbef277186e68f185d0a0dad SHA256 3be6fbd218e4f922973cefc49963bcf4b7d8f5e775019b0e8c6a36acff02a7be
-DIST mol-0.9.72.tar.bz2 1867036 RMD160 90af6485db12395f689f5e403752099d352d61ae SHA1 bea1925be1f889ee59a1a975eb3645899819ad88 SHA256 470bb5e56590c9312290a57689f73d1237c928f731fb7b668e5d01f9459f0a1f
-DIST mol-0.9.72_pre1.tar.bz2 1978542 RMD160 270565a57b462ca290d174bd04c974811239a5ab SHA1 22f2ad200c94f7799acdf9ac4a678a34a9c2ad6b SHA256 b39de159208464cad7b09b9dd577b9adf5311cea4f8cdf9c22ef29fbedf5ba95
-DIST mol-0.9.72_pre2.tar.bz2 1860244 RMD160 7d3cbca6e585ef8f0e061be799938657182623e1 SHA1 1c9d183ec5d076a6d5f8355abeac2cc2aaa85ada SHA256 3eb5c396c704d8e4e2c8c010cc4e86c3f9e5f47059482c458f35ed94f8bc2272
-EBUILD mol-0.9.71.1.ebuild 4416 RMD160 a61da0111d9cb8e6e3b04db18921bd8f8c7a96b3 SHA1 299fab7fcb599966e40e6ae37a6e8820a8c91f24 SHA256 976303f13da1cd15bf0522ed2e917cc6b356cb5219c7ced59ac328b70fbe3470
-MD5 fba85461ce0cd587cdff974e4da79e3b mol-0.9.71.1.ebuild 4416
-RMD160 a61da0111d9cb8e6e3b04db18921bd8f8c7a96b3 mol-0.9.71.1.ebuild 4416
-SHA256 976303f13da1cd15bf0522ed2e917cc6b356cb5219c7ced59ac328b70fbe3470 mol-0.9.71.1.ebuild 4416
-EBUILD mol-0.9.72.ebuild 4334 RMD160 283350f770cc0d1272f6dcd6cbc657ff051ac81c SHA1 33ad8a9924b1d8833b40dc6543d2ab98026d62a7 SHA256 d1745e73812a663917602a9a88eedfd627e68e87292f7c4d2ac9ca542bcb46e6
-MD5 ed31935b5626b243655d7f83dc0d2481 mol-0.9.72.ebuild 4334
-RMD160 283350f770cc0d1272f6dcd6cbc657ff051ac81c mol-0.9.72.ebuild 4334
-SHA256 d1745e73812a663917602a9a88eedfd627e68e87292f7c4d2ac9ca542bcb46e6 mol-0.9.72.ebuild 4334
-EBUILD mol-0.9.72_pre1.ebuild 4450 RMD160 373baceb42e6fe7a03c3e2a2baff1a9e27c5f316 SHA1 c64abbf7408830919f4c78e013662b32860770ae SHA256 7c0c755668b1961e3e6319424b9c9a6187454a0753f93563a3bfa6c306ff7756
-MD5 b5f1118baffd9aa90a88f8ff48e2b00a mol-0.9.72_pre1.ebuild 4450
-RMD160 373baceb42e6fe7a03c3e2a2baff1a9e27c5f316 mol-0.9.72_pre1.ebuild 4450
-SHA256 7c0c755668b1961e3e6319424b9c9a6187454a0753f93563a3bfa6c306ff7756 mol-0.9.72_pre1.ebuild 4450
-EBUILD mol-0.9.72_pre2.ebuild 4461 RMD160 1cde7cc20627d278d98cf6017c0b111aa5f05a36 SHA1 91a69485d54699b8f4765a35253b18b3fd56b5a8 SHA256 646fac23240fdc5d0940918addeb68556eb3ef523e88fa11b945104723b4a6d4
-MD5 47ce8700853a8a08869c7f8ba976f451 mol-0.9.72_pre2.ebuild 4461
-RMD160 1cde7cc20627d278d98cf6017c0b111aa5f05a36 mol-0.9.72_pre2.ebuild 4461
-SHA256 646fac23240fdc5d0940918addeb68556eb3ef523e88fa11b945104723b4a6d4 mol-0.9.72_pre2.ebuild 4461
-MISC ChangeLog 14620 RMD160 86326814e5853daaa247e384d64730cee30a1d1f SHA1 68e1d4eab176d06e98dbac911fa4dfeb72a6bec0 SHA256 e5781d6f992b5346300f009488b73ab8a1850fe480e8df797df8c4f73b43ba10
-MD5 38f2f2aa010dca4bcc89bdab3989dff6 ChangeLog 14620
-RMD160 86326814e5853daaa247e384d64730cee30a1d1f ChangeLog 14620
-SHA256 e5781d6f992b5346300f009488b73ab8a1850fe480e8df797df8c4f73b43ba10 ChangeLog 14620
+DIST mol-0.9.72.tar.bz2 46 RMD160 158842ae715eb8160256936e57764344868b8255 SHA1 8de2a247e26872790090b7a7bc9128d263456ada SHA256 f4fad25a0e7a451ed906b76846efd6d2699a65b40795b29553addc35bf9a75c8
+EBUILD mol-0.9.72.ebuild 4333 RMD160 57a23ce078cc6f83670ee94d61d50c2bf46cd5b3 SHA1 606bde38e7b0ddf7cbae178282d2ff6b9c668478 SHA256 e8a6da3f06abdfd35d0d944f0b3c2b0a6ae9502af417c36fe58f83dd6c7ba13b
+MD5 62fd4974a62b71882e0688b5ceedbb20 mol-0.9.72.ebuild 4333
+RMD160 57a23ce078cc6f83670ee94d61d50c2bf46cd5b3 mol-0.9.72.ebuild 4333
+SHA256 e8a6da3f06abdfd35d0d944f0b3c2b0a6ae9502af417c36fe58f83dd6c7ba13b mol-0.9.72.ebuild 4333
+MISC ChangeLog 14819 RMD160 3d1cd2103a3a6d51ea668978601dbe33a3733525 SHA1 9bf1632c76c55fd8d450dfc9f930b5b35cbc7dec SHA256 65934944889d3ffe1e1b722485b2905e585096d94f27a046ed045195c05d056c
+MD5 0aec93de1c4ac01b80e9eb631d0fe730 ChangeLog 14819
+RMD160 3d1cd2103a3a6d51ea668978601dbe33a3733525 ChangeLog 14819
+SHA256 65934944889d3ffe1e1b722485b2905e585096d94f27a046ed045195c05d056c ChangeLog 14819
MISC metadata.xml 361 RMD160 4a1251c7fdae0cd17a9f91d1f63988105f356365 SHA1 714bf95393d027904397d629d88a04cfdcb22538 SHA256 2e18de6eeef4db83be08f0b31f4a59e10f293cb591df12de8889174175cbae49
MD5 08a7eb299c917a74fed2972f3c429bb8 metadata.xml 361
RMD160 4a1251c7fdae0cd17a9f91d1f63988105f356365 metadata.xml 361
SHA256 2e18de6eeef4db83be08f0b31f4a59e10f293cb591df12de8889174175cbae49 metadata.xml 361
-MD5 06d39d1ffe16f84f12b21548868e0b1e files/digest-mol-0.9.71.1 244
-RMD160 c9481ecf21b0fe86c6687f168f141291f872a792 files/digest-mol-0.9.71.1 244
-SHA256 d226bc92f34a5b9c9632650ae207d859dbdebc83eb0b65388f493e9a63793a18 files/digest-mol-0.9.71.1 244
-MD5 f43b0f93695d4de025bd53daf2e4014f files/digest-mol-0.9.72 238
-RMD160 59ec6599b056ebdb5ee24a405ad18530ad17b976 files/digest-mol-0.9.72 238
-SHA256 abbfb959f606e419ee2d48e19f74ef6f7d90661329bc4e5ca26888b0d923ba7e files/digest-mol-0.9.72 238
-MD5 df82e758fd7dbc66aab35131f5e5264a files/digest-mol-0.9.72_pre1 253
-RMD160 feb3eef8786ad0025041c43e6d91cbc0f9be31fe files/digest-mol-0.9.72_pre1 253
-SHA256 ed6c6aced5ca64cb5a440562e11f4ed53d01926ce9c6dee0b81dc3407015e82f files/digest-mol-0.9.72_pre1 253
-MD5 85e7b1b82fd85c6684d38d8ba20d41ff files/digest-mol-0.9.72_pre2 253
-RMD160 08a207e9ebe59e873385ba8ada0c2e41f2332ce6 files/digest-mol-0.9.72_pre2 253
-SHA256 663bceeda198ede77fe60ebca188573edea1548fc073cb81fe7627b839e0140e files/digest-mol-0.9.72_pre2 253
+MD5 0dbba379712d169b257157cac5cc9745 files/digest-mol-0.9.72 223
+RMD160 ffa19abf254c5b2497a1a020ec8031794a069622 files/digest-mol-0.9.72 223
+SHA256 3bb36e4e0a4a3be8bedbb8b26427207e18f7021129de9c3438202ebe90c932a5 files/digest-mol-0.9.72 223
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
+Version: GnuPG v2.0.3 (GNU/Linux)
-iD8DBQFF6PeDcsIHjyDViGQRAmHzAKDUTQeetBqS3vpo0Y7TLVMcj/fAdQCggQZo
-QRb9mYiJBjYR1w1INVk1IL0=
-=7/gA
+iD8DBQFGHDxYcsIHjyDViGQRAlXPAKCTHmxRouxIbemEEZwsnkSQHsxxDwCgvGv2
+UvZ1wcO9ezsUFlmOTW+elu8=
+=b6Tz
-----END PGP SIGNATURE-----
-MD5 78294bbe5bdc86294f38891614a205d1 mol-0.9.72.tar.bz2 1867036
-RMD160 90af6485db12395f689f5e403752099d352d61ae mol-0.9.72.tar.bz2 1867036
-SHA256 470bb5e56590c9312290a57689f73d1237c928f731fb7b668e5d01f9459f0a1f mol-0.9.72.tar.bz2 1867036
+MD5 c616cffee0f344c37fd4e045a7a87054 mol-0.9.72.tar.bz2 46
+RMD160 158842ae715eb8160256936e57764344868b8255 mol-0.9.72.tar.bz2 46
+SHA256 f4fad25a0e7a451ed906b76846efd6d2699a65b40795b29553addc35bf9a75c8 mol-0.9.72.tar.bz2 46
+++ /dev/null
-MD5 d1bacd5bf679e3a2a31f68f7149dad83 mol-0.9.72_pre1.tar.bz2 1978542
-RMD160 270565a57b462ca290d174bd04c974811239a5ab mol-0.9.72_pre1.tar.bz2 1978542
-SHA256 b39de159208464cad7b09b9dd577b9adf5311cea4f8cdf9c22ef29fbedf5ba95 mol-0.9.72_pre1.tar.bz2 1978542
+++ /dev/null
-MD5 1fd1c46ed49016e713161cb697a18ddd mol-0.9.72_pre2.tar.bz2 1860244
-RMD160 7d3cbca6e585ef8f0e061be799938657182623e1 mol-0.9.72_pre2.tar.bz2 1860244
-SHA256 3eb5c396c704d8e4e2c8c010cc4e86c3f9e5f47059482c458f35ed94f8bc2272 mol-0.9.72_pre2.tar.bz2 1860244
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/mol-0.9.71.1.ebuild,v 1.4 2007/02/11 18:22:44 flameeyes Exp $
-
-inherit flag-o-matic eutils linux-mod
-
-DESCRIPTION="MOL (Mac-on-Linux) lets PPC users run MacOS (X) under Linux (rsync snapshot)"
-HOMEPAGE="http://mac-on-linux.sourceforge.net/"
-SRC_URI="mirror://sourceforge/mac-on-linux/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* ppc"
-IUSE="vnc alsa oss fbcon X oldworld sheep debug dga usb pci"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-RDEPEND="net-misc/dhcp
- net-firewall/iptables
- alsa? ( media-libs/alsa-lib )
- vnc? ( net-misc/vnc )
- X? ( || ( ( x11-libs/libXext
- dga? ( x11-libs/libXxf86dga )
- )
- virtual/x11
- )
- )"
-DEPEND="${RDEPEND}
- X? ( || ( ( x11-libs/libXt
- x11-proto/xextproto
- dga? ( x11-proto/xf86dgaproto )
- )
- virtual/x11
- )
- )"
-
-MODULE_NAMES="mol(mol:${S}/src/kmod/Linux)
- sheep(net:${S}/src/netdriver)"
-
-pkg_setup() {
- echo
- elog "If you want to use MOL fullscreen on a virtual console"
- elog "be sure to have the USE-flag \"fbcon\" set!"
- echo
-
- linux-mod_pkg_setup
-}
-
-src_compile() {
- filter-flags -fsigned-char
- append-flags -D_FILE_OFFSET_BITS=64
- append-flags -D_LARGE_FILES
-
- export KERNEL_SOURCE="/usr/src/${FK}"
- export LDFLAGS=""
-
- # initialize all needed build-files
- ./autogen.sh
- ./configure --prefix="/usr" || die "Configure failed."
-
- # workaround for proper module-building
- emake defconfig || die "Make failed."
-
- sed -i "s:CONFIG_XDGA=y:# CONFIG_XDGA is not set:" .config-ppc
- sed -i "s:CONFIG_TAP=y:# CONFIG_TAP is not set:" .config-ppc
- sed -i "s:CONFIG_TUN=y:# CONFIG_TUN is not set:" .config-ppc
- use alsa || sed -i "s:CONFIG_ALSA=y:# CONFIG_ALSA is not set:" .config-ppc
- use debug && sed -i "s:# CONFIG_DEBUGGER is not set:CONFIG_DEBUGGER=y:" .config-ppc
- use oss || sed -i "s:CONFIG_OSS=y:# CONFIG_OSS is not set:" .config-ppc
- use oldworld || sed -i "s:CONFIG_OLDWORLD=y:# CONFIG_OLDWORLD is not set:" .config-ppc
- use sheep || sed -i "s:CONFIG_SHEEP=y:# CONFIG_SHEEP is not set:" .config-ppc
- use X || sed -i "s:CONFIG_X11=y:# CONFIG_X11 is not set:" .config-ppc
- use fbcon || sed -i "s:CONFIG_FBDEV=y:# CONFIG_FBDEV is not set:" .config-ppc
- use vnc || sed -i "s:CONFIG_VNC=y:# CONFIG_VNC is not set:" .config-ppc
- use dga || sed -i "s:CONFIG_XDGA=y:# CONFIG_XDGA is not set:" .config-ppc
- use usb || sed -i "s:CONFIG_USBDEV=y:# CONFIG_USBDEV is not set:" .config-ppc
- use pci || sed -i "s:CONFIG_PCIPROXY=y:# CONFIG_PCIPROXY is not set:" .config-ppc
-
- einfo "The configuration has been altered according to your USE-flags."
- # reinitialize our changed configuration
- emake oldconfig
-
- cd ${S}
- emake BUILD_MODS=n || die "Build failed."
-
- # Build the modules too!
- BUILD_PARAMS="KERNEL_SOURCE=${KV_DIR} LV=${KV_MAJOR}${KV_MINOR} MP=${KV_OBJ}
- KUNAME=${KV}"
- BUILD_TARGETS=all
- linux-mod_src_compile
-}
-
-src_install() {
- #linux-mod_src_install
- cd ${S}
- emake DESTDIR=${D} install || die "Failed to install"
- dodoc CREDITS Doc/Boot-ROM Doc/NewWorld-ROM Doc/Sound Doc/Video
- dodoc Doc/Networking Doc/Dev/Debugger Doc/Dev/Addresses
- dodoc Doc/man/molvconfig.1 Doc/man/startmol.1 Doc/man/molrc.5
- insinto /var/lib/mol
- doins ${S}/mollib/nvram/nvram.x
-}
-
-pkg_postinst() {
- echo
- elog "Mac-on-Linux is now installed. To run, use the command startmol."
- elog "You might want to configure video modes first with molvconfig."
- elog "Other configuration is in /etc/molrc. For more info see:"
- elog " http://www.maconlinux.org"
- elog "Also try man molrc, man molvconfig, man startmol"
- echo
- ewarn "For networking and sound you might install the drivers in the"
- ewarn "folder \"MOL-Install\" on your Mac OS X-Desktop."
- echo
- ewarn "If errors with networking occur, make sure you have the following"
- ewarn "kernel functions enabled:"
- ewarn "For connecting to Linux:"
- ewarn " Universal TUN/TAP device driver support (CONFIG_TUN)"
- ewarn "For the dhcp server:"
- ewarn " Packet Socket (CONFIG_PACKET)"
- ewarn "For NAT:"
- ewarn " Network packet filtering (CONFIG_NETFILTER)"
- ewarn " Connection tracking (CONFIG_IP_NF_CONNTRACK)"
- ewarn " IP tables support (CONFIG_IP_NF_IPTABLES)"
- ewarn " Packet filtering (CONFIG_IP_NF_FILTER)"
- ewarn " Full NAT (CONFIG_IP_NF_NAT)"
- ewarn " MASQUERADE target support (CONFIG_IP_NF_TARGET_MASQUERADE)"
- echo
-}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/mol-0.9.72.ebuild,v 1.1 2007/03/03 04:20:19 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/mol-0.9.72.ebuild,v 1.2 2007/04/11 01:39:33 josejx Exp $
inherit flag-o-matic eutils linux-mod
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="-* ~ppc"
+KEYWORDS="-* ppc"
IUSE="vnc alsa oss fbcon X oldworld sheep debug dga usb pci"
MAKEOPTS="${MAKEOPTS} -j1"
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/mol-0.9.72_pre1.ebuild,v 1.5 2007/02/11 18:22:44 flameeyes Exp $
-
-inherit flag-o-matic eutils linux-mod toolchain-funcs
-
-DESCRIPTION="MOL (Mac-on-Linux) lets PPC users run MacOS (X) under Linux (rsync snapshot)"
-HOMEPAGE="http://mac-on-linux.sourceforge.net/"
-SRC_URI="mirror://sourceforge/mac-on-linux/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* ~ppc"
-IUSE="vnc alsa oss fbcon X oldworld sheep debug dga usb pci"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-RDEPEND="net-misc/dhcp
- net-firewall/iptables
- alsa? ( media-libs/alsa-lib )
- vnc? ( net-misc/vnc )
- X? ( || ( ( x11-libs/libXext
- dga? ( x11-libs/libXxf86dga )
- )
- virtual/x11
- )
- )"
-DEPEND="${RDEPEND}
- X? ( || ( ( x11-libs/libXt
- x11-proto/xextproto
- dga? ( x11-proto/xf86dgaproto )
- )
- virtual/x11
- )
- )"
-
-MODULE_NAMES="mol(mol:${S}/src/kmod/Linux)
- sheep(net:${S}/src/netdriver)"
-
-pkg_setup() {
- echo
- elog "If you want to use MOL fullscreen on a virtual console"
- elog "be sure to have the USE-flag \"fbcon\" set!"
- echo
-
- linux-mod_pkg_setup
-}
-
-src_compile() {
- tc-export CC
- filter-flags -fsigned-char
- append-flags -D_FILE_OFFSET_BITS=64
- append-flags -D_LARGE_FILES
-
- export KERNEL_SOURCE="/usr/src/${FK}"
- export LDFLAGS=""
-
- # initialize all needed build-files
- ./autogen.sh
- ./configure --prefix="/usr" || die "Configure failed."
-
- # workaround for proper module-building
- emake defconfig || die "Make failed."
-
- sed -i "s:CONFIG_XDGA=y:# CONFIG_XDGA is not set:" .config-ppc
- sed -i "s:CONFIG_TAP=y:# CONFIG_TAP is not set:" .config-ppc
- sed -i "s:CONFIG_TUN=y:# CONFIG_TUN is not set:" .config-ppc
- use alsa || sed -i "s:CONFIG_ALSA=y:# CONFIG_ALSA is not set:" .config-ppc
- use debug && sed -i "s:# CONFIG_DEBUGGER is not set:CONFIG_DEBUGGER=y:" .config-ppc
- use oss || sed -i "s:CONFIG_OSS=y:# CONFIG_OSS is not set:" .config-ppc
- use oldworld || sed -i "s:CONFIG_OLDWORLD=y:# CONFIG_OLDWORLD is not set:" .config-ppc
- use sheep || sed -i "s:CONFIG_SHEEP=y:# CONFIG_SHEEP is not set:" .config-ppc
- use X || sed -i "s:CONFIG_X11=y:# CONFIG_X11 is not set:" .config-ppc
- use fbcon || sed -i "s:CONFIG_FBDEV=y:# CONFIG_FBDEV is not set:" .config-ppc
- use vnc || sed -i "s:CONFIG_VNC=y:# CONFIG_VNC is not set:" .config-ppc
- use dga || sed -i "s:CONFIG_XDGA=y:# CONFIG_XDGA is not set:" .config-ppc
- use usb || sed -i "s:CONFIG_USBDEV=y:# CONFIG_USBDEV is not set:" .config-ppc
- use pci || sed -i "s:CONFIG_PCIPROXY=y:# CONFIG_PCIPROXY is not set:" .config-ppc
-
- einfo "The configuration has been altered according to your USE-flags."
- # reinitialize our changed configuration
- emake oldconfig
-
- cd ${S}
- emake BUILD_MODS=n || die "Build failed."
-
- # Build the modules too!
- BUILD_PARAMS="KERNEL_SOURCE=${KV_DIR} LV=${KV_MAJOR}${KV_MINOR} MP=${KV_OBJ}
- KUNAME=${KV}"
- BUILD_TARGETS=all
- linux-mod_src_compile
-}
-
-src_install() {
- #linux-mod_src_install
- cd ${S}
- emake DESTDIR=${D} install || die "Failed to install"
- dodoc CREDITS Doc/Boot-ROM Doc/NewWorld-ROM Doc/Sound Doc/Video
- dodoc Doc/Networking Doc/Dev/Debugger Doc/Dev/Addresses
- dodoc Doc/man/molvconfig.1 Doc/man/startmol.1 Doc/man/molrc.5
- insinto /var/lib/mol
- doins ${S}/mollib/nvram/nvram.x
-}
-
-pkg_postinst() {
- echo
- elog "Mac-on-Linux is now installed. To run, use the command startmol."
- elog "You might want to configure video modes first with molvconfig."
- elog "Other configuration is in /etc/molrc. For more info see:"
- elog " http://www.maconlinux.org"
- elog "Also try man molrc, man molvconfig, man startmol"
- echo
- ewarn "For networking and sound you might install the drivers in the"
- ewarn "folder \"MOL-Install\" on your Mac OS X-Desktop."
- echo
- ewarn "If errors with networking occur, make sure you have the following"
- ewarn "kernel functions enabled:"
- ewarn "For connecting to Linux:"
- ewarn " Universal TUN/TAP device driver support (CONFIG_TUN)"
- ewarn "For the dhcp server:"
- ewarn " Packet Socket (CONFIG_PACKET)"
- ewarn "For NAT:"
- ewarn " Network packet filtering (CONFIG_NETFILTER)"
- ewarn " Connection tracking (CONFIG_IP_NF_CONNTRACK)"
- ewarn " IP tables support (CONFIG_IP_NF_IPTABLES)"
- ewarn " Packet filtering (CONFIG_IP_NF_FILTER)"
- ewarn " Full NAT (CONFIG_IP_NF_NAT)"
- ewarn " MASQUERADE target support (CONFIG_IP_NF_TARGET_MASQUERADE)"
- echo
-}
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/mol-0.9.72_pre2.ebuild,v 1.5 2007/02/11 18:22:44 flameeyes Exp $
-
-inherit flag-o-matic eutils linux-mod
-
-DESCRIPTION="MOL (Mac-on-Linux) lets PPC users run MacOS (X) under Linux (rsync snapshot)"
-HOMEPAGE="http://www.maconlinux.org/"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* ppc"
-IUSE="vnc alsa oss fbcon X oldworld sheep debug dga usb pci"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-RDEPEND="net-misc/dhcp
- sys-libs/zlib
- net-firewall/iptables
- alsa? ( media-libs/alsa-lib )
- vnc? ( net-misc/vnc )
- X? ( || ( ( x11-libs/libXext
- dga? ( x11-libs/libXxf86dga )
- )
- virtual/x11
- )
- )"
-DEPEND="${RDEPEND}
- X? ( || ( ( x11-libs/libXt
- x11-proto/xextproto
- dga? ( x11-proto/xf86dgaproto )
- )
- virtual/x11
- )
- )"
-
-MODULE_NAMES="mol(mol:${S}/src/kmod/Linux)
- sheep(net:${S}/src/netdriver)"
-
-pkg_setup() {
- echo
- if ! use fbcon; then
- elog "If you want to use MOL fullscreen on a virtual console"
- elog "be sure to have the USE-flag \"fbcon\" set!"
- fi
- echo
-
- linux-mod_pkg_setup
-}
-
-src_compile() {
- filter-flags -fsigned-char
- append-flags -D_FILE_OFFSET_BITS=64
- append-flags -D_LARGE_FILES
-
- export KERNEL_SOURCE="/usr/src/${FK}"
- export LDFLAGS=""
-
- # initialize all needed build-files
- ./autogen.sh
- ./configure --prefix="/usr" || die "Configure failed."
-
- # workaround for proper module-building
- emake defconfig || die "Make failed."
-
- sed -i "s:CONFIG_XDGA=y:# CONFIG_XDGA is not set:" .config-ppc
- sed -i "s:CONFIG_TAP=y:# CONFIG_TAP is not set:" .config-ppc
- use alsa || sed -i "s:CONFIG_ALSA=y:# CONFIG_ALSA is not set:" .config-ppc
- use debug && sed -i "s:# CONFIG_DEBUGGER is not set:CONFIG_DEBUGGER=y:" .config-ppc
- use oss || sed -i "s:CONFIG_OSS=y:# CONFIG_OSS is not set:" .config-ppc
- use oldworld || sed -i "s:CONFIG_OLDWORLD=y:# CONFIG_OLDWORLD is not set:" .config-ppc
- use sheep && sed -i "s:# CONFIG_SHEEP is not set:CONFIG_SHEEP=y:" .config-ppc
- use X || sed -i "s:CONFIG_X11=y:# CONFIG_X11 is not set:" .config-ppc
- use fbcon || sed -i "s:CONFIG_FBDEV=y:# CONFIG_FBDEV is not set:" .config-ppc
- use vnc || sed -i "s:CONFIG_VNC=y:# CONFIG_VNC is not set:" .config-ppc
- use dga || sed -i "s:CONFIG_XDGA=y:# CONFIG_XDGA is not set:" .config-ppc
- use usb || sed -i "s:CONFIG_USBDEV=y:# CONFIG_USBDEV is not set:" .config-ppc
- use pci || sed -i "s:CONFIG_PCIPROXY=y:# CONFIG_PCIPROXY is not set:" .config-ppc
-
- einfo "The configuration has been altered according to your USE-flags."
- # reinitialize our changed configuration
- emake oldconfig
-
- cd ${S}
- emake BUILD_MODS=n || die "Build failed."
-
- # Build the modules too!
- BUILD_PARAMS="KERNEL_SOURCE=${KV_DIR} LV=${KV_MAJOR}${KV_MINOR} MP=${KV_OBJ}
- KUNAME=${KV}"
- BUILD_TARGETS=all
- linux-mod_src_compile
-}
-
-src_install() {
- #linux-mod_src_install
- cd ${S}
- emake DESTDIR=${D} install || die "Failed to install"
- dodoc CREDITS Doc/Boot-ROM Doc/NewWorld-ROM Doc/Sound Doc/Video
- dodoc Doc/Networking Doc/Dev/Debugger Doc/Dev/Addresses
- dodoc Doc/man/molvconfig.1 Doc/man/startmol.1 Doc/man/molrc.5
-
- dodir /var/lib/mol/lock
- touch ${D}/var/lib/mol/lock/.keep
- dodir /var/lib/mol/log
- touch ${D}/var/lib/mol/log/.keep
-}
-
-pkg_postinst() {
- echo
- elog "Mac-on-Linux is now installed. To run, use the command startmol."
- if use fbcon; then
- elog "You might want to configure video modes first with molvconfig."
- fi
- elog "Other configuration is in /etc/molrc. For more info see:"
- elog " http://www.maconlinux.org"
- elog "Also try man molrc, man molvconfig, man startmol"
- echo
- ewarn "For networking and sound you might install the drivers in the"
- ewarn "folder \"MOL-Install\" on your Mac OS X-Desktop."
- echo
- ewarn "If errors with networking occur, make sure you have the following"
- ewarn "kernel functions enabled:"
- ewarn "For connecting to Linux:"
- ewarn " Universal TUN/TAP device driver support (CONFIG_TUN)"
- ewarn "For the dhcp server:"
- ewarn " Packet Socket (CONFIG_PACKET)"
- ewarn "For NAT:"
- ewarn " Network packet filtering (CONFIG_NETFILTER)"
- ewarn " Connection tracking (CONFIG_IP_NF_CONNTRACK)"
- ewarn " IP tables support (CONFIG_IP_NF_IPTABLES)"
- ewarn " Packet filtering (CONFIG_IP_NF_FILTER)"
- ewarn " Full NAT (CONFIG_IP_NF_NAT)"
- ewarn " MASQUERADE target support (CONFIG_IP_NF_TARGET_MASQUERADE)"
- echo
-}