Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ngrep/
Date: Sun, 11 Jul 2021 21:23:22
Message-Id: 1626038300.218548e91d4842589147e5187d7551c2624fcab1.conikost@gentoo
1 commit: 218548e91d4842589147e5187d7551c2624fcab1
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 11 20:22:33 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 11 21:18:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=218548e9
7
8 net-analyzer/ngrep: drop old version
9
10 Closes: https://bugs.gentoo.org/781353
11 Package-Manager: Portage-3.0.20, Repoman-3.0.3
12 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
13
14 net-analyzer/ngrep/ngrep-1.47.ebuild | 55 ------------------------------------
15 1 file changed, 55 deletions(-)
16
17 diff --git a/net-analyzer/ngrep/ngrep-1.47.ebuild b/net-analyzer/ngrep/ngrep-1.47.ebuild
18 deleted file mode 100644
19 index 768d8053525..00000000000
20 --- a/net-analyzer/ngrep/ngrep-1.47.ebuild
21 +++ /dev/null
22 @@ -1,55 +0,0 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -inherit autotools user
28 -
29 -DESCRIPTION="A grep for network layers"
30 -HOMEPAGE="https://github.com/jpr5/ngrep"
31 -SRC_URI="https://github.com/jpr5/ngrep/archive/V${PV/./_}.tar.gz -> ${P}.tar.gz"
32 -
33 -LICENSE="ngrep"
34 -SLOT="0"
35 -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
36 -IUSE="ipv6"
37 -
38 -DEPEND="
39 - dev-libs/libpcre
40 - net-libs/libpcap
41 -"
42 -RDEPEND="
43 - ${DEPEND}
44 -"
45 -DOCS=(
46 - CHANGES
47 - CREDITS
48 - README.md
49 -)
50 -S=${WORKDIR}/${P/./_}
51 -PATCHES=(
52 - "${FILESDIR}"/${PN}-1.47-regex.patch
53 -)
54 -
55 -src_prepare() {
56 - default
57 - eautoreconf
58 -}
59 -
60 -src_configure() {
61 - econf \
62 - $(use_enable ipv6) \
63 - --disable-pcap-restart \
64 - --enable-pcre \
65 - --with-dropprivs-user=ngrep \
66 - --with-pcap-includes="${EPREFIX}"/usr/include/pcap
67 -}
68 -
69 -src_compile() {
70 - emake -C regex-0.12
71 - emake STRIPFLAG="${CFLAGS}"
72 -}
73 -
74 -pkg_preinst() {
75 - enewgroup ngrep
76 - enewuser ngrep -1 -1 -1 ngrep
77 -}