Lines 14-21
Link Here
|
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
|
15 |
|
16 |
USES= cpe gmake libedit pkgconfig |
16 |
USES= cpe gmake libedit pkgconfig |
17 |
USERS= chronyd |
|
|
18 |
GROUPS= chronyd |
19 |
|
17 |
|
20 |
CPE_VENDOR= tuxfamily |
18 |
CPE_VENDOR= tuxfamily |
21 |
HAS_CONFIGURE= yes |
19 |
HAS_CONFIGURE= yes |
Lines 24-30
Link Here
|
24 |
--sysconfdir=${PREFIX}/etc --mandir=${MANPREFIX}/man \ |
22 |
--sysconfdir=${PREFIX}/etc --mandir=${MANPREFIX}/man \ |
25 |
--datarootdir=${DATADIR} --docdir=${DOCSDIR} \ |
23 |
--datarootdir=${DATADIR} --docdir=${DOCSDIR} \ |
26 |
--with-readline-library=${LOCALBASE}/lib \ |
24 |
--with-readline-library=${LOCALBASE}/lib \ |
27 |
--with-user=chronyd --without-tomcrypt |
25 |
--without-tomcrypt |
28 |
USE_RC_SUBR= chronyd |
26 |
USE_RC_SUBR= chronyd |
29 |
|
27 |
|
30 |
ALL_TARGET= all |
28 |
ALL_TARGET= all |
Lines 35-42
Link Here
|
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 |
# --disable-pps Disable PPS API support |
35 |
# --disable-pps Disable PPS API support |
38 |
OPTIONS_DEFINE= DOCS HTMLDOCS EXAMPLES IPV6 |
36 |
OPTIONS_DEFINE= DOCS HTMLDOCS EXAMPLES IPV6 USER |
39 |
OPTIONS_DEFAULT= NETTLE |
37 |
OPTIONS_DEFAULT= NETTLE USER |
40 |
OPTIONS_RADIO= CRYPTLIB |
38 |
OPTIONS_RADIO= CRYPTLIB |
41 |
OPTIONS_RADIO_CRYPTLIB= NETTLE NSS |
39 |
OPTIONS_RADIO_CRYPTLIB= NETTLE NSS |
42 |
HTMLDOCS_IMPLIES= DOCS |
40 |
HTMLDOCS_IMPLIES= DOCS |
Lines 45-50
Link Here
|
45 |
HTMLDOCS_DESC= Build HTML docs (IMPLIES DOCS, needs ruby, asciidoctor) |
43 |
HTMLDOCS_DESC= Build HTML docs (IMPLIES DOCS, needs ruby, asciidoctor) |
46 |
NETTLE_DESC= Nettle crypto library support |
44 |
NETTLE_DESC= Nettle crypto library support |
47 |
NSS_DESC= NSS-based support for more hashing algorithms |
45 |
NSS_DESC= NSS-based support for more hashing algorithms |
|
|
46 |
USER_DESC= Run as user chronyd, group chronyd |
47 |
USER_CONFIGURE_OFF= --with-user=ntpd |
48 |
USER_CONFIGURE_ON= --with-user=chronyd |
48 |
|
49 |
|
49 |
IPV6_CONFIGURE_OFF= --disable-ipv6 |
50 |
IPV6_CONFIGURE_OFF= --disable-ipv6 |
50 |
NETTLE_CONFIGURE_OFF= --without-nettle |
51 |
NETTLE_CONFIGURE_OFF= --without-nettle |
Lines 52-57
Link Here
|
52 |
NSS_CONFIGURE_OFF= --without-nss |
53 |
NSS_CONFIGURE_OFF= --without-nss |
53 |
NSS_LIB_DEPENDS= libfreebl3.so:security/nss |
54 |
NSS_LIB_DEPENDS= libfreebl3.so:security/nss |
54 |
|
55 |
|
|
|
56 |
USER_VARS= USERS=chronyd GROUPS=chronyd |
57 |
|
55 |
HTMLDOCS_BUILD_DEPENDS+=asciidoctor:textproc/rubygem-asciidoctor |
58 |
HTMLDOCS_BUILD_DEPENDS+=asciidoctor:textproc/rubygem-asciidoctor |
56 |
HTMLDOCS_ALL_TARGET= docs |
59 |
HTMLDOCS_ALL_TARGET= docs |
57 |
HTMLDOCS_INSTALL_TARGET=docs |
60 |
HTMLDOCS_INSTALL_TARGET=docs |