1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/net/mlvpn/Makefile
Olivier Cochard 3c978d9c6d New port: net/mlvpn
MLVPN allow to bond your internet links to increase bandwidth, secure your
internet connection by actively monitoring your links and removing the faulty
ones, without loosing your TCP connections and secure your internet connection
to the aggregation server using cryptography.

WWW: https://zehome.github.io/MLVPN/

Approved by:	mat
Differential Revision:	https://reviews.freebsd.org/D6034
2016-05-09 10:57:52 +00:00

42 lines
1.0 KiB
Makefile

# $FreeBSD$
PORTNAME= mlvpn
PORTVERSION= 2.3.1
CATEGORIES= net
MAINTAINER= olivier@FreeBSD.org
COMMENT= Multi-link VPN
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENCE
LIB_DEPENDS= libev.so:devel/libev \
libsodium.so:security/libsodium
USE_GITHUB= yes
GH_PROJECT= MLVPN
GH_ACCOUNT= zehome
USES= autoreconf libtool pkgconfig localbase
GNU_CONFIGURE= yes
USERS= mlvpn
GROUPS= mlvpn
USE_RC_SUBR= mlvpn
OPTIONS_DEFINE= CONTROL
CONTROL_DESC= Enable UNIX socket/HTTP json remote control API
OPTIONS_DEFAULT= CONTROL
CONTROL_CONFIGURE_OFF= --disable-control
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.conf.5 ${STAGEDIR}${PREFIX}/man/man5
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_MAN} ${WRKSRC}/doc/examples/${PORTNAME}.conf.in ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample
${INSTALL_SCRIPT} ${WRKSRC}/doc/examples/mlvpn_updown.sh.in ${STAGEDIR}${ETCDIR}/mlvpn_updown.sh
.include <bsd.port.mk>