# Contributor: Leo # Maintainer: Natanael Copa pkgname=rdesktop pkgver=1.8.6 pkgrel=0 pkgdesc="rdesktop is used to connect to windows terminal servers" options="!check" # No testsuite url="https://www.rdesktop.org/" arch="all" license="GPL-3.0-or-later" subpackages="$pkgname-doc" makedepends="linux-headers libx11-dev libao-dev openssl-dev libsamplerate-dev libgssglue-dev libxrandr-dev automake libtool autoconf" source="https://github.com/rdesktop/rdesktop/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" # secfixes: # 1.8.6-r0: # - CVE-2018-8794 # - CVE-2018-8795 # - CVE-2018-8797 # - CVE-2018-20175 # - CVE-2018-20175 # - CVE-2018-20176 # - CVE-2018-20176 # - CVE-2018-8791 # - CVE-2018-8792 # - CVE-2018-8793 # - CVE-2018-8796 # - CVE-2018-8798 # - CVE-2018-8799 # - CVE-2018-8800 # - CVE-2018-20174 # - CVE-2018-20177 # - CVE-2018-20178 # - CVE-2018-20179 # - CVE-2018-20180 # - CVE-2018-20181 # - CVE-2018-20182 prepare() { cd "$builddir" default_prepare update_config_sub autoreconf -fi # https://github.com/rdesktop/rdesktop/issues/331 } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --with-sound=ao \ --disable-smartcard make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="a7d624dad27e531cf38d73bd879e66aaf72e527d082a4adb59e259e4e5b9a779ee6938db74601fbb2be7e7b015c806109fe8dfc99d78cbd06f0ba4d8f89b28ee rdesktop-1.8.6.tar.gz"