Brent Cook
207a65ca0b
Add NetBSD support.
Fixes #3 , thanks to @gitisihara for providing the initial patch and
testing.
10 years ago
Brent Cook
cefe9907fd
correct arc4random/arc4random_uniform checks
reported by Loganaden Velvindron
10 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.
10 years ago
Brent Cook
b759f56133
add fallback err.h and queue.h
10 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
10 years ago
Brent Cook
f55fb2f9bb
check for sockaddr_in.sin_len directly.
There is no standard SIN_LEN, unlike SIN6_LEN.
10 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.
10 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.
10 years ago
Brent Cook
46eb3fcad9
remove unneeded compat string functions
10 years ago
Brent Cook
4b191ba09c
remove duplicate md5 defs, check for Solaris -lmd5
10 years ago
Brent Cook
9ef517cfb7
adjust checks for clock_(get_time/get_res)
ensure we get HAVE_ defines set by autoconf
10 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.
10 years ago
Brent Cook
c3dc8c10f3
remove OpenBSD hardcode in check for sensor support
10 years ago
Brent Cook
4f2207cfa8
remove __weak_alias
10 years ago
Brent Cook
0a716797e0
simplify library scans for various functions
10 years ago
Brent Cook
074a8e3928
FreeBSD compatibility fixes
EAI_NODATA has been made obsolete.
Properly detect MD5Init in -lmd
10 years ago
Brent Cook
1be998136e
check libmd for MD5 hash functions
10 years ago
Brent Cook
0d56dc4684
use libc SHA512 implementation
Remove dependency on libcrypto, include hash headers in a nicer way.
10 years ago
Brent Cook
d5b81b8ed2
new OpenNTPD portable tree
First attempt at building a new OpenNTPD portable project, based on the
latest OpenBSD source.
10 years ago