Commit graph

67 commits

Author SHA1 Message Date
wiz
579796a3e5 Recursive PKGREVISION bump for jpeg update to 8. 2010-01-17 12:02:03 +00:00
tnn
7d5a6ef1bf Update to ntp-4.2.4p8. Security fix for CVE-2009-3563 DoS vulnerability. 2009-12-15 10:53:20 +00:00
zafer
eb5f4429a6 update master_sites. ftp.udel.edu has been suspended. 2009-10-11 16:35:27 +00:00
tnn
92741db8a1 needs -D_GNU_SOURCE on Linux for struct in6_pktinfo 2009-09-08 11:34:02 +00:00
tnn
799b9c3517 Build with chroot jail support on platforms that support it. 2009-09-08 10:06:50 +00:00
tnn
7e95eff954 make net/ntp4 properly IPv6 aware 2009-09-08 08:40:26 +00:00
tnn
2ac49237b9 fix PLIST breakage on Linux 2009-09-06 11:13:50 +00:00
tnn
184f4e8a57 NTP 4.2.4p7, 2009/05/04
Focus: Security and Bug Fixes
Severity: HIGH
This release fixes the following high-severity vulnerability:
* [Sec 1151] Remote exploit if autokey is enabled.  CVE-2009-1252
  See http://support.ntp.org/security for more information.
  If autokey is enabled (if ntp.conf contains a "crypto pw whatever"
  line) then a carefully crafted packet sent to the machine will cause
  a buffer overflow and possible execution of injected code, running
  with the privileges of the ntpd process (often root).
  Credit for finding this vulnerability goes to Chris Ries of CMU.
This release fixes the following low-severity vulnerabilities:
* [Sec 1144] limited (two byte) buffer overflow in ntpq.  CVE-2009-0159
  Credit for finding this vulnerability goes to Geoff Keating of Apple.
* [Sec 1149] use SO_EXCLUSIVEADDRUSE on Windows
  Credit for finding this issue goes to Dave Hart.
This release fixes a number of bugs and adds some improvements:
* Improved logging
* Fix many compiler warnings
* Many fixes and improvements for Windows
* Adds support for AIX 6.1
* Resolves some issues under MacOS X and Solaris
2009-09-06 10:20:21 +00:00
kefren
5c3fc716c7 Update to 4.2.4p6. Highlights from 4.2.4p4:
* fix CVE-2009-0021
* fix build against latest OpenSSL versions
* obsolete "dynamic" keyword
* fix memory leak when fetching system messages
* several fixes in ntpdate
2009-01-26 20:06:15 +00:00
obache
739e7bf25d Fixed PLIST for Solaris, installs ntptime but not tickadj.
Noticed by John Heasley in PR 39033.
2008-06-24 13:57:09 +00:00
obache
9ea7698423 Fixes some problems noticed by Hasso Tepper in PR 39032.
* Fix perl path in scripts, add runtime dependency on perl.
 * Fix unwanted PLIST subst.
 * DragonFly also support ntptime.

Bump PKGREVISION.
2008-06-24 11:47:13 +00:00
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
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
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
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
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
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