summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-15 23:33:50 +0000
committerSam James <sam@gentoo.org>2021-03-15 23:33:50 +0000
commit17382e90578b701a3480063af93dfa21b7e2921c (patch)
treef55fd54e9a0cf8588659760dcd06f28ab0983fa2 /net-analyzer/netselect/netselect-0.4-r2.ebuild
parentnet-analyzer/netselect: Add filecaps support (diff)
downloadgentoo-17382e90578b701a3480063af93dfa21b7e2921c.tar.gz
gentoo-17382e90578b701a3480063af93dfa21b7e2921c.tar.bz2
gentoo-17382e90578b701a3480063af93dfa21b7e2921c.zip
net-analyzer/netselect: minor style adjustments
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/netselect/netselect-0.4-r2.ebuild')
-rw-r--r--net-analyzer/netselect/netselect-0.4-r2.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-analyzer/netselect/netselect-0.4-r2.ebuild b/net-analyzer/netselect/netselect-0.4-r2.ebuild
index e887b8335a1a..d3d78753312f 100644
--- a/net-analyzer/netselect/netselect-0.4-r2.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
inherit fcaps toolchain-funcs
DESCRIPTION="Ultrafast implementation of ping"
@@ -10,6 +11,7 @@ SRC_URI="
https://github.com/apenwarr/${PN}/archive/${P}.tar.gz
ipv6? ( https://dev.gentoo.org/~jer/${P}-ipv6.patch.xz )
"
+S="${WORKDIR}/${PN}-${P}"
LICENSE="BSD"
SLOT="0"
@@ -25,8 +27,6 @@ DOCS=( HISTORY README )
FILECAPS=( -g wheel cap_net_raw /usr/bin/netselect )
-S=${WORKDIR}/${PN}-${P}
-
src_prepare() {
use ipv6 && eapply "${WORKDIR}"/${PN}-0.4-ipv6.patch