diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2003-08-07 12:38:08 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2003-08-07 12:38:08 +0000 |
commit | fa43504d99954c61486d844e25e345bc7b8c974f (patch) | |
tree | 885bfe97c0e170c6fb0f70b45783460d0b56a894 /net-misc/tightvnc | |
parent | version bump (diff) | |
download | gentoo-2-fa43504d99954c61486d844e25e345bc7b8c974f.tar.gz gentoo-2-fa43504d99954c61486d844e25e345bc7b8c974f.tar.bz2 gentoo-2-fa43504d99954c61486d844e25e345bc7b8c974f.zip |
version bump
Diffstat (limited to 'net-misc/tightvnc')
-rw-r--r-- | net-misc/tightvnc/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/tightvnc/Manifest | 4 | ||||
-rw-r--r-- | net-misc/tightvnc/files/digest-tightvnc-1.2.9 | 1 | ||||
-rw-r--r-- | net-misc/tightvnc/files/tightvnc-1.2.9-gentoo.diff | 18 | ||||
-rw-r--r-- | net-misc/tightvnc/files/tightvnc-1.2.9-gentoo.security.patch | 20 | ||||
-rw-r--r-- | net-misc/tightvnc/tightvnc-1.2.9.ebuild | 57 |
6 files changed, 104 insertions, 3 deletions
diff --git a/net-misc/tightvnc/ChangeLog b/net-misc/tightvnc/ChangeLog index 7307bb85e2a2..49886ccfb58d 100644 --- a/net-misc/tightvnc/ChangeLog +++ b/net-misc/tightvnc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/tightvnc # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.17 2003/06/12 21:53:50 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.18 2003/08/07 12:35:29 aliz Exp $ + +*tightvnc-1.2.9 (07 Aug 2003) + + 07 Aug 2003; Daniel Ahlberg <aliz@gentoo.org> tightvnc-1.2.9.ebuild : + Version bump. 12 Jun 2003; <msterret@gentoo.org> tightvnc-1.2.3-r2.ebuild: fix Header diff --git a/net-misc/tightvnc/Manifest b/net-misc/tightvnc/Manifest index ad889f79f379..54d7b9778aeb 100644 --- a/net-misc/tightvnc/Manifest +++ b/net-misc/tightvnc/Manifest @@ -1,8 +1,8 @@ -MD5 065cad97bea2b89aa93d65c525db3c4d ChangeLog 2698 +MD5 d246a793fb92f56f63c320fcb6007e46 ChangeLog 2814 MD5 6436cd0c83384349f6106e6150d72964 tightvnc-1.2.3-r2.ebuild 1230 MD5 f59a2d623ee3214e0abbf2038d657f26 tightvnc-1.2.6.ebuild 1330 MD5 9f519ce516df328671b33b051f6b7aa6 tightvnc-1.2.7.ebuild 1547 -MD5 0c852106e77be414635b7b37a4fe605c tightvnc-1.2.9.ebuild 1619 +MD5 779f29a2e3adf8b9246771e8d01e704f tightvnc-1.2.9.ebuild 1615 MD5 14f2ed2c266a192e0d114893816b1d42 tightvnc-1.2.8.ebuild 1615 MD5 68903d8d341d5f9a8d576dee0716f4b8 files/README.JavaViewer 18585 MD5 9138c55d41bebf73ee177ef75fee2cd1 files/digest-tightvnc-1.2.3-r2 76 diff --git a/net-misc/tightvnc/files/digest-tightvnc-1.2.9 b/net-misc/tightvnc/files/digest-tightvnc-1.2.9 new file mode 100644 index 000000000000..1900142fe09a --- /dev/null +++ b/net-misc/tightvnc/files/digest-tightvnc-1.2.9 @@ -0,0 +1 @@ +MD5 f804b26c098625e3a2675a0aa7709e31 tightvnc-1.2.9_unixsrc.tar.bz2 1738256 diff --git a/net-misc/tightvnc/files/tightvnc-1.2.9-gentoo.diff b/net-misc/tightvnc/files/tightvnc-1.2.9-gentoo.diff new file mode 100644 index 000000000000..508fd2effb0e --- /dev/null +++ b/net-misc/tightvnc/files/tightvnc-1.2.9-gentoo.diff @@ -0,0 +1,18 @@ +--- vncserver.orig 2002-12-20 01:56:58.000000000 +0100 ++++ vncserver 2002-12-20 01:58:05.000000000 +0100 +@@ -36,12 +36,12 @@ + $geometry = "1024x768"; + $depth = 24; + $desktopName = "X"; +-$vncClasses = "/usr/local/vnc/classes"; ++$vncClasses = "/usr/share/tightvnc/classes"; + $vncUserDir = "$ENV{HOME}/.vnc"; +-$fontPath = "unix/:7100"; ++# $fontPath = "unix/:7100"; + + # Here is another example of setting the font path: +-# $fontPath = "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/"; ++$fontPath = "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/"; + + # X colors database path is optional, uncomment and edit to use: + # $colorPath = "/usr/lib/X11/rgb"; diff --git a/net-misc/tightvnc/files/tightvnc-1.2.9-gentoo.security.patch b/net-misc/tightvnc/files/tightvnc-1.2.9-gentoo.security.patch new file mode 100644 index 000000000000..ab65aec892f9 --- /dev/null +++ b/net-misc/tightvnc/files/tightvnc-1.2.9-gentoo.security.patch @@ -0,0 +1,20 @@ +--- /tmp/vncserver 2003-02-21 17:29:45.000000000 +0000 ++++ vncserver 2003-02-21 17:30:10.000000000 +0000 +@@ -153,15 +153,8 @@ + $desktopLog = "$vncUserDir/$host:$displayNumber.log"; + unlink($desktopLog); + +-# Make an X server cookie - use as the seed the sum of the current time, our +-# PID and part of the encrypted form of the password. Ideally we'd use +-# /dev/urandom, but that's only available on Linux. +- +-srand(time+$$+unpack("L",`cat $vncUserDir/passwd`)); +-$cookie = ""; +-for (1..16) { +- $cookie .= sprintf("%02x", int(rand(256))); +-} ++# Make an X server cookie - use mcookie ++$cookie = `/usr/bin/mcookie`; + + system("xauth -f $xauthorityFile add $host:$displayNumber . $cookie"); + system("xauth -f $xauthorityFile add $host/unix:$displayNumber . $cookie"); diff --git a/net-misc/tightvnc/tightvnc-1.2.9.ebuild b/net-misc/tightvnc/tightvnc-1.2.9.ebuild new file mode 100644 index 000000000000..bb5c94f609c0 --- /dev/null +++ b/net-misc/tightvnc/tightvnc-1.2.9.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.2.9.ebuild,v 1.1 2003/08/07 12:35:29 aliz Exp $ + +inherit eutils + +IUSE="java tcpd" + +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="~x86 ~ppc ~sparc ~alpha" +LICENSE="GPL-2" +SLOT="0" + +DEPEND=">=x11-base/xfree-4.2.1 + ~media-libs/jpeg-6b + sys-libs/zlib + tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 ) + !net-misc/vnc" + +RDEPEND="${DEPEND} + dev-lang/perl + java? ( || ( >=virtual/jdk-1.3.1 >=virtual/jre-1.3.1 ) )" + +src_unpack() { + unpack ${A} && cd ${S} + epatch ${FILESDIR}/tightvnc-${PVR}-gentoo.diff + epatch ${FILESDIR}/${P}-gentoo.security.patch +} + +src_compile() { + xmkmf -a || die "xmkmf failed" + + make CDEBUGFLAGS="$CFLAGS" World || die "make World failed" + cd Xvnc && ./configure || die "Configure failed." + + if use tcpd; then + make EXTRA_LIBRARIES="-lwrap -lnss_nis" CDEBUGFLAGS="$CFLAGS" EXTRA_DEFINES="-DUSE_LIBWRAP=1" + else + make CDEBUGFLAGS="$CFLAGS" + fi +} + +src_install() { + # the web based interface and the java viewer need the java class files + insinto /usr/share/tightvnc/classes ; doins classes/* + + dodir /usr/share/man/man1 /usr/bin + ./vncinstall ${D}/usr/bin ${D}/usr/share/man || die "vncinstall failed" + + dodoc ChangeLog README WhatsNew + use java && dodoc ${FILESDIR}/README.JavaViewer + newdoc vncviewer/README README.vncviewer +} |