summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-16 16:22:43 +0000
committerSam James <sam@gentoo.org>2021-03-16 19:21:35 +0000
commit55124a05d772d03dbc295e2b6f2d9f7b40594505 (patch)
treef7c7f5a3a183d06097536f367a500428dbb9fe0e /net-analyzer/arping
parentnet-analyzer/arp-scan: drop 1.9.6 (diff)
downloadgentoo-55124a05d772d03dbc295e2b6f2d9f7b40594505.tar.gz
gentoo-55124a05d772d03dbc295e2b6f2d9f7b40594505.tar.bz2
gentoo-55124a05d772d03dbc295e2b6f2d9f7b40594505.zip
net-analyzer/arping: tidy up ebuild
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/arping')
-rw-r--r--net-analyzer/arping/arping-2.21.ebuild20
-rw-r--r--net-analyzer/arping/arping-9999.ebuild27
-rw-r--r--net-analyzer/arping/metadata.xml8
3 files changed, 29 insertions, 26 deletions
diff --git a/net-analyzer/arping/arping-2.21.ebuild b/net-analyzer/arping/arping-2.21.ebuild
index 23dba4eacaee..f36e89f11369 100644
--- a/net-analyzer/arping/arping-2.21.ebuild
+++ b/net-analyzer/arping/arping-2.21.ebuild
@@ -8,6 +8,7 @@ inherit autotools fcaps
DESCRIPTION="A utility to see if a specific IP is taken and what MAC owns it"
HOMEPAGE="http://www.habets.pp.se/synscan/programs.php?prog=arping"
SRC_URI="https://github.com/ThomasHabets/${PN}/archive/${P}.tar.gz"
+S="${WORKDIR}/${PN}-${P}"
LICENSE="GPL-2"
SLOT="2"
@@ -15,21 +16,20 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-
IUSE="test"
RESTRICT="!test? ( test )"
-CDEPEND="
+RDEPEND="
net-libs/libpcap
- net-libs/libnet:1.1"
+ net-libs/libnet:1.1
+ !net-misc/iputils[arping(+)]
+"
DEPEND="
- ${CDEPEND}
+ ${RDEPEND}
test? (
dev-libs/check
- dev-python/subunit )"
-RDEPEND="
- ${CDEPEND}
- !net-misc/iputils[arping(+)]"
-
-FILECAPS=( cap_net_raw /usr/sbin/arping )
+ dev-python/subunit
+ )
+"
-S=${WORKDIR}/${PN}-${P}
+FILECAPS=( cap_net_raw usr/sbin/arping )
# patch is in upstream master
PATCHES=( "${FILESDIR}/arping-tests.patch" )
diff --git a/net-analyzer/arping/arping-9999.ebuild b/net-analyzer/arping/arping-9999.ebuild
index 20b7fc882067..13d8502fc949 100644
--- a/net-analyzer/arping/arping-9999.ebuild
+++ b/net-analyzer/arping/arping-9999.ebuild
@@ -1,31 +1,34 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools fcaps git-r3
-DESCRIPTION="A utility to see if a specific IP address is taken and what MAC address owns it"
+inherit autotools git-r3 fcaps
+
+DESCRIPTION="A utility to see if a specific IP is taken and what MAC owns it"
HOMEPAGE="http://www.habets.pp.se/synscan/programs.php?prog=arping"
EGIT_REPO_URI="https://github.com/ThomasHabets/arping"
+S="${WORKDIR}/${PN}-${P}"
LICENSE="GPL-2"
SLOT="2"
-KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
-CDEPEND="
+RDEPEND="
net-libs/libpcap
net-libs/libnet:1.1
+ !net-misc/iputils[arping(+)]
"
DEPEND="
- ${CDEPEND}
- dev-libs/check
-"
-RDEPEND="
- ${CDEPEND}
- !net-misc/iputils[arping(+)]
+ ${RDEPEND}
+ test? (
+ dev-libs/check
+ dev-python/subunit
+ )
"
-FILECAPS=( cap_net_raw /usr/sbin/arping )
+FILECAPS=( cap_net_raw usr/sbin/arping )
src_prepare() {
default
diff --git a/net-analyzer/arping/metadata.xml b/net-analyzer/arping/metadata.xml
index 74c2baebb4ec..2c2a7923cfc8 100644
--- a/net-analyzer/arping/metadata.xml
+++ b/net-analyzer/arping/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>netmon@gentoo.org</email>
- <name>Gentoo network monitoring and analysis project</name>
-</maintainer>
+ <maintainer type="project">
+ <email>netmon@gentoo.org</email>
+ <name>Gentoo network monitoring and analysis project</name>
+ </maintainer>
</pkgmetadata>