1 include $(TOPDIR
)/rules.mk
3 PKG_NAME
:=shorewall-lite
6 PKG_MD5SUM
:=9eb449aed51d2f040c67baa23477b89c
8 PKG_SOURCE_URL
:=http
://www.shorewall.net
/pub
/shorewall
/4.0/shorewall-
$(PKG_VERSION
)/ \
9 http
://www1.shorewall.net
/pub
/shorewall
/4.0/shorewall-
$(PKG_VERSION
)/ \
10 http
://slovakia.shorewall.net
/pub
/shorewall
/4.0/shorewall-
$(PKG_VERSION
)/ \
11 http
://shorewall.de
/pub
/shorewall
/4.0/shorewall-
$(PKG_VERSION
)/ \
12 http
://www.shorewall.com.au
/4.0/shorewall-
$(PKG_VERSION
)/ \
13 http
://shorewall.infohiiway.com
/pub
/shorewall
/4.0/shorewall-
$(PKG_VERSION
)/ \
14 http
://www.shorewall.com.
ar/pub
/shorewall
/shorewall
/4.0/shorewall-
$(PKG_VERSION
)/
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
19 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/shorewall-lite
26 DEPENDS
:=+ip
+iptables
+iptables-utils
28 URL
:=http
://www.shorewall.net
/
32 define Package
/shorewall-lite
/description
33 Shoreline Firewall Lite is an iptables-based firewall for Linux systems.
36 define Package
/shorewall-lite
/conffiles
37 /etc
/shorewall-lite
/shorewall-lite.conf
38 /etc
/shorewall-lite
/vardir
42 rm -rf
$(PKG_INSTALL_DIR
)
43 mkdir
-p
$(PKG_INSTALL_DIR
)
44 PREFIX
=$(PKG_INSTALL_DIR
) $(PKG_BUILD_DIR
)/install.sh
47 define Package
/shorewall-lite
/install
48 $(INSTALL_DIR
) $(1)/sbin
49 $(INSTALL_DIR
) $(1)/etc
/init.d
50 $(INSTALL_DIR
) $(1)/etc
/shorewall-lite
51 $(INSTALL_DIR
) $(1)/usr
/share
52 $(INSTALL_BIN
) .
/files
/shorewall-lite.init
$(1)/etc
/init.d
/shorewall-lite
53 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/sbin
/shorewall-lite
$(1)/sbin
54 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/shorewall-lite
$(1)/usr
/share
55 $(INSTALL_BIN
) .
/files
/hostname
$(1)/usr
/share
/shorewall-lite
56 $(CP
) $(PKG_INSTALL_DIR
)/etc
/shorewall-lite
$(1)/etc
57 $(CP
) .
/files
/vardir
$(1)/etc
/shorewall-lite
60 $(eval
$(call BuildPackage
,shorewall-lite
))