diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-25 15:53:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-25 15:53:58 +0100 |
commit | b8c48743664466ac0f638f0949fd78bfb9f5eae6 (patch) | |
tree | dd60615a286df950811f8267c0631e1fd97eac58 /net-proxy/tayga/tayga-0.9.2-r4.ebuild | |
parent | cf9065b9fe1f8c33a6e488fce1ee75d893cd351f (diff) |
gentoo auto-resync : 25:10:2022 - 15:53:58
Diffstat (limited to 'net-proxy/tayga/tayga-0.9.2-r4.ebuild')
-rw-r--r-- | net-proxy/tayga/tayga-0.9.2-r4.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net-proxy/tayga/tayga-0.9.2-r4.ebuild b/net-proxy/tayga/tayga-0.9.2-r4.ebuild new file mode 100644 index 000000000000..00f3a03f825b --- /dev/null +++ b/net-proxy/tayga/tayga-0.9.2-r4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Out-of-kernel stateless NAT64 implementation based on TUN" +HOMEPAGE="http://www.litech.org/tayga/" +SRC_URI="http://www.litech.org/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +PATCHES=( + "${FILESDIR}"/${P}-static-EAM.patch + "${FILESDIR}"/${P}-manpage-RFC.patch + "${FILESDIR}"/${P}-release-reserved-addr.patch + "${FILESDIR}"/${PN}-0.9.2-Fix-implicit-function-declaration.patch +) + +src_prepare() { + default + sed -e '/^CFLAGS/d' \ + -i configure.ac || die "sed failed" + eautoreconf +} + +src_install() { + default + newconfd "${FILESDIR}"/tayga.confd ${PN} + newinitd "${FILESDIR}"/tayga.initd ${PN} +} |