public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/clatd/
@ 2023-05-17  5:29 YiFei Zhu
  0 siblings, 0 replies; only message in thread
From: YiFei Zhu @ 2023-05-17  5:29 UTC (permalink / raw
  To: gentoo-commits

commit:     48b6bbbc9522a923831c5dd657abcd220aa760cb
Author:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
AuthorDate: Wed May 17 05:28:47 2023 +0000
Commit:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
CommitDate: Wed May 17 05:29:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=48b6bbbc

net-misc/clatd: new package, add 1.6

Signed-off-by: YiFei Zhu <zhuyifei1999 <AT> gmail.com>

 net-misc/clatd/Manifest         |  1 +
 net-misc/clatd/clatd-1.6.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
 net-misc/clatd/metadata.xml     | 11 +++++++++++
 3 files changed, 50 insertions(+)

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>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-17  5:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-17  5:29 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/clatd/ YiFei Zhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox