openbsd-ports/net/tinc/Makefile
ajacoutot c4096e6659 Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:16:56 +00:00

35 lines
869 B
Makefile

COMMENT = Virtual Private Network (VPN) daemon
DISTNAME = tinc-1.1pre18
CATEGORIES = net security
EPOCH = 0
REVISION = 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>