Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2023 22:42:37 GMT
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d67975600c84 - main - security/openvpn: add missing 2.6.x documentation,
Message-ID:  <202311222242.3AMMgbpK069546@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d67975600c84a139dea0cc29490273c79eccb564

commit d67975600c84a139dea0cc29490273c79eccb564
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2023-11-22 22:39:30 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2023-11-22 22:42:36 +0000

    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
---
 security/openvpn/Makefile | 9 ++++++---
 1 file 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}/)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311222242.3AMMgbpK069546>