2 # Copyright (C) 2008-2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 PKG_NAME:=shorewall-core
15 PKG_SOURCE_URL:=http://www.shorewall.net/pub/shorewall/4.5/shorewall-$(PKG_DIRECTORY)/ \
16 http://www1.shorewall.net/pub/shorewall/4.5/shorewall-$(PKG_DIRECTORY)/ \
17 http://slovakia.shorewall.net/pub/shorewall/4.5/shorewall-$(PKG_DIRECTORY)/ \
18 http://shorewall.de/pub/shorewall/4.5/shorewall-$(PKG_DIRECTORY)/ \
19 http://www.shorewall.com.au/4.5/shorewall-$(PKG_DIRECTORY)/ \
20 http://shorewall.infohiiway.com/pub/shorewall/4.5/shorewall-$(PKG_DIRECTORY)/ \
21 http://www.shorewall.com.ar/pub/shorewall/shorewall/4.5/shorewall-$(PKG_DIRECTORY)/
22 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
23 PKG_MD5SUM:=ed3880b96a22e16cafc68d2e0f976b3a
25 include $(INCLUDE_DIR)/package.mk
27 define Package/shorewall-core
30 DEPENDS:=+ip +iptables +perl +perlbase-digest
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 $(CP) $(PKG_INSTALL_DIR)/usr/share/shorewall $(1)/usr/share
56 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/shorewall/wait4ifup $(1)/usr/share/shorewall
59 $(eval $(call BuildPackage,shorewall-core))