summaryrefslogtreecommitdiff
blob: 53c8720abac3a67d9c8bc9e5a3d5a99983d0082e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="redirects TCP connections from one IP address and port to another"
HOMEPAGE="https://github.com/samhocevar/rinetd"
SRC_URI="https://github.com/samhocevar/rinetd/releases/download/v${PV}/${P}.tar.bz2"

LICENSE="GPL-2+ GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"

src_install() {
	default

	newinitd "${FILESDIR}"/rinetd.rc rinetd
}