Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 ${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
  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. PKG_ARCH_DEPENDS:= !arm
  15. PKG_LIBC_DEPENDS:= uclibc glibc
  16. WRKDIST= ${WRKDIR}/${PKG_NAME}-2.4
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,DSNIFF,dsniff,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_ARGS+= --without-db \
  20. --without-x \
  21. --with-gdbm="${STAGING_TARGET_DIR}/usr" \
  22. --with-libnids="${STAGING_TARGET_DIR}/usr" \
  23. --with-libpcap="${STAGING_TARGET_DIR}/usr" \
  24. --with-libnet="${STAGING_TARGET_DIR}/usr" \
  25. --with-openssl="${STAGING_TARGET_DIR}/usr"
  26. FAKE_FLAGS+= install_prefix="${WRKINST}"
  27. dsniff-install:
  28. ${INSTALL_DIR} ${IDIR_DSNIFF}/usr/lib ${IDIR_DSNIFF}/usr/sbin
  29. ${CP} ${WRKINST}/usr/sbin/* ${IDIR_DSNIFF}/usr/sbin
  30. ${CP} ${WRKINST}/usr/lib/* ${IDIR_DSNIFF}/usr/lib
  31. include ${TOPDIR}/mk/pkg-bottom.mk