summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-06-27 21:04:40 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-06-27 21:04:40 +0000
commit67e56df1896f0a03001bb408e330b9696e7d5177 (patch)
treece1fb2a2d33bbdebd2adc17cd91255d60d6aff12 /net-analyzer/ngrep
parentkeyworded ~arch for amd64, bug 228795 (diff)
downloadgentoo-2-67e56df1896f0a03001bb408e330b9696e7d5177.tar.gz
gentoo-2-67e56df1896f0a03001bb408e330b9696e7d5177.tar.bz2
gentoo-2-67e56df1896f0a03001bb408e330b9696e7d5177.zip
Remove old
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-analyzer/ngrep')
-rw-r--r--net-analyzer/ngrep/ChangeLog7
-rw-r--r--net-analyzer/ngrep/files/ngrep-1.42-libpcap-include.patch255
-rw-r--r--net-analyzer/ngrep/ngrep-1.42.ebuild37
-rw-r--r--net-analyzer/ngrep/ngrep-1.43.ebuild21
-rw-r--r--net-analyzer/ngrep/ngrep-1.44.ebuild26
5 files changed, 6 insertions, 340 deletions
diff --git a/net-analyzer/ngrep/ChangeLog b/net-analyzer/ngrep/ChangeLog
index d507af8a2534..2d80332e28fe 100644
--- a/net-analyzer/ngrep/ChangeLog
+++ b/net-analyzer/ngrep/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/ngrep
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ChangeLog,v 1.44 2008/03/18 23:41:49 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ChangeLog,v 1.45 2008/06/27 21:04:40 armin76 Exp $
+
+ 27 Jun 2008; Raúl Porcel <armin76@gentoo.org>
+ -files/ngrep-1.42-libpcap-include.patch, -ngrep-1.42.ebuild,
+ -ngrep-1.43.ebuild, -ngrep-1.44.ebuild:
+ Remove old
18 Mar 2008; Jeroen Roovers <jer@gentoo.org>
+files/ngrep-1.45-Makefile.in.patch, ngrep-1.45-r1.ebuild:
diff --git a/net-analyzer/ngrep/files/ngrep-1.42-libpcap-include.patch b/net-analyzer/ngrep/files/ngrep-1.42-libpcap-include.patch
deleted file mode 100644
index 31307a71cd93..000000000000
--- a/net-analyzer/ngrep/files/ngrep-1.42-libpcap-include.patch
+++ /dev/null
@@ -1,255 +0,0 @@
-diff -Nru ngrep-1.42/config.h.in ngrep-1.42-libpcap-include-patched/config.h.in
---- ngrep-1.42/config.h.in 2003-12-29 06:25:07.000000000 +0800
-+++ ngrep-1.42-libpcap-include-patched/config.h.in 2004-05-23 19:22:46.178903608 +0800
-@@ -18,3 +18,4 @@
- #define DROPPRIVS_USER @DROPPRIVS_USER@
- #define DROPPRIVS_ONLY_ROOT @DROPPRIVS_ONLY_ROOT@
-
-+#define USE_PCAP_BPF @USE_PCAP_BPF@
-diff -Nru ngrep-1.42/configure.in ngrep-1.42-libpcap-include-patched/configure.in
---- ngrep-1.42/configure.in 2004-01-05 05:03:27.000000000 +0800
-+++ ngrep-1.42-libpcap-include-patched/configure.in 2004-05-23 19:22:47.125759664 +0800
-@@ -162,56 +162,6 @@
- echo 'Configuring Network Grep (ngrep) ...'
- echo
-
--dnl
--dnl Check for DLT_* types that might not have existed in older
--dnl libpcap's
--dnl
--
--present=""
--AC_MSG_CHECKING(for DLT_LINUX_SLL in bpf.h)
--AC_EGREP_CPP(yes,
--[
--#include <net/bpf.h>
--#ifdef DLT_LINUX_SLL
--yes
--#endif
--],
--[HAVE_DLT_LINUX_SLL="1" && echo yes], [HAVE_DLT_LINUX_SLL="0" && echo no])
--
--present=""
--AC_MSG_CHECKING(for DLT_LOOP in bpf.h)
--AC_EGREP_CPP(yes,
--[
--#include <net/bpf.h>
--#ifdef DLT_LOOP
--yes
--#endif
--],
--[HAVE_DLT_LOOP="1" && echo yes], [HAVE_DLT_LOOP="0" && echo no])
--
--
--present=""
--AC_MSG_CHECKING(for DLT_IEEE802_11 in bpf.h)
--AC_EGREP_CPP(yes,
--[
--#include <net/bpf.h>
--#ifdef DLT_IEEE802_11
--yes
--#endif
--],
--[HAVE_DLT_IEEE802_11="1" && echo yes], [HAVE_DLT_IEEE802_11="0" && echo no])
--
--
--present=""
--AC_MSG_CHECKING(for DLT_RAW in bpf.h)
--AC_EGREP_CPP(yes,
--[
--#include <net/bpf.h>
--#ifdef DLT_RAW
--yes
--#endif
--],
--[HAVE_DLT_RAW="1" && echo yes], [HAVE_DLT_RAW="0" && echo no])
-
-
- dnl
-@@ -315,26 +265,6 @@
- EXTRA_DEFINES="$EXTRA_DEFINES -D_BSD_SOURCE=1 -D__FAVOR_BSD=1"
-
-
--dnl
--dnl Now that we're past the OS-specific stuff, which could have
--dnl modified our USE_* and other defines, define them all now.
--dnl
--
--AC_DEFINE_UNQUOTED(USE_PCAP_RESTART, $USE_PCAP_RESTART)
--
--AC_DEFINE_UNQUOTED(USE_PCRE, $USE_PCRE)
--
--AC_DEFINE_UNQUOTED(USE_DROPPRIVS, $USE_DROPPRIVS)
--AC_DEFINE_UNQUOTED(DROPPRIVS_USER, "$DROPPRIVS_USER")
--AC_DEFINE_UNQUOTED(DROPPRIVS_ONLY_ROOT, $DROPPRIVS_ONLY_ROOT)
--
--AC_DEFINE_UNQUOTED(HAVE_DUMB_UDPHDR, $HAVE_DUMB_UDPHDR)
--
--AC_DEFINE_UNQUOTED(HAVE_DLT_RAW, $HAVE_DLT_RAW)
--AC_DEFINE_UNQUOTED(HAVE_DLT_IEEE802_11, $HAVE_DLT_IEEE802_11)
--AC_DEFINE_UNQUOTED(HAVE_DLT_LOOP, $HAVE_DLT_LOOP)
--AC_DEFINE_UNQUOTED(HAVE_DLT_LINUX_SLL, $HAVE_DLT_LINUX_SLL)
--
-
- dnl
- dnl Find ourselves some usable PCAP headers.
-@@ -353,22 +283,33 @@
- [PCAP_DIR=$possible_dirs])
-
- pcap_dir=""
--for dir in $PCAP_DIR ; do
-- if test -d $dir -a -r "$dir/pcap.h" -a \
-- -r "$dir/net/bpf.h" ; then
-- if test -n "$pcap_dir" -a "$pcap_dir" != "$dir"; then
-- echo
-- echo; echo more than one set found in:
-- echo $pcap_dir
-- echo $dir
-- echo; echo please wipe out all unused pcap installations
-- exit
-- else
-- pcap_dir="$dir"
-- fi
-+for dir in $PCAP_DIR ; do
-+ if test -d $dir ; then
-+ if test -r "$dir/pcap.h" ; then
-+ if test -r "$dir/net/$bpf_h" -o -r "$dir/pcap-$bpf_h" ; then
-+ if test -n "$pcap_dir" -a "$pcap_dir" != "$dir"; then
-+ echo
-+ echo; echo more than one set found in:
-+ echo $pcap_dir
-+ echo $dir
-+ echo; echo please wipe out all unused pcap installations
-+ exit
-+ else
-+ pcap_dir="$dir"
-+ fi
-+ fi
-+ fi
- fi
- done
-
-+if test -r "$pcap_dir/pcap-bpf.h" ; then
-+ bpf_h="pcap-bpf.h"
-+ USE_PCAP_BPF="1"&&echo "bpf: use <pcap-bpf.h>"
-+else
-+ bpf_h="net/bpf.h"
-+ USE_PCAP_BPF="0"&&echo "bpf: use <net/bpf.h>"
-+fi
-+
- if test -z "$pcap_dir" ; then
- echo no; echo couldn\'t find a complete set of pcap headers
- exit
-@@ -384,6 +325,56 @@
- fi
-
- dnl
-+dnl Check for DLT_* types that might not have existed in older
-+dnl libpcap's
-+dnl
-+
-+present=""
-+AC_MSG_CHECKING(for DLT_LINUX_SLL in $bpf_h)
-+AC_EGREP_CPP(yes,
-+[
-+#include <$bpf_h>
-+#ifdef DLT_LINUX_SLL
-+yes
-+#endif
-+],
-+[HAVE_DLT_LINUX_SLL="1" && echo yes], [HAVE_DLT_LINUX_SLL="0" && echo no])
-+
-+present=""
-+AC_MSG_CHECKING(for DLT_LOOP in $bpf_h)
-+AC_EGREP_CPP(yes,
-+[
-+#include <$bpf_h>
-+#ifdef DLT_LOOP
-+yes
-+#endif
-+],
-+[HAVE_DLT_LOOP="1" && echo yes], [HAVE_DLT_LOOP="0" && echo no])
-+
-+
-+present=""
-+AC_MSG_CHECKING(for DLT_IEEE802_11 in $bpf_h)
-+AC_EGREP_CPP(yes,
-+[
-+#include <$bpf_h>
-+#ifdef DLT_IEEE802_11
-+yes
-+#endif
-+],
-+[HAVE_DLT_IEEE802_11="1" && echo yes], [HAVE_DLT_IEEE802_11="0" && echo no])
-+
-+
-+present=""
-+AC_MSG_CHECKING(for DLT_RAW in $bpf_h)
-+AC_EGREP_CPP(yes,
-+[
-+#include <$bpf_h>
-+#ifdef DLT_RAW
-+yes
-+#endif
-+],
-+[HAVE_DLT_RAW="1" && echo yes], [HAVE_DLT_RAW="0" && echo no])
-+dnl
- dnl And the library..
- dnl
-
-@@ -410,6 +401,29 @@
- AC_DEFINE_UNQUOTED(PCAP_RESTART_FUNC, $pcap_restart_func)
-
- dnl
-+dnl Now that we're past the OS-specific stuff, which could have
-+dnl modified our USE_* and other defines, define them all now.
-+dnl
-+
-+AC_DEFINE_UNQUOTED(USE_PCAP_RESTART, $USE_PCAP_RESTART)
-+
-+AC_DEFINE_UNQUOTED(USE_PCRE, $USE_PCRE)
-+
-+AC_DEFINE_UNQUOTED(USE_DROPPRIVS, $USE_DROPPRIVS)
-+AC_DEFINE_UNQUOTED(DROPPRIVS_USER, "$DROPPRIVS_USER")
-+AC_DEFINE_UNQUOTED(DROPPRIVS_ONLY_ROOT, $DROPPRIVS_ONLY_ROOT)
-+
-+AC_DEFINE_UNQUOTED(HAVE_DUMB_UDPHDR, $HAVE_DUMB_UDPHDR)
-+
-+AC_DEFINE_UNQUOTED(HAVE_DLT_RAW, $HAVE_DLT_RAW)
-+AC_DEFINE_UNQUOTED(HAVE_DLT_IEEE802_11, $HAVE_DLT_IEEE802_11)
-+AC_DEFINE_UNQUOTED(HAVE_DLT_LOOP, $HAVE_DLT_LOOP)
-+AC_DEFINE_UNQUOTED(HAVE_DLT_LINUX_SLL, $HAVE_DLT_LINUX_SLL)
-+AC_DEFINE_UNQUOTED(USE_PCAP_BPF, $USE_PCAP_BPF)
-+
-+
-+
-+dnl
- dnl AC_SUBST in the tack-on globals..
- dnl
-
-diff -Nru ngrep-1.42/ngrep.c ngrep-1.42-libpcap-include-patched/ngrep.c
---- ngrep-1.42/ngrep.c 2004-03-29 10:15:59.000000000 +0800
-+++ ngrep-1.42-libpcap-include-patched/ngrep.c 2004-05-23 19:22:47.705671504 +0800
-@@ -55,7 +55,7 @@
- #include <netinet/ip_icmp.h>
-
- #include <pcap.h>
--#include <net/bpf.h>
-+
-
- #include <stdlib.h>
- #include <string.h>
-@@ -68,6 +68,13 @@
- #include "config.h"
- #endif
-
-+#if USE_PCAP_BPF
-+#include <pcap-bpf.h>
-+#else
-+#include <net/bpf.h>
-+#endif
-+
-+
- #if USE_PCRE
- #include "pcre-3.4/pcre.h"
- #else
diff --git a/net-analyzer/ngrep/ngrep-1.42.ebuild b/net-analyzer/ngrep/ngrep-1.42.ebuild
deleted file mode 100644
index e6cb18d1ec40..000000000000
--- a/net-analyzer/ngrep/ngrep-1.42.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ngrep-1.42.ebuild,v 1.16 2008/01/16 20:42:01 grobian Exp $
-
-inherit eutils
-
-DESCRIPTION="A grep for network layers"
-HOMEPAGE="http://ngrep.sourceforge.net/"
-SRC_URI="mirror://sourceforge/ngrep/${P}.tar.bz2"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sparc x86"
-IUSE=""
-
-RDEPEND="virtual/libc
- net-libs/libpcap"
-DEPEND="${RDEPEND}"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-libpcap-include.patch
-}
-
-src_compile() {
- WANT_AUTOCONF=2.5 autoconf || die "autoconf failed"
-
- econf || die "econf failed"
- make || die "make failed"
-}
-
-src_install() {
- dobin ngrep
- doman ngrep.8
- dodoc BUGS CHANGES CREDITS INSTALL LICENSE README README.pcre TODO
-}
diff --git a/net-analyzer/ngrep/ngrep-1.43.ebuild b/net-analyzer/ngrep/ngrep-1.43.ebuild
deleted file mode 100644
index 097f4f89f494..000000000000
--- a/net-analyzer/ngrep/ngrep-1.43.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ngrep-1.43.ebuild,v 1.3 2008/01/16 20:42:01 grobian Exp $
-
-DESCRIPTION="A grep for network layers"
-HOMEPAGE="http://ngrep.sourceforge.net/"
-SRC_URI="mirror://sourceforge/ngrep/${P}.tar.bz2"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE=""
-
-RDEPEND="virtual/libc
- net-libs/libpcap"
-#DEPEND="${RDEPEND}"
-
-src_install() {
- emake DESTDIR=${D} install || die "install failed"
- dodoc doc/*.txt
-}
diff --git a/net-analyzer/ngrep/ngrep-1.44.ebuild b/net-analyzer/ngrep/ngrep-1.44.ebuild
deleted file mode 100644
index 74c6f7af57f5..000000000000
--- a/net-analyzer/ngrep/ngrep-1.44.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ngrep-1.44.ebuild,v 1.3 2008/01/16 20:42:01 grobian Exp $
-
-DESCRIPTION="A grep for network layers"
-HOMEPAGE="http://ngrep.sourceforge.net/"
-SRC_URI="mirror://sourceforge/ngrep/${P}.tar.bz2"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="ipv6 pcre"
-
-DEPEND="virtual/libc
- net-libs/libpcap
- pcre? ( dev-libs/libpcre )"
-
-src_compile() {
- econf $(use_enable pcre) $(use_enable ipv6) || die "configure problem"
- emake || die "make problem"
-}
-
-src_install() {
- emake DESTDIR=${D} install || die "install failed"
- dodoc doc/*.txt
-}