git: f2c82ce01abd - main - net/ocserv: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jan 2024 20:24:27 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=f2c82ce01abdd282669ff9ea5a07c52ac26bb900 commit f2c82ce01abdd282669ff9ea5a07c52ac26bb900 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-01-21 19:50:59 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-01-21 20:24:08 +0000 net/ocserv: Sanitize MANPREFIX Approved by: portmgr (blanket) --- net/ocserv/Makefile | 3 ++- 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