diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2024-01-21 19:50:59 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2024-01-21 20:24:08 +0000 |
commit | f2c82ce01abdd282669ff9ea5a07c52ac26bb900 (patch) | |
tree | dd71a87221174119957e99766671f0ebcce8c4ac | |
parent | cf4dff451a18e4f12cdf5f0835e4ab9302925d17 (diff) |
net/ocserv: Sanitize MANPREFIX
Approved by: portmgr (blanket)
-rw-r--r-- | net/ocserv/Makefile | 3 | ||||
-rw-r--r-- | net/ocserv/pkg-plist | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/net/ocserv/Makefile b/net/ocserv/Makefile index f1477ea25cb6..5136b2fb95be 100644 --- a/net/ocserv/Makefile +++ b/net/ocserv/Makefile @@ -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} diff --git a/net/ocserv/pkg-plist b/net/ocserv/pkg-plist index 2ffb05c47a27..faec150b8b90 100644 --- a/net/ocserv/pkg-plist +++ b/net/ocserv/pkg-plist @@ -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 |