From 3e975b5cb3672312cc50efe49d229f453ba27f0f Mon Sep 17 00:00:00 2001 From: benoit Date: Sat, 21 Apr 2012 15:16:27 +0000 Subject: [PATCH] - update samdump2 to 3.0.0 - remove USE_GROFF - update patches --- security/samdump2/Makefile | 5 ++--- security/samdump2/distinfo | 10 +++++----- security/samdump2/patches/patch-hive_c | 14 +++++--------- 3 files changed, 12 insertions(+), 17 deletions(-) diff --git a/security/samdump2/Makefile b/security/samdump2/Makefile index 9f1b019b185..8bd28136f36 100644 --- a/security/samdump2/Makefile +++ b/security/samdump2/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.3 2010/11/20 17:22:45 espie Exp $ +# $OpenBSD: Makefile,v 1.4 2012/04/21 15:16:27 benoit Exp $ COMMENT = retrieves syskey and extract hashes -DISTNAME = samdump2-2.0.1 +DISTNAME = samdump2-3.0.0 CATEGORIES = security HOMEPAGE = http://ophcrack.sourceforge.net/ @@ -24,7 +24,6 @@ EXTRACT_SUFX = .tar.bz2 MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS}" USE_GMAKE = Yes -USE_GROFF = Yes NO_REGRESS = Yes diff --git a/security/samdump2/distinfo b/security/samdump2/distinfo index c08828f6eb3..56897bb8e10 100644 --- a/security/samdump2/distinfo +++ b/security/samdump2/distinfo @@ -1,5 +1,5 @@ -MD5 (samdump2-2.0.1.tar.bz2) = 2CMOTBaSEC0giLDvy3Q4vg== -RMD160 (samdump2-2.0.1.tar.bz2) = 1VvX1h1lUedFWSFFkNCL1bovlYY= -SHA1 (samdump2-2.0.1.tar.bz2) = BgkiPl2UsNMv/FiLmYb7cUk7OTE= -SHA256 (samdump2-2.0.1.tar.bz2) = +Wab11op4FAjW0WtVwMOcxGYT4NGaIhcxcO38QDfPks= -SIZE (samdump2-2.0.1.tar.bz2) = 20673 +MD5 (samdump2-3.0.0.tar.bz2) = Xawtw/gXGj3IYFPZI6Dm9Q== +RMD160 (samdump2-3.0.0.tar.bz2) = pW9OCIZUP13ssJJDFMoAITHQDrQ= +SHA1 (samdump2-3.0.0.tar.bz2) = ubhdC81GegaVEGy/rCtlQ8/okKY= +SHA256 (samdump2-3.0.0.tar.bz2) = YCZZrzDFZXUPoBZQ4KIj0mNVtd+Y8vvDDjpsWT7U5SY= +SIZE (samdump2-3.0.0.tar.bz2) = 32784 diff --git a/security/samdump2/patches/patch-hive_c b/security/samdump2/patches/patch-hive_c index 94d713b8bd5..d164aa90593 100644 --- a/security/samdump2/patches/patch-hive_c +++ b/security/samdump2/patches/patch-hive_c @@ -1,11 +1,7 @@ -$OpenBSD: patch-hive_c,v 1.1.1.1 2009/06/02 08:36:02 benoit Exp $ ---- hive.c.orig Thu May 28 21:14:36 2009 -+++ hive.c Thu May 28 21:43:50 2009 -@@ -27,11 +27,16 @@ - #include - #include "hive.h" - -- +$OpenBSD: patch-hive_c,v 1.2 2012/04/21 15:16:29 benoit Exp $ +--- hive.c.orig Fri Apr 20 14:27:00 2012 ++++ hive.c Sat Apr 21 17:04:10 2012 +@@ -30,7 +30,13 @@ #ifdef BYTE_ORDER #if BYTE_ORDER == LITTLE_ENDIAN #elif BYTE_ORDER == BIG_ENDIAN @@ -15,7 +11,7 @@ $OpenBSD: patch-hive_c,v 1.1.1.1 2009/06/02 08:36:02 benoit Exp $ +#include +#define __bswap_32 __swap32 +#define __bswap_16 __swap16 -+#endif ++#endif #else #warning "Doesn't define a standard ENDIAN type" #endif