summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Muskee <wimmuskee@gmail.com>2012-11-24 11:07:11 +0100
committerWim Muskee <wimmuskee@gmail.com>2012-11-24 11:07:11 +0100
commit97d396be6aaa4393aa430f27b932b23aa206f928 (patch)
tree848195208e147249d56af9c119425c4b646791a5
parentprofiles: always build xorg-server from source (diff)
downloadltsp-97d396be6aaa4393aa430f27b932b23aa206f928.tar.gz
ltsp-97d396be6aaa4393aa430f27b932b23aa206f928.tar.bz2
ltsp-97d396be6aaa4393aa430f27b932b23aa206f928.zip
ltsp-server: bump to 5.4.4, nbd boot support
-rw-r--r--net-misc/ltsp-server/ChangeLog5
-rw-r--r--net-misc/ltsp-server/Manifest3
-rw-r--r--net-misc/ltsp-server/ltsp-server-5.4.4.ebuild156
3 files changed, 163 insertions, 1 deletions
diff --git a/net-misc/ltsp-server/ChangeLog b/net-misc/ltsp-server/ChangeLog
index ed048eb..60b452b 100644
--- a/net-misc/ltsp-server/ChangeLog
+++ b/net-misc/ltsp-server/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*ltsp-server-5.4.4 (24 11 2012)
+
+ 24 11 2012; Wim Muskee wimmuskee@gmail.com ltsp-server-5.4.4:
+ Version bump.
+
19 09 2012; Wim Muskee wimmuskee@gmail.com ltsp-server-5.4.3:
Prefer dnsmasq as dhcp server.
diff --git a/net-misc/ltsp-server/Manifest b/net-misc/ltsp-server/Manifest
index 6f05a67..a7cac28 100644
--- a/net-misc/ltsp-server/Manifest
+++ b/net-misc/ltsp-server/Manifest
@@ -1,3 +1,4 @@
EBUILD ltsp-server-5.4.3.ebuild 3866 SHA256 bb414c243f16789c8b7652fd0c26cc0837e746f9f21000186391ad3f5841f5f6 SHA512 6177738ffad8add2ee9de4643ed2af158c15f23227e7e6068c7f2546b378dcaee9bce46f90e28eff1e92800a80998c472c2b6a53725fd4d95d476f45aed9b2ef WHIRLPOOL 4b25983846e81d93ffb1457c5a2421f4fc2dff6c767a099f49eaed8ebf936b1e2305931f21be3d536e03c480acc6150264b5c07586ce61a6570b99b098af6379
-MISC ChangeLog 6562 SHA256 f12f9278091d6562aacf125dbb859aa3efed3dd2f94d38eaeb54cf005d318e6f SHA512 c2fe93044e18f17b1ae11f92b107a91cf4f7bf4e618111dec326452945f54326e6a982a8991c893f48cdca1dfe70c8683f8a454047737f45aca41bc36308a544 WHIRLPOOL 243cff34353e6dc0945dcb73e61a68ced3c291e94596b1162feb303b288958517c99364ae8891a495724bb95511f4dfd95ecb1521f9d42553773b292a45df6d1
+EBUILD ltsp-server-5.4.4.ebuild 3863 SHA256 1378fefde4b17c0703f624a7dfbdc088735945966bb335afcc0b04059e0531ca SHA512 5c653f95aab70f4c021a2145ad60d3ec3d54494e22194f55eadb4b819574a067c290277796152a4d8c2f9435d8018e7a0296de9c0a19bdf977c98a0c92c77309 WHIRLPOOL 4b54542810900220e43f179cea03dc580f63db1f145d6c41cd8be986cbd7a01bf5f016d1e6e17fbfc5c4989c29ed8539b6d821342d25c64638e86c95614e2478
+MISC ChangeLog 6676 SHA256 fd3e81ca5d0e4cd70d269890bfc6337d2d3d979e19ccaad6ebc531e571846d50 SHA512 97d9694664c728f52947ab59bf9206cc6ba1405dc4d0b96887c720438349d10d34d20d301be99219647d2311c9ca5a7d895b2eba0f941c3ec122e7acf55188a9 WHIRLPOOL ecd096f70fb1cda5c71bf7bc8fe6fd158fd60298134e0aeb81acc0b05cfc8a985eef7733d778722988fc41fe9a22479f80c78619e4c50a0253bb18b6029bb9e0
MISC metadata.xml 528 SHA256 4adb661e3ac65b7092ff1360b903e0cfb4039ad305bf08102f16f0a689db1b4c SHA512 5fb79d5101906c1cdfd6cce2543f0e18f10964bb98186aa9b2166d33e917a7878a0eb1ad67d7ef4dfffb83c12cca7bd804f866bba70a201a3e17c8647256c348 WHIRLPOOL 0a9fa3c88a3c817aff74fb5f0cf78bfdf50cac6d0647b0a1fc8ad469539fccea8dcaf16b7e4653b59e1e655c1bb3074c4f9cd6b1a34d4f9c780a0b50d87899c2
diff --git a/net-misc/ltsp-server/ltsp-server-5.4.4.ebuild b/net-misc/ltsp-server/ltsp-server-5.4.4.ebuild
new file mode 100644
index 0000000..96d2830
--- /dev/null
+++ b/net-misc/ltsp-server/ltsp-server-5.4.4.ebuild
@@ -0,0 +1,156 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+EBZR_REVISION="2417"
+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"
+IUSE="doc dhcp examples nbd nfs +pulseaudio +X"
+REQUIRED_USE="|| ( nbd nfs )"
+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/kicktoo-0.4.4-r2
+ 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/kicktoo-0.4.4-r2 >sys-apps/quickstart-0.6 )
+ sys-apps/iproute2
+ >=app-portage/layman-1.3
+ sys-boot/syslinux
+ net-misc/ldminfod"
+
+src_unpack() {
+ bzr_src_unpack
+}
+
+src_install() {
+ ltspshare="/usr/share/ltsp"
+ ltspconf="/etc/ltsp"
+
+ # executables
+ dobin client/localapps/ltsp-localapps
+ dosbin server/ltsp-config
+ dosbin server/ltsp-info
+ dosbin server/ltsp-build-client
+ dosbin server/ltsp-update-kernels
+ dosbin server/ltsp-update-sshkeys
+ dosbin server/ltsp-chroot
+
+ # plugins and libraries
+ insinto ${ltspshare}
+ newins common/ltsp-common-functions ltsp-server-common-functions
+ doins server/share/ltsp/ltsp-server-functions
+ doins server/Gentoo/share/ltsp/*
+
+ insinto ${ltspshare}/plugins/ltsp-build-client/common
+ doins -r server/share/ltsp/plugins/ltsp-build-client/common/*
+
+ insinto ${ltspshare}/plugins/ltsp-build-client/Gentoo
+ doins -r server/share/ltsp/plugins/ltsp-build-client/Gentoo/*
+
+ # configuration
+ insinto ${ltspconf}
+ doins server/configs/ltsp-update-image.excludes
+ doins server/configs/ltsp-server.conf
+ doins server/Gentoo/configs/ltsp-build-client.conf
+
+ insinto ${ltspconf}/profiles
+ doins server/Gentoo/configs/profiles/*
+ dosym quickstart-5.3.profile ${ltspconf}/profiles/quickstart.profile
+ dosym kicktoo-5.3.profile ${ltspconf}/profiles/kicktoo.profile
+
+ # examples for ltsp-config
+ docinto examples
+ dodoc server/doc/examples/ltsp-server-dnsmasq.conf
+ dodoc server/configs/lts.conf
+ dodoc server/configs/dhcpd.conf
+ dosym ${P} /usr/share/doc/ltsp-server
+ docinto ""
+
+ # man pages
+ doman client/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
+ doman server/doc/ltsp-config.8
+
+ if use nbd; then
+ dosbin server/ltsp-update-image
+ dosbin server/ltsp-swapfile-delete
+ dosbin server/nbdswapd
+
+ insinto /etc/xinetd.d
+ doins server/Gentoo/configs/xinetd.d/*
+
+ insinto ${ltspconf}
+ doins server/configs/nbdswapd.conf
+ doins server/configs/nbd-server.allow
+
+ doman server/doc/ltsp-update-image.8
+ doman server/doc/nbdswapd.8
+ fi
+
+ if use doc; then
+ dodoc common/doc/CodingStyle
+ dodoc server/doc/plugins
+ fi
+
+ if use examples; then
+ dodoc -r client/localapps/doc/examples
+ fi
+}
+
+pkg_postinst(){
+ 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 stable 5.3+ client."
+
+ if use nbd; then
+ einfo
+ einfo "An NBD bootable client can be built by setting"
+ einfo "INITRAMFS_BUILDER=\"dracut\"."
+ fi
+
+ if use nfs; then
+ einfo
+ einfo "An NFS bootable client can be built by setting"
+ einfo "INITRAMFS_BUILDER=\"genkernel\" or omitting this option."
+ 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
+}