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; 4+ messages 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] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/clatd/
@ 2025-06-21 16:25 YiFei Zhu
  0 siblings, 0 replies; 4+ messages in thread
From: YiFei Zhu @ 2025-06-21 16:25 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/clatd/
@ 2025-06-22 22:55 Lucio Sauer
  0 siblings, 0 replies; 4+ messages in thread
From: Lucio Sauer @ 2025-06-22 22:55 UTC (permalink / raw
  To: gentoo-commits

commit:     76f23ea3382c54824128c6c67781121fe48ec6a4
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Jun 22 21:45:29 2025 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Jun 22 22:54:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=76f23ea3

net-misc/clatd: add ${EPREFIX} support

* This fixes the runtime behavior of clatd on prefix systems, so let's
  revbump the version, that's been merged to master already.

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 net-misc/clatd/{clatd-1.6.ebuild => clatd-1.6-r1.ebuild} | 7 ++++++-
 net-misc/clatd/clatd-2.1.0.ebuild                        | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/net-misc/clatd/clatd-1.6.ebuild b/net-misc/clatd/clatd-1.6-r1.ebuild
similarity index 90%
rename from net-misc/clatd/clatd-1.6.ebuild
rename to net-misc/clatd/clatd-1.6-r1.ebuild
index 8787d907e5..98f2aea63c 100644
--- a/net-misc/clatd/clatd-1.6.ebuild
+++ b/net-misc/clatd/clatd-1.6-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit systemd
+inherit prefix systemd
 
 DESCRIPTION="A CLAT / SIIT-DC Edge Relay implementation for Linux"
 HOMEPAGE="https://github.com/toreanderson/clatd"
@@ -25,6 +25,11 @@ RDEPEND="
 "
 BEPEND="${COMMON_DEPEND}"
 
+src_prepare() {
+	hprefixify scripts/clatd.systemd clatd
+	default
+}
+
 src_compile() {
 	pod2man --name clatd --center "clatd - a CLAT implementation for Linux" \
 	--section 8 README.pod > clatd.8 || die

diff --git a/net-misc/clatd/clatd-2.1.0.ebuild b/net-misc/clatd/clatd-2.1.0.ebuild
index ea8e969ebb..7e9faf9870 100644
--- a/net-misc/clatd/clatd-2.1.0.ebuild
+++ b/net-misc/clatd/clatd-2.1.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit systemd
+inherit prefix systemd
 
 DESCRIPTION="A CLAT / SIIT-DC Edge Relay implementation for Linux"
 HOMEPAGE="https://github.com/toreanderson/clatd"
@@ -25,6 +25,11 @@ RDEPEND="
 "
 BEPEND="${COMMON_DEPEND}"
 
+src_prepare() {
+	hprefixify scripts/clatd.systemd clatd
+	default
+}
+
 src_compile() {
 	pod2man --name clatd --center "clatd - a CLAT implementation for Linux" \
 	--section 8 README.pod > clatd.8 || die


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/clatd/
@ 2025-06-22 22:55 Lucio Sauer
  0 siblings, 0 replies; 4+ messages in thread
From: Lucio Sauer @ 2025-06-22 22:55 UTC (permalink / raw
  To: gentoo-commits

commit:     5675155f94a3be59d7dc53791275b44f24115346
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Jun 22 21:42:50 2025 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Jun 22 22:54:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5675155f

net-misc/clatd: add dev-lang/perl to BDEPEND

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 net-misc/clatd/clatd-1.6.ebuild   | 11 +++++++----
 net-misc/clatd/clatd-2.1.0.ebuild |  9 ++++++---
 2 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/net-misc/clatd/clatd-1.6.ebuild b/net-misc/clatd/clatd-1.6.ebuild
index 5afaab8b17..8787d907e5 100644
--- a/net-misc/clatd/clatd-1.6.ebuild
+++ b/net-misc/clatd/clatd-1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,8 +13,9 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 
-DEPEND="dev-lang/perl"
-RDEPEND="${DEPEND}
+COMMON_DEPEND="dev-lang/perl"
+RDEPEND="
+	${COMMON_DEPEND}
 	dev-perl/Net-IP
 	dev-perl/Net-DNS
 	virtual/perl-IO-Socket-IP
@@ -22,9 +23,11 @@ RDEPEND="${DEPEND}
 	net-firewall/iptables
 	net-proxy/tayga
 "
+BEPEND="${COMMON_DEPEND}"
 
 src_compile() {
-	pod2man --name clatd --center "clatd - a CLAT implementation for Linux" --section 8 README.pod > clatd.8
+	pod2man --name clatd --center "clatd - a CLAT implementation for Linux" \
+	--section 8 README.pod > clatd.8 || die
 }
 
 src_install() {

diff --git a/net-misc/clatd/clatd-2.1.0.ebuild b/net-misc/clatd/clatd-2.1.0.ebuild
index d66a5ce04f..ea8e969ebb 100644
--- a/net-misc/clatd/clatd-2.1.0.ebuild
+++ b/net-misc/clatd/clatd-2.1.0.ebuild
@@ -13,8 +13,9 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 
-DEPEND="dev-lang/perl"
-RDEPEND="${DEPEND}
+COMMON_DEPEND="dev-lang/perl"
+RDEPEND="
+	${COMMON_DEPEND}
 	dev-perl/Net-IP
 	dev-perl/Net-DNS
 	dev-perl/JSON
@@ -22,9 +23,11 @@ RDEPEND="${DEPEND}
 	net-firewall/iptables
 	net-proxy/tayga
 "
+BEPEND="${COMMON_DEPEND}"
 
 src_compile() {
-	pod2man --name clatd --center "clatd - a CLAT implementation for Linux" --section 8 README.pod > clatd.8
+	pod2man --name clatd --center "clatd - a CLAT implementation for Linux" \
+	--section 8 README.pod > clatd.8 || die
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-06-22 22:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-21 16:25 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/clatd/ YiFei Zhu
  -- strict thread matches above, loose matches on Subject: below --
2025-06-22 22:55 Lucio Sauer
2025-06-22 22:55 Lucio Sauer
2023-05-17  5:29 YiFei Zhu

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