From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ngrep/
Date: Sun, 11 Jul 2021 21:23:18 +0000 (UTC) [thread overview]
Message-ID: <1626038299.f5288dda82ce4164afd230eaf81f91a890c07b23.conikost@gentoo> (raw)
commit: f5288dda82ce4164afd230eaf81f91a890c07b23
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 11 20:21:24 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jul 11 21:18:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5288dda
net-analyzer/ngrep: migrate to GLEP 81
Bug: https://bugs.gentoo.org/781353
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
net-analyzer/ngrep/ngrep-1.47-r1.ebuild | 51 +++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/net-analyzer/ngrep/ngrep-1.47-r1.ebuild b/net-analyzer/ngrep/ngrep-1.47-r1.ebuild
new file mode 100644
index 00000000000..4dbf881dcf4
--- /dev/null
+++ b/net-analyzer/ngrep/ngrep-1.47-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="A grep for network layers"
+HOMEPAGE="https://github.com/jpr5/ngrep"
+SRC_URI="https://github.com/jpr5/ngrep/archive/V${PV/./_}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P/./_}"
+
+LICENSE="ngrep"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="ipv6"
+
+DEPEND="
+ dev-libs/libpcre
+ net-libs/libpcap
+"
+
+RDEPEND="
+ ${DEPEND}
+ acct-group/ngrep
+ acct-user/ngrep
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.47-regex.patch )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable ipv6)
+ --disable-pcap-restart
+ --enable-pcre
+ --with-dropprivs-user=ngrep
+ --with-pcap-includes="${EPREFIX}"/usr/include/pcap
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ emake -C regex-0.12
+ emake STRIPFLAG="${CFLAGS}"
+}
next reply other threads:[~2021-07-11 21:23 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-11 21:23 Conrad Kostecki [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-26 19:11 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ngrep/ Arthur Zamarin
2025-04-26 12:53 Arthur Zamarin
2025-04-26 10:57 Sam James
2025-04-26 5:55 Sam James
2025-04-26 4:05 Sam James
2025-02-16 12:27 Sam James
2023-01-04 4:32 Sam James
2021-07-11 21:23 Conrad Kostecki
2020-12-23 22:57 Sam James
2020-12-21 9:36 Sergei Trofimovich
2020-12-13 23:23 Sam James
2020-12-13 7:42 Sam James
2020-11-27 16:10 Agostino Sarubbo
2020-11-27 8:39 Agostino Sarubbo
2020-11-27 8:06 Agostino Sarubbo
2020-11-27 7:57 Agostino Sarubbo
2020-11-26 23:57 Thomas Deutschmann
2017-01-29 19:33 Fabian Groffen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1626038299.f5288dda82ce4164afd230eaf81f91a890c07b23.conikost@gentoo \
--to=conikost@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox