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/openntpd/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: 2016 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:= openntpd
10 PKG_VERSION:= 3.9p1
11 PKG_RELEASE:= 2
12 PKG_MD5SUM:= afc34175f38d08867c1403d9008600b3
13 PKG_INIT:= 55
14
15 PKG_SOURCE_URL:= ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/ \
16 ftp://ftp.de.openbsd.org/pub/unix/OpenBSD/OpenNTPD/ \
17 ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenNTPD/ \
18 ftp://ftp.sunet.se/pub/OpenBSD/OpenNTPD/
19
20 include $(TOPDIR)/mk/package.mk
21
22 $(eval $(call PKG_template,OPENNTPD,openntpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
23
24 $(WRKBUILD)/.configured:
25 (cd $(WRKBUILD); rm -rf config.{cache,status} ; \
26 $(TARGET_CONFIGURE_OPTS) \
27 CFLAGS="$(TARGET_CFLAGS)" \
28 ./configure \
29 --target=$(GNU_TARGET_NAME) \
30 --host=$(GNU_TARGET_NAME) \
31 --build=$(GNU_HOST_NAME) \
32 --program-prefix="" \
33 --program-suffix="" \
34 --prefix=/usr \
35 --exec-prefix=/usr \
36 --bindir=/usr/bin \
37 --datadir=/usr/share \
38 --includedir=/usr/include \
39 --infodir=/usr/share/info \
40 --libdir=/usr/lib \
41 --libexecdir=/usr/lib \
42 --localstatedir=/var \
43 --mandir=/usr/share/man \
44 --sbindir=/usr/sbin \
45 --sysconfdir=/etc \
46 --disable-nls \
47 --with-builtin-arc4random \
48 --with-privsep-user=ntp \
49 --with-adjtimex \
50 );
51 touch $@
52
53 $(WRKBUILD)/.built:
54 $(MAKE) -C $(WRKBUILD)
55 touch $@
56
57 $(IPKG_OPENNTPD):
58 $(INSTALL_DIR) $(IDIR_OPENNTPD)/etc
59 $(INSTALL_DATA) ./files/ntpd.conf $(IDIR_OPENNTPD)/etc/
60 $(INSTALL_DIR) $(IDIR_OPENNTPD)/etc/init.d
61 $(INSTALL_BIN) ./files/ntpd.init $(IDIR_OPENNTPD)/etc/init.d/S$(PKG_INIT)ntpd
62 $(INSTALL_DIR) $(IDIR_OPENNTPD)/usr/sbin/
63 $(INSTALL_BIN) $(WRKBUILD)/ntpd $(IDIR_OPENNTPD)/usr/sbin/
64 $(INSTALL_DIR) $(IDIR_OPENNTPD)/etc/ppp/ip-up.d
65 $(INSTALL_BIN) ./files/ntpd.ip-up $(IDIR_OPENNTPD)/etc/ppp/ip-up.d/ntpd
66 $(RSTRIP) $(IDIR_OPENNTPD)
67 $(IPKG_BUILD) $(IDIR_OPENNTPD) $(PACKAGE_DIR)

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