aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2023-11-22 22:39:30 +0000
committerMatthias Andree <mandree@FreeBSD.org>2023-11-22 22:42:36 +0000
commitd67975600c84a139dea0cc29490273c79eccb564 (patch)
tree069fcf19aa983524b1e25dc420be79036e1aefd2
parent338fe91d38d3acc182d3884432e9cc1e90e9f953 (diff)
downloadports-d67975600c84a139dea0cc29490273c79eccb564.tar.gz
ports-d67975600c84a139dea0cc29490273c79eccb564.zip
security/openvpn: add missing 2.6.x documentation,
...for instance, README.dco.md but also others. Update DCO help text to refer to this .md file. Found while debugging PR: 275206 MFH: 2023Q4
-rw-r--r--security/openvpn/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/security/openvpn/Makefile b/security/openvpn/Makefile
index 9a7597924532..287566b2c685 100644
--- a/security/openvpn/Makefile
+++ b/security/openvpn/Makefile
@@ -1,6 +1,6 @@
PORTNAME= openvpn
DISTVERSION= 2.6.8
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= security net net-vpn
MASTER_SITES= https://swupdate.openvpn.org/community/releases/ \
https://build.openvpn.net/downloads/releases/ \
@@ -46,7 +46,7 @@ OPTIONS_EXCLUDE_FreeBSD_12= DCO # FreeBSD 14 only
OPTIONS_EXCLUDE_FreeBSD_13= DCO # FreeBSD 14 only
ASYNC_PUSH_DESC= Enable async-push support
-DCO_DESC= Build with Data Channel Offload (ovpn(4)) support
+DCO_DESC= Data Channel Offload/ovpn(4) support->README.dco.md
EASYRSA_DESC= Install security/easy-rsa RSA helper package
LZO_DESC= LZO compression (incompatible with LibreSSL)
PKCS11_DESC= Use security/pkcs11-helper, needs same SSL lib!
@@ -156,9 +156,12 @@ post-install:
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
-.for i in AUTHORS ChangeLog PORTS
+.for i in AUTHORS ChangeLog Changes.rst CONTRIBUTING.rst PORTS README README.ec
${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
.endfor
+.if !empty(PORT_OPTIONS:MDCO)
+ ${INSTALL_MAN} ${WRKSRC}/README.dco.md ${STAGEDIR}${DOCSDIR}/
+.endif
post-install-EXAMPLES-on:
(cd ${WRKSRC}/sample && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/)