summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-09 04:47:13 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-09 04:47:13 +0000
commit6683ffe36541173b07547bab2c6c36447f820bac (patch)
tree6283136e7c0309c2a1f9c91c33783d3e9e54d48a /net-misc/ssvnc
parentAdd ~x86-fbsd #393181 (diff)
downloadgentoo-2-6683ffe36541173b07547bab2c6c36447f820bac.tar.gz
gentoo-2-6683ffe36541173b07547bab2c6c36447f820bac.tar.bz2
gentoo-2-6683ffe36541173b07547bab2c6c36447f820bac.zip
Version bump.
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/ssvnc')
-rw-r--r--net-misc/ssvnc/ChangeLog8
-rw-r--r--net-misc/ssvnc/files/ssvnc-1.0.29-build.patch44
-rw-r--r--net-misc/ssvnc/ssvnc-1.0.29.ebuild62
3 files changed, 113 insertions, 1 deletions
diff --git a/net-misc/ssvnc/ChangeLog b/net-misc/ssvnc/ChangeLog
index 5ab5176140bc..1edcb4974e4b 100644
--- a/net-misc/ssvnc/ChangeLog
+++ b/net-misc/ssvnc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/ssvnc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ssvnc/ChangeLog,v 1.21 2011/07/29 08:07:49 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ssvnc/ChangeLog,v 1.22 2011/12/09 04:47:13 vapier Exp $
+
+*ssvnc-1.0.29 (09 Dec 2011)
+
+ 09 Dec 2011; Mike Frysinger <vapier@gentoo.org> +ssvnc-1.0.29.ebuild,
+ +files/ssvnc-1.0.29-build.patch:
+ Version bump.
29 Jul 2011; Zac Medico <zmedico@gentoo.org> ssvnc-1.0.28.ebuild:
Add ~x86-linux keyword.
diff --git a/net-misc/ssvnc/files/ssvnc-1.0.29-build.patch b/net-misc/ssvnc/files/ssvnc-1.0.29-build.patch
new file mode 100644
index 000000000000..8d2db6f5cc7f
--- /dev/null
+++ b/net-misc/ssvnc/files/ssvnc-1.0.29-build.patch
@@ -0,0 +1,44 @@
+--- a/Makefile
++++ b/Makefile
+@@ -21,11 +21,11 @@
+
+ # N.B. ?= is gnu make specific. Some of the subdir Makefiles are too.
+ #
+-PREFIX ?= /usr/local
+-ROOT ?=
++PREFIX = /usr
++ROOT = $(DESTDIR)
+ BIN = bin
+ LIB = lib/ssvnc
+ MAN = man
+-MANDIR ?= $(MAN)
++MANDIR = share/$(MAN)
+ APPS ?= share/applications
+ BINNAME ?= ssvncviewer
+@@ -66,7 +66,6 @@
+
+ install: all
+ mkdir -p $(ROOT)$(PREFIX)/$(BIN) $(ROOT)$(PREFIX)/$(LIB) $(ROOT)$(PREFIX)/$(MANDIR)/man1
+- strip $(VIEWER)
+ cp -p $(VIEWER) $(ROOT)$(PREFIX)/$(LIB)
+ cp -p $(VNCSPW) $(ROOT)$(PREFIX)/$(LIB)
+ cp -p $(UNWRAP) $(ROOT)$(PREFIX)/$(LIB)
+--- a/vncstorepw/Makefile
++++ b/vncstorepw/Makefile
+@@ -14,7 +14,6 @@
+
+ $(CMD): vncauth.o vncstorepw.o d3des.o
+ PATH=$$PATH:$(EPATH) $(CC) -o $(CMD) vncstorepw.o vncauth.o d3des.o
+- PATH=$$PATH:$(EPATH) strip $(CMD)
+ @ls -l $(CMD)
+
+ $(UNWRAP): unwrap.c
+@@ -41,7 +40,6 @@
+ else \
+ PATH=$$PATH:$(EPATH) $(CC) -o $(ULTDSM) $(CPP_SSL) ultravnc_dsm_helper.c $(LD_SSL) -lcrypto; \
+ fi
+- PATH=$$PATH:$(EPATH) strip $(ULTDSM)
+ @ls -l $(ULTDSM)
+
+ test: $(CMD)
+
diff --git a/net-misc/ssvnc/ssvnc-1.0.29.ebuild b/net-misc/ssvnc/ssvnc-1.0.29.ebuild
new file mode 100644
index 000000000000..25308ec2871a
--- /dev/null
+++ b/net-misc/ssvnc/ssvnc-1.0.29.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ssvnc/ssvnc-1.0.29.ebuild,v 1.1 2011/12/09 04:47:13 vapier Exp $
+
+EAPI="3"
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="VNC viewer that adds encryption security to VNC connections"
+HOMEPAGE="http://www.karlrunge.com/x11vnc/ssvnc.html"
+SRC_URI="mirror://sourceforge/ssvnc/${P}.src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-linux"
+IUSE="java"
+
+RDEPEND="sys-libs/zlib
+ virtual/jpeg
+ dev-libs/openssl
+ dev-lang/tk
+ net-misc/stunnel
+ java? ( virtual/jre )
+ x11-terms/xterm
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXaw
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXp
+ x11-libs/libXpm
+ x11-libs/libXt"
+DEPEND="${RDEPEND}
+ java? ( virtual/jdk )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.0.29-build.patch
+
+ sed -i \
+ -e "/^LIB/s:lib/:$(get_libdir)/:" \
+ -e "$(use java || echo '/^JSRC/s:=.*:=:')" \
+ Makefile
+ sed -i \
+ -e '/^CC/s:=.*:+= $(CFLAGS) $(CPPFLAGS) $(LDFLAGS):' \
+ vncstorepw/Makefile
+
+ cp "${FILESDIR}"/Makefile.libvncauth vnc_unixsrc/libvncauth/Makefile
+ cd "${S}"/vnc_unixsrc/vncviewer
+ sed -n '/^SRCS/,/^$/p' Imakefile > Makefile.in
+ cp "${FILESDIR}"/Makefile.vncviewer Makefile
+}
+
+src_compile() {
+ tc-export AR CC CXX RANLIB
+ emake all || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install || die
+ dodoc README
+}