summaryrefslogtreecommitdiff
path: root/package/dsniff
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/dsniff
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/dsniff')
-rw-r--r--package/dsniff/Makefile12
-rw-r--r--package/dsniff/ipkg/dsniff.control5
2 files changed, 8 insertions, 9 deletions
diff --git a/package/dsniff/Makefile b/package/dsniff/Makefile
index 352160d16..e15d98ecc 100644
--- a/package/dsniff/Makefile
+++ b/package/dsniff/Makefile
@@ -9,12 +9,17 @@ PKG_NAME:= dsniff
PKG_VERSION:= 2.4b1
PKG_RELEASE:= 2
PKG_MD5SUM:= 2f761fa3475682a7512b0b43568ee7d6
-MASTER_SITES:= http://www.monkey.org/~dugsong/dsniff/beta/
+PKG_DESCR:= collection of tools for network auditing and penetration testing
+PKG_SECTION:= net
+PKG_DEPENDS:= libnet libpcap libnids libopenssl libgdbm
+PKG_URL:= http://www.monkey.org/~dugsong/dsniff
+PKG_SITES:= http://www.monkey.org/~dugsong/dsniff/beta/
+
WRKDIST= ${WRKDIR}/${PKG_NAME}-2.4
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,DSNIFF,dsniff,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,DSNIFF,dsniff,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --without-db \
@@ -29,8 +34,7 @@ INSTALL_STYLE= auto
FAKE_FLAGS+= install_prefix="${WRKINST}"
post-install:
- ${INSTALL_DIR} ${IDIR_DSNIFF}/usr/lib
- ${INSTALL_DIR} ${IDIR_DSNIFF}/usr/sbin
+ ${INSTALL_DIR} ${IDIR_DSNIFF}/usr/lib ${IDIR_DSNIFF}/usr/sbin
${CP} ${WRKINST}/usr/sbin/* ${IDIR_DSNIFF}/usr/sbin
${CP} ${WRKINST}/usr/lib/* ${IDIR_DSNIFF}/usr/lib
diff --git a/package/dsniff/ipkg/dsniff.control b/package/dsniff/ipkg/dsniff.control
deleted file mode 100644
index 5f1591a1f..000000000
--- a/package/dsniff/ipkg/dsniff.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: dsniff
-Priority: optional
-Section: admin
-Depends: libnet, libpcap, libnids, libopenssl, libgdbm
-Description: collection of tools for network auditing and penetration testing