Сравнение netselect-0.4-r2 с netselect-9999
/usr/portage/net-analyzer/netselect/netselect-9999.ebuild 2023-10-09 14:52:33.328368447 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
inherit fcaps toolchain-funcs |
|
6 |
inherit fcaps git-r3 toolchain-funcs |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Ultrafast implementation of ping" |
9 | 9 |
HOMEPAGE="http://apenwarr.ca/netselect/" |
10 |
SRC_URI=" |
|
11 |
https://github.com/apenwarr/${PN}/archive/${P}.tar.gz |
|
12 |
ipv6? ( https://dev.gentoo.org/~jsmolic/distfiles/${P}-ipv6.patch.xz ) |
|
13 |
" |
|
10 |
EGIT_REPO_URI="https://github.com/apenwarr/${PN}" |
|
11 |
SRC_URI="ipv6? ( https://dev.gentoo.org/~jsmolic/distfiles/${PN}-0.4-ipv6.patch.xz )" |
|
14 | 12 |
S="${WORKDIR}/${PN}-${P}" |
15 | 13 | |
16 | 14 |
LICENSE="BSD" |
17 | 15 |
SLOT="0" |
18 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|
19 | 16 |
IUSE="ipv6" |
20 | 17 | |
21 | 18 |
PATCHES=( |
... | ... | |
27 | 24 | |
28 | 25 |
FILECAPS=( -g wheel cap_net_raw usr/bin/netselect ) |
29 | 26 | |
27 |
src_unpack() { |
|
28 |
use ipv6 && unpack ${A} |
|
29 |
git-r3_src_unpack |
|
30 |
} |
|
31 | ||
30 | 32 |
src_prepare() { |
31 | 33 |
use ipv6 && eapply "${WORKDIR}"/${PN}-0.4-ipv6.patch |
32 | 34 |