Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136530265
D18449.id51650.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D18449.id51650.diff
View Options
Index: Mk/Uses/ssl.mk
===================================================================
--- Mk/Uses/ssl.mk
+++ Mk/Uses/ssl.mk
@@ -41,6 +41,32 @@
_SSL_RUN_DEP= 1
.endif
+.for _v in BROKEN IGNORE
+.if defined(${_v}_SSL) && ${${_v}_SSL:Mopenssl11} && !${${_v}_SSL:Mbase} && ${OSVERSION} >= 1200085
+${_v}_SSL+= base
+${_v}_SSL_REASON_base= ${${_v}_SSL_REASON_openssl111}
+.endif
+
+.if defined(BROKEN_SSL) && ${BROKEN_SSL:M${SSL_DEFAULT}}
+. if defined(BROKEN_SSL_REASON_${SSL_DEFAULT})
+BROKEN= does not build with DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT}: ${BROKEN_SSL_REASON_${SSL_DEFAULT}}
+. elif defined(BROKEN_SSL_REASON)
+BROKEN= does not build with DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT}: ${BROKEN_SSL_REASON}
+. else
+BROKEN= does not build with DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT}
+. endif
+.endif
+
+.if defined(IGNORE_SSL) && ${IGNORE_SSL:M${SSL_DEFAULT}}
+. if defined(IGNORE_SSL_REASON_${SSL_DEFAULT})
+IGNORE= not compatible DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT}: ${IGNORE_SSL_REASON_${SSL_DEFAULT}}
+. elif defined(IGNORE_SSL_REASON)
+IGNORE= not compatible DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT}: ${IGNORE_SSL_REASON}
+. else
+IGNORE= not compatible DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT}
+. endif
+.endif
+
.if ${SSL_DEFAULT} == base
OPENSSLBASE= /usr
OPENSSLDIR?= /etc/ssl
@@ -77,33 +103,13 @@
.error You are using an unsupported SSL provider ${SSL_DEFAULT}
. endif
-. if defined(BROKEN_SSL) && ${BROKEN_SSL:M${SSL_DEFAULT}}
-. if defined(BROKEN_SSL_REASON_${SSL_DEFAULT})
-BROKEN= does not build with DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT}: ${BROKEN_SSL_REASON_${SSL_DEFAULT}}
-. elif defined(BROKEN_SSL_REASON)
-BROKEN= does not build with DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT}: ${BROKEN_SSL_REASON}
-. else
-BROKEN= does not build with DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT}
-. endif
-. endif
-
-. if defined(IGNORE_SSL) && ${IGNORE_SSL:M${SSL_DEFAULT}}
-. if defined(IGNORE_SSL_REASON_${SSL_DEFAULT})
-IGNORE= not compatible DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT}: ${IGNORE_SSL_REASON_${SSL_DEFAULT}}
-. elif defined(IGNORE_SSL_REASON)
-IGNORE= not compatible DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT}: ${IGNORE_SSL_REASON}
-. else
-IGNORE= not compatible DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT}
-. endif
-. endif
-
OPENSSLDIR?= ${OPENSSLBASE}/openssl
-.if defined(_SSL_BUILD_DEP)
+. if defined(_SSL_BUILD_DEP)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libcrypto.so.${OPENSSL_SHLIBVER}:${OPENSSL_PORT}
-.endif
-.if defined(_SSL_RUN_DEP)
+. endif
+. if defined(_SSL_RUN_DEP)
RUN_DEPENDS+= ${LOCALBASE}/lib/libcrypto.so.${OPENSSL_SHLIBVER}:${OPENSSL_PORT}
-.endif
+. endif
OPENSSLRPATH= ${LOCALBASE}/lib
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 19, 4:51 AM (5 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25526305
Default Alt Text
D18449.id51650.diff (2 KB)
Attached To
Mode
D18449: Make openssl111 equivalent to base on 12/13.
Attached
Detach File
Event Timeline
Log In to Comment