Makefile 1.2 KB

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