openbsd-ports/security/rdp/Makefile

31 lines
717 B
Makefile
Raw Normal View History

2004-09-23 16:05:43 -04:00
# $OpenBSD: Makefile,v 1.17 2004/09/23 20:05:43 sturm Exp $
COMMENT= "ICMP router discovery protocol spoofer"
2001-02-25 23:02:35 -05:00
DISTNAME= rdp
PKGNAME= rdp-1.0
CATEGORIES= security
MASTER_SITES= http://www.atstake.com/research/tools/
2001-02-25 23:02:35 -05:00
LIB_DEPENDS= net::net/libnet
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
WRKDIST= ${WRKDIR}
do-build:
2001-02-25 23:02:35 -05:00
cd ${WRKSRC} && ${CC} ${CFLAGS} -I${PREFIX}/include -o rdp \
icmp_rdp.c -L${PREFIX}/lib -lnet -lpcap
NO_REGRESS= Yes
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
.include <bsd.port.mk>