summaryrefslogtreecommitdiff
path: root/openwrt/package/htpdate
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/htpdate')
-rw-r--r--openwrt/package/htpdate/Config.in9
-rw-r--r--openwrt/package/htpdate/Makefile40
-rw-r--r--openwrt/package/htpdate/files/htpdate.default1
-rw-r--r--openwrt/package/htpdate/files/htpdate.init22
-rw-r--r--openwrt/package/htpdate/ipkg/htpdate.conffiles1
-rw-r--r--openwrt/package/htpdate/ipkg/htpdate.control4
6 files changed, 0 insertions, 77 deletions
diff --git a/openwrt/package/htpdate/Config.in b/openwrt/package/htpdate/Config.in
deleted file mode 100644
index 89f19d297c..0000000000
--- a/openwrt/package/htpdate/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-config BR2_PACKAGE_HTPDATE
- prompt "htpdate........................... HTP (Hypertext Time Protocol) implementation"
- tristate
- default m if CONFIG_DEVEL
- help
- An HTP (Hypertext Time Protocol) implementation
-
- http://www.clevervest.com/htp/
-
diff --git a/openwrt/package/htpdate/Makefile b/openwrt/package/htpdate/Makefile
deleted file mode 100644
index 8eb04c5a50..0000000000
--- a/openwrt/package/htpdate/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-# $Id$
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=htpdate
-PKG_VERSION:=0.9.0
-PKG_RELEASE:=1
-PKG_MD5SUM:=12cf883c5619cf4c13a62f77f1a55b54
-
-PKG_SOURCE_URL:=http://www.clevervest.com/htp/archive/c/
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_CAT:=zcat
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
-include $(TOPDIR)/package/rules.mk
-
-$(eval $(call PKG_template,HTPDATE,htpdate,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-
-$(PKG_BUILD_DIR)/.configured:
- touch $@
-
-$(PKG_BUILD_DIR)/.built:
- $(MAKE) -C $(PKG_BUILD_DIR) \
- $(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)"
- touch $@
-
-$(IPKG_HTPDATE):
- install -d -m0755 $(IDIR_HTPDATE)/etc/default/
- install -m0644 ./files/htpdate.default $(IDIR_HTPDATE)/etc/default/htpdate
- install -d -m0755 $(IDIR_HTPDATE)/etc/init.d/
- install -m0755 ./files/htpdate.init $(IDIR_HTPDATE)/etc/init.d/htpdate
- ln -sf htpdate $(IDIR_HTPDATE)/etc/init.d/S49htpdate
- install -d -m0755 $(IDIR_HTPDATE)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/htpdate $(IDIR_HTPDATE)/usr/sbin/
- $(RSTRIP) $(IDIR_HTPDATE)
- $(IPKG_BUILD) $(IDIR_HTPDATE) $(PACKAGE_DIR)
-
diff --git a/openwrt/package/htpdate/files/htpdate.default b/openwrt/package/htpdate/files/htpdate.default
deleted file mode 100644
index 94674fdd3c..0000000000
--- a/openwrt/package/htpdate/files/htpdate.default
+++ /dev/null
@@ -1 +0,0 @@
-OPTIONS="www.google.com www.yahoo.com www.linux.org www.freebsd.org"
diff --git a/openwrt/package/htpdate/files/htpdate.init b/openwrt/package/htpdate/files/htpdate.init
deleted file mode 100644
index 97a413f774..0000000000
--- a/openwrt/package/htpdate/files/htpdate.init
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-BIN=htpdate
-DEFAULT=/etc/default/$BIN
-RUN_D=/var/run
-PID_F=$RUN_D/$BIN.pid
-[ -f $DEFAULT ] && . $DEFAULT
-
-case $1 in
- start)
- mkdir -p $RUN_D
- $BIN -l -s -t $OPTIONS && $BIN -D $OPTIONS
- ;;
- stop)
- [ -f $PID_F ] && kill $(cat $PID_F)
- ;;
- *)
- echo "usage: $0 (start|stop)"
- exit 1
-esac
-
-exit $?
diff --git a/openwrt/package/htpdate/ipkg/htpdate.conffiles b/openwrt/package/htpdate/ipkg/htpdate.conffiles
deleted file mode 100644
index cbbc558a1a..0000000000
--- a/openwrt/package/htpdate/ipkg/htpdate.conffiles
+++ /dev/null
@@ -1 +0,0 @@
-/etc/default/htpdate
diff --git a/openwrt/package/htpdate/ipkg/htpdate.control b/openwrt/package/htpdate/ipkg/htpdate.control
deleted file mode 100644
index cdb470c2d8..0000000000
--- a/openwrt/package/htpdate/ipkg/htpdate.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: htpdate
-Priority: optional
-Section: net
-Description: an HTP (Hypertext Time Protocol) implementation