source: packages/net/shorewall-lite/Makefile @ 28576

Last change on this file since 28576 was 28576, checked in by jow, 5 years ago

[packages] shorewall-lite: remove obsolete dependency on iptables-utils (#10217)

File size: 2.2 KB
Line 
1#
2# Copyright (C) 2008-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=shorewall-lite
11PKG_VERSION:=4.4.24
12PKG_DIRECTORY:=4.4.24
13PKG_RELEASE:=1
14
15PKG_SOURCE_URL:=http://www.shorewall.net/pub/shorewall/4.4/shorewall-$(PKG_DIRECTORY)/ \
16        http://www1.shorewall.net/pub/shorewall/4.4/shorewall-$(PKG_DIRECTORY)/ \
17        http://slovakia.shorewall.net/pub/shorewall/4.4/shorewall-$(PKG_DIRECTORY)/ \
18        http://shorewall.de/pub/shorewall/4.4/shorewall-$(PKG_DIRECTORY)/ \
19        http://www.shorewall.com.au/4.4/shorewall-$(PKG_DIRECTORY)/ \
20        http://shorewall.infohiiway.com/pub/shorewall/4.4/shorewall-$(PKG_DIRECTORY)/ \
21        http://www.shorewall.com.ar/pub/shorewall/shorewall/4.4/shorewall-$(PKG_DIRECTORY)/
22PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
23PKG_MD5SUM:=b2b8accd7b87b9d9d091d72c290813c3
24
25include $(INCLUDE_DIR)/package.mk
26
27define Package/shorewall-lite
28  SECTION:=net
29  CATEGORY:=Network
30  DEPENDS:=+ip +iptables
31  TITLE:=Shorewall Lite
32  URL:=http://www.shorewall.net/
33  SUBMENU:=Firewall
34endef
35
36define Package/shorewall-lite/description
37        Shoreline Firewall Lite is an iptables-based firewall for Linux systems.
38endef
39
40define Package/shorewall-lite/conffiles
41/etc/shorewall-lite/shorewall-lite.conf
42/etc/shorewall-lite/vardir
43endef
44
45define Build/Compile
46        PREFIX=$(PKG_INSTALL_DIR) $(PKG_BUILD_DIR)/install.sh
47endef
48
49define Package/shorewall-lite/install
50        $(INSTALL_DIR) $(1)/sbin
51        $(INSTALL_DIR) $(1)/etc/init.d
52        $(INSTALL_DIR) $(1)/etc/lsm/script.d
53        $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
54        $(INSTALL_DIR) $(1)/etc/shorewall-lite
55        $(INSTALL_DIR) $(1)/usr/share
56        $(INSTALL_BIN) ./files/shorewall-lite.init $(1)/etc/init.d/shorewall-lite
57        $(INSTALL_BIN) ./files/hotplug_iface $(1)/etc/hotplug.d/iface/05-shorewall-lite
58        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/shorewall-lite $(1)/sbin
59        $(CP) $(PKG_INSTALL_DIR)/usr/share/shorewall-lite $(1)/usr/share
60        $(INSTALL_BIN) ./files/hostname $(1)/usr/share/shorewall-lite
61        $(INSTALL_BIN) ./files/lsm_script $(1)/etc/lsm/script.d/45_shorewall-lite
62        $(CP) $(PKG_INSTALL_DIR)/etc/shorewall-lite $(1)/etc
63        $(CP) ./files/vardir $(1)/etc/shorewall-lite
64endef
65
66$(eval $(call BuildPackage,shorewall-lite))
Note: See TracBrowser for help on using the repository browser.