summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2009-09-30 23:06:31 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2009-09-30 23:06:31 +0000
commit58f2defc51325c3255364c55a797df1d3f1170b2 (patch)
tree28296413120a337649aa73d3d2243e114f50b376
parentVersion bump (diff)
downloadhistorical-58f2defc51325c3255364c55a797df1d3f1170b2.tar.gz
historical-58f2defc51325c3255364c55a797df1d3f1170b2.tar.bz2
historical-58f2defc51325c3255364c55a797df1d3f1170b2.zip
3.4.0 version bump. This version brings new capabilities such as: support for CUPS 1.4 printing system, better detection of system commands to run KDE and Gnome sessions and the possibility of configuring the server to allow run sessions as the root user, and bugfixes (nxagent crash, cut and paste problems, text on the titlebar in rootless session, ...)
Package-Manager: portage-2.2_rc42/cvs/Linux x86_64
-rw-r--r--net-misc/nxserver-freeedition/ChangeLog12
-rw-r--r--net-misc/nxserver-freeedition/Manifest5
-rw-r--r--net-misc/nxserver-freeedition/nxserver-freeedition-3.4.0.8.ebuild99
3 files changed, 114 insertions, 2 deletions
diff --git a/net-misc/nxserver-freeedition/ChangeLog b/net-misc/nxserver-freeedition/ChangeLog
index 84c1e48e0d8a..57d79806e8bd 100644
--- a/net-misc/nxserver-freeedition/ChangeLog
+++ b/net-misc/nxserver-freeedition/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for net-misc/nxserver-freeedition
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/ChangeLog,v 1.41 2009/09/17 09:20:32 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/ChangeLog,v 1.42 2009/09/30 23:06:31 voyageur Exp $
+
+*nxserver-freeedition-3.4.0.8 (30 Sep 2009)
+
+ 30 Sep 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.4.0.8.ebuild:
+ 3.4.0 version bump. This version brings new capabilities such as: support
+ for CUPS 1.4 printing system, better detection of system commands to run
+ KDE and Gnome sessions and the possibility of configuring the server to
+ allow run sessions as the root user, and bugfixes (nxagent crash, cut and
+ paste problems, text on the titlebar in rootless session, ...)
17 Sep 2009; Bernard Cafarelli <voyageur@gentoo.org>
nxserver-freeedition-3.3.0.27.ebuild:
diff --git a/net-misc/nxserver-freeedition/Manifest b/net-misc/nxserver-freeedition/Manifest
index 558799833827..f470948c720a 100644
--- a/net-misc/nxserver-freeedition/Manifest
+++ b/net-misc/nxserver-freeedition/Manifest
@@ -9,9 +9,12 @@ DIST nxserver-3.3.0-27.i386.tar.gz 6832036 RMD160 25e705303608fd7940fc9a591305a5
DIST nxserver-3.3.0-27.x86_64.tar.gz 7855670 RMD160 b66820669a156533b3fd2524568969e48037b636 SHA1 3255d41ae320a6d06ae246ef87b13ffa4d281a83 SHA256 58c13d2ad1f020971e6309efa0a4f523c92420bd28ee869bd97bc0629fa1b299
DIST nxserver-3.3.0-8.i386.tar.gz 6806969 RMD160 28586daff1ad26f48125a78027b46d862a6c572b SHA1 c41c65be35993e8f12a8ab0c3ff6139eacbf4c3e SHA256 447993fa3fc513d347e10d1b77769c77bd0e5fba30e5e8a0be1bbf0a3dc9ebfd
DIST nxserver-3.3.0-8.x86_64.tar.gz 7838937 RMD160 fe09f197aaccb9dd63395a8efd1c268eae650634 SHA1 3d8de2ec471d15c6173201263ba0a783c4c6677b SHA256 77740054916e8470cfa1947c31e6c9e14b50bb8ebf9a2c990e452de9f1964adc
+DIST nxserver-3.4.0-8.i386.tar.gz 6844221 RMD160 b31094f7a57f03f9ccf04a7692a888ec8c37635c SHA1 bbf8d622ad6858ef180e5bd8798752f931f6c099 SHA256 816d956e26349bed80fb613b7a6dc3401a81b7cf3f220a41ae61fb72091f227c
+DIST nxserver-3.4.0-8.x86_64.tar.gz 7870310 RMD160 4281ece7b1750242309b2b022fc243c1b461108b SHA1 5844c769e06930138fa3ee9482512d4938cf0561 SHA256 73681799874fb99db2532de3c4e8c66e36ed978d6d4f78ed6073d59ec4f5df54
EBUILD nxserver-freeedition-3.3.0.14.ebuild 2609 RMD160 a06bc05db61df0efa640ae9be7ab12abb064e348 SHA1 7f29e802089f96fdfe8f591a74e5d1f797cf8409 SHA256 5333de78875559b95b8743705fdecdfa7bec5a3ee09edf3804962255a0b2c7b0
EBUILD nxserver-freeedition-3.3.0.22.ebuild 2613 RMD160 531d8fda6d4d158d7b7cf30cfb39782dc1d5ac1d SHA1 9dd240852bf4cf704a9eb2e3b381906b9080b925 SHA256 07205ff7d77345d53f4e8475bc3415ea091f2003012bad9d186e96ccc5342fb4
EBUILD nxserver-freeedition-3.3.0.27.ebuild 3133 RMD160 c2436083387b82e76276859090414c7318826c15 SHA1 f7342cb930c44da45698c42197c21ca2f2a9f045 SHA256 28409c28959aabfd60979c24d67344a9550ada351a32543e54c11b08677375b2
EBUILD nxserver-freeedition-3.3.0.8-r1.ebuild 2611 RMD160 9d9d95a3f5201d1b7c62ba9f9edf683a00bfd246 SHA1 bd4f0546c8135bb91c6656c619ce3d27635b23b1 SHA256 1123d6b4cf7496b1af98e31a92e2e6997eac8ccdd09d38dc6f2247450487e26c
-MISC ChangeLog 7538 RMD160 ea739c0eb290db78b52791f0d40ef1af6e1935db SHA1 5bf67fab9c70e627b1f23b3f7f7a2689197e0f5e SHA256 ffb27a44bf8be33590101914bce7ee4b12b96fc158e10b1754ade1aacfffd88d
+EBUILD nxserver-freeedition-3.4.0.8.ebuild 3126 RMD160 0fc8e7a34a2763cfcc013556cebd4a77be6fd794 SHA1 ec1eac9693f9de4bb16dad175998acbcbce3f3fc SHA256 ea2f6522a993c4c9a31fdf4c1f10bfb4b602a977406eac41b721c205d989f4df
+MISC ChangeLog 8045 RMD160 68001734f7db2136169e67768bfaa31616922036 SHA1 7a1b18785e9cc599272a370d07fa605ae6e676c3 SHA256 3bb52844553ce226bac69e47f7df3eb8dd191dd3cadfb95e82d5d5fa178e2b26
MISC metadata.xml 229 RMD160 36b4bf7d904838e36addc9c65e276eba42746844 SHA1 713c86b664acaa5ddaa5551907f76eb0ea9209d3 SHA256 445516ce54a07930b5cf708034023dddbc5fd8125be710709912ef849e623bc5
diff --git a/net-misc/nxserver-freeedition/nxserver-freeedition-3.4.0.8.ebuild b/net-misc/nxserver-freeedition/nxserver-freeedition-3.4.0.8.ebuild
new file mode 100644
index 000000000000..9a7a550ad83f
--- /dev/null
+++ b/net-misc/nxserver-freeedition/nxserver-freeedition-3.4.0.8.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2009 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.4.0.8.ebuild,v 1.1 2009/09/30 23:06:31 voyageur Exp $
+
+inherit eutils versionator
+
+MAJOR_PV="$(get_version_component_range 1-3)"
+FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)"
+DESCRIPTION="Free edition NX server from NoMachine"
+HOMEPAGE="http://www.nomachine.com/"
+SRC_URI="amd64? ( http://64.34.161.181/download/${MAJOR_PV}/Linux/FE/nxserver-${FULL_PV}.x86_64.tar.gz )
+ x86? ( http://64.34.161.181/download/${MAJOR_PV}/Linux/FE/nxserver-${FULL_PV}.i386.tar.gz )"
+
+LICENSE="nomachine"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+
+DEPEND="=net-misc/nxnode-3.3*"
+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
+ epatch "${FILESDIR}"/nxserver-3.3.0-dontupdatekeys.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 ()
+{
+ # Other NX servers ebuilds may have already created the nx account
+ # However they use different login shell/home directory paths
+ if [[ ${ROOT} == "/" ]]; then
+ 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!!"
+ else
+ elog "If you had another NX server installed before, please make sure"
+ elog "the nx user account is correctly set to:"
+ elog " * login shell: /usr/NX/bin/nxserver"
+ elog " * home directory: /usr/NX/home/nx"
+ fi
+
+ # 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
+
+ if ! built_with_use net-misc/openssh pam; then
+ elog ""
+ elog "net-misc/openssh was not built with PAM support"
+ elog "You will need to unlock the nx account by setting a password for it"
+ fi
+
+ elog "Remember to add nxserver to your default runlevel"
+}