Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ngrep/
Date: Wed, 23 Dec 2020 22:57:53
Message-Id: 1608764190.3011b080b8253c0e159bc9cb005adfc1f8090c23.sam@gentoo
1 commit: 3011b080b8253c0e159bc9cb005adfc1f8090c23
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 23 22:56:30 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 23 22:56:30 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3011b080
7
8 net-analyzer/ngrep: cleanup old (EAPI 5)
9
10 Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 net-analyzer/ngrep/Manifest | 1 -
14 net-analyzer/ngrep/ngrep-1.45-r3.ebuild | 54 ---------------------------------
15 2 files changed, 55 deletions(-)
16
17 diff --git a/net-analyzer/ngrep/Manifest b/net-analyzer/ngrep/Manifest
18 index 2e78bb72703..91890d8138f 100644
19 --- a/net-analyzer/ngrep/Manifest
20 +++ b/net-analyzer/ngrep/Manifest
21 @@ -1,2 +1 @@
22 -DIST ngrep-1.45.tar.bz2 463361 BLAKE2B 31f7828fb28197f06a583cd6d250b5d70bfbd2bc5dae657daaed3f7ea286aec4dff9cca449c72a3c27d8e8b30d861304872eaaaa11abc9eb71f2acc94d9fc9f2 SHA512 0feb4080f834449d57ae99897c573d2b8148711cfb550fa4ff415169dedb1f0d23f4b03f625660162ca72f8ad06e19874c1af46da6afd8f8fe8dd553558c14f7
23 DIST ngrep-1.47.tar.gz 187067 BLAKE2B 4fa47ed343b88e84fb5a3ab6e4dc8139cb008ffcbea901a67664335ad76d36e975e037620cebb1b204ba22e5b139e822c7cfbc74a061fc6cacae631be3f87a52 SHA512 47ba65878df6b555701c866721a8a935eabdcce636d398284cbfe5f63baf68c62d994a2f373ea4fc8f44fbed3eecee149f2ee48d39c71c04d34e5a088db8c657
24
25 diff --git a/net-analyzer/ngrep/ngrep-1.45-r3.ebuild b/net-analyzer/ngrep/ngrep-1.45-r3.ebuild
26 deleted file mode 100644
27 index daa699482be..00000000000
28 --- a/net-analyzer/ngrep/ngrep-1.45-r3.ebuild
29 +++ /dev/null
30 @@ -1,54 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -
36 -inherit autotools eutils user
37 -
38 -DESCRIPTION="A grep for network layers"
39 -HOMEPAGE="http://ngrep.sourceforge.net/"
40 -SRC_URI="mirror://sourceforge/ngrep/${P}.tar.bz2"
41 -
42 -LICENSE="ngrep"
43 -SLOT="0"
44 -KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
45 -IUSE="ipv6"
46 -
47 -DEPEND="
48 - dev-libs/libpcre
49 - net-libs/libpcap
50 -"
51 -RDEPEND="${DEPEND}"
52 -
53 -DOCS=(
54 - doc/CHANGES.txt
55 - doc/CREDITS.txt
56 - doc/README.txt
57 - doc/REGEX.txt
58 -)
59 -
60 -src_prepare() {
61 - # Remove bundled libpcre to avoid occasional linking with them
62 - rm -r pcre-5.0 || die
63 -
64 - epatch \
65 - "${FILESDIR}"/${P}-build-fixes.patch \
66 - "${FILESDIR}"/${P}-setlocale.patch \
67 - "${FILESDIR}"/${P}-prefix.patch
68 -
69 - eautoreconf
70 -}
71 -
72 -src_configure() {
73 - econf \
74 - $(use_enable ipv6) \
75 - --disable-pcap-restart \
76 - --enable-pcre \
77 - --with-dropprivs-user=ngrep \
78 - --with-pcap-includes="${EPREFIX}"/usr/include/pcap
79 -}
80 -
81 -pkg_preinst() {
82 - enewgroup ngrep
83 - enewuser ngrep -1 -1 -1 ngrep
84 -}