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
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
--- 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