Lines 20-30
Link Here
|
20 |
HAS_CONFIGURE= yes |
20 |
HAS_CONFIGURE= yes |
21 |
CONFIGURE_ARGS= --prefix=${PREFIX} \ |
21 |
CONFIGURE_ARGS= --prefix=${PREFIX} \ |
22 |
--chronyvardir=/var/db/${PORTNAME} \ |
22 |
--chronyvardir=/var/db/${PORTNAME} \ |
23 |
--infodir=${PREFIX}/info \ |
|
|
24 |
--sysconfdir=${PREFIX}/etc --mandir=${MANPREFIX}/man \ |
23 |
--sysconfdir=${PREFIX}/etc --mandir=${MANPREFIX}/man \ |
25 |
--datarootdir=${DATADIR} --docdir=${DOCSDIR} \ |
24 |
--datarootdir=${DATADIR} --docdir=${DOCSDIR} \ |
26 |
--with-user=chronyd |
25 |
--with-user=chronyd --without-tomcrypt |
27 |
LDFLAGS+= -L${LOCALBASE}/lib |
|
|
28 |
USE_RC_SUBR= chronyd |
26 |
USE_RC_SUBR= chronyd |
29 |
|
27 |
|
30 |
ALL_TARGET= all |
28 |
ALL_TARGET= all |
Lines 34-47
Link Here
|
34 |
chrony.conf.example3 chrony.keys.example |
32 |
chrony.conf.example3 chrony.keys.example |
35 |
|
33 |
|
36 |
# XXX: there are also other potentially useful options worth looking into: |
34 |
# XXX: there are also other potentially useful options worth looking into: |
37 |
# --without-nss Don't use NSS even if it is available |
|
|
38 |
# --without-tomcrypt Don't use libtomcrypt even if it is available |
39 |
# --disable-pps Disable PPS API support |
35 |
# --disable-pps Disable PPS API support |
40 |
OPTIONS_DEFINE= IPV6 |
36 |
OPTIONS_DEFINE= IPV6 NSS |
|
|
37 |
OPTIONS_DEFAULT= NSS |
41 |
|
38 |
|
42 |
IPV6_CATEGORIES= ipv6 |
39 |
IPV6_CATEGORIES= ipv6 |
43 |
IPV6_CONFIGURE_OFF= --disable-ipv6 |
40 |
IPV6_CONFIGURE_OFF= --disable-ipv6 |
44 |
|
41 |
|
|
|
42 |
NSS_DESC= Add support for more hashing algorithms |
43 |
NSS_CONFIGURE_OFF= --without-nss |
44 |
NSS_USES= pkgconfig |
45 |
|
45 |
post-install: |
46 |
post-install: |
46 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chronyc |
47 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chronyc |
47 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/chronyd |
48 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/chronyd |