aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiFei Zhu <zhuyifei1999@gmail.com>2023-05-17 01:28:47 -0400
committerYiFei Zhu <zhuyifei1999@gmail.com>2023-05-17 01:29:25 -0400
commit48b6bbbc9522a923831c5dd657abcd220aa760cb (patch)
tree7f11ee670d17eb5849cb29435fef0ab82ffc1360 /net-misc/clatd
parentdev-libs/ftl: 1.0_p20230220 version bump (diff)
downloadguru-48b6bbbc9522a923831c5dd657abcd220aa760cb.tar.gz
guru-48b6bbbc9522a923831c5dd657abcd220aa760cb.tar.bz2
guru-48b6bbbc9522a923831c5dd657abcd220aa760cb.zip
net-misc/clatd: new package, add 1.6
Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com>
Diffstat (limited to 'net-misc/clatd')
-rw-r--r--net-misc/clatd/Manifest1
-rw-r--r--net-misc/clatd/clatd-1.6.ebuild38
-rw-r--r--net-misc/clatd/metadata.xml11
3 files changed, 50 insertions, 0 deletions
diff --git a/net-misc/clatd/Manifest b/net-misc/clatd/Manifest
new file mode 100644
index 000000000..f5d68b214
--- /dev/null
+++ b/net-misc/clatd/Manifest
@@ -0,0 +1 @@
+DIST clatd-1.6.tar.gz 18680 BLAKE2B ef1f8e6600edeabc0ddbcec7b413ac1b11d7a482159863dbe0836c67ddafb730542db4fa9ecb61125200f314cb61ec8d76bbeee23affb3bb241df06bd3ca8898 SHA512 606d579fb658cca7f9d0dddf9c49671e4b2774aafb1200e9bdd95964e5bd7bb33f313d340ac24a556f97d253b13a0498056b3b971bfb7c9119d3223f90031d74
diff --git a/net-misc/clatd/clatd-1.6.ebuild b/net-misc/clatd/clatd-1.6.ebuild
new file mode 100644
index 000000000..5afaab8b1
--- /dev/null
+++ b/net-misc/clatd/clatd-1.6.ebuild
@@ -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
+}
diff --git a/net-misc/clatd/metadata.xml b/net-misc/clatd/metadata.xml
new file mode 100644
index 000000000..c65ccf5b8
--- /dev/null
+++ b/net-misc/clatd/metadata.xml
@@ -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>