Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/reaim/files/, net-im/reaim/
Date: Mon, 02 May 2016 22:24:27
Message-Id: 1462227707.867818b4326f4f77344ec8c26d50232a9b82e740.wizardedit@gentoo
1 commit: 867818b4326f4f77344ec8c26d50232a9b82e740
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 2 21:48:09 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 22:21:47 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=867818b4
7
8 net-im/reaim: use #!/sbin/openrc-run instead of #!/sbin/runscript
9
10 Gentoo-Bug: https://bugs.gentoo.org/573846
11
12 Package-Manager: portage-2.2.26
13
14 net-im/reaim/files/reaim | 4 ++--
15 net-im/reaim/reaim-0.8-r2.ebuild | 37 +++++++++++++++++++++++++++++++++++++
16 2 files changed, 39 insertions(+), 2 deletions(-)
17
18 diff --git a/net-im/reaim/files/reaim b/net-im/reaim/files/reaim
19 index f10cd7e..71bafae 100644
20 --- a/net-im/reaim/files/reaim
21 +++ b/net-im/reaim/files/reaim
22 @@ -1,5 +1,5 @@
23 -#!/sbin/runscript
24 -# Copyright 1999-2004 Gentoo Foundation
25 +#!/sbin/openrc-run
26 +# Copyright 1999-2016 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 # $Id$
29
30
31 diff --git a/net-im/reaim/reaim-0.8-r2.ebuild b/net-im/reaim/reaim-0.8-r2.ebuild
32 new file mode 100644
33 index 0000000..778f9c2
34 --- /dev/null
35 +++ b/net-im/reaim/reaim-0.8-r2.ebuild
36 @@ -0,0 +1,37 @@
37 +# Copyright 1999-2016 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +# $Id$
40 +
41 +EAPI=6
42 +
43 +inherit toolchain-funcs
44 +
45 +DESCRIPTION="AIM transport proxy over NAT firewalls"
46 +HOMEPAGE="http://reaim.sourceforge.net/"
47 +SRC_URI="mirror://sourceforge/reaim/${P}.tar.gz"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~ppc ~x86"
52 +IUSE=""
53 +
54 +DEPEND=">=sys-apps/sed-4"
55 +RDEPEND="net-firewall/iptables"
56 +
57 +pkg_setup() {
58 + tc-export CC
59 +}
60 +
61 +src_prepare() {
62 + sed -i -e 's/gcc/$(CC) $(CFLAGS) $(LDFLAGS)/' \
63 + -e 's/ -g / /' Makefile || die "sed failed" #365863
64 + default
65 +}
66 +
67 +src_install() {
68 + local HTML_DOCS=( html )
69 + einstalldocs
70 + doman reaim.8
71 + dosbin reaim
72 + doinitd "${FILESDIR}"/reaim
73 +}