commit: 4514443bf70b5a5ea226ca2b5a6ec91425ee603e Author: Rick Farina <zerochaos <AT> gentoo <DOT> org> AuthorDate: Fri Jan 30 20:04:14 2026 +0000 Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org> CommitDate: Fri Jan 30 20:04:25 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4514443b
net-analyzer/thc-ipv6: add 3.8_p20250914 Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org> Closes: https://bugs.gentoo.org/953301 Closes: https://bugs.gentoo.org/945189 Closes: https://bugs.gentoo.org/879869 net-analyzer/thc-ipv6/Manifest | 1 + .../thc-ipv6/thc-ipv6-3.8_p20250914.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/net-analyzer/thc-ipv6/Manifest b/net-analyzer/thc-ipv6/Manifest index 2f99cfa8c685..113b3be56137 100644 --- a/net-analyzer/thc-ipv6/Manifest +++ b/net-analyzer/thc-ipv6/Manifest @@ -1 +1,2 @@ DIST thc-ipv6-3.8.tar.gz 705821 BLAKE2B a2b57e13a47aacf1205b87c6f30cbea2468f47aad7232b92190995bf7ffbb64904d4d0cd187657c12584cd41e66cb0e4db3b6d826d41287aa020398de8ca7f91 SHA512 e3d8c80e1383e4825a3db717192446754d01e8e3098deb3075df0d60f79f014cefbd62a16c04379539e42c74513aa0f8bb97fc59221e100563aa7c6398a8b893 +DIST thc-ipv6-3.8_p20250914.gh.tar.gz 706436 BLAKE2B ca30894aea43ae76f146169e51c0985bfec134fb747f2d79525688ebd0e77e64490ef7fd4190464bf6494ed2a884c0bca419ac144dcca2fb54fc884546d591cc SHA512 0420b69361dd8461d40e28a87a69deb21ba61ca53e9f9402efd3f4378ce7aa32919c5430ca6d4e3cacf6cc82b1648826cb4e022d9a362c662a73d9c0c8c86050 diff --git a/net-analyzer/thc-ipv6/thc-ipv6-3.8_p20250914.ebuild b/net-analyzer/thc-ipv6/thc-ipv6-3.8_p20250914.ebuild new file mode 100644 index 000000000000..046a15f51609 --- /dev/null +++ b/net-analyzer/thc-ipv6/thc-ipv6-3.8_p20250914.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Complete tool set to attack the inherent protocol weaknesses of IPV6 and ICMP6" +HOMEPAGE="https://github.com/vanhauser-thc/thc-ipv6" + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/vanhauser-thc/thc-ipv6.git" + EGIT_BRANCH=master + inherit git-r3 +else + HASH="7f3589fab681966d0b0c76ab9709ff9cafbd009a" + S="${WORKDIR}/${PN}-${HASH}" + SRC_URI="https://github.com/vanhauser-thc/thc-ipv6/archive/${HASH}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="AGPL-3 openssl" +SLOT="0" +IUSE="ssl" + +DEPEND=" + net-libs/libnetfilter_queue + net-libs/libpcap + ssl? ( dev-libs/openssl:0= ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -e '/^CFLAGS+=-g/s,CFLAGS+=,CFLAGS?=,' \ + -i Makefile || die + + if ! use ssl; then + sed -e '/^HAVE_SSL/s:^:#:' \ + -i Makefile || die + fi + + default +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="/usr" STRIP="true" install + dodoc CHANGES HOWTO-INJECT README.md +}
