packages/net/chrony/patches/001-crosscompile.patch
florian a67ec6f2c2 [package] chrony: upgrade to 1.26
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>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@28330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-30 12:49:08 +00:00

26 lines
633 B
Diff

--- a/configure
+++ b/configure
@@ -254,6 +254,13 @@ do
--host-machine=* )
MACHINE=`echo $option | sed -e 's/^.*=//;'`
;;
+ --target=* )
+ TARGET=`echo $option | sed -e 's/[^=]*=//;'`
+ OPERATINGSYSTEM=`echo $TARGET | sed -e 's/.*-//;'`
+ MACHINE=`echo $TARGET | sed -e 's/-.*//;'`
+ VERSION=""
+ SYSTEM=${OPERATINGSYSTEM}-${MACHINE}
+ ;;
--help | -h )
usage
exit 0
@@ -287,7 +294,7 @@ case $SYSTEM in
;;
esac
;;
- Linux* )
+ Linux* | linux* )
EXTRA_OBJECTS="sys_linux.o wrap_adjtimex.o"
try_linuxcaps=1
try_rtc=1