21a283f3be
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now, we won't have conflicts there. Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel has the correct PKGNAME anyway. Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called OPTIONS_FILE now.) Reviewed by: antoine, bapt Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3336
45 lines
1.4 KiB
Makefile
45 lines
1.4 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= hping
|
|
PORTVERSION= 3.0.20051105
|
|
CATEGORIES= net security
|
|
MASTER_SITES= http://www.hping.org/ \
|
|
http://200ok.org/distfiles/hping/
|
|
PKGNAMESUFFIX= -devel
|
|
DISTNAME= hping3-20051105
|
|
|
|
MAINTAINER= ecu@200ok.org
|
|
COMMENT= Network auditing tool
|
|
|
|
LIB_DEPENDS= libtcl84.so:${PORTSDIR}/lang/tcl84
|
|
|
|
CONFLICTS= hping-[0-9]*
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= alias gmake
|
|
|
|
PLIST_FILES= sbin/hping lib/hping/hpingstdlib.htcl man/man8/hping.8.gz
|
|
PORTDOCS= AS-BACKDOOR HPING2-HOWTO.txt HPING2-IS-OPEN \
|
|
MORE-FUN-WITH-IPID SPOOFED_SCAN.txt APD.txt \
|
|
API.txt HPING3.txt
|
|
|
|
PORTEXAMPLES= README apd.htcl apd2.htcl ciscoios.htcl ciscoios0.htcl \
|
|
cloner.htcl igrp.htcl isn-spectrogram.htcl nat-noise.htcl \
|
|
passivets.htcl ping.htcl raw.htcl show-tcpseq.htcl \
|
|
showled.htcl
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hping3 ${STAGEDIR}${PREFIX}/sbin/hping
|
|
${INSTALL_MAN} ${WRKSRC}/docs/hping3.8 ${STAGEDIR}${PREFIX}/man/man8/hping.8
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/lib/hping
|
|
${INSTALL_DATA} ${WRKSRC}/lib/hpingstdlib.htcl ${STAGEDIR}${PREFIX}/lib/hping/
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR}
|
|
.for i in ${PORTEXAMPLES}
|
|
${REINPLACE_CMD} -e \
|
|
's|hpingstdlib.htcl|${PREFIX}/lib/hping/hpingstdlib.htcl|' \
|
|
${WRKSRC}/lib/${i}
|
|
.endfor
|
|
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/lib/|} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|