summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2008-08-25 22:55:43 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2008-08-25 22:55:43 +0000
commit4342286a212dba30534f56cee9034eefdaff4fcc (patch)
tree19c2d15d836da9959d263adffd82a3a4d8951b6f /net-misc/nxnode
parentVersion bump <http://my.opera.com/desktopteam/blog/2008/08/22/first-9-60-snap... (diff)
downloadhistorical-4342286a212dba30534f56cee9034eefdaff4fcc.tar.gz
historical-4342286a212dba30534f56cee9034eefdaff4fcc.tar.bz2
historical-4342286a212dba30534f56cee9034eefdaff4fcc.zip
Maintenance release bump, add minor release to ebuild version
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26-gentoo x86_64
Diffstat (limited to 'net-misc/nxnode')
-rw-r--r--net-misc/nxnode/ChangeLog8
-rw-r--r--net-misc/nxnode/Manifest5
-rw-r--r--net-misc/nxnode/nxnode-3.2.0.13.ebuild116
3 files changed, 127 insertions, 2 deletions
diff --git a/net-misc/nxnode/ChangeLog b/net-misc/nxnode/ChangeLog
index b4f4c964dd70..94e2239a2e3f 100644
--- a/net-misc/nxnode/ChangeLog
+++ b/net-misc/nxnode/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/nxnode
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v 1.34 2008/07/21 15:47:11 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v 1.35 2008/08/25 22:55:43 voyageur Exp $
+
+*nxnode-3.2.0.13 (25 Aug 2008)
+
+ 25 Aug 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.2.0.13.ebuild:
+ Maintenance release bump, add minor release to ebuild version
21 Jul 2008; Bernard Cafarelli <voyageur@gentoo.org>
-nxnode-3.1.0-r2.ebuild:
diff --git a/net-misc/nxnode/Manifest b/net-misc/nxnode/Manifest
index 7cd9fa97f2e8..72b20207ca32 100644
--- a/net-misc/nxnode/Manifest
+++ b/net-misc/nxnode/Manifest
@@ -2,9 +2,12 @@ AUX nxnode-3.0.0-init 1344 RMD160 fc4c8ed911bf79634537f0567f374688791f482d SHA1
AUX nxnode-3.0.0-setup.patch 1353 RMD160 85c7938126000b10fa6e05aa5501e2affc6d0ec6 SHA1 4d12a2857db5a6d073ceab88bb2e58d0ee93a322 SHA256 04dccdc5eb73df861995e866c0875496b3b893ab43caaa8bdd854a69a74ae17a
DIST nxnode-3.2.0-11.i386.tar.gz 6292702 RMD160 69c0975c1385371af9b264cff63df4978d875697 SHA1 b7461bd50982cdb2e8567065ef6edd5db8b17c36 SHA256 e827d4a5e6ef8dd6b011c525d59cc8f7d6769a0fcd2ea0afa3941b23d3c5f76a
DIST nxnode-3.2.0-11.x86_64.tar.gz 6972536 RMD160 4e97c14dda5712e5dfde1e318fdeef634a322338 SHA1 d5c44b6fb1c93d7d57ea30abc5d90d0d19654850 SHA256 cc6061f628b9ade91888e234432ca2175cd2cfd763aa611b4fadff334b9d555e
+DIST nxnode-3.2.0-13.i386.tar.gz 6292002 RMD160 f220d97a52cad61b52a08ce2406cdd1478fb5529 SHA1 91a049c2304a8484b073a29b84b14e4899ae720e SHA256 448fa38c8e7b4610bac5aaab20b7e93f4746391cbe87f5d1eac25cd9d9c566b0
+DIST nxnode-3.2.0-13.x86_64.tar.gz 6973249 RMD160 f036030309037340ed430449538ce136d0450f69 SHA1 e8b163c1584017cdb8ea23580cacc23f89b1c671 SHA256 2c236faf166f93ff37b1c2e8de2f6d7f341f285d0658484f1ce8d25adf9c3fc1
DIST nxnode-3.2.0-5.i386.tar.gz 6284606 RMD160 8116ae0c83fe2871092c37f06e7744e4e56cba36 SHA1 7528772ac3ef5b2b6a58ef86e4928e01b592a17a SHA256 3058592f6978eb242f94188164695873320d3d0506217bbd51b118c6f5f1a01f
DIST nxnode-3.2.0-5.x86_64.tar.gz 6967396 RMD160 1a1a79b0fa3b159f74377b78404bfb05ef75c6b8 SHA1 fea13d7ce01bb9f6918b2bbfc5f3bc7a8624113d SHA256 da3bc53028514e47257af17f4321a14c01d27e2624d07fefc7e44ecbf0a0887c
EBUILD nxnode-3.2.0-r3.ebuild 3031 RMD160 1312f0c245960fa376554dbc329dece0ec4b7015 SHA1 a0c952eadc34be23d8ec13a9412c35f18f9f034d SHA256 f8a4425a811c3f27ee72c5e9ca9cd7193ad15a0b944f5641f2614d741b011378
+EBUILD nxnode-3.2.0.13.ebuild 3147 RMD160 d08ca5cdfa1f541a635e47fa52a26986dd189f59 SHA1 90f83b35c8e7182480530b94472168274c5d5695 SHA256 d0419b45aec552590c1f839f058600eb436159ada136ffb8fabfad974b996ebd
EBUILD nxnode-3.2.0.ebuild 3024 RMD160 99b4d77b0a620657d1e6c80340d76b669fd7cdb9 SHA1 c382e82b01d7e62d25948be7829eef65f2346ce8 SHA256 69888f7d5c048da8b784b9ff9249b78bae6f381a737039ba69c55a42a5ec45de
-MISC ChangeLog 5098 RMD160 81501a21292b5b1275dbcd3b21608633fc450a9e SHA1 c804495b5fd9ab5babe7d9f3aa94c9cb6bf49a6e SHA256 117313f19acecea49605c546db05e801bcabee2654ee16bc7b778023666604ac
+MISC ChangeLog 5277 RMD160 4bd037d4c30fadaf934005fd641a3fbe5f577313 SHA1 6399cab0e18c0f259611a5ef43495ffdc435fc6c SHA256 1a43f99c4dafc0122576d07cc9d0e47a4e1144952551d308fbf73cb3fcbb296f
MISC metadata.xml 264 RMD160 3b4f53808aa9f3ce8bf86bdc8e08bda3fc181219 SHA1 89e785afdbf6b2c6968649c91dc17910066728eb SHA256 3eaf6b268d16ec374617534bf70f0e96d2c6399ca1b0d4ffa3eeee619d775171
diff --git a/net-misc/nxnode/nxnode-3.2.0.13.ebuild b/net-misc/nxnode/nxnode-3.2.0.13.ebuild
new file mode 100644
index 000000000000..928eb8021207
--- /dev/null
+++ b/net-misc/nxnode/nxnode-3.2.0.13.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/nxnode-3.2.0.13.ebuild,v 1.1 2008/08/25 22:55:43 voyageur Exp $
+
+inherit eutils versionator
+
+MAJOR_PV="$(get_version_component_range 1-3)"
+FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)"
+DESCRIPTION="shared components between the different editions of NoMachine's NX Servers"
+HOMEPAGE="http://www.nomachine.com/"
+SRC_URI="amd64? ( http://64.34.161.181/download/${MAJOR_PV}/Linux/nxnode-${FULL_PV}.x86_64.tar.gz )
+ x86? ( http://64.34.161.181/download/${MAJOR_PV}/Linux/nxnode-${FULL_PV}.i386.tar.gz )"
+
+LICENSE="nomachine"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="rdesktop vnc"
+RESTRICT="strip"
+
+DEPEND="!net-misc/nxserver-freenx
+ !<net-misc/nxserver-freeedition-3.0.0"
+
+RDEPEND="=net-misc/nxclient-3.2*
+ x11-libs/libICE
+ x11-libs/libXmu
+ x11-libs/libSM
+ x11-libs/libXt
+ x11-libs/libXaw
+ x11-libs/libXpm
+ x11-apps/xrdb
+ rdesktop? ( net-misc/rdesktop )
+ vnc? ( || ( net-misc/vnc net-misc/tightvnc ) )"
+
+S=${WORKDIR}/NX
+
+pkg_preinst()
+{
+ enewuser nx -1 -1 /usr/NX/home/nx
+}
+
+pkg_setup() {
+ if use vnc; then
+ if has_version net-misc/vnc && ! built_with_use net-misc/vnc server;
+ then
+ die "net-misc/vnc needs to be built with USE=\"server\" for VNC support"
+ fi
+
+ if has_version net-misc/tightvnc && ! built_with_use net-misc/tightvnc server;
+ then
+ die "net-misc/tightvnc needs to be built with USE=\"server\" for VNC support"
+ fi
+ fi
+}
+
+src_unpack()
+{
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/nxnode-3.0.0-setup.patch
+}
+
+src_install()
+{
+ # we install nxnode into /usr/NX, to make sure it doesn't clash
+ # with libraries installed for FreeNX
+
+ into /usr/NX
+ for x in nxagent nxnode nxsensor nxspool nxuexec ; do
+ dobin bin/$x
+ done
+
+ dodir /usr/NX/etc
+ cp etc/node-debian.cfg.sample "${D}"/usr/NX/etc/node-gentoo.cfg.sample || die
+ sed -e 's|COMMAND_FUSER = .*|COMMAND_FUSER = "/usr/bin/fuser"|;' -i "${D}"/usr/NX/etc/node-gentoo.cfg.sample || die
+ cp etc/node.lic.sample "${D}"/usr/NX/etc/node.lic.sample || die
+
+ dodir /usr/NX/lib
+ cp -R lib "${D}"/usr/NX || die
+
+ dodir /usr/NX/scripts
+ cp -R scripts "${D}"/usr/NX || die
+
+ dodir /usr/NX/share
+ cp -R share "${D}"/usr/NX || die
+
+ dodir /usr/NX/var
+ cp -R var "${D}"/usr/NX || die
+
+ dodir /etc/init.d
+ newinitd "${FILESDIR}"/nxnode-3.0.0-init nxsensor
+}
+
+pkg_postinst()
+{
+ # Only install license file if none is found
+ if [ ! -f /usr/NX/etc/node.lic ]; then
+ cp "${ROOT}"/usr/NX/etc/node.lic.sample "${ROOT}"/usr/NX/etc/node.lic || die
+ chmod 0400 "${ROOT}"/usr/NX/etc/node.lic
+ chown nx:0 "${ROOT}"/usr/NX/etc/node.lic
+ fi
+
+ # only run install on the first time
+ if [ -f /usr/NX/etc/node.cfg ]; then
+ einfo "Running NoMachine's update script"
+ "${ROOT}"/usr/NX/scripts/setup/nxnode --update
+ else
+ einfo "Running NoMachine's setup script"
+ "${ROOT}"/usr/NX/scripts/setup/nxnode --install
+ fi
+
+ elog "If you want server statistics, please add nxsensor to your default runlevel"
+ elog
+ elog " rc-update add nxsensor default"
+ elog
+ elog "You will also need to change EnableSensor to 1 in /usr/NX/etc/node.cfg"
+}