chrony: upgrade to 1.26
authorFlorian Fainelli <florian@openwrt.org>
Fri, 30 Sep 2011 12:49:08 +0000 (12:49 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 30 Sep 2011 12:49:08 +0000 (12:49 +0000)
This patch upgrades chrony to 1.26. Beside several minor
bugfixes and improvements, also several vulnerabilities
are fixed (compared to 1.23).

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 28330

net/chrony/Makefile
net/chrony/patches/001-crosscompile.patch

index 21e5d84fd23d9eb0f2efb7ef513884a9b5ba5e9f..7ce3ec330d5b0553975cbfc9c3460fec1420b79c 100644 (file)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=chrony
-PKG_VERSION:=1.23
-PKG_RELEASE:=3
+PKG_VERSION:=1.26
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:= ftp://download.tuxfamily.org/projects/chrony/ \
        http://download.tuxfamily.org/chrony/
-PKG_MD5SUM:=ffce77695e55d8efda19ab0b78309c23
+PKG_MD5SUM:=ad6dd619ff1986e4ff780363c64e2246
 
 include $(INCLUDE_DIR)/package.mk
 
index cdc5939b34eab70e8908147aba3488fca6110fad..d712e06a737c4170643b96261e8b0e26c68f64f7 100644 (file)
@@ -1,8 +1,8 @@
 --- a/configure
 +++ b/configure
-@@ -187,6 +187,13 @@
-     --prefix=* | --install_prefix=* )
-       INSTALL_PREFIX=`echo $option | sed -e 's/[^=]*=//;'`
+@@ -254,6 +254,13 @@ do
+     --host-machine=* )
+       MACHINE=`echo $option | sed -e 's/^.*=//;'`
      ;;
 +    --target=* )
 +      TARGET=`echo $option | sed -e 's/[^=]*=//;'`
 +      VERSION=""
 +      SYSTEM=${OPERATINGSYSTEM}-${MACHINE}
 +    ;;
-     --trace )
-       EXTRA_DEFS="-DTRACEON"
-     ;;
-@@ -242,7 +249,7 @@
+     --help | -h )
+       usage
+       exit 0
+@@ -287,7 +294,7 @@ case $SYSTEM in
          ;;
      esac
      ;;
 -    Linux* )
 +    Linux* | linux* )
          EXTRA_OBJECTS="sys_linux.o wrap_adjtimex.o"
-         if [ $feat_rtc -eq 1 ] ; then
-             EXTRA_OBJECTS+=" rtc_linux.o"
+         try_linuxcaps=1
+         try_rtc=1