Brent Cook
c72225ad1e
Change default privsep directory to /var/empty.
Add a post-install check to ensure that PRIVSEP_PATH is really empty.
9 years ago
Brent Cook
ad3510571d
bump version
9 years ago
Brent Cook
8dafd6324d
Go back to original SA_LEN macro.
Due to some circular dependencies on Solaris, this needs to be defined
as a macro. We should just remove SA_LEN usage here next.
9 years ago
Brent Cook
968c340d56
Format the 'make install' instructions.
Make them a little more readable.
9 years ago
Brent Cook
207a65ca0b
Add NetBSD support.
Fixes #3 , thanks to @gitisihara for providing the initial patch and
testing.
9 years ago
Brent Cook
f3d67df248
Improve err.h macros.
Handle 'NULL', emit the program name.
9 years ago
Brent Cook
cefe9907fd
correct arc4random/arc4random_uniform checks
reported by Loganaden Velvindron
9 years ago
Brent Cook
b15e6b2575
resync patches
update manpage and add more fatal logging
9 years ago
Brent Cook
2c04ab7158
rebase patches
9 years ago
Brent Cook
9938199ddf
add a local ChangeLog file
9 years ago
Brent Cook
ec41520b47
bump version
9 years ago
Brent Cook
6f93baf369
fix setproctitle on OS X and Linux
Call the compat code and select the correct emulation mode.
Remove the string encoding support, since we have fixed inputs for the
title string.
9 years ago
Brent Cook
b759f56133
add fallback err.h and queue.h
9 years ago
Brent Cook
75d2f0aafb
remove need for bash
9 years ago
Brent Cook
91244782ba
update patches
9 years ago
Brent Cook
12bfe6dafa
move and improve SA_LEN emulation
If sa_family is not set, sa_len should be zero.
9 years ago
Brent Cook
a533233b18
fix last-minute FreeBSD build issue with latest log.c
9 years ago
Brent Cook
0ee203eeb0
sync with latest OpenBSD source, adjust patch queue
9 years ago
Brent Cook
183faa4cde
point to the correct file for OS X privsep user instructions
9 years ago
Brent Cook
c7992f4312
resync patches
9 years ago
Brent Cook
aa14b765de
update install docs, fix outdated links
- add OS X privsep user creation instructions from jasper@
- update install instructions to be the same everywhere
- remove outdated compiler flags
9 years ago
Brent Cook
2e79e8cb07
mach_absolute_time is monotonic
which is convenient, since it is exactly what we need.
9 years ago
Brent Cook
667d758c34
remove applied patches from upstream
9 years ago
Brent Cook
132ece510b
resync patch set
9 years ago
Brent Cook
f55fb2f9bb
check for sockaddr_in.sin_len directly.
There is no standard SIN_LEN, unlike SIN6_LEN.
9 years ago
Brent Cook
fe2755c09e
reorder patches by priority and generality
9 years ago
Brent Cook
76f582f5f0
make state dirs on install if the don't exist
9 years ago
Brent Cook
4e94afcafe
support --privsep-user, overriding file paths
Allow overriding the user and the config file paths for ntpd.
This also adds back --privsep-path from OpenNTPD, which really only
changes the installation instructions from 'make install', since ntpd
always uses the home directory of the ntpd user.
This borrows from the Darren's portable OpenNTPD and from OpenSSL, add
credits and a license.
9 years ago
Brent Cook
4f36f83b7e
Move credits from README to AUTHORS.
As long as autoconf requires an AUTHORS file, might as well use it.
Refer to the public commit logs for all contributors - that's what
they're for.
9 years ago
Brent Cook
349259b778
rename clock_gettime OS X shim for consistency
9 years ago
Brent Cook
fb43599f64
update port status
9 years ago
Brent Cook
04f3b3eeee
use per-OS files for adjfreq emulation
This makes it easier to see what is supported by each OS, and to improve
them individually.
9 years ago
Brent Cook
46eb3fcad9
remove unneeded compat string functions
9 years ago
Brent Cook
8e4c175c42
update copyright block, patches
I removed all of the code in fake-sensors, I don't think Henning wants
all the credit for an empty file.
9 years ago
Brent Cook
ca4f4d455a
move all compatibility shims to compat
9 years ago
Brent Cook
a3ad579ab6
add ye-old standard MAX macro
9 years ago
Brent Cook
17f348961a
be more direct about obtaining BSD integer types
9 years ago
Brent Cook
ff50f20d0a
add Solaris build patch
9 years ago
Brent Cook
1ca341f3ed
distribute ntpd.conf
9 years ago
Brent Cook
3f25522c31
include the BSD integer types
TODO: convert u_int_* types to uint_*
9 years ago
Brent Cook
4b191ba09c
remove duplicate md5 defs, check for Solaris -lmd5
9 years ago
Brent Cook
1b54280f47
disable pid file patch for now
9 years ago
Brent Cook
7559d73f7d
fix build error on OS X
9 years ago
Brent Cook
9ef517cfb7
adjust checks for clock_(get_time/get_res)
ensure we get HAVE_ defines set by autoconf
9 years ago
Brent Cook
1970d59422
include time.h in the distribution
9 years ago
Brent Cook
9b4d748b44
initial OS X support
Well, support may be too concrete of a term. There is a lot that is
missing in OS X, and not everything can be implemented with portability
shims. The time APIs in OS X seem to have frozen with NeXTSTEP and never
advanced with POSIX.
9 years ago
Brent Cook
ac6aa84996
reorganize and incorporate debian and gentoo patches
This reworks a few of the common patches on Debian and Gentoo to be a
little nicer, and changes the patches to be per-fix rather than
per-file.
9 years ago
Brent Cook
72b20dc6ac
update source checkout install instructions
9 years ago
Brent Cook
695a83dc84
deal with rename in the initial checkout procedure
9 years ago
Brent Cook
43c0dcabfb
include credits block and update github repo
9 years ago