Date: Mon, 22 Jan 2024 15:51:16 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 58509c89c5b5 - main - net/openntpd: Sanitize MANPREFIX Message-ID: <202401221551.40MFpGke045582@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=58509c89c5b553a58c7f1c8d334fda8bd34c4003 commit 58509c89c5b553a58c7f1c8d334fda8bd34c4003 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-01-22 15:11:21 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-01-22 15:50:46 +0000 net/openntpd: Sanitize MANPREFIX Approved by: portmgr (blanket) --- net/openntpd/Makefile | 4 ++-- net/openntpd/files/pkg-message.in | 4 ++-- net/openntpd/pkg-plist | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile index 857cb51c2996..46e276d9b6ef 100644 --- a/net/openntpd/Makefile +++ b/net/openntpd/Makefile @@ -1,6 +1,6 @@ PORTNAME= openntpd PORTVERSION= 6.8p1 -PORTREVISION= 8 +PORTREVISION= 9 PORTEPOCH= 2 CATEGORIES= net MASTER_SITES= OPENBSD/OpenNTPD @@ -22,9 +22,9 @@ USERS= _ntp GROUPS= _ntp GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share SUB_FILES= 480.status-openntpd pkg-message -SUB_LIST= MANPREFIX="${MANPREFIX}" pre-build: ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \ diff --git a/net/openntpd/files/pkg-message.in b/net/openntpd/files/pkg-message.in index 89f259a68496..020d442624c9 100644 --- a/net/openntpd/files/pkg-message.in +++ b/net/openntpd/files/pkg-message.in @@ -1,11 +1,11 @@ [ { type: install message: <<EOM -OpenNTPD's man page has been installed as %%MANPREFIX%%/man/man8/ntpd.8. +OpenNTPD's man page has been installed as %%PREFIX%%/share/man/man8/ntpd.8. To view it instead of the base system ntpd's, override the manual search path: - MANPATH=%%MANPREFIX%%/man man ntpd + MANPATH=%%PREFIX%%/share/man man ntpd EOM } ] diff --git a/net/openntpd/pkg-plist b/net/openntpd/pkg-plist index 3b115a10c8af..0b70124eceed 100644 --- a/net/openntpd/pkg-plist +++ b/net/openntpd/pkg-plist @@ -1,7 +1,7 @@ @sample etc/ntpd.conf.sample etc/periodic/daily/480.status-openntpd -man/man5/ntpd.conf.5.gz -man/man8/ntpctl.8.gz -man/man8/ntpd.8.gz +share/man/man5/ntpd.conf.5.gz +share/man/man8/ntpctl.8.gz +share/man/man8/ntpd.8.gz sbin/ntpctl sbin/ntpd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401221551.40MFpGke045582>