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