net/ocserv: Sanitize MANPREFIX

Approved by:    portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-01-21 20:50:59 +01:00
parent cf4dff451a
commit f2c82ce01a
2 changed files with 5 additions and 4 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= ocserv
DISTVERSION= 1.2.3
PORTREVISION= 1
CATEGORIES= net net-vpn security
MASTER_SITES= https://www.infradead.org/ocserv/download/
@ -29,6 +30,7 @@ USES= autoreconf cpe gettext-tools gperf libtool localbase ncurses \
CPE_VENDOR= infradead
USE_RC_SUBR= ocserv
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --disable-namespaces \
--without-geoip \
--without-http-parser
@ -72,7 +74,6 @@ post-patch:
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/ocserv ${STAGEDIR}/var/run/ocserv
${INSTALL_DATA} ${WRKSRC}/doc/sample.config ${STAGEDIR}${PREFIX}/etc/ocserv/ocserv.conf.sample
${INSTALL_MAN} ${WRKSRC}/doc/*.8 ${STAGEDIR}${MANPREFIX}/man/man8
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}

View file

@ -1,9 +1,9 @@
bin/occtl
bin/ocpasswd
libexec/ocserv-fw
man/man8/occtl.8.gz
man/man8/ocpasswd.8.gz
man/man8/ocserv.8.gz
share/man/man8/occtl.8.gz
share/man/man8/ocpasswd.8.gz
share/man/man8/ocserv.8.gz
@sample etc/ocserv/ocserv.conf.sample
sbin/ocserv
sbin/ocserv-worker