Port details |
- ngrep Network grep
- 1.45_4 net
=50 1.45_4Version of this port present on the latest quarterly branch. - Maintainer: logan@elandsys.com
 - Port Added: unknown
- Last Update: 2021-04-06 14:31:07
- Commit Hash: 305f148
- People watching this port, also watch:: nmap, wget, unzip, libiconv, libgd
- Also Listed In: security
- License: BSD4CLAUSE
- 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.
WWW: http://ngrep.sourceforge.net/
- SVNWeb : git : Homepage
- 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_4:
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: see SVNWeb link above for full details) |
Date | By | Description |
06 Apr 2021 14:31:07 1.45_4
|
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
01 Oct 2020 14:42:38
1.45_4
|
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> |
23 May 2016 20:35:01
1.45_3
|
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 |
01 Apr 2016 14:16:20
1.45_3
|
mat  |
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat: portmgr
Sponsored by: Absolight |
08 Jan 2015 14:14:25
1.45_3
|
bapt  |
Fix a minor typo
PR: 196463
Submitted by: logan@elandsys.com (maintainer) |
22 Dec 2014 12:08:13
1.45_2
|
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) |
13 May 2014 06:47:54
1.45_1
|
edwin  |
Fix staging |
08 Oct 2013 06:20:34
1.45_1
|
edwin  |
Fix build of net/ngrep on 10.0 |
20 Sep 2013 22:10:25
1.45
|
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
net) |
04 Jun 2013 06:34:05
1.45
|
bapt  |
Convert to new options framework
While here trim parts related to unsupported FreeBSD versions |
20 Mar 2011 12:54:45
1.45
|
miwi  |
- Get Rid MD5 support |
29 Dec 2010 20:04:42
1.45
|
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) |
20 Nov 2009 22:53:09
1.45
|
pav  |
- Mark MAKE_JOBS_UNSAFE
Reported by: pointyhat |
22 Aug 2009 00:32:25
1.45 
|
amdmi3  |
- Switch SourceForge ports to the new File Release System: categories starting
with N |
28 May 2008 07:09:30
1.45
|
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 |
23 Jul 2007 09:36:52
1.45
|
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 |
07 Dec 2006 10:43:58
1.45
|
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 ) |
03 May 2006 03:00:21
1.44_1
|
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> |
15 Apr 2006 20:09:18
1.44
|
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 |
08 Nov 2005 21:45:49
1.44
|
edwin  |
Add SHA256 checksums to the distinfo files. |
11 Sep 2005 08:53:19
1.44
|
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> |
25 Jul 2005 01:30:38
1.43
|
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> |
24 Feb 2005 06:28:20
1.43
|
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 ) |
17 Apr 2004 23:02:28
1.42_1
|
edwin  |
When running ngrep as non-root, the program tried to drop the
priveleges too. This is now disabled via a configure option. |
09 Apr 2004 03:11:19
1.42
|
edwin  |
swap net/bpf.h and pcap.h since it gives strange results when having the
net/libpcap installed. |
29 Mar 2004 04:02:20
1.42
|
edwin  |
fix portdocs while we're at it. (sorry should have been done earlier) |
29 Mar 2004 04:01:13
1.42
|
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 ) |
18 Mar 2004 02:27:55
1.40.1_3
|
trevor  |
Add size data.
Approved by: maintainers |
28 Feb 2004 11:21:56
1.40.1_3
|
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 |
18 Nov 2003 09:15:26
1.40.1_2
|
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> |
11 Nov 2003 22:58:01
1.40.1_2
|
edwin  |
Unbreak build on -stable while keep it buildable on -current.
Noticed by: quite a lot of people. |
08 Nov 2003 23:59:58
1.40.1_1
|
edwin  |
Fix build on -current, thanks to a patch from walt <wa1ter@myrealbox.com>
Use PORTDOCS fully. |
21 Feb 2003 13:15:09
1.40.1
|
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 |