net-misc/clatd - 2.1.0 (guru)

Search

Install

Install this version:

emerge -a =net-misc/clatd-2.1.0

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

autounmask =net-misc/clatd-2.1.0

Or alternatively:

emerge --autounmask-write -a =net-misc/clatd-2.1.0

Package Information

Description:
A CLAT / SIIT-DC Edge Relay implementation for Linux
Homepage:
https://github.com/toreanderson/clatd
License:
MIT

Ebuild Details

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

EAPI=8

inherit prefix systemd

DESCRIPTION="A CLAT / SIIT-DC Edge Relay implementation for Linux"
HOMEPAGE="https://github.com/toreanderson/clatd"
SRC_URI="https://github.com/toreanderson/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

COMMON_DEPEND="dev-lang/perl"
RDEPEND="
	${COMMON_DEPEND}
	dev-perl/Net-IP
	dev-perl/Net-DNS
	dev-perl/JSON
	sys-apps/iproute2
	net-firewall/iptables
	net-proxy/tayga
"
BEPEND="${COMMON_DEPEND}"

src_prepare() {
	hprefixify scripts/clatd.systemd clatd
	default
}

src_compile() {
	pod2man --name clatd --center "clatd - a CLAT implementation for Linux" \
	--section 8 README.pod > clatd.8 || die
}

src_install() {
	dosbin clatd
	doman clatd.8

	systemd_newunit scripts/clatd.systemd clatd.service

	exeinto /etc/NetworkManager/dispatcher.d/
	newexe scripts/clatd.networkmanager 50-clatd
}

Inherited Eclasses

Dependencies

RDEPEND

	dev-lang/perl
	dev-perl/Net-IP
	dev-perl/Net-DNS
	dev-perl/JSON
	sys-apps/iproute2
	net-firewall/iptables
	net-proxy/tayga

Manifest for 2.1.0

Type File Size Source URLs
DIST clatd-2.1.0.tar.gz 22430 bytes https://github.com/toreanderson/clatd/archive/refs/tags/v2.1.0.tar.gz