Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
C M4 Makefile Shell
This partially reverts commit a757766. The musl C library does not use an internal cdefs.h header. As a result, the definitions in sys/cdefs.h have no effect. This breads the build as follows: In file included from adjfreq_linux.c:23:0: ../src/ntpd.h:448:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’ __dead void fatal(const char *, ...) ^~~~ ../src/ntpd.h:450:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’ __dead void fatalx(const char *, ...) ^~~~ Refer the related musl FAQ about cdefs.h: http://wiki.musl-libc.org/wiki/FAQ#Q:_I.27m_trying_to_compile_something_against_musl_and_I_get_error_messages_about_sys.2Fcdefs.h Keep the compiler attribute definition. Remove also from noinst_HEADERS.
Latest commit 17aa5d9
Sep 26, 2017
|Failed to load latest commit information.|
This is a new port of OpenBSD's native ntpd to other Unix flavours adding autoconf support and the necessary compatibility layer. It is based on portability code from the OpenSSH and LibreSSL portable projects. OpenNTPD has a web site at http://www.openntpd.org/ The current portable tree can be found at https://github.com/openntpd-portable Platform Requirements --------------------- - adjtime(2) and settimeofday(2) syscalls or equivalent. - adjfreq(2) or an equivalent compatibility function for best results - daemon(3), setresgid(2), setresuid(2) or equivalent - A working arc4random(2) implementation, OpenSSL or LibreSSL (this project shares the same arc4random compatibility code from LibreSSL) - libtls (included with LibreSSL 2.1.4 or higher) is required for HTTPS time constraint validation. At the time of writing the Portable version is known to build and work on: - OpenBSD (5.6) - Linux (Ubuntu 12.04, 14.04) - FreeBSD (9.x, 10.x) - NetBSD (6.1.5) - Solaris (10.x, 11.x) - Mac OS X (10.9) OpenNTPD may work on other operating systems, newer and older, but the above ones are tested regularly by the developer. Reports (success or otherwise) are welcome. You may report bugs or submit pull requests at the GitHub project: https://github.com/openntpd-portable Thanks, Brent Cook <bcook at openbsd.org>.