diff options
author | Cédric Krier <cedk@gentoo.org> | 2006-12-23 23:39:10 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2006-12-23 23:39:10 +0000 |
commit | ca7a959bc0e3f7f0e0b8080ee22b26a1c2c31dc2 (patch) | |
tree | 5ad30e863fa9a7078f04885bd483ac42f6763e17 /net-analyzer | |
parent | Add ~amd64 wrt bug #129362. (diff) | |
download | gentoo-2-ca7a959bc0e3f7f0e0b8080ee22b26a1c2c31dc2.tar.gz gentoo-2-ca7a959bc0e3f7f0e0b8080ee22b26a1c2c31dc2.tar.bz2 gentoo-2-ca7a959bc0e3f7f0e0b8080ee22b26a1c2c31dc2.zip |
Version bump
(Portage version: 2.1.1-r2)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/ngrep/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/ngrep/files/digest-ngrep-1.45 | 3 | ||||
-rw-r--r-- | net-analyzer/ngrep/files/ngrep-1.45.patch | 37 | ||||
-rw-r--r-- | net-analyzer/ngrep/ngrep-1.45.ebuild | 36 |
4 files changed, 83 insertions, 1 deletions
diff --git a/net-analyzer/ngrep/ChangeLog b/net-analyzer/ngrep/ChangeLog index b49ffd9ec988..56da267a7e57 100644 --- a/net-analyzer/ngrep/ChangeLog +++ b/net-analyzer/ngrep/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/ngrep # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ChangeLog,v 1.30 2006/02/15 23:35:45 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ChangeLog,v 1.31 2006/12/23 23:39:10 cedk Exp $ + +*ngrep-1.45 (23 Dec 2006) + + 23 Dec 2006; Cedric Krier <cedk@gentoo.org> +files/ngrep-1.45.patch, + +ngrep-1.45.ebuild: + Version bump for bug #158845 15 Feb 2006; Markus Ullmann <jokey@gentoo.org> ngrep-1.42.ebuild, ngrep-1.43.ebuild, ngrep-1.44.ebuild: diff --git a/net-analyzer/ngrep/files/digest-ngrep-1.45 b/net-analyzer/ngrep/files/digest-ngrep-1.45 new file mode 100644 index 000000000000..25918f489a5b --- /dev/null +++ b/net-analyzer/ngrep/files/digest-ngrep-1.45 @@ -0,0 +1,3 @@ +MD5 bc8150331601f3b869549c94866b4f1c ngrep-1.45.tar.bz2 463361 +RMD160 d4b89dfa23f6a7c65d3ccefc846362054a46605f ngrep-1.45.tar.bz2 463361 +SHA256 aea6dd337da8781847c75b3b5b876e4de9c58520e0d77310679a979fc6402fa7 ngrep-1.45.tar.bz2 463361 diff --git a/net-analyzer/ngrep/files/ngrep-1.45.patch b/net-analyzer/ngrep/files/ngrep-1.45.patch new file mode 100644 index 000000000000..606b3d93e333 --- /dev/null +++ b/net-analyzer/ngrep/files/ngrep-1.45.patch @@ -0,0 +1,37 @@ +diff -ru ngrep-1.45~/configure.in ngrep-1.45/configure.in +--- ngrep-1.45~/configure.in 2006-12-23 23:44:17.000000000 +0100 ++++ ngrep-1.45/configure.in 2006-12-24 00:32:59.000000000 +0100 +@@ -130,9 +130,10 @@ + echo 'Configuring Perl-Compatible Regular Expression (PCRE) library ...' + echo + +- REGEX_DIR='pcre-5.0' +- REGEX_OBJS="$REGEX_DIR/pcre.o $REGEX_DIR/study.o" ++ REGEX_DIR='' ++ REGEX_OBJS="" + USE_PCRE="1" ++ EXTRA_LIBS="$EXTRA_LIBS `pcre-config --libs`" + + else + +@@ -161,7 +162,7 @@ + dnl OS-specific options + dnl + +-STRIPFLAG="-s" ++STRIPFLAG="" + HAVE_DUMB_UDPHDR="0" + + case "$target_os" in +diff -ru ngrep-1.45~/ngrep.c ngrep-1.45/ngrep.c +--- ngrep-1.45~/ngrep.c 2006-12-23 23:44:17.000000000 +0100 ++++ ngrep-1.45/ngrep.c 2006-12-24 00:34:37.000000000 +0100 +@@ -92,7 +92,7 @@ + #endif + + #if USE_PCRE +-#include "pcre-5.0/pcre.h" ++#include <pcre.h> + #else + #include "regex-0.12/regex.h" + #endif diff --git a/net-analyzer/ngrep/ngrep-1.45.ebuild b/net-analyzer/ngrep/ngrep-1.45.ebuild new file mode 100644 index 000000000000..bff3860b1f67 --- /dev/null +++ b/net-analyzer/ngrep/ngrep-1.45.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ngrep-1.45.ebuild,v 1.1 2006/12/23 23:39:10 cedk Exp $ + +inherit eutils autotools + +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 ~ppc-macos ~ppc64 ~s390 ~sparc ~x86" +IUSE="ipv6 pcre" + +DEPEND="virtual/libc + net-libs/libpcap + pcre? ( dev-libs/libpcre )" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}.patch + eautoreconf +} + +src_compile() { + econf $(use_enable pcre) $(use_enable ipv6) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc doc/*.txt +} |