openbsd-ports/net/tinc/Makefile
sthen bed7f75fc7 update to tinc-1.1pre18
drop SEPARATE_BUILD, it breaks the tests
2022-03-10 14:31:59 +00:00

34 lines
855 B
Makefile

COMMENT = Virtual Private Network (VPN) daemon
DISTNAME = tinc-1.1pre18
CATEGORIES = net security
EPOCH = 0
HOMEPAGE = https://www.tinc-vpn.org/
# GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB += c crypto curses lzo2 m readline 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" \
tinc_cv_attribute___nonnull__=yes
USE_GMAKE = Yes
TEST_IS_INTERACTIVE = XXX spawns tincd processes, \
${WRKSRC}/test/legacy-protocol.test stalls
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>