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:43:45 +0000
commitaf1c13c593447dd0b5ee7205a97c47f11dbeff25 (patch)
tree68a25ca10c824e2352a01cc9c364905426d99d8b
parent6419869b1983e570619108417f66f6932bfe1ddf (diff)
downloadports-af1c13c593447dd0b5ee7205a97c47f11dbeff25.tar.gz
ports-af1c13c593447dd0b5ee7205a97c47f11dbeff25.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 (cherry picked from commit d67975600c84a139dea0cc29490273c79eccb564)
-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}/)