aboutsummaryrefslogtreecommitdiffstats
path: root/security/fastd/Makefile
blob: 435165786bd6aa0adad13676d1e229b65bf4c1b5 (plain) (blame)
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
31
32
33
34
35
36
# $FreeBSD$

PORTNAME=       fastd
PORTVERSION=        17
PORTREVISION=       1
CATEGORIES=     security net
MASTER_SITES=       http://git.universe-factory.net/fastd/snapshot/

MAINTAINER=     crest_maintainer@rlwinm.de
COMMENT=        Fast and Secure Tunnelling Daemon

LICENSE=        BSD2CLAUSE
LICENSE_FILE=       ${WRKSRC}/COPYRIGHT

LIB_DEPENDS=        libjson-c.so:devel/json-c       \
            libsodium.so:security/libsodium \
            libuecc.so:security/libuecc

USES=           bison cmake:outsource pkgconfig tar

USE_RC_SUBR=        fastd

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

.include <bsd.port.pre.mk>

# GCC from base does not support -mpclmul.
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000024
CMAKE_ARGS+=        -DWITH_MAC_GHASH_PCLMULQDQ=FALSE
.endif

post-install:
    ${INSTALL_MAN} ${WRKSRC}/doc/fastd.1 ${STAGEDIR}${PREFIX}/man/man1

.include <bsd.port.post.mk>