Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/rrs/
Date: Mon, 26 Dec 2016 00:31:08
Message-Id: 1482712175.7d814f26e156722a4541d56466dc3dfb5c0b6b2f.monsieurp@gentoo
1 commit: 7d814f26e156722a4541d56466dc3dfb5c0b6b2f
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 26 00:09:21 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 26 00:29:35 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d814f26
7
8 app-shells/rrs: EAPI 6 bump.
9
10 Package-Manager: portage-2.3.0
11
12 app-shells/rrs/rrs-1.70-r2.ebuild | 41 +++++++++++++++++++++++++++++++++++++++
13 1 file changed, 41 insertions(+)
14
15 diff --git a/app-shells/rrs/rrs-1.70-r2.ebuild b/app-shells/rrs/rrs-1.70-r2.ebuild
16 new file mode 100644
17 index 00000000..9978775
18 --- /dev/null
19 +++ b/app-shells/rrs/rrs-1.70-r2.ebuild
20 @@ -0,0 +1,41 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=6
26 +
27 +inherit toolchain-funcs
28 +
29 +DESCRIPTION="Reverse Remote Shell"
30 +HOMEPAGE="http://freecode.com/projects/rrs"
31 +SRC_URI="http://www.cycom.se/uploads/36/19/${P}.tar.gz"
32 +
33 +LICENSE="MIT"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~ppc ~x86"
36 +IUSE="ssl"
37 +
38 +DEPEND="ssl? ( dev-libs/openssl:0= )"
39 +RDEPEND="${DEPEND}"
40 +
41 +PATCH=( "${FILESDIR}"/"${P}"-asneeded.patch)
42 +
43 +DOCS=( CHANGES README )
44 +
45 +src_prepare() {
46 + default
47 + sed -i -e "s#-s ##g" Makefile || die
48 +}
49 +
50 +src_compile() {
51 + local target=""
52 + use ssl || target="-nossl"
53 +
54 + emake generic${target} CFLAGS="${CFLAGS}" LDEXTRA="${LDFLAGS}" CC="$(tc-getCC)"
55 +}
56 +
57 +src_install() {
58 + dobin "${PN}"
59 + doman "${PN}.1"
60 + einstalldocs
61 +}