English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /branches/freewrt_1_0/package/ntpclient/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2766 - (show annotations) (download)
Mon Jun 11 23:24:02 2007 UTC (6 years, 8 months ago) by tha
File size: 1074 byte(s)
fixed a lot of startup or shutdown related problems
- added start/stop logik to S10boot, S20jggsclean & S98done
- fixed check for empty variable in vlan.pre-up (ugly erros in log)
- aiccu only gets killed when it was really running before
  (otherwise it logs ugly messages to syslog)
- ntpclient packages now has an init.d script and some
  reasonable default flags. if present, the serverhost comes
  from /etc/ntpd.conf
- removed hotplug ntpclient script, I think it never worked
  correctly
- ntpclient & openntpd are waiting 15 seconds in autostart
  mode before they are executed. in bridging-wlan/lan-mode
  this seems to be neccessary, because otherwise ntp(client)
  cannot sync (network not really up?)
- shorewall only executes "shorewall stop" if it was started
  before.
- fixed rcK script: the -k2 option was useless in our case (thx tg)


1 # $FreeWRT$
2 #-
3 # This file is part of the FreeWRT project. FreeWRT is copyrighted
4 # material, please see the LICENCE file in the top-level directory
5 # or at http://www.freewrt.org/licence for details.
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:= ntpclient
10 PKG_VERSION:= 2003_194
11 PKG_RELEASE:= 3
12 PKG_MD5SUM:= 94e84d5c6023c5e1f3890b28d0a08c92
13
14 PKG_SOURCE_URL:= http://doolittle.icarus.com/ntpclient/
15 PKG_SOURCE:= $(PKG_NAME)_$(PKG_VERSION).tar.gz
16
17 WRKSRC= ${WRKDIR}/$(PKG_NAME)
18
19 include $(TOPDIR)/mk/package.mk
20
21 $(eval $(call PKG_template,NTPCLIENT,ntpclient,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
22
23 $(WRKBUILD)/.configured:
24 touch $@
25
26 $(WRKBUILD)/.built:
27 $(MAKE) -C $(WRKBUILD) \
28 CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)"
29 touch $@
30
31 $(IPKG_NTPCLIENT):
32 install -d -m0755 $(IDIR_NTPCLIENT)/etc/init.d
33 install -m0755 ./files/ntpclient.init $(IDIR_NTPCLIENT)/etc/init.d/S52ntpclient
34 install -d -m0755 $(IDIR_NTPCLIENT)/usr/sbin
35 install -m0755 $(WRKBUILD)/ntpclient $(IDIR_NTPCLIENT)/usr/sbin/
36 $(RSTRIP) $(IDIR_NTPCLIENT)
37 $(IPKG_BUILD) $(IDIR_NTPCLIENT) $(PACKAGE_DIR)

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20