From e6fc498ef6ab0562430d7863d15f8fc9ace6ec8b Mon Sep 17 00:00:00 2001 From: Daniel Ahlberg Date: Fri, 25 Oct 2002 12:30:02 +0000 Subject: [PATCH] Added patches, see changelog for more info. --- net-misc/rdesktop/ChangeLog | 7 ++- .../files/digest-rdesktop-1.1.0.19.9.0 | 2 + .../rdesktop/rdesktop-1.1.0.19.9.0.ebuild | 49 +++++++++++++++++++ 3 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 net-misc/rdesktop/files/digest-rdesktop-1.1.0.19.9.0 create mode 100644 net-misc/rdesktop/rdesktop-1.1.0.19.9.0.ebuild diff --git a/net-misc/rdesktop/ChangeLog b/net-misc/rdesktop/ChangeLog index 0d8b0079c764..c961e619bdea 100644 --- a/net-misc/rdesktop/ChangeLog +++ b/net-misc/rdesktop/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/rdesktop # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-misc/rdesktop/ChangeLog,v 1.4 2002/09/21 21:15:13 owen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/rdesktop/ChangeLog,v 1.5 2002/10/25 12:30:02 aliz Exp $ + +*rdesktop-1.1.0.19.9.0 (25 Oct 2002) + + 25 Oct 2002; Daniel Ahlberg : + Includes rdesktop patches from http://bibl4.oru.se/projects/rdesktop. *rdesktop-1.1.0-r1 (3 May 2002) diff --git a/net-misc/rdesktop/files/digest-rdesktop-1.1.0.19.9.0 b/net-misc/rdesktop/files/digest-rdesktop-1.1.0.19.9.0 new file mode 100644 index 000000000000..844bb1f3b3bc --- /dev/null +++ b/net-misc/rdesktop/files/digest-rdesktop-1.1.0.19.9.0 @@ -0,0 +1,2 @@ +MD5 50cfa4cacd15c52eaa7a57470607acea rdesktop-1.1.0.tar.gz 80584 +MD5 1f46a1b137142474f8e5aef10b5d8d60 rdesktop-unified-patch19-9-0.bz2 140148 diff --git a/net-misc/rdesktop/rdesktop-1.1.0.19.9.0.ebuild b/net-misc/rdesktop/rdesktop-1.1.0.19.9.0.ebuild new file mode 100644 index 000000000000..7b41c83a4c60 --- /dev/null +++ b/net-misc/rdesktop/rdesktop-1.1.0.19.9.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-misc/rdesktop/rdesktop-1.1.0.19.9.0.ebuild,v 1.1 2002/10/25 12:30:02 aliz Exp $ + +PATCH_PV="19-9-0" +PATCH_PV_SED=".${PATCH_PV//-/.}" +MY_P=${P/$PATCH_PV_SED} + +S=${WORKDIR}/${MY_P} +DESCRIPTION="A Remote Desktop Protocol Client" +SRC_URI="mirror://sourceforge/rdesktop/${MY_P}.tar.gz + http://bibl4.oru.se/projects/rdesktop/rdesktop-unified-patch${PATCH_PV}.bz2" +HOMEPAGE="http://rdesktop.sourceforge.net/" + +KEYWORDS="~x86 ~ppc ~sparc ~sparc64" +DEPEND="x11-base/xfree + ssl? ( >=dev-libs/openssl-0.9.6b )" +LICENSE="GPL-2" +SLOT="0" + +src_unpack() { + unpack ${MY_P}.tar.gz + cd ${S} + bzcat ${DISTDIR}/rdesktop-unified-patch${PATCH_PV}.bz2 | patch -p2 +} + +src_compile() { + local myconf + use ssl && myconf="--with-openssl" + use ssl || myconf="--without-openssl" + [ "${DEBUG}" ] && myconf="${myconf} --with-debug" + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man $myconf || die + use ssl && echo "CFLAGS += -I/usr/include/openssl" >> Makeconf + # Hold on tight folks, this ain't purdy + if [ ! -z "${CXXFLAGS}" ]; then + sed -e 's/-O2//g' Makefile > Makefile.tmp && mv Makefile.tmp Makefile + echo "CFLAGS += ${CXXFLAGS}" >> Makeconf + fi + make localendian.h || die + emake || die "compile problem" +} + +src_install () { + dobin rdesktop + doman rdesktop.1 + dodoc COPYING CHANGES readme.txt rdp-srvr-readme.txt +} -- 2.26.2