commit: ac311416df8b0752d960a58ce9b47b3dc8d7c299 Author: YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com> AuthorDate: Sat Jun 21 16:24:14 2025 +0000 Commit: YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com> CommitDate: Sat Jun 21 16:24:14 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac311416
net-misc/clatd: add 2.1.0 Signed-off-by: YiFei Zhu <zhuyifei1999 <AT> gmail.com> net-misc/clatd/Manifest | 1 + net-misc/clatd/clatd-2.1.0.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/net-misc/clatd/Manifest b/net-misc/clatd/Manifest index f5d68b2141..ec5ef3a9b7 100644 --- a/net-misc/clatd/Manifest +++ b/net-misc/clatd/Manifest @@ -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 diff --git a/net-misc/clatd/clatd-2.1.0.ebuild b/net-misc/clatd/clatd-2.1.0.ebuild new file mode 100644 index 0000000000..d66a5ce04f --- /dev/null +++ b/net-misc/clatd/clatd-2.1.0.ebuild @@ -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 +}
