summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Toomsalu <frame@gentoo.org>2003-06-26 07:57:07 +0000
committerAndres Toomsalu <frame@gentoo.org>2003-06-26 07:57:07 +0000
commit85f589d0c71d245d50c281bd019301da4437351c (patch)
treeb4041a9f2842e19dbca94993c46273e851372cf4 /net-misc/ltsp-core
parentadded local use variables for media-video/{vlc,ffmpeg} (diff)
downloadhistorical-85f589d0c71d245d50c281bd019301da4437351c.tar.gz
historical-85f589d0c71d245d50c281bd019301da4437351c.tar.bz2
historical-85f589d0c71d245d50c281bd019301da4437351c.zip
ltsp_x_core bumped to version 3.0.4 (XFree 4.2.99)
Diffstat (limited to 'net-misc/ltsp-core')
-rw-r--r--net-misc/ltsp-core/ChangeLog7
-rw-r--r--net-misc/ltsp-core/Manifest4
-rw-r--r--net-misc/ltsp-core/files/digest-ltsp-core-3.0.9-r219
-rw-r--r--net-misc/ltsp-core/ltsp-core-3.0.9-r2.ebuild331
4 files changed, 359 insertions, 2 deletions
diff --git a/net-misc/ltsp-core/ChangeLog b/net-misc/ltsp-core/ChangeLog
index fb71acd03bb3..9c9a28b31120 100644
--- a/net-misc/ltsp-core/ChangeLog
+++ b/net-misc/ltsp-core/ChangeLog
@@ -1,7 +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.7 2003/06/25 14:55:45 frame Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ltsp-core/ChangeLog,v 1.8 2003/06/26 07:56:50 frame Exp $
+*ltsp-core-3.0.9-r2 (26 June 2003)
+
+ 26 June 2003; Andres Toomsalu <frame@gentoo.org>:
+ ltsp_x_core bumped to 3.0.4 (XFree 4.2.99)
+
*ltsp-core-3.0.9-r1 (25 June 2003)
25 June 2003; Andres Toomsalu <frame@pfm.ee>:
diff --git a/net-misc/ltsp-core/Manifest b/net-misc/ltsp-core/Manifest
index 5613845831df..91d820021af0 100644
--- a/net-misc/ltsp-core/Manifest
+++ b/net-misc/ltsp-core/Manifest
@@ -1,6 +1,7 @@
-MD5 759b2387a1a44b9fd934d6fecf94134c ChangeLog 3820
+MD5 abe47c8b9a4c317220a77bfa76fbef83 ChangeLog 3960
MD5 0f825ebddce3b3a48fa367128d56be25 ltsp-core-3.0.7-r1.ebuild 10477
MD5 5ba4e9e1d4f742f2ac4b0c4a4090eded ltsp-core-3.0.9-r1.ebuild 10477
+MD5 5755818722c3f9de63465f687378dd04 ltsp-core-3.0.9-r2.ebuild 10782
MD5 6833926b60ae4f3a1aa8e557866363be files/INSTALL.Gentoo 3514
MD5 1d8daed9b6e2768685b56bb3740d6af1 files/Xaccess 2057
MD5 a4b38d8b3e2c77d7bc1029c9aaf5c459 files/Xsetup_workstation 421
@@ -16,3 +17,4 @@ MD5 28a7c3eb45b470b14d8008d19b867ea3 files/kdmrc.pl 2007
MD5 03109ccf3695c8575faea0892e432db2 files/ltsp.conf 62
MD5 bad8939159d8bdddfdb5625ca5ae9f8e files/ltsp.gif 8946
MD5 e93ac4a097b01ca94ac388cc874ad8ac files/tftp 259
+MD5 abcbaa936e4e82d78f94f48283dfd8ed files/digest-ltsp-core-3.0.9-r2 1405
diff --git a/net-misc/ltsp-core/files/digest-ltsp-core-3.0.9-r2 b/net-misc/ltsp-core/files/digest-ltsp-core-3.0.9-r2
new file mode 100644
index 000000000000..38d27e3165b9
--- /dev/null
+++ b/net-misc/ltsp-core/files/digest-ltsp-core-3.0.9-r2
@@ -0,0 +1,19 @@
+MD5 4838e28c19a475e8cdd8d0b731b22264 ltsp_core-3.0.9-i386.tgz 1464997
+MD5 5c7defaea1de847e6c14f31d9e5302c7 ltsp_kernel-3.0.5-i386.tgz 5144448
+MD5 94dc471e8537d47568f35044b1bcfd4a ltsp_x_core-3.0.4-i386.tgz 13144315
+MD5 8fdd1b1c7dcb046afce99d88fa1576be ltsp_x_fonts-3.0.0-i386.tgz 8960579
+MD5 110d2a17b52c0d7612abe0f3ce9356bc ltsp_x336_3dlabs-3.0.0-i386.tgz 970548
+MD5 1c13359e6d061d7541dff346e2e9e81c ltsp_x336_8514-3.0.0-i386.tgz 776731
+MD5 13a9e7ccfdc06f29f13b09800f0424ab ltsp_x336_agx-3.0.0-i386.tgz 857495
+MD5 522c1585f8f42e1aa011313f7c590201 ltsp_x336_fbdev-3.0.0-i386.tgz 895495
+MD5 0226824dca52c8e090f2cd537b80195e ltsp_x336_i128-3.0.0-i386.tgz 958937
+MD5 f19237df108a434fc0a71ecdab573376 ltsp_x336_mach32-3.0.0-i386.tgz 843662
+MD5 4d8e294f65f9a13f8620a86539b8707b ltsp_x336_mach64-3.0.0-i386.tgz 895762
+MD5 9b0430c26b68a89090c4741c32a20e1d ltsp_x336_mach8-3.0.0-i386.tgz 780781
+MD5 a7ca6c0abe31ca7de39c20d03f52e951 ltsp_x336_mono-3.0.0-i386.tgz 866879
+MD5 1c5a520b7fa31acffa9436914d902f01 ltsp_x336_p9000-3.0.0-i386.tgz 866027
+MD5 2317fd746294a56315d268536f837056 ltsp_x336_s3-3.0.0-i386.tgz 1065793
+MD5 d24ca95a28fb26a7aaa0adf830ff06a9 ltsp_x336_s3v-3.0.0-i386.tgz 954549
+MD5 f07530b143b9652e6b7bf6bb911fe5c8 ltsp_x336_svga-3.0.0-i386.tgz 1468421
+MD5 ef89870555acdbf3632def68088f898d ltsp_x336_vga16-3.0.0-i386.tgz 869214
+MD5 a04cfc0f4b101d9e90ac3af60962d415 ltsp_x336_w32-3.0.0-i386.tgz 796005
diff --git a/net-misc/ltsp-core/ltsp-core-3.0.9-r2.ebuild b/net-misc/ltsp-core/ltsp-core-3.0.9-r2.ebuild
new file mode 100644
index 000000000000..33ba08ffb021
--- /dev/null
+++ b/net-misc/ltsp-core/ltsp-core-3.0.9-r2.ebuild
@@ -0,0 +1,331 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ltsp-core/ltsp-core-3.0.9-r2.ebuild,v 1.1 2003/06/26 07:56:50 frame Exp $
+
+
+IUSE="gnome kde"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="LTSP - Linux Terminal Server Project"
+HOMEPAGE="http://www.ltsp.org/"
+SRC_URI="mirror://sourceforge/ltsp/ltsp_core-3.0.9-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_kernel-3.0.5-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x_core-3.0.4-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x_fonts-3.0.0-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x336_3dlabs-3.0.0-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x336_8514-3.0.0-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x336_agx-3.0.0-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x336_fbdev-3.0.0-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x336_i128-3.0.0-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x336_mach32-3.0.0-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x336_mach64-3.0.0-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x336_mach8-3.0.0-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x336_mono-3.0.0-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x336_p9000-3.0.0-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x336_s3-3.0.0-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x336_s3v-3.0.0-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x336_svga-3.0.0-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x336_vga16-3.0.0-i386.tgz
+ mirror://sourceforge/ltsp/ltsp_x336_w32-3.0.0-i386.tgz"
+
+RDEPEND="gnome? ( >=gnome-base/gdm-2.4.0.0 )
+ kde? ( >=kde-base/kdebase-3.0.2 )
+ x11-base/xfree
+ app-admin/tftp-hpa
+ sys-apps/xinetd
+ net-misc/dhcp
+ net-fs/nfs-utils"
+
+DEPEND="${RDEPEND}"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+ltsp_strip_config() {
+ local SOURCE="/"$1
+ local TARGET=${D}/$SOURCE
+ sed -e "/## LTS-begin ##/,/## LTS-end ##/d" < ${SOURCE} >> ${TARGET}
+}
+
+ltsp_copy_config() {
+ local SOURCE="/"$1
+ local TARGET=${D}/$SOURCE
+ if test -f $SOURCE ; then
+ cp $SOURCE $TARGET
+ else
+ echo "!!! No config file named $SOURCE"
+ return 1
+ fi
+}
+
+modify_exports()
+{
+ echo ">>> Modifying /etc/exports ..."
+
+ # get the file
+ ltsp_strip_config /etc/exports
+
+ # insert new data
+ cat >> ${D}/etc/exports <<EOF
+
+## LTS-begin ##
+
+#
+# The lines between the 'LTS-begin' and the 'LTS-end' were added
+# on: `date` by the ltsp installation script.
+# For more information, visit the ltsp homepage
+# at http://www.ltsp.org
+#
+
+/opt/ltsp/i386 192.168.0.0/255.255.255.0(ro,no_root_squash)
+/var/opt/ltsp/swapfiles 192.168.0.0/255.255.255.0(rw,no_root_squash)
+
+#
+# The following entries need to be uncommented if you want
+# Local App support in ltsp
+#
+#/home 192.168.0.0/255.255.255.0(rw,no_root_squash)
+
+## LTS-end ##
+EOF
+
+}
+
+modify_xdm_xdm_config()
+{
+ local file=/etc/X11/xdm/xdm-config
+
+ if [ -f $file ] ; then
+ echo ">>> Modifying $file ..."
+
+ # get file
+ ltsp_strip_config $file
+
+ # make temp file
+ mv ${D}$file ${D}$file.temp
+
+ cat >> ${D}$file.temp <<EOF
+
+## LTS-begin ##
+
+#
+# The lines between the 'LTS-begin' and the 'LTS-end' were added
+# on: Mon Jan 21 21:40:50 CST 2002 by the ltsp installation script.
+# For more information, visit the ltsp homepage
+# at http://www.ltsp.org
+#
+
+DisplayManager.*.setup: /etc/X11/xdm/Xsetup_workstation
+
+## LTS-end ##
+EOF
+
+ # comment out display port line
+ sed -e "s/^DisplayManager\.requestPort/\# DisplayManager.requestPort/" \
+ < ${D}$file.temp >> ${D}$file
+
+ # remove temp file
+ rm -f ${D}$file.temp
+ else
+ echo "!!! $file not installed on system"
+ fi
+}
+
+modify_xdm_Xservers()
+{
+ local file=/etc/X11/xdm/Xservers
+
+ if [ -f $file ] ; then
+ echo ">>> Modifying $file ..."
+
+ # get file
+ ltsp_strip_config $file
+
+ # TODO: put this comment in a more sensical place!!
+ cat >> ${D}$file <<EOF
+
+## LTS-begin ##
+
+# Comment the above line in order to disable xdm for the local machine!
+
+## LTS-end ##
+EOF
+ else
+ echo "!!! $file not installed on system"
+ fi
+}
+
+modify_xdm_kdmrc()
+{
+ local file=/usr/kde/3/share/config/kdm/kdmrc
+
+ if [ -f $file ] ; then
+ echo ">>> Modifying $file ..."
+
+ # get file
+ ltsp_strip_config $file
+
+ # make temp file
+ mv ${D}$file ${D}$file.temp
+
+ # run custom perl script to modify the kdmrc
+ ${FILESDIR}/kdmrc.pl < ${D}/$file.temp >> ${D}/$file
+
+ # remove temp file
+ rm -f ${D}$file.temp
+ else
+ echo "!!! $file not installed on system"
+ fi
+
+}
+
+modify_gdm_gdm_conf()
+{
+ local file=/etc/X11/gdm/gdm.conf
+
+ if [ -f $file ] ; then
+ echo ">>> Modifying $file ..."
+
+ # get file
+ ltsp_strip_config $file
+
+ # make temp file
+ mv ${D}$file ${D}$file.temp
+
+ # run custom perl script to modify the gdm.conf
+ ${FILESDIR}/gdm.conf.pl < ${D}/$file.temp >> ${D}/$file
+
+ # remove temp file
+ rm -f ${D}$file.temp
+ else
+ echo "!!! $file not installed on system"
+ fi
+}
+
+src_install() {
+ local XSERVERS="3dlabs 8514 agx fbdev i128 mach32 mach64 mach8 mono p9000 \
+ s3 s3v svga w32"
+
+ echo ">>> Installing root LTSP directory ..."
+ cd ${WORKDIR}/ltsp_core
+ ${FILESDIR}/install.sh i386 ${D}/opt/ltsp/
+ dodoc INSTALL README ${FILESDIR}/INSTALL.Gentoo
+
+ echo ">>> Installing the X core ..."
+ cd ${WORKDIR}/ltsp_x_core
+ ${FILESDIR}/install.sh i386 ${D}/opt/ltsp/
+
+ echo ">>> Installing the X fonts ..."
+ cd ${WORKDIR}/ltsp_x_fonts
+ ${FILESDIR}/install.sh i386 ${D}/opt/ltsp/
+
+ echo ">>> Installing the LTSP kernel ..."
+ cd ${WORKDIR}/ltsp_kernel
+ ${FILESDIR}/install.sh i386 ${D}/opt/ltsp/
+ dodir /tftpboot/lts
+ dodir /tftpboot/pxe
+ cp vmlinuz* ${D}/tftpboot/lts
+ 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
+
+ echo ">>> Installing the X Servers ..."
+ for d in $XSERVERS ; do
+ cd ${WORKDIR}/ltsp_x336_$d
+ ${FILESDIR}/install.sh i386 ${D}/opt/ltsp/
+ done
+
+ # make config dirs
+ dodir /usr/kde/3/share/config/kdm
+ dodir /etc/X11/gdm
+
+ ebegin "Copy the ltsp.conf file ..."
+ insinto /etc
+ doins ${FILESDIR}/ltsp.conf
+ eend
+
+ ebegin "Copying xdm files ..."
+ insinto /etc/X11/xdm
+ doins ${FILESDIR}/{Xsetup_workstation,ltsp.gif,Xaccess}
+ eend
+
+ ebegin "Copying dhcp files ..."
+ insinto /etc/dhcp
+ doins ${FILESDIR}/dhcpd.conf
+ eend
+
+ ebegin "Copying xinetd files ..."
+ insinto /etc/xinetd.d
+ doins ${FILESDIR}/tftp
+ eend
+
+ # modify config files
+ modify_exports
+ modify_xdm_xdm_config
+ modify_xdm_Xservers
+ if [ -n `use kde` ]; then
+ modify_xdm_kdmrc
+ fi
+
+ # gdm requires a custom config
+ if [ -n `use gnome` ]; then
+ modify_gdm_gdm_conf
+ ltsp_copy_config /etc/X11/gdm/Default
+
+ if test -f ${D}/etc/X11/gdm/Default -o -L ${D}/etc/X11/gdm/Default; then
+ mv ${D}/etc/X11/gdm/Default ${D}/etc/X11/gdm/\:0
+ fi
+
+ dosym /etc/X11/xdm/Xsetup_workstation /etc/X11/gdm/Default
+ fi
+
+ # ensure that these directories get copied even though they are empty
+ for empty_dir in dev oldroot proc root tmp ; do
+ keepdir /opt/ltsp/i386/${empty_dir}
+ done
+}
+
+pkg_postinst() {
+ einfo "*******************************************************************************************"
+ einfo " | PLEASE LOOK AT THE MERGED CONFIG FILES AND UPDATE/OVERWRITE OLDER CONFS AS NEEDED! ***| "
+ einfo "*******************************************************************************************"
+ einfo " | YOU NEED TO EDIT YOUR UPDATED CONFIGURATION FILES TO COMPLETE THE LTSP INSTALLATION: *| "
+ einfo " |---------------------------------------------------------------------------------------| "
+ einfo " | FILE -------------------------| ACTION -----------------------------------------------| "
+ einfo " |---------------------------------------------------------------------------------------| "
+ einfo " | /etc/exports -----------------| Alter network address/netmask(nfs options) to match --| "
+ einfo " |-------------------------------| your current network/nfs settings --------------------| "
+ einfo " |---------------------------------------------------------------------------------------| "
+ einfo " | /etc/dhcp/dhcpd.conf ---------| Alter it to match your network settings and other ----| "
+ einfo " |-------------------------------| needs. Read comments inside dhcpd.conf for more... ---| "
+ einfo " |---------------------------------------------------------------------------------------| "
+ einfo " | /etc/conf.d/dhcp -------------| Alter IFACE setting if needed ------------------------| "
+ einfo " |---------------------------------------------------------------------------------------| "
+ einfo " | /opt/ltsp/i386/etc/lts.conf --| Alter LTSP config file to match your terminals -------| "
+ einfo " |---------------------------------------------------------------------------------------| "
+ einfo " | /etc/xinetd.d/tftp -----------| Change disable=yes to disable=no ---------------------| "
+ einfo " |---------------------------------------------------------------------------------------| "
+ einfo "*******************************************************************************************"
+ einfo " | YOU NEED TO ACTIVATE THESE SERVICES TO RUN LTSP SERVER: ------------------------------| "
+ einfo " |---------------------------------------------------------------------------------------| "
+ einfo " | SERVICE ----------------------| ACTION -----------------------------------------------| "
+ einfo " |---------------------------------------------------------------------------------------| "
+ einfo " | DHCP -------------------------| /etc/init.d/dhcp start -------------------------------| "
+ einfo " |-------------------------------| rc-update add dhcp default (for start at boot) -------| "
+ einfo " |---------------------------------------------------------------------------------------| "
+ einfo " | XDM --------------------------| /etc/init.d/xdm start --------------------------------| "
+ einfo " |-------------------------------| rc-update add xdm default (for start at boot) --------| "
+ einfo " |---------------------------------------------------------------------------------------| "
+ einfo " | TFTP FROM XINETD -------------| /etc/init.d/xinetd start -----------------------------| "
+ einfo " |-------------------------------| rc-update add xinetd default (for start at boot) -----| "
+ einfo " |---------------------------------------------------------------------------------------| "
+ einfo " | NFS --------------------------| /etc/init.d/nfs start --------------------------------| "
+ einfo " |-------------------------------| rc-update add nfs default (for start at boot) --------| "
+ einfo " |---------------------------------------------------------------------------------------| "
+ einfo "*******************************************************************************************"
+ einfo " | FOR MORE INFORMATION AND COMPLETE SET OF DOCUMENTATION GO TO WWW.LTSP.ORG ***********| "
+ einfo "*******************************************************************************************"
+}
+