Commit graph

118 commits

Author SHA1 Message Date
obache
e277b13b84 Update ntp to 4.2.4p4.
---
(4.2.4p4) Released by Harlan Stenn <stenn@ntp.org>

* [Bug 902] Fix problems with the -6 flag.
* Updated include/copyright.def (owner and year).
* [Bug 878] Avoid ntpdc use of refid value as unterminated string.
* [Bug 881] Corrected display of pll offset on 64bit systems.
* [Bug 886] Corrected sign handling on 64bit in ntpdc loopinfo command.
* [Bug 889] avoid malloc() interrupted by SIGIO risk
* ntpd/refclock_parse.c: cleanup shutdown while the file descriptor is still open.
* [Bug 885] use emalloc() to get a message at the end of the memory
            unsigned types cannot be less than 0
            default_ai_family is a short
            lose trailing , from enum list
	    clarify ntp_restrict.c for easier automated analysis
* [Bug 884] don't access recv buffers after having them passed to the free list.
* [Bug 882] allow loopback interfaces to share addresses with other interfaces.

---
(4.2.4p3) Released by Harlan Stenn <stenn@ntp.org>

* [Bug 863] unable to stop ntpd on Windows as the handle reference for events
	    changed

---
(4.2.4p2) Released by Harlan Stenn <stenn@ntp.org>

* [Bug 854] Broadcast address was not correctly set for interface addresses
* [Bug 829] reduce syslog noise, while there fix Enabled/Disable logging
	    to reflect the actual configuration.
* [Bug 795] Moved declaration of variable to top of function.
* [Bug 789] Fix multicast client crypto authentication and make sure arriving
	    multicast packets do not disturb the autokey dance.
* [Bug 785] improve handling of multicast interfaces
	    (multicast routers still need to run a multicast routing
	    software/daemon)
* [Bug 527] Don't write from source address length to wrong location
* Upgraded autogen and libopts.
* [Bug 811] ntpd should not read a .ntprc file.

---
(4.2.4p1) (skipped)

---
(4.2.4p0) Released by Harlan Stenn <stenn@ntp.org>

* [Bug 793] Update Hans Lambermont's email address in ntpsweep.
* [Bug 776] Remove unimplemented "rate" flag from ntpdate.
* [Bug 586] Avoid lookups if AI_NUMERICHOST is set.
* [Bug 770] Fix numeric parameters to ntp-keygen (Alain Guibert).
* [Bug 768] Fix io_setbclient() error message.
* [Bug 765] Use net_bind_service capability on linux.
* [Bug 760] The background resolver must be aware of the 'dynamic' keyword.
* [Bug 753] make union timestamp anonymous (Philip Prindeville).
* confopt.html: move description for "dynamic" keyword into the right section.
* pick the right type for the recv*() length argument.

---
(4.2.4) Released by Harlan Stenn <stenn@ntp.org>

* monopt.html fixes from Dave Mills.
* [Bug 452] Do not report kernel PLL/FLL flips.
* [Bug 746] Expert mouseCLOCK USB v2.0 support added.'
* driver8.html updates.
* [Bug 747] Drop <NOBR> tags from ntpdc.html.
* sntp now uses the returned precision to control decimal places.
* sntp -u will use an unprivileged port for its queries.
* [Bug 741] "burst" doesn't work with !unfit peers.
* [Bug 735] Fix a make/gmake VPATH issue on Solaris.
* [Bug 739] ntpd -x should not take an argument.
* [Bug 737] Some systems need help providing struct iovec.
* [Bug 717] Fix libopts compile problem.
* [Bug 728] parse documentation fixes.
* [Bug 734] setsockopt(..., IP_MULTICAST_IF, ...) fails on 64-bit platforms.
* [Bug 732] C-DEX JST2000 patch from Hideo Kuramatsu.
* [Bug 721] check for __ss_family and __ss_len separately.
* [Bug 666] ntpq opeers displays jitter rather than dispersion.
* [Bug 718] Use the recommended type for the saddrlen arg to getsockname().
* [Bug 715] Fix a multicast issue under Linux.
* [Bug 690] Fix a Windows DNS lookup buffer overflow.
* [Bug 670] Resolved a Windows issue with the dynamic interface rescan code.
* K&R C support is being deprecated.
* [Bug 714] ntpq -p should conflict with -i, not -c.
* WWV refclock improvements from Dave Mills.
* [Bug 708] Use thread affinity only for the clock interpolation thread.
* [Bug 706] ntpd can be running several times in parallel.
* [Bug 704] Documentation typos.
* [Bug 701] coverity: NULL dereference in ntp_peer.c
* [Bug 695] libopts does not protect against macro collisions.
* [Bug 693] __adjtimex is independent of ntp_{adj,get}time.
* [Bug 692] sys_limitrejected was not being incremented.
* [Bug 691] restrictions() assumption not always valid.
* [Bug 689] Deprecate HEATH GC-1001 II; the driver never worked.
* [Bug 688] Fix documentation typos.
* [Bug 686] Handle leap seconds better under Windows.
* [Bug 685] Use the Windows multimedia timer.
* [Bug 684] Only allow debug options if debugging is enabled.
* [Bug 683] Use the right version string.
* [Bug 680] Fix the generated version string on Windows.
* [Bug 678] Use the correct size for control messages.
* [Bug 677] Do not check uint_t in configure.ac.
* [Bug 676] Use the right value for msg_namelen.
* [Bug 675] Make sure ntpd builds without debugging.
* [Bug 672] Fix cross-platform structure padding/size differences.
* [Bug 660] New TIMESTAMP code fails tp build on Solaris Express.
* [Bug 659] libopts does not build under Windows.
* [Bug 658] HP-UX with cc needs -Wp,-H8166 in CFLAGS.
* [Bug 656] ntpdate doesn't work with multicast address.
* [Bug 638] STREAMS_TLI is deprecated - remove it.
* [Bug 635] Fix tOptions definition.
* [Bug 628] Fallback to ntp discipline not working for large offsets.
* [Bug 622] Dynamic interface tracking for ntpd.
* [Bug 603] Don't link with libelf if it's not needed.
* [Bug 523] ntpd service under Windows does't shut down properly.
* [Bug 500] sntp should always be built.
* [Bug 479] Fix the -P option.
* [Bug 421] Support the bc637PCI-U card.
* [Bug 342] Deprecate broken TRAK refclock driver.
* [Bug 340] Deprecate broken MSF EES refclock driver.
* [Bug 153] Don't do DNS lookups on address masks.
* [Bug 143] Fix interrupted system call on HP-UX.
* [Bug 42] Distribution tarballs should be signed.
* Support separate PPS devices for PARSE refclocks.
* [Bug 637, 51?] Dynamic interface scanning can now be done.
* Options processing now uses GNU AutoGen.

---
(4.2.2p4) Released by Harlan Stenn <stenn@ntp.org>

 * [Bug 710] compat getnameinfo() has off-by-one error
 * [Bug 690] Buffer overflow in Windows when doing DNS Lookups

---
(4.2.2p3) Released by Harlan Stenn <stenn@ntp.org>

 * Make the ChangeLog file cleaner and easier to read
 * [Bug 601] ntpq's decodeint uses an extra level of indirection
 * [Bug 657] Different OSes need different sized args for IP_MULTICAST_LOOP
 * release engineering/build changes
 * Documentation fixes
 * Get sntp working under AIX-5

---
(4.2.2p2) (broken)

 * Get sntp working under AIX-5

---
(4.2.2p1)

 * [Bug 661] Use environment variable to specify the base path to openssl.
 * Resolve an ambiguity in the copyright notice
 * Added some new documentation files
 * URL cleanup in the documentation
 * [Bug 657]: IP_MULTICAST_LOOP uses a u_char value/size
 * quiet gcc4 complaints
 * more Coverity fixes
 * [Bug 614] manage file descriptors better
 * [Bug 632] update kernel PPS offsets when PPS offset is re-configured
 * [Bug 637] Ignore UP in*addr_any interfaces
 * [Bug 633] Avoid writing files in srcdir
 * release engineering/build changes

---
(4.2.2)

 * SNTP
 * Many bugfixes
 * Implements the current "goal state" of NTPv4
 * Autokey improvements
 * Much better IPv6 support
 * [Bug 360] ntpd loses handles with LAN connection disabled.
 * [Bug 239] Fix intermittent autokey failure with multicast clients.
 * Rewrite of the multicast code
 * New version numbering scheme
2008-06-08 04:53:27 +00:00
joerg
3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
is
2eb3b8f616 Correct PLIST on Solaris (From PR 33259 by spz@). 2008-01-24 11:55:42 +00:00
tnn
ad6ceadd25 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 05:06:18 +00:00
wiz
b524dc18ff Reset maintainer on his request. 2007-12-12 20:42:28 +00:00
reed
e88979a706 Fix path to docs in MESSAGE. This is PR #35096.
It was changed in Makefile revision 1.49 in July 2006.

Bump PKGREVISION.
2006-11-22 23:07:39 +00:00
rillig
a355fb8d07 Moved documentation to share/doc/ntp4. Bumped PKGREVISION. 2006-07-12 17:41:54 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
039c944473 Bumped the PKGREVISION of the packages that have been broken by the recent
"pkglint --autofix" change.
2005-12-08 09:52:15 +00:00
rillig
6419e9879b Fixed PLIST quoting issue introduced by the recent "pkglint --autofix"
change.
2005-12-08 09:14:50 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
adrianp
1efb4a6477 Update nb6->nb7 for security fix: http://secunia.com/advisories/16602/ 2005-09-10 10:43:42 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
jlam
1d4f59ee8b We can always specify where the OpenSSL libraries & headers are,
regardless of whether we use the built-in or pkgsrc version of openssl.
2005-06-01 19:07:34 +00:00
wiz
199f90370f Sort. 2005-05-03 15:40:57 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
20d75efa7d Add time to categories. 2005-03-19 03:03:56 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
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-12-28 02:47:40 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
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-10-03 00:12:51 +00:00
xtraeme
21e95e6c4f * Enable pkgviews installation.
* Conflicts with openntpd.

Bump PKGREVISION.
2004-07-23 19:59:41 +00:00
jschauma
db2957928f Address PR pkg/24607 by Georg Schwarz to make this build and install under
IRIX:
- add flexibility to PLIST
- add configure arguments to point to openssl if not builtin
- don't use '-print0' to find(1).  IRIX' find does not have this capability,
  and since we know for a fact that it will not be needed, we can leave it
  out in this case.
2004-06-10 20:03:11 +00:00
snj
4682a83b75 Convert to buildlink3. 2004-05-08 07:37:40 +00:00
xtraeme
f497964f04 Fix ntpd PATH in ntpd rc.d script, reported by Mirko Thiesen in
PR pkg/24947; bump PKGREVISION.
2004-03-28 06:35:03 +00:00
reed
62dede6565 This adds rc.d scripts. The ntp.conf is example from official NetBSD.
The rc.d scripts are based on official NetBSD scripts.

This also adds:
CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR}

This was discussed and okayed with maintainer, fredb, in February,

Currently, the ntpd.sh rc.d script has a note about the
ntpd_chrootdir is only for NetBSD at this time. (Because I haven't
tested under other operating systems.)
2004-03-11 20:39:40 +00:00
reed
94419680ab Use more portable find -print0 (instead of -printx).
Okay'd by maintainer, fredb.
2004-02-03 23:04:41 +00:00
fredb
9a7a98d326 Link directly to the documentation page, drop the udel link, whitespace. 2003-12-07 16:32:59 +00:00
fredb
195affaa71 Don't change the permissions of files in the work directory,
so that "make clean" after just-in-time "su" works. Closes
PR pkg/23477 by Adrian Portelli.
2003-11-21 01:02:24 +00:00
fredb
648d43d599 Disable detection of <sys/soundcard.h>, to let this build on very current
systems (NetBSD 1.6ZF).
2003-11-20 12:09:09 +00:00
jschauma
fe19bb05b5 PKGREVISION++ after openssl update. 2003-11-12 03:39:39 +00:00
fredb
2d7ee8c6ba Update post-install target and MESSAGE for churn in the documentation,
and especially fix permissions on the new directories.  Should close
PR pkg/23378, by Wolfgang S. Rupprecht.
2003-11-06 20:32:57 +00:00
kristerw
a2956f11f6 Add USE_PERL5=build. 2003-11-01 00:52:50 +00:00
fredb
e6a941e827 Update to ntp 4.2.0.
All platforms:

	Autokey, using OpenSSL.
	IPv6 support.
	Bugfixes in loopfilter and refclocks.

NetBSD:

	Support for editline command line editing
	    in "ntpq" and "ntpdc".

NetBSD-current:

	Use nanosecond resolution POSIX timers.
2003-10-24 04:52:26 +00:00
fredb
824f0dd84e Whitespace cleanup. 2003-10-24 04:35:16 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
grant
afdebcf9a4 make ${PAX} usage consistent:
- group 'zrw' and 'p' args, -s last
- use the && operator consistently
- strip unneeded parens
- some whitespace cleanup
2003-04-10 01:28:03 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
fredb
31013b9e1b Update to 4.1.1a. Add drivers for TrueTime 560 IRIG-B decoder
and Zyfer GPStarplus, minor documentation updates.
2002-07-16 14:57:08 +00:00
fredb
f8bde3dbfa Update to ntp-4.1.1. From the "NEWS" file:
* Lose the source port check on incoming packets
    * (x)ntpdc compatibility patch
    * Virtual IP improvements
    * ntp_loopfilter fixes and improvements
    * ntpdc improvements
    * GOES refclock fix
    * JJY driver
    * bsdi port fixes
    * HP MPE/iX port
    * Win/NT port upgrade
    * Dynix PTX port fixes
    * Document conversion from CVS to BK
    * readline support for ntpq
2002-02-28 13:51:23 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
fredb
8d54113135 Add missing "-u" flag to ntpdate usage message. Culled from NetBSD-current.
[Committed by Hubert Feyrer.]
2001-08-14 17:55:18 +00:00
fredb
e0c25e61ae Fix "file://" URI for documentation, and remove the comment about being
"under development".
2001-08-14 06:19:55 +00:00
fredb
d46d4d0feb Finally! NTP 4.1.0 is released. Very few changes from 4.0.99m-rc3 (excerpts
from the "ChangeLog" file below). Also, this NetBSD package now installs the
HTML docs into "/usr/pkg/share/doc/html".

	* ntpd/refclock_oncore.c (oncore_start): Set pps_enable=1, just
	like the atom driver does.
	From: reg@dwf.com

	* ntpd/refclock_nmea.c (nmea_ppsapi): Set pps_enable=1, just like
	the atom driver does.
	From: Scott Allendorf <sca@newton.physics.uiowa.edu>

	* ntpd/ntp_config.c (getconfig): CONF_CLOCK_PANIC was using the
	wrong config flag.
	From: <justin_forrester@hp.com>
2001-08-14 06:10:41 +00:00
fredb
fce9b8bae5 Don't try to build against -lreadline on NetBSD-1.4.x, either. 2001-07-12 17:38:18 +00:00
fredb
9a872eacf7 Update to latest release candidate, ntp-4.0.99m-rc3. Continued
refinements since 4.0.99k, a new feature -- an experimental
"huff-n-puff" filter (optionally enabled in /etc/ntp.conf) -- which
discards samples with the highest delays, and new drivers for:
Forum Graphic GPS, WWV/H, Heath GC-100 II, HOPF serial and PCI,
ONCORE, ulink331.

Drop the packages's requirement for GNU readline. It turns out
that command line editing in "ntpq" is not all that useful, as
you can alway let your shell recall "ntpq -c <command>".
2001-07-12 16:24:58 +00:00
jlam
328a35f96f LIBS is automatically added to CONFIGURE_ENV by bsd.pkg.mk if
GNU_CONFIGURE is defined, so simply set LIBS to the appropriate value.
2001-06-12 20:33:00 +00:00
wiz
433b62957e Move to sha1 checksum, and/or add distfile sizes. 2001-04-21 11:23:08 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
fredb
864195477e Prevent a buffer overflow in "ntpd"; patch pulled up from the NetBSD CVS
repository. Unpatched, the daemon can be caused to segfault by application
of malformed IP packets. Allegedly, this could lead to a root compromise,
but that has not been confirmed on NetBSD. See NetBSD Security Advisory
NetBSD-SA2001-004.
2001-04-06 15:21:05 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
wiz
b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
2001-01-29 11:34:21 +00:00
fredb
b682f4d953 Update to version 4.0.99k. Continuing algorithmic improvements, bug fixes;
adds readline support to "ntpq" and "ntpdc".
2000-08-18 19:39:53 +00:00
fredb
9ba97b484a Update to ntp-4.0.99d. From the NEWS file:
* algorithmic improvements, bugfixes
* Solaris dosynctodr info update
* html/pic/* is *lots* smaller
* New drivers: Forum Graphic GPS, WWV/H
* Rewrite of the audio drivers
* Driver updates: CHU, DCF, GPS/VME, Oncore, PCF, Ulink, WWVB, burst
 If you use the ONCORE driver with a HARDPPS kernel module, you *must*
 have a properly specified: pps <filename> [assert/clear] [hardpps]
 line in the /etc/ntp.conf file.
* PARSE cleanup
* PPS cleanup
* ntpd, ntpq, ntpdate cleanup and fixes
* NT port improvements
* AIX, BSDI, DEC OSF, FreeBSD, NetBSD, Reliant, SCO, Solaris port
improvements
(4.0.98)
* Solaris kernel FLL bug is fixed in 106541-07
* Bug/lint cleanup
* PPS cleanup
* ReliantUNIX patches
* NetInfo support
* Ultralink driver
* Trimble OEM Ace-II support
* DCF77 power choices
* Oncore improvements
2000-02-08 12:18:15 +00:00
wiz
eadd890e05 replaced a whole lot more commands with ${COMMAND} 2000-01-10 00:57:13 +00:00
fredb
81c28e53c7 Update ntp4 to 4.0.98f. Extensive clean ups, bug fixes in reference clock
drivers and in burst mode operation. Clean ups to and additional documentation.

- - Package builds cleanly (including ntptime) for NetBSD-1.4.1, now that
    HAVE_PPSAPI depends on finding PPS_API_VERS_1 in sys/timepps.h, rather
    than simply checking for the presence of sys/timpepps.h.
- - Remove dependencies on gmake and autoconf.
1999-11-14 05:23:26 +00:00
fredb
97143dea69 Update ntp4 to 4.0.97d.
Highlights since 4.0.97:
- -Adds listen_to_virtual_ips support (-L flag)
- -Adds support for Trimble OEM Ace-II receiver
- -Patch to run Oncore on systems w/o hardpps()
- -Permit RTS to power a DCF77
- -Assorted lint clean-ups
1999-08-30 11:15:13 +00:00
fredb
fa5c25e4d3 Update to ntp-4.0.97
Portability fixes, plus new utility "ntptimeset"
1999-08-19 08:52:57 +00:00
fredb
1e1ce35e08 Forget to add this before last commit 1999-08-13 08:56:03 +00:00
fredb
7314f85594 Update ntp4 to 4.0.96p1
Highlights:
- - Y2K patches from AT&T: readme, test results, in source directory
- - various portability and configuration patches for Linux, WinNT

This version of the package now requires "gmake", "autoconf", and
"automake" as a consequence of its use of distribution patches.
This requirement is expected to go away with the pending release.
1999-08-13 08:54:28 +00:00
fredb
22e7d6bbeb Eliminate absolute paths in MESSAGE file. 1999-07-29 19:06:05 +00:00
fredb
858be9be0e Update ntp4 to version 4.0.95 1999-07-28 08:55:12 +00:00
fredb
37be703043 Update package to ntp-4.0.94b. 1999-07-27 17:45:15 +00:00
tron
5f74693b65 Fix typo in home page URL. 1999-07-24 21:23:52 +00:00
fredb
6fb5743ca7 Fix category for "ntp4" package 1999-07-24 19:02:40 +00:00
fredb
36c0d34305 Import new "ntp4" package:
Network Time Protocol Version 4
1999-07-24 18:29:34 +00:00