From fc64fcbb1dd72338f0303a6a6c8b751051a4021e Mon Sep 17 00:00:00 2001 From: Joseph Jezak Date: Tue, 16 Jan 2007 00:17:43 +0000 Subject: [PATCH] Added latest version. Package-Manager: portage-2.1.2_rc4-r7 --- app-emulation/mol/ChangeLog | 7 +- app-emulation/mol/Manifest | 30 ++-- app-emulation/mol/files/digest-mol-0.9.71.1 | 6 +- .../mol/files/digest-mol-0.9.72_pre2 | 3 + app-emulation/mol/mol-0.9.72_pre2.ebuild | 135 ++++++++++++++++++ 5 files changed, 166 insertions(+), 15 deletions(-) create mode 100644 app-emulation/mol/files/digest-mol-0.9.72_pre2 create mode 100644 app-emulation/mol/mol-0.9.72_pre2.ebuild diff --git a/app-emulation/mol/ChangeLog b/app-emulation/mol/ChangeLog index 450fda711f3e..7891d34c9857 100644 --- a/app-emulation/mol/ChangeLog +++ b/app-emulation/mol/ChangeLog @@ -1,6 +1,11 @@ # 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.68 2007/01/08 22:03:08 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/ChangeLog,v 1.69 2007/01/16 00:17:42 josejx Exp $ + +*mol-0.9.72_pre2 (16 Jan 2007) + + 16 Jan 2007; Joseph Jezak +mol-0.9.72_pre2.ebuild: + Added latest version. 08 Jan 2007; Joseph Jezak -files/mol-pciproxy-dump.patch, -mol-0.9.71.ebuild, mol-0.9.71.1.ebuild, diff --git a/app-emulation/mol/Manifest b/app-emulation/mol/Manifest index 6eb1d2478f54..8c577322517d 100644 --- a/app-emulation/mol/Manifest +++ b/app-emulation/mol/Manifest @@ -1,8 +1,9 @@ -----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.71.1.tar.bz2 1850616 RMD160 9887f407ec799e00d73ebb5785b7740331148b59 SHA1 79413073c43739baac40ff65c282a5e6fa78903f SHA256 00a7a3f4129414f30a911075f666d7aac785f6b6a161407e8a82f640de99f0e0 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 4452 RMD160 4fe3d9c2d888860c5cc233de29912d4ada339f4e SHA1 dae75e22ec3e36a05c643e58e6ca98251b8350d7 SHA256 b7760436d694898f1eec92d682509b232a1392241d0ae46f6fe410889d56c363 MD5 e2d6963cd961a6243471b09e38d2cac2 mol-0.9.71.1.ebuild 4452 RMD160 4fe3d9c2d888860c5cc233de29912d4ada339f4e mol-0.9.71.1.ebuild 4452 @@ -11,24 +12,31 @@ EBUILD mol-0.9.72_pre1.ebuild 4486 RMD160 c9501feaa9331bdb100908111b8d2dc747fbb5 MD5 7a76951f16212d77f87058a8c6561a1d mol-0.9.72_pre1.ebuild 4486 RMD160 c9501feaa9331bdb100908111b8d2dc747fbb523 mol-0.9.72_pre1.ebuild 4486 SHA256 4c046ff77da5584d715d2757f93cee9b58429d3660a041751f6094e57b8b8b40 mol-0.9.72_pre1.ebuild 4486 -MISC ChangeLog 13779 RMD160 1136b85e43d2b80a66484222814b56cdb1db0348 SHA1 52b9abff0c8e1c87bb03ec07bf0e3905776a6a33 SHA256 ad580ed09dfd4fdcae06c3bc500214f729c9ab85a8c51274af134c3402ad2039 -MD5 e7e1a60b6742d3c3541f0587d35ecebf ChangeLog 13779 -RMD160 1136b85e43d2b80a66484222814b56cdb1db0348 ChangeLog 13779 -SHA256 ad580ed09dfd4fdcae06c3bc500214f729c9ab85a8c51274af134c3402ad2039 ChangeLog 13779 +EBUILD mol-0.9.72_pre2.ebuild 4545 RMD160 198e9d3a869abfd4ae8f9275a75d6e6215df69f7 SHA1 4761d5a3cc48a7b5f7692e974ee8c353634b548a SHA256 94b7d52dcf208411d9e8b7b8841a7d05bd0e1fe16a7eaa1843ca456ad88e6872 +MD5 1f996382f3ff0ed0b94b7ec7606e521a mol-0.9.72_pre2.ebuild 4545 +RMD160 198e9d3a869abfd4ae8f9275a75d6e6215df69f7 mol-0.9.72_pre2.ebuild 4545 +SHA256 94b7d52dcf208411d9e8b7b8841a7d05bd0e1fe16a7eaa1843ca456ad88e6872 mol-0.9.72_pre2.ebuild 4545 +MISC ChangeLog 13909 RMD160 fc3357bcbbac2d5a5b2a33bf2fec916c90a9f252 SHA1 720fc1b1f2d7630c506e5b7dfef4ef597f51726d SHA256 cc15fae2640fcee4be67cc663215f44f7d8bca9269c9b4db6901f6f081c569e7 +MD5 21dd2c14c1cc6f2d1f1edcd07904b322 ChangeLog 13909 +RMD160 fc3357bcbbac2d5a5b2a33bf2fec916c90a9f252 ChangeLog 13909 +SHA256 cc15fae2640fcee4be67cc663215f44f7d8bca9269c9b4db6901f6f081c569e7 ChangeLog 13909 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 49f273932d1c7932b17a49e06a104ed6 files/digest-mol-0.9.71.1 244 +RMD160 06ffa03973df33c2b33c503b973ff9308c6a4e3d files/digest-mol-0.9.71.1 244 +SHA256 336efbec647c30182698d4d15affe71ea00451980e5a750aa027ec594c385a48 files/digest-mol-0.9.71.1 244 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (GNU/Linux) -iD8DBQFFor8wcsIHjyDViGQRAm8CAJwOmuJhGgZqsdynVFCg4RuXIPfMVwCg4N7u -IfYlPdANCpPSc7MQJ/ORPRo= -=jVSI +iD8DBQFFrBkzcsIHjyDViGQRAsCwAKDBZaZdD6qR1ZyhAK/a2LqpcAyGBwCgl3HY +Xabbpi0iFeOEnx6S5wtGu9I= +=hSaT -----END PGP SIGNATURE----- diff --git a/app-emulation/mol/files/digest-mol-0.9.71.1 b/app-emulation/mol/files/digest-mol-0.9.71.1 index f863f94eb585..225e10d2029d 100644 --- a/app-emulation/mol/files/digest-mol-0.9.71.1 +++ b/app-emulation/mol/files/digest-mol-0.9.71.1 @@ -1,3 +1,3 @@ -MD5 3eaa51927191b03b06828609a1122307 mol-0.9.71.1.tar.bz2 1850812 -RMD160 f671bc4f52ebd6256ce615924ce5117cb1b5ff45 mol-0.9.71.1.tar.bz2 1850812 -SHA256 3be6fbd218e4f922973cefc49963bcf4b7d8f5e775019b0e8c6a36acff02a7be mol-0.9.71.1.tar.bz2 1850812 +MD5 0e9a404a421121ca55751d5c4500e37b mol-0.9.71.1.tar.bz2 1850616 +RMD160 9887f407ec799e00d73ebb5785b7740331148b59 mol-0.9.71.1.tar.bz2 1850616 +SHA256 00a7a3f4129414f30a911075f666d7aac785f6b6a161407e8a82f640de99f0e0 mol-0.9.71.1.tar.bz2 1850616 diff --git a/app-emulation/mol/files/digest-mol-0.9.72_pre2 b/app-emulation/mol/files/digest-mol-0.9.72_pre2 new file mode 100644 index 000000000000..122bcc257d44 --- /dev/null +++ b/app-emulation/mol/files/digest-mol-0.9.72_pre2 @@ -0,0 +1,3 @@ +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 diff --git a/app-emulation/mol/mol-0.9.72_pre2.ebuild b/app-emulation/mol/mol-0.9.72_pre2.ebuild new file mode 100644 index 000000000000..8d25b7f675ae --- /dev/null +++ b/app-emulation/mol/mol-0.9.72_pre2.ebuild @@ -0,0 +1,135 @@ +# 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.1 2007/01/16 00:17:42 josejx 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 + net-firewall/iptables + alsa? ( virtual/alsa ) + 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 + einfo "If you want to use MOL fullscreen on a virtual console" + einfo "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 + 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 + + 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 + einfo "Mac-on-Linux is now installed. To run, use the command startmol." + if use fbcon; then + einfo "You might want to configure video modes first with molvconfig." + fi + einfo "Other configuration is in /etc/molrc. For more info see:" + einfo " http://www.maconlinux.org" + einfo "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:" + einfo "For connecting to Linux:" + einfo " Universal TUN/TAP device driver support (CONFIG_TUN)" + einfo "For the dhcp server:" + einfo " Packet Socket (CONFIG_PACKET)" + einfo "For NAT:" + einfo " Network packet filtering (CONFIG_NETFILTER)" + einfo " Connection tracking (CONFIG_IP_NF_CONNTRACK)" + einfo " IP tables support (CONFIG_IP_NF_IPTABLES)" + einfo " Packet filtering (CONFIG_IP_NF_FILTER)" + einfo " Full NAT (CONFIG_IP_NF_NAT)" + einfo " MASQUERADE target support (CONFIG_IP_NF_TARGET_MASQUERADE)" + echo +} -- 2.26.2