2005-05-23 20:13:31 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2005/05/24 00:17:50 mjc Exp $
|
2001-05-05 23:45:31 -04:00
|
|
|
|
|
|
|
COMMENT= "ICMP router discovery protocol spoofer"
|
1999-12-05 13:20:48 -05:00
|
|
|
|
2001-02-25 23:02:35 -05:00
|
|
|
DISTNAME= rdp
|
1999-12-05 13:20:48 -05:00
|
|
|
PKGNAME= rdp-1.0
|
|
|
|
CATEGORIES= security
|
2002-03-25 02:57:16 -05:00
|
|
|
MASTER_SITES= http://www.atstake.com/research/tools/
|
2001-02-25 23:02:35 -05:00
|
|
|
|
2005-05-23 20:13:31 -04:00
|
|
|
LIB_DEPENDS= lib/libnet-1.0/net.=0:libnet-1.0*:net/libnet/1.0
|
1999-12-05 13:20:48 -05:00
|
|
|
|
2000-03-23 00:15:35 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= "no license"
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= "no license"
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-27 08:28:33 -05:00
|
|
|
WANTLIB= c pcap
|
2000-03-23 00:15:35 -05:00
|
|
|
|
2000-02-10 18:14:27 -05:00
|
|
|
WRKDIST= ${WRKDIR}
|
1999-12-05 13:20:48 -05:00
|
|
|
|
|
|
|
do-build:
|
2005-05-23 20:13:31 -04:00
|
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -I${PREFIX}/include/libnet-1.0 -o rdp \
|
|
|
|
icmp_rdp.c -L${PREFIX}/lib/libnet-1.0 -lnet -lpcap
|
1999-12-05 13:20:48 -05:00
|
|
|
|
2002-03-25 02:57:16 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
1999-12-05 13:20:48 -05:00
|
|
|
do-install:
|
2001-02-25 23:02:35 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rdp ${PREFIX}/sbin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rdp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/rdp.advisory ${PREFIX}/share/doc/rdp
|
1999-12-05 13:20:48 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|