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