diff options
author | Cédric Krier <cedk@gentoo.org> | 2007-12-23 12:33:17 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2007-12-23 12:33:17 +0000 |
commit | 8e27c01a484136b74633bd192ebe88d106cbf259 (patch) | |
tree | 237461acfaecd21eae4ac32133da97812ebdff9a /net-analyzer/ngrep | |
parent | Remove old ebuilds. (diff) | |
download | gentoo-2-8e27c01a484136b74633bd192ebe88d106cbf259.tar.gz gentoo-2-8e27c01a484136b74633bd192ebe88d106cbf259.tar.bz2 gentoo-2-8e27c01a484136b74633bd192ebe88d106cbf259.zip |
Add user ngrep for bug #199270
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-analyzer/ngrep')
-rw-r--r-- | net-analyzer/ngrep/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/ngrep/files/digest-ngrep-1.45-r1 | 3 | ||||
-rw-r--r-- | net-analyzer/ngrep/ngrep-1.45-r1.ebuild | 43 |
3 files changed, 52 insertions, 1 deletions
diff --git a/net-analyzer/ngrep/ChangeLog b/net-analyzer/ngrep/ChangeLog index 3fe71637db66..d6adc17f0759 100644 --- a/net-analyzer/ngrep/ChangeLog +++ b/net-analyzer/ngrep/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/ngrep # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ChangeLog,v 1.41 2007/07/09 16:38:25 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ChangeLog,v 1.42 2007/12/23 12:33:17 cedk Exp $ + +*ngrep-1.45-r1 (23 Dec 2007) + + 23 Dec 2007; Cédric Krier <cedk@gentoo.org> +ngrep-1.45-r1.ebuild: + Add user ngrep for bug #199270 09 Jul 2007; Raúl Porcel <armin76@gentoo.org> ngrep-1.45.ebuild: alpha stable diff --git a/net-analyzer/ngrep/files/digest-ngrep-1.45-r1 b/net-analyzer/ngrep/files/digest-ngrep-1.45-r1 new file mode 100644 index 000000000000..25918f489a5b --- /dev/null +++ b/net-analyzer/ngrep/files/digest-ngrep-1.45-r1 @@ -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/ngrep-1.45-r1.ebuild b/net-analyzer/ngrep/ngrep-1.45-r1.ebuild new file mode 100644 index 000000000000..e71372ceb35f --- /dev/null +++ b/net-analyzer/ngrep/ngrep-1.45-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ngrep/ngrep-1.45-r1.ebuild,v 1.1 2007/12/23 12:33:17 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 ~sh ~sparc ~x86 ~x86-fbsd" +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 --with-dropprivs-user=ngrep \ + $(use_enable pcre) \ + $(use_enable ipv6) || die "econf failed" + emake || die "emake failed" +} + +pkg_preinst() { + enewgroup ngrep || die "Failed to add group tcpdump" + enewuser ngrep -1 -1 -1 ngrep || die "Failed to add user tcpdump" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc doc/*.txt +} |