1 |
serkan 09/04/20 18:52:22 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tightvnc-1.3.9-r3.ebuild tightvnc-1.3.10-r1.ebuild |
5 |
Log: |
6 |
Add files needed for applet hosted mode. Thanks to Richard F. Ostrow Jr. <kshots@××××××××××.com> for the report and help. Fixes bug #259490. |
7 |
(Portage version: 2.2_rc31/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.135 net-misc/tightvnc/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tightvnc/ChangeLog?rev=1.135&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tightvnc/ChangeLog?rev=1.135&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tightvnc/ChangeLog?r1=1.134&r2=1.135 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v |
19 |
retrieving revision 1.134 |
20 |
retrieving revision 1.135 |
21 |
diff -u -r1.134 -r1.135 |
22 |
--- ChangeLog 18 Apr 2009 17:39:16 -0000 1.134 |
23 |
+++ ChangeLog 20 Apr 2009 18:52:22 -0000 1.135 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for net-misc/tightvnc |
26 |
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.134 2009/04/18 17:39:16 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.135 2009/04/20 18:52:22 serkan Exp $ |
29 |
+ |
30 |
+*tightvnc-1.3.10-r1 (20 Apr 2009) |
31 |
+*tightvnc-1.3.9-r3 (20 Apr 2009) |
32 |
+ |
33 |
+ 20 Apr 2009; Serkan Kaba <serkan@g.o> +tightvnc-1.3.9-r3.ebuild, |
34 |
+ +tightvnc-1.3.10-r1.ebuild: |
35 |
+ Add files needed for applet hosted mode. Thanks to Richard F. Ostrow Jr. |
36 |
+ <kshots@××××××××××.com> for the report and help. Fixes bug #259490. |
37 |
|
38 |
18 Apr 2009; Raúl Porcel <armin76@g.o> tightvnc-1.3.10.ebuild: |
39 |
alpha/arm/sh/sparc/x86 stable wrt #266660 |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-misc/tightvnc/tightvnc-1.3.9-r3.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tightvnc/tightvnc-1.3.9-r3.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tightvnc/tightvnc-1.3.9-r3.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: tightvnc-1.3.9-r3.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2009 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.3.9-r3.ebuild,v 1.1 2009/04/20 18:52:22 serkan Exp $ |
53 |
|
54 |
inherit eutils toolchain-funcs java-pkg-opt-2 |
55 |
|
56 |
IUSE="java tcpd server" |
57 |
|
58 |
S="${WORKDIR}/vnc_unixsrc" |
59 |
DESCRIPTION="A great client/server software package allowing remote network access to graphical desktops." |
60 |
SRC_URI="mirror://sourceforge/vnc-tight/${P}_unixsrc.tar.bz2 |
61 |
java? ( mirror://sourceforge/vnc-tight/${P}_javasrc.tar.gz )" |
62 |
HOMEPAGE="http://www.tightvnc.com/" |
63 |
|
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~sh ~sparc ~x86 ~x86-fbsd" |
65 |
LICENSE="GPL-2" |
66 |
SLOT="0" |
67 |
|
68 |
CDEPEND="~media-libs/jpeg-6b |
69 |
server? ( |
70 |
media-fonts/font-misc-misc |
71 |
media-fonts/font-cursor-misc |
72 |
x11-apps/rgb |
73 |
x11-apps/xauth |
74 |
x11-apps/xsetroot |
75 |
) |
76 |
x11-libs/libX11 |
77 |
x11-libs/libXaw |
78 |
x11-libs/libXmu |
79 |
x11-libs/libXp |
80 |
x11-libs/libXt |
81 |
tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )" |
82 |
RDEPEND="${CDEPEND} |
83 |
java? ( >=virtual/jre-1.4 )" |
84 |
DEPEND="${CDEPEND} |
85 |
java? ( >=virtual/jdk-1.4 ) |
86 |
x11-proto/xextproto |
87 |
x11-proto/xproto |
88 |
server? ( |
89 |
x11-proto/inputproto |
90 |
x11-proto/kbproto |
91 |
x11-proto/printproto |
92 |
) |
93 |
>=x11-misc/imake-1 |
94 |
x11-misc/gccmakedep |
95 |
x11-misc/makedepend |
96 |
!net-misc/vnc" |
97 |
|
98 |
src_unpack() { |
99 |
|
100 |
if ! use server; |
101 |
then |
102 |
echo |
103 |
einfo "The 'server' USE flag will build tightvnc's server." |
104 |
einfo "If '-server' is chosen only the client is built to save space." |
105 |
einfo "Stop the build now if you need to add 'server' to USE flags.\n" |
106 |
ebeep |
107 |
epause 5 |
108 |
fi |
109 |
|
110 |
unpack ${A} |
111 |
cd "${S}" |
112 |
|
113 |
epatch "${FILESDIR}/${PN}-1.3.8-pathfixes.patch" # fixes bug 78385 and 146099 |
114 |
epatch "${FILESDIR}/${PN}-1.3.8-imake-tmpdir.patch" # fixes bug 23483 |
115 |
epatch "${FILESDIR}/${PN}-1.3.8-darwin.patch" # fixes bug 89908 |
116 |
epatch "${FILESDIR}/${PN}-1.3.8-mips.patch" |
117 |
epatch "${FILESDIR}"/server-CVE-2007-1003.patch |
118 |
epatch "${FILESDIR}"/server-CVE-2007-1351-1352.patch |
119 |
epatch "${FILESDIR}"/${PV}-fbsd.patch |
120 |
epatch "${FILESDIR}"/${PV}-arm.patch |
121 |
epatch "${FILESDIR}"/${PV}-sh.patch |
122 |
|
123 |
if use java; then |
124 |
cd "${WORKDIR}" |
125 |
epatch "${FILESDIR}/${P}-java-build.patch" |
126 |
fi |
127 |
} |
128 |
|
129 |
src_compile() { |
130 |
xmkmf -a || die "xmkmf failed" |
131 |
|
132 |
make CDEBUGFLAGS="${CFLAGS}" World || die |
133 |
|
134 |
if use server; then |
135 |
cd Xvnc && ./configure || die "Configure failed." |
136 |
if use tcpd; then |
137 |
local myextra="-lwrap" |
138 |
make EXTRA_LIBRARIES="${myextra}" \ |
139 |
CDEBUGFLAGS="${CFLAGS}" \ |
140 |
EXTRA_DEFINES="-DUSE_LIBWRAP=1" || die |
141 |
else |
142 |
make CDEBUGFLAGS="${CFLAGS}" || die |
143 |
fi |
144 |
fi |
145 |
if use java; then |
146 |
cd "${WORKDIR}/vnc_javasrc" || die |
147 |
make JAVACFLAGS="$(java-pkg_javac-args)" all || die |
148 |
fi |
149 |
|
150 |
} |
151 |
|
152 |
src_install() { |
153 |
# the web based interface and the java viewer need the java class files |
154 |
if use java; then |
155 |
java-pkg_newjar "${WORKDIR}/vnc_javasrc/VncViewer.jar" |
156 |
java-pkg_dolauncher "${PN}-java" |
157 |
insinto /usr/share/${PN}/classes |
158 |
doins ${WORKDIR}/vnc_javasrc/*.vnc || die |
159 |
dosym /usr/share/${PN}/lib/${PN}.jar /usr/share/${PN}/classes/VncViewer.jar |
160 |
|
161 |
fi |
162 |
|
163 |
dodir /usr/share/man/man1 /usr/bin |
164 |
./vncinstall "${D}"/usr/bin "${D}"/usr/share/man || die "vncinstall failed" |
165 |
|
166 |
if use server; then |
167 |
newconfd "${FILESDIR}"/tightvnc.confd vnc |
168 |
newinitd "${FILESDIR}"/tightvnc.initd vnc |
169 |
else |
170 |
rm -f "${D}"/usr/bin/vncserver |
171 |
rm -f "${D}"/usr/share/man/man1/{Xvnc,vncserver}* |
172 |
fi |
173 |
|
174 |
doicon "${FILESDIR}"/vncviewer.png |
175 |
make_desktop_entry vncviewer vncviewer vncviewer Network |
176 |
|
177 |
dodoc ChangeLog README WhatsNew |
178 |
use java && dodoc "${FILESDIR}"/README.JavaViewer |
179 |
newdoc vncviewer/README README.vncviewer |
180 |
} |
181 |
|
182 |
|
183 |
|
184 |
1.1 net-misc/tightvnc/tightvnc-1.3.10-r1.ebuild |
185 |
|
186 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tightvnc/tightvnc-1.3.10-r1.ebuild?rev=1.1&view=markup |
187 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tightvnc/tightvnc-1.3.10-r1.ebuild?rev=1.1&content-type=text/plain |
188 |
|
189 |
Index: tightvnc-1.3.10-r1.ebuild |
190 |
=================================================================== |
191 |
# Copyright 1999-2009 Gentoo Foundation |
192 |
# Distributed under the terms of the GNU General Public License v2 |
193 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.3.10-r1.ebuild,v 1.1 2009/04/20 18:52:22 serkan Exp $ |
194 |
|
195 |
inherit eutils toolchain-funcs java-pkg-opt-2 |
196 |
|
197 |
IUSE="java tcpd server" |
198 |
|
199 |
S="${WORKDIR}/vnc_unixsrc" |
200 |
DESCRIPTION="A great client/server software package allowing remote network access to graphical desktops." |
201 |
SRC_URI="mirror://sourceforge/vnc-tight/${P}_unixsrc.tar.bz2 |
202 |
java? ( mirror://sourceforge/vnc-tight/${P}_javasrc.tar.gz )" |
203 |
HOMEPAGE="http://www.tightvnc.com/" |
204 |
|
205 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~sh ~sparc ~x86 ~x86-fbsd" |
206 |
LICENSE="GPL-2" |
207 |
SLOT="0" |
208 |
|
209 |
CDEPEND="~media-libs/jpeg-6b |
210 |
server? ( |
211 |
media-fonts/font-misc-misc |
212 |
media-fonts/font-cursor-misc |
213 |
x11-apps/rgb |
214 |
x11-apps/xauth |
215 |
x11-apps/xsetroot |
216 |
) |
217 |
x11-libs/libX11 |
218 |
x11-libs/libXaw |
219 |
x11-libs/libXmu |
220 |
x11-libs/libXp |
221 |
x11-libs/libXt |
222 |
tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )" |
223 |
RDEPEND="${CDEPEND} |
224 |
java? ( >=virtual/jre-1.4 )" |
225 |
DEPEND="${CDEPEND} |
226 |
java? ( >=virtual/jdk-1.4 ) |
227 |
x11-proto/xextproto |
228 |
x11-proto/xproto |
229 |
server? ( |
230 |
x11-proto/inputproto |
231 |
x11-proto/kbproto |
232 |
x11-proto/printproto |
233 |
) |
234 |
>=x11-misc/imake-1 |
235 |
x11-misc/gccmakedep |
236 |
x11-misc/makedepend |
237 |
!net-misc/vnc" |
238 |
|
239 |
src_unpack() { |
240 |
|
241 |
if ! use server; |
242 |
then |
243 |
echo |
244 |
einfo "The 'server' USE flag will build tightvnc's server." |
245 |
einfo "If '-server' is chosen only the client is built to save space." |
246 |
einfo "Stop the build now if you need to add 'server' to USE flags.\n" |
247 |
ebeep |
248 |
epause 5 |
249 |
fi |
250 |
|
251 |
unpack ${A} |
252 |
cd "${S}" |
253 |
|
254 |
epatch "${FILESDIR}/${PN}-1.3.10-pathfixes.patch" # fixes bug 78385 and 146099 |
255 |
epatch "${FILESDIR}/${PN}-1.3.8-imake-tmpdir.patch" # fixes bug 23483 |
256 |
epatch "${FILESDIR}/${PN}-1.3.8-darwin.patch" # fixes bug 89908 |
257 |
epatch "${FILESDIR}/${PN}-1.3.8-mips.patch" |
258 |
epatch "${FILESDIR}"/server-CVE-2007-1003.patch |
259 |
epatch "${FILESDIR}"/server-CVE-2007-1351-1352.patch |
260 |
epatch "${FILESDIR}"/1.3.9-fbsd.patch |
261 |
epatch "${FILESDIR}"/1.3.9-arm.patch |
262 |
epatch "${FILESDIR}"/1.3.9-sh.patch |
263 |
|
264 |
if use java; then |
265 |
cd "${WORKDIR}" |
266 |
epatch "${FILESDIR}/${PN}-1.3.10-java-build.patch" |
267 |
fi |
268 |
} |
269 |
|
270 |
src_compile() { |
271 |
xmkmf -a || die "xmkmf failed" |
272 |
|
273 |
make CDEBUGFLAGS="${CFLAGS}" World || die |
274 |
|
275 |
if use server; then |
276 |
cd Xvnc && ./configure || die "Configure failed." |
277 |
if use tcpd; then |
278 |
local myextra="-lwrap" |
279 |
make EXTRA_LIBRARIES="${myextra}" \ |
280 |
CDEBUGFLAGS="${CFLAGS}" \ |
281 |
EXTRA_DEFINES="-DUSE_LIBWRAP=1" || die |
282 |
else |
283 |
make CDEBUGFLAGS="${CFLAGS}" || die |
284 |
fi |
285 |
fi |
286 |
if use java; then |
287 |
cd "${WORKDIR}/vnc_javasrc" || die |
288 |
make JAVACFLAGS="$(java-pkg_javac-args)" all || die |
289 |
fi |
290 |
|
291 |
} |
292 |
|
293 |
src_install() { |
294 |
# the web based interface and the java viewer need the java class files |
295 |
if use java; then |
296 |
java-pkg_newjar "${WORKDIR}/vnc_javasrc/VncViewer.jar" |
297 |
java-pkg_dolauncher "${PN}-java" |
298 |
insinto /usr/share/${PN}/classes |
299 |
doins ${WORKDIR}/vnc_javasrc/*.vnc || die |
300 |
dosym /usr/share/${PN}/lib/${PN}.jar /usr/share/${PN}/classes/VncViewer.jar |
301 |
|
302 |
fi |
303 |
|
304 |
dodir /usr/share/man/man1 /usr/bin |
305 |
./vncinstall "${D}"/usr/bin "${D}"/usr/share/man || die "vncinstall failed" |
306 |
|
307 |
if use server; then |
308 |
newconfd "${FILESDIR}"/tightvnc.confd vnc |
309 |
newinitd "${FILESDIR}"/tightvnc.initd vnc |
310 |
else |
311 |
rm -f "${D}"/usr/bin/vncserver |
312 |
rm -f "${D}"/usr/share/man/man1/{Xvnc,vncserver}* |
313 |
fi |
314 |
|
315 |
doicon "${FILESDIR}"/vncviewer.png |
316 |
make_desktop_entry vncviewer vncviewer vncviewer Network |
317 |
|
318 |
dodoc ChangeLog README WhatsNew |
319 |
use java && dodoc "${FILESDIR}"/README.JavaViewer |
320 |
newdoc vncviewer/README README.vncviewer |
321 |
} |