mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
80592de31a
ipsec traffic (esp and ah) in a pcap capture file. It is somewhat inspired by tcptrace. PR: ports/105137 Submitted by: self Approved by: miwi (mentor)
36 lines
899 B
Makefile
36 lines
899 B
Makefile
# New ports collection makefile for: ipsectrace
|
|
# Date created: 2006-11-04
|
|
# Whom: Babak Farrokhi <babak@farrokhi.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ipsectrace
|
|
PORTVERSION= 0.1.0
|
|
CATEGORIES= net-mgmt security
|
|
MASTER_SITES= http://chewies.net/ \
|
|
http://farrokhi.net/distfiles/
|
|
|
|
MAINTAINER= farrokhi@FreeBSD.org
|
|
COMMENT= IPSEC Traffic Profiler
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -Wno-deprecated" \
|
|
LDFLAGS="${LDFLAGS} -lpcap" INCLUDES="${INCLUDES}"
|
|
PLIST_FILES= bin/ipsectrace
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,-O2,,g' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's,<hash_map>,<hash_map.h>,g' ${WRKSRC}/ipsectrace.h
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ipsectrace ${PREFIX}/bin/ipsectrace
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 600032
|
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|