summaryrefslogtreecommitdiff
path: root/openwrt/package/htpdate/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-06-02 02:04:01 +0000
committerNicolas Thill <nico@openwrt.org>2005-06-02 02:04:01 +0000
commitd316bf3bfde447bfc6696b9bd85da270c68f3155 (patch)
treea215c60fa1d0c9e7a378ba15526d459fb0faf86d /openwrt/package/htpdate/Makefile
parent692504c65e0dcc6fba31bf7f6b355d119808c7a6 (diff)
downloadmtk-20170518-d316bf3bfde447bfc6696b9bd85da270c68f3155.zip
mtk-20170518-d316bf3bfde447bfc6696b9bd85da270c68f3155.tar.gz
mtk-20170518-d316bf3bfde447bfc6696b9bd85da270c68f3155.tar.bz2
Update to new upstream release (v0.8.0). Change the patch that disabled server response checking. Enable initscript at startup with prio. 49. Change initscript to set the time first and then daemonize.
SVN-Revision: 1137
Diffstat (limited to 'openwrt/package/htpdate/Makefile')
-rw-r--r--openwrt/package/htpdate/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/openwrt/package/htpdate/Makefile b/openwrt/package/htpdate/Makefile
index eb588c5..8505425 100644
--- a/openwrt/package/htpdate/Makefile
+++ b/openwrt/package/htpdate/Makefile
@@ -3,9 +3,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=htpdate
-PKG_VERSION:=0.7.2
+PKG_VERSION:=0.8.0
PKG_RELEASE:=1
-PKG_MD5SUM:=5b5ab483bdb3ebe155c72197e1b885f6
+PKG_MD5SUM:=5fd1ba822e0949a3cb34e3f61fbeb8ca
PKG_SOURCE_URL:=http://www.clevervest.com/htp/archive/c/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -32,8 +32,9 @@ $(IPKG_HTPDATE):
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
- cp -fpR $(PKG_BUILD_DIR)/htpdate $(IDIR_HTPDATE)/usr/sbin/
+ install -m0755 $(PKG_BUILD_DIR)/htpdate $(IDIR_HTPDATE)/usr/sbin/
$(RSTRIP) $(IDIR_HTPDATE)
$(IPKG_BUILD) $(IDIR_HTPDATE) $(PACKAGE_DIR)