2001-05-05 23:45:31 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2001/05/06 03:46:18 lebel Exp $
|
|
|
|
|
|
|
|
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
|
2001-05-05 23:45:31 -04:00
|
|
|
NEED_VERSION= 1.402
|
2001-02-25 23:02:35 -05:00
|
|
|
MASTER_SITES= http://www.l0pht.com/advisories/
|
|
|
|
|
|
|
|
LIB_DEPENDS= net::net/libnet
|
1999-12-05 13:20:48 -05:00
|
|
|
|
2000-10-22 10:02:46 -04:00
|
|
|
MAINTAINER= Dug Song <dugsong@monkey.org>
|
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
|
|
|
|
|
2000-02-10 18:14:27 -05:00
|
|
|
WRKDIST= ${WRKDIR}
|
1999-12-05 13:20:48 -05:00
|
|
|
|
|
|
|
do-build:
|
2001-02-25 23:02:35 -05:00
|
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -I${PREFIX}/include -o rdp \
|
1999-12-05 13:20:48 -05:00
|
|
|
icmp_rdp.c -L${PREFIX}/lib -lnet -lpcap
|
|
|
|
|
|
|
|
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>
|