Return to Makefile CVS log | Up to [local] / ports / net / openvpn |
File: [local] / ports / net / openvpn / Makefile (download)
Revision 1.127, Sun Mar 24 14:08:35 2024 UTC (2 months, 1 week ago) by jca
Update to openvpn-2.6.10 Release notes: https://github.com/OpenVPN/openvpn/blob/v2.6.10/Changes.rst The CVEs fixed in this release only affect the Windows builds. |
COMMENT= easy-to-use, robust, and highly configurable VPN DISTNAME= openvpn-2.6.10 CATEGORIES= net security HOMEPAGE= https://openvpn.net/index.php/open-source/ MAINTAINER= Jeremie Courreges-Anglas <jca@wxcvbn.org> # GPLv2 only PERMIT_PACKAGE= Yes WANTLIB += c lz4 lzo2 SITES= https://swupdate.openvpn.org/community/releases/ BUILD_DEPENDS= textproc/py-docutils,python3 LIB_DEPENDS= archivers/lzo2 \ archivers/lz4 TEST_DEPENDS= devel/cmocka CONFIGURE_STYLE= gnu CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}" CONFIGURE_ARGS+=--with-openssl-engine=no DEBUG_PACKAGES= ${BUILD_PACKAGES} FLAVORS= mbedtls FLAVOR?= .if ${FLAVOR:Mmbedtls} LIB_DEPENDS+= security/polarssl CONFIGURE_ARGS+= --with-crypto-library=mbedtls WANTLIB += mbedcrypto mbedtls mbedx509 pthread .else WANTLIB += crypto ssl .endif SAMPLES_DIR= ${PREFIX}/share/examples/openvpn post-install: cd ${WRKSRC}/sample/; \ find sample-config-files sample-keys sample-scripts -type d \ -exec ${INSTALL_DATA_DIR} ${SAMPLES_DIR}/{} ';' ; \ find sample-config-files sample-keys sample-scripts -type f \ '(' ! -name '*.orig' -a ! -name '.gitignore' ')' \ -exec ${INSTALL_DATA} {} ${SAMPLES_DIR}/{} ';' .include <bsd.port.mk>