Skip to content

Commit

Permalink
security/libreswan: Fix manpages build by providing awk=gawk
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Jul 26, 2021
1 parent 751dac3 commit cc4187f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
6 changes: 5 additions & 1 deletion security/libreswan/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libreswan
DISTVERSION= 4.4
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://download.libreswan.org/

Expand All @@ -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 \
Expand All @@ -33,6 +35,8 @@ MAKE_ARGS= PKG_BASE=${LOCALBASE} \
WERROR_CFLAGS="" \
PYTHON_BINARY=${PYTHON_CMD}

BINARY_ALIAS= awk=gawk

OPTIONS_DEFINE= DOCS

post-configure:
Expand Down
30 changes: 30 additions & 0 deletions security/libreswan/pkg-plist
Expand Up @@ -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

0 comments on commit cc4187f

Please sign in to comment.