mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
net-misc/clatd: new package, add 1.6
Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com>
This commit is contained in:
38
net-misc/clatd/clatd-1.6.ebuild
Normal file
38
net-misc/clatd/clatd-1.6.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user