View | Details | Raw Unified | Return to bug 217691 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-6 / +7 lines)
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
(-)files/chronyd.in (+1 lines)
Lines 11-16 Link Here
11
name=chronyd
11
name=chronyd
12
rcvar=chronyd_enable
12
rcvar=chronyd_enable
13
command=%%PREFIX%%/sbin/${name}
13
command=%%PREFIX%%/sbin/${name}
14
rc_flags="${chronyd_flags}"
14
15
15
load_rc_config ${name}
16
load_rc_config ${name}
16
17
(-)files/patch-examples_chrony.conf.example2 (-1 / +1 lines)
Lines 17-23 Link Here
17
 
17
 
18
 # Specify file containing keys for NTP authentication.
18
 # Specify file containing keys for NTP authentication.
19
-#keyfile /etc/chrony.keys
19
-#keyfile /etc/chrony.keys
20
+#keyfile /usr/local/etc/chrony.keys
20
+#keyfile %%PREFIX%%/etc/chrony.keys
21
 
21
 
22
 # Specify directory for log files.
22
 # Specify directory for log files.
23
 logdir /var/log/chrony
23
 logdir /var/log/chrony
(-)files/patch-examples_chrony.conf.example3 (-2 / +2 lines)
Lines 5-11 Link Here
5
 #
5
 #
6
 # This is an example chrony configuration file.  You should copy it to
6
 # This is an example chrony configuration file.  You should copy it to
7
-# /etc/chrony.conf after uncommenting and editing the options that you
7
-# /etc/chrony.conf after uncommenting and editing the options that you
8
+# /usr/local/etc/chrony.conf after uncommenting and editing the options that you
8
+# %%PREFIX%%/etc/chrony.conf after uncommenting and editing the options that you
9
 # want to enable.  The more obscure options are not included.  Refer
9
 # want to enable.  The more obscure options are not included.  Refer
10
 # to the documentation for these.
10
 # to the documentation for these.
11
 #
11
 #
Lines 31-37 Link Here
31
 # to uncomment the following line and edit the file to set up the keys.
31
 # to uncomment the following line and edit the file to set up the keys.
32
 
32
 
33
-! keyfile /etc/chrony.keys
33
-! keyfile /etc/chrony.keys
34
+! keyfile /usr/local/etc/chrony.keys
34
+! keyfile %%PREFIX%%/etc/chrony.keys
35
 
35
 
36
 # chronyd can save the measurement history for the servers to files when
36
 # chronyd can save the measurement history for the servers to files when
37
 # it it exits.  This is useful in 2 situations:
37
 # it it exits.  This is useful in 2 situations:

Return to bug 217691