summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-08-31 12:48:15 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-08-31 12:48:15 +0000
commit1ae32346b03530b41e079464299bf81371ee64a5 (patch)
treec80fea0d94506bac7f0b099a587147192b75e248
parentStable on amd64 wrt bug #333417 (diff)
downloadgentoo-2-1ae32346b03530b41e079464299bf81371ee64a5.tar.gz
gentoo-2-1ae32346b03530b41e079464299bf81371ee64a5.tar.bz2
gentoo-2-1ae32346b03530b41e079464299bf81371ee64a5.zip
Keyworded for amd64. Bug #335105. Respect LDFLAGS
(Portage version: 2.2_rc72/cvs/Linux x86_64)
-rw-r--r--net-misc/rinetd/ChangeLog9
-rw-r--r--net-misc/rinetd/rinetd-0.62-r1.ebuild37
2 files changed, 44 insertions, 2 deletions
diff --git a/net-misc/rinetd/ChangeLog b/net-misc/rinetd/ChangeLog
index bda335757e4b..ded5a52e8bc1 100644
--- a/net-misc/rinetd/ChangeLog
+++ b/net-misc/rinetd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/rinetd
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/rinetd/ChangeLog,v 1.6 2007/05/14 19:45:44 bangert Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rinetd/ChangeLog,v 1.7 2010/08/31 12:48:15 hwoarang Exp $
+
+*rinetd-0.62-r1 (31 Aug 2010)
+
+ 31 Aug 2010; Markos Chandras <hwoarang@gentoo.org> +rinetd-0.62-r1.ebuild:
+ Keyworded for amd64. Bug #335105. Respect LDFLAGS
14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
add <herd>no-herd</herd>
diff --git a/net-misc/rinetd/rinetd-0.62-r1.ebuild b/net-misc/rinetd/rinetd-0.62-r1.ebuild
new file mode 100644
index 000000000000..0272a07acea4
--- /dev/null
+++ b/net-misc/rinetd/rinetd-0.62-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rinetd/rinetd-0.62-r1.ebuild,v 1.1 2010/08/31 12:48:15 hwoarang Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="redirects TCP connections from one IP address and port to another"
+HOMEPAGE="http://www.boutell.com/rinetd/"
+SRC_URI="http://www.boutell.com/rinetd/http/rinetd.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="sys-devel/gcc"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ sed -i -e "s:gcc:$(tc-getCC) \$(CFLAGS) \$(LDFLAGS):" Makefile
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS} -DLINUX" LDFLAGS="${LDFLAGS}" || die
+}
+
+src_install() {
+ dosbin rinetd || die
+ newinitd ${FILESDIR}/rinetd.rc rinetd
+ doman rinetd.8
+ dodoc CHANGES README
+ dohtml index.html
+}