# $OpenBSD: Makefile,v 1.11 2001/05/06 03:46:18 lebel Exp $ COMMENT= "ICMP router discovery protocol spoofer" DISTNAME= rdp PKGNAME= rdp-1.0 CATEGORIES= security NEED_VERSION= 1.402 MASTER_SITES= http://www.l0pht.com/advisories/ LIB_DEPENDS= net::net/libnet MAINTAINER= Dug Song PERMIT_PACKAGE_CDROM= "no license" PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= "no license" PERMIT_DISTFILES_FTP= Yes WRKDIST= ${WRKDIR} do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} -I${PREFIX}/include -o rdp \ icmp_rdp.c -L${PREFIX}/lib -lnet -lpcap do-install: ${INSTALL_PROGRAM} ${WRKSRC}/rdp ${PREFIX}/sbin ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rdp ${INSTALL_DATA} ${WRKSRC}/rdp.advisory ${PREFIX}/share/doc/rdp .include