rsadowski a388f1845e Update tinc to 1.0.33
Changelog:
    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.

Port changes:

- "patch-doc_tinc_texi" committed upstream.
- "Using $< in a non-suffix rule context is a GNUmake idiom
   (Makefile:840)" enable USE_GMAKE.c
2017-12-26 22:03:07 +00:00

34 lines
811 B
Makefile

# $OpenBSD: Makefile,v 1.5 2017/12/26 22:03:07 rsadowski Exp $
COMMENT = Virtual Private Network (VPN) daemon
DISTNAME = tinc-1.0.33
CATEGORIES = net security
HOMEPAGE = https://www.tinc-vpn.org/
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM = 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>