Lines 2-9
Link Here
|
2 |
# $FreeBSD: head/net/chrony/Makefile 454559 2017-11-20 13:49:59Z rodrigo $ |
2 |
# $FreeBSD: head/net/chrony/Makefile 454559 2017-11-20 13:49:59Z rodrigo $ |
3 |
|
3 |
|
4 |
PORTNAME= chrony |
4 |
PORTNAME= chrony |
5 |
PORTVERSION= 3.1 |
5 |
PORTVERSION= 3.3 |
6 |
PORTREVISION= 3 |
|
|
7 |
CATEGORIES= net |
6 |
CATEGORIES= net |
8 |
MASTER_SITES= http://download.tuxfamily.org/chrony/ |
7 |
MASTER_SITES= http://download.tuxfamily.org/chrony/ |
9 |
|
8 |
|
Lines 34-50
PORTEXAMPLES= chrony.conf.example1 chron
Link Here
|
34 |
|
33 |
|
35 |
# XXX: there are also other potentially useful options worth looking into: |
34 |
# XXX: there are also other potentially useful options worth looking into: |
36 |
# --disable-pps Disable PPS API support |
35 |
# --disable-pps Disable PPS API support |
37 |
OPTIONS_DEFINE= IPV6 NSS |
36 |
OPTIONS_DEFINE= IPV6 NSS NETTLE |
38 |
OPTIONS_DEFAULT= NSS |
37 |
OPTIONS_DEFAULT= NETTLE |
39 |
|
38 |
|
40 |
IPV6_CATEGORIES= ipv6 |
39 |
IPV6_CATEGORIES= ipv6 |
41 |
IPV6_CONFIGURE_OFF= --disable-ipv6 |
40 |
IPV6_CONFIGURE_OFF= --disable-ipv6 |
|
|
41 |
IPV6_CONFIGURE_ON= --disable-readline |
42 |
|
42 |
|
|
|
43 |
NSS_BROKEN= see Bug 223840 |
43 |
NSS_DESC= Add support for more hashing algorithms |
44 |
NSS_DESC= Add support for more hashing algorithms |
44 |
NSS_CONFIGURE_OFF= --without-nss |
45 |
NSS_CONFIGURE_OFF= --without-nss |
45 |
NSS_LIB_DEPENDS= libfreebl3.so:security/nss |
46 |
NSS_LIB_DEPENDS= libfreebl3.so:security/nss |
46 |
NSS_USES= pkgconfig |
47 |
NSS_USES= pkgconfig |
47 |
|
48 |
|
|
|
49 |
NETTLE_DESC= Nettle crypto library support |
50 |
NETTLE_CONFIGURE_OFF= --without-nettle |
51 |
NETTLE_LIB_DEPENDS= libnettle.so:security/nettle |
52 |
|
53 |
.include <bsd.port.pre.mk> |
54 |
|
55 |
.if ${ARCH} == armv6 || ${ARCH} == armv7 |
56 |
EXTRA_PATCHES= ${FILESDIR}/extra-util.c |
57 |
.endif |
58 |
|
59 |
do-build: |
60 |
.for file in ${PORTEXAMPLES} |
61 |
@${REINPLACE_CMD} ${_SUB_LIST_TEMP} ${WRKSRC}/examples/${file} |
62 |
.endfor |
63 |
|
48 |
post-install: |
64 |
post-install: |
49 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chronyc |
65 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chronyc |
50 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/chronyd |
66 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/chronyd |
Lines 56-59
post-install:
Link Here
|
56 |
${INSTALL_DATA} ${WRKSRC}/examples/chrony.conf.example3 \ |
72 |
${INSTALL_DATA} ${WRKSRC}/examples/chrony.conf.example3 \ |
57 |
${STAGEDIR}${PREFIX}/etc/chrony.conf.sample |
73 |
${STAGEDIR}${PREFIX}/etc/chrony.conf.sample |
58 |
|
74 |
|
59 |
.include <bsd.port.mk> |
75 |
.include <bsd.port.post.mk> |