Miroslav Lichvar
ff31702f74
configure: add option to set default user
...
The default user is root by default, which disables root dropping by
default. The user directive or the -u option can still be used to set
the user.
2014-04-09 16:30:06 +02:00
Miroslav Lichvar
ea526b96dd
configure: suppress pkg-config errors
2014-02-05 08:53:15 +01:00
Miroslav Lichvar
1c3aff37de
Convert TRACEON LOG messages to DEBUG_LOG
2013-11-27 14:35:41 +01:00
Miroslav Lichvar
4bbc5520b8
Add support for debug messages
...
Add new DEBUG_LOG macro for debug messages. The messages are enabled
when compiled with --enable-debug and they are printed when the -d
option is used twice.
2013-11-27 14:35:38 +01:00
Miroslav Lichvar
030833087d
Append -lcap to EXTRA_LIBS in configure
2013-11-15 13:22:45 +01:00
Miroslav Lichvar
c38dbcc6b5
Link with -lrt for clock_gettime() if needed
2013-11-15 13:22:43 +01:00
Miroslav Lichvar
1d289787b6
Add PHC refclock driver
...
Implement a driver which allows using PTP hardware clock (PHC) as a
reference clock. It uses the PTP_SYS_OFFSET ioctl or clock_gettime()
to measure the offset between the PTP clock and the system clock. Ten
readings are made for every driver poll and the fastest one is returned.
As PHCs are typically kept in TAI instead of UTC, it's necessary to set
the TAI/UTC offset manually by the offset option. This could be improved
by obtaining the offset automatically from the right/UTC timezone.
2013-08-14 18:52:23 +02:00
Miroslav Lichvar
0e298bedf6
Create /etc and /var/lib/chrony on installation
2013-06-20 14:47:06 +02:00
Miroslav Lichvar
3d1be1cd75
Replace bzero with memset
2013-06-14 13:48:16 +02:00
Miroslav Lichvar
d46e2a69a1
Add --enable-trace to configure
2013-06-05 12:22:07 +02:00
Miroslav Lichvar
20f9454be3
Fix configure help message
2013-06-05 11:58:13 +02:00
Miroslav Lichvar
1c901b82dc
Add option to generate command key on start
...
With generatecommandkey directive, if no command key is found in the key
file on start, one will be generated automatically from /dev/urandom.
2013-05-21 14:02:31 +02:00
Miroslav Lichvar
51a2d8dfd8
Set paths in documentation by configure
2013-05-16 14:20:16 +02:00
Miroslav Lichvar
02524397c1
Try linking readline without ncurses first
2013-05-15 11:50:58 +02:00
Miroslav Lichvar
4e8ceaae86
Define DEFAULT_CONF_FILE in config.h
2013-05-07 16:35:40 +02:00
Miroslav Lichvar
0540b17fb9
Replace printf calls with echo in configure
2013-01-24 19:04:49 +01:00
Miroslav Lichvar
8893dda350
Save compiler messages to config.log in configure
2013-01-24 18:57:39 +01:00
Miroslav Lichvar
0c738d84af
Update copyright years
2012-02-28 13:11:56 +01:00
Miroslav Lichvar
15b6ab77ea
Update configure help text
2012-02-27 15:45:27 +01:00
Miroslav Lichvar
6673cadfa2
Check if struct in6_pktinfo is usable
2012-01-05 15:11:54 +01:00
Miroslav Lichvar
3cc6021e03
Add support for libtomcrypt
2011-11-02 13:53:00 +01:00
Miroslav Lichvar
375389fa1e
Add support for NSS library
...
This adds support for the NSSLOWHASH API provided by the freebl3
library.
2011-11-02 13:53:00 +01:00
Miroslav Lichvar
777303f130
Add support for different authentication hashes
...
Allow different hash functions to be used in the NTP and cmdmon
protocols. This breaks the cmdmon protocol compatibility. Extended key
file format is used to specify the hash functions for chronyd and new
authhash command is added to chronyc. MD5 is the default and the only
function included in the chrony source code, other functions will be
available from libraries.
2011-11-02 13:53:00 +01:00
Miroslav Lichvar
f570eb76b3
Check for timepps.h also in sys directory
2011-09-01 17:06:54 +02:00
Miroslav Lichvar
21b2063a6f
Retry on permanent DNS error by default
2011-07-13 14:49:22 +02:00
Miroslav Lichvar
2bfce03d29
Add configure option for sendmail path
2011-06-24 13:27:30 +02:00
Miroslav Lichvar
4ba3dd66ad
Set version string in config.h
2011-06-09 14:32:22 +02:00
Miroslav Lichvar
de4d14843f
Set source IPv6 address on NTP reply
...
This is needed on systems with multiple IPv6 addresses to reply with
the same source address as the destination address of the NTP request.
2011-05-24 18:07:06 +02:00
Miroslav Lichvar
18605795a7
Merge CCWARNFLAGS with CFLAGS
2011-05-24 18:07:06 +02:00
Miroslav Lichvar
da2c8d9076
Use config.h
2011-05-24 18:07:06 +02:00
Miroslav Lichvar
598c04eea2
Add configure option to force retry on DNS failure
...
This is apparently needed on system which keep nameservers specified
in /etc/resolv.conf even when there is no network connection. Should be
used with care as invalid names will be retried forever.
2011-04-05 18:14:05 +02:00
Miroslav Lichvar
efff149988
Use system headers for Linux RTC support
2011-02-11 17:56:05 +01:00
Miroslav Lichvar
b02d4092f1
Fix compiler warnings in PPS configure test
2011-02-11 17:31:38 +01:00
Miroslav Lichvar
d8fc5fee0a
Run configure tests with LDFLAGS
2010-08-17 12:31:03 +02:00
Miroslav Lichvar
feb86e336a
Check also for log and pow functions in configure
2009-12-13 15:00:13 +01:00
Miroslav Lichvar
7817bef866
Add FreeBSD-amd64 to configure
2009-12-13 15:00:13 +01:00
Miroslav Lichvar
fb538c3947
Improve configure
2009-12-04 13:12:31 +01:00
Miroslav Lichvar
159a9519e8
Clean up configure a bit
2009-11-27 16:47:20 +01:00
Miroslav Lichvar
5939fcb2eb
Add editline, readline, linuxcaps detection to configure
2009-11-27 15:59:32 +01:00
Miroslav Lichvar
4d6156b549
Add bindir, sbindir, docdir options to configure
2009-11-27 13:12:58 +01:00
Miroslav Lichvar
707b623ea8
Allow overriding system detection in configure
2009-11-12 15:07:35 +01:00
Miroslav Lichvar
fe2cfe1fae
Support LDFLAGS and CPPFLAGS in configure
2009-11-04 15:46:58 +01:00
Miroslav Lichvar
b4069a4c3b
Add PPS API refclock driver
2009-10-28 12:40:39 +01:00
Miroslav Lichvar
8265ff2890
Add IPv6 support
2009-10-13 14:44:33 +02:00
Miroslav Lichvar
84cbeeadd1
Add editline support
...
GNU readline recently changed license to GPLv3+ which makes it
incompatible with chrony (GPLv2). This patch adds support for editline
library (BSD license).
2009-07-17 12:48:00 +02:00
John Hasler
35e662d810
Add mlockall and SCHED_FIFO support
...
The attached patch adds support for mlockall() as well as the SCHED_FIFO
real-time scheduler. It should result in reduced (and more consistent)
latency. Usage is documented in all the documents.
2009-02-10 18:02:28 +01:00
Miroslav Lichvar
be42b4eeea
Linux capabilities support
...
Attached is a patch adding a linux capabilities support to chronyd. It
adds -u option which can be used to specify the user which chronyd
should switch to.
2008-11-05 23:50:48 +00:00
Richard P. Curnow
084efe606f
Merge branch 'vm'
2007-06-26 22:13:40 +01:00
Richard P. Curnow
38efaf10a8
configure: fix indentation from previous patch
2007-06-26 22:11:19 +01:00
Vladimir Michl
93f6664378
Allow RTC support to be excluded at compile time.
...
Add a new option to configure script, allowing
to disable (and exclude) RTC module. It saves same memory.
2007-06-26 22:08:49 +01:00