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/shorewall/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: 2834 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:= shorewall
10 PKG_VERSION:= 3.4.2
11 PKG_RELEASE:= 3
12 PKG_MD5SUM:= 6fe1a8e4bf552ade7fdc327be94f09f4
13 PKG_INIT:= 45
14 PKG_SOURCE_URL:= http://www1.shorewall.net/pub/$(PKG_NAME)/3.4/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_SOURCE:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
16
17 include $(TOPDIR)/mk/package.mk
18
19 $(eval $(call PKG_template,SHOREWALL,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(WRKBUILD)/.built:
22 PREFIX="$(WRKINST)" $(WRKBUILD)/install.sh -n
23
24 # remove configfiles folder
25 ${RM} -R ${WRKINST}/usr/share/shorewall/configfiles
26
27 ifeq ($(FWRT_PACKAGE_SHOREWALL_STRIPCONF),y)
28 $(BASH) ./files/downstrip ${WRKINST}/etc/shorewall
29 endif
30 ifeq ($(FWRT_PACKAGE_SHOREWALL_STRIPSHARED),y)
31 $(BASH) ./files/downstrip ${WRKINST}/usr/share/shorewall
32 ${BASH} ./files/downstrip ${WRKINST}/sbin
33 gzip -9 ${WRKINST}/usr/share/shorewall/*.template
34 endif
35 touch $@
36
37 $(IPKG_SHOREWALL):
38 install -d -m0755 ${IDIR_SHOREWALL}/etc/init.d
39 install -d -m0755 ${IDIR_SHOREWALL}/etc/shorewall
40 install -d -m0755 ${IDIR_SHOREWALL}/usr/share/shorewall
41 install -d -m0755 ${IDIR_SHOREWALL}/sbin
42 install -m0755 ./files/shorewall.init ${IDIR_SHOREWALL}/etc/init.d/S${PKG_INIT}${PKG_NAME}
43 install -m0644 ${WRKINST}/etc/shorewall/* ${IDIR_SHOREWALL}/etc/shorewall/
44 install -m0644 ${WRKINST}/usr/share/shorewall/actions.std ${IDIR_SHOREWALL}/usr/share/shorewall
45 install -m0644 ${WRKINST}/usr/share/shorewall/configpath ${IDIR_SHOREWALL}/usr/share/shorewall
46 install -m0644 ${WRKINST}/usr/share/shorewall/modules ${IDIR_SHOREWALL}/usr/share/shorewall
47 install -m0644 ${WRKINST}/usr/share/shorewall/rfc1918 ${IDIR_SHOREWALL}/usr/share/shorewall
48 install -m0644 ${WRKINST}/usr/share/shorewall/version ${IDIR_SHOREWALL}/usr/share/shorewall
49 install -m0644 ${WRKINST}/usr/share/shorewall/action.* ${IDIR_SHOREWALL}/usr/share/shorewall
50 install -m0644 ${WRKINST}/usr/share/shorewall/macro.* ${IDIR_SHOREWALL}/usr/share/shorewall
51 install -m0644 ${WRKINST}/usr/share/shorewall/prog.* ${IDIR_SHOREWALL}/usr/share/shorewall
52 install -m0644 ${WRKINST}/usr/share/shorewall/lib.* ${IDIR_SHOREWALL}/usr/share/shorewall
53 install -m0755 ${WRKINST}/usr/share/shorewall/compiler ${IDIR_SHOREWALL}/usr/share/shorewall
54 install -m0755 ${WRKINST}/usr/share/shorewall/firewall ${IDIR_SHOREWALL}/usr/share/shorewall
55 install -m0755 ${WRKINST}/usr/share/shorewall/functions ${IDIR_SHOREWALL}/usr/share/shorewall
56 install -m0755 ${WRKINST}/usr/share/shorewall/wait4ifup ${IDIR_SHOREWALL}/usr/share/shorewall
57 install -m0755 ${WRKINST}/sbin/shorewall ${IDIR_SHOREWALL}/sbin
58 $(RSTRIP) $(IDIR_SHOREWALL)
59 $(IPKG_BUILD) $(IDIR_SHOREWALL) $(PACKAGE_DIR)
60

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