2 # Copyright (C) 2008-2012 OpenWrt.org
3 # Copyright (C) 2017 Willem van den Akker <wvdakker@wilsoft.nl>
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
11 PKG_NAME
:=shorewall-lite
14 PKG_MAINVERSION
:=5.1.4
17 PKG_SOURCE_URL
:=http
://www.shorewall.net
/pub
/shorewall
/$(PKG_DIRECTORY
)/shorewall-
$(PKG_MAINVERSION
)/
18 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
19 PKG_HASH
:=e90d419ed8a6da615c3a0d6fdcb9481f8e71f89c2bdcff09ab027198ca2ce293
21 PKG_MAINTAINER
:=Willem van den Akker
<wvdakker@wilsoft.nl
>
23 PKG_LICENSE_FILES
:=COPYING
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/shorewall-lite
30 DEPENDS
:=+ip
+iptables
+shorewall-core
32 URL
:=http
://www.shorewall.net
/
36 define Package
/shorewall-lite
/description
37 The Shoreline Firewall
, is high-level tool for configuring Netfilter.
39 Shorewall allows for central administration of multiple IPv4 firewalls
40 through use of Shorewall lite. The full Shorewall product is installed
41 on a central administrative system where compiled Shorewall scripts are
42 generated. These scripts are copied to the firewall systems where they
43 run under the control of Shorewall-lite.
45 Note
: This is the IPv4 implementation of Shorewall.
48 define Package
/shorewall-lite
/conffiles
49 /etc
/shorewall-lite
/shorewall-lite.conf
50 /etc
/shorewall-lite
/vardir
57 DESTDIR
=$(PKG_INSTALL_DIR
) $(PKG_BUILD_DIR
)/install.sh
60 define Package
/shorewall-lite
/install
61 $(INSTALL_DIR
) $(1)/usr
/sbin
62 $(INSTALL_DIR
) $(1)/etc
/init.d
63 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
64 $(INSTALL_DIR
) $(1)/etc
/shorewall-lite
/state
65 $(INSTALL_DIR
) $(1)/usr
/share
66 $(INSTALL_BIN
) .
/files
/hotplug_iface
$(1)/etc
/hotplug.d
/iface
/05-shorewall-lite
67 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/shorewall-lite
$(1)/usr
/share
68 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/shorewall-lite
$(1)/usr
/sbin
69 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/shorewall-lite
/shorecap
$(1)/usr
/share
/shorewall-lite
70 $(INSTALL_BIN
) .
/files
/hostname
$(1)/usr
/share
/shorewall-lite
71 $(CP
) $(PKG_INSTALL_DIR
)/etc
/shorewall-lite
$(1)/etc
72 $(CP
) $(PKG_INSTALL_DIR
)/etc
/init.d
$(1)/etc
73 $(CP
) .
/files
/vardir
$(1)/etc
/shorewall-lite
76 $(eval
$(call BuildPackage
,shorewall-lite
))