1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

- Fix the build with GCC 4.2 [1]

- Clean up Makefile
- Kill unnecessary pkg-plist

Reported by:	pointyhat (logs) [1]
This commit is contained in:
Alexey Dokuchaev 2007-07-02 08:52:35 +00:00
parent 7f1b560b27
commit a281b46c7f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194615
2 changed files with 12 additions and 8 deletions
security/slurpie

View File

@ -17,12 +17,20 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A passwd file cracker (supports distributed nodes)
PLIST_FILES= sbin/slurp sbin/slurpie
PORTDOCS= README
post-patch:
# Fix for GCC 4.2
@${REINPLACE_CMD} -e \
's,(u_char)cfg.ptask_level = ,cfg.ptask_level = (u_int),' \
${WRKSRC}/src/slurpie.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/slurp ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/slurpie ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/slurp* ${PREFIX}/sbin
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/slurpie
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/slurpie/README
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,4 +0,0 @@
sbin/slurp
sbin/slurpie
%%PORTDOCS%%share/doc/slurpie/README
%%PORTDOCS%%@dirrm share/doc/slurpie