public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-analyzer/hping: ChangeLog hping-3_pre20051105-r1.ebuild hping-3_pre20051105.ebuild
@ 2009-12-22 20:26 Jeroen Roovers (jer)
  0 siblings, 0 replies; only message in thread
From: Jeroen Roovers (jer) @ 2009-12-22 20:26 UTC (permalink / raw
  To: gentoo-commits

jer         09/12/22 20:26:02

  Modified:             ChangeLog hping-3_pre20051105.ebuild
  Added:                hping-3_pre20051105-r1.ebuild
  Log:
  Add tcl8.5  patch (stupid configure script). Respect LDFLAGS. Call epatch just once. Call sed just once. Respect libdir. Do not call econf but configure. Readd mysteriously disappearing keywords.
  (Portage version: 2.2_rc60/cvs/Linux i686)

Revision  Changes    Path
1.45                 net-analyzer/hping/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/ChangeLog?rev=1.45&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/ChangeLog?rev=1.45&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/ChangeLog?r1=1.44&r2=1.45

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/hping/ChangeLog,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- ChangeLog	6 Sep 2007 16:42:08 -0000	1.44
+++ ChangeLog	22 Dec 2009 20:26:02 -0000	1.45
@@ -1,6 +1,15 @@
 # ChangeLog for net-analyzer/hping
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/ChangeLog,v 1.44 2007/09/06 16:42:08 jokey Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/ChangeLog,v 1.45 2009/12/22 20:26:02 jer Exp $
+
+*hping-3_pre20051105-r1 (22 Dec 2009)
+
+  22 Dec 2009; Jeroen Roovers <jer@gentoo.org> hping-3_pre20051105.ebuild,
+  +hping-3_pre20051105-r1.ebuild, +files/hping-3_pre20051105-ldflags.patch,
+  +files/hping-3_pre20051105-tcl.patch:
+  Add tcl8.5 patch (stupid configure script). Respect LDFLAGS. Call epatch
+  just once. Call sed just once. Respect libdir. Do not call econf but
+  configure. Readd mysteriously disappearing keywords.
 
   06 Sep 2007; Markus Ullmann <jokey@gentoo.org> -hping-2.0.0_rc2-r1.ebuild,
   -hping-2.0.0_rc3.ebuild:



1.5                  net-analyzer/hping/hping-3_pre20051105.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/hping-3_pre20051105.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/hping-3_pre20051105.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/hping-3_pre20051105.ebuild?r1=1.4&r2=1.5

Index: hping-3_pre20051105.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/hping/hping-3_pre20051105.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- hping-3_pre20051105.ebuild	30 Jul 2007 16:25:59 -0000	1.4
+++ hping-3_pre20051105.ebuild	22 Dec 2009 20:26:02 -0000	1.5
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/hping-3_pre20051105.ebuild,v 1.4 2007/07/30 16:25:59 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/hping-3_pre20051105.ebuild,v 1.5 2009/12/22 20:26:02 jer Exp $
 
 inherit eutils toolchain-funcs
 
@@ -11,7 +11,7 @@
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
 IUSE="tcl debug"
 
 S="${WORKDIR}/${MY_P}"



1.1                  net-analyzer/hping/hping-3_pre20051105-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/hping-3_pre20051105-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/hping-3_pre20051105-r1.ebuild?rev=1.1&content-type=text/plain

Index: hping-3_pre20051105-r1.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/hping-3_pre20051105-r1.ebuild,v 1.1 2009/12/22 20:26:02 jer Exp $

inherit eutils multilib toolchain-funcs

MY_P="${PN}${PV//_pre/-}"
DESCRIPTION="A ping-like TCP/IP packet assembler/analyzer"
HOMEPAGE="http://www.hping.org"
SRC_URI="http://www.hping.org/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
IUSE="tcl debug"

S="${WORKDIR}/${MY_P}"

DEPEND="net-libs/libpcap
	tcl? ( dev-lang/tcl )"

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch \
		"${FILESDIR}"/${P}.patch \
		"${FILESDIR}"/bytesex.h.patch \
		"${FILESDIR}"/${P}-tcl.patch \
		"${FILESDIR}"/${P}-ldflags.patch

	# Correct hard coded values
	sed -i Makefile.in \
		-e "9s:gcc:$(tc-getCC):" \
		-e "10s:/usr/bin/ar:$(tc-getAR):" \
		-e "11s:/usr/bin/ranlib:$(tc-getRANLIB):" \
		-e "s:/usr/local/lib:/usr/$(get_libdir):g" \
		-e "12s:-O2:${CFLAGS}:"
}

src_compile() {
	myconf=""
	use tcl || myconf="--no-tcl"

	# Not an autotools type configure:
	sh configure ${myconf} || die "configure failed"

	if use debug; then
		emake || die "make failed"
	else
		emake DEBUG="" || die "make failed"
	fi
}

src_install () {
	dosbin hping3
	dosym /usr/sbin/hping3 /usr/sbin/hping
	dosym /usr/sbin/hping3 /usr/sbin/hping2

	doman docs/hping3.8

	dodoc INSTALL NEWS README TODO AUTHORS BUGS CHANGES
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-22 20:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-22 20:26 [gentoo-commits] gentoo-x86 commit in net-analyzer/hping: ChangeLog hping-3_pre20051105-r1.ebuild hping-3_pre20051105.ebuild Jeroen Roovers (jer)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox