diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-17 22:43:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-17 22:43:15 +0000 |
commit | 52f895faaaf01579a8d9528cafec20bf2c873f5c (patch) | |
tree | d552df2a24a2e21fd08b08caef93840452b9889c /net-misc/rdesktop | |
parent | 0704956f7256f1f618cc5e03af2c1dbd0e83dbc5 (diff) |
gentoo resync : 17.01.2010
Diffstat (limited to 'net-misc/rdesktop')
-rw-r--r-- | net-misc/rdesktop/Manifest | 2 | ||||
-rw-r--r-- | net-misc/rdesktop/files/rdesktop-1.9.0-rdssl_rkey_get_exp_mod.patch | 26 | ||||
-rw-r--r-- | net-misc/rdesktop/rdesktop-1.9.0-r1.ebuild | 78 |
3 files changed, 106 insertions, 0 deletions
diff --git a/net-misc/rdesktop/Manifest b/net-misc/rdesktop/Manifest index a51c9a6e23c8..68621bdb5cf6 100644 --- a/net-misc/rdesktop/Manifest +++ b/net-misc/rdesktop/Manifest @@ -4,9 +4,11 @@ AUX rdesktop-1.8.3-xrandr_configure.patch 666 BLAKE2B 1d2b0b57069b4e8a4eeed2d3d8 AUX rdesktop-1.8.4-libressl.patch 395 BLAKE2B d7ae01de041bcba333c6c72348c28665a8b1cab12ace786848515b6455f189121c8e87a393255ac25b116d5027d0756a35b1de60007f37426e82f32c9cdc2f5e SHA512 dfc8b4af9d22d587846f5d18d3063c4932b3add419b60a01ff391e3ac5f7b1d6b40614e54cdff61c66b2690a879550d7ffad38c71188d62e598a8f63d347dd98 AUX rdesktop-1.8.5-use_standard_gssapi.patch 1909 BLAKE2B 5e9b2b4b7bde0c38ba3302c780cbaec1a2ecea437fa686ce812c0e898427cac5e742ed69b96df9cbbc38378b99eef00f8326c25ed389461f689aab92f14e2a79 SHA512 1f886a23fd416f421bbab449b72fc889f60908b0408436f4c26229386d3baa48256bb78b4c72575ab9877932c634575345511f8418c20bef3345e231ef5d78ca AUX rdesktop-1.8.6-sec_decrypt.patch 1730 BLAKE2B 22b7c254b4fee01b72e51d28622795b622cc3ed495920780240afb153f14630b048d5e9592ec6eda1df7dd25e633c70c04d15aa286033397dc504d61826e7574 SHA512 a3a863afe18aea932a29b66f584d4beb7ceb8446522dccfde4251141ea56949b567711f69a849793e88bc12d65b8f93b659032478eebc2d8b5e61620e86044a3 +AUX rdesktop-1.9.0-rdssl_rkey_get_exp_mod.patch 783 BLAKE2B 0bb5f27486f31ed7150271cebb5e901e013b05d22106304304d5bac0e3d5344265779152cf74878dee7d3f7cd30f3e6e47356598eea94ee4a8fc7d3c8490c9bd SHA512 d408c0cd4ab31edd6246e41d173426993ec046810c83753eef005eaa018d72dbaea8de8738a099527a08e7248904e18ed29a8eb04e9a37a0e8939699e247f485 DIST rdesktop-1.8.6.tar.gz 321061 BLAKE2B bd61ecfbdca3f05b2a8d7f84c10296af3845870f5bd2522ecd768ce27cdbf790787ba9af2f53c85bcd674926488b77a610e48cafbb891fced9a458f86a2ee9e1 SHA512 a7d624dad27e531cf38d73bd879e66aaf72e527d082a4adb59e259e4e5b9a779ee6938db74601fbb2be7e7b015c806109fe8dfc99d78cbd06f0ba4d8f89b28ee DIST rdesktop-1.9.0.tar.gz 368980 BLAKE2B c3545e1c0f8ff04adeb8f36e24684a0719a4d4bb0176491a1826b3c5c2976a96d96d773280ca5b27b936aa5f79957e7faec77be996048115d8f8c0a3f0cc0d6d SHA512 e101147b496ae70118c2756bf120007d4748aad9d9917d9ebc0878ffaf35764500861c548ef0528722777555c78e1d3d146b6f3691daa2b8657b0d3a541094f5 EBUILD rdesktop-1.8.6-r1.ebuild 1825 BLAKE2B 719b968928addf924edddc9e4266b0130d820e69c63672fbc6e4b29c9deed82782ec3fbb7ad4965d732ba19b48a3d7a7089941189b99b19864145407a48fc0c0 SHA512 252c717a7d630ff951400b5fe9100c1ad277fdf957522d37fb4ebb9f89fd4e2df94349084275edd0e8360caca3a85ed9d2e8bd859bf0aa1d11650a0d36efaf09 EBUILD rdesktop-1.8.6.ebuild 1779 BLAKE2B 7babb9b744d549177311e42829179047b79f54a852418fb41d93131185278be0cdf0a59851a99eaeab1b280ed2ebe7194819c119e76808467212cc6f786add1e SHA512 bfcaf2817c1a1e452ae33d8b25b9f144e29b19204aa1f02da34d69882f441b46eb57e8b4442eafba6b45d9910fa00d8165ba5690c36c18e5424903631807552f +EBUILD rdesktop-1.9.0-r1.ebuild 1754 BLAKE2B 79adaff612d40c744c52da54209fad124777057205e67dda8dc07e8419734e8869717f2a15bdad7538865ecdc0c4074058072e9a7e030a2ac9cdaadb3384d862 SHA512 83937bf9edccd2c54be4e2b2c244c9b2caa6bf450d7cb1b1bccb96538aafc9efb2ef89982eb9eeb4bfe22b69add88e954a1157b041de56c5c141d9c7de8a24ce EBUILD rdesktop-1.9.0.ebuild 1698 BLAKE2B e79aa0da4d76dd8c352ede9a97e24bd63f34109b05f9c91b248c175e76fa5047097fcba2110cf5a84322fcf57de07b53d7b65d60cef8faeddc35fee2d3c0a507 SHA512 e0240cfce9e59089fc5bc0b88208dd9b78278bd9bc7c151f31356bd5cdc5151412e1db04dcbdcf302ab97c599b53e860bb13b19292c65793922f379dd09693f0 MISC metadata.xml 883 BLAKE2B 9ad73132150a724eb69cf65c62aea7cb0530e45fb4ca0395bb916cc95f48452b2dbd34edc7116ef9b8184527ea2dee16213b419185eac7b5aba8346dc7978cbc SHA512 5a68b2d8f23e4039efd76a52ea19400b2d17dfb01d0cb16504914bd0e2fb6f0523a135e7e98a19d7a0f371c1b149cb9426fc308303a0fa09a0bd0ebd118c1ea2 diff --git a/net-misc/rdesktop/files/rdesktop-1.9.0-rdssl_rkey_get_exp_mod.patch b/net-misc/rdesktop/files/rdesktop-1.9.0-rdssl_rkey_get_exp_mod.patch new file mode 100644 index 000000000000..7ac0067da617 --- /dev/null +++ b/net-misc/rdesktop/files/rdesktop-1.9.0-rdssl_rkey_get_exp_mod.patch @@ -0,0 +1,26 @@ +From 53ba87dc174175e98332e22355ad8662c02880d6 Mon Sep 17 00:00:00 2001 +From: Markus Beth <markus.beth@zkrd.de> +Date: Mon, 2 Dec 2019 11:22:13 +0100 +Subject: [PATCH] use correct modulus and exponent in rdssl_rkey_get_exp_mod + +--- + ssl.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/ssl.c b/ssl.c +index 930c7f94..0681a890 100644 +--- a/ssl.c ++++ b/ssl.c +@@ -307,10 +307,10 @@ rdssl_rkey_get_exp_mod(RDSSL_RKEY * rkey, uint8 * exponent, uint32 max_exp_len, + { + size_t outlen; + +- outlen = (mpz_sizeinbase(modulus, 2) + 7) / 8; ++ outlen = (mpz_sizeinbase(rkey->n, 2) + 7) / 8; + if (outlen > max_mod_len) + return 1; +- outlen = (mpz_sizeinbase(exponent, 2) + 7) / 8; ++ outlen = (mpz_sizeinbase(rkey->e, 2) + 7) / 8; + if (outlen > max_exp_len) + return 1; + diff --git a/net-misc/rdesktop/rdesktop-1.9.0-r1.ebuild b/net-misc/rdesktop/rdesktop-1.9.0-r1.ebuild new file mode 100644 index 000000000000..1f8cd581a111 --- /dev/null +++ b/net-misc/rdesktop/rdesktop-1.9.0-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools eutils + +MY_PV=${PV/_/-} + +DESCRIPTION="A Remote Desktop Protocol Client" +HOMEPAGE="http://www.rdesktop.org/" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="alsa ao ipv6 kerberos oss pcsc-lite pulseaudio xrandr" + +S=${WORKDIR}/${PN}-${MY_PV} + +RDEPEND=" + dev-libs/nettle:0= + >=net-libs/gnutls-3.2.0:0= + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXau + x11-libs/libXdmcp + alsa? ( + media-libs/alsa-lib + media-libs/libsamplerate + ) + ao? ( + >=media-libs/libao-0.8.6 + media-libs/libsamplerate + ) + kerberos? ( virtual/krb5 ) + pcsc-lite? ( >=sys-apps/pcsc-lite-1.6.6 ) + oss? ( media-libs/libsamplerate ) + pulseaudio? ( + media-libs/libsamplerate + media-sound/pulseaudio + ) + xrandr? ( x11-libs/libXrandr )" +DEPEND="${RDEPEND} + x11-libs/libXt" +BDEPEND=virtual/pkgconfig + +PATCHES=( + "${FILESDIR}"/${PN}-1.8.3-no_strip.patch + "${FILESDIR}"/${PN}-1.8.3-xrandr_configure.patch + "${FILESDIR}"/${P}-rdssl_rkey_get_exp_mod.patch +) + +DOCS=( doc/ChangeLog doc/HACKING doc/TODO doc/keymapping.txt ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + if use pulseaudio; then + sound_conf="--with-sound=pulse" + elif use ao; then + sound_conf="--with-sound=libao" + elif use alsa; then + sound_conf="--with-sound=alsa" + else + sound_conf=$(use_with oss sound oss) + fi + + econf \ + $(use_with ipv6) \ + $(use_with xrandr) \ + $(use_enable kerberos credssp) \ + $(use_enable pcsc-lite smartcard) \ + ${sound_conf} +} |