Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/nxnode: nxnode-3.5.0.9.ebuild ChangeLog nxnode-3.5.0.4.ebuild nxnode-3.5.0.7.ebuild nxnode-3.5.0.6.ebuild
Date: Thu, 07 Jun 2012 22:51:26
Message-Id: 20120607225116.67E6E2004B@flycatcher.gentoo.org
1 voyageur 12/06/07 22:51:16
2
3 Modified: ChangeLog nxnode-3.5.0.4.ebuild
4 nxnode-3.5.0.7.ebuild
5 Added: nxnode-3.5.0.9.ebuild
6 Removed: nxnode-3.5.0.6.ebuild
7 Log:
8 Maintenance release bump, mostly fixes for newer cairo support. Inherit user eclass
9
10 (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.69 net-misc/nxnode/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nxnode/ChangeLog?rev=1.69&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nxnode/ChangeLog?rev=1.69&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nxnode/ChangeLog?r1=1.68&r2=1.69
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v
22 retrieving revision 1.68
23 retrieving revision 1.69
24 diff -u -r1.68 -r1.69
25 --- ChangeLog 4 Nov 2011 15:34:11 -0000 1.68
26 +++ ChangeLog 7 Jun 2012 22:51:16 -0000 1.69
27 @@ -1,6 +1,13 @@
28 # ChangeLog for net-misc/nxnode
29 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v 1.68 2011/11/04 15:34:11 voyageur Exp $
31 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
32 +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v 1.69 2012/06/07 22:51:16 voyageur Exp $
33 +
34 +*nxnode-3.5.0.9 (07 Jun 2012)
35 +
36 + 07 Jun 2012; Bernard Cafarelli <voyageur@g.o> nxnode-3.5.0.4.ebuild,
37 + -nxnode-3.5.0.6.ebuild, nxnode-3.5.0.7.ebuild, +nxnode-3.5.0.9.ebuild:
38 + Maintenance release bump, mostly fixes for newer cairo support. Inherit user
39 + eclass
40
41 *nxnode-3.5.0.7 (04 Nov 2011)
42
43
44
45
46 1.5 net-misc/nxnode/nxnode-3.5.0.4.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nxnode/nxnode-3.5.0.4.ebuild?rev=1.5&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nxnode/nxnode-3.5.0.4.ebuild?rev=1.5&content-type=text/plain
50 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nxnode/nxnode-3.5.0.4.ebuild?r1=1.4&r2=1.5
51
52 Index: nxnode-3.5.0.4.ebuild
53 ===================================================================
54 RCS file: /var/cvsroot/gentoo-x86/net-misc/nxnode/nxnode-3.5.0.4.ebuild,v
55 retrieving revision 1.4
56 retrieving revision 1.5
57 diff -u -r1.4 -r1.5
58 --- nxnode-3.5.0.4.ebuild 23 Sep 2011 09:41:30 -0000 1.4
59 +++ nxnode-3.5.0.4.ebuild 7 Jun 2012 22:51:16 -0000 1.5
60 @@ -1,10 +1,10 @@
61 -# Copyright 1999-2011 Gentoo Foundation
62 +# Copyright 1999-2012 Gentoo Foundation
63 # Distributed under the terms of the GNU General Public License v2
64 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/nxnode-3.5.0.4.ebuild,v 1.4 2011/09/23 09:41:30 voyageur Exp $
65 +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/nxnode-3.5.0.4.ebuild,v 1.5 2012/06/07 22:51:16 voyageur Exp $
66
67 EAPI="2"
68
69 -inherit eutils versionator
70 +inherit eutils user versionator
71
72 MAJOR_PV="$(get_version_component_range 1-3)"
73 FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)"
74
75
76
77 1.2 net-misc/nxnode/nxnode-3.5.0.7.ebuild
78
79 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nxnode/nxnode-3.5.0.7.ebuild?rev=1.2&view=markup
80 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nxnode/nxnode-3.5.0.7.ebuild?rev=1.2&content-type=text/plain
81 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nxnode/nxnode-3.5.0.7.ebuild?r1=1.1&r2=1.2
82
83 Index: nxnode-3.5.0.7.ebuild
84 ===================================================================
85 RCS file: /var/cvsroot/gentoo-x86/net-misc/nxnode/nxnode-3.5.0.7.ebuild,v
86 retrieving revision 1.1
87 retrieving revision 1.2
88 diff -u -r1.1 -r1.2
89 --- nxnode-3.5.0.7.ebuild 4 Nov 2011 15:34:11 -0000 1.1
90 +++ nxnode-3.5.0.7.ebuild 7 Jun 2012 22:51:16 -0000 1.2
91 @@ -1,10 +1,10 @@
92 -# Copyright 1999-2011 Gentoo Foundation
93 +# Copyright 1999-2012 Gentoo Foundation
94 # Distributed under the terms of the GNU General Public License v2
95 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/nxnode-3.5.0.7.ebuild,v 1.1 2011/11/04 15:34:11 voyageur Exp $
96 +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/nxnode-3.5.0.7.ebuild,v 1.2 2012/06/07 22:51:16 voyageur Exp $
97
98 EAPI="2"
99
100 -inherit eutils versionator
101 +inherit eutils user versionator
102
103 MAJOR_PV="$(get_version_component_range 1-3)"
104 FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)"
105
106
107
108 1.1 net-misc/nxnode/nxnode-3.5.0.9.ebuild
109
110 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nxnode/nxnode-3.5.0.9.ebuild?rev=1.1&view=markup
111 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nxnode/nxnode-3.5.0.9.ebuild?rev=1.1&content-type=text/plain
112
113 Index: nxnode-3.5.0.9.ebuild
114 ===================================================================
115 # Copyright 1999-2012 Gentoo Foundation
116 # Distributed under the terms of the GNU General Public License v2
117 # $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/nxnode-3.5.0.9.ebuild,v 1.1 2012/06/07 22:51:16 voyageur Exp $
118
119 EAPI=4
120
121 inherit eutils user versionator
122
123 MAJOR_PV="$(get_version_component_range 1-3)"
124 FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)"
125 DESCRIPTION="shared components between the different editions of NoMachine's NX Servers"
126 HOMEPAGE="http://www.nomachine.com/"
127 SRC_URI="amd64? ( http://64.34.161.181/download/${MAJOR_PV}/Linux/nxnode-${FULL_PV}.x86_64.tar.gz )
128 x86? ( http://64.34.161.181/download/${MAJOR_PV}/Linux/nxnode-${FULL_PV}.i386.tar.gz )"
129
130 LICENSE="nomachine"
131 SLOT="0"
132 KEYWORDS="-* ~amd64 ~x86"
133 IUSE="rdesktop vnc"
134 RESTRICT="strip"
135
136 DEPEND=""
137 RDEPEND="=net-misc/nxclient-${MAJOR_PV}*[cups]
138 sys-process/lsof
139 x11-libs/libICE
140 x11-libs/libXmu
141 x11-libs/libSM
142 x11-libs/libXt
143 x11-libs/libXaw
144 x11-libs/libXpm
145 x11-apps/xrdb
146 rdesktop? ( net-misc/rdesktop )
147 vnc? ( x11-misc/x11vnc
148 net-misc/tightvnc )"
149
150 S=${WORKDIR}/NX
151
152 pkg_preinst()
153 {
154 enewuser nx -1 -1 /usr/NX/home/nx
155 }
156
157 src_prepare()
158 {
159 epatch "${FILESDIR}"/nxnode-3.4.0-setup.patch
160 epatch "${FILESDIR}"/nxnode-3.4.0-cups_path.patch
161 }
162
163 src_install()
164 {
165 # we install nxnode into /usr/NX, to make sure it doesn't clash
166 # with libraries installed for FreeNX
167
168 into /usr/NX
169 for x in nxagent nxnode nxsensor nxspool nxuexec ; do
170 dobin bin/$x
171 done
172
173 dodir /usr/NX/etc
174 cp etc/node-debian.cfg.sample "${D}"/usr/NX/etc/node-gentoo.cfg.sample || die
175 sed -e 's|COMMAND_FUSER = .*|COMMAND_FUSER = "/usr/bin/fuser"|;' -i "${D}"/usr/NX/etc/node-gentoo.cfg.sample || die
176 cp etc/node.lic.sample "${D}"/usr/NX/etc/node.lic.sample || die
177
178 dodir /usr/NX/lib
179 cp -R lib "${D}"/usr/NX || die
180
181 dodir /usr/NX/scripts
182 cp -R scripts "${D}"/usr/NX || die
183
184 dodir /usr/NX/share
185 cp -R share "${D}"/usr/NX || die
186
187 dodir /usr/NX/var
188 cp -R var "${D}"/usr/NX || die
189
190 dodir /etc/init.d
191 newinitd "${FILESDIR}"/nxnode-3.0.0-init nxsensor
192 }
193
194 pkg_postinst()
195 {
196 # Only install license file if none is found
197 if [ ! -f /usr/NX/etc/node.lic ]; then
198 cp "${ROOT}"/usr/NX/etc/node.lic.sample "${ROOT}"/usr/NX/etc/node.lic || die
199 chmod 0400 "${ROOT}"/usr/NX/etc/node.lic
200 chown nx:0 "${ROOT}"/usr/NX/etc/node.lic
201 fi
202
203 # only run install on the first time
204 if [ -f /usr/NX/etc/node.cfg ]; then
205 einfo "Running NoMachine's update script"
206 "${ROOT}"/usr/NX/scripts/setup/nxnode --update
207 else
208 einfo "Running NoMachine's setup script"
209 "${ROOT}"/usr/NX/scripts/setup/nxnode --install
210 fi
211
212 elog "If you want server statistics, please add nxsensor to your default runlevel"
213 elog
214 elog " rc-update add nxsensor default"
215 elog
216 elog "You will also need to change EnableSensor to 1 in /usr/NX/etc/node.cfg"
217 }