summaryrefslogtreecommitdiffstats
path: root/package/openntpd
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-26 16:18:00 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-26 16:18:00 +0000
commit23f59c69c525cb7e0b3d386339fcc9c10505aba2 (patch)
tree8be61b34184793ebce72830cb4a4a201cb9ef8ca /package/openntpd
parent806cc3b5d3a159c9748b953240d169529e54eebb (diff)
downloadbuildroot-novena-23f59c69c525cb7e0b3d386339fcc9c10505aba2.tar.gz
buildroot-novena-23f59c69c525cb7e0b3d386339fcc9c10505aba2.zip
- bump version
Diffstat (limited to 'package/openntpd')
-rw-r--r--package/openntpd/openntpd.mk22
1 files changed, 16 insertions, 6 deletions
diff --git a/package/openntpd/openntpd.mk b/package/openntpd/openntpd.mk
index 6719acfee..01f6db14f 100644
--- a/package/openntpd/openntpd.mk
+++ b/package/openntpd/openntpd.mk
@@ -3,7 +3,7 @@
# OpenNTPD
#
#############################################################
-OPENNTPD_VERSION:=3.6.1p1
+OPENNTPD_VERSION:=3.9p1
OPENNTPD_SOURCE:=openntpd-$(OPENNTPD_VERSION).tar.gz
OPENNTPD_SITE:=ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD
OPENNTPD_DIR:=$(BUILD_DIR)/openntpd-$(OPENNTPD_VERSION)
@@ -16,13 +16,12 @@ $(DL_DIR)/$(OPENNTPD_SOURCE):
$(OPENNTPD_DIR)/.source: $(DL_DIR)/$(OPENNTPD_SOURCE)
$(ZCAT) $(DL_DIR)/$(OPENNTPD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- touch $(OPENNTPD_DIR)/.source
+ #mv $(BUILD_DIR)/ntpd $(OPENNTPD_DIR)
+ touch $@
$(OPENNTPD_DIR)/.configured: $(OPENNTPD_DIR)/.source
(cd $(OPENNTPD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
@@ -35,6 +34,17 @@ $(OPENNTPD_DIR)/.configured: $(OPENNTPD_DIR)/.source
$(OPENNTPD_DIR)/$(OPENNTPD_BINARY): $(OPENNTPD_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(OPENNTPD_DIR)
+ #(cd $(OPENNTPD_DIR) ; \
+ # $(YACC) parse.y ; \
+ # $(TARGET_CC) $(TARGET_CFLAGS) $(CFLAGS_COMBINE) \
+ # $(CFLAGS_WHOLE_PROGRAM) -I$(OPENNTPD_DIR) \
+ # -D__dead="__attribute((__noreturn__))" -DHAVE_INTXX_T=1 \
+ # -include defines.h \
+ # -o $@ \
+ # ntpd.c buffer.c log.c imsg.c ntp.c ntp_msg.c y.tab.c config.c \
+ # server.c client.c sensors.c util.c ; \
+ #)
+ $(STRIP) -s $@
$(TARGET_DIR)/$(OPENNTPD_TARGET_BINARY): $(OPENNTPD_DIR)/$(OPENNTPD_BINARY)
$(MAKE) DESTDIR=$(TARGET_DIR) STRIP_OPT="" -C $(OPENNTPD_DIR) install
@@ -47,8 +57,8 @@ ntpd: uclibc $(TARGET_DIR)/$(OPENNTPD_TARGET_BINARY)
ntpd-source: $(DL_DIR)/$(OPENNTPD_SOURCE)
ntpd-clean:
- $(MAKE) DESTDIR=$(TARGET_DIR) -C $(OPENNTPD_DIR) uninstall
- rm -f $(TARGET_DIR)/etc/ntpd.conf
+ -$(MAKE) DESTDIR=$(TARGET_DIR) -C $(OPENNTPD_DIR) uninstall
+ rm -f $(TARGET_DIR)/etc/ntpd.conf $(TARGET_DIR)/$(OPENNTPD_TARGET_BINARY)
-$(MAKE) -C $(OPENNTPD_DIR) clean
ntpd-dirclean: