diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2008-01-24 14:31:04 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2008-01-24 14:31:04 +0000 |
commit | f0f72262604166fdc3b9a83e1a713ea952df93b4 (patch) | |
tree | 85e3871ee95eba7dabde23b4bf2d5a561bcc7de1 /net-misc/nxserver-freeedition | |
parent | x86 stable (diff) | |
download | historical-f0f72262604166fdc3b9a83e1a713ea952df93b4.tar.gz historical-f0f72262604166fdc3b9a83e1a713ea952df93b4.tar.bz2 historical-f0f72262604166fdc3b9a83e1a713ea952df93b4.zip |
Maintenance release bump
Package-Manager: portage-2.1.4
Diffstat (limited to 'net-misc/nxserver-freeedition')
3 files changed, 98 insertions, 2 deletions
diff --git a/net-misc/nxserver-freeedition/ChangeLog b/net-misc/nxserver-freeedition/ChangeLog index 99875d2968c0..beebc769a778 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.20 2007/12/14 12:12:26 voyageur Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/ChangeLog,v 1.21 2008/01/24 14:31:03 voyageur Exp $ + +*nxserver-freeedition-3.1.0-r1 (24 Jan 2008) + + 24 Jan 2008; Bernard Cafarelli <voyageur@gentoo.org> + +nxserver-freeedition-3.1.0-r1.ebuild: + Maintenance release bump *nxserver-freeedition-3.1.0 (14 Dec 2007) diff --git a/net-misc/nxserver-freeedition/files/digest-nxserver-freeedition-3.1.0-r1 b/net-misc/nxserver-freeedition/files/digest-nxserver-freeedition-3.1.0-r1 new file mode 100644 index 000000000000..4d5555f1cf54 --- /dev/null +++ b/net-misc/nxserver-freeedition/files/digest-nxserver-freeedition-3.1.0-r1 @@ -0,0 +1,6 @@ +MD5 865d318aba6e8c48903afbd4fd0d23c1 nxserver-3.1.0-4.i386.tar.gz 6730236 +RMD160 e0b688cdf845db228add15b25a6f593e72851d49 nxserver-3.1.0-4.i386.tar.gz 6730236 +SHA256 fbb850ac4a210f80f8be14e044ff7368454fffb006e1f756326e7ce68ba6897a nxserver-3.1.0-4.i386.tar.gz 6730236 +MD5 e889d294ddff8839762315941c6c0a38 nxserver-3.1.0-4.x86_64.tar.gz 7741750 +RMD160 b1d324ad5243abbd2e445a8aaf08530b7405e53e nxserver-3.1.0-4.x86_64.tar.gz 7741750 +SHA256 eb999b96bee8c93d67451508581ae8613cc908c6303cf8357840ad2d8ce007d7 nxserver-3.1.0-4.x86_64.tar.gz 7741750 diff --git a/net-misc/nxserver-freeedition/nxserver-freeedition-3.1.0-r1.ebuild b/net-misc/nxserver-freeedition/nxserver-freeedition-3.1.0-r1.ebuild new file mode 100644 index 000000000000..ab80c67e3c8b --- /dev/null +++ b/net-misc/nxserver-freeedition/nxserver-freeedition-3.1.0-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2008 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-r1.ebuild,v 1.1 2008/01/24 14:31:03 voyageur Exp $ + +inherit eutils + +MY_PV="${PV}-4" +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" +} |