summaryrefslogtreecommitdiff
path: root/package/shorewall-common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/shorewall-common/Makefile')
-rw-r--r--package/shorewall-common/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/shorewall-common/Makefile b/package/shorewall-common/Makefile
index d2e234d92..230d6e56d 100644
--- a/package/shorewall-common/Makefile
+++ b/package/shorewall-common/Makefile
@@ -9,12 +9,17 @@ PKG_NAME:= shorewall-common
PKG_VERSION:= 4.0.7
PKG_RELEASE:= 1
PKG_MD5SUM:= 2df43356b1fdbc91920d48c5595aa101
-MASTER_SITES:= http://www1.shorewall.net/pub/shorewall/4.0/shorewall-${PKG_VERSION}/
+PKG_DESCR:= high-level netfilter configuration tool
+PKG_SECTION:= net
+PKG_DEPENDS:= iptables
+PKG_URL:= http://www.shorewall.net
+PKG_SITES:= http://www1.shorewall.net/pub/shorewall/4.0/shorewall-${PKG_VERSION}/
+
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,SHOREWALL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,SHOREWALL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
do-install:
PREFIX="${WRKINST}" ${WRKBUILD}/install.sh -n
@@ -33,13 +38,9 @@ ifeq ($(ADK_PACKAGE_SHOREWALL_STRIPSHARED),y)
endif
post-install:
- ${INSTALL_DIR} ${IDIR_SHOREWALL}/etc/init.d
${INSTALL_DIR} ${IDIR_SHOREWALL}/etc/shorewall
${INSTALL_DIR} ${IDIR_SHOREWALL}/usr/share/shorewall
${INSTALL_DIR} ${IDIR_SHOREWALL}/sbin
-
- ${INSTALL_BIN} ./files/shorewall.init ${IDIR_SHOREWALL}/etc/init.d/shorewall
-
${INSTALL_DATA} ${WRKINST}/etc/shorewall/* ${IDIR_SHOREWALL}/etc/shorewall/
${INSTALL_DATA} ${WRKINST}/usr/share/shorewall/actions.std ${IDIR_SHOREWALL}/usr/share/shorewall/
${INSTALL_DATA} ${WRKINST}/usr/share/shorewall/configpath ${IDIR_SHOREWALL}/usr/share/shorewall/
@@ -49,7 +50,6 @@ post-install:
${INSTALL_DATA} ${WRKINST}/usr/share/shorewall/action.* ${IDIR_SHOREWALL}/usr/share/shorewall/
${INSTALL_DATA} ${WRKINST}/usr/share/shorewall/macro.* ${IDIR_SHOREWALL}/usr/share/shorewall/
${INSTALL_DATA} ${WRKINST}/usr/share/shorewall/lib.* ${IDIR_SHOREWALL}/usr/share/shorewall/
-
${INSTALL_BIN} ${WRKINST}/usr/share/shorewall/firewall ${IDIR_SHOREWALL}/usr/share/shorewall/
${INSTALL_BIN} ${WRKINST}/usr/share/shorewall/functions ${IDIR_SHOREWALL}/usr/share/shorewall/
${INSTALL_BIN} ${WRKINST}/usr/share/shorewall/wait4ifup ${IDIR_SHOREWALL}/usr/share/shorewall/