aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/mdcrack/Makefile7
-rw-r--r--security/mdcrack/distinfo2
-rw-r--r--security/mdcrack/files/patch-Makefile31
3 files changed, 22 insertions, 18 deletions
diff --git a/security/mdcrack/Makefile b/security/mdcrack/Makefile
index 5a4b5eae6143..54110f24aa9a 100644
--- a/security/mdcrack/Makefile
+++ b/security/mdcrack/Makefile
@@ -7,13 +7,12 @@
#
PORTNAME= mdcrack
-PORTVERSION= 1.1
+PORTVERSION= 1.2
CATEGORIES= security
-MASTER_SITES= http://mdcrack.multimania.com/
+MASTER_SITES= http://mdcrack.multimania.com/download/
MAINTAINER= ports@FreeBSD.org
-WRKSRC= ${WRKDIR}/${PORTNAME}
-ALL_TARGET= # empth
+ALL_TARGET= little
.include <bsd.port.mk>
diff --git a/security/mdcrack/distinfo b/security/mdcrack/distinfo
index 108b247540ad..bf1a7d63ecde 100644
--- a/security/mdcrack/distinfo
+++ b/security/mdcrack/distinfo
@@ -1 +1 @@
-MD5 (mdcrack-1.1.tar.gz) = dd4d0df9bb5b21a297012926fb1499c5
+MD5 (mdcrack-1.2.tar.gz) = 53d23b73bb48a3e106b8ce748d6b2bb8
diff --git a/security/mdcrack/files/patch-Makefile b/security/mdcrack/files/patch-Makefile
index 57b2b57111a2..9e5f829f47e5 100644
--- a/security/mdcrack/files/patch-Makefile
+++ b/security/mdcrack/files/patch-Makefile
@@ -1,30 +1,35 @@
---- Makefile.orig Sat Aug 4 02:49:43 2001
-+++ Makefile Sat Aug 4 02:51:31 2001
-@@ -10,7 +10,6 @@
+--- Makefile.orig Thu Aug 16 06:47:34 2001
++++ Makefile Tue Jan 15 22:47:26 2002
+@@ -10,7 +10,7 @@
-CC = gcc
++#CC = gcc
# Please set RESUME_FILE and choose a secure place for the resume file
# before using mdcrack as root.
-@@ -47,7 +46,7 @@
+@@ -47,7 +47,7 @@
BLOCK=-DBLOCKSIZE=50
#full optimization
--CFLAGS = -O3 -mpreferred-stack-boundary=4 -fforce-addr -funroll-loops -fomit-frame-pointer -ffast-math
-+CFLAGS += -mpreferred-stack-boundary=4 -fforce-addr -funroll-loops -fomit-frame-pointer -ffast-math
+-CFLAGS = -O3 -fforce-addr -funroll-loops -fomit-frame-pointer -ffast-math
++CFLAGS += -O3 -fforce-addr -funroll-loops -fomit-frame-pointer -ffast-math
-@@ -328,8 +327,8 @@
+@@ -343,12 +343,8 @@
+
install:
- @make default
- @echo
-- @echo "Installing mdcrack in /usr/sbin/mdcrack"
-- cp bin/mdcrack /usr/sbin/mdcrack
-+ @echo "Installing mdcrack in ${PREFIX}/bin/mdcrack"
-+ cp bin/mdcrack ${PREFIX}/bin/mdcrack
@echo
+- @echo -n "Installing mdcrack in /usr/sbin/mdcrack ..... "
+- @cp bin/mdcrack /usr/sbin/mdcrack
+- @echo "ok."
+- @echo
+- @echo -n "Installing mdcrack-version in /usr/sbin/mdcrack-version ..... "
+- @echo $(CFLAGS) $(NCURSES) $(CPU) $(MDCRACK_OPTS) $(MDARCH) $(BLOCK) > /usr/sbin/mdcrack-version
++ @echo -n "Installing mdcrack in ${PREFIX}/bin/mdcrack ..... "
++ @cp bin/mdcrack ${PREFIX}/bin/mdcrack
@echo "ok."
@echo
+ @echo "-*-*-*-*-*-*-*-*-*-*-*-*-*-*-"