2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.monkey.org
/~dugsong
/dsniff
/beta
17 PKG_MD5SUM
:=2f761fa3475682a7512b0b43568ee7d6
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-2.4
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
28 DEPENDS
:=+libpcap
+libnids
+libnet0
+libopenssl
+libgdbm
29 TITLE
:=A collection of tools for network auditing and penetration testing
30 URL
:=http
://www.monkey.org
/~dugsong
/dsniff
/
33 define Package
/dsniff
/description
34 A collection of tools for network auditing and penetration testing.
37 define Build
/Configure
38 $(call Build
/Configure
/Default
, \
39 --with-gdbm
="$(STAGING_DIR)/usr" \
40 --with-libnids
="$(STAGING_DIR)/usr" \
41 --with-libpcap
="$(STAGING_DIR)/usr" \
42 --with-libnet
="$(STAGING_DIR)/usr/lib/libnet-1.0.x" \
43 --with-openssl
="$(STAGING_DIR)/usr" \
50 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
51 $(TARGET_CONFIGURE_OPTS
) \
52 install_prefix
="$(PKG_INSTALL_DIR)" \
56 define Package
/dsniff
/install
57 $(INSTALL_DIR
) $(1)/usr
/sbin
58 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/* $(1)/usr
/sbin
/
59 $(INSTALL_DIR
) $(1)/usr
/lib
60 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/* $(1)/usr
/lib
/
63 $(eval
$(call BuildPackage
,dsniff
))