diff options
Diffstat (limited to 'openwrt/package/cutter')
-rw-r--r-- | openwrt/package/cutter/Config.in | 9 | ||||
-rwxr-xr-x | openwrt/package/cutter/Makefile | 32 | ||||
-rw-r--r-- | openwrt/package/cutter/ipkg/cutter.control | 5 |
3 files changed, 46 insertions, 0 deletions
diff --git a/openwrt/package/cutter/Config.in b/openwrt/package/cutter/Config.in new file mode 100644 index 0000000000..4c231fddcb --- /dev/null +++ b/openwrt/package/cutter/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_CUTTER + prompt "cutter............................ allows an user to abort TCP/IP connections" + tristate + default m if CONFIG_DEVEL + help + "Cutter" is an open source program that allows Linux firewall + administrators to abort TCP/IP connections routed over the + firewall or router on which it is run. + diff --git a/openwrt/package/cutter/Makefile b/openwrt/package/cutter/Makefile new file mode 100755 index 0000000000..c9cf5d77f2 --- /dev/null +++ b/openwrt/package/cutter/Makefile @@ -0,0 +1,32 @@ +# $Id: Makefile 2745 2005-12-21 09:50:28Z florian $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=cutter +PKG_VERSION:=1.03 +PKG_RELEASE:=1 +PKG_MD5SUM:=50093db9b64277643969ee75b83ebbd1 + +PKG_SOURCE_URL:=http://www.lowth.com/cutter/software/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_CAT:=gzcat +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,CUTTER,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.configured: + touch $@ + +$(PKG_BUILD_DIR)/.built: + $(TARGET_CC) $(PKG_BUILD_DIR)/cutter.c -o $(PKG_BUILD_DIR)/cutter + install -d -m0755 $(PKG_INSTALL_DIR)/usr/sbin + install -m0755 $(PKG_BUILD_DIR)/cutter $(PKG_INSTALL_DIR)/usr/sbin/ + +$(IPKG_CUTTER): + mkdir -p $(IDIR_CUTTER) + cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_CUTTER)/ + $(RSTRIP) $(IDIR_CUTTER)/ + $(IPKG_BUILD) $(IDIR_CUTTER) $(PACKAGE_DIR) diff --git a/openwrt/package/cutter/ipkg/cutter.control b/openwrt/package/cutter/ipkg/cutter.control new file mode 100644 index 0000000000..6c9169222d --- /dev/null +++ b/openwrt/package/cutter/ipkg/cutter.control @@ -0,0 +1,5 @@ +Package: cutter +Architecture: mipsel +Section: net +Description: "Cutter" is an open source program that allows Linux firewall administrators to abort TCP/IP connections routed over the firewall or router on which it is run. +Priority: optional |