commit: 867818b4326f4f77344ec8c26d50232a9b82e740 Author: Austin English <wizardedit <AT> gentoo <DOT> org> AuthorDate: Mon May 2 21:48:09 2016 +0000 Commit: Austin English <wizardedit <AT> gentoo <DOT> org> CommitDate: Mon May 2 22:21:47 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=867818b4
net-im/reaim: use #!/sbin/openrc-run instead of #!/sbin/runscript Gentoo-Bug: https://bugs.gentoo.org/573846 Package-Manager: portage-2.2.26 net-im/reaim/files/reaim | 4 ++-- net-im/reaim/reaim-0.8-r2.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/net-im/reaim/files/reaim b/net-im/reaim/files/reaim index f10cd7e..71bafae 100644 --- a/net-im/reaim/files/reaim +++ b/net-im/reaim/files/reaim @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/net-im/reaim/reaim-0.8-r2.ebuild b/net-im/reaim/reaim-0.8-r2.ebuild new file mode 100644 index 0000000..778f9c2 --- /dev/null +++ b/net-im/reaim/reaim-0.8-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="AIM transport proxy over NAT firewalls" +HOMEPAGE="http://reaim.sourceforge.net/" +SRC_URI="mirror://sourceforge/reaim/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND=">=sys-apps/sed-4" +RDEPEND="net-firewall/iptables" + +pkg_setup() { + tc-export CC +} + +src_prepare() { + sed -i -e 's/gcc/$(CC) $(CFLAGS) $(LDFLAGS)/' \ + -e 's/ -g / /' Makefile || die "sed failed" #365863 + default +} + +src_install() { + local HTML_DOCS=( html ) + einstalldocs + doman reaim.8 + dosbin reaim + doinitd "${FILESDIR}"/reaim +}
