summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/freerdp')
-rw-r--r--net-misc/freerdp/ChangeLog12
-rw-r--r--net-misc/freerdp/freerdp-0.8.2.ebuild89
-rw-r--r--net-misc/freerdp/freerdp-9999.ebuild92
-rw-r--r--net-misc/freerdp/metadata.xml21
4 files changed, 214 insertions, 0 deletions
diff --git a/net-misc/freerdp/ChangeLog b/net-misc/freerdp/ChangeLog
new file mode 100644
index 000000000000..ce42c9021f38
--- /dev/null
+++ b/net-misc/freerdp/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for net-misc/freerdp
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/freerdp/ChangeLog,v 1.1 2011/01/21 18:06:13 hwoarang Exp $
+
+*freerdp-9999 (21 Jan 2011)
+*freerdp-0.8.2 (21 Jan 2011)
+
+ 21 Jan 2011; Markos Chandras <hwoarang@gentoo.org> +freerdp-0.8.2.ebuild,
+ +freerdp-9999.ebuild, +metadata.xml:
+ Moved from sunrise overlay. Thanks to Nils Andresen (nils)
+ <andresen.nils@googlemail.com> for the original ebuild. Bug #322967
+
diff --git a/net-misc/freerdp/freerdp-0.8.2.ebuild b/net-misc/freerdp/freerdp-0.8.2.ebuild
new file mode 100644
index 000000000000..1ad9bb3a12f3
--- /dev/null
+++ b/net-misc/freerdp/freerdp-0.8.2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/freerdp/freerdp-0.8.2.ebuild,v 1.1 2011/01/21 18:06:13 hwoarang Exp $
+
+EAPI=2
+WANT_AUTOMAKE="1.11"
+
+inherit base versionator
+
+DESCRIPTION="A Remote Desktop Protocol Client, forked from rdesktop"
+HOMEPAGE="http://www.freerdp.com/"
+SRC_URI="mirror://sourceforge/${PN}/$(get_version_component_range 1-2)/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa cups debug gnutls iconv ipv6 largefile libsamplerate nss polarssl \
+ssl X"
+
+DEPEND="
+ x11-libs/libX11
+ ssl? ( >=dev-libs/openssl-0.9.8a )
+ nss? ( dev-libs/nss )
+ gnutls? ( >=net-libs/gnutls-2.10.1 )
+ polarssl? ( >=net-libs/polarssl-0.14.0 )
+ alsa? ( media-libs/alsa-lib )
+ libsamplerate? ( media-libs/libsamplerate )
+ cups? ( net-print/cups )
+ iconv? ( virtual/libiconv )"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+pkg_setup() {
+ MY_CRYPTOBACKEND="simple"
+ if use polarssl; then
+ MY_CRYPTOBACKEND="polarssl"
+ fi
+ if use nss; then
+ if [[ "${MY_CRYPTOBACKEND}" != "simple" ]]; then
+ ewarn "You have enabled ${MY_CRYPTOBACKEND} and nss."
+ ewarn "Only one will be selected"
+ fi
+ MY_CRYPTOBACKEND="nss"
+ fi
+ if use gnutls; then
+ if [[ "${MY_CRYPTOBACKEND}" != "simple" ]]; then
+ ewarn "You have enabled ${MY_CRYPTOBACKEND} and gnutls."
+ ewarn "Only one will be selected"
+ fi
+ MY_CRYPTOBACKEND="gnutls"
+ fi
+ if use ssl; then
+ if [[ "${MY_CRYPTOBACKEND}" != "simple" ]]; then
+ ewarn "You have enabled ${MY_CRYPTOBACKEND} and openssl."
+ ewarn "Only one will be selected"
+ fi
+ MY_CRYPTOBACKEND="openssl"
+ fi
+
+ einfo "The selected crypto-backend is: ${MY_CRYPTOBACKEND}"
+
+ if ! use ssl; then
+ ewarn "You do not have OpenSSL as the crypto-backend,"
+ ewarn "TLS-connections will not be available."
+ ewarn "TLS-connectios currently need OpenSSL as crypto-backend."
+ fi
+}
+
+src_configure() {
+ # chipcard and directfb are configurable according to ./configure
+ # but they are currently not usable...
+ econf \
+ --with-crypto="${MY_CRYPTOBACKEND}" \
+ $(use_enable ssl tls) \
+ $(use_with debug) \
+ $(use_with debug debug-channel) \
+ $(use_with debug debug-kbd) \
+ $(use_with debug debug-rdp5) \
+ $(use_with debug debug-serial) \
+ $(use_with debug debug-sound) \
+ $(use_with alsa sound alsa) \
+ $(use_with cups printer cups) \
+ $(use_enable iconv) \
+ $(use_enable ipv6) \
+ $(use_enable largefile) \
+ $(use_with libsamplerate) \
+ $(use_with X x)
+}
diff --git a/net-misc/freerdp/freerdp-9999.ebuild b/net-misc/freerdp/freerdp-9999.ebuild
new file mode 100644
index 000000000000..02ddda17d0fa
--- /dev/null
+++ b/net-misc/freerdp/freerdp-9999.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/freerdp/freerdp-9999.ebuild,v 1.1 2011/01/21 18:06:13 hwoarang Exp $
+
+EAPI=2
+WANT_AUTOMAKE="1.11"
+EGIT_BOOTSTRAP="eautoreconf"
+
+inherit autotools base git
+
+EGIT_REPO_URI="git://${PN}.git.sourceforge.net/gitroot/${PN}/${PN}"
+
+DESCRIPTION="A Remote Desktop Protocol Client, forked from rdesktop"
+HOMEPAGE="http://www.freerdp.com/"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="alsa cups debug gnutls iconv ipv6 largefile libsamplerate nss polarssl \
+ssl X"
+
+DEPEND="
+ x11-libs/libX11
+ ssl? ( >=dev-libs/openssl-0.9.8a )
+ nss? ( dev-libs/nss )
+ gnutls? ( >=net-libs/gnutls-2.10.1 )
+ polarssl? ( >=net-libs/polarssl-0.14.0 )
+ alsa? ( media-libs/alsa-lib )
+ libsamplerate? ( media-libs/libsamplerate )
+ cups? ( net-print/cups )
+ iconv? ( virtual/libiconv )"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+pkg_setup() {
+ MY_CRYPTOBACKEND="simple"
+ if use polarssl; then
+ MY_CRYPTOBACKEND="polarssl"
+ fi
+ if use nss; then
+ if [[ "${MY_CRYPTOBACKEND}" != "simple" ]]; then
+ ewarn "You have enabled ${MY_CRYPTOBACKEND} and nss."
+ ewarn "Only one will be selected"
+ fi
+ MY_CRYPTOBACKEND="nss"
+ fi
+ if use gnutls; then
+ if [[ "${MY_CRYPTOBACKEND}" != "simple" ]]; then
+ ewarn "You have enabled ${MY_CRYPTOBACKEND} and gnutls."
+ ewarn "Only one will be selected"
+ fi
+ MY_CRYPTOBACKEND="gnutls"
+ fi
+ if use ssl; then
+ if [[ "${MY_CRYPTOBACKEND}" != "simple" ]]; then
+ ewarn "You have enabled ${MY_CRYPTOBACKEND} and openssl."
+ ewarn "Only one will be selected"
+ fi
+ MY_CRYPTOBACKEND="openssl"
+ fi
+
+ einfo "The selected crypto-backend is: ${MY_CRYPTOBACKEND}"
+
+ if ! use ssl; then
+ ewarn "You do not have OpenSSL as the crypto-backend,"
+ ewarn "TLS-connections will not be available."
+ ewarn "TLS-connectios currently need OpenSSL as crypto-backend."
+ fi
+}
+
+src_configure() {
+ # chipcard and directfb are configurable according to ./configure
+ # but they are currently not usable...
+ econf \
+ --with-crypto="${MY_CRYPTOBACKEND}" \
+ $(use_enable ssl tls) \
+ $(use_with debug) \
+ $(use_with debug debug-channel) \
+ $(use_with debug debug-kbd) \
+ $(use_with debug debug-rdp5) \
+ $(use_with debug debug-serial) \
+ $(use_with debug debug-sound) \
+ $(use_with alsa sound alsa) \
+ $(use_with cups printer cups) \
+ $(use_enable iconv) \
+ $(use_enable ipv6) \
+ $(use_enable largefile) \
+ $(use_with libsamplerate) \
+ $(use_with X x)
+}
diff --git a/net-misc/freerdp/metadata.xml b/net-misc/freerdp/metadata.xml
new file mode 100644
index 000000000000..96426415c660
--- /dev/null
+++ b/net-misc/freerdp/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>hwoarangd@gentoo.org</email>
+ <name>Markos Chandras</name>
+ </maintainer>
+ <longdescription>FreeRDP is a fork of the rdesktop project that intends to rapidly start moving forward and implement features that rdesktop lacks the most.</longdescription>
+<use>
+ <flag name='X'>Install also GUI client</flag>
+ <flag name='alsa'>Enable sound support (using alsa)</flag>
+ <flag name='cups'>Enable printing support (using cups)</flag>
+ <flag name='gnutls'>Use GnuTLS as crypto backend</flag>
+ <flag name='nss'>Use NSS as crypto backend</flag>
+ <flag name='ssl'>Use OpenSSL as crypto backend</flag>
+ <flag name='polarssl'>Use PolarSSL as crypto backend</flag>
+ <flag name='debug'>Enable all debugging options</flag>
+ <flag name='largefile'>Support for large files</flag>
+</use>
+</pkgmetadata>