Mark this unbroken on FreeBSD < 1100030.
Pointed out by: mat
This commit is contained in:
parent
8c2de626c3
commit
6ce7c72d01
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404909
4 changed files with 14 additions and 2 deletions
|
@ -29,6 +29,12 @@ PORTEXAMPLES= README apd.htcl apd2.htcl ciscoios.htcl ciscoios0.htcl \
|
|||
passivets.htcl ping.htcl raw.htcl show-tcpseq.htcl \
|
||||
showled.htcl
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if (${OSVERSION} >= 1100030)
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-sendip.c
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/hping3 ${STAGEDIR}${PREFIX}/sbin/hping
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/hping3.8 ${STAGEDIR}${PREFIX}/man/man8/hping.8
|
||||
|
@ -43,4 +49,4 @@ do-install:
|
|||
.endfor
|
||||
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/lib/|} ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -27,6 +27,12 @@ PORTDOCS= AS-BACKDOOR HPING2-HOWTO.txt HPING2-IS-OPEN \
|
|||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if (${OSVERSION} >= 1100030)
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-sendip.c
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${STAGEDIR}${PREFIX}/sbin/hping
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/hping2.8 \
|
||||
|
@ -36,4 +42,4 @@ do-install:
|
|||
${INSTALL_DATA} ${WRKSRC}/docs/${i} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue