summaryrefslogtreecommitdiffstats
path: root/openwrt/package/ntpclient
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-07 11:57:20 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-07 11:57:20 +0000
commit725611a466f2edf12f809d22339b22223af4afe7 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /openwrt/package/ntpclient
parentf4dd5a6d7c4ebea48cd6292744cb9def6037de80 (diff)
move old kamikaze out of trunk - will put buildroot-ng in there as soon as all the developers are ready
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@4944 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/ntpclient')
-rw-r--r--openwrt/package/ntpclient/Config.in9
-rw-r--r--openwrt/package/ntpclient/Makefile37
-rw-r--r--openwrt/package/ntpclient/files/ntpclient.init11
-rw-r--r--openwrt/package/ntpclient/ipkg/ntpclient.control4
4 files changed, 0 insertions, 61 deletions
diff --git a/openwrt/package/ntpclient/Config.in b/openwrt/package/ntpclient/Config.in
deleted file mode 100644
index 1e9ca925b..000000000
--- a/openwrt/package/ntpclient/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-config BR2_PACKAGE_NTPCLIENT
- prompt "ntpclient......................... NTP (Network Time Protocol) client"
- tristate
- default m if CONFIG_DEVEL
- help
- NTP client for setting system time from NTP servers.
-
- http://doolittle.faludi.com/ntpclient/
-
diff --git a/openwrt/package/ntpclient/Makefile b/openwrt/package/ntpclient/Makefile
deleted file mode 100644
index c1e3c616e..000000000
--- a/openwrt/package/ntpclient/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id$
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=ntpclient
-PKG_VERSION:=2003_194
-PKG_RELEASE:=2
-PKG_MD5SUM:=94e84d5c6023c5e1f3890b28d0a08c92
-
-PKG_SOURCE_URL:=http://doolittle.faludi.com/ntpclient
-PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
-PKG_CAT:=zcat
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
-
-include $(TOPDIR)/package/rules.mk
-
-$(eval $(call PKG_template,NTPCLIENT,ntpclient,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-
-$(PKG_BUILD_DIR)/.configured:
- touch $@
-
-$(PKG_BUILD_DIR)/.built:
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" all adjtimex
- touch $@
-
-$(IPKG_NTPCLIENT):
- install -d -m0755 $(IDIR_NTPCLIENT)/etc/hotplug.d/iface
- install -m0755 ./files/ntpclient.init $(IDIR_NTPCLIENT)/etc/hotplug.d/iface/10-ntpclient
- install -d -m0755 $(IDIR_NTPCLIENT)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/ntpclient $(IDIR_NTPCLIENT)/usr/sbin/
- install -m0755 $(PKG_BUILD_DIR)/adjtimex $(IDIR_NTPCLIENT)/usr/sbin/
- install -m0755 $(PKG_BUILD_DIR)/rate.awk $(IDIR_NTPCLIENT)/usr/sbin/
- $(RSTRIP) $(IDIR_NTPCLIENT)
- $(IPKG_BUILD) $(IDIR_NTPCLIENT) $(PACKAGE_DIR)
-
diff --git a/openwrt/package/ntpclient/files/ntpclient.init b/openwrt/package/ntpclient/files/ntpclient.init
deleted file mode 100644
index 3a2118420..000000000
--- a/openwrt/package/ntpclient/files/ntpclient.init
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-ntp_server=$(nvram get ntp_server)
-case "${ACTION:-ifup}" in
- ifup)
- ps x | grep 'bin/[n]tpclient' >&- || {
- route -n 2>&- | grep '^0.0.0.0' >&- && /usr/sbin/ntpclient -c 1 -s -h ${ntp_server:-pool.ntp.org} &
- }
- ;;
- ifdown)
- route -n 2>&- | grep '^0.0.0.0' >&- || killall ntpclient 2>&- >&- ;;
-esac
diff --git a/openwrt/package/ntpclient/ipkg/ntpclient.control b/openwrt/package/ntpclient/ipkg/ntpclient.control
deleted file mode 100644
index 4194e617b..000000000
--- a/openwrt/package/ntpclient/ipkg/ntpclient.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: ntpclient
-Priority: optional
-Section: net
-Description: NTP client for setting system time from NTP servers.