net-misc/redir - 3.3 (nest)

Search

Install

Install this version:

emerge -a =net-misc/redir-3.3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-misc/redir-3.3

Or alternatively:

emerge --autounmask-write -a =net-misc/redir-3.3

Package Information

Description:
TCP port redirector
Homepage:
https://github.com/troglobit/redir
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
3.3 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit systemd tmpfiles

DESCRIPTION="TCP port redirector"
HOMEPAGE="https://github.com/troglobit/redir"
SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.xz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+ftp +shaper tcpd xinetd"

RDEPEND="acct-user/redir
	xinetd? ( sys-apps/xinetd )"
DEPEND="tcpd? ( sys-apps/tcp-wrappers )"

DOCS=( {ChangeLog,README}.md TODO transproxy.txt )

src_configure() {
	econf "$(use_enable shaper shaping)" "$(use_enable ftp)" \
		"$(use_with tcpd libwrap)"
}

src_install() {
	default

	newinitd "${FILESDIR}"/redir.initd redir
	newconfd "${FILESDIR}"/redir.confd redir
	systemd_dounit "${FILESDIR}"/redir.service
	newtmpfiles "${FILESDIR}"/redir.tmpfile redir.conf
}

pkg_postinst() {
	tmpfiles_process redir.conf
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-misc/redir | euse -E <flag> -p net-misc/redir | euse -D <flag> -p net-misc/redir

Global/Standard Flags

ftp
Default: Enabled (+)
shaper
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

tcpd? ( sys-apps/tcp-wrappers )

RDEPEND

acct-user/redir
	xinetd? ( sys-apps/xinetd )

Manifest for 3.3

Type File Size Source URLs
DIST redir-3.3.tar.xz 84980 bytes https://github.com/troglobit/redir/releases/download/v3.3/redir-3.3.tar.xz