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-core
15 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
:=3d1446f7e437104c8f8c7257ccdbddfc0dc7df3ea68b80274c11dd94cc1c8629
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-core
30 DEPENDS
:=+ip
+iptables
32 URL
:=http
://www.shorewall.net
/
36 define Package
/shorewall-core
/description
37 The Shoreline Firewall
, is high-level tool for configuring Netfilter.
38 This package provides the core Shorewall libraries installed in
/usr
/share
/shorewall
/,
39 which are required for the rest of the Shorewall packages to work.
42 define Package
/shorewall-core
/conffiles
43 /usr
/share
/shorewall
/shorewallrc
50 DESTDIR
=$(PKG_INSTALL_DIR
) $(PKG_BUILD_DIR
)/install.sh
53 define Package
/shorewall-core
/install
54 $(INSTALL_DIR
) $(1)/usr
/share
55 $(INSTALL_DIR
) $(1)/usr
/sbin
56 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/shorewall
$(1)/usr
/share
57 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/shorewall
/wait4ifup
$(1)/usr
/share
/shorewall
58 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/shorewall
$(1)/usr
/sbin
61 $(eval
$(call BuildPackage
,shorewall-core
))