PKG_NAME:=chrony
 PKG_VERSION:=1.21
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:= ftp://chrony.sunsite.dk/projects/chrony/ \
 
 # Time servers and network(s) that may access the time service
 
 config ntpd
-    option TimeServers          "0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org"
-    option ClientAccessFrom   "lan"
+       option TimeServers      "0.openwrt.pool.ntp.org 1.openwrt.pool.ntp.org 2.openwrt.pool.ntp.org 3.openwrt.pool.ntp.org"
+       option ClientAccessFrom "lan"
 
 }
 
 [ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
-        [ -x $COMMAND ] && [ -n "$CHRONY_KEY" ] &&{
-            chrony_control online
-        }
+       [ -x $COMMAND ] && [ -n "$CHRONY_KEY" ] &&{
+               chrony_control online
+       }
 }
 
 [ "$ACTION" = "ifdown" -a "$INTERFACE" = "wan" ] && {
-        [ -x $COMMAND ] && [ -n "$CHRONY_KEY" ] &&{
-            chrony_control offline
-        }
+       [ -x $COMMAND ] && [ -n "$CHRONY_KEY" ] &&{
+               chrony_control offline
+       }
 }
 
 start() {
        [ ! -f /var/run/chronyd.pid ] && (
                /usr/sbin/chronyd -f /etc/chrony/chrony.conf
-               
+
                local NTP_SERVERS
                local NTP_SERVER
                local CLIENT_NETWORKS
                CHRONY_KEY=$(awk '/^1 / { print $2; }' /etc/chrony/chrony.keys)
                include /lib/network
                scan_interfaces
-               
+
                # Define servers and do a rapid series of time measurements
                # to get up to date
                (
-                echo password $CHRONY_KEY
-                for NTP_SERVER in $NTP_SERVERS; do
-                    echo add server $NTP_SERVER
-                done
-                echo burst 5/5
-               ) | chronyc > /dev/null 2>&1 
-               
-               # ... wait until a reference ID is found ...
-               while chronyc tracking | grep 'Reference ID.*0.0.0.0' >/dev/null ; do sleep 1; done 
-               
-                
-               # ... and finally, adjust the time in a single step
-               # and allow clients to access the server
+                       echo password $CHRONY_KEY
+                       for NTP_SERVER in $NTP_SERVERS; do
+                               echo add server $NTP_SERVER
+                       done
+                       echo burst 5/5
+               ) | chronyc > /dev/null 2>&1
+               # ... wait until a reference ID is found ...
+               while chronyc tracking | grep 'Reference ID.*0.0.0.0' >/dev/null ; do sleep 1; done
+               # ... and finally, adjust the time in a single step
+               # and allow clients to access the server
                (
-                echo password $CHRONY_KEY
-                echo makestep
-                for NETNAME in $CLIENT_NETWORKS; do
-                    local INTERFACE
-                    local IP
-                    local NETMASK
-                    local BROADCAST
-                    local NETWORK
-                    local PREFIX
-               
-                    config_get INTERFACE "$NETNAME" ifname
-                    if [ -n "$INTERFACE" ] ; then
-                        eval $(ifconfig $INTERFACE | grep inet | sed -e 's/.*addr:/IP=/' -e 's/ .*Mask:/; NETMASK=/')
-                        eval $(ipcalc $IP $NETMASK)
-                        echo allow $NETWORK/$PREFIX
-                    fi
-                done
+                       echo password $CHRONY_KEY
+                       echo makestep
+                       for NETNAME in $CLIENT_NETWORKS; do
+                               local INTERFACE
+                               local IP
+                               local NETMASK
+                               local BROADCAST
+                               local NETWORK
+                               local PREFIX
+
+                               config_get INTERFACE "$NETNAME" ifname
+                               if [ -n "$INTERFACE" ] ; then
+                                       eval $(ifconfig $INTERFACE | grep inet | sed -e 's/.*addr:/IP=/' -e 's/ .*Mask:/; NETMASK=/')
+                                       eval $(ipcalc $IP $NETMASK)
+                                       echo allow $NETWORK/$PREFIX
+                               fi
+                       done
                ) | chronyc > /dev/null 2>&1
-               
        )
 }
 
 stop() {
        [ -r /var/run/chronyd.pid ] && PID=$(cat /var/run/chronyd.pid)
-       [ -n "$PID" ] && kill $PID 
+       [ -n "$PID" ] && kill $PID
 }
 
 restart() {
 
 
 PKG_NAME:=ntpclient
 PKG_VERSION:=2003_194
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 
 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://doolittle.icarus.com/ntpclient/
 MAKE_FLAGS += \
        all adjtimex
 
-define Package/ntpclient/install       
+define Package/ntpclient/install
        $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
        $(INSTALL_DATA) ./files/ntpclient.hotplug $(1)/etc/hotplug.d/iface/20-ntpclient
        $(INSTALL_DIR) $(1)/etc/config
 
 config ntpclient
-       option hostname 'pool.ntp.org'
+       option hostname '0.openwrt.pool.ntp.org'
        option port     '123'
        option count    '1'
 
 config ntpclient
-       option hostname 'ntp.ubuntu.com'
+       option hostname '1.openwrt.pool.ntp.org'
        option port     '123'
        option count    '1'
 
                ntpclient)
                        config_get hostname     $cfg hostname
                        config_get port         $cfg port
-                       config_get count        $cfg count                      
+                       config_get count        $cfg count
 
                        [ "$DONE" = "1" ] && exit 0
                        ps | grep 'bin/[n]tpclient' >&- || {
 
 
 PKG_NAME:=ntp
 PKG_VERSION:=4.2.4p4
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/
 
 
 driftfile  /tmp/ntp.drift
 
-server 0.pool.ntp.org iburst
-server 1.pool.ntp.org iburst
-server 2.pool.ntp.org iburst
-server 3.pool.ntp.org iburst
+server 0.openwrt.pool.ntp.org iburst
+server 1.openwrt.pool.ntp.org iburst
+server 2.openwrt.pool.ntp.org iburst
+server 3.openwrt.pool.ntp.org iburst
 
 
 # GPS(NMEA)+PPS
 
 
 START=60
 
-STEP_SERVERS="pool.ntp.org pool.ntp.org pool.ntp.org" 
-PIDFILE="/var/run/ntpd.pid" 
+STEP_SERVERS="0.openwrt.pool.ntp.org 1.openwrt.pool.ntp.org 2.openwrt.pool.ntp.org"
+PIDFILE="/var/run/ntpd.pid"
 TIMEOUT="2" # in seconds
 
 start() {
 #      ln -sf /dev/ttyS0 /dev/gps0
 #      /usr/sbin/setgarmin -d /dev/gps -c /etc/setgarmin.conf
-       stop 
+       stop
        for s in $STEP_SERVERS ; do
                /usr/sbin/ntpdate -s -b -u -t "$TIMEOUT" "$s" && break
-       done 
+       done
        /usr/sbin/ntpd -g -p $PIDFILE
 }
 
 
 
 PKG_NAME:=openntpd
 PKG_VERSION:=3.9p1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/ \
 
 # use a random selection of 8 public stratum 2 servers
 # see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers
-servers pool.ntp.org
+servers 0.openwrt.pool.ntp.org
+servers 1.openwrt.pool.ntp.org
+servers 2.openwrt.pool.ntp.org
+servers 3.openwrt.pool.ntp.org
 
 # use a random selection of 8 public stratum 2 servers
 # see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers
-servers pool.ntp.org
+servers 0.openwrt.pool.ntp.org