pkgsrc/net/chrony/patches/patch-aa
hannken 7f14dadaf3 Update to 1.24.
The changes in version 1.24 are

Security fixes
--------------
* Don't reply to invalid cmdmon packets (CVE-2010-0292)
* Limit client log memory size (CVE-2010-0293)
* Limit rate of syslog messages (CVE-2010-0294)

Bug fixes/Enhancements
----------------------
* Support for reference clocks (SHM, SOCK, PPS drivers)
* IPv6 support
* Linux capabilities support (to drop root privileges)
* Memory locking support on Linux
* Real-time scheduler support on Linux
* Leap second support on Linux
* Support for editline library
* Support for new Linux readonly adjtime
* NTP client support for KoD RATE
* Read kernel timestamps for received NTP packets
* Reply to NTP requests with correct address on multihomed hosts
* Retry name resolving after temporary failure
* Fix makestep command, make it available on all systems
* Add makestep directive for automatic clock stepping
* Don't require _bigadj kernel symbol on NetBSD
* Avoid blocking read in Linux RTC driver
* Support for Linux on S/390 and PowerPC
* Fix various bugs on 64-bit systems
* Fix valgrind errors and compiler warnings
* Improve configure to support common options and variables
* Improve status checking and printing in chronyc
* Return non-zero exit code on errors in chronyc
* Reduce request timeout in chronyc
* Print estimated offset in sourcestats
* Changed chronyc protocol, incompatible with older versions

Reviewed by: Joerg Sonnenberger <joerg@netbsd.org>
2010-02-26 09:27:43 +00:00

45 lines
2.1 KiB
Text

$NetBSD: patch-aa,v 1.4 2010/02/26 09:27:43 hannken Exp $
--- Makefile.in.orig 2010-02-04 13:07:19.000000000 +0100
+++ Makefile.in
@@ -104,31 +104,14 @@
install: chronyd chronyc
- [ -d $(DESTDIR)$(SBINDIR) ] || mkdir -p $(DESTDIR)$(SBINDIR)
- [ -d $(DESTDIR)$(BINDIR) ] || mkdir -p $(DESTDIR)$(BINDIR)
[ -d $(DESTDIR)$(DOCDIR) ] || mkdir -p $(DESTDIR)$(DOCDIR)
- [ -d $(DESTDIR)$(MANDIR)/man1 ] || mkdir -p $(DESTDIR)$(MANDIR)/man1
- [ -d $(DESTDIR)$(MANDIR)/man5 ] || mkdir -p $(DESTDIR)$(MANDIR)/man5
- [ -d $(DESTDIR)$(MANDIR)/man8 ] || mkdir -p $(DESTDIR)$(MANDIR)/man8
- [ -d $(DESTDIR)$(DOCDIR) ] || mkdir -p $(DESTDIR)$(DOCDIR)
- if [ -f $(DESTDIR)$(SBINDIR)/chronyd ]; then rm -f $(DESTDIR)$(SBINDIR)/chronyd ; fi
- if [ -f $(DESTDIR)$(BINDIR)/chronyc ]; then rm -f $(DESTDIR)$(BINDIR)/chronyc ; fi
- cp chronyd $(DESTDIR)$(SBINDIR)/chronyd
- chmod 755 $(DESTDIR)$(SBINDIR)/chronyd
- cp chronyc $(DESTDIR)$(BINDIR)/chronyc
- chmod 755 $(DESTDIR)$(BINDIR)/chronyc
- cp chrony.txt $(DESTDIR)$(DOCDIR)/chrony.txt
- chmod 644 $(DESTDIR)$(DOCDIR)/chrony.txt
- cp COPYING $(DESTDIR)$(DOCDIR)/COPYING
- chmod 644 $(DESTDIR)$(DOCDIR)/COPYING
- cp README $(DESTDIR)$(DOCDIR)/README
- chmod 644 $(DESTDIR)$(DOCDIR)/README
- cp chrony.1 $(DESTDIR)$(MANDIR)/man1
- chmod 644 $(DESTDIR)$(MANDIR)/man1/chrony.1
- cp chronyc.1 $(DESTDIR)$(MANDIR)/man1
- chmod 644 $(DESTDIR)$(MANDIR)/man1/chronyc.1
- cp chronyd.8 $(DESTDIR)$(MANDIR)/man8
- chmod 644 $(DESTDIR)$(MANDIR)/man8/chronyd.8
- cp chrony.conf.5 $(DESTDIR)$(MANDIR)/man5
- chmod 644 $(DESTDIR)$(MANDIR)/man5/chrony.conf.5
+ $(BSD_INSTALL_PROGRAM) chronyd $(DESTDIR)$(SBINDIR)
+ $(BSD_INSTALL_PROGRAM) chronyc $(DESTDIR)$(BINDIR)
+ $(BSD_INSTALL_DATA) chrony.txt $(DESTDIR)$(DOCDIR)
+ $(BSD_INSTALL_DATA) COPYING $(DESTDIR)$(DOCDIR)
+ $(BSD_INSTALL_DATA) README $(DESTDIR)$(DOCDIR)
+ $(BSD_INSTALL_MAN) chrony.1 $(DESTDIR)$(MANDIR)/man1
+ $(BSD_INSTALL_MAN) chronyc.1 $(DESTDIR)$(MANDIR)/man1
+ $(BSD_INSTALL_MAN) chronyd.8 $(DESTDIR)$(MANDIR)/man8/chronyd.8
+ $(BSD_INSTALL_MAN) chrony.conf.5 $(DESTDIR)$(MANDIR)/man5/chrony.conf.5
%.o : %.c