diff options
author | W. van den Akker <wvdakker@wilsoft.nl> | 2017-06-04 15:44:00 +0200 |
---|---|---|
committer | W. van den Akker <wvdakker@wilsoft.nl> | 2017-06-05 17:54:59 +0200 |
commit | 7c8990cac509cd7d9fe1796359f7d92e79b6533a (patch) | |
tree | 17de8e6357f3ecdb2a4533cf0e8aeffb8cec46c6 /net/shorewall-core/Makefile | |
parent | 1bd7eac967b710da1b7ade6bce6c4a9fcb403654 (diff) |
Add package shorewall(6)-lite.
Bump to version 5.1.4.1
Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
Diffstat (limited to 'net/shorewall-core/Makefile')
-rw-r--r-- | net/shorewall-core/Makefile | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/net/shorewall-core/Makefile b/net/shorewall-core/Makefile new file mode 100644 index 000000000..3a60d7aa0 --- /dev/null +++ b/net/shorewall-core/Makefile @@ -0,0 +1,61 @@ +# +# Copyright (C) 2008-2012 OpenWrt.org +# Copyright (C) 2017 Willem van den Akker <wvdakker@wilsoft.nl> +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=shorewall-core +PKG_VERSION:=5.1.4.1 +PKG_DIRECTORY:=5.1 +PKG_RELEASE:=1 +PKG_MAINVERSION:=5.1.4 + +PKG_SOURCE_URL:=http://www.shorewall.net/pub/shorewall/$(PKG_DIRECTORY)/shorewall-$(PKG_MAINVERSION)/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_HASH:=118378698e0fa1216b52ace92fe9eae0f7d32c39becbc50837a895d7367674b2c973b1633c8919045d9d16dd2a5fdbedb9d62ff1513547ee4770a2e9116d8b1e + +PKG_MAINTAINER:=Willem van den Akker <wvdakker@wilsoft.nl> +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + +include $(INCLUDE_DIR)/package.mk + +define Package/shorewall-core + SECTION:=net + CATEGORY:=Network + DEPENDS:=+ip +iptables + TITLE:=Shorewall Core + URL:=http://www.shorewall.net/ + SUBMENU:=Firewall +endef + +define Package/shorewall-core/description + The Shoreline Firewall, is high-level tool for configuring Netfilter. + This package provides the core Shorewall libraries installed in /usr/share/shorewall/, + which are required for the rest of the Shorewall packages to work. +endef + +define Package/shorewall-core/conffiles + /usr/share/shorewall/shorewallrc +endef + +CONFIGURE_ARGS += \ + vendor=openwrt + +define Build/Compile + DESTDIR=$(PKG_INSTALL_DIR) $(PKG_BUILD_DIR)/install.sh +endef + +define Package/shorewall-core/install + $(INSTALL_DIR) $(1)/usr/share + $(INSTALL_DIR) $(1)/usr/sbin + $(CP) $(PKG_INSTALL_DIR)/usr/share/shorewall $(1)/usr/share + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/shorewall/wait4ifup $(1)/usr/share/shorewall + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/shorewall $(1)/usr/sbin +endef + +$(eval $(call BuildPackage,shorewall-core)) |