Сравнение zmap-2.1.1-r5 с zmap-9999
/usr/portage/net-analyzer/zmap/zmap-9999.ebuild 2023-10-09 14:52:33.348368447 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit cmake fcaps |
|
6 |
inherit cmake fcaps git-r3 |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Fast network scanner designed for Internet-wide network surveys" |
9 | 9 |
HOMEPAGE="https://zmap.io/" |
10 |
SRC_URI="https://github.com/zmap/zmap/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
10 |
EGIT_REPO_URI="https://github.com/zmap/zmap.git" |
|
11 | 11 | |
12 | 12 |
LICENSE="Apache-2.0" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="amd64 arm ~arm64 x86" |
|
15 |
IUSE="mongo redis" |
|
14 |
IUSE="redis" |
|
16 | 15 | |
17 | 16 |
RDEPEND=" |
18 | 17 |
dev-libs/gmp:= |
19 | 18 |
net-libs/libpcap |
20 | 19 |
dev-libs/json-c:= |
21 |
mongo? ( |
|
22 |
dev-db/mongodb |
|
23 |
dev-libs/mongo-c-driver |
|
24 |
) |
|
25 | 20 |
redis? ( dev-libs/hiredis:= ) |
26 | 21 |
" |
27 | 22 |
DEPEND="${RDEPEND}" |
... | ... | |
37 | 32 | |
38 | 33 |
FILECAPS=( cap_net_raw=ep usr/sbin/zmap ) |
39 | 34 | |
40 |
src_prepare() { |
|
41 |
sed \ |
|
42 |
-e '/ggo/s:CMAKE_CURRENT_SOURCE_DIR}:CMAKE_BINARY_DIR}/src:g' \ |
|
43 |
-i src/CMakeLists.txt || die |
|
44 |
cmake_src_prepare |
|
45 |
} |
|
46 | ||
47 | 35 |
src_configure() { |
48 | 36 |
local mycmakeargs=( |
49 | 37 |
-DENABLE_DEVELOPMENT=OFF |
50 | 38 |
-DWITH_WERROR=OFF |
51 |
-DWITH_MONGO="$(usex mongo)" |
|
52 | 39 |
-DWITH_REDIS="$(usex redis)" |
53 | 40 |
) |
54 | 41 |