Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2019 06:18:13 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505324 - head/net/ntpsec
Message-ID:  <201906290618.x5T6IDOk009167@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Jun 29 06:18:12 2019
New Revision: 505324
URL: https://svnweb.freebsd.org/changeset/ports/505324

Log:
  net/ntpsec: Allow any python versions by adding the workaround for the terminal failure problem, and autoplist for the varying plist problem

Deleted:
  head/net/ntpsec/pkg-plist
Modified:
  head/net/ntpsec/Makefile

Modified: head/net/ntpsec/Makefile
==============================================================================
--- head/net/ntpsec/Makefile	Sat Jun 29 05:28:31 2019	(r505323)
+++ head/net/ntpsec/Makefile	Sat Jun 29 06:18:12 2019	(r505324)
@@ -2,6 +2,7 @@
 
 PORTNAME=	ntpsec
 DISTVERSION=	1.1.4
+PORTREVISION=	1
 CATEGORIES=	net
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -10,10 +11,16 @@ COMMENT=	Network Time Protocol suite, refactored
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		bison gettext-runtime python:2.7 shebangfix ssl waf # python-3.6 has 2 issues: plist differences, and terminal-related failure: https://gitlab.com/NTPsec/ntpsec/issues/599
+USES=		bison gettext-runtime python shebangfix ssl waf
 SHEBANG_FILES=	${WRKSRC}/ntpclients/ntp*.py
 USE_GITLAB=	yes
 GL_ACCOUNT=	NTPsec
 GL_COMMIT=	79cd18fc56fc902c3a7fd78bcc32ee72f52eb396
+
+MAKE_ENV=	NOSYNC=1 # workaround for the console problem: https://gitlab.com/NTPsec/ntpsec/issues/599
+
+post-install: # autoplist: plist varies depending on the python version
+	@cd ${STAGEDIR}${PREFIX} && \
+		${FIND} * -type f -or -type l >> ${TMPPLIST}
 
 .include <bsd.port.mk>



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