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:= collection of tools for network auditing and penetration testing
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libnet libpcap libnids libopenssl libgdbm
  11. PKG_URL:= http://www.monkey.org/~dugsong/dsniff
  12. PKG_SITES:= http://www.monkey.org/~dugsong/dsniff/beta/
  13. WRKDIST= ${WRKDIR}/${PKG_NAME}-2.4
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,DSNIFF,dsniff,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE= gnu
  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. BUILD_STYLE= auto
  25. INSTALL_STYLE= auto
  26. FAKE_FLAGS+= install_prefix="${WRKINST}"
  27. post-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