diff options
author | Raúl Porcel <armin76@gentoo.org> | 2007-04-11 21:17:04 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2007-04-11 21:17:04 +0000 |
commit | bf8e9bd4130b17e3f473c1e00c6e88501feccb2d (patch) | |
tree | d2e8acb1ecd4c988615e1c6fddb49e0cb0b70bd4 /net-misc | |
parent | Stable for HPPA (bug #172752). (diff) | |
download | gentoo-2-bf8e9bd4130b17e3f473c1e00c6e88501feccb2d.tar.gz gentoo-2-bf8e9bd4130b17e3f473c1e00c6e88501feccb2d.tar.bz2 gentoo-2-bf8e9bd4130b17e3f473c1e00c6e88501feccb2d.zip |
1.3.8 is affected by that security bug too
(Portage version: 2.1.2.3)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/tightvnc/ChangeLog | 11 | ||||
-rw-r--r-- | net-misc/tightvnc/files/digest-tightvnc-1.3.8-r1 | 3 | ||||
-rw-r--r-- | net-misc/tightvnc/files/server-CVE-2007-1003.patch (renamed from net-misc/tightvnc/files/tightvnc-1.2.9-server-CVE-2007-1003.patch) | 0 | ||||
-rw-r--r-- | net-misc/tightvnc/files/server-CVE-2007-1351-1352.patch (renamed from net-misc/tightvnc/files/tightvnc-1.2.9-server-CVE-2007-1351-1352.patch) | 0 | ||||
-rw-r--r-- | net-misc/tightvnc/tightvnc-1.2.9-r4.ebuild | 6 | ||||
-rw-r--r-- | net-misc/tightvnc/tightvnc-1.3.8-r1.ebuild | 110 |
6 files changed, 126 insertions, 4 deletions
diff --git a/net-misc/tightvnc/ChangeLog b/net-misc/tightvnc/ChangeLog index 036caa8d68a9..b202de0a6470 100644 --- a/net-misc/tightvnc/ChangeLog +++ b/net-misc/tightvnc/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-misc/tightvnc # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.91 2007/04/11 21:02:23 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.92 2007/04/11 21:17:04 armin76 Exp $ + +*tightvnc-1.3.8-r1 (11 Apr 2007) + + 11 Apr 2007; Raúl Porcel <armin76@gentoo.org> + -files/tightvnc-1.2.9-server-CVE-2007-1003.patch, + -files/tightvnc-1.2.9-server-CVE-2007-1351-1352.patch, + +files/server-CVE-2007-1003.patch, +files/server-CVE-2007-1351-1352.patch, + tightvnc-1.2.9-r4.ebuild, +tightvnc-1.3.8-r1.ebuild: + 1.3.8 is affected by that security bug too 11 Apr 2007; Markus Ullmann <jokey@gentoo.org> tightvnc-1.2.9-r4.ebuild: Stable on x86 wrt security bug #174200 diff --git a/net-misc/tightvnc/files/digest-tightvnc-1.3.8-r1 b/net-misc/tightvnc/files/digest-tightvnc-1.3.8-r1 new file mode 100644 index 000000000000..bc139c537f55 --- /dev/null +++ b/net-misc/tightvnc/files/digest-tightvnc-1.3.8-r1 @@ -0,0 +1,3 @@ +MD5 9b9b0465834289d1b7899982c0096440 tightvnc-1.3.8_unixsrc.tar.bz2 1766473 +RMD160 98013a7074c488d1cfc85ea2d7a9665a05ee2431 tightvnc-1.3.8_unixsrc.tar.bz2 1766473 +SHA256 cd76e1c5c6843fec2a7a5c493158cdb3642eb1ef4caecee7a89bfd2078881178 tightvnc-1.3.8_unixsrc.tar.bz2 1766473 diff --git a/net-misc/tightvnc/files/tightvnc-1.2.9-server-CVE-2007-1003.patch b/net-misc/tightvnc/files/server-CVE-2007-1003.patch index 0f97c11dc4dc..0f97c11dc4dc 100644 --- a/net-misc/tightvnc/files/tightvnc-1.2.9-server-CVE-2007-1003.patch +++ b/net-misc/tightvnc/files/server-CVE-2007-1003.patch diff --git a/net-misc/tightvnc/files/tightvnc-1.2.9-server-CVE-2007-1351-1352.patch b/net-misc/tightvnc/files/server-CVE-2007-1351-1352.patch index 4c9a1adcb2fd..4c9a1adcb2fd 100644 --- a/net-misc/tightvnc/files/tightvnc-1.2.9-server-CVE-2007-1351-1352.patch +++ b/net-misc/tightvnc/files/server-CVE-2007-1351-1352.patch diff --git a/net-misc/tightvnc/tightvnc-1.2.9-r4.ebuild b/net-misc/tightvnc/tightvnc-1.2.9-r4.ebuild index 9b957dc25c12..f59bba714641 100644 --- a/net-misc/tightvnc/tightvnc-1.2.9-r4.ebuild +++ b/net-misc/tightvnc/tightvnc-1.2.9-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.2.9-r4.ebuild,v 1.2 2007/04/11 21:02:23 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.2.9-r4.ebuild,v 1.3 2007/04/11 21:17:04 armin76 Exp $ inherit eutils toolchain-funcs @@ -63,8 +63,8 @@ src_unpack() { epatch "${FILESDIR}/${P}-amd64.patch" epatch "${FILESDIR}/${PN}-ppcsparc-server.patch" epatch "${FILESDIR}/${P}-pathfixes.patch" # fixes bug 78385 and 146099 - epatch "${FILESDIR}"/${P}-server-CVE-2007-1003.patch - epatch "${FILESDIR}"/${P}-server-CVE-2007-1351-1352.patch + epatch "${FILESDIR}"/server-CVE-2007-1003.patch + epatch "${FILESDIR}"/server-CVE-2007-1351-1352.patch } src_compile() { diff --git a/net-misc/tightvnc/tightvnc-1.3.8-r1.ebuild b/net-misc/tightvnc/tightvnc-1.3.8-r1.ebuild new file mode 100644 index 000000000000..db799364de69 --- /dev/null +++ b/net-misc/tightvnc/tightvnc-1.3.8-r1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.3.8-r1.ebuild,v 1.1 2007/04/11 21:17:04 armin76 Exp $ + +inherit eutils toolchain-funcs + +IUSE="java tcpd server" + +S="${WORKDIR}/vnc_unixsrc" +DESCRIPTION="A great client/server software package allowing remote network access to graphical desktops." +SRC_URI="mirror://sourceforge/vnc-tight/${P}_unixsrc.tar.bz2" +HOMEPAGE="http://www.tightvnc.com/" + +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc-macos ~sparc ~x86" +LICENSE="GPL-2" +SLOT="0" + +DEPEND="x11-libs/libX11 + x11-libs/libXaw + x11-libs/libXmu + x11-libs/libXp + x11-libs/libXt + x11-proto/xextproto + x11-proto/xproto + server? ( + x11-proto/inputproto + x11-proto/kbproto + x11-proto/printproto + ) + >=x11-misc/imake-1 + x11-misc/gccmakedep + ~media-libs/jpeg-6b + tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 ) + !net-misc/vnc" + +RDEPEND="${DEPEND} + server? ( + media-fonts/font-misc-misc + media-fonts/font-cursor-misc + x11-apps/rgb + x11-apps/xauth + x11-apps/xsetroot + ) + java? ( || ( >=virtual/jdk-1.3.1 >=virtual/jre-1.3.1 ) )" + +src_unpack() { + + if ! use server; + then + echo + einfo "The 'server' USE flag will build tightvnc's server." + einfo "If '-server' is chosen only the client is built to save space." + einfo "Stop the build now if you need to add 'server' to USE flags.\n" + ebeep + epause 5 + fi + + unpack ${A} && cd ${S} + epatch "${FILESDIR}/${P}-pathfixes.patch" # fixes bug 78385 and 146099 + epatch "${FILESDIR}/${P}-imake-tmpdir.patch" # fixes bug 23483 + epatch "${FILESDIR}/${P}-darwin.patch" # fixes bug 89908 + use amd64 && epatch "${FILESDIR}/${P}-amd64.patch" # fixes bug 82583 + use mips && epatch "${FILESDIR}/${P}-mips.patch" + epatch "${FILESDIR}"/server-CVE-2007-1003.patch + epatch "${FILESDIR}"/server-CVE-2007-1351-1352.patch + +} + +src_compile() { + xmkmf -a || die "xmkmf failed" + + make CDEBUGFLAGS="${CFLAGS}" World || die + + if use server; then + cd Xvnc && ./configure || die "Configure failed." + if use tcpd; then + local myextra="-lwrap" + use userland_Darwin || myextra="${myextra} -lnss_nis" + make EXTRA_LIBRARIES="${myextra}" \ + CDEBUGFLAGS="${CFLAGS}" \ + EXTRA_DEFINES="-DUSE_LIBWRAP=1" || die + else + make CDEBUGFLAGS="${CFLAGS}" || die + fi + fi + +} + +src_install() { + # the web based interface and the java viewer need the java class files + if use java; then + insinto /usr/share/tightvnc/classes + doins classes/* + fi + + dodir /usr/share/man/man1 /usr/bin + ./vncinstall ${D}/usr/bin ${D}/usr/share/man || die "vncinstall failed" + + if ! use server; then + rm -f ${D}/usr/bin/vncserver + rm -f ${D}/usr/share/man/man1/{Xvnc,vncserver}* + fi + + doicon ${FILESDIR}/vncviewer.png + make_desktop_entry vncviewer vncviewer vncviewer.png Network + + dodoc ChangeLog README WhatsNew + use java && dodoc ${FILESDIR}/README.JavaViewer + newdoc vncviewer/README README.vncviewer +} |