Сравнение fragroute-1.2.6-r4 с fragroute-1.2.6-r5

/usr/portage/net-analyzer/fragroute/fragroute-1.2.6-r5.ebuild 2025-07-29 16:22:15.664460845 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2025 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
MY_P="${P}-ipv6"
6

  
6 7
inherit autotools
7 8

  
8 9
DESCRIPTION="Testing of network intrusion detection systems, firewalls and TCP/IP stacks"
9 10
HOMEPAGE="https://github.com/stsi/fragroute-ipv6"
10 11
SRC_URI="https://fragroute-ipv6.googlecode.com/files/${MY_P}.tar.gz"
12
S="${WORKDIR}/${MY_P}"
11 13

  
12 14
LICENSE="BSD"
13 15
SLOT="0"
......
17 19
	>=dev-libs/libdnet-1.14-r1
18 20
	dev-libs/libevent:=
19 21
	net-libs/libpcap
22
	dev-libs/libbsd
23

  
20 24
"
21 25
DEPEND="
22 26
	${RDEPEND}
......
28 32
PATCHES=(
29 33
	"${FILESDIR}"/${P}-libdir.patch
30 34
	"${FILESDIR}"/${P}-pcap_open.patch
35
	"${FILESDIR}"/${P}-missing-includes.patch
31 36
)
32
S="${WORKDIR}/${MY_P}"
33 37

  
34 38
src_prepare() {
35 39
	default
......
37 41
	# Remove broken and old files, autotools will regen needed files
38 42
	rm *.m4 acconfig.h missing Makefile.in || die
39 43

  
40
	# Add missing includes
41
	sed -i -e "/#define IPUTIL_H/a#include <stdio.h>\n#include <stdint.h>" iputil.h || die
42

  
43 44
	eautoreconf
44 45
}
45 46

  
Спасибо!