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

37 lines
790 B
Makefile

COMMENT = link-aggregation VPN software
V = 2.3.5
DISTNAME = mlvpn-$V
REVISION = 2
CATEGORIES = net
HOMEPAGE = https://zehome.github.io/MLVPN/
# BSD
PERMIT_PACKAGE = Yes
# uses pledge()
WANTLIB += c ev m sodium
MASTER_SITES = https://github.com/zehome/MLVPN/releases/download/$V/
DEBUG_PACKAGES = ${BUILD_PACKAGES}
LIB_DEPENDS = devel/libev \
security/libsodium
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --disable-control \
--disable-filters
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
ac_cv_header_valgrind_valgrind_h=no
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mlvpn
mv ${PREFIX}/share/doc/mlvpn/{mlvpn.conf,mlvpn_updown.sh} \
${PREFIX}/share/examples/mlvpn/
.include <bsd.port.mk>