mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
net-analyzer/thc-ipv6: EAPI8 bump
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user