2007-10-18 19:36:15 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id: Makefile 7845 2007-07-01 23:09:45Z florian $
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=shorewall-shell
|
2008-11-15 12:34:27 +00:00
|
|
|
PKG_VERSION:=4.2.1
|
2007-10-18 19:36:15 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2008-11-15 12:34:27 +00:00
|
|
|
PKG_SOURCE_URL:=http://www1.shorewall.net/pub/shorewall/4.2/shorewall-$(PKG_VERSION)/
|
2008-07-06 10:39:10 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2008-11-15 12:34:27 +00:00
|
|
|
PKG_MD5SUM:=7790bb23c7df834549f4f4ec195f37ee
|
2007-10-18 19:36:15 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/shorewall-shell
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2008-11-28 14:04:19 +00:00
|
|
|
DEPENDS:=+iptables +iptables-mod-extra +ip
|
2007-10-18 19:36:15 +00:00
|
|
|
TITLE:=Shorewall Shell
|
|
|
|
URL:=http://www.shorewall.net/
|
|
|
|
SUBMENU:=firewall
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/shorewall-shell/description
|
|
|
|
Shoreline Firewall shell-based compiler.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
rm -rf $(PKG_INSTALL_DIR)
|
|
|
|
mkdir -p $(PKG_INSTALL_DIR)
|
|
|
|
PREFIX=$(PKG_INSTALL_DIR) $(PKG_BUILD_DIR)/install.sh
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/shorewall-shell/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/shorewall-shell $(1)/usr/share
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,shorewall-shell))
|