openbsd-ports/security/rdp/Makefile

33 lines
760 B
Makefile
Raw Normal View History

2002-12-29 15:31:39 -05:00
# $OpenBSD: Makefile,v 1.14 2002/12/29 20:31:40 fgsch 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-10-22 10:02:46 -04:00
MAINTAINER= Dug Song <dugsong@monkey.org>
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>