projects
/
openiked-portable
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c01e61
)
Make port broken if openssl version 1.1.0+ is not available
master
author
David Marec
<DavidMarec@users.noreply.github.com>
Wed, 26 May 2021 20:49:16 +0000
(22:49 +0200)
committer
David Marec
<DavidMarec@users.noreply.github.com>
Wed, 26 May 2021 20:49:16 +0000
(22:49 +0200)
i.e. FreeBSD older than rev 339732 with openssl from base
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index fc1669c226f143017dc55095e7c5428bb4a95668..4ce702ac5767998f79f765b8d3b1091b41669516 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-18,8
+18,17
@@
USE_RC_SUBR= iked
USERS= _iked
GROUPS= _iked
+.include <bsd.port.options.mk>
+
+# 12.0-STABLE after updating OpenSSL shared library version numbers.
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200086
+BROKEN_SSL= base
+BROKEN_SSL_REASON_base= needs features only available in OpenSSL 1.1.0+ (DH_get0_pqg)
+.endif
+
post-install:
${MV} ${STAGEDIR}${PREFIX}/etc/iked.conf \
${STAGEDIR}${PREFIX}/etc/iked.conf.sample
+
.include <bsd.port.mk>