Diff thc-ipv6-3.2-r1 with a thc-ipv6-9999

/usr/portage/net-analyzer/thc-ipv6/thc-ipv6-9999.ebuild 2024-07-02 13:51:48.401851569 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2024 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit toolchain-funcs
7 7

  
8 8
DESCRIPTION="Complete tool set to attack the inherent protocol weaknesses of IPV6 and ICMP6"
9
HOMEPAGE="https://www.thc.org/thc-ipv6/"
9
HOMEPAGE="https://github.com/vanhauser-thc/thc-ipv6"
10 10

  
11 11
if [[ ${PV} == *9999 ]]; then
12 12
	EGIT_REPO_URI="https://github.com/vanhauser-thc/thc-ipv6.git"
......
28 28
"
29 29
RDEPEND="${DEPEND}"
30 30

  
31
PATCHES=( "${FILESDIR}/${PN}-3.2-stdint.patch" )
32

  
33 31
src_prepare() {
34
	sed -e '/^CFLAGS=/s,CFLAGS=,CFLAGS?=,' \
32
	sed -e '/^CFLAGS+=-g/s,CFLAGS+=,CFLAGS?=,' \
35 33
		-i Makefile || die
36 34

  
37 35
	if ! use ssl; then
......
48 46

  
49 47
src_install() {
50 48
	emake DESTDIR="${D}" PREFIX="/usr" STRIP="true" install
51
	dodoc CHANGES HOWTO-INJECT README
49
	dodoc CHANGES HOWTO-INJECT README.md
52 50
}
Thank you!