diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-05-29 10:33:11 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-05-29 10:33:11 +0000 |
commit | 182c9ac342e341fe387f901f205a467ceca973dd (patch) | |
tree | aa5d0aae87a1f13d2ec13516151fa26e0e559c6e /net-analyzer/fping | |
parent | Bump gtk2hs-buildtools to 0.12.3.1 (diff) | |
download | gentoo-2-182c9ac342e341fe387f901f205a467ceca973dd.tar.gz gentoo-2-182c9ac342e341fe387f901f205a467ceca973dd.tar.bz2 gentoo-2-182c9ac342e341fe387f901f205a467ceca973dd.zip |
Version bump. Use append-cppflags for preprocessor flags.
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/fping')
-rw-r--r-- | net-analyzer/fping/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/fping/fping-3.2.ebuild | 50 |
2 files changed, 56 insertions, 1 deletions
diff --git a/net-analyzer/fping/ChangeLog b/net-analyzer/fping/ChangeLog index d303021fbe1c..87deb5ffbc8e 100644 --- a/net-analyzer/fping/ChangeLog +++ b/net-analyzer/fping/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/fping # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fping/ChangeLog,v 1.47 2012/05/03 15:02:38 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fping/ChangeLog,v 1.48 2012/05/29 10:33:11 radhermit Exp $ + +*fping-3.2 (29 May 2012) + + 29 May 2012; Tim Harder <radhermit@gentoo.org> +fping-3.2.ebuild: + Version bump. Use append-cppflags for preprocessor flags. *fping-3.1 (03 May 2012) diff --git a/net-analyzer/fping/fping-3.2.ebuild b/net-analyzer/fping/fping-3.2.ebuild new file mode 100644 index 000000000000..2bef76bbdffa --- /dev/null +++ b/net-analyzer/fping/fping-3.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fping/fping-3.2.ebuild,v 1.1 2012/05/29 10:33:11 radhermit Exp $ + +EAPI=4 + +inherit flag-o-matic + +DESCRIPTION="A utility to ping multiple hosts at once" +HOMEPAGE="http://fping.org/" +SRC_URI="http://fping.org/dist/${P}.tar.gz" + +LICENSE="fping" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos" +IUSE="ipv6" + +src_prepare() { + if use ipv6; then + cp -a "${S}" "${S}-6" + fi +} + +src_configure() { + default + if use ipv6; then + cd "${S}-6" + append-cppflags -DIPV6 + econf + fi +} + +src_compile() { + default + if use ipv6; then + cd "${S}-6" + emake + fi +} + +src_install () { + dosbin "${S}"/src/${PN} + fperms 4555 /usr/sbin/fping #241930 + if use ipv6; then + newsbin "${S}"-6/src/fping fping6 + fperms 4555 /usr/sbin/fping6 + fi + doman doc/fping.8 + dodoc ChangeLog README +} |