net/aria2: fix after enabling TLSv1.3 for TLS_method()
The port wants to know what version of TLS it is using and asserts that it knows. Unsurprisingly, the mechanism depends on TLS1_3_VERSION being defined to the correct value. We cannot define this publicly in libssl yet since this would result in a lot of breakage in other ports, so use a local define in the build environment. Reported and tested by Martin (martingot () protonmail com) ok gonzalo (maintainer), kn
This commit is contained in:
parent
df777a51a1
commit
927a9dbbb3
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.59 2020/07/15 21:13:23 kn Exp $
|
||||
# $OpenBSD: Makefile,v 1.60 2020/07/21 08:05:06 tb Exp $
|
||||
|
||||
BROKEN-alpha = MetalinkParserStateV4Impl.cc:219:1: internal compiler error: Segmentation fault
|
||||
|
||||
@ -7,6 +7,7 @@ V = 1.35.0
|
||||
DISTNAME = aria2-${V}
|
||||
CATEGORIES = www
|
||||
HOMEPAGE = https://aria2.github.io/
|
||||
REVISION = 0
|
||||
|
||||
MAINTAINER = Gonzalo L. R. <gonzalo@openbsd.org>
|
||||
|
||||
@ -32,7 +33,7 @@ TEST_DEPENDS = ${BUILD_DEPENDS}
|
||||
WANTLIB += c cares crypto expat iconv intl m pthread sqlite3 ssh2 ssl z ${COMPILER_LIBCXX}
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
CONFIGURE_ENV = CPPFLAGS="-DTLS1_3_VERSION=0x0304 -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
CONFIGURE_ARGS += --disable-rpath \
|
||||
|
Loading…
Reference in New Issue
Block a user