1 |
ali_bush 08/09/11 11:14:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tightvnc-1.3.9-r2.ebuild |
5 |
Log: |
6 |
Bump tightvnc to fix java support. |
7 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.123 net-misc/tightvnc/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tightvnc/ChangeLog?rev=1.123&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tightvnc/ChangeLog?rev=1.123&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tightvnc/ChangeLog?r1=1.122&r2=1.123 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v |
19 |
retrieving revision 1.122 |
20 |
retrieving revision 1.123 |
21 |
diff -u -r1.122 -r1.123 |
22 |
--- ChangeLog 14 Jul 2008 17:38:03 -0000 1.122 |
23 |
+++ ChangeLog 11 Sep 2008 11:14:57 -0000 1.123 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-misc/tightvnc |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.122 2008/07/14 17:38:03 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.123 2008/09/11 11:14:57 ali_bush Exp $ |
29 |
+ |
30 |
+*tightvnc-1.3.9-r2 (11 Sep 2008) |
31 |
+ |
32 |
+ 11 Sep 2008; Alistair Bush <ali_bush@g.o> |
33 |
+ +files/tightvnc-1.3.9-java-build.patch, +tightvnc-1.3.9-r2.ebuild: |
34 |
+ Bump tightvnc to fix java support. |
35 |
|
36 |
14 Jul 2008; Raúl Porcel <armin76@g.o> files/tightvnc.initd: |
37 |
Fix init script, bug #231492 |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/tightvnc/tightvnc-1.3.9-r2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tightvnc/tightvnc-1.3.9-r2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tightvnc/tightvnc-1.3.9-r2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: tightvnc-1.3.9-r2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.3.9-r2.ebuild,v 1.1 2008/09/11 11:14:57 ali_bush Exp $ |
51 |
|
52 |
inherit eutils toolchain-funcs java-pkg-opt-2 |
53 |
|
54 |
IUSE="java tcpd server" |
55 |
|
56 |
S="${WORKDIR}/vnc_unixsrc" |
57 |
DESCRIPTION="A great client/server software package allowing remote network access to graphical desktops." |
58 |
SRC_URI="mirror://sourceforge/vnc-tight/${P}_unixsrc.tar.bz2 |
59 |
java? ( mirror://sourceforge/vnc-tight/${P}_javasrc.tar.gz )" |
60 |
HOMEPAGE="http://www.tightvnc.com/" |
61 |
|
62 |
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86 ~x86-fbsd" |
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
|
66 |
CDEPEND="~media-libs/jpeg-6b |
67 |
server? ( |
68 |
media-fonts/font-misc-misc |
69 |
media-fonts/font-cursor-misc |
70 |
x11-apps/rgb |
71 |
x11-apps/xauth |
72 |
x11-apps/xsetroot |
73 |
) |
74 |
x11-libs/libX11 |
75 |
x11-libs/libXaw |
76 |
x11-libs/libXmu |
77 |
x11-libs/libXp |
78 |
x11-libs/libXt |
79 |
tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )" |
80 |
RDEPEND="${CDEPEND} |
81 |
java? ( >=virtual/jre-1.4 )" |
82 |
DEPEND="${CDEPEND} |
83 |
java? ( >=virtual/jdk-1.4 ) |
84 |
x11-proto/xextproto |
85 |
x11-proto/xproto |
86 |
server? ( |
87 |
x11-proto/inputproto |
88 |
x11-proto/kbproto |
89 |
x11-proto/printproto |
90 |
) |
91 |
>=x11-misc/imake-1 |
92 |
x11-misc/gccmakedep |
93 |
x11-misc/makedepend |
94 |
!net-misc/vnc" |
95 |
|
96 |
src_unpack() { |
97 |
|
98 |
if ! use server; |
99 |
then |
100 |
echo |
101 |
einfo "The 'server' USE flag will build tightvnc's server." |
102 |
einfo "If '-server' is chosen only the client is built to save space." |
103 |
einfo "Stop the build now if you need to add 'server' to USE flags.\n" |
104 |
ebeep |
105 |
epause 5 |
106 |
fi |
107 |
|
108 |
unpack ${A} && cd "${S}" |
109 |
epatch "${FILESDIR}/${PN}-1.3.8-pathfixes.patch" # fixes bug 78385 and 146099 |
110 |
epatch "${FILESDIR}/${PN}-1.3.8-imake-tmpdir.patch" # fixes bug 23483 |
111 |
epatch "${FILESDIR}/${PN}-1.3.8-darwin.patch" # fixes bug 89908 |
112 |
use mips && epatch "${FILESDIR}/${PN}-1.3.8-mips.patch" |
113 |
epatch "${FILESDIR}"/server-CVE-2007-1003.patch |
114 |
epatch "${FILESDIR}"/server-CVE-2007-1351-1352.patch |
115 |
epatch "${FILESDIR}"/${PV}-fbsd.patch |
116 |
|
117 |
if use java; then |
118 |
cd "${WORKDIR}" |
119 |
epatch "${FILESDIR}/${P}-java-build.patch" |
120 |
fi |
121 |
} |
122 |
|
123 |
src_compile() { |
124 |
xmkmf -a || die "xmkmf failed" |
125 |
|
126 |
make CDEBUGFLAGS="${CFLAGS}" World || die |
127 |
|
128 |
if use server; then |
129 |
cd Xvnc && ./configure || die "Configure failed." |
130 |
if use tcpd; then |
131 |
local myextra="-lwrap" |
132 |
make EXTRA_LIBRARIES="${myextra}" \ |
133 |
CDEBUGFLAGS="${CFLAGS}" \ |
134 |
EXTRA_DEFINES="-DUSE_LIBWRAP=1" || die |
135 |
else |
136 |
make CDEBUGFLAGS="${CFLAGS}" || die |
137 |
fi |
138 |
fi |
139 |
if use java; then |
140 |
cd "${WORKDIR}/vnc_javasrc" || die |
141 |
make JAVACFLAGS="$(java-pkg_javac-args)" all || die |
142 |
fi |
143 |
|
144 |
} |
145 |
|
146 |
src_install() { |
147 |
# the web based interface and the java viewer need the java class files |
148 |
if use java; then |
149 |
java-pkg_newjar "${WORKDIR}/vnc_javasrc/VncViewer.jar" |
150 |
java-pkg_dolauncher "${PN}-java" |
151 |
fi |
152 |
|
153 |
dodir /usr/share/man/man1 /usr/bin |
154 |
./vncinstall "${D}"/usr/bin "${D}"/usr/share/man || die "vncinstall failed" |
155 |
|
156 |
if use server; then |
157 |
newconfd "${FILESDIR}"/tightvnc.confd vnc |
158 |
newinitd "${FILESDIR}"/tightvnc.initd vnc |
159 |
else |
160 |
rm -f "${D}"/usr/bin/vncserver |
161 |
rm -f "${D}"/usr/share/man/man1/{Xvnc,vncserver}* |
162 |
fi |
163 |
|
164 |
doicon "${FILESDIR}"/vncviewer.png |
165 |
make_desktop_entry vncviewer vncviewer vncviewer Network |
166 |
|
167 |
dodoc ChangeLog README WhatsNew |
168 |
use java && dodoc "${FILESDIR}"/README.JavaViewer |
169 |
newdoc vncviewer/README README.vncviewer |
170 |
} |