openbsd-ports/security/rdp/Makefile

33 lines
783 B
Makefile
Raw Normal View History

2010-11-26 09:56:14 -05:00
# $OpenBSD: Makefile,v 1.24 2010/11/26 14:56:15 espie Exp $
COMMENT= ICMP router discovery protocol spoofer
2001-02-25 23:02:35 -05:00
DISTNAME= rdp
2010-11-11 13:43:10 -05:00
PKGNAME= rdp-1.0
REVISION = 0
CATEGORIES= security
MASTER_SITES= http://www.atstake.com/research/tools/
2001-02-25 23:02:35 -05:00
2010-11-26 09:56:14 -05:00
LIB_DEPENDS= net/libnet/1.0
PERMIT_PACKAGE_CDROM= no license
2000-03-23 00:15:35 -05:00
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= no license
2000-03-23 00:15:35 -05:00
PERMIT_DISTFILES_FTP= Yes
2010-11-20 12:22:40 -05:00
WANTLIB= c pcap lib/libnet-1.0/net=0
2000-03-23 00:15:35 -05:00
WRKDIST= ${WRKDIR}
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -I${PREFIX}/include/libnet-1.0 -o rdp \
icmp_rdp.c -L${PREFIX}/lib/libnet-1.0 -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>