9fdd3d0e74
Version 1.0.36 August 26 2019 * 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. Thanks to Rosen Penev, Quentin Rameau and Werner Schreiber for their contributions to this version of tinc. Version 1.0.35 October 5 2018 * Prevent oracle attacks (CVE-2018-16737, CVE-2018-16738). * Prevent a MITM from forcing a NULL cipher for UDP (CVE-2018-16758). * Minor fixes in the documentation. Thanks to Amine Amri and Rafael Sadowski for their contributions to this version of tinc. Version 1.0.34 June 12 2018 * Fix a potential segmentation fault when connecting to an IPv6 peer via a proxy. * Minor improvements to the build system. * Make the systemd service file identical to the one from the 1.1 branch. * Fix a potential problem causing IPv4 sockets to not work on macOS. Thanks to Maximilian Stein and Wang Liu Shuai for their contributions to this version of tinc. Version 1.0.33 November 4 2017 * Allow compilation from a build directory. * Source code cleanups. * Fix some options specified on the command line not surviving a HUP signal. * Handle tun/tap device returning EPERM or EBUSY. * Disable PMTUDiscovery when TCPOnly is used. * Support the --runstatedir option of the autoconf 2.70. Thanks to Rafael Sadowski and Pierre-Olivier Mercier for their contributions to this version of tinc.
55 lines
1.5 KiB
Makefile
55 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.33 2021/06/12 06:32:02 nia Exp $
|
|
|
|
DISTNAME= tinc-1.0.36
|
|
CATEGORIES= net
|
|
MASTER_SITES= https://www.tinc-vpn.org/packages/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.tinc-vpn.org/
|
|
COMMENT= Virtual Private Network (VPN) daemon
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
INFO_FILES= yes
|
|
USE_TOOLS+= msgfmt
|
|
GNU_CONFIGURE= yes
|
|
|
|
EGDIR= ${PREFIX}/share/examples/tinc
|
|
TINC_USER?= tinc
|
|
TINC_GROUP?= tinc
|
|
|
|
PKG_GROUPS_VARS+= TINC_GROUP
|
|
PKG_USERS_VARS+= TINC_USER
|
|
|
|
PKG_GROUPS= ${TINC_GROUP}
|
|
PKG_USERS= ${TINC_USER}:${TINC_GROUP}
|
|
PKG_SHELL.${TINC_USER}= ${SH}
|
|
|
|
OWN_DIRS+= ${VARBASE}/log/tinc
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/default
|
|
|
|
INSTALLATION_DIRS= share/examples/tinc
|
|
|
|
PKG_SYSCONFSUBDIR= tinc
|
|
|
|
CONF_FILES_PERMS+= ${EGDIR}/tinc.conf ${PKG_SYSCONFDIR}/default/tinc.conf \
|
|
${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 644
|
|
CONF_FILES_PERMS+= ${EGDIR}/tinc-up ${PKG_SYSCONFDIR}/default/tinc-up \
|
|
${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 755
|
|
CONF_FILES_PERMS+= ${EGDIR}/tinc-down ${PKG_SYSCONFDIR}/default/tinc-down \
|
|
${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 755
|
|
|
|
SMF_METHODS= tinc
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${FILESDIR}/tinc.conf ${DESTDIR}${EGDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/tinc-up ${DESTDIR}${EGDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/tinc-down ${DESTDIR}${EGDIR}
|
|
|
|
.include "../../archivers/lzo/buildlink3.mk"
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|