Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/fping: ChangeLog fping-2.4_beta2_p161-r1.ebuild
Date: Wed, 25 Aug 2010 16:22:10
Message-Id: 20100825162207.62D7020051@flycatcher.gentoo.org
1 jer 10/08/25 16:22:07
2
3 Modified: ChangeLog
4 Added: fping-2.4_beta2_p161-r1.ebuild
5 Log:
6 Fix -Q60 minimum ping response time bug by Alex Ghoth.
7
8 (Portage version: 2.2_rc68/cvs/Linux i686)
9
10 Revision Changes Path
11 1.30 net-analyzer/fping/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fping/ChangeLog?rev=1.30&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fping/ChangeLog?rev=1.30&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fping/ChangeLog?r1=1.29&r2=1.30
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/fping/ChangeLog,v
20 retrieving revision 1.29
21 retrieving revision 1.30
22 diff -u -r1.29 -r1.30
23 --- ChangeLog 12 Jul 2010 18:39:32 -0000 1.29
24 +++ ChangeLog 25 Aug 2010 16:22:07 -0000 1.30
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-analyzer/fping
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fping/ChangeLog,v 1.29 2010/07/12 18:39:32 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fping/ChangeLog,v 1.30 2010/08/25 16:22:07 jer Exp $
30 +
31 +*fping-2.4_beta2_p161-r1 (25 Aug 2010)
32 +
33 + 25 Aug 2010; Jeroen Roovers <jer@g.o>
34 + +fping-2.4_beta2_p161-r1.ebuild,
35 + +files/fping-2.4_beta2_p161-min-time.patch:
36 + Fix -Q60 minimum ping response time bug by Alex Ghoth.
37
38 *fping-2.4_beta2_p161 (12 Jul 2010)
39
40
41
42
43 1.1 net-analyzer/fping/fping-2.4_beta2_p161-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fping/fping-2.4_beta2_p161-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fping/fping-2.4_beta2_p161-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: fping-2.4_beta2_p161-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/fping/fping-2.4_beta2_p161-r1.ebuild,v 1.1 2010/08/25 16:22:07 jer Exp $
53
54 EAPI="2"
55
56 inherit autotools eutils flag-o-matic
57
58 DESCRIPTION="A utility to ping multiple hosts at once"
59 SRC_URI="
60 mirror://debian/pool/main/f/${PN}/${PN}_2.4b2-to-ipv6.orig.tar.gz
61 mirror://debian/pool/main/f/${PN}/${PN}_2.4b2-to-ipv6-16.1.diff.gz
62 "
63 HOMEPAGE="http://www.fping.com/"
64
65 SLOT="0"
66 LICENSE="fping"
67 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
68 IUSE="ipv6"
69
70 S="${WORKDIR}/fping-2.4b2_to-ipv6"
71
72 src_prepare() {
73 epatch \
74 "${WORKDIR}"/fping_2.4b2-to-ipv6-16.1.diff \
75 "${FILESDIR}"/${P}-min-time.patch
76 eautoreconf
77
78 if use ipv6; then
79 cp -a "${S}" "${S}-6"
80 fi
81 }
82
83 src_configure() {
84 econf || die "econf failed"
85 if use ipv6; then
86 cd "${S}-6"
87 append-flags -DIPV6
88 econf || die "econf failed"
89 fi
90 }
91
92 src_compile() {
93 emake || die "econf failed"
94 if use ipv6; then
95 cd "${S}-6"
96 emake || die "econf failed"
97 fi
98 }
99
100 src_install () {
101 dosbin "${S}"/${PN} || die "Failed to install fping."
102 if use ipv6; then
103 newsbin "${S}"-6/fping fping6 || die "Failed to install fping."
104 fi
105 fperms 4555 /usr/sbin/fping /usr/sbin/fping6 #241930
106 doman fping.8
107 dodoc ChangeLog README
108 }