summaryrefslogtreecommitdiff
path: root/net/openntpd
AgeCommit message (Collapse)AuthorFilesLines
2005-01-06Set sysconfdir to ${PKG_SYSCONFDIR} in configure.peter1-2/+3
Should fix PR pkg/28866 from Kimmo Suominen. Bump PKGREVISION to 2. ok wiz.
2004-12-28The default location of the pkgsrc-installed rc.d scripts is nowreed1-1/+2
under share/examples/rc.d. The variable name already was named RCD_SCRIPTS_EXAMPLEDIR. This is from ideas from Greg Woods and others. Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism (as requested by wiz).
2004-11-19Update to 3.6p1, ok wiz@peter2-6/+9
Changes: 20041022 - (dtucker) Release 3.6p1. 20041015 - (dtucker) [configure.ac openbsd-compat/inet_pton.c] Fix a couple of silly errors that prevented it from working on OS X; from mouring@ 20041014 - (dtucker) configure.ac defines.h includes.h openbsd-compat/Makefile.in openbsd-compat/fake-rfc2553.c openbsd-compat/fake-rfc2553.h openbsd-compat/inet_pton.c openbsd-compat/openbsd-compat.h] Add support for platforms that do not have a native getaddrinfo interface, based on OpenSSH's compatibility interface and OpenBSD's inet_pton. - (dtucker) [openbsd-compat/openbsd-compat.h openbsd-compat/bsd-misc.c] Compat functions for seteuid and setegid from OpenSSH. ntpd will now work on HP-UX. - (dtucker) [Makefile.in openbsd-compat/Makefile.in openbsd-compat/openbsd-compat.h] Set CPPFLAGS so older make's work. - (dtucker) [config.c configure.ac] Check for sin6_scope_id. - (dtucker) [openbsd-compat/fake-rfc2553.h] remove sin6_scope_id to re-sync with OpenSSH. - (dtucker) [README] Update. 20041003 - (dtucker) [openbsd-compat/asprintf.c] Ensure than string is freed if vsnprintf fails. 20041002 - (dtucker) [configure.ac] Look for res_9_init in libresolv too, needed on Mac OS X. From samh at granada-learning com. - (dtucker) [configure.ac includes.h] Check for and include netdb.h, prevents "redefinition of EAI_NODATA" errors. 20040912 - (dtucker) OpenBSD CVS Sync - henning@cvs.openbsd.org 2004/09/07 22:43:07 [server.c] ignore ntp_sendmsg()s return value in server_dispatch. could result in ntpd exiting on sendmsg() failures, which is not desired. - henning@cvs.openbsd.org 2004/09/09 21:50:33 [ntp.c] correctly track peer count. fixes a memory corruption. with & ok otto millert claudio, ok deraadt canacar 20040904 - (dtucker) [defines.h] FreeBSD 5.x does not have EAI_NODATA, so define to EAI_NONAME. From naddy at mips.inka.de. - (dtucker) [configure.ac openbsd-compat/bsd-arc4random.c] Add support for building without OpenSSL (./configure --with-builtin-arc4random), based on arcfour routines from nanocrypt by Damien Miller. Requires /dev/urandom device. - (dtucker) [configure.ac ntpd.c] Set SIGCHLD to SIG_DFL on Linux. 20040901 - (dtucker) OpenBSD CVS Sync - henning@cvs.openbsd.org 2004/08/24 15:23:19 [config.c ] don't fatal() if getaddrinfo() returns EAI_NONAME - deraadt@cvs.openbsd.org 2004/08/30 11:50:56 [ntp_msg.c] ENOBUFS, EHOSTUNREACH, ENETDOWN and EHOSTDOWN are bad reasons to log; ok otto henning - deraadt@cvs.openbsd.org 2004/08/30 11:52:04 [config.c] skip early DNS lookups -- they are deferred to later; ok otto ho henning - henning@cvs.openbsd.org 2004/08/30 12:02:59 [config.c] don't forget to set *hn... theo ok - (dtucker) [README] Update platforms. - (dtucker) [configure.ac] Add product name to AC_INIT 20040825 - (dtucker) [ntpd.conf] Sync with OpenBSD, requested by henning@.
2004-10-23Upgrade to 20040824p.peter2-6/+5
Changes: 20040820 - (dtucker) [defined.h] Newer FSF bisons will create a y.tab.c that has conflicting definitions of YYSTYPE. Defining YYSTYPE_IS_DECLARED keeps it happy. Noted by Q at ping.be. - (dtucker) [removed ntpd.cat8 ntpd.conf.cat5] Remove catman pages. Noted by by Q at ping.be. - (dtucker) [configure.ac ntpd.c] Prevent Linux kernel from whining about signal(SIGCHLD, SIG_IGN) + wait(). - (dtucker) OpenBSD CVS Sync - henning@cvs.openbsd.org 2004/08/10 12:41:15 [config.c ntpd.h parse.y ] move memory allocation for new peers into a new function, makes ID allocation easier - henning@cvs.openbsd.org 2004/08/10 12:45:27 [parse.y ] in the pool case ("servers somepool.somewhere"), we add new peers while looping over the addresses returned by the dns lookup, as each address is one new peer. however, if the lookup fails with a temporary error, we will try to lookup later again. for that, we obviously need to insert one peer with the hostname in addr_head... change one for() loop into a do { } while() one - henning@cvs.openbsd.org 2004/08/10 19:17:10 [ntp_msg.c ] wrong sizeof; Brian Poole <raj@cerias.purdue.edu> - henning@cvs.openbsd.org 2004/08/10 19:18:23 [buffer.c ] order #includes, Brian Poole <raj@cerias.purdue.edu> - henning@cvs.openbsd.org 2004/08/12 16:33:59 [client.c config.c ntp.c ntpd.c ntpd.h ] do not try to getaddrinfo() in the unprivileged process, send an imsg asking the privileged one to do it. sends back an imsg with the resulting addresses in a bunch of struct sockaddr_storage in the data part. this should fix all remaining issues with dns (non-)availability at ntpd startup, be it due to named on localhost or something else. tested by marco@ and Chris Paul <chris.paul@sentinare.com> - otto@cvs.openbsd.org 2004/08/13 12:26:13 [client.c ] Reset deadline on failed transmit. Avoids a spinning process if all sends fail. ok henning@ - otto@cvs.openbsd.org 2004/08/16 11:14:15 [client.c ] Be more careful setting next and deadline, they should not both be != 0 at the same time. ok henning@ - (dtucker) [configure.ac] libresolv now needed on some platforms (eg Solaris). 20040730 - (dtucker) OpenBSD CVS Sync - henning@cvs.openbsd.org 2004/07/25 18:27:58 [config.c ntpd.h ] remove unused function - henning@cvs.openbsd.org 2004/07/28 16:38:43 [client.c config.c ntpd.h parse.y ] when a dns lookup fails at parse time, do not abort but try again to resolve the hostname every 60 seconds fixes ntpd invocations before e. g. a dialup link is established and such. as we want ntpd to be a "fire and forget" background daemon it should cope with such situations. tested by many - henning@cvs.openbsd.org 2004/07/28 16:56:21 [parse.y ] prevent unresolvable hostnames in "listen on" statements - henning@cvs.openbsd.org 2004/07/29 11:01:48 [ntpd.h parse.y ] keep an ID per server we talk to 20040721 - (dtucker) OpenBSD CVS Sync - henning@cvs.openbsd.org 2004/07/20 16:47:55 [client.c ntpd.h parse.y ] wrap the heads for the linked list of addresses into a new ntp_addr_wrap which, besides the head pointer for the list of course, stores the original address as specified (i. e. as hostname instead of resolved IPs) and flags and such. - henning@cvs.openbsd.org 2004/07/21 09:40:55 [parse.y ] no multiple free(); "John L. Scarfone" <j0@cox.net> - (dtucker) [Makefile.in] rebuild y.tab.c during distprep too. 20040720 - (dtucker) [Makefile.in] Set @CC@ too.
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-2/+2
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-07-23Fix typo.xtraeme1-2/+2
2004-07-23* Enable pkgviews installation.xtraeme1-1/+6
* Conflicts with net/ntp4. Bump PKGREVISION.
2004-07-19Initial import of openntpd-20040719p from pkgsrc-wip, contributed byxtraeme5-0/+69
Peter Postma. OpenNTPd is a free implementation of the Network Time Protocol. It provides the ability to sync the local clock to remote NTP servers and can act as NTP server itself, redistributing the local clock. OpenNTPd is primarily developed by Henning Brauer and Alexander Guy as part of the OpenBSD Project. The portable version is made by Darren Tucker. The software and is freely useable and re-useable by everyone under a BSD license.