Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2021 17:22:11 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cc4187ffefa9 - main - security/libreswan: Fix manpages build by providing awk=gawk
Message-ID:  <202107261722.16QHMBSN000109@gitrepo.freebsd.org>

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

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

commit cc4187ffefa96979c055fef8272bab7b2637f2f2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-07-26 02:41:47 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-07-26 17:18:57 +0000

    security/libreswan: Fix manpages build by providing awk=gawk
---
 security/libreswan/Makefile  |  6 +++++-
 security/libreswan/pkg-plist | 30 ++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 1 deletion(-)

diff --git a/security/libreswan/Makefile b/security/libreswan/Makefile
index 94a277e6317b..4fec1be70884 100644
--- a/security/libreswan/Makefile
+++ b/security/libreswan/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libreswan
 DISTVERSION=	4.4
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	https://download.libreswan.org/
 
@@ -13,7 +14,8 @@ COMMENT=	IPsec and IKE based firewall
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	xmlto:textproc/xmlto # build requires xmlto, but manpages aren't installed: https://github.com/libreswan/libreswan/issues/479
+BUILD_DEPENDS=	gawk:lang/gawk \
+		xmlto:textproc/xmlto # build requires xmlto, but manpages aren't installed: https://github.com/libreswan/libreswan/issues/479
 LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libevent.so:devel/libevent \
 		libldns.so:dns/ldns \
@@ -33,6 +35,8 @@ MAKE_ARGS=	PKG_BASE=${LOCALBASE} \
 		WERROR_CFLAGS=""  \
 		PYTHON_BINARY=${PYTHON_CMD}
 
+BINARY_ALIAS=	awk=gawk
+
 OPTIONS_DEFINE=	DOCS
 
 post-configure:
diff --git a/security/libreswan/pkg-plist b/security/libreswan/pkg-plist
index 3ecc6e1c6f11..ec8655fa8b5f 100644
--- a/security/libreswan/pkg-plist
+++ b/security/libreswan/pkg-plist
@@ -43,3 +43,33 @@ libexec/ipsec/whack
 sbin/ipsec
 %%PORTDOCS%%%%DOCSDIR%%/ipsec.conf-sample
 %%PORTDOCS%%%%DOCSDIR%%/ipsec.secrets-sample
+share/man/man5/ipsec.conf.5.gz
+share/man/man5/ipsec.secrets.5.gz
+share/man/man8/ipsec.8.gz
+share/man/man8/ipsec__import_crl.8.gz
+share/man/man8/ipsec__plutorun.8.gz
+share/man/man8/ipsec__realsetup.8.gz
+share/man/man8/ipsec__secretcensor.8.gz
+share/man/man8/ipsec__stackmanager.8.gz
+share/man/man8/ipsec__unbound-hook.8.gz
+share/man/man8/ipsec__updown.8.gz
+share/man/man8/ipsec__updown.bsdkame.8.gz
+share/man/man8/ipsec_addconn.8.gz
+share/man/man8/ipsec_auto.8.gz
+share/man/man8/ipsec_barf.8.gz
+share/man/man8/ipsec_checknss.8.gz
+share/man/man8/ipsec_ecdsasigkey.8.gz
+share/man/man8/ipsec_import.8.gz
+share/man/man8/ipsec_initnss.8.gz
+share/man/man8/ipsec_letsencrypt.8.gz
+share/man/man8/ipsec_look.8.gz
+share/man/man8/ipsec_newhostkey.8.gz
+share/man/man8/ipsec_pluto.8.gz
+share/man/man8/ipsec_readwriteconf.8.gz
+share/man/man8/ipsec_rsasigkey.8.gz
+share/man/man8/ipsec_setup.8.gz
+share/man/man8/ipsec_show.8.gz
+share/man/man8/ipsec_showhostkey.8.gz
+share/man/man8/ipsec_verify.8.gz
+share/man/man8/ipsec_whack.8.gz
+share/man/man8/pluto.8.gz



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