Makefile 1.3 KB

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