2 # Copyright (C) 2008-2012 OpenWrt.org
3 # Copyright (C) 2017 Willem van den Akker <wvdakker@wilsoft.nl>
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
11 PKG_NAME
:=shorewall-core
12 PKG_MAJOR_MINOR_VERSION
:=5.2
13 PKG_BUGFIX_MAJOR_VERSION
:=4
14 PKG_BUGFIX_MINOR_VERSION
:=.5
15 PKG_VERSION
:=$(PKG_MAJOR_MINOR_VERSION
).
$(PKG_BUGFIX_MAJOR_VERSION
)$(PKG_BUGFIX_MINOR_VERSION
)
16 PKG_DIRECTORY
:=$(PKG_MAJOR_MINOR_VERSION
).
$(PKG_BUGFIX_MAJOR_VERSION
)
19 PKG_SOURCE_URL
:=http
://shorewall.org
/pub
/shorewall
/$(PKG_MAJOR_MINOR_VERSION
)/shorewall-
$(PKG_DIRECTORY
)/ \
20 http
://slovakia.shorewall.net
/pub
/shorewall
/$(PKG_MAJOR_MINOR_VERSION
)/shorewall-
$(PKG_DIRECTORY
)/ \
21 http
://www.shorewall.no
/pub
/shorewall
/$(PKG_MAJOR_MINOR_VERSION
)/shorewall-
$(PKG_DIRECTORY
)/ \
22 http
://france.shorewall.net
/$(PKG_MAJOR_MINOR_VERSION
)/shorewall-
$(PKG_DIRECTORY
)/
23 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
24 PKG_HASH
:=78f1d62d65439704896daa2439b7053934b2dd42427ccb56c4262da90183011b
26 PKG_MAINTAINER
:=Willem van den Akker
<wvdakker@wilsoft.nl
>
27 PKG_LICENSE
:=GPL-2.0
-or-later
28 PKG_LICENSE_FILES
:=COPYING
30 include $(INCLUDE_DIR
)/package.mk
32 define Package
/shorewall-core
36 URL
:=http
://www.shorewall.net
/
40 define Package
/shorewall-core
/description
41 The Shoreline Firewall
, is high-level tool for configuring Netfilter.
42 This package provides the core Shorewall libraries installed in
/usr
/share
/shorewall
/,
43 which are required for the rest of the Shorewall packages to work.
46 define Package
/shorewall-core
/conffiles
47 /usr
/share
/shorewall
/shorewallrc
54 DESTDIR
=$(PKG_INSTALL_DIR
) $(PKG_BUILD_DIR
)/install.sh
57 define Package
/shorewall-core
/install
58 $(INSTALL_DIR
) $(1)/usr
/share
/shorewall
/
59 $(INSTALL_DIR
) $(1)/usr
/sbin
/
60 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/shorewall
$(1)/usr
/share
/
61 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/shorewall
/wait4ifup
$(1)/usr
/share
/shorewall
/
62 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/shorewall
$(1)/usr
/sbin
/
65 $(eval
$(call BuildPackage
,shorewall-core
))