blob: d78aba95a047eb340d191c1d9692f5e9cd7c0816 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $FreeBSD$
PORTNAME= openntpd
PORTVERSION= 6.0p1
PORTEPOCH= 2
CATEGORIES= net
MASTER_SITES= OPENBSD/OpenNTPD
MAINTAINER= naddy@FreeBSD.org
COMMENT= Network Time Protocol (NTP) daemon
LICENSE= ISCL
USERS= _ntp
GROUPS= _ntp
USE_RC_SUBR= openntpd
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-silent-rules
OPTIONS_DEFINE= RESSL
RESSL_DESC= SSL/TLS support via LibreSSL
OPTIONS_DEFAULT= RESSL
# Requires libtls from LibreSSL
RESSL_USE= openssl=yes
RESSL_VARS= with_openssl_port=yes \
openssl_port=security/libressl
RESSL_CONFIGURE_WITH= cacert=${LOCALBASE}/etc/ssl/cert.pem
RESSL_CPPFLAGS= -I${LOCALBASE}/include
RESSL_LDFLAGS= -L${LOCALBASE}/lib
RESSL_RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss
pre-build:
${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
${WRKSRC}/src/ntpd.conf.5 ${WRKSRC}/src/ntpd.8
post-install:
cd ${STAGEDIR}${PREFIX}/etc && ${MV} ntpd.conf ntpd.conf.sample
.include <bsd.port.mk>
|