source: freewrt/package/aiccu/Makefile@ f13cb8e

freewrt_1_0 freewrt_2_0
Last change on this file since f13cb8e was 535dcdb, checked in by Ralph Paßgang <tha@…>, 19 years ago

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)

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@2766 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.2 KB
Line 
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
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= aiccu
10PKG_VERSION:= 20070115
11PKG_RELEASE:= 2
12PKG_MD5SUM:= c9bcc83644ed788e22a7c3f3d4021350
13PKG_INIT:= 60
14
15PKG_SOURCE_URL:= http://www.sixxs.net/archive/sixxs/aiccu/unix
16PKG_SOURCE:= $(PKG_NAME)_$(PKG_VERSION).tar.gz
17
18WRKSRC= ${WRKDIR}/$(PKG_NAME)
19
20include $(TOPDIR)/mk/package.mk
21
22$(eval $(call PKG_template,AICCU,aiccu,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
23
24$(WRKBUILD)/.configured:
25 $(SED) "s,strip,$(STRIP)," $(WRKBUILD)/unix-console/Makefile
26 touch $@
27
28$(WRKBUILD)/.built:
29 $(MAKE) -C $(WRKBUILD) \
30 CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \
31 DEBUG=0
32 touch $@
33
34$(IPKG_AICCU):
35 $(INSTALL_DIR) $(IDIR_AICCU)/usr/sbin
36 $(INSTALL_DIR) $(IDIR_AICCU)/etc/init.d
37 $(INSTALL_BIN) $(WRKBUILD)/unix-console/$(PKG_NAME) $(IDIR_AICCU)/usr/sbin/
38 $(INSTALL_BIN) ./files/aiccu.init \
39 $(IDIR_AICCU)/etc/init.d/S$(PKG_INIT)aiccu
40 $(INSTALL_DATA) $(WRKBUILD)/doc/aiccu.conf $(IDIR_AICCU)/etc/aiccu.conf
41 $(RSTRIP) $(IDIR_AICCU)
42 $(IPKG_BUILD) $(IDIR_AICCU) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.