sys-apps/net-tools: Sync with Gentoo

It's from Gentoo commit 40f2107268c8ec1526722cf0b0c827b09773f0ef.
This commit is contained in:
Sayan Chowdhury 2023-05-16 11:44:27 +05:30
parent 48c4387d18
commit 74b7b6a867
No known key found for this signature in database
GPG Key ID: B02399319CD05C8B
3 changed files with 8 additions and 5 deletions

View File

@ -12,6 +12,7 @@
<flag name="slattach">build the slattach tool (for working with old serial ports)</flag>
</use>
<upstream>
<remote-id type="cpe">cpe:/a:net-tools_project:net-tools</remote-id>
<remote-id type="sourceforge">net-tools</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; then
inherit git-r3
else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
fi
DESCRIPTION="Standard Linux networking tools"
@ -23,7 +23,8 @@ REQUIRED_USE="nis? ( hostname )"
DEPEND="selinux? ( sys-libs/libselinux )"
RDEPEND="${DEPEND}
hostname? ( !sys-apps/coreutils[hostname] )"
hostname? ( !sys-apps/coreutils[hostname] )
nis? ( !net-nds/yp-tools )"
BDEPEND="
selinux? ( virtual/pkgconfig )
app-arch/xz-utils

View File

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@ -23,7 +23,8 @@ REQUIRED_USE="nis? ( hostname )"
DEPEND="selinux? ( sys-libs/libselinux )"
RDEPEND="${DEPEND}
hostname? ( !sys-apps/coreutils[hostname] )"
hostname? ( !sys-apps/coreutils[hostname] )
nis? ( !net-nds/yp-tools )"
BDEPEND="
selinux? ( virtual/pkgconfig )
app-arch/xz-utils