summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2007-12-14 12:12:27 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2007-12-14 12:12:27 +0000
commite26151f3c7d33bf2b4d83cc6b1c68df48cdcd30c (patch)
treec8f11eb0ffcc30e5cfd4f8f7dd8d6fdb5bb6cb43 /net-misc/nxserver-freeedition
parentVersion bump, update dependencies in 3.0.0 ebuilds (diff)
downloadgentoo-2-e26151f3c7d33bf2b4d83cc6b1c68df48cdcd30c.tar.gz
gentoo-2-e26151f3c7d33bf2b4d83cc6b1c68df48cdcd30c.tar.bz2
gentoo-2-e26151f3c7d33bf2b4d83cc6b1c68df48cdcd30c.zip
Version bump
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'net-misc/nxserver-freeedition')
-rw-r--r--net-misc/nxserver-freeedition/ChangeLog8
-rw-r--r--net-misc/nxserver-freeedition/files/digest-nxserver-freeedition-3.1.06
-rw-r--r--net-misc/nxserver-freeedition/nxserver-freeedition-3.1.0.ebuild84
3 files changed, 97 insertions, 1 deletions
diff --git a/net-misc/nxserver-freeedition/ChangeLog b/net-misc/nxserver-freeedition/ChangeLog
index e2acc997a314..99875d2968c0 100644
--- a/net-misc/nxserver-freeedition/ChangeLog
+++ b/net-misc/nxserver-freeedition/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/nxserver-freeedition
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/ChangeLog,v 1.19 2007/12/03 21:49:48 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/ChangeLog,v 1.20 2007/12/14 12:12:26 voyageur Exp $
+
+*nxserver-freeedition-3.1.0 (14 Dec 2007)
+
+ 14 Dec 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.1.0.ebuild:
+ Version bump
*nxserver-freeedition-3.0.0-r4 (03 Dec 2007)
diff --git a/net-misc/nxserver-freeedition/files/digest-nxserver-freeedition-3.1.0 b/net-misc/nxserver-freeedition/files/digest-nxserver-freeedition-3.1.0
new file mode 100644
index 000000000000..84271722aaf0
--- /dev/null
+++ b/net-misc/nxserver-freeedition/files/digest-nxserver-freeedition-3.1.0
@@ -0,0 +1,6 @@
+MD5 c02e206bc9c7f48628f3c2be34d52db4 nxserver-3.1.0-2.i386.tar.gz 6723064
+RMD160 f70d8a5f719405c1c795f28a4be46e0dfd28db8e nxserver-3.1.0-2.i386.tar.gz 6723064
+SHA256 f06c9a9db881a496b05eba502761a5683249aaa64133401872d2853624083778 nxserver-3.1.0-2.i386.tar.gz 6723064
+MD5 4fe289611ef994641cd0f32870cd27d2 nxserver-3.1.0-2.x86_64.tar.gz 7734670
+RMD160 c06423be2d84dcd89964a3df8471183bcb542b13 nxserver-3.1.0-2.x86_64.tar.gz 7734670
+SHA256 d67f60dfb6ecf9cf845498490a5f4c6bbc7884a23ac51f45a541297e87648da8 nxserver-3.1.0-2.x86_64.tar.gz 7734670
diff --git a/net-misc/nxserver-freeedition/nxserver-freeedition-3.1.0.ebuild b/net-misc/nxserver-freeedition/nxserver-freeedition-3.1.0.ebuild
new file mode 100644
index 000000000000..aab56313e2af
--- /dev/null
+++ b/net-misc/nxserver-freeedition/nxserver-freeedition-3.1.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/nxserver-freeedition-3.1.0.ebuild,v 1.1 2007/12/14 12:12:26 voyageur Exp $
+
+inherit eutils
+
+MY_PV="${PV}-2"
+DESCRIPTION="Free edition NX server from NoMachine"
+HOMEPAGE="http://www.nomachine.com/"
+SRC_URI="amd64? ( http://64.34.161.181/download/${PV}/Linux/FE/nxserver-${MY_PV}.x86_64.tar.gz )
+ x86? ( http://64.34.161.181/download/${PV}/Linux/FE/nxserver-${MY_PV}.i386.tar.gz )"
+
+LICENSE="nomachine"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+
+DEPEND="=net-misc/nxnode-3.1*
+ !net-misc/nxserver-freenx
+ !net-misc/nxserver-2xterminalserver"
+RDEPEND="${DEPEND}
+ media-fonts/font-misc-misc
+ media-fonts/font-cursor-misc
+ x11-apps/xauth"
+
+S="${WORKDIR}"/NX
+
+pkg_preinst()
+{
+ enewuser nx -1 -1 /usr/NX/home/nx
+}
+
+src_unpack()
+{
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/nxserver-3.0.0-r4-setup.patch
+}
+
+src_install()
+{
+ # we install nxserver into /usr/NX, to make sure it doesn't clash
+ # with libraries installed for FreeNX
+
+ into /usr/NX
+ dobin bin/nxserver
+
+ dodir /usr/NX/etc/keys
+ insinto /usr/NX/etc
+ doins etc/administrators.db.sample
+ doins etc/guests.db.sample
+ doins etc/passwords.db.sample
+ doins etc/profiles.db.sample
+ doins etc/users.db.sample
+ doins etc/server.lic.sample
+
+ newins etc/server-debian.cfg.sample server-gentoo.cfg.sample
+
+ cp -R home "${D}"/usr/NX || die "Unable to install home folder"
+ cp -R lib "${D}"/usr/NX || die "Unable to install lib folder"
+ cp -R scripts "${D}"/usr/NX || die "Unable to install scripts folder"
+ cp -R share "${D}"/usr/NX || die "Unable to install share folder"
+ cp -R var "${D}"/usr/NX || die "Unable to install var folder"
+
+ newinitd "${FILESDIR}"/nxserver-2.1.0-init nxserver
+}
+
+pkg_postinst ()
+{
+ usermod -s /usr/NX/bin/nxserver nx || die "Unable to set login shell of nx user!!"
+ usermod -d /usr/NX/home/nx nx || die "Unable to set home directory of nx user!!"
+
+ # only run install when no configuration file is found
+ if [ -f /usr/NX/etc/server.cfg ]; then
+ einfo "Running NoMachine's update script"
+ "${ROOT}"/usr/NX/scripts/setup/nxserver --update || die "Update script failed"
+ else
+ einfo "Running NoMachine's setup script"
+ "${ROOT}"/usr/NX/scripts/setup/nxserver --install || die "Installation script failed"
+ fi
+
+ elog "Remember to add nxserver to your default runlevel"
+}