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
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.
o fixed integer overflow with the snaplen that resulted from
an implicit signed/unsigned conversion
o minor change to compensate for some broken compiler
optimizers
o fixed double-free race condition during ngrep termination
o reworked packet length calculation in the main processing
loop, improving performance and readability
o simplified regex build logic in configure and Makefile
o updated Win32 version to use config.h for preprocessor
definitions instead of the Visual Studio project files,
making manual tweaking and config of ngrep for Win32
consistent with *NIX and more obvious
o changed third-party Makefiles to properly clean up after
themselves
o added support for radiotap (IEEE802_11_RADIO)
o changed ``-s 0'' invocation to mimic the equivalent of tcpdump
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
header
o ngrep now sets a pcap filter "ip" by default, if one is not
specified
o header offset fix to 802.11 processing
o support IGMP and Raw (unknown IP protocol) type packets
o support for latest versions of libpcap (0.8.3) and winpcap
(3.1 beta 4)
o updated configure to autoconf 2.59, and config.guess and
config.sub to latest versions
o updated PCRE from 3.4 to 5.0
o and various minor changes and updates to improve ngrep
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)
o added ability to read bpf filter expression from file
o added ability to force the column width to a certain size
o added two new output modes: ``byline'', whose output
respects embedded carriage returns (useful for http dumps),
and ``none'', which prints out each dump as a single line no
matter what.
o added ability to specify alternate nonprintable character
(default is ``.'').
o made ``-q'' effects more consistent and usable for scenarios
where ``-I'' and/or ``-O'' are being employed
o documentation updated
- 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
- 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)
PR: 29588
Submitted by: Pete Fritchman <petef@databits.net>
them to the network layer. ngrep somewhat replaces tcpdump.
{DESCR,COMMENT} Obtained from: NetBSD
[after I started making this port, I realized NetBSD had a port if it]