summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-06-10 12:56:43 +0200
committerJeroen Roovers <jer@gentoo.org>2017-06-10 12:57:18 +0200
commita3c092d2955ddeb6b6d0995a0abf27b2443085ff (patch)
treed25550cd20b452ed10888f9517531d84bbedf434 /net-analyzer/netselect/netselect-0.4.ebuild
parentnet-analyzer/netselect: Version bump. (diff)
downloadgentoo-a3c092d2955ddeb6b6d0995a0abf27b2443085ff.tar.gz
gentoo-a3c092d2955ddeb6b6d0995a0abf27b2443085ff.tar.bz2
gentoo-a3c092d2955ddeb6b6d0995a0abf27b2443085ff.zip
net-analyzer/netselect: Add Debian's IPv6 patch.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'net-analyzer/netselect/netselect-0.4.ebuild')
-rw-r--r--net-analyzer/netselect/netselect-0.4.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/net-analyzer/netselect/netselect-0.4.ebuild b/net-analyzer/netselect/netselect-0.4.ebuild
index c28ca36f4c5b..a6d716516f07 100644
--- a/net-analyzer/netselect/netselect-0.4.ebuild
+++ b/net-analyzer/netselect/netselect-0.4.ebuild
@@ -6,11 +6,15 @@ inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="Ultrafast implementation of ping"
HOMEPAGE="http://apenwarr.ca/netselect/"
-SRC_URI="https://github.com/apenwarr/${PN}/archive/${P}.tar.gz"
+SRC_URI="
+ https://github.com/apenwarr/${PN}/archive/${P}.tar.gz
+ ipv6? ( https://dev.gentoo.org/~jer/${P}-ipv6.patch.xz )
+"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="ipv6"
PATCHES=(
"${FILESDIR}"/${PN}-0.4-bsd.patch
@@ -19,9 +23,9 @@ PATCHES=(
S=${WORKDIR}/${PN}-${P}
src_prepare() {
- default
+ use ipv6 && eapply "${WORKDIR}"/${PN}-0.4-ipv6.patch
- rm -r netinet || die
+ default
tc-export CC
}