summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Andresen (nils) <andresen.nils@googlemail.com>2010-10-24 18:55:20 +0000
committerNils Andresen (nils) <andresen.nils@googlemail.com>2010-10-24 18:55:20 +0000
commitf98e15b0ffc2cc079a1118addda74db3278c9b90 (patch)
treee89558a280eab17f0cfe470bd50e69e47b398caa /net-misc
parentprofiles/ package.mask: Remove dhash from package.mask. (diff)
downloadsunrise-f98e15b0ffc2cc079a1118addda74db3278c9b90.tar.gz
sunrise-f98e15b0ffc2cc079a1118addda74db3278c9b90.tar.bz2
sunrise-f98e15b0ffc2cc079a1118addda74db3278c9b90.zip
net-misc/freerdp: New ebuild for git-version, thanks to Tommy[D]
svn path=/sunrise/; revision=11476
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/freerdp/ChangeLog4
-rw-r--r--net-misc/freerdp/Manifest6
-rw-r--r--net-misc/freerdp/freerdp-9999.ebuild65
-rw-r--r--net-misc/freerdp/metadata.xml5
4 files changed, 67 insertions, 13 deletions
diff --git a/net-misc/freerdp/ChangeLog b/net-misc/freerdp/ChangeLog
index 691e2e352..ec890fb3d 100644
--- a/net-misc/freerdp/ChangeLog
+++ b/net-misc/freerdp/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 24 Oct 2010; Nils Andresen (nils.andresen) <andresen.nils@googlemail.com>
+ freerdp-9999.ebuild:
+ New ebuild for git-version, thanks to Tommy[D]
+
24 Aug 2010; Nils Andresen (nils.andresen) <andresen.nils@googlemail.com>
-freerdp-0.7.3.ebuild, +freerdp-0.7.4.ebuild:
Unmodified bump to version 0.7.4
diff --git a/net-misc/freerdp/Manifest b/net-misc/freerdp/Manifest
index 433e5f383..3b68c1fba 100644
--- a/net-misc/freerdp/Manifest
+++ b/net-misc/freerdp/Manifest
@@ -1,5 +1,5 @@
DIST freerdp-0.7.4.tar.gz 792336 RMD160 1b3a6c774298393706ccf30cbd553496e7120d3c SHA1 20f267a1f48d8dcd052a8ddf9b4ba5ae38e239d7 SHA256 575728caafbf4f13d16671bb7949cf92698ee9bdb70bef50a9c14f07f9e53fd5
EBUILD freerdp-0.7.4.ebuild 1060 RMD160 ee869db296b77da04954ca0f9da3689dffc9d1eb SHA1 c3f8a8ae2b859ac50c41180e7c776e8f520abe98 SHA256 5a4e1fccee5bf67fc225ddfeeadfeffb149e1fd1bd8f58ca9abfd9b227de1820
-EBUILD freerdp-9999.ebuild 1084 RMD160 d947e24124b5ac1e76d6cf747e11cb360729bde9 SHA1 2225f4e835bfd7d1ce20f737a95acf006c35468f SHA256 ce5b8ba78e979c5b956c5b4686c9e3139fa4e850ea3525808e153a8cc2f71eb3
-MISC ChangeLog 1296 RMD160 605ba1276d64afbd3c6e5d003c86e7cd3ffdeb5e SHA1 bde518b9738d224c1d5cd01cb6e930dc2ab177c3 SHA256 fd2536a838d936c52fcd042cbc3d204860e9be0fcce322ea125b9e582053b246
-MISC metadata.xml 645 RMD160 44ef3e91c75acdbabdc4d1fc31fc19f801164af7 SHA1 2fbcb400c308dff41a9e3926713b5693caca9f25 SHA256 a85ad487577ad01cdaef0a68d9b0d136ec30749f22bf43fddb1928658e36abac
+EBUILD freerdp-9999.ebuild 2426 RMD160 e4eae29dc37e86a5c92f2fa54ef3a716e43e8201 SHA1 c4cc464896c1fc38c96db77b5927c3ad6bb208f7 SHA256 a51d59afa602a61f2430d7352af6891c880b61e1e98bb5398a1814fe0f2e19eb
+MISC ChangeLog 1445 RMD160 12e81dddf50140c3ea42109160757864ffd77cdd SHA1 e26d6fe179b9c6f443c1c6f48f5dabe263da07c9 SHA256 8419fe90da8450f058e6ae4bf2182efb5bcb9ae86b68b467bca18aa50787f9c2
+MISC metadata.xml 926 RMD160 b2cce3c5521bf2d63ef2a86280de09b461461003 SHA1 f39e6fd4357db2022da9bab1ff406a96c66da58c SHA256 c66dabad11d7d6362e248230a0838b8aa973529a9ecd96fc2404627f64a060be
diff --git a/net-misc/freerdp/freerdp-9999.ebuild b/net-misc/freerdp/freerdp-9999.ebuild
index 9219775d1..c1e88f912 100644
--- a/net-misc/freerdp/freerdp-9999.ebuild
+++ b/net-misc/freerdp/freerdp-9999.ebuild
@@ -3,45 +3,90 @@
# $Header: $
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://freerdp.sourceforge.net/"
+HOMEPAGE="http://www.freerdp.com/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE="alsa cups iconv ipv6 largefile X"
+IUSE="alsa cups debug gnutls iconv ipv6 largefile libsamplerate nss polarssl \
+ssl X"
DEPEND="
- >=dev-libs/openssl-0.9.8a
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 )
-src_prepare() {
- eautoreconf
+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() {
- # openssl is mandatory for now. Building without it
- # is strongly discouraged according to upstream.
- # Warning: Do not trust "./configure --help"
- # it's wrong sometimes - esp. in --enable/--with parts...
+ # chipcard and directfb are configurable according to ./configure
+ # but they are currently not usable...
econf \
- --with-crypto=openssl \
+ --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
index edc94dd7c..f0a5e8bdf 100644
--- a/net-misc/freerdp/metadata.xml
+++ b/net-misc/freerdp/metadata.xml
@@ -8,6 +8,11 @@
<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>