summaryrefslogtreecommitdiff
path: root/net/ipdecap/Makefile
blob: 8067920670591e92be0a23009f235edbab806003 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

PORTNAME=	ipdecap
PORTVERSION=	0.7.2
DISTVERSIONPREFIX=	v
PORTREVISION=	1
CATEGORIES=	net

MAINTAINER=	loic-freebsd@loicp.eu
COMMENT=	Decapsulate traffic encapsulated within GRE, IPIP, 6in4, ESP protocols

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	${LOCALBASE}/include/pcap/vlan.h:net/libpcap
LIB_DEPENDS=	libpcap.so:net/libpcap	# require ports libpcap

USES=		autoreconf gmake ssl
USE_GITHUB=	yes

GH_ACCOUNT=	lpefferkorn

GNU_CONFIGURE=	yes
CFLAGS+=	-I${OPENSSLINC}
LDFLAGS+=	-L${OPENSSLLIB}
TEST_TARGET=	check

PLIST_FILES=	bin/ipdecap\
		man/man1/ipdecap.1.gz

.include <bsd.port.mk>