summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Goller <morfic@gentoo.org>2006-02-14 00:34:18 +0000
committerDaniel Goller <morfic@gentoo.org>2006-02-14 00:34:18 +0000
commit358902ce735ba9776a62e6fe4711ebff9969682a (patch)
tree5cabc972ba570f20cf4bc214d737f4d5f7c46594 /net-misc/tightvnc
parentforce newer version of gstreamer #122664 by BRUNEL Maxime (diff)
downloadhistorical-358902ce735ba9776a62e6fe4711ebff9969682a.tar.gz
historical-358902ce735ba9776a62e6fe4711ebff9969682a.tar.bz2
historical-358902ce735ba9776a62e6fe4711ebff9969682a.zip
Making gcc patch conditional + cleanup of old versions
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'net-misc/tightvnc')
-rw-r--r--net-misc/tightvnc/ChangeLog11
-rw-r--r--net-misc/tightvnc/Manifest14
-rw-r--r--net-misc/tightvnc/files/digest-tightvnc-1.2.81
-rw-r--r--net-misc/tightvnc/files/tightvnc-1.2.8-gentoo.diff18
-rw-r--r--net-misc/tightvnc/files/tightvnc-1.2.8-gentoo.security.patch20
-rw-r--r--net-misc/tightvnc/tightvnc-1.2.8.ebuild57
-rw-r--r--net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild6
7 files changed, 18 insertions, 109 deletions
diff --git a/net-misc/tightvnc/ChangeLog b/net-misc/tightvnc/ChangeLog
index 38580f24d9d7..e2d5b7965f8f 100644
--- a/net-misc/tightvnc/ChangeLog
+++ b/net-misc/tightvnc/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-misc/tightvnc
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.64 2006/02/11 22:47:38 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.65 2006/02/14 00:34:18 morfic Exp $
+
+ 14 Feb 2006; Daniel Goller <morfic@gentoo.org>
+ -files/tightvnc-1.2.8-gentoo.diff,
+ -files/tightvnc-1.2.8-gentoo.security.patch, -tightvnc-1.2.8.ebuild,
+ tightvnc-1.2.9-r1.ebuild:
+ Also cleanup of old version
+
+ 14 Feb 2006; Daniel Goller <morfic@gentoo.org> tightvnc-1.2.9-r1.ebuild:
+ Making gcc patch conditional
11 Feb 2006; Daniel Goller <morfic@gentoo.org>
+files/tightvnc-1.2.9-amd64.patch, +files/tightvnc-1.2.9-gcc34.patch,
diff --git a/net-misc/tightvnc/Manifest b/net-misc/tightvnc/Manifest
index cd0132f5c2b7..a344c486e1d0 100644
--- a/net-misc/tightvnc/Manifest
+++ b/net-misc/tightvnc/Manifest
@@ -1,13 +1,10 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 0be64a8cf51617a68614273ce02f4914 ChangeLog 9047
+MD5 6a21f3e5fe52f114ec7e5d2275aa9539 ChangeLog 9370
MD5 68903d8d341d5f9a8d576dee0716f4b8 files/README.JavaViewer 18585
-MD5 11be6d47e594297c9a92c56056df2f73 files/digest-tightvnc-1.2.8 76
MD5 db5ea3a3551303c5cd4362c657ba3a08 files/digest-tightvnc-1.2.9-r1 76
MD5 e972798c3780581c31b4c0a4b35dfbb6 files/digest-tightvnc-1.3_alpha7 78
-MD5 eb14fedcc3608a1384ef1cba6dbbf103 files/tightvnc-1.2.8-gentoo.diff 657
-MD5 57e1cd8ec91d0e8abbea5b267a6f1fb6 files/tightvnc-1.2.8-gentoo.security.patch 771
MD5 7f0dcab7d01dfc820fabe9a79872085c files/tightvnc-1.2.9-amd64.patch 5874
MD5 70b94ceb3134edc412d70768b55661aa files/tightvnc-1.2.9-gcc34.patch 1540
MD5 31639d1ccaa2c2a4e9dd869fd32f4602 files/tightvnc-1.2.9-gentoo.diff 653
@@ -20,13 +17,12 @@ MD5 57e1cd8ec91d0e8abbea5b267a6f1fb6 files/tightvnc-1.3_alpha7-gentoo.security.p
MD5 b801cfcb63f9c7c9299dd4919ba332b9 files/tightvnc-1.3_alpha7-imake-tmpdir.patch 956
MD5 1ddf3e5ec0121aaca487686a7bb6dd55 files/x86.patch 1613
MD5 59a8848188e5992cbe142be7d6285ee5 metadata.xml 309
-MD5 ad61c2374702756a5341de9f1a63efda tightvnc-1.2.8.ebuild 1595
-MD5 2c77a8c7ea08c44bd57e7258ad3b04fb tightvnc-1.2.9-r1.ebuild 1792
+MD5 7c9be845bcfed030ce02af5ec744edd7 tightvnc-1.2.9-r1.ebuild 1882
MD5 ed9c7feb1ba516c6dced31eae3b2b0bc tightvnc-1.3_alpha7.ebuild 2576
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFD7nmU/aM9DdBw91cRAmGrAJ4tiHM3FGtdMQ0XRSrzNOKXixvZ+gCeLYpu
-7d+lMBtDHQAB6/M9C5UWbcU=
-=kd12
+iD8DBQFD8SVT/aM9DdBw91cRAnsZAJ96ukKjKh8/dMm0CBupBCrWihyM4gCgtlvV
+EPrry79ruXMRMK8uIesNx9g=
+=1V+a
-----END PGP SIGNATURE-----
diff --git a/net-misc/tightvnc/files/digest-tightvnc-1.2.8 b/net-misc/tightvnc/files/digest-tightvnc-1.2.8
deleted file mode 100644
index 896013713fcb..000000000000
--- a/net-misc/tightvnc/files/digest-tightvnc-1.2.8
+++ /dev/null
@@ -1 +0,0 @@
-MD5 444e697449259308ef6d27078dfe451d tightvnc-1.2.8_unixsrc.tar.bz2 1733425
diff --git a/net-misc/tightvnc/files/tightvnc-1.2.8-gentoo.diff b/net-misc/tightvnc/files/tightvnc-1.2.8-gentoo.diff
deleted file mode 100644
index 508fd2effb0e..000000000000
--- a/net-misc/tightvnc/files/tightvnc-1.2.8-gentoo.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- 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.8-gentoo.security.patch b/net-misc/tightvnc/files/tightvnc-1.2.8-gentoo.security.patch
deleted file mode 100644
index ab65aec892f9..000000000000
--- a/net-misc/tightvnc/files/tightvnc-1.2.8-gentoo.security.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- /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.8.ebuild b/net-misc/tightvnc/tightvnc-1.2.8.ebuild
deleted file mode 100644
index d65c9a1027eb..000000000000
--- a/net-misc/tightvnc/tightvnc-1.2.8.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.2.8.ebuild,v 1.9 2004/10/03 07:00:41 spyderous 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="virtual/x11
- ~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
-}
diff --git a/net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild b/net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild
index 9fc2384862d4..0a4a403a3a31 100644
--- a/net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild
+++ b/net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 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-r1.ebuild,v 1.15 2006/02/11 22:47:38 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild,v 1.16 2006/02/14 00:34:18 morfic Exp $
-inherit eutils
+inherit eutils toolchain-funcs
IUSE="java tcpd"
@@ -30,7 +30,7 @@ src_unpack() {
epatch ${FILESDIR}/${P}-gentoo.diff
epatch ${FILESDIR}/${P}-gentoo.security.patch
epatch ${FILESDIR}/${P}-imake-tmpdir.patch
- epatch ${FILESDIR}/${P}-gcc34.patch
+ [[ "$(gcc-version)" == "3.4" ]] || [[ "$(gcc-major-version)" == "4" ]] && epatch ${FILESDIR}/${P}-gcc34.patch
epatch ${FILESDIR}/x86.patch
epatch ${FILESDIR}/${P}-amd64.patch
}