summaryrefslogtreecommitdiff
path: root/package/cutter
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/cutter
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/cutter')
-rwxr-xr-xpackage/cutter/Makefile10
-rw-r--r--package/cutter/ipkg/cutter.control5
2 files changed, 7 insertions, 8 deletions
diff --git a/package/cutter/Makefile b/package/cutter/Makefile
index e83cc41c8..79660c005 100755
--- a/package/cutter/Makefile
+++ b/package/cutter/Makefile
@@ -9,15 +9,19 @@ PKG_NAME:= cutter
PKG_VERSION:= 1.03
PKG_RELEASE:= 1
PKG_MD5SUM:= 50093db9b64277643969ee75b83ebbd1
+PKG_DESCR:= Abort TCP/IP connections routed over a firewall
+PKG_SECTION:= net
+PKG_URL:= http://www.lowth.com/cutter/software/
+PKG_SITES:= http://www.lowth.com/cutter/software/
+
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
-MASTER_SITES:= http://www.lowth.com/cutter/software/
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,CUTTER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,CUTTER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
do-build:
- ${TARGET_CC} ${WRKBUILD}/cutter.c -o ${WRKBUILD}/cutter
+ ${TARGET_CC} ${TARGET_CFLAGS} ${WRKBUILD}/cutter.c -o ${WRKBUILD}/cutter
do-install:
${INSTALL_DIR} ${IDIR_CUTTER}/usr/sbin
diff --git a/package/cutter/ipkg/cutter.control b/package/cutter/ipkg/cutter.control
deleted file mode 100644
index 6c9169222..000000000
--- a/package/cutter/ipkg/cutter.control
+++ /dev/null
@@ -1,5 +0,0 @@
-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