From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 53ED3158094 for ; Fri, 7 Oct 2022 06:33:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74E92E0920; Fri, 7 Oct 2022 06:33:41 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 58D0BE0920 for ; Fri, 7 Oct 2022 06:33:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 927B834101C for ; Fri, 7 Oct 2022 06:33:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 254E5606 for ; Fri, 7 Oct 2022 06:33:39 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1665124392.c396b61cbc93c78290a0bbd6ec6cc788b2e5f79d.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/rinetd/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/rinetd/rinetd-0.62-r2.ebuild X-VCS-Directories: net-misc/rinetd/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: c396b61cbc93c78290a0bbd6ec6cc788b2e5f79d X-VCS-Branch: master Date: Fri, 7 Oct 2022 06:33:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6412659e-2694-4e8f-9fd0-05e7c85df9ca X-Archives-Hash: 350fecca2b59669b1ba92a3379026ce3 commit: c396b61cbc93c78290a0bbd6ec6cc788b2e5f79d Author: Ionen Wolkens gentoo org> AuthorDate: Fri Oct 7 06:17:36 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Fri Oct 7 06:33:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c396b61c net-misc/rinetd: EAPI6->8, remove dead urls, fix license wrt sed, removing lets implicit rules do their thing and no need to insert variables also move html file in html/ technically license still need GPL-2 due to init script Signed-off-by: Ionen Wolkens gentoo.org> net-misc/rinetd/rinetd-0.62-r2.ebuild | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/net-misc/rinetd/rinetd-0.62-r2.ebuild b/net-misc/rinetd/rinetd-0.62-r2.ebuild index 527f67d7834f..d1db674c0bc7 100644 --- a/net-misc/rinetd/rinetd-0.62-r2.ebuild +++ b/net-misc/rinetd/rinetd-0.62-r2.ebuild @@ -1,33 +1,38 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=8 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 -> ${P}.tar.gz" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="mirror://gentoo/${P}.tar.gz" +S="${WORKDIR}/${PN}" -LICENSE="GPL-2" +LICENSE="GPL-2+ GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" - -S=${WORKDIR}/${PN} src_prepare() { default - sed -i -e "s:gcc:$(tc-getCC) \$(CFLAGS) \$(LDFLAGS):" Makefile + + sed -i '/gcc rinetd/d' Makefile || die } src_compile() { - emake CFLAGS="${CFLAGS} -DLINUX" LDFLAGS="${LDFLAGS}" + tc-export CC + + emake CFLAGS="${CFLAGS} -DLINUX" } src_install() { dosbin rinetd - newinitd "${FILESDIR}"/rinetd.rc rinetd doman rinetd.8 - dodoc CHANGES README index.html + einstalldocs + + docinto html + dodoc index.html + + newinitd "${FILESDIR}"/rinetd.rc rinetd }