. Strip binary . Bump PORTREVISION No files added or deleted.
on Fri, Sep 20, 2002 at 11:33:00AM +0200, Nicolas Jombart wrote : > +post-install: > + strip ${PREFIX}/sbin/hping Sorry : diff -ruN /usr/ports/security/hping/Makefile hping/Makefile --- /usr/ports/security/hping/Makefile Mon Sep 17 07:50:40 2001 +++ hping/Makefile Fri Sep 20 11:43:50 2002 @@ -7,7 +7,7 @@ PORTNAME= hping PORTVERSION= 2.0.0r1 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= security net MASTER_SITES= http://www.hping.org/ @@ -20,7 +20,7 @@ CONFIGURE_ARGS+= --force-libpcap USE_GMAKE= yes -MAN8= hping.8 +MAN8= hping.8 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${PREFIX}/sbin/hping @@ -31,5 +31,8 @@ ${INSTALL_DATA} ${WRKSRC}/docs/${i} ${PREFIX}/share/doc/hping/ .endfor .endif + +post-install: + ${STRIP_CMD} ${PREFIX}/sbin/hping .include <bsd.port.mk>
State Changed From-To: open->closed Even though the program's build says "use `make strip' to strip hping2 binary" at the end, it is not necessary to strip it manually. the INSTALL_PROGRAM directive strips executables automatically. Adding in this patch would be redundant.