#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
PKG_SOURCE:=$(PKG_NAME)-1.2.tar.gz
PKG_SOURCE_URL:=@SF/sentrytools
PKG_MD5SUM:=3ebd3618ba9abfea2525e236bd44cebd
-PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_beta
/etc/portsentry.conf
endef
-define Build/Configure
-endef
-
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) linux
-endef
+MAKE_FLAGS += \
+ linux \
define Package/portsentry/install
$(INSTALL_DIR) $(1)/etc
---- portsentry/portsentry_config.h 2003-05-23 20:10:13.000000000 +0200
-+++ portsentry.old/portsentry_config.h 2005-07-09 21:21:15.000000000 +0200
+Index: portsentry_beta/portsentry_config.h
+===================================================================
+--- portsentry_beta.orig/portsentry_config.h 2007-09-20 17:30:32.000000000 +0200
++++ portsentry_beta/portsentry_config.h 2007-09-20 17:30:32.000000000 +0200
@@ -22,7 +22,7 @@
/* These are probably ok. Be sure you change the Makefile if you */
---- portsentry/portsentry.c 2003-05-23 20:10:13.000000000 +0200
-+++ portsentry.old/portsentry.c 2005-07-09 21:57:24.000000000 +0200
+Index: portsentry_beta/portsentry.c
+===================================================================
+--- portsentry_beta.orig/portsentry.c 2007-09-20 17:30:32.000000000 +0200
++++ portsentry_beta/portsentry.c 2007-09-20 17:30:32.000000000 +0200
@@ -1581,8 +1581,7 @@
Usage (void)
{