Port details |
- ngrep Network grep
- 1.45_5 net =52 1.45_5Version of this port present on the latest quarterly branch.
- Maintainer: logan@elandsys.com
- Port Added: unknown
- Last Update: 2024-02-25 10:05:18
- Commit Hash: 1ce0bfe
- People watching this port, also watch:: nmap, unzip, wget, libiconv, libgd
- Also Listed In: security
- License: BSD4CLAUSE
- WWW:
- https://ngrep.sourceforge.net/
- Description:
- ngrep strives to provide most of GNU grep's common features, applying
them to the network layer.
ngrep a pcap-aware tool that will allow you to specify extended
regular expressions to match against data payloads of packets. It
currently recognizes TCP, UDP, and ICMP across Ethernet, PPP, SLIP,
FDDI, Token Ring and null interfaces, and understands BPF filter
logic in the same fashion as more common packet sniffing tools,
like tcpdump and snoop.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/net/ngrep/ && make install clean
- To add the package, run one of these commands:
- pkg install net/ngrep
- pkg install ngrep
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: ngrep
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (ngrep-1.45.tar.bz2) = aea6dd337da8781847c75b3b5b876e4de9c58520e0d77310679a979fc6402fa7
SIZE (ngrep-1.45.tar.bz2) = 463361
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.3 : devel/gmake
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for ngrep-1.45_5:
CAPSICUM=on: Build with capsicum if kernel supports it
DOCS=on: Build and/or install documentation
IPV6=on: IPv6 protocol support
PCRE=on: Use PCRE instead of GNU regex
PORTS_PCAP=off: Use ports PCAP instead of system PCAP
===> Use 'make config' to modify these settings
- Options name:
- net_ngrep
- USES:
- gmake tar:bzip2
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.45_5 25 Feb 2024 10:05:18 |
Muhammad Moinur Rahman (bofh) |
net/ngrep: Moved man to share/man
Approved by: portmgr (blanket) |
1.45_4 06 Nov 2023 10:03:47 |
Rodrigo Osorio (rodrigo) |
*/*: Update WWW to use HTTPS for sourceforge.net projects
Homepage link is permanent redirected to its HTTPS counterpart
Issue reported by repology : https://repology.org/repository/freebsd/problems
Approved by: portmgr (blanket)
PR: 274888 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.45_4 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.45_4 20 Jul 2022 14:22:37 |
Tobias C. Berner (tcberner) |
net: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ports@c0decafe.net>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Straup Cope <ascope@cpan.org>
* Aaron Zauner <az_mail@gmx.at>
* Adam Jette <jettea46@yahoo.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Alex Bakhtin <Alex.Bakhtin@gmail.com>
* Alex Deiter <Alex.Deiter@Gmail.COM>
* Alex Dupre <ale@FreeBSD.org>
* Alex Dupre <sysadmin@alexdupre.com> (Only the first 15 lines of the commit message are shown above ) |
1.45_4 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.45_4 01 Oct 2020 14:42:38 |
bapt |
Fix ipv6
Incorporate a patch from debian/ubuntu
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615138
https://bugs.launchpad.net/ubuntu/+source/ngrep/+bug/567286
PR: 250027
Submitted by: Laurent Frigault <freebsdbugzilla@agneau.org> |
1.45_3 23 May 2016 20:35:01 |
amdmi3 |
Remove NLS, DOCS, EXAMPLES and IPV6 from OPTIONS_DEFAULT, they are enabled by
default anyway and don't need to be listed
Approved by: portmgr blanket |
1.45_3 01 Apr 2016 14:16:20 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat: portmgr
Sponsored by: Absolight |
1.45_3 08 Jan 2015 14:14:25 |
bapt |
Fix a minor typo
PR: 196463
Submitted by: logan@elandsys.com (maintainer) |
1.45_2 22 Dec 2014 12:08:13 |
koobs |
net/ngrep: Add Capcisum sandboxing support
- Add OPTION and patches for Capsicum support
- Update MAINTAINER
- Add LICENSE (BSD4CLAUSE) and LICENSE_FILE
- Use OPTIONS helpers
- Sort USES/USE section
- Sort OPTIONS_DEFAULT
PR: 195910 (with changes)
Submitted by: logan at elandsys com
Submitted by: feld
Approved by: maintainer (edwin) |
1.45_1 13 May 2014 06:47:54 |
edwin |
Fix staging |
1.45_1 08 Oct 2013 06:20:34 |
edwin |
Fix build of net/ngrep on 10.0 |
1.45 20 Sep 2013 22:10:25 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
net) |
1.45 04 Jun 2013 06:34:05 |
bapt |
Convert to new options framework
While here trim parts related to unsupported FreeBSD versions |
1.45 20 Mar 2011 12:54:45 |
miwi |
- Get Rid MD5 support |
1.45 29 Dec 2010 20:04:42 |
pgollucci |
- DISTNAME= ${PORTNAME}-${PORTVERSION} is the default and not needed.
PR: ports/153292
Submitted by: myself (pgollucci)
Tested by: -exp run by pav
Approved by: portmgr (pav) |
1.45 20 Nov 2009 22:53:09 |
pav |
- Mark MAKE_JOBS_UNSAFE
Reported by: pointyhat |
1.45 22 Aug 2009 00:32:25 |
amdmi3 |
- Switch SourceForge ports to the new File Release System: categories starting
with N |
1.45 28 May 2008 07:09:30 |
anders |
Switch to using GNU make. If PCRE was disabled, it would not build with
FreeBSD make.
Noticed by: Andreas Blaaflaadt
Cc: andreas@blaafladt.no
Approved by: maintainer |
1.45 23 Jul 2007 09:36:52 |
rafan |
- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them. This is determined by running ``configure --help'' in
do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
subdirectory detection.
PR: ports/111470
Approved by: portmgr
Discussed with: stas (Mk/*), gerald (info related stuffs)
Tested by: pointyhat exp run |
1.45 07 Dec 2006 10:43:58 |
edwin |
Update to 1.45
v1.45
o fixed bug where setting the snaplen smaller than the minimum
necessary to read the full headres would cause garbage to be
fed into the pattern matcher
o fixed unreported bug in IPv6/TCP packet length calculation
o relocated the privilege-dropping routine to be invoked right
before entering the packet processing loop, to prevent
interference with necessary permissions to read or write
dumpfiles/etc.
(Only the first 15 lines of the commit message are shown above ) |
1.44_1 03 May 2006 03:00:21 |
edwin |
[patch] net/ngrep segfaults at startup on amd64
# ngrep
Segmentation fault: 11 (core dumped)
[ etc :-) ]
PR: ports/95612
Submitted by: Vasil Dimov <vd@FreeBSD.org> |
1.44 15 Apr 2006 20:09:18 |
mnag |
- Fix build using OPTIONS PORTS_PCAP. libpcap.so.2 are not installed by default,
use libpcap.a.
PR: 94217
Notified by: Chris St Denis <chris___ctgameinfo.com>
Approved by: maintainer timeout, 38 days |
1.44 08 Nov 2005 21:45:49 |
edwin |
Add SHA256 checksums to the distinfo files. |
1.44 11 Sep 2005 08:53:19 |
edwin |
Update port: net/ngrep to 1.44
- Update to 1.44
- Use OPTIONS
- Add IPv6 support
PR: ports/85965
Submitted by: Marcus Alves Grando <marcus@corp.grupos.com.br> |
1.43 25 Jul 2005 01:30:38 |
edwin |
Make net/ngrep work with an installed net/libpcap and WITH_PORTS_PCAP=1.
Submitted by: Jeremie Le Hen <jeremie@le-hen.org>, Florent Thoumie
<flz@xbsd.org> |
1.43 24 Feb 2005 06:28:20 |
edwin |
Upgrade to version 1.43
v1.43
o healed the win32 code fork: ngrep now builds from the same
source tree for all platforms including Windows
o re-wrote the privilege revocation logic after problems were
reported with the SPC version, and removed non-root
drop_privs capability altogether
o fix off-by-one bug which caused ngrep to exit 1 packet early
when ``-A'' as invoked
o Fixed problematic configtest for old broken-redhat-glibc UDP (Only the first 15 lines of the commit message are shown above ) |
1.42_1 17 Apr 2004 23:02:28 |
edwin |
When running ngrep as non-root, the program tried to drop the
priveleges too. This is now disabled via a configure option. |
1.42 09 Apr 2004 03:11:19 |
edwin |
swap net/bpf.h and pcap.h since it gives strange results when having the
net/libpcap installed. |
1.42 29 Mar 2004 04:02:20 |
edwin |
fix portdocs while we're at it. (sorry should have been done earlier) |
1.42 29 Mar 2004 04:01:13 |
edwin |
Upgrade of net/ngrep to version 1.42
Changes for v1.42
o rewrote the entire configure.in/config.h.in to autoconf 2.57
to be more consistent with normal autoconf'd programs.
corrects bugs around packaging impediments and typos.
o improved privilege dropping code and added more options to
configure to govern its behaviour
o added flag to turn off privilege revocation logic
o added multiline match as default and ability to enforce
previous default single-line match (bugfix + feature)
(Only the first 15 lines of the commit message are shown above ) |
1.40.1_3 18 Mar 2004 02:27:55 |
trevor |
Add size data.
Approved by: maintainers |
1.40.1_3 28 Feb 2004 11:21:56 |
edwin |
Fix problems which where there during running of the program:
- checked on 4.8
- checked on 5.2.1 with standard libpcap
- checked on 5.2.1 with net/libpcap
Commands checked:
- ngrep -d fxp1
- ngrep -d fxp1 port 80
- ngrep -d fxp1 GET port 80 |
1.40.1_2 18 Nov 2003 09:15:26 |
edwin |
move the check for the necessarity for the additional patches
regarding the changes in libpcap to 501110 and higher versions of
the FreeBSD operating system
Submitted by: Emanuel Haupt <emanuel.haupt@cablecom.ch> |
1.40.1_2 11 Nov 2003 22:58:01 |
edwin |
Unbreak build on -stable while keep it buildable on -current.
Noticed by: quite a lot of people. |
1.40.1_1 08 Nov 2003 23:59:58 |
edwin |
Fix build on -current, thanks to a patch from walt <wa1ter@myrealbox.com>
Use PORTDOCS fully. |
1.40.1 21 Feb 2003 13:15:09 |
knu |
De-pkg-comment. |
01 Mar 2002 23:45:55 |
petef |
Pass maintainership to Edwin Groothuis <edwin@mavetju.org> from ports@ |
28 Feb 2002 04:39:15 |
obrien |
Update to version 1.40.1. |
22 Aug 2001 19:06:44 |
obrien |
Update to 1.40. - update mastersite - install more docs, use DOCSDIR -
properly support NOPORTDOCS in pkg-plist - sync pkg-descr with current
features - update ngrep.c (the t->tm_mon+1 change has been integrated in 1.40)
- remove patch-Makefile.in (no longer necessary) |
08 Oct 2000 07:19:09 |
asami |
Convert category net to new layout. |
27 Aug 2000 01:35:59 |
obrien |
"Fix a small nit that corrects an oversight in one of our newer features..." |
13 Aug 2000 17:33:54 |
obrien |
Remove useless GNU make'ism. |
09 Aug 2000 10:23:44 |
obrien |
Update to version 1.38. |
03 Jul 2000 04:03:52 |
kris |
Remove directory on deinstall |