1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

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
This commit is contained in:
Matthias Andree 2023-11-22 23:39:30 +01:00
parent 338fe91d38
commit d67975600c

View File

@ -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}/)