diff options
author | Stuart Herbert <stuart@gentoo.org> | 2005-05-23 19:10:14 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2005-05-23 19:10:14 +0000 |
commit | c4f6e9bccabdced1e4e775e300231692563ff835 (patch) | |
tree | 775e46c3380d7c506b7af62d538d213c7dae792f /net-misc/nxserver-freenx | |
parent | fix digest (diff) | |
download | historical-c4f6e9bccabdced1e4e775e300231692563ff835.tar.gz historical-c4f6e9bccabdced1e4e775e300231692563ff835.tar.bz2 historical-c4f6e9bccabdced1e4e775e300231692563ff835.zip |
Version bump
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-misc/nxserver-freenx')
-rw-r--r-- | net-misc/nxserver-freenx/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/nxserver-freenx/Manifest | 4 | ||||
-rw-r--r-- | net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.0 | 1 | ||||
-rw-r--r-- | net-misc/nxserver-freenx/nxserver-freenx-0.4.0.ebuild | 94 |
4 files changed, 105 insertions, 2 deletions
diff --git a/net-misc/nxserver-freenx/ChangeLog b/net-misc/nxserver-freenx/ChangeLog index adbc088f03e4..741b04cee54e 100644 --- a/net-misc/nxserver-freenx/ChangeLog +++ b/net-misc/nxserver-freenx/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/nxserver-freenx # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/ChangeLog,v 1.11 2005/02/19 10:18:31 stuart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/ChangeLog,v 1.12 2005/05/23 19:10:13 stuart Exp $ + +*nxserver-freenx-0.4.0 (23 May 2005) + + 23 May 2005; Stuart Herbert <stuart@gentoo.org> + +nxserver-freenx-0.4.0.ebuild: + Version bump; thanks to Jon Severinsson <jon@severingsson.net>; see bug #84299 *nxserver-freenx-0.2.8 (19 Feb 2005) diff --git a/net-misc/nxserver-freenx/Manifest b/net-misc/nxserver-freenx/Manifest index 6d8df6adfd64..5f8239adda88 100644 --- a/net-misc/nxserver-freenx/Manifest +++ b/net-misc/nxserver-freenx/Manifest @@ -1,8 +1,10 @@ -MD5 51632010aaabf58a48d8d4705b7aaeb1 ChangeLog 2623 +MD5 957984eca2a2b6e46bc9eaa998f0da85 ChangeLog 2826 MD5 77fd36d93b0a1b9f35abbe6a1c146561 metadata.xml 482 MD5 e458265c3decf6bb47d892fd9c619ad3 nxserver-freenx-0.2.8.ebuild 2937 +MD5 230b47eef4b00a5f15ff1430e1dc116d nxserver-freenx-0.4.0.ebuild 2907 MD5 a9da729db290ea402aad4a9b78102809 nxserver-freenx-0.2.7.ebuild 2749 MD5 68fcece75aaa5f55ad36a18960a56806 files/digest-nxserver-freenx-0.2.8 63 MD5 8f0fb766970dd9dce29e468cec2e796e files/fixes.diff 1078 +MD5 113c67a0f8b1fb7bc3d06e118148b5cc files/digest-nxserver-freenx-0.4.0 63 MD5 f58cf7014a645ce96afd27989a893c2f files/nxserver-path.diff 718 MD5 3210d19111775fb0cf59fb578879c5c2 files/digest-nxserver-freenx-0.2.7 63 diff --git a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.0 b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.0 new file mode 100644 index 000000000000..0009e0697eb2 --- /dev/null +++ b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.0 @@ -0,0 +1 @@ +MD5 a57046e79fb980b4720ec6ae67ed1f19 freenx-0.4.0.tar.gz 42771 diff --git a/net-misc/nxserver-freenx/nxserver-freenx-0.4.0.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.4.0.ebuild new file mode 100644 index 000000000000..8b08fc46535d --- /dev/null +++ b/net-misc/nxserver-freenx/nxserver-freenx-0.4.0.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/nxserver-freenx-0.4.0.ebuild,v 1.1 2005/05/23 19:10:14 stuart Exp $ + +inherit eutils + +DESCRIPTION="An X11/RDP/VNC proxy server especially well suited to low bandwidth links such as ISDN or modem" +HOMEPAGE="http://freenx.berlios.de/" +SRC_URI="http://debian.tu-bs.de/knoppix/nx/freenx-${PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" +RESTRICT="nomirror strip" +IUSE="commercial" +DEPEND="virtual/ssh + dev-tcltk/expect + net-analyzer/gnu-netcat + x86? ( commercial? ( =net-misc/nxclient-1.4* ) + !commercial? ( !net-misc/nxclient ) ) + !x86? ( !net-misc/nxclient ) + >=net-misc/nxproxy-1.4.0 + =net-misc/nx-x11-1.4* + !net-misc/nxserver-personal + !net-misc/nxserver-business + !net-misc/nxserver-enterprise" + +S=${WORKDIR}/freenx-${PV} + +pkg_setup () { + enewuser nx -1 /bin/false /usr/NX/home/nx +} + +src_unpack() { + unpack ${A} + cd ${S} + epatch gentoo-nomachine.diff +} + +src_compile() { + einfo "Nothing to compile" +} + +src_install() { + + NX_DIR=/usr/NX + NX_ETC_DIR=$NX_DIR/etc + NX_SESS_DIR=$NX_DIR/var/db + NX_HOME_DIR=$NX_DIR/home/nx + + into ${NX_DIR} + dobin nxserver + dobin nxnode + dobin nxnode-login + dobin nxkeygen + dobin nxloadconfig + dobin nxsetup + ( use x86 && use commercial ) || dobin nxprint + ( use x86 && use commercial ) || dobin nxclient + + dodir ${NX_ETC_DIR} + for x in passwords passwords.orig ; do + touch ${D}${NX_ETC_DIR}/$x + chmod 600 ${D}${NX_ETC_DIR}/$x + done + + insinto ${NX_ETC_DIR} + doins node.conf.sample + + ssh-keygen -f ${D}${NX_ETC_DIR}/users.id_dsa -t dsa -N "" -q + + for x in closed running failed ; do + keepdir ${NX_SESS_DIR}/$x + fperms 0700 ${NX_SESS_DIR}/$x + done + + dodir ${NX_HOME_DIR}/.ssh + fperms 0700 ${NX_HOME_DIR} + fperms 0700 ${NX_HOME_DIR}/.ssh + + cat << EOF >${D}${NX_HOME_DIR}/.ssh/server.id_dsa.pub.key +ssh-dss AAAAB3NzaC1kc3MAAACBAJe/0DNBePG9dYLWq7cJ0SqyRf1iiZN/IbzrmBvgPTZnBa5FT/0Lcj39sRYt1paAlhchwUmwwIiSZaON5JnJOZ6jKkjWIuJ9MdTGfdvtY1aLwDMpxUVoGwEaKWOyin02IPWYSkDQb6cceuG9NfPulS9iuytdx0zIzqvGqfvudtufAAAAFQCwosRXR2QA8OSgFWSO6+kGrRJKiwAAAIEAjgvVNAYWSrnFD+cghyJbyx60AAjKtxZ0r/Pn9k94Qt2rvQoMnGgt/zU0v/y4hzg+g3JNEmO1PdHh/wDPVOxlZ6Hb5F4IQnENaAZ9uTZiFGqhBO1c8Wwjiq/MFZy3jZaidarLJvVs8EeT4mZcWxwm7nIVD4lRU2wQ2lj4aTPcepMAAACANlgcCuA4wrC+3Cic9CFkqiwO/Rn1vk8dvGuEQqFJ6f6LVfPfRTfaQU7TGVLk2CzY4dasrwxJ1f6FsT8DHTNGnxELPKRuLstGrFY/PR7KeafeFZDf+fJ3mbX5nxrld3wi5titTnX+8s4IKv29HJguPvOK/SI7cjzA+SqNfD7qEo8= root@nettuno +EOF + fperms 0600 ${NX_HOME_DIR}/.ssh/server.id_dsa.pub.key + cp ${D}${NX_HOME_DIR}/.ssh/server.id_dsa.pub.key ${D}${NX_HOME_DIR}/.ssh/authorized_keys2 + fperms 0600 ${NX_HOME_DIR}/.ssh/authorized_keys2 + + echo -n "127.0.0.1" ${D}${NX_HOME_DIR}/.ssh/known_hosts + + chown -R nx:root ${D}${NX_DIR} +} + +pkg_postinst () { + usermod -s /usr/NX/bin/nxserver nx || die "Unable to set login shell of nx user!!" +} |