diff options
Diffstat (limited to 'net-misc/nxnode')
-rw-r--r-- | net-misc/nxnode/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/nxnode/Manifest | 5 | ||||
-rw-r--r-- | net-misc/nxnode/nxnode-3.4.0.11.ebuild | 102 |
3 files changed, 113 insertions, 2 deletions
diff --git a/net-misc/nxnode/ChangeLog b/net-misc/nxnode/ChangeLog index 913f440e40b7..b7053efe0ae1 100644 --- a/net-misc/nxnode/ChangeLog +++ b/net-misc/nxnode/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/nxnode # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v 1.54 2010/01/18 15:05:53 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v 1.55 2010/02/09 23:18:10 voyageur Exp $ + +*nxnode-3.4.0.11 (09 Feb 2010) + + 09 Feb 2010; Bernard Cafarelli <voyageur@gentoo.org> + +nxnode-3.4.0.11.ebuild: + Maintenance release bump 18 Jan 2010; Bernard Cafarelli <voyageur@gentoo.org> nxnode-3.3.0.17.ebuild, nxnode-3.4.0.6.ebuild, nxnode-3.4.0.6-r1.ebuild: diff --git a/net-misc/nxnode/Manifest b/net-misc/nxnode/Manifest index 9f0a34e6dd7f..4c56fe714cae 100644 --- a/net-misc/nxnode/Manifest +++ b/net-misc/nxnode/Manifest @@ -3,10 +3,13 @@ AUX nxnode-3.0.0-setup.patch 1353 RMD160 85c7938126000b10fa6e05aa5501e2affc6d0ec AUX nxnode-3.4.0-setup.patch 1874 RMD160 c2f45dbaeb887fb31fad7ed7aa2753bcb1b4c917 SHA1 defb17240346284ae47a633c567728efa3ddfa7a SHA256 d5812c14ac593c9d8a337d12aacb329a59fc6b2c126aaa42107a9ff70cff562b DIST nxnode-3.3.0-17.i386.tar.gz 5884076 RMD160 7cfdc6abd3a06691ed07fbd698c729d1ca621885 SHA1 a7e45d5f8120b3752ff6fa8e3209d03fb4eb6afc SHA256 d1ff1f41e6fc0466378e9953933a00be78db090a664dbc1e127a014b69bbe331 DIST nxnode-3.3.0-17.x86_64.tar.gz 6571053 RMD160 598e42ddd7c685a6b0dd2a4b88983e7682cb90e6 SHA1 ad0de16c624aadf3f224a2159a9cf7f24569205a SHA256 bbc452bb6904254346702bcc6f1cf94784b181be685783ea8443384c428dc954 +DIST nxnode-3.4.0-11.i386.tar.gz 5958676 RMD160 07e47fb30acd92ef02ffeedb4b0fc54ecc259d90 SHA1 def4654f0f4749e606ae7a54c7cecc16089a3631 SHA256 54b3f282157bc2d201a3852b55d84320eb79f7f03b15e553ecfe8c56b7e0d05c +DIST nxnode-3.4.0-11.x86_64.tar.gz 6658445 RMD160 76c443f1f7780716f9a9661d7d1168a980346092 SHA1 a232d9818aaa15cd0c9fa5da0cf6b870bf1c43d3 SHA256 4fd32397c4464615a579dbb893fa2b1a5f585a5222698f896636fd55b93d8073 DIST nxnode-3.4.0-6.i386.tar.gz 5927490 RMD160 741e3052caad883fb9a316a17896702f49f0ad02 SHA1 63c567fd727c47ac33810a98bf14164607360d03 SHA256 46f05deebab3cdc571be3bb93dd4f7e02498391bf05f58c3ccc65a371c8eadeb DIST nxnode-3.4.0-6.x86_64.tar.gz 6619533 RMD160 066546cccced079390d2847a37f42de6c03c4630 SHA1 d3a82497dd0343f8a67888e34caa4b76d2c87b84 SHA256 8b7a0df68d1065f0e2b961886f7e29de2e06c225b5711fcbeffa226ca68ae8ce EBUILD nxnode-3.3.0.17.ebuild 2796 RMD160 dba89d91a5507b63adb2a3d1f3a07133d4b87132 SHA1 95b79cd185c02a87227224cbec626636ac5c4855 SHA256 a0c35b2445e790c40a3bc9859b1574090724f0c25984f6d9198e5c7237bc9368 +EBUILD nxnode-3.4.0.11.ebuild 2783 RMD160 eb56d1a488d0c1215a7b26ff0a330f3c48024d61 SHA1 dad457491de9aae4ca9173b4a65ed35eee59b408 SHA256 de429d66b68364fed8916167e5c745958455045184cd73bfd214932c8090b88a EBUILD nxnode-3.4.0.6-r1.ebuild 2785 RMD160 0399d87867937fb09cec75d24f122f9ac2a8036a SHA1 3ce86bab1e9a5746ea28b62349524a11617788a6 SHA256 82c34292a1554ec3c5cc8aa70285b7fc45dbafb28a588cadf397a5ab66787eb3 EBUILD nxnode-3.4.0.6.ebuild 2780 RMD160 01fabc95defb6958181fad5d505bb2c33f953a85 SHA1 085081fec99501469858dd1ee0e5571ceeb669d1 SHA256 bd1ab1f6d741034c7eee6543acaf1ad43697d1ebfd7d36a9d391cfc1c94bf1f5 -MISC ChangeLog 8503 RMD160 1eb9763029154ff4939c53004332dbc43ee186f3 SHA1 f03bab7550b27618e77f82dce002a587ea3948ac SHA256 82b1069892f3f12a9a145bac8c4b344ffcc97e29a98b17e2287f26f765d9610e +MISC ChangeLog 8645 RMD160 2554099404d05570eea1fa01778b4902514d905e SHA1 cadb423fe9b49aa0352cb0aa8132aa4e8cce8573 SHA256 88ee7170461a0c660ce8fc41ff267ee4607069ea08ddc2011e91232880ad022f MISC metadata.xml 264 RMD160 3b4f53808aa9f3ce8bf86bdc8e08bda3fc181219 SHA1 89e785afdbf6b2c6968649c91dc17910066728eb SHA256 3eaf6b268d16ec374617534bf70f0e96d2c6399ca1b0d4ffa3eeee619d775171 diff --git a/net-misc/nxnode/nxnode-3.4.0.11.ebuild b/net-misc/nxnode/nxnode-3.4.0.11.ebuild new file mode 100644 index 000000000000..57494161383b --- /dev/null +++ b/net-misc/nxnode/nxnode-3.4.0.11.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/nxnode-3.4.0.11.ebuild,v 1.1 2010/02/09 23:18:10 voyageur Exp $ + +EAPI="2" + +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-freeedition-3.0.0" +RDEPEND="=net-misc/nxclient-${MAJOR_PV}* + sys-process/lsof + 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? ( x11-misc/x11vnc + || ( net-misc/tightvnc net-misc/vnc ) )" + +S=${WORKDIR}/NX + +pkg_preinst() +{ + enewuser nx -1 -1 /usr/NX/home/nx +} + +src_prepare() +{ + epatch "${FILESDIR}"/nxnode-3.4.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" +} |