ccda36cf68
- use NO_REGRESS - rename patch; add $OpenBSD$ - regen PLIST
34 lines
779 B
Makefile
34 lines
779 B
Makefile
# $OpenBSD: Makefile,v 1.13 2002/03/25 07:57:17 jsyn Exp $
|
|
|
|
COMMENT= "ICMP router discovery protocol spoofer"
|
|
|
|
DISTNAME= rdp
|
|
PKGNAME= rdp-1.0
|
|
CATEGORIES= security
|
|
NEED_VERSION= 1.515
|
|
MASTER_SITES= http://www.atstake.com/research/tools/
|
|
|
|
LIB_DEPENDS= net::net/libnet
|
|
|
|
MAINTAINER= Dug Song <dugsong@monkey.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= "no license"
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= "no license"
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WRKDIST= ${WRKDIR}
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -I${PREFIX}/include -o rdp \
|
|
icmp_rdp.c -L${PREFIX}/lib -lnet -lpcap
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-install:
|
|
${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>
|