Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2020 19:36:51 +0000 (UTC)
From:      Christian Weisgerber <naddy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r535779 - in head/net/openntpd: . files
Message-ID:  <202005181936.04IJapSo043084@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: naddy
Date: Mon May 18 19:36:51 2020
New Revision: 535779
URL: https://svnweb.freebsd.org/changeset/ports/535779

Log:
  Add a note in pkg-message that you need to override the manual search
  path to view the correct ntpd(8) man page.
  
  PR:		246484

Added:
  head/net/openntpd/files/pkg-message.in   (contents, props changed)
Modified:
  head/net/openntpd/Makefile

Modified: head/net/openntpd/Makefile
==============================================================================
--- head/net/openntpd/Makefile	Mon May 18 19:28:52 2020	(r535778)
+++ head/net/openntpd/Makefile	Mon May 18 19:36:51 2020	(r535779)
@@ -2,7 +2,7 @@
 
 PORTNAME=	openntpd
 PORTVERSION=	6.2p3
-PORTREVISION=	5
+PORTREVISION=	6
 PORTEPOCH=	2
 CATEGORIES=	net
 MASTER_SITES=	OPENBSD/OpenNTPD
@@ -14,10 +14,10 @@ LICENSE=	ISCL
 
 RUN_DEPENDS=	ca_root_nss>=0:security/ca_root_nss
 
-CONFLICTS=	ntp-[0-9].* ntp-devel-*
-
 USES=		ssl
 
+CONFLICTS=	ntp-[0-9].* ntp-devel-* ntpsec-*
+
 USE_RC_SUBR=	openntpd
 USERS=		_ntp
 GROUPS=		_ntp
@@ -25,7 +25,8 @@ GROUPS=		_ntp
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-cacert=${LOCALBASE}/etc/ssl/cert.pem
 
-SUB_FILES=	480.status-openntpd
+SUB_FILES=	480.status-openntpd pkg-message
+SUB_LIST=	MANPREFIX="${MANPREFIX}"
 
 pre-build:
 	${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \

Added: head/net/openntpd/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/openntpd/files/pkg-message.in	Mon May 18 19:36:51 2020	(r535779)
@@ -0,0 +1,11 @@
+[
+{ type: install
+  message: <<EOM
+OpenNTPD's man page has been installed as %%MANPREFIX%%/man/man8/ntpd.8.
+To view it instead of the base system ntpd's, override the manual search
+path:
+
+    MANPATH=%%MANPREFIX%%/man man ntpd
+EOM
+}
+]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005181936.04IJapSo043084>