Сравнение mtr-0.95-r1 с mtr-9999
| /usr/portage/net-analyzer/mtr/mtr-9999.ebuild 2025-07-29 16:22:15.668460860 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2023 Gentoo Authors |
|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 13 | 13 |
inherit git-r3 |
| 14 | 14 |
else |
| 15 | 15 |
SRC_URI="https://github.com/traviscross/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
| 16 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
|
| 16 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
|
| 17 | 17 |
fi |
| 18 | 18 | |
| 19 | 19 |
LICENSE="GPL-2" |
| 20 | 20 |
SLOT="0" |
| 21 |
IUSE="gtk +ipinfo +ipv6 jansson ncurses" |
|
| 22 |
# TODO: This is an inherited RESTRICT - figure out why! |
|
| 21 |
IUSE="gui +ipinfo +ipv6 jansson ncurses" |
|
| 22 |
# Tests timeout even w/o sandbox |
|
| 23 | 23 |
RESTRICT="test" |
| 24 | 24 | |
| 25 | 25 |
RDEPEND=" |
| 26 |
gtk? ( |
|
| 26 |
gui? ( |
|
| 27 | 27 |
dev-libs/glib:2 |
| 28 | 28 |
x11-libs/gtk+:3 |
| 29 | 29 |
) |
| ... | ... | |
| 37 | 37 |
FILECAPS=( cap_net_raw usr/sbin/mtr-packet ) |
| 38 | 38 | |
| 39 | 39 |
PATCHES=( |
| 40 |
"${FILESDIR}"/${PN}-0.88-tinfo.patch
|
|
| 41 |
"${FILESDIR}"/${P}-fortify-source-3.patch
|
|
| 40 |
"${FILESDIR}"/${PN}-0.96-tinfo.patch
|
|
| 42 | 41 |
) |
| 43 | 42 | |
| 44 | 43 |
src_prepare() {
|
| ... | ... | |
| 48 | 47 |
} |
| 49 | 48 | |
| 50 | 49 |
src_configure() {
|
| 51 |
econf \ |
|
| 52 |
$(use_enable ipv6) \ |
|
| 53 |
$(use_with gtk) \ |
|
| 54 |
$(use_with ipinfo) \ |
|
| 55 |
$(use_with jansson) \ |
|
| 56 |
$(use_with ncurses) \ |
|
| 50 |
local myeconfargs=( |
|
| 51 |
$(use_enable ipv6) |
|
| 52 |
$(use_with gui gtk) |
|
| 53 |
$(use_with ipinfo) |
|
| 54 |
$(use_with jansson) |
|
| 55 |
$(use_with ncurses) |
|
| 57 | 56 |
--with-bashcompletiondir="$(get_bashcompdir)" |
| 57 |
) |
|
| 58 | ||
| 59 |
econf "${myeconfargs[@]}"
|
|
| 58 | 60 |
} |
| 59 | 61 | |
| 60 | 62 |
pkg_postinst() {
|