Makefile 719 B

12345678910111213141516171819202122232425262728293031
  1. # $OpenBSD: Makefile,v 1.25 2013/03/11 11:41:28 espie Exp $
  2. COMMENT= ICMP router discovery protocol spoofer
  3. DISTNAME= rdp
  4. PKGNAME= rdp-1.0
  5. REVISION = 0
  6. CATEGORIES= security
  7. MASTER_SITES= http://www.atstake.com/research/tools/
  8. LIB_DEPENDS= net/libnet/1.0
  9. PERMIT_PACKAGE_CDROM= no license
  10. PERMIT_PACKAGE_FTP= Yes
  11. WANTLIB= c pcap lib/libnet-1.0/net=0
  12. WRKDIST= ${WRKDIR}
  13. do-build:
  14. cd ${WRKSRC} && ${CC} ${CFLAGS} -I${PREFIX}/include/libnet-1.0 -o rdp \
  15. icmp_rdp.c -L${PREFIX}/lib/libnet-1.0 -lnet -lpcap
  16. NO_TEST= Yes
  17. do-install:
  18. ${INSTALL_PROGRAM} ${WRKSRC}/rdp ${PREFIX}/sbin
  19. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rdp
  20. ${INSTALL_DATA} ${WRKSRC}/rdp.advisory ${PREFIX}/share/doc/rdp
  21. .include <bsd.port.mk>