net-misc/clatd: new package, add 1.6

Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com>
This commit is contained in:
YiFei Zhu
2023-05-17 01:28:47 -04:00
parent f821364a96
commit 48b6bbbc95
3 changed files with 50 additions and 0 deletions

1
net-misc/clatd/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST clatd-1.6.tar.gz 18680 BLAKE2B ef1f8e6600edeabc0ddbcec7b413ac1b11d7a482159863dbe0836c67ddafb730542db4fa9ecb61125200f314cb61ec8d76bbeee23affb3bb241df06bd3ca8898 SHA512 606d579fb658cca7f9d0dddf9c49671e4b2774aafb1200e9bdd95964e5bd7bb33f313d340ac24a556f97d253b13a0498056b3b971bfb7c9119d3223f90031d74

View File

@@ -0,0 +1,38 @@
# Copyright 1999-2023 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
virtual/perl-IO-Socket-IP
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
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zhuyifei1999@gmail.com</email>
<name>YiFei Zhu</name>
</maintainer>
<upstream>
<remote-id type="github">toreanderson/clatd</remote-id>
</upstream>
</pkgmetadata>