Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/rdesktop/
Date: Fri, 04 Jan 2019 23:00:54
Message-Id: 1546642843.7ad1b51cd60d73c3e20a245f5d93a14709cd686a.voyageur@gentoo
1 commit: 7ad1b51cd60d73c3e20a245f5d93a14709cd686a
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 4 23:00:07 2019 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 4 23:00:43 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ad1b51c
7
8 net-misc/rdesktop: 1.8.4 bump, security fixes
9
10 This release includes fixes for a set of 21 vulnerabilities in rdesktop
11 when a malicious RDP server is used
12
13 Package-Manager: Portage-2.3.54, Repoman-2.3.12
14 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
15
16 net-misc/rdesktop/Manifest | 1 +
17 net-misc/rdesktop/rdesktop-1.8.4.ebuild | 69 +++++++++++++++++++++++++++++++++
18 2 files changed, 70 insertions(+)
19
20 diff --git a/net-misc/rdesktop/Manifest b/net-misc/rdesktop/Manifest
21 index 2ceeaa21707..ba8eea641aa 100644
22 --- a/net-misc/rdesktop/Manifest
23 +++ b/net-misc/rdesktop/Manifest
24 @@ -1 +1,2 @@
25 DIST rdesktop-1.8.3.tar.gz 320212 BLAKE2B daca0b78a8fcd0461f1c3251135bd980aaafacf8e0cd51ab731b576adb23006ec9f51858586e7e3a1a7f192b7830308e585984b4a31fb013748f8c6b3a8c47bb SHA512 06b94ad3b09430b05e424ef31a3e6f2388190b4920e348603cb66a414244896e0dc8906b9f12920e9406cf153ffa7f6507b23bf6713c3a675c0540a8ef57902d
26 +DIST rdesktop-1.8.4.tar.gz 321448 BLAKE2B b4d5a91f77a63258d08823c860b2d7045b0ee7ad0feb144746c904146c410c6456391eb3f2b7b9a6a40c2fb34515bb7518888c2c9da8dfcaf17c5309ff21cad3 SHA512 9e4f6723eb0baab31ad11f1c5c29a4753c655386c2381d01646b7834c959ffc2ec1e0c2f3f73626255aa018889709758d97387c7563da98bb1b7f269610929ae
27
28 diff --git a/net-misc/rdesktop/rdesktop-1.8.4.ebuild b/net-misc/rdesktop/rdesktop-1.8.4.ebuild
29 new file mode 100644
30 index 00000000000..f5be6057df9
31 --- /dev/null
32 +++ b/net-misc/rdesktop/rdesktop-1.8.4.ebuild
33 @@ -0,0 +1,69 @@
34 +# Copyright 1999-2019 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +inherit autotools eutils
39 +
40 +MY_PV=${PV/_/-}
41 +
42 +DESCRIPTION="A Remote Desktop Protocol Client"
43 +HOMEPAGE="http://www.rdesktop.org/"
44 +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
45 +
46 +LICENSE="GPL-3"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
49 +IUSE="alsa ao debug ipv6 kerberos libressl libsamplerate oss pcsc-lite xrandr"
50 +
51 +S=${WORKDIR}/${PN}-${MY_PV}
52 +
53 +RDEPEND="
54 + !libressl? ( dev-libs/openssl:0= )
55 + libressl? ( dev-libs/libressl:= )
56 + x11-libs/libX11
57 + x11-libs/libXext
58 + x11-libs/libXau
59 + x11-libs/libXdmcp
60 + alsa? ( media-libs/alsa-lib )
61 + ao? ( >=media-libs/libao-0.8.6 )
62 + kerberos? ( net-libs/libgssglue )
63 + libsamplerate? ( media-libs/libsamplerate )
64 + pcsc-lite? ( >=sys-apps/pcsc-lite-1.6.6 )
65 + xrandr? ( x11-libs/libXrandr )"
66 +DEPEND="${RDEPEND}
67 + x11-libs/libXt"
68 +BDEPEND=virtual/pkgconfig
69 +
70 +PATCHES=(
71 + "${FILESDIR}"/${PN}-1.6.0-sound_configure.patch
72 + "${FILESDIR}"/${PN}-1.8.3-no_strip.patch
73 + "${FILESDIR}"/${PN}-1.8.3-xrandr_configure.patch
74 +)
75 +
76 +DOCS=( doc/HACKING doc/TODO doc/keymapping.txt )
77 +
78 +src_prepare() {
79 + default
80 + eautoreconf
81 +}
82 +
83 +src_configure() {
84 + if use ao; then
85 + sound_conf=$(use_with ao sound libao)
86 + else if use alsa; then
87 + sound_conf=$(use_with alsa sound alsa)
88 + else
89 + sound_conf=$(use_with oss sound oss)
90 + fi
91 + fi
92 +
93 + econf \
94 + --with-openssl="${EPREFIX}"/usr \
95 + $(use_with debug) \
96 + $(use_with ipv6) \
97 + $(use_with libsamplerate) \
98 + $(use_with xrandr) \
99 + $(use_enable kerberos credssp) \
100 + $(use_enable pcsc-lite smartcard) \
101 + ${sound_conf}
102 +}