Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= dsniff
  5. PKG_VERSION:= 2.4b1
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 2f761fa3475682a7512b0b43568ee7d6
  8. PKG_DESCR:= tools for network auditing and penetration testing
  9. PKG_SECTION:= net/security
  10. PKG_DEPENDS:= libnet libpcap libnids libopenssl libgdbm
  11. PKG_BUILDDEP:= libnids openssl gdbm libpcap libnet
  12. PKG_URL:= http://www.monkey.org/~dugsong/dsniff/
  13. PKG_SITES:= http://www.monkey.org/~dugsong/dsniff/beta/
  14. # rpc problem
  15. PKG_CFLINE_DSNIFF:= depends on ADK_BROKEN
  16. PKG_ARCH_DEPENDS:= !arm
  17. PKG_LIBC_DEPENDS:= uclibc glibc
  18. WRKDIST= ${WRKDIR}/${PKG_NAME}-2.4
  19. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  20. include ${ADK_TOPDIR}/mk/package.mk
  21. $(eval $(call PKG_template,DSNIFF,dsniff,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. CONFIGURE_ARGS+= --without-db \
  23. --without-x \
  24. --with-gdbm="${STAGING_TARGET_DIR}/usr" \
  25. --with-libnids="${STAGING_TARGET_DIR}/usr" \
  26. --with-libpcap="${STAGING_TARGET_DIR}/usr" \
  27. --with-libnet="${STAGING_TARGET_DIR}/usr" \
  28. --with-openssl="${STAGING_TARGET_DIR}/usr"
  29. FAKE_FLAGS+= install_prefix="${WRKINST}"
  30. dsniff-install:
  31. ${INSTALL_DIR} ${IDIR_DSNIFF}/usr/lib ${IDIR_DSNIFF}/usr/sbin
  32. ${CP} ${WRKINST}/usr/sbin/* ${IDIR_DSNIFF}/usr/sbin
  33. ${CP} ${WRKINST}/usr/lib/* ${IDIR_DSNIFF}/usr/lib
  34. include ${ADK_TOPDIR}/mk/pkg-bottom.mk