Index: head/security/slurpie/Makefile =================================================================== --- head/security/slurpie/Makefile (revision 407126) +++ head/security/slurpie/Makefile (revision 407127) @@ -1,31 +1,32 @@ # Created by: David O'Brien (obrien@NUXI.com) # $FreeBSD$ PORTNAME= slurpie PORTVERSION= 2.0b +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/distfiles/ \ http://people.FreeBSD.org/~foxfair/distfiles/ DISTNAME= ${PORTNAME} EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Passwd file cracker (supports distributed nodes) PLIST_FILES= sbin/slurp sbin/slurpie PORTDOCS= README OPTIONS_DEFINE= DOCS 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* ${STAGEDIR}${PREFIX}/sbin ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Index: head/security/slurpie/files/patch-src_mater.c =================================================================== --- head/security/slurpie/files/patch-src_mater.c (revision 407126) +++ head/security/slurpie/files/patch-src_mater.c (nonexistent) @@ -1,13 +0,0 @@ -diff --git src/master.c src/master.c -index 4b24f9b..683d9a6 100644 ---- src/master.c -+++ src/master.c -@@ -132,7 +132,7 @@ char *get_time_str( u_int seconds ) - return timestr; - } - --int main( int argc, u_char **argv ) -+int main( int argc, char **argv ) - { - static unsigned id, init_time; - Property changes on: head/security/slurpie/files/patch-src_mater.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/security/slurpie/files/patch-mn.h =================================================================== --- head/security/slurpie/files/patch-mn.h (revision 407126) +++ head/security/slurpie/files/patch-mn.h (nonexistent) @@ -1,18 +0,0 @@ ---- src/mn.h.orig Sat Jan 30 13:09:01 1999 -+++ src/mn.h Sun Feb 13 19:13:32 2000 -@@ -2,11 +2,12 @@ - #define _MN_H_ - - ///////////////////////////////// --#include --#include --#include - #include - #include -+#include -+#include -+#include -+#include - - - ///////////////////////////////// Property changes on: head/security/slurpie/files/patch-mn.h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/security/slurpie/files/patch-Makefile =================================================================== --- head/security/slurpie/files/patch-Makefile (revision 407126) +++ head/security/slurpie/files/patch-Makefile (revision 407127) @@ -1,12 +1,12 @@ ---- Makefile.orig Sat Jan 30 13:14:03 1999 -+++ Makefile Sun Feb 13 19:11:27 2000 +--- Makefile.orig 1999-01-30 21:14:03 UTC ++++ Makefile @@ -1,7 +1,6 @@ -CC = gcc all: slurpie slurp slurpie: src/slurpie.c src/shared.c src/master.c src/shared.h src/mn.h - $(CC) -O3 src/slurpie.c src/shared.c src/master.c -o slurpie + $(CC) ${CFLAGS} src/slurpie.c src/shared.c src/master.c -o slurpie slurp: src/slurp.c src/shared.c src/node.c src/shared.h src/mn.h - $(CC) -O3 -lcrypt src/slurp.c src/shared.c src/node.c -o slurp + $(CC) ${CFLAGS} -lcrypt src/slurp.c src/shared.c src/node.c -o slurp Index: head/security/slurpie/files/patch-src_master.c =================================================================== --- head/security/slurpie/files/patch-src_master.c (nonexistent) +++ head/security/slurpie/files/patch-src_master.c (revision 407127) @@ -0,0 +1,11 @@ +--- src/master.c.orig 1999-01-30 21:08:08 UTC ++++ src/master.c +@@ -132,7 +132,7 @@ char *get_time_str( u_int seconds ) + return timestr; + } + +-int main( int argc, u_char **argv ) ++int main( int argc, char **argv ) + { + static unsigned id, init_time; + Property changes on: head/security/slurpie/files/patch-src_master.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/slurpie/files/patch-src_mn.h =================================================================== --- head/security/slurpie/files/patch-src_mn.h (nonexistent) +++ head/security/slurpie/files/patch-src_mn.h (revision 407127) @@ -0,0 +1,18 @@ +--- src/mn.h.orig 1999-01-30 21:09:01 UTC ++++ src/mn.h +@@ -2,11 +2,12 @@ + #define _MN_H_ + + ///////////////////////////////// +-#include +-#include +-#include + #include + #include ++#include ++#include ++#include ++#include + + + ///////////////////////////////// Property changes on: head/security/slurpie/files/patch-src_mn.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/slurpie/files/patch-src_node.c =================================================================== --- head/security/slurpie/files/patch-src_node.c (revision 407126) +++ head/security/slurpie/files/patch-src_node.c (revision 407127) @@ -1,13 +1,11 @@ -diff --git src/node.c src/node.c -index 28d5d8a..3135ea0 100644 ---- src/node.c +--- src/node.c.orig 1999-01-30 21:10:17 UTC +++ src/node.c @@ -102,7 +102,7 @@ void clean_up( int exit_status ) ///////////////////////////// -int main( int argc, u_char **argv ) +int main( int argc, char **argv ) { u_int exit_state = 0; global.self.addr.sin_port = 0; Index: head/security/slurpie/files/patch-src_slurp.c =================================================================== --- head/security/slurpie/files/patch-src_slurp.c (nonexistent) +++ head/security/slurpie/files/patch-src_slurp.c (revision 407127) @@ -0,0 +1,11 @@ +--- src/slurp.c.orig 2016-01-24 14:16:26 UTC ++++ src/slurp.c +@@ -194,7 +194,7 @@ int recv_init( u_char *initmsg ) + return 0; + // get file size and divide to determine portion of dictionary to process per task + fseek(wl.dictfile, 0, SEEK_END ); +- wl.ptask_size = wl.dictfile->_offset / cfg.ptask_level; ++ wl.ptask_size = ftell(wl.dictfile) / cfg.ptask_level; + pstr += strlen(pstr)+1; + } + if( cfg.mcl & CL_GDICT ) Property changes on: head/security/slurpie/files/patch-src_slurp.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property