diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-11-11 15:52:41 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-11-11 15:52:41 +0000 |
commit | 580a6bcd9539a9f597a2040cc7a1fe866e59755d (patch) | |
tree | f283a124a86057d106d3dabe0db0f51cfd6a131a /net-misc/tightvnc | |
parent | old (diff) | |
download | historical-580a6bcd9539a9f597a2040cc7a1fe866e59755d.tar.gz historical-580a6bcd9539a9f597a2040cc7a1fe866e59755d.tar.bz2 historical-580a6bcd9539a9f597a2040cc7a1fe866e59755d.zip |
old
Package-Manager: portage-2.1.2_rc1-r5
Diffstat (limited to 'net-misc/tightvnc')
-rw-r--r-- | net-misc/tightvnc/Manifest | 34 | ||||
-rw-r--r-- | net-misc/tightvnc/files/digest-tightvnc-1.2.9-r1 | 3 | ||||
-rw-r--r-- | net-misc/tightvnc/files/digest-tightvnc-1.2.9-r2 | 3 | ||||
-rw-r--r-- | net-misc/tightvnc/files/tightvnc-1.2.9-gentoo-2.diff | 15 | ||||
-rw-r--r-- | net-misc/tightvnc/files/tightvnc-1.2.9-gentoo.diff | 18 | ||||
-rw-r--r-- | net-misc/tightvnc/files/vncserver-1.2.patch | 31 | ||||
-rw-r--r-- | net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild | 75 | ||||
-rw-r--r-- | net-misc/tightvnc/tightvnc-1.2.9-r2.ebuild | 77 |
8 files changed, 4 insertions, 252 deletions
diff --git a/net-misc/tightvnc/Manifest b/net-misc/tightvnc/Manifest index 2aff4d568f86..d81f4c54b1c1 100644 --- a/net-misc/tightvnc/Manifest +++ b/net-misc/tightvnc/Manifest @@ -10,14 +10,6 @@ AUX tightvnc-1.2.9-gcc34.patch 1540 RMD160 e5a305684eae3c6be90769c9263259903b2c8 MD5 70b94ceb3134edc412d70768b55661aa files/tightvnc-1.2.9-gcc34.patch 1540 RMD160 e5a305684eae3c6be90769c9263259903b2c841b files/tightvnc-1.2.9-gcc34.patch 1540 SHA256 fa766be66960bb1b399c36350afac98dcc81bba65f757b82ca86efe335e6d540 files/tightvnc-1.2.9-gcc34.patch 1540 -AUX tightvnc-1.2.9-gentoo-2.diff 670 RMD160 68eca1394efac98f2b92a56eee47376c6fd0f49f SHA1 889029adf1898c615d933500c57de7e94a85013e SHA256 3faa2af9513457a9481455181bf32815a2dde11bd204ac64e7fe079bacc9d358 -MD5 cdeb20cb8bf492b66a4da8f2f18915e3 files/tightvnc-1.2.9-gentoo-2.diff 670 -RMD160 68eca1394efac98f2b92a56eee47376c6fd0f49f files/tightvnc-1.2.9-gentoo-2.diff 670 -SHA256 3faa2af9513457a9481455181bf32815a2dde11bd204ac64e7fe079bacc9d358 files/tightvnc-1.2.9-gentoo-2.diff 670 -AUX tightvnc-1.2.9-gentoo.diff 653 RMD160 b9e37306b5513ac628360f0aa162c04c501ab67d SHA1 d5bf010a49aef01c43a1920b8a3c9ca336c673e4 SHA256 0371c06c07246acc1310851578d63512b88f3df5e98ae2f21ccc96ad4c806d39 -MD5 31639d1ccaa2c2a4e9dd869fd32f4602 files/tightvnc-1.2.9-gentoo.diff 653 -RMD160 b9e37306b5513ac628360f0aa162c04c501ab67d files/tightvnc-1.2.9-gentoo.diff 653 -SHA256 0371c06c07246acc1310851578d63512b88f3df5e98ae2f21ccc96ad4c806d39 files/tightvnc-1.2.9-gentoo.diff 653 AUX tightvnc-1.2.9-gentoo.security.patch 771 RMD160 929662e5b89870fa138438c145cda5936ed6e1a3 SHA1 46f6ba1931b43d7ff521809a642b65f5edc7db11 SHA256 1848e80e27dc2feae8d404fda99d5d609ecb0bc9b1262c6da40f6a2f6ab166ac MD5 57e1cd8ec91d0e8abbea5b267a6f1fb6 files/tightvnc-1.2.9-gentoo.security.patch 771 RMD160 929662e5b89870fa138438c145cda5936ed6e1a3 files/tightvnc-1.2.9-gentoo.security.patch 771 @@ -74,10 +66,6 @@ AUX tightvnc-ppcsparc-server.patch 785 RMD160 7544ad7b3339ad3da2bc5da7a2f43bfe52 MD5 edad6a34c89561a1a11e68781bc9fcfd files/tightvnc-ppcsparc-server.patch 785 RMD160 7544ad7b3339ad3da2bc5da7a2f43bfe52c2d9b0 files/tightvnc-ppcsparc-server.patch 785 SHA256 2b095cb4446b77fbf3d1dcb6e40d7cc9658dfd0ec46f4b217b4029dc6d776eeb files/tightvnc-ppcsparc-server.patch 785 -AUX vncserver-1.2.patch 1014 RMD160 3248f0cd4165085594953f47afc89bdc2a1c783e SHA1 85929ef1677fe21b9a62967e2a226a202dcbcba5 SHA256 0a13295dc1852a88d2fcc8114ef77172a760450a80b922be6e4d37015aabc671 -MD5 cd5476ec1b1d79d90e0462c92b9e0bec files/vncserver-1.2.patch 1014 -RMD160 3248f0cd4165085594953f47afc89bdc2a1c783e files/vncserver-1.2.patch 1014 -SHA256 0a13295dc1852a88d2fcc8114ef77172a760450a80b922be6e4d37015aabc671 files/vncserver-1.2.patch 1014 AUX vncserver-1.3.patch 581 RMD160 b6687d96b4aae170914e0284aa4203b047f2a80f SHA1 ec08ea9616fdd4f67493b23ff576de03fe4fc713 SHA256 b8016c3200f75f5bcffa117d353d68e2cc8a292d658e934e5b1e4a41b99c0218 MD5 f824dc5bfb30133fa706e7393400c2d2 files/vncserver-1.3.patch 581 RMD160 b6687d96b4aae170914e0284aa4203b047f2a80f files/vncserver-1.3.patch 581 @@ -89,14 +77,6 @@ SHA256 59c26911b19fe68e97bb02f981470004d195304d450dbd82e5dfc137c7d89c4c files/x8 DIST tightvnc-1.2.9_unixsrc.tar.bz2 1738256 RMD160 57c4d24bbc008b7188ae4bb177fbb409bc1d26d3 SHA1 62b55237676bbdc7f08771e6ff72c0f70264f4ee SHA256 c1ba77f832d6c81349f05219802c48b3435cfb6db88f496c9bb08b52b8405548 DIST tightvnc-1.3.8_unixsrc.tar.bz2 1766473 RMD160 98013a7074c488d1cfc85ea2d7a9665a05ee2431 SHA1 1c733cb8525c6259a9cb6b35ca5a82ba02eb725c SHA256 cd76e1c5c6843fec2a7a5c493158cdb3642eb1ef4caecee7a89bfd2078881178 DIST tightvnc-1.3dev7_unixsrc.tar.bz2 1764364 RMD160 348edffc87254392f8ebcd1e3cc14fffda8b33ba SHA1 7af9cf0c6b5e9dd7487429fc60f320ebdd2e097d SHA256 ed1eed5127e4d04f2cf81ee1d7aaf7cbf5201d80dcd0cf91a8a4ef77de4c6bdb -EBUILD tightvnc-1.2.9-r1.ebuild 2146 RMD160 ba4418e9662b7f52a9b08774572d451424cd35f0 SHA1 d691edd2c24c00b5a12f64bb2273d54f89385702 SHA256 ff9e3b6115b8b43f4adaee99904aff07fe1549e014b04e9a220901bae150fb94 -MD5 7fa234e5d9c5ba8d40110c5a72e8730a tightvnc-1.2.9-r1.ebuild 2146 -RMD160 ba4418e9662b7f52a9b08774572d451424cd35f0 tightvnc-1.2.9-r1.ebuild 2146 -SHA256 ff9e3b6115b8b43f4adaee99904aff07fe1549e014b04e9a220901bae150fb94 tightvnc-1.2.9-r1.ebuild 2146 -EBUILD tightvnc-1.2.9-r2.ebuild 2232 RMD160 7d9e5c6c27bd559f09ada02fc347923b42096fea SHA1 6f6da0d407cf71dbf73da27d023063e175da673f SHA256 b7d520cf2b82377b88e69e9fa279f80be3352ef6d9b09b03fe214d660ba8b86c -MD5 a688bc63b1ba2e061deadab08aff60f1 tightvnc-1.2.9-r2.ebuild 2232 -RMD160 7d9e5c6c27bd559f09ada02fc347923b42096fea tightvnc-1.2.9-r2.ebuild 2232 -SHA256 b7d520cf2b82377b88e69e9fa279f80be3352ef6d9b09b03fe214d660ba8b86c tightvnc-1.2.9-r2.ebuild 2232 EBUILD tightvnc-1.2.9-r3.ebuild 2752 RMD160 f1052c754f86a25cb550436361f670b999fe0989 SHA1 28ead7203bbb650a38ad69572e406258e03b35fa SHA256 749d0aca5d95afcca74b0958d6ad1ab79a3e69b4fb50eb9b9b9f608e1c80b1f4 MD5 043aaae16f7560e059fcdff65e9400a6 tightvnc-1.2.9-r3.ebuild 2752 RMD160 f1052c754f86a25cb550436361f670b999fe0989 tightvnc-1.2.9-r3.ebuild 2752 @@ -109,20 +89,14 @@ EBUILD tightvnc-1.3_alpha7.ebuild 2633 RMD160 68c4415cdbf8f0e21975ec7882b62daab6 MD5 316d7d331a4aba48e2f3beb0900ca3de tightvnc-1.3_alpha7.ebuild 2633 RMD160 68c4415cdbf8f0e21975ec7882b62daab6660bd1 tightvnc-1.3_alpha7.ebuild 2633 SHA256 11b8ae99e0d080bca1e87e1fe3f0c708dc887d90c86091cfb64d3a724ca94993 tightvnc-1.3_alpha7.ebuild 2633 -MISC ChangeLog 12102 RMD160 a508a01ed64f87e95826626dca620754f4f8bd2b SHA1 05ab183e787fe06cf1061d37190a7b66d423f1c2 SHA256 78253f1cd7983c43d258544a2762bcd915facbecb6e20ce8df23a49feadea085 -MD5 1980ab804bed1e8f04f5f72b328d3756 ChangeLog 12102 -RMD160 a508a01ed64f87e95826626dca620754f4f8bd2b ChangeLog 12102 -SHA256 78253f1cd7983c43d258544a2762bcd915facbecb6e20ce8df23a49feadea085 ChangeLog 12102 +MISC ChangeLog 12324 RMD160 d23326d2c2964875afd20825e95619f6e3f596a6 SHA1 973757837175df282b48ed51968292cb251e1a1f SHA256 6b2734420675dfb3f57cffc7c00ea16f1f1cd9484c7945c1db8767ca2cc7175f +MD5 273c736eda376b664608cf43aadf4a29 ChangeLog 12324 +RMD160 d23326d2c2964875afd20825e95619f6e3f596a6 ChangeLog 12324 +SHA256 6b2734420675dfb3f57cffc7c00ea16f1f1cd9484c7945c1db8767ca2cc7175f ChangeLog 12324 MISC metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 SHA1 d6147d00f16e8cfeef893d0764b0675a93d62849 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 metadata.xml 160 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e metadata.xml 160 -MD5 31a483eed14190f8cd911b0d05521431 files/digest-tightvnc-1.2.9-r1 274 -RMD160 c998a7ff40fb44c186f7089d877a68b8e33a4a06 files/digest-tightvnc-1.2.9-r1 274 -SHA256 c7b13ad35c4b2e2bde6a2fcb01b6ad276384a265613a35ee739c2a3f0c2e3ea3 files/digest-tightvnc-1.2.9-r1 274 -MD5 31a483eed14190f8cd911b0d05521431 files/digest-tightvnc-1.2.9-r2 274 -RMD160 c998a7ff40fb44c186f7089d877a68b8e33a4a06 files/digest-tightvnc-1.2.9-r2 274 -SHA256 c7b13ad35c4b2e2bde6a2fcb01b6ad276384a265613a35ee739c2a3f0c2e3ea3 files/digest-tightvnc-1.2.9-r2 274 MD5 31a483eed14190f8cd911b0d05521431 files/digest-tightvnc-1.2.9-r3 274 RMD160 c998a7ff40fb44c186f7089d877a68b8e33a4a06 files/digest-tightvnc-1.2.9-r3 274 SHA256 c7b13ad35c4b2e2bde6a2fcb01b6ad276384a265613a35ee739c2a3f0c2e3ea3 files/digest-tightvnc-1.2.9-r3 274 diff --git a/net-misc/tightvnc/files/digest-tightvnc-1.2.9-r1 b/net-misc/tightvnc/files/digest-tightvnc-1.2.9-r1 deleted file mode 100644 index d72709d4f9b6..000000000000 --- a/net-misc/tightvnc/files/digest-tightvnc-1.2.9-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f804b26c098625e3a2675a0aa7709e31 tightvnc-1.2.9_unixsrc.tar.bz2 1738256 -RMD160 57c4d24bbc008b7188ae4bb177fbb409bc1d26d3 tightvnc-1.2.9_unixsrc.tar.bz2 1738256 -SHA256 c1ba77f832d6c81349f05219802c48b3435cfb6db88f496c9bb08b52b8405548 tightvnc-1.2.9_unixsrc.tar.bz2 1738256 diff --git a/net-misc/tightvnc/files/digest-tightvnc-1.2.9-r2 b/net-misc/tightvnc/files/digest-tightvnc-1.2.9-r2 deleted file mode 100644 index d72709d4f9b6..000000000000 --- a/net-misc/tightvnc/files/digest-tightvnc-1.2.9-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f804b26c098625e3a2675a0aa7709e31 tightvnc-1.2.9_unixsrc.tar.bz2 1738256 -RMD160 57c4d24bbc008b7188ae4bb177fbb409bc1d26d3 tightvnc-1.2.9_unixsrc.tar.bz2 1738256 -SHA256 c1ba77f832d6c81349f05219802c48b3435cfb6db88f496c9bb08b52b8405548 tightvnc-1.2.9_unixsrc.tar.bz2 1738256 diff --git a/net-misc/tightvnc/files/tightvnc-1.2.9-gentoo-2.diff b/net-misc/tightvnc/files/tightvnc-1.2.9-gentoo-2.diff deleted file mode 100644 index c19b1611b89a..000000000000 --- a/net-misc/tightvnc/files/tightvnc-1.2.9-gentoo-2.diff +++ /dev/null @@ -1,15 +0,0 @@ ---- vncserver.ori 2006-07-22 19:21:09.000000000 +0100 -+++ vncserver 2006-07-22 19:25:56.000000000 +0100 -@@ -41,10 +41,10 @@ - $fontPath = "unix/:-1"; - - # Here is another example of setting the font path: --$fontPath = "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/"; -+$fontPath = "/usr/share/fonts/misc/,/usr/share/fonts/75dpi/,/usr/share/fonts/100dpi/,/usr/share/fonts/corefonts/"; - - # X colors database path is optional, uncomment and edit to use: --# $colorPath = "/usr/lib/X11/rgb"; -+$colorPath = "/usr/share/X11/rgb"; - - # You might wish to make your vnc directory under /tmp, to make sure - # passwords are always kept on the local filesystem. To do that, just diff --git a/net-misc/tightvnc/files/tightvnc-1.2.9-gentoo.diff b/net-misc/tightvnc/files/tightvnc-1.2.9-gentoo.diff deleted file mode 100644 index 25dd2ce6c9c7..000000000000 --- a/net-misc/tightvnc/files/tightvnc-1.2.9-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/:-1"; - - # 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/vncserver-1.2.patch b/net-misc/tightvnc/files/vncserver-1.2.patch deleted file mode 100644 index ca3d413f7640..000000000000 --- a/net-misc/tightvnc/files/vncserver-1.2.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- vncserver 2006-04-01 19:31:45.000000000 +0200 -+++ vncserver 2006-04-01 19:36:09.000000000 +0200 -@@ -36,14 +36,26 @@ - $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/:-1"; - $authType = "-rfbauth $vncUserDir/passwd"; - - # Here is another example of setting the font path: - # $fontPath = "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/"; - -+# This Gentoo extension here grabs the font path configuration from x.org -+# See also http://bugs.gentoo.org/127001 -+if (-r "/etc/X11/xorg.conf") { -+ open XCONF, "/etc/X11/xorg.conf" or die "error opening xorg.conf"; -+ @fontPath=(); -+ while (<XCONF>) { -+ push @fontPath, /^\s+FontPath\s+"([^"]+)"/; -+ } -+ $fontPath = join (",", grep { ! /TTF/ } @fontPath); -+ close XCONF; -+} -+ - # X colors database path is optional, uncomment and edit to use: - # $colorPath = "/usr/lib/X11/rgb"; - diff --git a/net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild b/net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild deleted file mode 100644 index fca9262dae20..000000000000 --- a/net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# 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.18 2006/04/23 22:09:10 morfic Exp $ - -inherit eutils toolchain-funcs - -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 amd64" -LICENSE="GPL-2" -SLOT="0" - -DEPEND="|| ( ( x11-libs/libXaw - x11-proto/xextproto - >=x11-misc/imake-1 - x11-misc/gccmakedep - app-text/rman - x11-libs/libXp - x11-proto/inputproto - x11-proto/kbproto - x11-proto/printproto - x11-proto/scrnsaverproto - ) - 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}/${P}-gentoo.diff - epatch ${FILESDIR}/${P}-gentoo.security.patch - epatch ${FILESDIR}/${P}-imake-tmpdir.patch - [[ "$(gcc-version)" == "3.4" ]] || [[ "$(gcc-major-version)" == "4" ]] && epatch ${FILESDIR}/${P}-gcc34.patch - epatch ${FILESDIR}/x86.patch - epatch ${FILESDIR}/${P}-amd64.patch -} - -src_compile() { - local CDEBUGFLAGS="${CFLAGS}" - - xmkmf -a || die "xmkmf failed" - - make CDEBUGFLAGS="${CDEBUGFLAGS}" World || die "make World failed" - cd Xvnc && ./configure || die "Configure failed." - - if use tcpd; then - make EXTRA_LIBRARIES="-lwrap -lnss_nis" CDEBUGFLAGS="${CDEBUGFLAGS}" EXTRA_DEFINES="-DUSE_LIBWRAP=1" - else - make CDEBUGFLAGS="${CDEBUGFLAGS}" - 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-r2.ebuild b/net-misc/tightvnc/tightvnc-1.2.9-r2.ebuild deleted file mode 100644 index 25d4ca43310b..000000000000 --- a/net-misc/tightvnc/tightvnc-1.2.9-r2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# 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-r2.ebuild,v 1.5 2006/08/09 18:48:23 tcort Exp $ - -inherit eutils toolchain-funcs - -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="~alpha amd64 ppc sparc x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND="|| ( ( x11-libs/libXaw - x11-proto/xextproto - >=x11-misc/imake-1 - x11-misc/gccmakedep - app-text/rman - x11-libs/libXp - x11-proto/inputproto - x11-proto/kbproto - x11-proto/printproto - x11-proto/scrnsaverproto - ) - 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}/${P}-gentoo.diff - epatch ${FILESDIR}/${P}-gentoo.security.patch - epatch ${FILESDIR}/${P}-imake-tmpdir.patch - [[ "$(gcc-version)" == "3.4" ]] || [[ "$(gcc-major-version)" == "4" ]] && epatch ${FILESDIR}/${P}-gcc34.patch - epatch ${FILESDIR}/x86.patch - epatch ${FILESDIR}/${P}-amd64.patch - epatch ${FILESDIR}/${P}-gentoo-2.diff - epatch ${FILESDIR}/${PN}-ppcsparc-server.patch -} - -src_compile() { - local CDEBUGFLAGS="${CFLAGS}" - - xmkmf -a || die "xmkmf failed" - - make CDEBUGFLAGS="${CDEBUGFLAGS}" World || die "make World failed" - cd Xvnc && ./configure || die "Configure failed." - - if use tcpd; then - make EXTRA_LIBRARIES="-lwrap -lnss_nis" CDEBUGFLAGS="${CDEBUGFLAGS}" EXTRA_DEFINES="-DUSE_LIBWRAP=1" - else - make CDEBUGFLAGS="${CDEBUGFLAGS}" - 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 -} |