From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 20:39:07 +0200 Subject: 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 --- package/dsniff/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'package/dsniff/Makefile') 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 -- cgit v1.2.3