2006-08-07 08:53:14 +00:00
|
|
|
#
|
2007-09-20 15:39:43 +00:00
|
|
|
# Copyright (C) 2007 OpenWrt.org
|
2006-08-07 08:53:14 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=portsentry
|
|
|
|
PKG_VERSION:=1.2
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-1.2.tar.gz
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_SOURCE_URL:=@SF/sentrytools
|
|
|
|
PKG_MD5SUM:=3ebd3618ba9abfea2525e236bd44cebd
|
2006-08-07 08:53:14 +00:00
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_beta
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/portsentry
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=Portscan protection utility
|
|
|
|
URL:=http://sourceforge.net/projects/sentrytools
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/portsentry/conffiles
|
|
|
|
/etc/portsentry.conf
|
|
|
|
endef
|
|
|
|
|
2007-09-20 15:39:43 +00:00
|
|
|
MAKE_FLAGS += \
|
|
|
|
linux \
|
2006-08-07 08:53:14 +00:00
|
|
|
|
|
|
|
define Package/portsentry/install
|
2008-01-04 02:38:44 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(1)/etc/
|
2008-01-04 02:38:44 +00:00
|
|
|
$(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
|
2006-08-07 08:53:14 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,portsentry))
|