net-misc/clatd: add 2.1.0

Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com>
This commit is contained in:
YiFei Zhu
2025-06-21 09:24:14 -07:00
parent d586c5989a
commit ac311416df
2 changed files with 39 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST clatd-1.6.tar.gz 18680 BLAKE2B ef1f8e6600edeabc0ddbcec7b413ac1b11d7a482159863dbe0836c67ddafb730542db4fa9ecb61125200f314cb61ec8d76bbeee23affb3bb241df06bd3ca8898 SHA512 606d579fb658cca7f9d0dddf9c49671e4b2774aafb1200e9bdd95964e5bd7bb33f313d340ac24a556f97d253b13a0498056b3b971bfb7c9119d3223f90031d74
DIST clatd-2.1.0.tar.gz 22430 BLAKE2B 9072e2dd9fabc773022fe79f3745bc24ff83d451b0b42740a622aeb21e85c0a7b026200d0e180ba373c9a285d1ff74c73bcc53aad5632988f2bb9127271a91fd SHA512 7913f0aa7ea5a9bae1384468ea66a47ba840847bfe1dead0c30464013a0c731d7b5af392caaba4bc2cf4b2df95dd73bcbb9d96d9d28fdcdbe15594963cc4dc6e

View File

@@ -0,0 +1,38 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit 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"
DEPEND="dev-lang/perl"
RDEPEND="${DEPEND}
dev-perl/Net-IP
dev-perl/Net-DNS
dev-perl/JSON
sys-apps/iproute2
net-firewall/iptables
net-proxy/tayga
"
src_compile() {
pod2man --name clatd --center "clatd - a CLAT implementation for Linux" --section 8 README.pod > clatd.8
}
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
}