diff options
Diffstat (limited to 'net-misc/ltsp-server/ltsp-server-5.3.7.ebuild')
-rw-r--r-- | net-misc/ltsp-server/ltsp-server-5.3.7.ebuild | 144 |
1 files changed, 0 insertions, 144 deletions
diff --git a/net-misc/ltsp-server/ltsp-server-5.3.7.ebuild b/net-misc/ltsp-server/ltsp-server-5.3.7.ebuild deleted file mode 100644 index a595040..0000000 --- a/net-misc/ltsp-server/ltsp-server-5.3.7.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -EBZR_REVISION="2169" -EBZR_REPO_URI="http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltsp-trunk" - -inherit bzr - -DESCRIPTION="LTSP server" -HOMEPAGE="http://www.ltsp.org/" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -# Default to nfs until nbd works -IUSE="doc dhcp examples nbd +nfs +pulseaudio +X" -DEPEND="" - -# NOTES on the dependencies -# xdm - we currently have to rely on /usr/lib/X11/xdm/Xsession -# iproute2 - ltsp-update-sshkeys requires ip -RDEPEND="net-misc/openssh - virtual/tftp - dhcp? ( || ( net-dns/dnsmasq net-misc/dhcp ) ) - nfs? ( - >net-fs/nfs-utils-1.1.5 - ) - nbd? ( - sys-apps/xinetd - sys-block/nbd - sys-fs/squashfs-tools - ) - pulseaudio? ( - media-sound/pulseaudio - ) - X? ( - x11-apps/xdm - x11-base/xorg-server - ) - sys-fs/ltspfs - sys-apps/lsb-release - || ( >sys-apps/quickstart-0.6 sys-apps/kicktoo ) - sys-apps/iproute2 - >=app-portage/layman-1.3 - sys-boot/syslinux - net-misc/ldminfod" - -src_unpack() { - bzr_src_unpack -} - -src_install() { - ltspdir="/usr/share/ltsp" - - # executables - dobin localapps/ltsp-localapps - dosbin server/ltsp-info - dosbin server/ltsp-keys - dosbin server/ltsp-build-client - dosbin server/ltsp-update-kernels - dosbin server/ltsp-update-sshkeys - dosbin server/ltsp-chroot - - # plugins and libraries - insinto ${ltspdir} - doins server/ltsp-server-functions - doins server/ltsp-server-common-functions - doins server/functions/Gentoo/* - - insinto ${ltspdir}/plugins - doins -r server/plugins/* - - # configuration - insinto /etc/ltsp - doins server/configs/Gentoo/ltsp-build-client.conf - - insinto /etc/ltsp/profiles - doins server/configs/Gentoo/*.profile - dosym quickstart-5.2.profile /etc/ltsp/profiles/quickstart.profile - dosym kicktoo-5.2.profile /etc/ltsp/profiles/kicktoo.profile - - # man pages - doman localapps/doc/ltsp-localapps.1 - doman server/doc/ltsp-build-client.8 - doman server/doc/ltsp-info.1 - doman server/doc/ltsp-update-kernels.8 - doman server/doc/ltsp-update-sshkeys.8 - doman server/doc/ltsp-chroot.8 - - if use nbd; then - dosbin server/ltsp-update-image - dosbin server/ltsp-swapfile-delete - dosbin server/nbdswapd - - insinto /etc/xinetd.d - doins server/xinetd.d/nbdswapd - - insinto /etc/ltsp - doins server/configs/nbdswapd.conf - - doman server/doc/ltsp-update-image.8 - doman server/doc/nbdswapd.8 - fi - - if use doc; then - dodoc server/doc/CodingStyle - dodoc server/doc/plugins - fi - - if use examples; then - docinto examples - dodoc localapps/doc/examples/* - dodoc server/doc/examples/* - fi -} - -pkg_postinst(){ - einfo - einfo "You can choose to install a 5.2 or a 5.3 client by pointing" - einfo "to it's appropriate build profile in /etc/ltsp/profiles." - einfo "The default is set to a 5.2 client." - - if use nbd; then - einfo - einfo "Only NFS is supported for mounting the client chroot." - einfo "Mounting swap over NBD is supported." - fi - - if use X; then - einfo - einfo "Don't forget to install a window manager," - einfo "you can't log in with X onto your server without one." - fi - - ewarn - ewarn "In line with upstream, the ltsp-update-kernels tool now also" - ewarn "removes old boot files from the tftpdir. It removes all" - ewarn "default genkernel generated filenames for which the version" - ewarn "is different from the chroot kernel. For details, look at" - ewarn "/usr/share/ltsp/ltsp-update-kernels-functions" -} - |