summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/ltsp-core/ChangeLog10
-rw-r--r--net-misc/ltsp-core/Manifest6
-rw-r--r--net-misc/ltsp-core/files/digest-ltsp-core-4.051
-rw-r--r--net-misc/ltsp-core/files/digest-ltsp-core-4.0_beta123
-rw-r--r--net-misc/ltsp-core/ltsp-core-4.0.ebuild162
-rw-r--r--net-misc/ltsp-core/ltsp-core-4.0_beta1.ebuild124
6 files changed, 223 insertions, 153 deletions
diff --git a/net-misc/ltsp-core/ChangeLog b/net-misc/ltsp-core/ChangeLog
index d378f4a46e13..f42aab55f1e9 100644
--- a/net-misc/ltsp-core/ChangeLog
+++ b/net-misc/ltsp-core/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/ltsp-core
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ltsp-core/ChangeLog,v 1.12 2003/10/30 17:36:53 lanius Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ltsp-core/ChangeLog,v 1.13 2004/01/17 20:40:43 lanius Exp $
+
+*ltsp-core-4.0 (17 Jan 2004)
+
+ 17 Jan 2004; Heinrich Wendel <lanius@gentoo.org> ltsp-core-4.0.ebuild,
+ ltsp-core-4.0_beta1.ebuild:
+ version bump
30 Oct 2003; Heinrich Wendel <lanius@gentoo.org> ltsp-core-3.0.9-r1.ebuild,
ltsp-core-3.0.9-r2.ebuild, ltsp-core-3.0.9-r3.ebuild,
diff --git a/net-misc/ltsp-core/Manifest b/net-misc/ltsp-core/Manifest
index cdc04af3e4c5..7ad5ed6282a6 100644
--- a/net-misc/ltsp-core/Manifest
+++ b/net-misc/ltsp-core/Manifest
@@ -1,8 +1,7 @@
MD5 155ecc98fa37be20bacf3055512a44ed ltsp-core-3.0.9-r1.ebuild 11021
MD5 b52c41f8aeb1b47edf76e70ab1888ffd ltsp-core-3.0.9-r3.ebuild 11024
-MD5 6e361f73cec8b9315e924d04201d90fa ltsp-core-4.0_beta1.ebuild 4752
-MD5 4f01bdfc364209194d04201a20436e3c ChangeLog 4810
-MD5 5ce49fad750d8b2e6e71707804f8211b ltsp-core-4.0.ebuild 3895
+MD5 6d71bcf50ded15833c0e4ccbcadef818 ChangeLog 4959
+MD5 44c4cc8cbdbc61f36fb9eed3ce919282 ltsp-core-4.0.ebuild 3889
MD5 e93ac4a097b01ca94ac388cc874ad8ac files/tftp 259
MD5 03109ccf3695c8575faea0892e432db2 files/ltsp.conf 62
MD5 176cb9dd8ee73be851a6f41201de45d4 files/digest-ltsp-core-3.0.9-r1 1405
@@ -13,7 +12,6 @@ MD5 5ebe40a6a4b11abede73ff5daa139fe3 files/dhcpd.conf 4439
MD5 0f37dcb7969240b88c680e0569385e2d files/eb-5.0.9-eepro100.lzpxe 16426
MD5 28a7c3eb45b470b14d8008d19b867ea3 files/kdmrc.pl 2007
MD5 bad8939159d8bdddfdb5625ca5ae9f8e files/ltsp.gif 8946
-MD5 fa52ba303f5a485c04da3ecab076eb01 files/digest-ltsp-core-4.0_beta1 1659
MD5 f66bc50e497959cf0df7e1e830d528eb files/gdm.conf.pl 2238
MD5 a4b38d8b3e2c77d7bc1029c9aaf5c459 files/Xsetup_workstation 421
MD5 98c1e1d5fd02a42ec01348e7525e8108 files/eb-5.0.9-3c905c-tpo.lzpxe 17191
diff --git a/net-misc/ltsp-core/files/digest-ltsp-core-4.0 b/net-misc/ltsp-core/files/digest-ltsp-core-4.0
new file mode 100644
index 000000000000..7164b96ad897
--- /dev/null
+++ b/net-misc/ltsp-core/files/digest-ltsp-core-4.0
@@ -0,0 +1,51 @@
+MD5 37f5274b8e33dfc49089407e89d2a682 ltsp-ltsptree-0.09-0-i386.tgz 31326
+MD5 1c38fea4aad1fada17fc4d96bc6e15d7 ltsp-glibc-2.3.2-0-i386.tgz 8443319
+MD5 a9b397fbbccafb6915311da7e73a836c ltsp-sysvinit-2.84-0-i386.tgz 14390
+MD5 a34c9289100f8ff6f04dbf1667704b24 ltsp-popt-1.0-0-i386.tgz 103576
+MD5 d96253bffd3f4ac7c0e0d3a395ddb0d2 ltsp-bash-2.05b-0-i386.tgz 341541
+MD5 a2625ab7a5b251450758148e6f1cb70e ltsp-busybox-0.60.4-0-i386.tgz 82577
+MD5 28fbc34cc862f13dc192cbcce3b0a414 ltsp-devfsd-1.3.25-0-i386.tgz 19006
+MD5 431b3afe8c6e62004387dcc846c43918 ltsp-getltscfg-0.02-0-i386.tgz 13752
+MD5 ace684d5dc23a5a6c5c482cc54177063 ltsp-libgcc_s-3.2.3-0-i386.tgz 78939
+MD5 f4a6d90fe16b477ceb137f9e0719340a ltsp-haltsys-0.02-0-i386.tgz 1534
+MD5 8639db14ff2fac734e0f2c10ebd0dcd7 ltsp-e2fsprogs-1.29-0-i386.tgz 477397
+MD5 ca92feb0d71183d2eddf576b7e7b5b55 ltsp-startsess-1.1-0-i386.tgz 2275
+MD5 1d7c82ee8af6ae201ce559985027fb19 ltsp-lp_server-1.1.6-0-i386.tgz 10807
+MD5 56c9c3da5cdaed257b68fc0a2290f626 ltsp-ltspinfod-0.1-0-i386.tgz 11378
+MD5 d83660c112b56e3c86384130876603f0 ltsp-modutils-2.4.22-0-i386.tgz 135929
+MD5 083089ac2c0e3020aefe91ed82fe3c9b ltsp-ncurses-5.3-0-i386.tgz 794503
+MD5 31e8cfe5d6b8dda714230dd29dedd83b ltsp-open-1.4-0-i386.tgz 5103
+MD5 c54d49003401e04f16e9a3b2d6094758 ltsp-prep_swap-0.01-0-i386.tgz 11763
+MD5 20e78987ed429e79e10207679c6fb2a0 ltsp-zlib-1.1.4-0-i386.tgz 25663
+MD5 98262b7587050d1c2321341f0af9ab3b ltsp-libpng-1.2.5-0-i386.tgz 197551
+MD5 d5134a153c710fe6cd73178a67ba5974 ltsp-pci_scan-0.02-0-i386.tgz 2614
+MD5 211f44ab9a34db19ac5494f62bca9b6d ltsp-pam-0.77-0-i386.tgz 125282
+MD5 b0682873c2431b64d103c96cad98618e ltsp-ssh-3.7.1p2-0-i386.tgz 2153506
+MD5 f24980d2d2840bd5462ead277879b98d ltsp-audiofile-0.2.3-0-i386.tgz 70211
+MD5 be0f50d0e613d418aa6b9e7228cb53ba ltsp-esd-0.2.32-0-i386.tgz 198209
+MD5 f04b271dfa942511b251b6f730c7d31f ltsp-net-tools-1.60-0-i386.tgz 17765
+MD5 0a05b3ca03e3ac5dc60cbd6573ee74ed ltsp-xinetd-2.3.12-0-i386.tgz 85467
+MD5 971bfc913d045f617c21660ec1340954 ltsp-ypbind-1.14-0-i386.tgz 17122
+MD5 70289dac26fda8fa436077d36b0c4042 ltsp-tcp_wrappers-7.6-0-i386.tgz 14579
+MD5 b9297a243eda20c43bcf6f14170dd478 ltsp-portmap-4-0-i386.tgz 17632
+MD5 75c80dd6e02f50553bcb185f98a6e7e1 ltsp-rdesktop-1.2.0-0-i386.tgz 80048
+MD5 f57948aad898d0cef75d4bf7b52aadb1 ltspcfg-0.3.tgz 28915
+MD5 4f103d9b4f1e6441b1998060807514a8 ltsp_kernel-3.0.12-i386.tgz 5483589
+MD5 9873ff76b3bdab64f176f947ec4fd544 ltsp-gdb-5.3-0-i386.tgz 1604236
+MD5 b8ea654d989c4bc8313f744d7d3ab369 ltsp-strace-4.4.94-0-i386.tgz 359956
+MD5 51b7d0d8a6cf8f478461af6910fe28af ltsp-x-core-4.3.99.901-0-i386.tgz 17254119
+MD5 ed8af85cd610489281b6db67b6f992cd ltsp-x-fonts-4.3.99.901-0-i386.tgz 19829895
+MD5 24622177787a3f1959a085616ac2e068 ltsp-x-fonts-100dpi-4.3.99.901-0-i386.tgz 12238004
+MD5 3f01570d64a636ac0d6da23d8b6d3790 ltsp_x336_3DLabs-3.3.6-0-i386.tgz 997287
+MD5 34c0ba5edb40462a759f2f0c4617eeca ltsp_x336_8514-3.3.6-0-i386.tgz 795554
+MD5 fb6f383e3196f2503361ab027ecdd3c9 ltsp_x336_AGX-3.3.6-0-i386.tgz 880345
+MD5 89832bc5d619170cf761545a509aa535 ltsp_x336_I128-3.3.6-0-i386.tgz 983599
+MD5 48dc1ac6ab7744892418358d685dfef1 ltsp_x336_Mach32-3.3.6-0-i386.tgz 863888
+MD5 17276001cf002dbde8b74be98577d111 ltsp_x336_Mach64-3.3.6-0-i386.tgz 918865
+MD5 05c1c3b4d2281dbd5cc4c33a4f046b8e ltsp_x336_Mach8-3.3.6-0-i386.tgz 800390
+MD5 2336b7dc9b85861cd1a89e600d39ae0e ltsp_x336_Mono-3.3.6-0-i386.tgz 874932
+MD5 c830c8c4b905a62adaf012f40b94d6c1 ltsp_x336_P9000-3.3.6-0-i386.tgz 888449
+MD5 fd25c0fc5e95d2ce65f03da1e498c2e9 ltsp_x336_S3_S3V-3.3.6-0-i386.tgz 2078856
+MD5 98aa7a1688b0f350cc8f71a0643e9234 ltsp_x336_SVGA-3.3.6-0-i386.tgz 1509383
+MD5 7440be361bf47dc9468e260265e19047 ltsp_x336_VGA16-3.3.6-0-i386.tgz 891371
+MD5 a9225435b1987fc327166f2e64179a56 ltsp_x336_W32-3.3.6-0-i386.tgz 818841
diff --git a/net-misc/ltsp-core/files/digest-ltsp-core-4.0_beta1 b/net-misc/ltsp-core/files/digest-ltsp-core-4.0_beta1
deleted file mode 100644
index aef22a0285b2..000000000000
--- a/net-misc/ltsp-core/files/digest-ltsp-core-4.0_beta1
+++ /dev/null
@@ -1,23 +0,0 @@
-MD5 bb03a712585e352a6fbb6449d0a2bd74 ltsp_kernel-3.0.9-i386.tgz 11303559
-MD5 00eeb6069a751b8d3bd2807b08b6194d ltsp-bash-0.02-0-i386.tgz 338654
-MD5 4a412e363250121ec121aa8990cdb2d5 ltsp-busybox-0.02-0-i386.tgz 93876
-MD5 afc735f6f67e5da880819f7c3a57e6f8 ltsp-devfsd-0.02-0-i386.tgz 19268
-MD5 f0d041f288f5bd55982effcb5579ecbe ltsp-e2fsprogs-0.02-0-i386.tgz 478652
-MD5 431b3afe8c6e62004387dcc846c43918 ltsp-getltscfg-0.02-0-i386.tgz 13752
-MD5 8eee8cb1a55dd6c111a6234ac5bb6a10 ltsp-glibc-0.02-0-i386.tgz 8453230
-MD5 638d81a4186b010ae3209a044258be69 ltsp-lp_server-0.02-0-i386.tgz 11030
-MD5 a534a85c3bd8d2a44f58f53225c0279a ltsp-ltsptree-0.02-0-i386.tgz 27802
-MD5 17caefb7743fb3ddd800e9617a93c2b4 ltsp-modutils-0.02-0-i386.tgz 137307
-MD5 c1035fee221104bb710ce0f66f804eca ltsp-ncurses-0.02-0-i386.tgz 661049
-MD5 d379437199915ab9aba5cf2b18973032 ltsp-open-0.02-0-i386.tgz 5281
-MD5 d5134a153c710fe6cd73178a67ba5974 ltsp-pci_scan-0.02-0-i386.tgz 2614
-MD5 8f9362d67874cf2b775c32c1e0930be1 ltsp-popt-0.02-0-i386.tgz 45
-MD5 48053055250f83d580b2ab9a3ed7b66d ltsp-prep_swap-0.02-0-i386.tgz 11900
-MD5 e0d6c25137a9101d2ba89eb23f98e172 ltsp-startsess-0.02-0-i386.tgz 2411
-MD5 fe209153dd164fcdfe206d5ef95faea6 ltsp-sysvinit-0.02-0-i386.tgz 14567
-MD5 7825c8116f106893859aa9b8e2e541e0 ltspcfg-0.2.tgz 28445
-MD5 63110caff3c7fb30ebabeb2536f51bca ltsp-strace-0.02-0-i386.tgz 410404
-MD5 ece536381d03d965ac4add28e2dfd133 ltsp-gdb-0.02-0-i386.tgz 1602409
-MD5 daebd6eb2c4635df0696682bf13362b7 ltsp-x-core-0.02-0-i386.tgz 13078794
-MD5 d0424a052d681f97338dc7ebeb8e0fc5 ltsp-x-fonts-0.02-0-i386.tgz 18708112
-MD5 bf28467ccbc46bf8486f68e0d74da968 ltsp-x-fonts-100dpi-0.02-0-i386.tgz 12185230
diff --git a/net-misc/ltsp-core/ltsp-core-4.0.ebuild b/net-misc/ltsp-core/ltsp-core-4.0.ebuild
new file mode 100644
index 000000000000..acc0aab6473c
--- /dev/null
+++ b/net-misc/ltsp-core/ltsp-core-4.0.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ltsp-core/ltsp-core-4.0.ebuild,v 1.1 2004/01/17 20:40:43 lanius Exp $
+
+IUSE="X debug"
+
+DESCRIPTION="LTSP - Linux Terminal Server Project"
+HOMEPAGE="http://www.ltsp.org/"
+
+LTSP_CORE="ltsp-ltsptree-0.09-0-i386.tgz
+ltsp-glibc-2.3.2-0-i386.tgz
+ltsp-sysvinit-2.84-0-i386.tgz
+ltsp-popt-1.0-0-i386.tgz
+ltsp-bash-2.05b-0-i386.tgz
+ltsp-busybox-0.60.4-0-i386.tgz
+ltsp-devfsd-1.3.25-0-i386.tgz
+ltsp-getltscfg-0.02-0-i386.tgz
+ltsp-libgcc_s-3.2.3-0-i386.tgz
+ltsp-haltsys-0.02-0-i386.tgz
+ltsp-e2fsprogs-1.29-0-i386.tgz
+ltsp-startsess-1.1-0-i386.tgz
+ltsp-lp_server-1.1.6-0-i386.tgz
+ltsp-ltspinfod-0.1-0-i386.tgz
+ltsp-modutils-2.4.22-0-i386.tgz
+ltsp-ncurses-5.3-0-i386.tgz
+ltsp-open-1.4-0-i386.tgz
+ltsp-prep_swap-0.01-0-i386.tgz
+ltsp-zlib-1.1.4-0-i386.tgz
+ltsp-libpng-1.2.5-0-i386.tgz
+ltsp-pci_scan-0.02-0-i386.tgz
+ltsp-pam-0.77-0-i386.tgz
+ltsp-ssh-3.7.1p2-0-i386.tgz
+ltsp-audiofile-0.2.3-0-i386.tgz
+ltsp-esd-0.2.32-0-i386.tgz
+ltsp-net-tools-1.60-0-i386.tgz
+ltsp-xinetd-2.3.12-0-i386.tgz
+ltsp-ypbind-1.14-0-i386.tgz
+ltsp-tcp_wrappers-7.6-0-i386.tgz
+ltsp-portmap-4-0-i386.tgz
+ltsp-rdesktop-1.2.0-0-i386.tgz"
+
+LTSP_DEBUG="ltsp-gdb-5.3-0-i386.tgz
+ltsp-strace-4.4.94-0-i386.tgz"
+
+LTSP_X="ltsp-x-core-4.3.99.901-0-i386.tgz
+ltsp-x-fonts-4.3.99.901-0-i386.tgz
+ltsp-x-fonts-100dpi-4.3.99.901-0-i386.tgz
+ltsp_x336_3DLabs-3.3.6-0-i386.tgz
+ltsp_x336_8514-3.3.6-0-i386.tgz
+ltsp_x336_AGX-3.3.6-0-i386.tgz
+ltsp_x336_I128-3.3.6-0-i386.tgz
+ltsp_x336_Mach32-3.3.6-0-i386.tgz
+ltsp_x336_Mach64-3.3.6-0-i386.tgz
+ltsp_x336_Mach8-3.3.6-0-i386.tgz
+ltsp_x336_Mono-3.3.6-0-i386.tgz
+ltsp_x336_P9000-3.3.6-0-i386.tgz
+ltsp_x336_S3_S3V-3.3.6-0-i386.tgz
+ltsp_x336_SVGA-3.3.6-0-i386.tgz
+ltsp_x336_VGA16-3.3.6-0-i386.tgz
+ltsp_x336_W32-3.3.6-0-i386.tgz"
+
+LTSP_STUFF="ltspcfg-0.3.tgz
+ltsp_kernel-3.0.12-i386.tgz"
+
+for FILE in ${LTSP_CORE} ${LTSP_STUFF}
+do
+ SRC_URI="${SRC_URI} mirror://sourceforge/ltsp/${FILE}"
+done
+
+for FILE in ${LTSP_DEBUG} ${LTSP_STUFF}
+do
+ SRC_URI="${SRC_URI} debug? ( mirror://sourceforge/ltsp/${FILE} )"
+done
+
+for FILE in ${LTSP_X}
+do
+ SRC_URI="${SRC_URI} X? ( mirror://sourceforge/ltsp/${FILE} )"
+done
+
+RDEPEND="X? ( x11-base/xfree )
+ virtual/tftp
+ sys-apps/xinetd
+ net-misc/dhcp
+ net-fs/nfs-utils
+ net-nds/portmap"
+
+DEPEND="${RDEPEND}"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+S=${WORKDIR}/ltsp
+
+src_unpack() {
+ # nothing to unpack
+ mkdir ltsp
+ cd ltsp
+
+ for FILE in ${LTSP_STUFF}
+ do
+ tar -xzf ${DISTDIR}/${FILE}
+ done
+}
+
+src_install() {
+ # now unpack the files
+ # first the core stuff
+ dodir /opt/ltsp
+ echo "Installing core packages..."
+ for FILE in ${LTSP_CORE}
+ do
+ tar -xzf ${DISTDIR}/${FILE} -C ${D}/opt/ltsp 2> /dev/null
+ done
+
+ # debug stuff
+ if [ `use debug` ]; then
+ echo "Installing debug packages..."
+ for FILE in ${LTSP_DEBUG}
+ do
+ tar -xzf ${DISTDIR}/${FILE} -C ${D}/opt/ltsp 2> /dev/null
+ done
+ fi
+
+ # X stuff
+ if [ `use X` ]; then
+ echo "Installing X packages..."
+ for FILE in ${LTSP_X}
+ do
+ tar -xzf ${DISTDIR}/${FILE} -C ${D}/opt/ltsp 2> /dev/null
+ done
+ fi
+
+ # kernel stuff
+ echo "Installing kernel packages..."
+ cd ltsp_kernel
+ find i386 -print | cpio -pmud --quiet ${D}/opt/ltsp 2> /dev/null
+ insinto /tftpboot/lts
+ doins vmlinuz-2.4.22-ltsp-2
+ cd ..
+
+ # pxe stuff
+ insinto /tftpboot/pxe
+ doins ${FILESDIR}/eb-5.0.9-rtl8139.lzpxe
+ doins ${FILESDIR}/eb-5.0.9-eepro100.lzpxe
+ doins ${FILESDIR}/eb-5.0.9-3c905c-tpo.lzpxe
+
+ # config stuff
+ echo "Doing several other stuff..."
+ dosbin ltspcfg
+
+ # several other stuff
+ mv ${D}/opt/ltsp/i386/etc/lts.conf ${D}/opt/ltsp/i386/etc/lts.conf.example
+ dodoc COPYING
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Either use ltspcfg to configure your stuff, or follow the guide at gentoo.org:"
+ einfo " http://www.gentoo.org/doc/en/ltsp.xml "
+ einfo
+}
diff --git a/net-misc/ltsp-core/ltsp-core-4.0_beta1.ebuild b/net-misc/ltsp-core/ltsp-core-4.0_beta1.ebuild
deleted file mode 100644
index 2cba0dc1390a..000000000000
--- a/net-misc/ltsp-core/ltsp-core-4.0_beta1.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ltsp-core/ltsp-core-4.0_beta1.ebuild,v 1.4 2003/10/30 17:36:53 lanius Exp $
-
-# TODO: xdm configuration, dhcp-pxe example
-
-IUSE="X debug"
-
-DESCRIPTION="LTSP - Linux Terminal Server Project"
-HOMEPAGE="http://www.ltsp.org/"
-SRC_URI="mirror://sourceforge/ltsp/ltsp_kernel-3.0.9-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-bash-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-busybox-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-devfsd-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-e2fsprogs-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-getltscfg-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-glibc-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-lp_server-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-ltsptree-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-modutils-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-ncurses-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-open-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-pci_scan-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-popt-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-prep_swap-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-startsess-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-sysvinit-0.02-0-i386.tgz
- mirror://sourceforge/ltsp/ltspcfg-0.2.tgz
- debug? (
- http://www.ltsp.org/ltsp/ltsp-strace-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-gdb-0.02-0-i386.tgz )
- X? (
- http://www.ltsp.org/ltsp/ltsp-x-core-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-x-fonts-0.02-0-i386.tgz
- http://www.ltsp.org/ltsp/ltsp-x-fonts-100dpi-0.02-0-i386.tgz )"
-
-RDEPEND="X? ( x11-base/xfree )
- virtual/tftp
- sys-apps/xinetd
- net-misc/dhcp
- net-fs/nfs-utils
- net-nds/portmap"
-
-DEPEND="${RDEPEND}"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86"
-
-S=${WORKDIR}/ltsp
-
-src_unpack() {
- # nothing to unpack
- mkdir ltsp
- cd ltsp
- tar -xzf ${DISTDIR}/ltspcfg-0.2.tgz
- tar -xzf ${DISTDIR}/ltsp_kernel-3.0.9-i386.tgz
-}
-
-src_install() {
- # now unpack the files
- # first the core stuff
- dodir /opt/ltsp
- echo "Installing core packages..."
- tar -xzf ${DISTDIR}/ltsp-bash-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-busybox-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-devfsd-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-e2fsprogs-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-getltscfg-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-glibc-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-lp_server-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-ltsptree-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-modutils-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-ncurses-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-open-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-pci_scan-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-popt-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-prep_swap-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-startsess-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-sysvinit-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
-
- # debug stuff
- if [ `use debug` ]; then
- echo "Installing debug packages..."
- tar -xzf ${DISTDIR}/ltsp-gdb-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-strace-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- fi
-
- # X stuff
- if [ `use X` ]; then
- echo "Installing X packages..."
- tar -xzf ${DISTDIR}/ltsp-x-core-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-x-fonts-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- tar -xzf ${DISTDIR}/ltsp-x-fonts-100dpi-0.02-0-i386.tgz -C ${D}/opt/ltsp 2> /dev/null
- fi
-
- # kernel stuff
- echo "Installing kernel packages..."
- cd ltsp_kernel
- find i386 -print | cpio -pmud --quiet ${D}/opt/ltsp 2> /dev/null
- insinto /tftpboot/lts
- doins vmlinuz-2.4.21-ltsp-1
- doins vmlinuz-2.4.21-ltsp-lpp-1
- insinto /tftpboot/pxe
- doins ${FILESDIR}/eb-5.0.9-rtl8139.lzpxe
- doins ${FILESDIR}/eb-5.0.9-eepro100.lzpxe
- doins ${FILESDIR}/eb-5.0.9-3c905c-tpo.lzpxe
- cd ..
-
- # config stuff
- echo "Doing several other stuff..."
- dosbin ltspcfg
-
- # several other stuff
- mv ${D}/opt/ltsp/i386/etc/lts.conf ${D}/opt/ltsp/i386/etc/lts.conf.example
- dodoc COPYING
-}
-
-pkg_postinst() {
- einfo
- einfo "Either use ltspcfg to configure your stuff, or follow the guide at gentoo.org:"
- einfo " http://www.gentoo.org/doc/en/ltsp.xml "
- einfo
-}