diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-26 00:07:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-26 00:07:28 +0100 |
commit | 994fe442814c4d169bb0f1ee9745604928006b39 (patch) | |
tree | 630f10f7414f44018095dd9d3cf9df55852a9d41 /net-analyzer/thc-ipv6 | |
parent | f8999218b5a6eafa151e7367030cbfdb69e045ed (diff) |
gentoo auto-resync : 26:05:2024 - 00:07:27
Diffstat (limited to 'net-analyzer/thc-ipv6')
-rw-r--r-- | net-analyzer/thc-ipv6/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/thc-ipv6/thc-ipv6-3.8.ebuild | 50 | ||||
-rw-r--r-- | net-analyzer/thc-ipv6/thc-ipv6-9999.ebuild | 12 |
3 files changed, 58 insertions, 8 deletions
diff --git a/net-analyzer/thc-ipv6/Manifest b/net-analyzer/thc-ipv6/Manifest index 028f190c2a89..6b7bbe906eaa 100644 --- a/net-analyzer/thc-ipv6/Manifest +++ b/net-analyzer/thc-ipv6/Manifest @@ -1,5 +1,7 @@ AUX thc-ipv6-3.2-stdint.patch 208 BLAKE2B 639a1ceec32ab48b886d721b7ea197dd39efe4ab5f62f8f1fffe04e68560336269e9b3b021c90ef635948bfbbbc0c60e0cb2c56e60e7bca3dfdc7c0d823dfdd9 SHA512 635438ba4a64eb63d51130643afd73e87e83313532f351e1f124cd0f34d719a67d77e592595707e65c8fd5b69a00cf04942688668e5a9c921807934ca602fd8e DIST thc-ipv6-3.2.tar.gz 1595453 BLAKE2B f1bb1cdc31f4cf4d067b39997ca3cc2d6d8c15e7a8c585c7c494f03e229fccbcd65677e382a65f0e650d79278f5ede89173db1cdf313ade7c48dff1566856afa SHA512 648db4618ebb83572e2e318cdbb284fe96a86adf335f7dd9b26fd010c76d12e9137ed7367207c66c93c1961c868d3917d706db9f597289ac47ea3f9b83c03441 +DIST thc-ipv6-3.8.tar.gz 705821 BLAKE2B a2b57e13a47aacf1205b87c6f30cbea2468f47aad7232b92190995bf7ffbb64904d4d0cd187657c12584cd41e66cb0e4db3b6d826d41287aa020398de8ca7f91 SHA512 e3d8c80e1383e4825a3db717192446754d01e8e3098deb3075df0d60f79f014cefbd62a16c04379539e42c74513aa0f8bb97fc59221e100563aa7c6398a8b893 EBUILD thc-ipv6-3.2-r1.ebuild 1049 BLAKE2B 06d840fb5de47ccc7feeeb3f93764f08b4752caf2e93274aca98a3c90e46b31f358e6b741cc078815187e4bb26a50215603558114c51d6f9e7466bbb1cb7c20b SHA512 cd045cd455076f9e44a1343dc6763ee9e02b7661a07a4f42f7baafd89d61797fd9eb1089b2c7438bc27d47df5ce64676ffd26bcf495f26b70366d90903773262 -EBUILD thc-ipv6-9999.ebuild 1049 BLAKE2B 06d840fb5de47ccc7feeeb3f93764f08b4752caf2e93274aca98a3c90e46b31f358e6b741cc078815187e4bb26a50215603558114c51d6f9e7466bbb1cb7c20b SHA512 cd045cd455076f9e44a1343dc6763ee9e02b7661a07a4f42f7baafd89d61797fd9eb1089b2c7438bc27d47df5ce64676ffd26bcf495f26b70366d90903773262 +EBUILD thc-ipv6-3.8.ebuild 1016 BLAKE2B d892243e406d08d0305220887f8ed05e61687ba5b17e96013a7cb7a08439b6c9f712d9ae6204b5f7c43ea4dbcde6eef8ab0678d5a3d17aa7b6b4c48ea3579e73 SHA512 ee5db9c41ccab8a80a6a0395c07595d98781b9da8645bc70c32b17cb4d73d75e791ce0e91b26f016e9c714bc37ceafee74c13ed74861c064640a48bb9a4e7104 +EBUILD thc-ipv6-9999.ebuild 1018 BLAKE2B 56af0476f1d846d7eb441047386dc96f60e76562958c2c3f5100633eb94a2080b0708646e1008334fc1f32fc785480d6aca9c2ecd84a63d8a167ab565130b187 SHA512 344127f4dc9f9ddfa4b3b7bc9802cfffcf8410a0fb34143640015781f9fdf0fca726ca9b7a8f0ef4e6423904eb8233c8a45e53826c3122b45e1cfbb0a402b770 MISC metadata.xml 255 BLAKE2B 2964c1a3997d3ac21e6a11a22a2dc49d8d4cf3699e1f6239a6c381e7a92d2c05996b35ec4497cba967bbdaab9500e7a6c3c79b10302b94a034af04e885293a50 SHA512 900dea0668d957aed87d4044d689a1b5b7f1be317a70c06b23680ad6616960912816bbe452f0b544eb1f9096bbf62720615db07c955630810927647e6263995d diff --git a/net-analyzer/thc-ipv6/thc-ipv6-3.8.ebuild b/net-analyzer/thc-ipv6/thc-ipv6-3.8.ebuild new file mode 100644 index 000000000000..53f532b0d072 --- /dev/null +++ b/net-analyzer/thc-ipv6/thc-ipv6-3.8.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 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 + SRC_URI="https://github.com/vanhauser-thc/${PN}/archive/v${PV}.tar.gz -> ${P}.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 +} diff --git a/net-analyzer/thc-ipv6/thc-ipv6-9999.ebuild b/net-analyzer/thc-ipv6/thc-ipv6-9999.ebuild index b5817554f26c..d1e5d1c4b80d 100644 --- a/net-analyzer/thc-ipv6/thc-ipv6-9999.ebuild +++ b/net-analyzer/thc-ipv6/thc-ipv6-9999.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit toolchain-funcs DESCRIPTION="Complete tool set to attack the inherent protocol weaknesses of IPV6 and ICMP6" -HOMEPAGE="https://www.thc.org/thc-ipv6/" +HOMEPAGE="https://github.com/vanhauser-thc/thc-ipv6" if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://github.com/vanhauser-thc/thc-ipv6.git" @@ -28,10 +28,8 @@ DEPEND=" " RDEPEND="${DEPEND}" -PATCHES=( "${FILESDIR}/${PN}-3.2-stdint.patch" ) - src_prepare() { - sed -e '/^CFLAGS=/s,CFLAGS=,CFLAGS?=,' \ + sed -e '/^CFLAGS+=-g/s,CFLAGS+=,CFLAGS?=,' \ -i Makefile || die if ! use ssl; then @@ -48,5 +46,5 @@ src_compile() { src_install() { emake DESTDIR="${D}" PREFIX="/usr" STRIP="true" install - dodoc CHANGES HOWTO-INJECT README + dodoc CHANGES HOWTO-INJECT README.md } |