- Fix compiling tinc with certain versions of the OpenSSL library. - Fix parsing some IPv6 addresses with :: in them. - Fix GraphDumpFile output to handle node names starting with a digit. - Fix a potential segmentation fault when fragmenting packets. Take maintainer; OK rsadowski
35 lines
801 B
Makefile
35 lines
801 B
Makefile
# $OpenBSD: Makefile,v 1.13 2019/09/02 20:55:08 kn Exp $
|
|
|
|
COMMENT = Virtual Private Network (VPN) daemon
|
|
DISTNAME = tinc-1.0.36
|
|
CATEGORIES = net security
|
|
EPOCH = 0
|
|
|
|
HOMEPAGE = https://www.tinc-vpn.org/
|
|
|
|
MAINTAINER = Klemens Nanni <kn@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += c crypto lzo2 z
|
|
|
|
MASTER_SITES = https://www.tinc-vpn.org/packages/
|
|
|
|
LIB_DEPENDS += archivers/lzo2
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tinc
|
|
cp -r ${WRKSRC}/doc/sample-config/* ${PREFIX}/share/examples/tinc/
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/examples/tinc/
|
|
chmod -R u=rwX,go=rX ${PREFIX}/share/examples/tinc/*
|
|
|
|
.include <bsd.port.mk>
|