1 |
voyageur 10/02/09 23:18:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nxnode-3.4.0.11.ebuild |
5 |
Log: |
6 |
Maintenance release bump |
7 |
(Portage version: 2.2_rc62/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.55 net-misc/nxnode/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/nxnode/ChangeLog?rev=1.55&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/nxnode/ChangeLog?rev=1.55&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/nxnode/ChangeLog?r1=1.54&r2=1.55 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v |
19 |
retrieving revision 1.54 |
20 |
retrieving revision 1.55 |
21 |
diff -u -r1.54 -r1.55 |
22 |
--- ChangeLog 18 Jan 2010 15:05:53 -0000 1.54 |
23 |
+++ ChangeLog 9 Feb 2010 23:18:10 -0000 1.55 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-misc/nxnode |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v 1.54 2010/01/18 15:05:53 voyageur Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v 1.55 2010/02/09 23:18:10 voyageur Exp $ |
29 |
+ |
30 |
+*nxnode-3.4.0.11 (09 Feb 2010) |
31 |
+ |
32 |
+ 09 Feb 2010; Bernard Cafarelli <voyageur@g.o> |
33 |
+ +nxnode-3.4.0.11.ebuild: |
34 |
+ Maintenance release bump |
35 |
|
36 |
18 Jan 2010; Bernard Cafarelli <voyageur@g.o> |
37 |
nxnode-3.3.0.17.ebuild, nxnode-3.4.0.6.ebuild, nxnode-3.4.0.6-r1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/nxnode/nxnode-3.4.0.11.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/nxnode/nxnode-3.4.0.11.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/nxnode/nxnode-3.4.0.11.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: nxnode-3.4.0.11.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $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 $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils versionator |
55 |
|
56 |
MAJOR_PV="$(get_version_component_range 1-3)" |
57 |
FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)" |
58 |
DESCRIPTION="shared components between the different editions of NoMachine's NX Servers" |
59 |
HOMEPAGE="http://www.nomachine.com/" |
60 |
SRC_URI="amd64? ( http://64.34.161.181/download/${MAJOR_PV}/Linux/nxnode-${FULL_PV}.x86_64.tar.gz ) |
61 |
x86? ( http://64.34.161.181/download/${MAJOR_PV}/Linux/nxnode-${FULL_PV}.i386.tar.gz )" |
62 |
|
63 |
LICENSE="nomachine" |
64 |
SLOT="0" |
65 |
KEYWORDS="-* ~amd64 ~x86" |
66 |
IUSE="rdesktop vnc" |
67 |
RESTRICT="strip" |
68 |
|
69 |
DEPEND="!<net-misc/nxserver-freeedition-3.0.0" |
70 |
RDEPEND="=net-misc/nxclient-${MAJOR_PV}* |
71 |
sys-process/lsof |
72 |
x11-libs/libICE |
73 |
x11-libs/libXmu |
74 |
x11-libs/libSM |
75 |
x11-libs/libXt |
76 |
x11-libs/libXaw |
77 |
x11-libs/libXpm |
78 |
x11-apps/xrdb |
79 |
rdesktop? ( net-misc/rdesktop ) |
80 |
vnc? ( x11-misc/x11vnc |
81 |
|| ( net-misc/tightvnc net-misc/vnc ) )" |
82 |
|
83 |
S=${WORKDIR}/NX |
84 |
|
85 |
pkg_preinst() |
86 |
{ |
87 |
enewuser nx -1 -1 /usr/NX/home/nx |
88 |
} |
89 |
|
90 |
src_prepare() |
91 |
{ |
92 |
epatch "${FILESDIR}"/nxnode-3.4.0-setup.patch |
93 |
} |
94 |
|
95 |
src_install() |
96 |
{ |
97 |
# we install nxnode into /usr/NX, to make sure it doesn't clash |
98 |
# with libraries installed for FreeNX |
99 |
|
100 |
into /usr/NX |
101 |
for x in nxagent nxnode nxsensor nxspool nxuexec ; do |
102 |
dobin bin/$x |
103 |
done |
104 |
|
105 |
dodir /usr/NX/etc |
106 |
cp etc/node-debian.cfg.sample "${D}"/usr/NX/etc/node-gentoo.cfg.sample || die |
107 |
sed -e 's|COMMAND_FUSER = .*|COMMAND_FUSER = "/usr/bin/fuser"|;' -i "${D}"/usr/NX/etc/node-gentoo.cfg.sample || die |
108 |
cp etc/node.lic.sample "${D}"/usr/NX/etc/node.lic.sample || die |
109 |
|
110 |
dodir /usr/NX/lib |
111 |
cp -R lib "${D}"/usr/NX || die |
112 |
|
113 |
dodir /usr/NX/scripts |
114 |
cp -R scripts "${D}"/usr/NX || die |
115 |
|
116 |
dodir /usr/NX/share |
117 |
cp -R share "${D}"/usr/NX || die |
118 |
|
119 |
dodir /usr/NX/var |
120 |
cp -R var "${D}"/usr/NX || die |
121 |
|
122 |
dodir /etc/init.d |
123 |
newinitd "${FILESDIR}"/nxnode-3.0.0-init nxsensor |
124 |
} |
125 |
|
126 |
pkg_postinst() |
127 |
{ |
128 |
# Only install license file if none is found |
129 |
if [ ! -f /usr/NX/etc/node.lic ]; then |
130 |
cp "${ROOT}"/usr/NX/etc/node.lic.sample "${ROOT}"/usr/NX/etc/node.lic || die |
131 |
chmod 0400 "${ROOT}"/usr/NX/etc/node.lic |
132 |
chown nx:0 "${ROOT}"/usr/NX/etc/node.lic |
133 |
fi |
134 |
|
135 |
# only run install on the first time |
136 |
if [ -f /usr/NX/etc/node.cfg ]; then |
137 |
einfo "Running NoMachine's update script" |
138 |
"${ROOT}"/usr/NX/scripts/setup/nxnode --update |
139 |
else |
140 |
einfo "Running NoMachine's setup script" |
141 |
"${ROOT}"/usr/NX/scripts/setup/nxnode --install |
142 |
fi |
143 |
|
144 |
elog "If you want server statistics, please add nxsensor to your default runlevel" |
145 |
elog |
146 |
elog " rc-update add nxsensor default" |
147 |
elog |
148 |
elog "You will also need to change EnableSensor to 1 in /usr/NX/etc/node.cfg" |
149 |
} |