2b234b133f
Miscellaneous minor bug fixes. Changelog: https://www.openntpd.org/txt/release-7.9p1.txt
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
PORTNAME= openntpd
|
|
PORTVERSION= 7.9p1
|
|
PORTEPOCH= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= OPENBSD/OpenNTPD
|
|
|
|
MAINTAINER= naddy@FreeBSD.org
|
|
COMMENT= Network Time Protocol (NTP) daemon
|
|
WWW= https://www.openntpd.org/
|
|
|
|
LICENSE= ISCL
|
|
|
|
USES= cpe localbase ssl
|
|
|
|
CONFLICTS= ntp ntp-devel ntpsec
|
|
|
|
USE_RC_SUBR= openntpd
|
|
USERS= _ntp
|
|
GROUPS= _ntp
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --localstatedir=/var/db \
|
|
--runstatedir=/var/run
|
|
|
|
SUB_FILES= 480.status-openntpd pkg-message
|
|
|
|
post-install:
|
|
cd ${STAGEDIR}${PREFIX}/etc && ${MV} ntpd.conf ntpd.conf.sample
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
|
|
${INSTALL_SCRIPT} ${WRKDIR}/480.status-openntpd \
|
|
${STAGEDIR}${PREFIX}/etc/periodic/daily
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# certificate bundle
|
|
.if !(${OPSYS} == FreeBSD && ${OSVERSION} >= 1500063)
|
|
RUN_DEPENDS+= ca_root_nss>=0:security/ca_root_nss
|
|
.endif
|
|
|
|
# When using LibreSSL use its own libtls, but when using OpenSSL
|
|
# use libtls from libretls.
|
|
.if ${SSL_DEFAULT:Mlibressl*}
|
|
# /* empty */
|
|
.else
|
|
LIB_DEPENDS+= libtls.so:security/libretls
|
|
.endif # SSL_DEFAULT
|
|
|
|
.include <bsd.port.post.mk>
|