25c1717a9b
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
46 lines
944 B
Makefile
46 lines
944 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: ngrep
|
|
# Date created: Sat Jan 01, 2000
|
|
# Whom: David O'Brien (obrien@NUXI.com)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ngrep
|
|
PORTVERSION= 1.43
|
|
CATEGORIES= net security
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= edwin@mavetju.org
|
|
COMMENT= Network grep
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-pcre \
|
|
--disable-pcap-restart \
|
|
--enable-dropprivs-onlyroot \
|
|
--mandir=${PREFIX}/man/
|
|
ALL_TARGET= ngrep
|
|
USE_BZIP2= yes
|
|
|
|
MAN8= ngrep.8
|
|
PLIST_FILES= bin/ngrep
|
|
|
|
PORTDOCS= CHANGES.txt CREDITS.txt INSTALL.txt LICENSE.txt \
|
|
README.txt REGEX.txt
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in ${PORTDOCS}
|
|
@if [ -f ${WRKSRC}/${file} ]; then \
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}; \
|
|
else \
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}; \
|
|
fi
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|