summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsss <sss@4d9a9b59-111c-4e0b-8f7a-7640551abb98>2009-03-29 19:46:03 +0000
committersss <sss@4d9a9b59-111c-4e0b-8f7a-7640551abb98>2009-03-29 19:46:03 +0000
commit2c7496fdd3f4c334205ba2a0adced1265d07db5a (patch)
tree0a96510e6a73801b5d8aec246321fe636732fc87
parente406e6bc0cfb611f72d3b0e2cc6e2b7ff1b9c8b9 (diff)
git-svn-id: http://172.18.13.13/svn/sss_overlay@6 4d9a9b59-111c-4e0b-8f7a-7640551abb98
-rw-r--r--app-misc/livecd-tools/files/autoconf-baselayout-2.patch118
-rw-r--r--app-misc/livecd-tools/livecd-tools-1.0.40.ebuild57
2 files changed, 175 insertions, 0 deletions
diff --git a/app-misc/livecd-tools/files/autoconf-baselayout-2.patch b/app-misc/livecd-tools/files/autoconf-baselayout-2.patch
new file mode 100644
index 0000000..0a3f3b6
--- /dev/null
+++ b/app-misc/livecd-tools/files/autoconf-baselayout-2.patch
@@ -0,0 +1,118 @@
+--- livecd-tools-1.0.40/autoconfig.orig 2008-05-29 06:17:17.000000000 +0200
++++ livecd-tools-1.0.40/autoconfig 2008-11-28 18:36:10.000000000 +0100
+@@ -361,7 +361,7 @@
+
+ if [ "${BRLTTY}" = "yes" ]
+ then
+- [ -x /etc/init.d/brltty ] && start_service brltty
++ [ -x /etc/init.d/brltty ] && /etc/init.d/brltty start
+ fi
+
+ if [ "${DETECT}" = "yes" ]
+@@ -416,10 +416,10 @@
+ # just let udev do it all.
+ if [ -x /etc/init.d/coldplug ]
+ then
+- start_service coldplug
++ /etc/init.d/coldplug start
+ elif [ -x /etc/init.d/hotplug ]
+ then
+- start_service hotplug
++ /etc/init.d/hotplug start
+ else
+ unpack_firmware
+ [ -x /sbin/udevtrigger ] && /sbin/udevtrigger
+@@ -434,7 +434,7 @@
+ then
+ modprobe apm power_off=1 >/dev/null 2>&1 && \
+ einfo "APM BIOS found, power management functions enabled ..."
+- [ -x /etc/init.d/apmd ] && start_service apmd
++ [ -x /etc/init.d/apmd ] && /etc/init.d/apmd start
+ else
+ einfo "Not Loading APM Bios support ..."
+ fi
+@@ -451,7 +451,7 @@
+ modprobe thermal >/dev/null 2>&1
+ modprobe video >/dev/null 2>&1
+ modprobe dock >/dev/null 2>&1
+- [ -x /etc/init.d/acpid ] && start_service acpid
++ [ -x /etc/init.d/acpid ] && /etc/init.d/acpid start
+ eend
+ else
+ einfo "Not Loading ACPI support ..."
+@@ -459,14 +459,14 @@
+
+ if [ "${IDEDMA}" = "yes" ]
+ then
+- [ -x /etc/init.d/hdparm ] && start_service hdparm
++ [ -x /etc/init.d/hdparm ] && /etc/init.d/hdparm start
+ else
+ ewarn "Disabling IDE DMA support ..."
+ fi
+
+ if [ "${PCMCIA}" = "yes" ]
+ then
+- [ -x /etc/init.d/pcmcia ] && start_service pcmcia
++ [ -x /etc/init.d/pcmcia ] && /etc/init.d/pcmcia start
+ else
+ ewarn "PCMCIA disabled via cmdline ..."
+ fi
+@@ -509,7 +509,7 @@
+ fi
+
+ [ "${GPM}" = "yes" ] \
+- && [ -x /etc/init.d/gpm ] && start_service gpm
++ && [ -x /etc/init.d/gpm ] && /etc/init.d/gpm start
+ fi
+ fi
+
+@@ -537,14 +537,14 @@
+ done
+ if [ "${NFS}" = "yes" ]
+ then
+- [ -x /etc/init.d/portmap ] && start_service portmap
+- [ -x /etc/init.d/nfsmount ] && start_service nfsmount
++ [ -x /etc/init.d/portmap ] && /etc/init.d/portmap start
++ [ -x /etc/init.d/nfsmount ] && /etc/init.d/nfsmount start
+ fi
+ if [ "${PASSWD}" = "no" ]
+ then
+ echo "root:${PASSWORD}" | chpasswd > /dev/null 2>&1
+ else
+- start_service pwgen
++ /etc/init.d/pwgen start
+ fi
+ if [ "${SSHD}" = "yes" ]
+ then
+@@ -555,7 +555,7 @@
+ ewarn "WARNING: You are starting sshd with a scrambled root password!!!"
+ ewarn "WARNING: You need to set a root password to be able to login remotely."
+ fi
+- [ -x /etc/init.d/sshd ] && start_service sshd
++ [ -x /etc/init.d/sshd ] && /etc/init.d/sshd start
+ fi
+ else
+ ewarn "No Network device auto detected ..."
+@@ -576,7 +576,7 @@
+
+ if [ -x /etc/init.d/alsasound ]
+ then
+- start_service alsasound
++ /etc/init.d/alsasound start
+ fi
+
+ if [ -e /proc/asound/cards ]
+@@ -615,11 +615,11 @@
+ then
+ if [ -x /etc/init.d/mkxf86config ]
+ then
+- start_service mkxf86config
++ /etc/init.d/mkxf86config start
+ fi
+ if [ -x /etc/init.d/x-setup ]
+ then
+- start_service x-setup
++ /etc/init.d/x-setup start
+ fi
+ else
+ touch /etc/init.d/.noxdm
diff --git a/app-misc/livecd-tools/livecd-tools-1.0.40.ebuild b/app-misc/livecd-tools/livecd-tools-1.0.40.ebuild
new file mode 100644
index 0000000..fc2663a
--- /dev/null
+++ b/app-misc/livecd-tools/livecd-tools-1.0.40.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/livecd-tools/livecd-tools-1.0.40.ebuild,v 1.9 2008/09/04 12:42:59 yngwin Exp $
+
+inherit eutils
+
+DESCRIPTION="Gentoo LiveCD tools for autoconfiguration of hardware"
+HOMEPAGE="http://wolf31o2.org/projects/livecd-tools"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ http://wolf31o2.org/sources/${PN}/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+#KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
+IUSE="opengl X"
+
+OPENGL_DEPEND="virtual/opengl
+ x11-misc/mkxf86config
+ app-admin/eselect-opengl"
+
+RDEPEND="dev-util/dialog
+ sys-apps/pciutils
+ sys-apps/gawk
+ sys-apps/sed
+ alpha? ( opengl? ( ${OPENGL_DEPEND} )
+ X? ( >=x11-misc/mkxf86config-0.9.7 ) )
+ amd64? ( opengl? ( ${OPENGL_DEPEND} )
+ X? ( >=x11-misc/mkxf86config-0.9.2 ) )
+ x86? ( opengl? ( ${OPENGL_DEPEND} )
+ X? ( x11-misc/mkxf86config ) )
+ ppc? ( opengl? ( ${OPENGL_DEPEND} )
+ X? ( >=x11-misc/mkxf86config-0.9.7 ) )"
+
+pkg_setup() {
+ ewarn "This package is designed for use on the LiveCD only and will do"
+ ewarn "unspeakably horrible and unexpected things on a normal system."
+ ewarn "YOU HAVE BEEN WARNED!!!"
+}
+
+src_install() {
+ epatch ${FILESDIR}/autoconf-baselayout-2.patch
+ doinitd autoconfig
+ newinitd spind.init spind
+ if use x86 || use amd64 || use ppc
+ then
+ if use opengl
+ then
+ dosbin x-setup openglify
+ newinitd x-setup.init x-setup
+ fi
+ fi
+ dosbin net-setup spind
+ into /
+ dobin bashlogin
+ dosbin livecd-functions.sh
+}