summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/ngrep/ChangeLog6
-rw-r--r--net-analyzer/ngrep/Manifest9
-rw-r--r--net-analyzer/ngrep/files/ngrep-1.41-fix-HAVE_DUMB_UDPHDR-test.patch18
-rw-r--r--net-analyzer/ngrep/ngrep-1.41.ebuild9
4 files changed, 36 insertions, 6 deletions
diff --git a/net-analyzer/ngrep/ChangeLog b/net-analyzer/ngrep/ChangeLog
index 92872e2837b3..e173d7bbc1b2 100644
--- a/net-analyzer/ngrep/ChangeLog
+++ b/net-analyzer/ngrep/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/ngrep
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ChangeLog,v 1.7 2003/08/11 02:01:26 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ChangeLog,v 1.8 2003/11/02 22:20:53 azarah Exp $
+
+ 03 Nov 2003; Martin Schlemmer <azarah@gentoo.org> ngrep-1.41.ebuild,
+ files/ngrep-1.41-fix-HAVE_DUMB_UDPHDR-test.patch:
+ Fix test for HAVE_DUMB_UDPHDR to be in proper C format, closing bug #32535.
*ngrep-1.41 (10 Aug 2003)
diff --git a/net-analyzer/ngrep/Manifest b/net-analyzer/ngrep/Manifest
index bef2d3ffd0fa..42991edf733a 100644
--- a/net-analyzer/ngrep/Manifest
+++ b/net-analyzer/ngrep/Manifest
@@ -1,6 +1,7 @@
-MD5 c3d50addc524ff91921557a45dbd5a5d ChangeLog 1057
+MD5 edd031c9929217f36ad4c4507c352b90 ChangeLog 1260
MD5 91ae0e07d2a5b9d3c1e7a14198bcc47d ngrep-1.40.ebuild 677
-MD5 f071756b7d5ca8375d26c82a58c26ed8 ngrep-1.41.ebuild 679
-MD5 5f8cb88ab65dc7e41938e74b1ae80257 files/digest-ngrep-1.40 62
-MD5 25121c21888e24c6bea5ca388fc07d5c files/ngrep-1.38-r2-gentoo.diff 201
+MD5 a6fd97b50d6878e520b4a9da5e5f7573 ngrep-1.41.ebuild 775
MD5 27a5fb2463a3a04049149b52e991cb72 files/digest-ngrep-1.41 63
+MD5 25121c21888e24c6bea5ca388fc07d5c files/ngrep-1.38-r2-gentoo.diff 201
+MD5 e14eb05b3e5dd4fbdab3da60a7b14076 files/ngrep-1.41-fix-HAVE_DUMB_UDPHDR-test.patch 386
+MD5 5f8cb88ab65dc7e41938e74b1ae80257 files/digest-ngrep-1.40 62
diff --git a/net-analyzer/ngrep/files/ngrep-1.41-fix-HAVE_DUMB_UDPHDR-test.patch b/net-analyzer/ngrep/files/ngrep-1.41-fix-HAVE_DUMB_UDPHDR-test.patch
new file mode 100644
index 000000000000..709bb1d25194
--- /dev/null
+++ b/net-analyzer/ngrep/files/ngrep-1.41-fix-HAVE_DUMB_UDPHDR-test.patch
@@ -0,0 +1,18 @@
+--- ngrep-1.41/configure.orig 2003-11-03 00:15:04.716684800 +0200
++++ ngrep-1.41/configure 2003-11-03 00:15:32.848408128 +0200
+@@ -1764,7 +1764,6 @@
+ #line 1765 "configure"
+ #include "confdefs.h"
+
+-int main() {
+ #ifndef __FAVOR_BSD
+ #define __FAVOR_BSD
+ #endif
+@@ -1775,6 +1774,7 @@
+
+ #include <netinet/udp.h>
+
++int main() {
+ struct udphdr foo;
+ unsigned short bar = foo.uh_sport;
+
diff --git a/net-analyzer/ngrep/ngrep-1.41.ebuild b/net-analyzer/ngrep/ngrep-1.41.ebuild
index 3d2f619d2651..549a08d005ae 100644
--- a/net-analyzer/ngrep/ngrep-1.41.ebuild
+++ b/net-analyzer/ngrep/ngrep-1.41.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ngrep-1.41.ebuild,v 1.2 2003/09/05 23:40:10 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ngrep-1.41.ebuild,v 1.3 2003/11/02 22:20:53 azarah Exp $
S=${WORKDIR}/${P}
DESCRIPTION="A grep for network layers"
@@ -16,6 +16,13 @@ SLOT="0"
LICENSE="as-is"
KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-fix-HAVE_DUMB_UDPHDR-test.patch
+}
+
src_compile() {
econf || die