Fixed Tiger 8GB install bug, XSHM bug, sheep build bug and rolled all of the patches...
authorJoseph Jezak <josejx@gentoo.org>
Mon, 10 Oct 2005 02:14:13 +0000 (02:14 +0000)
committerJoseph Jezak <josejx@gentoo.org>
Mon, 10 Oct 2005 02:14:13 +0000 (02:14 +0000)
Package-Manager: portage-2.0.53_rc4

app-emulation/mol/ChangeLog
app-emulation/mol/Manifest
app-emulation/mol/files/digest-mol-0.9.71_pre1 [deleted file]
app-emulation/mol/files/digest-mol-0.9.71_pre1-r1 [deleted file]
app-emulation/mol/files/digest-mol-0.9.71_pre1-r2 [deleted file]
app-emulation/mol/files/digest-mol-0.9.71_pre2 [new file with mode: 0644]
app-emulation/mol/mol-0.9.71_pre1-r1.ebuild [deleted file]
app-emulation/mol/mol-0.9.71_pre1-r2.ebuild [deleted file]
app-emulation/mol/mol-0.9.71_pre2.ebuild [moved from app-emulation/mol/mol-0.9.71_pre1.ebuild with 85% similarity]

index 2fe121232f1ec725a19d5fd3a500124378622ed0..5ef3299cf08e3ccf360f6e3c93ca719e2edb0726 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for app-emulation/mol
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/ChangeLog,v 1.51 2005/09/29 03:05:43 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/ChangeLog,v 1.52 2005/10/10 02:14:13 josejx Exp $
+
+*mol-0.9.71_pre2 (10 Oct 2005)
+
+  10 Oct 2005; Joseph Jezak <josejx@gentoo.org> -mol-0.9.71_pre1.ebuild,
+  -mol-0.9.71_pre1-r1.ebuild, -mol-0.9.71_pre1-r2.ebuild,
+  +mol-0.9.71_pre2.ebuild:
+  Fixed Tiger 8GB install bug, XSHM bug, sheep build bug and rolled all of the
+  patches into a new snapshot. Removed obsolete ebuilds.
 
 *mol-0.9.71_pre1-r3 (29 Sep 2005)
 
index c34484c27c10e233c402d32b7c30f0a3ef6089bc..25bad4b67c5a02a3c852d0e4b8c5d4ce26b3e289 100644 (file)
@@ -1,35 +1,31 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 8ca7b5ed6930915784abebce8a5c633c ChangeLog 10122
-MD5 56f8a1561157a28124d55347470da6c8 mol-0.9.70.ebuild 4047
-MD5 90f79bdde801865b57b9e5f4645df4df mol-0.9.71_pre1-r1.ebuild 4819
-MD5 3263d375abba2d098c636efc2b135ea5 metadata.xml 333
-MD5 64d6b0cac92a9184a83139de626d3c08 mol-0.9.71_pre1-r2.ebuild 5090
-MD5 457d88cf9e8da3a70ef024b28d6032a0 mol-0.9.71_pre1-r3.ebuild 5208
-MD5 17cd94d375a868aa1424c87c33d451e8 mol-0.9.70-r1.ebuild 3939
-MD5 4918ee55f2de727970e557ea98fc70dd mol-0.9.71_pre1.ebuild 4517
-MD5 11a4255ad58825f89d459519290217c2 files/mol-verify_area.diff 4696
-MD5 f0299c003ac50a8f73bd8264889116d7 files/mol-0.9.71_pre1-linux-2.6.9.patch 2571
-MD5 934e9ecf483ff3c4e34bb6307212d776 files/mol-0.9.70-nopriority.patch 1853
-MD5 659812abffbd24cf3a951dc3ea433827 files/mol-pciproxy-dump.patch 8955
-MD5 8d619246101648133ade3b39a2269e47 files/digest-mol-0.9.71_pre1-r3 187
+MD5 d95e9650c582d4ad79acef5a6cbaaca5 ChangeLog 10449
+MD5 3944510308e77b92ac85c07708947ad0 files/digest-mol-0.9.70 64
 MD5 3944510308e77b92ac85c07708947ad0 files/digest-mol-0.9.70-r1 64
+MD5 8d619246101648133ade3b39a2269e47 files/digest-mol-0.9.71_pre1-r3 187
+MD5 74a6f40961448f1afaad0c8feeca09e2 files/digest-mol-0.9.71_pre2 69
+MD5 0ea7bd65a5ff4666665a71fb9652aae8 files/mol-0.9.70-makefile-fix.patch 924
+MD5 934e9ecf483ff3c4e34bb6307212d776 files/mol-0.9.70-nopriority.patch 1853
 MD5 37a24cbf6bb78c4d9bd4c79b18aab9d6 files/mol-0.9.71_pre1-big-filesystem.patch 6554
+MD5 f0299c003ac50a8f73bd8264889116d7 files/mol-0.9.71_pre1-linux-2.6.9.patch 2571
+MD5 3bf68312e4299f777065f55eea5297fa files/mol-0.9.71_pre1-nopriority.patch 1861
+MD5 8eb2c97c995cba996b31b0ba38ef4fd0 files/mol-0.9.71_pre1-tmp-offset.patch 864
 MD5 2f8f758938db9b3cb5a13c0b33d989e3 files/mol-module-fix.patch 327
-MD5 453e05b555f037270dd6da665e100aa8 files/digest-mol-0.9.71_pre1 69
-MD5 0ea7bd65a5ff4666665a71fb9652aae8 files/mol-0.9.70-makefile-fix.patch 924
-MD5 8d619246101648133ade3b39a2269e47 files/digest-mol-0.9.71_pre1-r2 187
-MD5 3944510308e77b92ac85c07708947ad0 files/digest-mol-0.9.70 64
-MD5 de4dd986b6c963eae483aebbab3d7a0d files/digest-mol-0.9.71_pre1-r1 121
+MD5 659812abffbd24cf3a951dc3ea433827 files/mol-pciproxy-dump.patch 8955
 MD5 1b1d52b69bcae00d0339c0f3f4ae9a6d files/mol-tiger.patch 3681
-MD5 8eb2c97c995cba996b31b0ba38ef4fd0 files/mol-0.9.71_pre1-tmp-offset.patch 864
 MD5 c0056d18f99396ba8607109a26dc9188 files/mol-uname.diff 618
-MD5 3bf68312e4299f777065f55eea5297fa files/mol-0.9.71_pre1-nopriority.patch 1861
+MD5 11a4255ad58825f89d459519290217c2 files/mol-verify_area.diff 4696
+MD5 3263d375abba2d098c636efc2b135ea5 metadata.xml 333
+MD5 17cd94d375a868aa1424c87c33d451e8 mol-0.9.70-r1.ebuild 3939
+MD5 56f8a1561157a28124d55347470da6c8 mol-0.9.70.ebuild 4047
+MD5 457d88cf9e8da3a70ef024b28d6032a0 mol-0.9.71_pre1-r3.ebuild 5208
+MD5 9f8834a0ad9b34a43e9e14e9818fbf3f mol-0.9.71_pre2.ebuild 4217
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFDO1oDcsIHjyDViGQRAr0lAKCn2BSHgI1tywJVeGVdMM/AH3X58QCeOnZV
-cSEZwrSVvEaIq+l4e/+SHvM=
-=l3NX
+iD8DBQFDSc6EcsIHjyDViGQRAjNBAKCtnMrOLq7GIepdvoB+0SCbnEacWgCg3PqX
+MxyLg9KmdTWfMMGPJyWAWK0=
+=9ueS
 -----END PGP SIGNATURE-----
diff --git a/app-emulation/mol/files/digest-mol-0.9.71_pre1 b/app-emulation/mol/files/digest-mol-0.9.71_pre1
deleted file mode 100644 (file)
index 93c85dd..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b12e3beca8c90b56af09cb41f66920b0 mol-0.9.71_pre1.tar.bz2 1768219
diff --git a/app-emulation/mol/files/digest-mol-0.9.71_pre1-r1 b/app-emulation/mol/files/digest-mol-0.9.71_pre1-r1
deleted file mode 100644 (file)
index cb89a5a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 b12e3beca8c90b56af09cb41f66920b0 mol-0.9.71_pre1.tar.bz2 1768219
-MD5 e4f4fb6e63380997c1ab6d554ca93c00 bootx.gz 33043
diff --git a/app-emulation/mol/files/digest-mol-0.9.71_pre1-r2 b/app-emulation/mol/files/digest-mol-0.9.71_pre1-r2
deleted file mode 100644 (file)
index 9b3d5b0..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b12e3beca8c90b56af09cb41f66920b0 mol-0.9.71_pre1.tar.bz2 1768219
-MD5 e4f4fb6e63380997c1ab6d554ca93c00 bootx.gz 33043
-MD5 b2f4c10dcadfa689cc54834f3d154884 mol-pciproxy.patch.bz2 16226
diff --git a/app-emulation/mol/files/digest-mol-0.9.71_pre2 b/app-emulation/mol/files/digest-mol-0.9.71_pre2
new file mode 100644 (file)
index 0000000..9abc23a
--- /dev/null
@@ -0,0 +1 @@
+MD5 6ea520485a84b223921c30c39196ba73 mol-0.9.71_pre2.tar.bz2 1750684
diff --git a/app-emulation/mol/mol-0.9.71_pre1-r1.ebuild b/app-emulation/mol/mol-0.9.71_pre1-r1.ebuild
deleted file mode 100644 (file)
index 8f4b354..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2005 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_pre1-r1.ebuild,v 1.2 2005/08/06 21:05:49 carlo 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
-                http://dev.gentoo.org/~josejx/bootx.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* ~ppc"
-IUSE="vnc alsa oss fbcon X oldworld sheep debug dga usb"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-
-DEPEND=""
-RDEPEND="net-misc/dhcp
-       net-firewall/iptables
-       alsa? ( virtual/alsa )
-       vnc? ( net-misc/vnc )
-       X? ( virtual/x11 )"
-
-
-MODULE_NAMES="mol(mol:${S}/src/kmod/Linux)
-                         sheep(net:${S}/src/netdriver)
-                         tun(net:${S}/src/netdriver)"
-
-pkg_setup() {
-       echo
-       einfo "If you want to use MOL fullscreen on a virtual console"
-       einfo "be sure to have the USE-flag \"fbcon\" set!"
-       echo
-
-       linux-mod_pkg_setup
-}
-
-src_unpack() {
-       unpack ${A}
-
-       cd ${S}
-       epatch ${FILESDIR}/${PN}-module-fix.patch
-       epatch ${FILESDIR}/${P}-nopriority.patch
-
-       # Fixes bug 79428
-       epatch ${FILESDIR}/${P}-linux-2.6.9.patch
-
-       # Adds big filesystem (>2Gb) image support, bug #80098
-       epatch ${FILESDIR}/${P}-big-filesystem.patch
-
-       # Fixes bug tmp-offset access violation
-       epatch ${FILESDIR}/${P}-tmp-offset.patch
-
-       # dhcp config fix and show dchpd messages on starting mol
-       sed -i "s:#ddns-update-style:ddns-update-style:g" Doc/config/dhcpd-mol.conf || die
-       sed -i "s:DHCPD\ -q\ -cf:DHCPD\ -cf:g" Doc/config/tunconfig || die
-
-       # Add tiger support to MOL
-       epatch ${FILESDIR}/${PN}-tiger.patch
-
-       # Add new bootloader
-       # Boot loader courtesy of http://www-user.rkrk.uni-kl.de/~nissler/mol/
-       cp ${WORKDIR}/bootx ${S}/libimport/drivers/bootx
-       cp ${WORKDIR}/bootx ${S}/mollib/drivers/bootx
-}
-
-src_compile() {
-       filter-flags -fsigned-char
-
-       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=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
-
-       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
-}
-
-pkg_postinst() {
-       echo
-       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 "              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 the dhcp server:"
-       einfo "    Socket Filtering (CONFIG_FILTER)"
-       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
-}
diff --git a/app-emulation/mol/mol-0.9.71_pre1-r2.ebuild b/app-emulation/mol/mol-0.9.71_pre1-r2.ebuild
deleted file mode 100644 (file)
index 9ce700a..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2005 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_pre1-r2.ebuild,v 1.2 2005/08/06 21:05:49 carlo 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
-                mirror://gentoo/bootx.gz
-                mirror://gentoo/mol-pciproxy.patch.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* ~ppc"
-IUSE="vnc alsa oss fbcon X oldworld sheep debug dga usb pci"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-
-DEPEND=""
-RDEPEND="net-misc/dhcp
-       net-firewall/iptables
-       alsa? ( virtual/alsa )
-       vnc? ( net-misc/vnc )
-       X? ( virtual/x11 )"
-
-
-MODULE_NAMES="mol(mol:${S}/src/kmod/Linux)
-                         sheep(net:${S}/src/netdriver)
-                         tun(net:${S}/src/netdriver)"
-
-pkg_setup() {
-       echo
-       einfo "If you want to use MOL fullscreen on a virtual console"
-       einfo "be sure to have the USE-flag \"fbcon\" set!"
-       echo
-
-       linux-mod_pkg_setup
-}
-
-src_unpack() {
-       unpack ${A}
-
-       cd ${S}
-       epatch ${FILESDIR}/${PN}-module-fix.patch
-       epatch ${FILESDIR}/${P}-nopriority.patch
-
-       # Fixes bug 79428
-       epatch ${FILESDIR}/${P}-linux-2.6.9.patch
-
-       # Adds big filesystem (>2Gb) image support, bug #80098
-       epatch ${FILESDIR}/${P}-big-filesystem.patch
-
-       # Fixes bug tmp-offset access violation
-       epatch ${FILESDIR}/${P}-tmp-offset.patch
-
-       # dhcp config fix and show dchpd messages on starting mol
-       sed -i "s:#ddns-update-style:ddns-update-style:g" Doc/config/dhcpd-mol.conf || die
-       sed -i "s:DHCPD\ -q\ -cf:DHCPD\ -cf:g" Doc/config/tunconfig || die
-
-       # Add tiger support to MOL
-       epatch ${FILESDIR}/${PN}-tiger.patch
-
-       # Add new bootloader
-       # Boot loader courtesy of http://www-user.rkrk.uni-kl.de/~nissler/mol/
-       cp ${WORKDIR}/bootx ${S}/libimport/drivers/bootx
-       cp ${WORKDIR}/bootx ${S}/mollib/drivers/bootx
-
-       # PCI Proxy Patch
-       epatch ${WORKDIR}/${PN}-pciproxy.patch
-       # PCI Debugging Patch
-       if use debug; then
-               epatch ${FILESDIR}/${PN}-pciproxy-dump.patch
-       fi
-}
-
-src_compile() {
-       filter-flags -fsigned-char
-
-       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=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 is not set:CONFIG_PCIPROXY=y:" .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
-}
-
-pkg_postinst() {
-       echo
-       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 "              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 the dhcp server:"
-       einfo "    Socket Filtering (CONFIG_FILTER)"
-       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
-}
similarity index 85%
rename from app-emulation/mol/mol-0.9.71_pre1.ebuild
rename to app-emulation/mol/mol-0.9.71_pre2.ebuild
index 783272cee13603784a53d0a1d43a5698b19b9d72..c3e7dfb4494a435d98d945b2a8ee3aa8d4d10aa7 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 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_pre1.ebuild,v 1.6 2005/08/06 21:05:49 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/mol-0.9.71_pre2.ebuild,v 1.1 2005/10/10 02:14:13 josejx Exp $
 
 inherit flag-o-matic eutils linux-mod
 
@@ -11,7 +11,7 @@ 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"
+IUSE="vnc alsa oss fbcon X oldworld sheep debug dga usb pci"
 
 MAKEOPTS="${MAKEOPTS} -j1"
 
@@ -27,7 +27,6 @@ MODULE_NAMES="mol(mol:${S}/src/kmod/Linux)
                          sheep(net:${S}/src/netdriver)
                          tun(net:${S}/src/netdriver)"
 
-
 pkg_setup() {
        echo
        einfo "If you want to use MOL fullscreen on a virtual console"
@@ -39,28 +38,17 @@ pkg_setup() {
 
 src_unpack() {
        unpack ${A}
-
        cd ${S}
-       epatch ${FILESDIR}/${PN}-module-fix.patch
-       epatch ${FILESDIR}/${P}-nopriority.patch
-
-       # Fixes bug 79428
-       epatch ${FILESDIR}/${P}-linux-2.6.9.patch
-
-       # Adds big filesystem (>2Gb) image support, bug #80098
-       epatch ${FILESDIR}/${P}-big-filesystem.patch
-
-       # Fixes bug tmp-offset access violation
-       epatch ${FILESDIR}/${P}-tmp-offset.patch
-
-       # dhcp config fix and show dchpd messages on starting mol
-       sed -i "s:#ddns-update-style:ddns-update-style:g" Doc/config/dhcpd-mol.conf || die
-       sed -i "s:DHCPD\ -q\ -cf:DHCPD\ -cf:g" Doc/config/tunconfig || die
-
+       # PCI Debugging Patch
+       if use debug; then
+               epatch ${FILESDIR}/${PN}-pciproxy-dump.patch
+       fi
 }
 
 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=""
@@ -84,6 +72,7 @@ src_compile() {
        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 is not set:CONFIG_PCIPROXY=y:" .config-ppc
 
        einfo "The configuration has been altered according to your USE-flags."
        # reinitialize our changed configuration